.developer-page{max-width:1120px;margin:32px auto;padding:0 20px;color:var(--ink,#28323c)}
.developer-page header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
.developer-page header a,.developer-panel a{color:var(--blue,#078bcc);text-decoration:none}
.developer-page h1{font-size:32px;margin:10px 0}.developer-page p{line-height:1.8}
.developer-page section,.developer-panel{padding:22px;border:1px solid var(--line,#e1e7ee);border-radius:12px;background:var(--night-surface,#fff);margin-bottom:18px;box-shadow:0 3px 12px #142b4206}
.developer-page pre{overflow:auto;padding:16px;border-radius:8px;background:var(--night-surface-alt,#f4f7fa);font-size:13px;line-height:1.7}
.developer-page code{overflow-wrap:anywhere}.developer-panel header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.developer-panel h2{font-size:19px;margin:0}.developer-panel h3{font-size:15px}
.developer-panel .developer-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.developer-panel button,.developer-panel select,.developer-page button{border:1px solid var(--line,#dce4ec);border-radius:6px;background:var(--night-surface,#fff);color:inherit;padding:9px 12px;min-height:38px;font:inherit}
.developer-panel button{cursor:pointer}.developer-panel button:disabled{opacity:.6}
.developer-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}
.developer-metrics>div{padding:13px;border:1px solid var(--line,#e1e7ee);border-radius:8px;min-width:0}
.developer-metrics small{display:block;color:var(--muted,#778391);font-size:12px}.developer-metrics strong{display:block;font-size:23px;margin-top:6px;overflow-wrap:anywhere}
.developer-chart{height:320px;min-width:0}.developer-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.developer-table{overflow-x:auto}.developer-table table{width:100%;border-collapse:collapse;font-size:13px}
.developer-table th,.developer-table td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line,#e1e7ee)}
.developer-table th{color:var(--muted,#778391);font-weight:500}.developer-note{font-size:12px;line-height:1.7;color:var(--muted,#778391)}
.developer-status{min-height:20px;margin:10px 0;font-size:13px;color:var(--muted,#778391)}
.developer-panel :focus-visible,.developer-page :focus-visible{outline:2px solid #078bcc;outline-offset:3px}
html[data-theme=dark] .developer-panel,html[data-theme=dark] .developer-page section{background:#17222d;color:#e4eaf0}
@media(max-width:700px){.developer-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.developer-bottom{grid-template-columns:1fr}.developer-panel{padding:15px}.developer-page{padding:0 12px}.developer-page h1{font-size:26px}.developer-controls label{font-size:12px}.developer-controls select{max-width:130px}.developer-metrics strong{font-size:20px}}

.developer-bottom>div{min-width:0}.developer-table table{min-width:0;table-layout:auto}.developer-panel .developer-table th,.developer-panel .developer-table td{white-space:normal;overflow-wrap:anywhere}
/* Documentation layout shares the explorer palette; admin charts stay scoped. */
.doc-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 28px;background:var(--night-surface,#fff);border-bottom:1px solid var(--line,#e1e7ee)}
.doc-topbar nav{display:flex;align-items:center;gap:20px}.doc-topbar a{text-decoration:none;color:inherit}.doc-topbar [aria-current]{color:#078bcc;font-weight:700}.doc-topbar button{padding:8px;background:transparent;border:1px solid var(--line,#e1e7ee);border-radius:5px;color:inherit;cursor:pointer}
.doc-layout.developer-page{max-width:1600px;margin:0 auto;padding:0 28px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:44px}
#doc-sidebar{position:sticky;top:85px;align-self:start;max-height:calc(100vh - 90px);overflow:auto;padding:24px 18px 24px 0;border-right:1px solid var(--line,#e1e7ee)}
#doc-sidebar>summary{display:none}#doc-sidebar aside>h2{font-size:18px;margin:0 0 15px}#doc-sidebar aside>a{display:block;text-decoration:none;font-size:14px;color:var(--muted,#64748b);padding:8px 0}
#doc-sidebar label{display:block;font-size:12px;margin:20px 0 6px;color:var(--muted,#64748b)}
#doc-sidebar input,#doc-sidebar select,.doc-query input,.doc-query select{width:100%;min-width:0;max-width:100%;border:1px solid var(--line,#dce4ec);padding:10px;border-radius:6px;background:var(--night-surface,#fff);color:inherit;font:inherit}
#endpoint-menu{margin-top:16px}#endpoint-menu a{display:flex;gap:9px;align-items:center;padding:10px 8px;text-decoration:none;color:inherit;border-radius:6px;font-size:13px}#endpoint-menu a small{display:block;font-size:11px;color:var(--muted,#778391);margin-top:4px}#endpoint-menu a.active{background:#078bcc14;color:#078bcc}.doc-get{font:10px monospace;color:#269b81;flex:0 0 25px}
.doc-content{min-width:0;padding:28px 0 45px;max-width:1180px}.doc-content h1{font-size:30px;line-height:1.35;margin:14px 0}.doc-content h2{font-size:20px;margin:30px 0 14px}.doc-content p{font-size:14px;line-height:1.8}.doc-eyebrow{color:#078bcc;font:12px monospace;letter-spacing:1px;margin-top:28px}
.doc-guide{border:1px solid var(--line,#dce4ec);border-radius:10px;background:var(--night-surface,#fff);padding:16px 20px}.doc-guide>summary{cursor:pointer;color:#078bcc;font-size:15px;font-weight:600}.doc-guide section{box-shadow:none;margin:18px 0;padding:12px 0;border:0}.doc-guide pre{font-size:12px}.doc-route{display:flex;align-items:center;gap:16px;border:1px solid var(--line,#dce4ec);border-radius:8px;padding:15px;background:var(--night-surface,#fff)}.doc-route b{font:13px monospace;color:#218574}.doc-route code{font-size:14px}
.doc-query{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:var(--night-surface,#fff);padding:18px;margin-top:20px;border:1px solid var(--line,#dce4ec);border-radius:9px}.doc-query label{font-size:12px;min-width:0}.doc-query input,.doc-query select{margin-top:6px;font-size:13px}.doc-query-actions{grid-column:1/-1;display:flex;gap:12px}.doc-query-actions button{cursor:pointer}.doc-query-actions button[type=submit]{background:#078bcc;color:#fff;border-color:#078bcc}
.doc-content pre{max-height:480px;white-space:pre;word-break:normal;overflow:auto;tab-size:2;background:#102334;color:#d8e8f4}.doc-content .developer-table{border:1px solid var(--line,#dce4ec);border-radius:8px;background:var(--night-surface,#fff)}.doc-content .developer-table td{vertical-align:top;line-height:1.7;overflow-wrap:anywhere}.doc-content .developer-table code{font-size:12px}.doc-content footer{padding:32px 0;color:var(--muted,#778391);font-size:12px}
html[data-theme=dark] .doc-topbar,html[data-theme=dark] .doc-guide,html[data-theme=dark] .doc-query,html[data-theme=dark] .doc-route,html[data-theme=dark] .doc-content .developer-table{background:#17222d;color:#e4eaf0}
@media(max-width:800px){.doc-topbar{padding:12px 15px;gap:10px}.doc-topbar .brand-wordmark small{font-size:9px}.doc-topbar .brand-wordmark b{font-size:18px}.doc-topbar .brand-logo{width:30px;height:30px}.doc-topbar nav{gap:10px;font-size:12px}.doc-topbar button{padding:6px}.doc-layout.developer-page{display:block;padding:0 15px}.doc-content{padding-top:16px}#doc-sidebar{position:relative;top:auto;max-height:55vh;border:1px solid var(--line,#e1e7ee);border-radius:8px;padding:12px;margin-top:16px}#doc-sidebar>summary{display:list-item;cursor:pointer;color:#078bcc}#doc-sidebar aside{padding-top:14px}.doc-query{grid-template-columns:1fr}.doc-content h1{font-size:25px}.doc-content .developer-table table{min-width:520px}.doc-route{gap:10px}.doc-route code{font-size:12px}.doc-guide{padding:14px}}
@media(max-width:800px){.doc-topbar{flex-wrap:wrap}.doc-topbar nav{width:100%;justify-content:flex-end;gap:16px}.doc-content .developer-table table{min-width:440px}.doc-content h2{margin-top:24px}}

.doc-rule{margin:12px 0;border:1px solid var(--line,#dce4ec);border-radius:8px;padding:12px;min-width:0}.doc-rule summary{cursor:pointer}.doc-query textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:8px;border:1px solid var(--line,#dce4ec);border-radius:6px;background:var(--night-surface,#fff);color:inherit;font:inherit}.doc-query label:has(textarea){grid-column:1/-1}
