.doc-wrap{width:min(1040px,calc(100% - 36px));margin:auto}.doc-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 0;border-bottom:1px solid #164267}.doc-top a{color:#49bfff;font:9px 'Press Start 2P',monospace}.doc-hero{padding:66px 0 46px;border-bottom:1px solid #164267}.doc-hero h1{font:clamp(22px,4vw,38px)/1.6 'Press Start 2P',monospace;color:#f0f8ff;letter-spacing:-1.5px}.doc-hero .lede{max-width:780px;font:27px/1.45 'VT323',monospace;color:#b8cbd9}.doc-tags{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.doc-tags span{border:1px solid #1b5676;color:#83cdeb;padding:7px 9px;font:8px 'Press Start 2P',monospace}.doc-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.doc-actions a{padding:12px 14px;border:1px solid #49bfff;color:#49bfff;font:8px 'Press Start 2P',monospace}.doc-actions a:first-child{background:#078bc6;color:#00101d}.doc-section{padding:40px 0;border-bottom:1px solid #123653}.doc-section h2{font:14px/1.7 'Press Start 2P',monospace;color:#fecb8b;margin:0 0 18px}.doc-section p,.doc-section li{font:23px/1.45 'VT323',monospace;color:#b9cedd}.doc-section ul,.doc-section ol{padding-left:25px}.doc-table{width:100%;border-collapse:collapse;font:19px 'VT323',monospace;color:#c2d8e8}.doc-table th,.doc-table td{border:1px solid #164267;padding:11px;text-align:left}.doc-table th{font:8px 'Press Start 2P',monospace;color:#49bfff;background:#06182b}.doc-code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#061326;border:1px solid #164267;border-left:3px solid #49bfff;padding:14px;color:#fecb8b;font:18px 'VT323',monospace}.doc-note{background:#07192a;border:1px solid #245575;padding:15px 18px;color:#a9c5d9;font:20px 'VT323',monospace}.doc-footer{padding:28px 0 45px;display:flex;justify-content:space-between;gap:20px;color:#83a4bb;font:8px 'Press Start 2P',monospace}.doc-footer a{color:#49bfff}@media(max-width:620px){.doc-hero{padding:48px 0 32px}.doc-hero h1{font-size:20px}.doc-footer{flex-direction:column}.doc-table{font-size:17px}.doc-table th{font-size:7px}}

.faq-item{margin:12px 0;background:linear-gradient(145deg,#081c32,#041020);border:1px solid #16517c;padding:17px 19px}
.faq-item summary{cursor:pointer;list-style:none;color:#49bfff;font:9px/1.8 'Press Start 2P',monospace}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{content:'+';float:right;color:#fecb8b;font:20px 'VT323',monospace}
.faq-item[open] summary:after{content:'−'}
.faq-item p,.faq-item li{font:22px/1.45 'VT323',monospace;color:#b9cedd;margin:15px 0 0}
.faq-item a{color:#49bfff;text-decoration:underline;text-underline-offset:3px}
.faq-item ul{padding-left:22px}
@media(max-width:620px){.faq-item{padding:15px}.faq-item summary{font-size:8px}}

/* Site-wide readable typography overrides */
.doc-wrap,.doc-wrap *,.faq-item,.faq-item *{font-family:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}
.doc-top a{font:600 12px/1.4 'Inter',system-ui,sans-serif}
.doc-hero h1{font:800 clamp(28px,4vw,42px)/1.12 'Inter',system-ui,sans-serif;letter-spacing:-.045em}
.doc-hero .lede{font:400 16px/1.65 'Inter',system-ui,sans-serif}
.doc-tags span{font:600 10px/1.3 'Inter',system-ui,sans-serif}
.doc-actions a{font:650 11px/1.3 'Inter',system-ui,sans-serif;border-radius:7px}
.doc-section h2{font:700 17px/1.35 'Inter',system-ui,sans-serif;letter-spacing:-.02em}
.doc-section p,.doc-section li{font:400 15px/1.7 'Inter',system-ui,sans-serif}
.doc-table{font:400 14px/1.5 'Inter',system-ui,sans-serif}
.doc-table th{font:650 11px/1.4 'Inter',system-ui,sans-serif}
.doc-code{font:500 13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}
.doc-note{font:400 14px/1.6 'Inter',system-ui,sans-serif;border-radius:8px}
.doc-footer{font:600 10px/1.4 'Inter',system-ui,sans-serif}
.faq-item summary{font:650 14px/1.4 'Inter',system-ui,sans-serif}
.faq-item p,.faq-item li{font:400 15px/1.65 'Inter',system-ui,sans-serif}
.doc-section,.doc-hero{border-color:#183b56}
.doc-actions a:hover{transform:translateY(-2px)}
.doc-actions a{transition:transform .2s ease,background .2s ease}
@media(prefers-reduced-motion:reduce){.doc-actions a{transition:none}}

/* Shared page typography hierarchy for 75% desktop zoom */
.doc-hero h1{font-size:clamp(40px,4.2vw,56px);font-weight:850;line-height:1.08;letter-spacing:-.05em}
.doc-hero .lede{font-size:18px;line-height:1.7}
.doc-section h2{font-size:21px;font-weight:800;line-height:1.3}
.doc-section p,.doc-section li{font-size:16px;line-height:1.7}
.doc-table{font-size:15px;line-height:1.55}
.doc-note{font-size:15px;line-height:1.65}
.faq-item summary{font-size:15px;font-weight:750;line-height:1.45}
.faq-item p,.faq-item li{font-size:16px;line-height:1.68}
@media(min-width:1500px){
 .doc-wrap{width:min(1320px,calc(100% - 80px))}
 .doc-hero h1{font-size:clamp(50px,4vw,64px)}
 .doc-hero .lede{font-size:19px}
 .doc-section h2{font-size:22px}
 .doc-section p,.doc-section li,.faq-item p,.faq-item li{font-size:17px}
 .faq-item summary{font-size:16px}
}

html[data-theme="light"] .doc-tags span{color:#27617f!important;border-color:#b5cadb!important}
html[data-theme="light"] .doc-actions a{color:#087fae!important;border-color:#9dbfd3!important}
html[data-theme="light"] .doc-actions a:first-child{background:#087eae!important;color:#fff!important}
html[data-theme="light"] .doc-footer{border-color:#bfd1df!important;color:#42627a!important}
html[data-theme="light"] .faq-item{border-color:#c1d2df!important;background:#fff!important}
html[data-theme="light"] .faq-item summary{color:#173349!important}
html[data-theme="light"] .doc-note{background:#e5eff6!important;border-color:#b5cadb!important}

html[data-theme="light"] .doc-wrap{color:#172f43!important}
html[data-theme="light"] .doc-hero h1{color:#172f43!important}
html[data-theme="light"] .doc-hero .lede,
html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li{color:#526c80!important}
html[data-theme="light"] .doc-section h2{color:#87521f!important}
html[data-theme="light"] .doc-note,
html[data-theme="light"] .faq-item{background:#fff!important;color:#29485e!important;border-color:#c5d5e0!important}
html[data-theme="light"] .faq-item summary{color:#29485e!important}
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .faq-item li{color:#526c80!important}
html[data-theme="light"] .doc-footer{border-color:#c5d5e0!important;color:#526c80!important}

html[data-theme="light"] .doc-wrap{color:#173d40!important}
html[data-theme="light"] .doc-hero h1{color:#173d40!important}
html[data-theme="light"] .doc-hero .lede,
html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .faq-item li{color:#5d7473!important}
html[data-theme="light"] .doc-section h2{color:#a77b2c!important}
html[data-theme="light"] .doc-note,
html[data-theme="light"] .faq-item{background:#fffefa!important;color:#315b58!important;border-color:#d5dfd5!important}
html[data-theme="light"] .faq-item summary{color:#244b4a!important}
html[data-theme="light"] .doc-footer{border-color:#d5dfd7!important;color:#5d7473!important}
html[data-theme="oled"] .doc-wrap{color:#f1f7f6!important}
html[data-theme="oled"] .doc-section,
html[data-theme="oled"] .doc-top,
html[data-theme="oled"] .doc-hero{border-color:#202627!important}
html[data-theme="oled"] .doc-hero h1{color:#f1f7f6!important}
html[data-theme="oled"] .doc-hero .lede,
html[data-theme="oled"] .doc-section p,
html[data-theme="oled"] .doc-section li{color:#9aa9a7!important}
html[data-theme="oled"] .doc-section h2{color:#d8b45e!important}
html[data-theme="oled"] .doc-note,
html[data-theme="oled"] .faq-item{background:#07090a!important;border-color:#202627!important;color:#f1f7f6!important}
html[data-theme="oled"] .faq-item summary{color:#f1f7f6!important}
html[data-theme="oled"] .doc-footer{border-color:#202627!important;color:#9aa9a7!important}

.about-hero h1{max-width:900px}
.about-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.about-focus-grid article{position:relative;min-height:190px;padding:22px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,var(--panel2),var(--panel))}
.about-card-index{display:inline-block;margin-bottom:18px;color:var(--gold);font-size:11px;font-weight:850;letter-spacing:.13em}
.about-focus-grid h3{margin:0 0 10px;font-size:16px;font-weight:850}
.about-focus-grid p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.about-project-list{display:grid;gap:0;border-top:1px solid var(--line);margin-top:18px}
.about-project-list a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 4px;border-bottom:1px solid var(--line);transition:padding .2s,color .2s}
.about-project-list a:hover{padding-left:12px;color:var(--cyan)}
.about-project-list strong{font-size:15px;font-weight:800}
.about-project-list span{font-size:13px;color:var(--muted);text-align:right}
.about-principles{display:grid;gap:12px;padding-left:22px}
.about-principles li{padding-left:4px}
.about-principles strong{color:var(--cyan)}
.docs-index-hero{padding-bottom:34px}
.docs-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:24px 0 44px}
.docs-index-card{display:grid;grid-template-columns:35% minmax(0,1fr);min-height:200px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,var(--panel2),var(--panel));transition:transform .25s,border-color .25s,box-shadow .25s}
.docs-index-card:hover{transform:translateY(-4px);border-color:var(--cyan);box-shadow:0 14px 32px rgba(0,0,0,.15)}
.docs-index-art{position:relative;display:grid;place-items:center;min-width:0;background:radial-gradient(circle at 50% 42%,#143b51,#07172a 76%);border-right:1px solid var(--line)}
.docs-index-art img{width:78px;height:78px;object-fit:contain;border-radius:12px}
.docs-index-art>span:last-child{position:absolute;left:11px;bottom:10px;color:#b7cede;font-size:9px;font-weight:800;letter-spacing:.1em}
.docs-index-art-smooth{background:linear-gradient(145deg,#183b50,#07182b)}
.smooth-font-sample{color:#ecfbff;font:800 52px/1 Georgia,serif;text-shadow:0 5px 18px #47caff66}
.docs-index-copy{display:flex;flex-direction:column;align-items:flex-start;padding:19px}
.docs-index-kind{font-size:9px;font-weight:850;letter-spacing:.13em;color:var(--gold)}
.docs-index-copy h2{margin:8px 0 7px;font-size:18px;font-weight:850;line-height:1.25;color:var(--white)}
.docs-index-copy p{margin:0 0 15px;color:var(--muted);font-size:13px;line-height:1.6}
.docs-index-open{margin-top:auto;color:var(--cyan);font-size:10px;font-weight:850;letter-spacing:.07em}
.docs-index-support{margin-top:16px}
html[data-theme="light"] .about-focus-grid article,
html[data-theme="light"] .docs-index-card{background:#fffdf5!important;border-color:#d5dece!important}
html[data-theme="light"] .about-focus-grid h3,
html[data-theme="light"] .docs-index-copy h2{color:#193d3b!important}
html[data-theme="light"] .about-focus-grid p,
html[data-theme="light"] .docs-index-copy p,
html[data-theme="light"] .about-project-list span{color:#536e68!important}
html[data-theme="light"] .about-principles strong,
html[data-theme="light"] .docs-index-open{color:#087f78!important}
html[data-theme="oled"] .about-focus-grid article,
html[data-theme="oled"] .docs-index-card{background:#07090a!important;border-color:#202627!important}
html[data-theme="oled"] .about-focus-grid h3,
html[data-theme="oled"] .docs-index-copy h2{color:#f1f7f6!important}
html[data-theme="oled"] .about-focus-grid p,
html[data-theme="oled"] .docs-index-copy p{color:#9aa9a7!important}
@media(max-width:600px){
 .about-focus-grid,.docs-index-grid{grid-template-columns:1fr!important}
 .docs-index-card{grid-template-columns:31% minmax(0,1fr);min-height:175px}
 .docs-index-copy{padding:14px}
 .docs-index-copy h2{font-size:16px}
 .about-project-list a{align-items:flex-start;flex-direction:column;gap:5px}
 .about-project-list span{text-align:left}
}


/* Light theme: docs examples and FAQ surfaces must not retain Dark navy. */
html[data-theme="light"] .doc-code{background:#e9e2d0!important;border-color:#c9b99e!important;border-left-color:#6f7f45!important;color:#44362a!important;box-shadow:0 5px 15px rgba(74,59,38,.06)!important}
html[data-theme="light"] .doc-code code{color:#44362a!important}
html[data-theme="light"] .doc-code .token,.doc-code .token{color:inherit}
html[data-theme="light"] .doc-note{background:#eee7d8!important;border-color:#cfc2a8!important;color:#5d644b!important}
html[data-theme="light"] .faq-item{background:#fffaf1!important;border-color:#d9c7ad!important}
html[data-theme="light"] .faq-item summary{color:#657448!important}
html[data-theme="light"] .faq-item p,html[data-theme="light"] .faq-item li{color:#756454!important}
html[data-theme="light"] .docs-index-art{background:linear-gradient(145deg,#7f8b66,#475c47)!important}
html[data-theme="light"] .docs-index-art-smooth{background:linear-gradient(145deg,#a9a081,#6d7455)!important}
html[data-theme="light"] .smooth-font-sample{color:#fff8e9!important;text-shadow:0 5px 18px rgba(76,82,52,.25)!important}
html[data-theme="light"] .doc-hero,html[data-theme="light"] .doc-section{border-color:#d9c7ad!important}
html[data-theme="light"] .doc-section h2{color:#6f7f45!important}
html[data-theme="light"] .doc-actions a{background:#fffaf1!important;color:#a4472b!important;border-color:#bd9d81!important}
html[data-theme="light"] .doc-actions a:first-child{background:#a4472b!important;color:#fffaf1!important}


/* Final light-theme override for command examples and all documentation surfaces. */
html[data-theme="light"] .doc-code,
html[data-theme="light"] .doc-section .doc-code,
html[data-theme="light"] .doc-wrap .doc-code,
html[data-theme="light"] .doc-section pre,
html[data-theme="light"] .doc-wrap pre{
  background:#eee4d1!important;
  color:#65472d!important;
  border:1px solid #d5c2a3!important;
  border-left:4px solid #a4472b!important;
  box-shadow:0 7px 18px rgba(81,61,39,.08)!important;
}
html[data-theme="light"] .doc-code code,
html[data-theme="light"] .doc-section pre code,
html[data-theme="light"] .doc-wrap pre code{color:#65472d!important}
html[data-theme="light"] .doc-note{background:#e4e8d5!important;color:#52613e!important;border-color:#cbd3b5!important}
html[data-theme="light"] .faq-item{background:#fff8eb!important;color:#44362a!important;border-color:#d9c7ad!important}
html[data-theme="light"] .docs-index-art{background:linear-gradient(145deg,#d5ddc3,#a9b99a)!important}
html[data-theme="light"] .docs-index-art-smooth{background:linear-gradient(145deg,#e8dec9,#bdc6a6)!important}
html[data-theme="light"] .smooth-font-sample{color:#684c37!important;text-shadow:0 3px 10px rgba(92,76,50,.12)!important}
