:root{color-scheme:light;--ink:#182c3a;--muted:#526778;--line:#d4dee5;--blue:#185bc3;--cyan:#76d6d0;--paper:#fff;--pale:#f3f6f8;--code:#172b39;--sans:"Inter","Segoe UI",sans-serif;--mono:"IBM Plex Mono",Consolas,monospace;font-family:var(--sans);color:var(--ink);background:var(--pale);font-size:14px}
*{box-sizing:border-box}
body{margin:0;display:grid;grid-template:"top top" 60px "nav main" minmax(0,1fr)/260px minmax(0,1fr);height:100dvh}
button,input,select{font:inherit;color:inherit}
button,summary,select{cursor:pointer}
button{border:0;background:none}
a{color:var(--blue);text-decoration:none}
button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible,pre:focus-visible{outline:3px solid #438be5;outline-offset:2px}
h1,h2,h3,p,pre{margin:0}
[hidden]{display:none!important}
.icon{height:18px;width:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.topbar{grid-area:top;display:flex;align-items:center;padding:0 28px 0 22px;background:#142532;color:#f4f9fc;z-index:2}
.brand{display:flex;gap:11px;align-items:center;font-size:20px;letter-spacing:-.8px;font-weight:650}
.mark{display:grid;grid-template-columns:repeat(3,5px);align-items:center;justify-content:center;gap:2px;width:30px;height:30px;border-radius:7px;background:#80ded5;transform:rotate(-2deg)}
.mark i{display:block;width:5px;height:11px;background:#193442;transform:skewY(-27deg)}
.mark i:nth-child(2){height:19px}.mark i:nth-child(3){height:15px}
.product{font-weight:450;color:#c6d3da;margin-left:20px;padding-left:20px;border-left:1px solid #48606e;line-height:20px}
.top-actions{margin-left:auto;display:flex;gap:18px;align-items:center}
.local,.auth,.quiet,.secondary,.primary,.live,.result-meta,.doc-link,.add-key,.example-label{display:flex;align-items:center;gap:7px}
.local{font-size:12px;color:#dce8e9}
.local i,.live i{width:7px;height:7px;border-radius:50%;background:#76d6b1}
.auth{color:#f1f6fa;border:1px solid #526571;border-radius:6px;padding:7px 12px;font-size:13px;font-weight:550}
.auth:hover{background:#283e4e}
.sidebar{grid-area:nav;display:flex;flex-direction:column;min-height:0;background:#fbfcfd;border-right:1px solid var(--line);padding:24px 14px 0}
.side-heading{display:flex;align-items:center;gap:9px;margin:0 6px 15px}
h2{font-size:17px;letter-spacing:-.45px;line-height:1.35;font-weight:650}
.count,.small-count,.nav-num{font:11px var(--mono);color:var(--muted)}
.count,.small-count{background:#eaf0f4;border-radius:5px;padding:3px 6px}
.search{display:flex;gap:8px;align-items:center;background:white;border:1px solid #cbd6dd;border-radius:7px;padding:0 9px;color:var(--muted);margin:0 4px 14px}
.search input{outline:0;border:0;padding:0;height:36px;min-width:0;flex:1;background:none;font-size:13px}
.search:focus-within{outline:2px solid var(--blue)}
kbd{border:1px solid var(--line);border-radius:3px;padding:0 4px;font:12px var(--mono);color:var(--muted)}
#routes{overflow:auto;flex:1;scrollbar-width:thin;padding-bottom:20px}
.route-group+.route-group{margin-top:12px}
.route-group-head{width:100%;padding:7px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650}
.route-group-head>.icon{color:#526a7d;width:16px;height:16px}
.nav-num{margin-left:auto}.chev{width:12px;color:var(--muted);font-size:16px}
.route{position:relative;display:flex;text-align:left;gap:9px;align-items:flex-start;width:100%;padding:8px 7px 8px 9px;border-radius:5px}
.route:hover,.route-group-head:hover{background:#edf2f6}
.route.active{background:#e5efff;color:#134fa4}
.route.active:before{content:"";position:absolute;top:8px;bottom:8px;left:0;width:3px;background:var(--blue);border-radius:2px}
.route-text{min-width:0;display:grid;gap:2px}
.route-name{font-size:12.5px;line-height:1.32;font-weight:560}
.route-path{font:11px/1.3 var(--mono);color:#61717e;overflow-wrap:anywhere}
.method{display:inline-flex;align-items:center;justify-content:center;font:700 10px/1.6 var(--mono);letter-spacing:.1px;border-radius:4px;min-width:42px;padding:1px 5px;background:#e3ebf1;color:#35516b}
.method.get{background:#dff1eb;color:#18664d}.method.post{background:#e0eaff;color:#254eb1}
.method.patch{background:#fff0ce;color:#835710}.method.delete{background:#f8e4e7;color:#972e40}
.route .method{margin-top:1px}
.doc-link{border-top:1px solid var(--line);padding:15px 7px;color:#495e6e;font-size:12px;font-weight:600}
.doc-link .icon:last-child{margin-left:auto;width:13px}
main{grid-area:main;min-width:0;overflow:auto;padding:clamp(22px,2.6vw,45px);scrollbar-width:thin}
.crumb{display:flex;align-items:center;gap:10px;color:#506477;font-size:12px;margin-bottom:14px}
.crumb>span:nth-last-child(2){color:#8193a2}
h1{font-size:clamp(30px,3vw,43px);font-weight:640;letter-spacing:-1.7px;line-height:1.12}
#summary{color:#4a6070;font-size:14px;line-height:1.55;margin-top:8px}
.requestbar{display:flex;align-items:center;gap:12px;background:var(--paper);border:1px solid #c6d5df;border-radius:9px;padding:7px 7px 7px 15px;margin:20px 0 24px;min-height:54px}
.requestbar .method{font-size:12px;padding:3px 8px}
#endpoint{font:500 14px/1.4 var(--mono);overflow-wrap:anywhere}
.primary{background:var(--blue);color:white;font-weight:600;border-radius:6px;padding:11px 15px;justify-content:center}
.primary:hover{background:#154f9c}.primary:disabled{opacity:.65;cursor:progress}
#send{margin-left:auto;flex-shrink:0}
.requestbar{position:sticky;top:0;z-index:1}
.field,.form-section,#validation{scroll-margin-top:100px}
.workbench{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px;align-items:start}
.editor-panel,.request-panel,.response-panel{background:var(--paper);border:1px solid var(--line);border-radius:10px;min-width:0;overflow:hidden}
.panel-head{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid var(--line);min-height:60px}
.tile{display:inline-flex;align-items:center;justify-content:center;color:#425d72;background:#edf2f5;border:1px solid #dfe7ec;width:28px;height:28px;border-radius:6px}
.tile>.icon{height:16px;width:16px}
.quiet{font-size:12px;color:var(--muted);font-weight:550;border-radius:4px;padding:5px 3px}
.quiet:hover,.doc-link:hover{color:var(--blue)}
.quiet .icon{width:14px;height:14px}
.panel-head>.quiet,.panel-head>#response-code{margin-left:auto}
.example-box{padding:15px 18px;background:#f1f6fc;border-bottom:1px solid #dce5ed}
.example-label{font-size:12px;color:#384f66;font-weight:600;margin-bottom:6px}
.example-input{position:relative;display:flex;align-items:center}
.example-input>.icon{position:absolute;left:10px;pointer-events:none;width:15px;height:15px;color:#3e6083}
.example-input select{padding-left:32px}
.example-box .hint{margin-top:7px}
.example-question{font-size:13px;line-height:1.5;margin-top:8px}
.example-hit{display:block;width:calc(100% - 14px);margin-left:14px;padding:6px 8px;border-left:2px solid var(--line);text-align:left;font-size:12px;line-height:1.4;color:var(--muted)}
.example-hit:hover,.example-hit:focus-visible{background:#edf3fa;color:var(--blue)}
.form-section{padding:18px}.form-section+.form-section{border-top:1px solid var(--line)}
.section-label{font-size:13px;display:flex;gap:7px;align-items:center;font-weight:650;margin-bottom:14px}
.small-count{font-size:10px}
.field-list,.nested-fields,.control{display:grid;gap:8px;min-width:0}
.field-list,.nested-fields{gap:15px}
.field{min-width:0}
.field-top{display:flex;align-items:center;gap:6px;min-height:22px;margin-bottom:4px;flex-wrap:wrap}
.field-label{font-size:13px;font-weight:600}
.field-key{color:var(--muted);font:11px var(--mono)}
.required{color:#a3362c}
.remove,.icon-btn{color:var(--muted);font-size:17px;line-height:1.2;padding:0 5px}
.remove{margin-left:auto}.remove:hover{color:#932e3d}
.field-help{font-size:12px;color:var(--muted)}
.field-help summary{display:block;border:1px solid #9aaab5;border-radius:50%;width:14px;height:14px;line-height:12px;text-align:center;font-size:10px}
.field-help[open]{order:5;flex-basis:100%}.field-help p,.hint{font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.field-help p{padding-top:5px}
input:not([type=search]),select{background:white;width:100%;min-width:0;border:1px solid #bac9d4;border-radius:5px;min-height:36px;padding:7px 9px;font-size:13px}
select{padding-right:24px;text-overflow:ellipsis}
input::placeholder{color:#647787}
input:hover,select:hover{border-color:#7c97ab}
.chips{display:flex;gap:5px;flex-wrap:wrap}
.chip{font:12px var(--mono);padding:5px 8px;border:1px solid #cbd6e0;border-radius:5px;background:#fff;color:#465a6c}
.chip[aria-pressed=true]{background:#e4efff;border-color:#8bb1e5;color:#194f99}.chip[aria-pressed=true]:before{content:"✓ ";font-weight:bold}
.add-select{font-weight:550;border:1px dashed #9badbd;color:#245d9f;background:#fafcfe}
.nested-fields,.array-item{padding:10px 0 7px 12px;border-left:2px solid #c9d9e6}
.variant{background:#f5f8fb}.array-head{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}
.secondary{justify-content:center;border:1px solid #bdcbd5;padding:7px 11px;border-radius:5px;background:white;font-size:13px}
.secondary:hover{background:var(--pale)}
.fixed{font-family:var(--mono);color:#515f76}
#op-doc{border-top:1px solid var(--line);padding:13px 18px;font-size:12px;color:var(--muted)}
#op-doc>summary{font-weight:600}#doc-content p{margin:10px 0;line-height:1.55;white-space:pre-line}
#validation:not(:empty),.error-box{margin:8px 18px 16px;padding:12px;border-radius:5px;background:#fff0eb;color:#833725;line-height:1.5}
.issue{display:block;text-align:left;text-decoration:underline;color:inherit;font-size:12px;margin:3px 0}
.inspector{display:grid;gap:16px;min-width:0;position:sticky;top:70px}
.codebox{background:var(--code);color:#e2eaf0}
.codebar,.switches,.result-switches{display:flex;align-items:center}
.codebar{background:#203646;padding:7px 14px;border-bottom:1px solid #344a59;gap:5px}
.switches,.result-switches{gap:3px}
.tab{font:12px var(--mono);padding:5px 8px;color:#c2d2dd;border-radius:4px}
.switches .chosen{background:#3c5362;color:#fff}
.live{margin-left:auto;color:#c3d2dc;font-size:11px;white-space:nowrap}.live i{width:5px;height:5px}
#request-code,.result-code{font:12px/1.7 var(--mono);white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;tab-size:2}
#request-code{padding:16px 18px 20px;max-height:37vh;min-height:135px}
.syntax-method{color:#80dcc0}.syntax-key{color:#91c8e6}
.empty{text-align:center;padding:28px 16px 32px;color:#506477}
.empty strong{display:block;font-size:14px;font-weight:600;color:#394f60}
.empty p{font-size:12px;line-height:1.55;margin-top:6px}
.empty-icon{width:38px;height:38px;display:grid;place-items:center;margin:0 auto 11px;color:#658397;border-radius:10px;border:1px solid #d7e2e9;background:#f2f6f8}
.result-meta{padding:9px 15px;font:12px var(--mono);color:var(--muted);gap:13px}
.result-meta .quiet{margin-left:auto;font-family:var(--sans)}
.result-switches{background:#f2f6f8;border-block:1px solid var(--line);padding:5px 9px;flex-wrap:wrap}
.result-switches .tab{color:#496073;font:12px var(--sans)}
.result-switches .chosen{color:#134a98;background:#dfeafb}
.result-code{padding:14px;max-height:45vh;color:#263e4c}
.http-status{font:600 12px var(--mono);padding:4px 8px;border-radius:5px}
.http-status.ok{background:#e2f3e8;color:#236448}.http-status.bad{background:#fce5df;color:#923c29}
dialog{width:min(425px,92vw);padding:24px;border:1px solid #c5d4dc;border-radius:12px;color:var(--ink);box-shadow:0 12px 62px #13273938}
dialog::backdrop{background:#15293972}
.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between}
.dialog-head{margin-bottom:15px}
dialog h2{font-size:24px}dialog p{font-size:14px;line-height:1.5;margin:9px 0;color:var(--muted)}
dialog label{display:block;margin:18px 0 6px;font-size:13px;font-weight:600}
.dialog-actions{margin-top:20px;gap:10px}.dialog-actions .primary{margin-left:auto}
#key-error{color:#962e2a}
#notice{position:fixed;bottom:15px;right:18px;max-width:85vw;background:#173247;color:white;border-radius:6px;padding:10px 14px;opacity:0;pointer-events:none;z-index:6;font-size:13px}
#notice.on{opacity:1}
.mobile{display:none}
@media(min-width:1650px){body{grid-template-columns:290px minmax(0,1fr)}main{padding-right:max(42px,calc((100vw - 1580px)/2))}.workbench{gap:24px}}
@media(max-width:1200px){body{grid-template-columns:224px minmax(0,1fr)}main{padding:22px 18px}.workbench{gap:12px}.panel-head{padding:13px}.field-key{font-size:10px}.form-section,.example-box{padding:14px}.topbar{padding-inline:17px}}
@media(min-width:801px) and (max-width:1040px){.workbench{grid-template-columns:minmax(0,1fr)}.inspector{position:static;grid-template-columns:1fr 1fr;align-items:start}.panel-head h2{font-size:15px}}
@media(max-width:800px){body{grid-template:"top" 53px "main" minmax(0,1fr)/minmax(0,1fr)}.mobile{display:inline-flex}.desktop{display:none}.sidebar{position:fixed;z-index:5;left:0;top:0;bottom:0;width:min(305px,85vw);visibility:hidden;transform:translateX(-100%);padding-top:18px}.nav-open .sidebar{visibility:visible;transform:none}#scrim{position:fixed;inset:0;z-index:4;background:#15293972}#close-nav{margin-left:auto}#open-nav{border:1px solid #bfccd7;background:white;border-radius:5px;padding:6px 9px}.workbench{grid-template-columns:minmax(0,1fr)}.inspector{position:static}.product{padding-left:12px;margin-left:12px;font-size:12px}.topbar{padding:0 14px}.brand{font-size:17px;gap:7px}.mark{width:26px;height:26px}.top-actions{gap:10px}.auth{font-size:12px;padding:6px 8px}main{padding:18px 14px 32px}.crumb{margin-bottom:12px}.requestbar{flex-wrap:wrap;gap:8px;margin:15px 0}.requestbar code{flex:1;font-size:12px}.requestbar .primary{padding:9px}.field-top{min-height:26px}.remove,.field-help summary{min-width:20px;min-height:20px;line-height:19px}.route{min-height:46px}#request-code,.result-code{max-height:48vh}}
@media(max-width:500px){.local{display:none}#send{width:100%}.requestbar{padding:8px}.requestbar #endpoint{font-size:12px}.empty{padding:20px 12px}h1{font-size:31px}}

