/* Chuang workbench — shared dark reading surface, no content changes. */
:root{color-scheme:dark;--bg:#20211f;--panel:#282926;--panel-2:#252623;--line:#3b3c38;--line-soft:#343530;--paper:#eeeee8;--muted:#a5a69e;--faint:#83857c;--gold:#dedfd7;--gold-soft:#a5a69e}
html,body,.knowledge-site,.knowledge-base{background:var(--bg);color:var(--paper)}
*{scrollbar-color:#51534c transparent}::selection{background:#4a514b;color:#fff}button,input{caret-color:var(--paper)}button:focus-visible,input:focus-visible{outline:2px solid #9aa99f;outline-offset:3px}
.knowledge-site,.nav-brand span,.hero-copy h1,.hero-copy>span,.chapter-head h2,.chapter-answer h1,.feature-page>header h1{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC",sans-serif;letter-spacing:0}
.research-nav{height:54px;background:#1b1c1a;border-color:var(--line);box-shadow:none;backdrop-filter:none}.nav-brand,.nav-brand span{color:var(--paper)}.research-nav nav button{color:var(--muted);font-size:13px}.research-nav nav button.active,.research-nav nav button:hover{color:var(--paper);background:#30312d}.research-nav>nav.open{background:var(--panel);border-color:var(--line)}
.research-hero{height:176px;border-color:var(--line);background:var(--bg)}.research-hero::before,.hero-mark,.hero-portrait{display:none}.hero-copy{position:static;width:auto;padding:36px 32px}.hero-copy h1{font-size:29px;line-height:1.35;font-weight:550;color:var(--paper)}.hero-copy h1 br{display:none}.hero-copy h1 em{color:var(--paper)}.hero-copy>span{margin-top:12px;color:var(--muted);font-size:13px}
.knowledge-base{padding:24px 32px 48px}.command-search{padding-top:0;border-radius:9px;border-color:var(--line);background:var(--panel);box-shadow:none;backdrop-filter:none}.command-search::before{display:none}.search-row{border:0}.search-row input,.agent-page form input{color:var(--paper)}.search-row input::placeholder{color:var(--muted)}.search-row>span{color:var(--muted)}.search-row>button,.agent-page form button{border-radius:6px;background:#e4e5dc;color:#20211f;box-shadow:none}.search-row>button:hover{background:#fff}.search-modes{border-color:var(--line)}.search-modes button,.search-modes span{color:var(--muted)}.search-modes button.active{background:#3a3c35;color:var(--paper)}
.quick-queries button,.category-filter button{border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);box-shadow:none}.quick-queries button:hover,.category-filter button.active,.category-filter button:hover{background:#30322c;border-color:#595c52;color:var(--paper);box-shadow:none}
.recent-updates,.knowledge-sources,.system-card,.answer-block,.method-grid article,.research-ledger,.atlas-map article,.agent-page form,.agent-result{border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:none}
.recent-updates>header,.recent-updates>div>button,.knowledge-sources>header,.source-grid article,.source-policy,.chapter-head,.chapter-body,.chapter-topics,.answer-lead,.feature-page>header,.research-ledger>header,.research-ledger dl>div,.atlas-map article>header,.atlas-map article button{border-color:var(--line)}
.recent-updates h2,.recent-updates header span,.recent-updates time,.recent-updates button>span,.knowledge-sources>header p,.knowledge-sources>header>span,.source-grid article>span,.source-grid p,.source-policy,.system-card>span b,.system-card>span em,.system-card>small,.system-card>small i,.chapter-meta,.chapter-topics>p,.chapter-topics button span,.answer-kicker,.chapter-answer>footer,.feature-page>header p,.feature-page>header span,.method-grid article>span,.method-grid p,.research-ledger header span,.research-ledger dd,.atlas-map article>header span,.agent-result p{color:var(--muted)}
.recent-updates>div>button,.knowledge-sources>header h2,.source-grid h3,.system-card,.chapter-head h2,.chapter-answer h1,.answer-block li,.feature-page>header h1,.method-grid h2,.research-ledger h2,.research-ledger dt,.atlas-map h2,.atlas-map article button,.agent-result h2,.scope-note strong{color:var(--paper)}
.recent-updates em,.chapter-head em{color:#c3cfc5;background:#354038;border-radius:4px}.recent-updates>div>button:hover,.atlas-map article button:hover,.system-card:hover{background:#30312d;color:var(--paper);box-shadow:none;transform:none}.system-card{transition:background .15s}.system-card::after{display:none}.source-policy{background:transparent}
.chapter-panel{background:var(--bg)}.chapter-topics{background:#1b1c1a}.chapter-topics button{color:var(--muted)}.chapter-topics button:hover,.chapter-topics button.active{color:var(--paper);background:#34362f}.chapter-head>button{border-color:var(--line);background:var(--panel);color:var(--paper);box-shadow:none}.chapter-head span,.chapter-meta strong{color:#b9cbbd}.answer-lead{color:var(--paper)}.answer-block.detail{background:#29302a;border:1px solid #414b41}.answer-block h3,.answer-block.detail h3{color:#c4d2c4}.scope-note{border-color:var(--line);background:var(--panel);color:var(--muted)}.research-ledger dl strong,.agent-result>span,.agent-result button{color:#b9cbbd}
@media(max-width:720px){.research-hero{height:158px}.hero-copy{padding:28px 20px}.hero-copy h1{font-size:24px}.hero-copy>span{max-width:none;font-size:12px}.knowledge-base{padding:18px 16px 36px}.research-nav>nav{background:var(--panel);border-color:var(--line);box-shadow:none}.chapter-panel{inset:52px 0 0}}

/* Minimal workbench layout: search first, neutral macOS typography. */
:root{--bg:#202120;--panel:#2a2b2a;--panel-2:#292a28;--paper:#ecece7;--muted:#aaa9a3;--faint:#aaa9a3;--line:#3b3c38;--line-soft:#343532}
.knowledge-site{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;font-size:14px;line-height:1.6}
.knowledge-site *{font-family:inherit!important;letter-spacing:normal}
.knowledge-site button{font-weight:400}
.research-hero{height:auto;min-height:0;border:0;overflow:visible}
.hero-copy{padding:24px 32px 16px}.hero-copy h1{font-size:24px;font-weight:600;line-height:1.4;margin:0}.hero-copy h1 em{font-style:normal}
.hero-copy>span,.search-row>span,.search-modes>span,.knowledge-sources,.recent-updates{display:none}
.knowledge-base{padding:0 32px 32px}
.command-search{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.command-search:focus-within{border-color:var(--muted);box-shadow:none}
.search-row{height:56px;padding:8px;gap:8px}.search-row input{font-size:14px;padding:0 8px;line-height:1.5;height:38px;min-width:0}
.search-row input:focus,.search-row input:focus-visible{outline:none;box-shadow:none;border:0}
.search-row>button{flex:0 0 76px;height:34px;font-size:12px;font-weight:500;margin:0;border-radius:7px;background:var(--paper);color:var(--bg)}
.search-modes{height:36px;padding:0 8px 8px;border:0;gap:4px}.search-modes button{height:28px;padding:0 10px;font-size:12px;border-radius:6px}.search-modes button.active{background:#3b3c38;color:var(--paper)}
.knowledge-site button:focus-visible{outline:2px solid var(--paper);outline-offset:2px;border-radius:6px}
.quick-queries{display:flex;flex-wrap:wrap;gap:4px 8px;margin:12px 0 20px;overflow:visible}.quick-queries button{min-height:28px;padding:4px 8px;font-size:12px;border:0;background:transparent;color:var(--muted)}
.category-filter{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--line)}.category-filter button{height:32px;padding:0 12px;border:0;font-size:12px;border-radius:6px;background:transparent}.category-filter button i{display:none}.category-filter button.active{background:#353632;color:var(--paper)}
.system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px}
.system-card{min-height:100px;height:auto;padding:16px 4px;border:0;border-bottom:1px solid var(--line-soft);border-radius:0;background:transparent;text-align:left}
.system-card>span{font-size:11px;margin:0 0 6px}.system-card>span b{display:none}.system-card>span em{font-style:normal;font-size:11px;color:var(--muted)}
.system-card>strong{font-family:inherit;font-size:15px;font-weight:500;line-height:1.5;margin:0 0 6px;letter-spacing:normal}.system-card>small,.system-card>small b{font-family:inherit;font-size:11px;font-weight:400;color:var(--muted)}.system-card>small i{font-style:normal}
.system-card:hover{background:var(--panel);box-shadow:none;transform:none}
.chapter-head h2{font-size:18px;font-weight:500;line-height:1.5}.chapter-answer h1{font-size:22px;font-weight:600;line-height:1.5}.chapter-answer .answer-lead{font-size:15px;line-height:1.8}.answer-block li{font-size:14px;line-height:1.85}.answer-block h3{font-size:13px;font-weight:600;color:var(--paper)}.chapter-topics button strong{font-size:13px;font-weight:400}
@media(max-width:900px){.system-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}}
@media(max-width:600px){.hero-copy{padding:20px 16px 12px}.hero-copy h1{font-size:20px}.knowledge-base{padding:0 16px 24px}.system-grid{grid-template-columns:1fr}.system-card{min-height:88px}.quick-queries{gap:4px;margin-bottom:16px}.category-filter{gap:2px}.category-filter button{padding:0 9px}}
