*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#101219;color:#e8ebf3;font:14px/1.55 system-ui,-apple-system,Segoe UI,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}a{color:#b9b0ff;text-decoration:none}a:hover{text-decoration:underline}code,pre{font-family:ui-monospace,Consolas,monospace}code{font-size:.93em;color:#d1c4ff}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;margin:0;padding:17px;background:#11151f;border:1px solid #2b3040;border-radius:0 0 10px 10px;color:#cbdcf4}h1{font-size:34px;margin:5px 0 10px;line-height:1.15}h2{font-size:20px;margin:0}p{color:#abb6cc}.topbar{height:68px;background:#181b24;border-bottom:1px solid #303547;display:flex;align-items:center;justify-content:space-between;padding:0 27px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;color:white;font-size:18px;font-weight:750}.brand span{color:#8b93a8;font-size:13px;font-weight:450}.top-actions{display:flex;gap:18px}.layout{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:calc(100vh - 68px)}.sidebar{position:sticky;top:68px;height:calc(100vh - 68px);overflow-y:auto;background:#171a22;border-right:1px solid #303547;padding:19px 16px}.tabbar,.switch{display:flex;gap:7px}.tabbar button,.switch button{border:1px solid #353b50;background:#202532;color:#c8d0dd;border-radius:8px;padding:9px 12px;flex:1}.tabbar button.active,.switch button.active{border-color:#a98dff;background:#2b2444;color:white}.sidebar input{margin-top:17px;padding:10px;width:100%;border:1px solid #383e51;background:#11151c;color:#fff;border-radius:8px;outline-color:#ab93ff}.nav-section,.eyebrow{color:#9e8ce9;font-weight:750;letter-spacing:.1em;font-size:11px}.nav-section{margin:22px 4px 8px}.endpoint-link{display:flex;align-items:center;gap:10px;padding:9px 7px;color:#bdc5d6;border-radius:7px;margin:2px 0;font-size:12px;overflow:hidden}.endpoint-link.active,.endpoint-link:hover{background:#282c3c;text-decoration:none;color:#fff}.verb{font-size:10px;letter-spacing:.02em;font-weight:800;border-radius:5px;padding:4px 5px;min-width:41px;text-align:center;flex:none}.GET{color:#6fe3b6;background:#143c30}.POST{color:#ffda84;background:#53401e}.sidebar-foot{color:#77839c;font-size:12px;margin:25px 5px}.main{width:100%;max-width:1150px;margin:0 auto;padding:34px 34px 65px}.intro{margin-bottom:27px}.intro>p{max-width:820px}.switch{max-width:560px;margin:20px 0}.warning{background:#242337;border:1px solid #49436c;border-radius:10px;padding:15px;color:#d4d3e6;line-height:1.65}.warning code{color:#e8dbff}.panel{border:1px solid #343a4a;background:#1c202a;border-radius:14px;padding:23px;margin:21px 0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.tag{font-size:12px;color:#bca9fd;background:#2c2842;padding:6px 10px;border-radius:18px}.field{display:flex;margin:8px 0 5px;gap:6px}.field input{flex:1;min-width:100px;border:1px solid #43495b;border-radius:8px;padding:11px 12px;color:#fff;background:#10141d}.field button,.code-head button,.run-button{border:1px solid #4b5162;border-radius:8px;padding:6px 11px;color:#eceff8;background:#323849}.hint{font-size:12px;color:#8592aa}.code-head{background:#272d3a;color:#9ba9c1;border:1px solid #333a4e;border-bottom:0;padding:8px 13px;border-radius:10px 10px 0 0;display:flex;align-items:center;justify-content:space-between}.code-head button{font-size:12px}.endpoint{padding:21px 0;border-top:1px solid #323749;scroll-margin-top:83px}.endpoint:first-child{border-top:0}.endpoint-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.endpoint-title h3{margin:0;font-size:15px}.endpoint-path{color:#cdd7ea;font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.endpoint h4{font-size:13px;color:#aebbd1;margin:20px 0 9px}.param-table{border-collapse:collapse;width:100%;font-size:12px}.param-table td,.param-table th{padding:10px;text-align:left;border-bottom:1px solid #303849;vertical-align:top}.param-table th{color:#9ba6bc}.param-table .required{color:#ffc377}.endpoint .code-head{margin-top:13px}.code-holder{position:relative}.run-button{margin-top:12px}.result{margin-top:10px}.result small{color:#a1b1c6}.errors-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.errors-grid>div{background:#161a23;border:1px solid #303746;border-radius:8px;padding:13px;display:flex;gap:15px}.errors-grid b{min-width:75px;color:#a8d2f7}.errors-grid span{color:#aeb8c9}footer{color:#78859c;font-size:12px;text-align:center;margin-top:28px}@media(max-width:860px){.layout{grid-template-columns:1fr}.sidebar{position:relative;top:auto;height:auto;max-height:340px;border-right:0;border-bottom:1px solid #303547}.main{padding:20px 17px}.topbar{padding:0 12px}.brand span{display:none}.top-actions{gap:10px;font-size:12px}.errors-grid{grid-template-columns:1fr}}
/* Bilingual documentation controls */
.docs-lang-switch{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #394459;border-radius:10px;background:#172031}
.docs-lang-switch button{background:transparent;color:#b9c5d8;border:0;border-radius:7px;padding:7px 10px;min-width:38px;font:inherit;cursor:pointer}
.docs-lang-switch button.selected,.docs-lang-switch button[aria-pressed="true"]{background:#d9b76f;color:#152037;font-weight:700}
html[data-theme="light"] .docs-lang-switch,html[data-bp-theme="light"] .docs-lang-switch{background:#f5f7fc;border-color:#d5dce7}
@media(max-width:600px){.docs-lang-switch button{padding:6px 8px}.docs-lang-switch{order:-1}}
