*{box-sizing:border-box}
:root{--ink:#232b47;--muted:#526077;--blue:#185fe7;--rule:#e0e5ee;--pale:#f5f7fb;--bar:60px}
html{scroll-padding-top:82px}body{margin:0;background:white;color:var(--ink);font:15px/1.75 system-ui,"Microsoft YaHei",sans-serif}
a{color:#174fb9;text-underline-offset:3px}a:hover{text-decoration:underline}button,select,textarea{font:inherit}
header{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:20px;height:var(--bar);padding:0 clamp(16px,3vw,50px);background:white;border-bottom:1px solid var(--rule)}
header strong{color:#182443;letter-spacing:.03em}header span{padding-left:18px;border-left:1px solid var(--rule)}header a{margin-left:auto;text-decoration:none}
#layout{display:grid;grid-template-columns:minmax(178px,216px) minmax(0,850px) minmax(175px,238px);gap:clamp(20px,3vw,54px);max-width:1510px;margin:auto;padding:0 clamp(16px,2.4vw,44px)}
aside{position:sticky;top:var(--bar);align-self:start;max-height:calc(100dvh - var(--bar));overflow:auto;padding:26px 0;scrollbar-width:thin}
aside h2{margin:0 0 12px;font-size:17px}aside h3{margin:20px 0 5px;font-size:15px}aside a{display:block;position:relative;text-decoration:none;color:#48526c;font-size:14px;padding:4px 10px}
aside a:hover{color:var(--blue);background:var(--pale);text-decoration:none}aside a[aria-current]{color:#17233e;font-weight:650;background:#f0f5ff}
aside a[aria-current]:before{position:absolute;content:"";top:7px;bottom:7px;left:0;width:3px;border-radius:3px;background:var(--blue)}
#sections .level-H4{padding-left:23px;font-size:13px}#sections .level-H3{margin-top:5px}
main{min-width:0;padding:34px 0 35vh}.crumb{color:var(--muted);font-size:13px}h1{font-size:clamp(26px,3vw,38px);line-height:1.3;margin:8px 0 24px}
main h2{font-size:21px;margin:26px 0 7px}main h3{font-size:24px;margin:40px 0 10px;padding-top:22px;border-top:1px solid var(--rule)}
main h4{font-size:17px;margin:23px 0 8px}p{margin:7px 0}ol{padding-left:24px}li{padding-left:3px}footer{margin-top:30px;border-top:1px solid var(--rule);padding-top:14px}
pre,code,textarea,.route{font-family:Consolas,"Microsoft YaHei",monospace}pre,.route{padding:12px 16px;background:var(--pale);border:1px solid var(--rule);border-radius:5px;overflow:auto;max-height:420px;overflow-wrap:anywhere}pre{white-space:pre-wrap;font-size:13px}.route b{color:#2055a4;margin-right:8px}
table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:8px 12px;border:1px solid var(--rule);text-align:left;vertical-align:top}th{background:var(--pale)}td:first-child{font-family:Consolas,"Microsoft YaHei",monospace;overflow-wrap:anywhere}.scroll{overflow:auto}details{margin:9px 0}summary{cursor:pointer;color:#365780}
textarea{display:block;width:100%;min-height:92px;border:1px solid #b6c2d4;border-radius:5px;padding:10px}button{border:0;border-radius:4px;background:var(--blue);color:white;padding:7px 14px;cursor:pointer}button.secondary{background:#edf2f9;color:#244777}button:disabled{opacity:.6}.tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0}output{max-width:100%;overflow-wrap:anywhere}.review{font-weight:600}
:focus-visible{outline:3px solid #e6a32e;outline-offset:2px}#mobile{display:none}
.preview,.sent{background:#222b3b;color:#edf4ff;white-space:pre-wrap}
.example-params{min-width:460px}
.example-params td:nth-child(2){width:36%}
.example-params input,.example-params select,.example-params textarea{width:100%;min-width:90px;min-height:35px;padding:5px 8px;font:inherit;border:1px solid #aebace;border-radius:4px;color:inherit;background:#fff}
.example-params textarea{min-height:66px;font-family:Consolas,monospace}
.example-params td:first-child{min-width:110px;max-width:160px}
.example-params th:last-child,.example-params td:last-child{min-width:60px}
.fixed-value{overflow-wrap:anywhere}
.result-tools:not([hidden]){display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.answer{font:13px/1.7 Consolas,"Microsoft YaHei",monospace;max-height:385px;overflow:auto;padding:12px;border:1px solid var(--rule)}
.answer details,.answer .json-leaf{margin:0 0 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}
.answer>details,.answer>.json-leaf{margin-left:0}
@media(max-width:920px){#layout{grid-template-columns:minmax(0,1fr) 175px}#catalog{display:none}#mobile{display:block;margin-bottom:14px}#mobile select{max-width:100%;margin-left:6px}}
@media(max-width:630px){#layout{display:flex;flex-direction:column;gap:0}#sections{position:static;order:-1;max-height:none;width:100%;padding:10px 0 6px;border-bottom:1px solid var(--rule)}#sections nav{max-height:128px;overflow:auto}#sections h2{margin:0;font-size:14px}#sections a{display:inline-block;margin:0!important}#sections .level-H4{padding-left:10px}main{padding-top:16px}header{gap:9px}header span{padding-left:9px}}

