/* SPDX-License-Identifier: AGPL-3.0-or-later; Wristhyme contributors. */
:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#23252b;background:#fff;line-height:1.6;font-synthesis:none;--border:#e4e6eb;--muted:#747882;--teal:#13746b;--purple:#6858c8;--surface:#f7f8fa}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;width:19px;height:19px}button:disabled{cursor:wait;opacity:.5}a:focus-visible,button:focus-visible{outline:3px solid #5cafa5;outline-offset:4px}.skip{position:fixed;top:-80px;left:16px;background:white;padding:10px;z-index:20}.skip:focus{top:8px}.container,.header-inner{max-width:1200px;margin:0 auto;padding:0 32px}.header{height:78px;border-bottom:1px solid var(--border)}.header-inner{height:100%;display:flex;align-items:center;gap:56px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand strong{font-size:20px}.brand-mark{background:var(--purple);width:34px;height:34px;border-radius:6px;display:grid;place-items:center}.brand-mark img{width:23px;height:23px;filter:invert(1)}.brand-tag{font-size:12px;color:var(--muted);border-left:1px solid var(--border);padding-left:12px}.header nav{display:flex;gap:28px;height:100%;align-items:center;font-size:14px}.header nav a{height:100%;display:flex;align-items:center;border-bottom:2px solid transparent;color:var(--muted)}.header nav .active{border-color:var(--purple);color:#24242a;font-weight:600}.admin-link{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:13px}.heading{padding:42px 0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:13px;color:var(--muted);margin:0 0 8px}h1{font-size:32px;line-height:1.4;margin:0 0 12px;font-weight:650}h2{font-size:16px;margin:0;font-weight:650}h3{font-size:16px;margin:16px 0 5px}.service-meta{display:flex;gap:10px;font-size:12px;color:var(--muted);flex-wrap:wrap}.service-meta span+span:before{content:"/";color:#c6c9cf;margin-right:10px}.heading-actions{display:flex;gap:10px}.primary,.secondary{display:flex;gap:9px;align-items:center;justify-content:center;height:40px;padding:0 15px;border-radius:5px;font-size:13px;white-space:nowrap}.primary{background:var(--purple);color:white}.primary img{filter:invert(1)}.secondary{border:1px solid var(--border);background:white}.connection{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0;background:white}.connection-top,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.status-tools{display:flex;align-items:center;gap:12px}.muted{font-size:12px;color:var(--muted)}.icon-button{width:32px;height:32px;border:1px solid transparent;background:transparent;border-radius:4px;display:grid;place-items:center;padding:0}.icon-button:hover{background:#eef0f4;border-color:var(--border)}.icon-button img{width:16px;height:16px}.connection-grid{display:grid;grid-template-columns:minmax(0,2.4fr) 1fr .8fr .8fr;gap:24px;padding:22px 0}.field-label{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.address-line{display:flex;align-items:center;gap:10px;min-height:32px}.address-line code{font-family:Consolas,monospace;font-size:13px;overflow-wrap:anywhere;color:#343943}.status-cell{border-left:1px solid var(--border);padding-left:24px}.state{display:inline-flex;align-items:center;gap:8px;font-size:14px;min-height:32px}.state i{width:7px;height:7px;background:#9297a3;border-radius:50%;flex-shrink:0}.state[data-state=ok]{color:var(--teal)}.state[data-state=ok] i{background:var(--teal)}.state[data-state=error]{color:#b34256}.state[data-state=error] i{background:#b34256}.metric{font-size:22px;line-height:32px;font-weight:600}.sources-line{display:flex;align-items:baseline;gap:24px;padding-top:4px}.sources-line>.field-label{flex-shrink:0}.sources{display:flex;flex-wrap:wrap;gap:6px}.source{font-size:12px;color:#59616c;background:#f2f4f6;padding:3px 10px;border-radius:4px}.error{font-size:13px;color:#b34256;margin-bottom:0}.workspace{padding:30px 0}.text-link{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:8px}.text-link img{width:15px;height:15px}.entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}.entry{border:1px solid var(--border);border-radius:6px;padding:20px;transition:border-color .15s,background .15s;min-height:187px}.entry:hover{border-color:#babfca;background:#fcfcfd}.entry-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:5px}.teal{background:#eaf4f1}.violet{background:#f0edfb}.rose{background:#faedf0}.neutral{background:#eff1f4}.entry-icon img{width:18px;height:18px}.entry p{font-size:12px;color:var(--muted);margin:0;min-height:20px}.entry-bottom{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:20px;color:#5d6370}.entry-bottom img{width:14px;height:14px}.developer{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:0 0 40px}.endpoint-table{margin-top:16px;border-top:1px solid var(--border)}.endpoint{display:grid;grid-template-columns:40px minmax(0,1fr) 70px 15px;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid var(--border);font-size:12px}.endpoint:hover{background:var(--surface)}.method{color:var(--teal);font-size:10px;font-weight:700}.endpoint code{font-family:Consolas,monospace;font-size:13px}.endpoint>span:nth-child(3){color:var(--muted)}.endpoint img{width:14px;height:14px}.reference-links{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;color:var(--muted);margin-top:16px}.reference-links a:hover,.footer a:hover{color:var(--teal)}.code-tool{border:1px solid var(--border);border-radius:6px;margin-top:16px;overflow:hidden;background:var(--surface)}.code-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:0 10px 0 14px;height:40px;background:#fff}.tabs{display:flex;gap:18px;height:100%}.tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:12px;padding:0}.tabs button[aria-selected=true]{color:#25272d;border-bottom-color:var(--purple)}pre{margin:0;padding:20px;min-height:126px;overflow:auto;font-size:12px;line-height:1.9;font-family:Consolas,monospace}pre code{white-space:pre-wrap;overflow-wrap:anywhere}.request-note{font-size:12px;color:var(--muted);margin:12px 0 0}.footer{border-top:1px solid var(--border);background:#fafbfc}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;padding-bottom:22px;font-size:12px}.footer-brand{font-weight:650}.footer-brand span{color:var(--muted);font-weight:400;margin-left:10px}.footer-inner>div{display:flex;gap:22px;color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#282c32;color:white;padding:10px 20px;border-radius:6px;font-size:13px;z-index:20;max-width:90%;text-align:center}[hidden]{display:none!important}@media(max-width:1000px){.header-inner{gap:28px}.brand-tag{display:none}.entry{padding:16px}.connection-grid{grid-template-columns:minmax(0,2fr) 1fr .6fr .6fr;gap:16px}.status-cell{padding-left:16px}.developer{gap:24px}}@media(max-width:700px){.container,.header-inner{padding-left:20px;padding-right:20px}.header{height:auto}.header-inner{min-height:68px;flex-wrap:wrap;gap:0;justify-content:space-between}.brand strong{font-size:18px}.admin-link{margin-left:0}.header nav{order:3;width:100%;height:44px;gap:28px}.heading{padding:26px 0 24px;display:block}h1{font-size:26px}.heading-actions{margin-top:20px}.connection-grid{grid-template-columns:1fr 1fr;gap:20px 16px}.address{grid-column:1/-1}.status-cell{padding-left:0;border-left:0}.status-cell:last-child{grid-column:2}.status-cell:nth-child(3){grid-column:1}.address-line{justify-content:space-between}.sources-line{display:block}.sources{margin-top:10px}.entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.entry{min-height:186px}.entry p{min-height:38px}.developer{grid-template-columns:1fr;gap:28px;padding-bottom:30px}.footer-inner{align-items:flex-start;flex-direction:column;gap:12px}.footer-inner>div{flex-wrap:wrap;gap:16px}.endpoint{grid-template-columns:32px minmax(0,1fr) 64px 14px;gap:8px}.status-tools{gap:4px}.metric{font-size:20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
