:root {
  --bc-paper:#f6f4ee;--bc-surface:#fffdfa;--bc-soft:#edf1ed;--bc-soft-2:#eef2f3;
  --bc-ink:#1d2420;--bc-text:#3f4943;--bc-muted:#69716c;--bc-line:#d9ded9;--bc-line-strong:#bcc8c0;
  --bc-forest:#214d3d;--bc-forest-dark:#17382c;--bc-teal:#486a78;--bc-indigo:#506773;--bc-indigo-soft:#edf1f3;
  --bc-amber:#916a31;--bc-red:#9b433a;--bc-red-soft:#f9eeeb;--bc-radius-sm:6px;--bc-radius:10px;--bc-radius-lg:14px;
  --bc-shadow:0 1px 2px rgba(29,36,32,.045),0 8px 22px rgba(29,36,32,.035);
  --bc-display:Georgia,'Noto Serif SC','Songti SC',serif;
  --bc-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans SC',sans-serif;
  --bc-mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace;
  --paper:var(--bc-paper);--white:var(--bc-surface);--ink:var(--bc-ink);--muted:var(--bc-muted);--line:var(--bc-line);
  --purple:var(--bc-forest);--purple-dark:var(--bc-forest-dark);--purple-wash:var(--bc-soft);--teal:var(--bc-teal);
  --teal-wash:var(--bc-soft-2);--red-wash:var(--bc-red-soft);--display:var(--bc-display);--body:var(--bc-body);--mono:var(--bc-mono);
  --bg-primary:var(--bc-paper);--bg-secondary:var(--bc-soft);--bg-card:var(--bc-surface);--bg-card-hover:#f1f4f1;--bg-surface:#fbfdfb;
  --text-primary:var(--bc-ink);--text-secondary:var(--bc-text);--text-muted:var(--bc-muted);--border:var(--bc-line);
  --border-strong:var(--bc-line-strong);--accent:var(--bc-forest);--accent-soft:#a9d2bd;--accent-dim:var(--bc-forest-dark);
  --accent-bg:rgba(23,107,72,.08);--accent-glow:rgba(23,107,72,.14)
}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;color:var(--bc-ink);background:var(--bc-paper);font-family:var(--bc-body);line-height:1.65;-webkit-font-smoothing:antialiased}body::before{display:none!important}
a{color:var(--bc-forest-dark);text-underline-offset:3px}a:hover{color:var(--bc-teal)}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid rgba(23,107,72,.34);outline-offset:3px}::selection{color:var(--bc-ink);background:#ccebdc}
.topbar,.top-bar{position:sticky!important;top:0;z-index:100;min-height:68px!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:10px max(18px,calc((100vw - 1280px)/2))!important;border:0!important;border-bottom:1px solid var(--bc-line)!important;background:#fffdfa!important;box-shadow:0 2px 8px rgba(29,36,32,.025)!important;backdrop-filter:none!important}
.brand,.top-bar-left{display:inline-flex!important;align-items:center!important;gap:11px!important;min-width:max-content;color:var(--bc-ink)!important;text-decoration:none!important}
.brand-copy,.brand-text{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;line-height:1!important}
.brand-mark{width:39px!important;height:39px!important;display:inline-grid!important;place-items:center!important;flex:0 0 39px;border:1px solid var(--bc-forest)!important;border-radius:2px!important;color:var(--bc-forest-dark)!important;background:transparent!important;box-shadow:none!important;font-family:var(--bc-display)!important;font-size:17px!important;font-weight:700!important;letter-spacing:.02em!important}
.brand-copy strong,.brand-text strong,.module-title{color:var(--bc-ink)!important;font-family:var(--bc-display)!important;font-size:17px!important;font-weight:700!important;line-height:1.05!important}
.brand-copy span,.brand-text span{margin-top:0!important;color:var(--bc-muted)!important;font:700 10px/1.2 var(--bc-mono)!important;letter-spacing:.09em!important;text-transform:uppercase!important}
.toplinks,.top-links,.top-bar-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;flex-wrap:wrap!important}
.toplink,.top-link{min-height:39px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:7px 11px!important;border:0!important;border-radius:8px!important;color:var(--bc-text)!important;background:transparent!important;font-size:12.5px!important;font-weight:750!important;text-decoration:none!important;box-shadow:none!important}
.toplink:hover,.top-link:hover,.toplink.active,.top-link.active{color:var(--bc-forest-dark)!important;background:var(--bc-soft)!important}
.shell,.container,.main-container{width:min(100%,1280px)!important;max-width:1280px!important;margin-inline:auto!important;padding-left:24px!important;padding-right:24px!important}.shell,.container{padding-top:42px!important;padding-bottom:80px!important}
.hero,.hero-copy,.topic-hero,.exam-intro{border-color:var(--bc-line)!important;background:rgba(255,255,255,.96)!important;box-shadow:var(--bc-shadow)!important}.hero{border-radius:var(--bc-radius-lg)!important}.hero::after,.hero-copy::before{opacity:.45!important}
.kicker,.eyebrow,.hero-kicker,.topic-kicker,.section-label,.stage-kicker{color:var(--bc-forest)!important;font-family:var(--bc-mono)!important;font-size:11px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important}
h1,h2,h3,.hero-title,.topic-hero h1,.section-title h2{color:var(--bc-ink);font-family:var(--bc-display)!important}
.card,.nav-card,.section-card,.unit-card,.assessment-item,.topic-card,.picker-card,.question-card,.side-card,.formula-card,.graph-card,.stage-card,.policy-card,.result-card,.config-card,.history-card,.exam-card,.selected-topic-panel{border-color:var(--bc-line)!important;background:rgba(255,255,255,.97)!important;box-shadow:var(--bc-shadow)!important}
.card,.nav-card,.section-card,.unit-card,.topic-card,.picker-card,.question-card,.side-card,.formula-card,.graph-card,.stage-card,.policy-card,.result-card,.config-card,.history-card,.exam-card,.selected-topic-panel{border-radius:var(--bc-radius)!important}
.card:hover,.nav-card:hover,.unit-card:hover,.topic-card:hover,.assessment-item:hover,.formula-card:hover{border-color:var(--bc-line-strong)!important;box-shadow:0 2px 10px rgba(29,36,32,.05)!important}
.btn,.primary-btn,.ghost-btn,.result-btn,.submit-btn,.practice-opt-btn,.lang-btn,.nav-button,.icon-btn,.rating,.exam-option{min-height:44px;border-radius:var(--bc-radius-sm)!important;font-weight:750!important;transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease,transform 160ms ease!important}
.btn,.ghost-btn,.result-btn,.lang-btn,.icon-btn,.exam-option{border-color:var(--bc-line-strong)!important;color:var(--bc-text)!important;background:var(--bc-surface)!important;box-shadow:none!important}
.btn:hover,.ghost-btn:hover,.result-btn:hover,.lang-btn:hover,.icon-btn:hover,.exam-option:hover{border-color:var(--bc-forest)!important;color:var(--bc-forest-dark)!important;background:var(--bc-soft)!important}
.btn.primary,.btn.teal,.primary-btn,.submit-btn,.result-btn.primary,.nav-button.primary{border-color:var(--bc-forest)!important;color:#fff!important;background:var(--bc-forest)!important;box-shadow:none!important}.btn.primary:hover,.btn.teal:hover,.primary-btn:hover,.submit-btn:hover,.result-btn.primary:hover,.nav-button.primary:hover{border-color:var(--bc-forest-dark)!important;background:var(--bc-forest-dark)!important;transform:translateY(-1px)}
.pill,.badge,.exam-chip,.topic-chip,.count-chip,.tag-pill,.skill-chip,.meta-chip,.source-state{border:1px solid #c9e0d3!important;color:var(--bc-forest-dark)!important;background:var(--bc-soft)!important;border-radius:999px!important}
.notice,.truth-note,.bank-note,.answer-note,.grade-disclaimer,.footer-note,.source-note{border-color:#b9dcd2!important;color:#315b51!important;background:var(--bc-soft-2)!important}
.input,.select,.textarea,.select-field,input,select,textarea{border-color:var(--bc-line-strong)!important;color:var(--bc-ink)!important;background:var(--bc-surface)!important}.input:focus,.select:focus,.textarea:focus,.select-field:focus,input:focus,select:focus,textarea:focus{border-color:var(--bc-forest)!important;box-shadow:0 0 0 3px rgba(23,107,72,.11)!important}
.bc-page{min-height:100vh}.bc-home{width:min(100%,1280px);margin:0 auto;padding:46px 24px 90px}.bc-home-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:18px;margin-bottom:20px}.bc-home-lead,.bc-today{min-width:0;border:1px solid var(--bc-line);border-radius:var(--bc-radius-lg);background:rgba(255,255,255,.96);box-shadow:var(--bc-shadow)}
.bc-home-lead{position:relative;overflow:hidden;padding:clamp(30px,5vw,58px)}.bc-home-lead::after{display:none}.bc-home-lead h1{max-width:760px;margin:12px 0 17px;font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.045em;font-weight:600}.bc-home-lead .bc-deck{max-width:760px;margin:0;color:var(--bc-text);font-size:17px;line-height:1.8}
.bc-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}.bc-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid var(--bc-line-strong);border-radius:var(--bc-radius-sm);color:var(--bc-text);background:#fff;font-weight:780;text-decoration:none;cursor:pointer}.bc-button:hover{color:var(--bc-forest-dark);border-color:var(--bc-forest);background:var(--bc-soft)}.bc-button.primary{color:#fff;border-color:var(--bc-forest);background:var(--bc-forest)}.bc-button.primary:hover{color:#fff;background:var(--bc-forest-dark)}.bc-button.ai{color:var(--bc-indigo);border-color:#cbd4d7;background:var(--bc-indigo-soft)}
.bc-today{padding:26px;background:var(--bc-ink);color:#fff}.bc-today .bc-eyebrow{color:#8fd1b0}.bc-today h2{margin:13px 0 6px;color:#fff;font-size:29px;line-height:1.12}.bc-today p{margin:0;color:rgba(255,255,255,.72);font-size:14px}.bc-today .bc-button{width:100%;margin-top:22px;color:#fff;border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.08)}.bc-today .bc-button:hover{background:rgba(255,255,255,.15)}.bc-eyebrow{color:var(--bc-forest);font:800 11px/1.3 var(--bc-mono);letter-spacing:.13em;text-transform:uppercase}
.bc-metric-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;overflow:hidden;margin:18px 0 28px;border:1px solid var(--bc-line);border-radius:var(--bc-radius);background:var(--bc-line)}.bc-metric{min-width:0;padding:18px;background:rgba(255,255,255,.98)}.bc-metric strong{display:block;font:600 28px/1.1 var(--bc-display)}.bc-metric span{display:block;margin-top:5px;color:var(--bc-muted);font-size:12px}
.bc-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:18px;margin-bottom:32px}.bc-panel{min-width:0;padding:24px;border:1px solid var(--bc-line);border-radius:var(--bc-radius);background:#fff;box-shadow:var(--bc-shadow)}.bc-panel-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.bc-panel-head h2,.bc-section-head h2{margin:5px 0 0;font-size:31px;line-height:1.06}.bc-panel-head p{max-width:420px;margin:0;color:var(--bc-muted);font-size:13px;text-align:right}.bc-learning-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bc-path-step{padding:17px;border:1px solid var(--bc-line);border-radius:10px;background:#fbfdfb;color:inherit;text-decoration:none}.bc-path-step:hover{border-color:var(--bc-forest);background:var(--bc-soft)}.bc-path-step strong{display:block;margin:6px 0 5px;font-family:var(--bc-display);font-size:20px}.bc-path-step p{margin:0;color:var(--bc-muted);font-size:12.5px}.bc-path-index{color:var(--bc-forest);font:800 10px var(--bc-mono);letter-spacing:.08em}.bc-mistake-preview{padding:17px;border-left:3px solid var(--bc-amber);border-radius:0 9px 9px 0;background:#fff9ed}.bc-mistake-preview h3{margin:5px 0 7px;font-size:21px}.bc-mistake-preview p{margin:0;color:var(--bc-text);font-size:13px}.bc-empty-copy{color:var(--bc-muted)!important}
.bc-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:38px 0 14px}.bc-section-head p{max-width:560px;margin:0;color:var(--bc-muted);font-size:13px;text-align:right}.bc-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bc-unit-card{min-width:0;display:grid;grid-template-columns:172px minmax(0,1fr);overflow:hidden;border:1px solid var(--bc-line);border-radius:var(--bc-radius);background:#fff;box-shadow:var(--bc-shadow)}.bc-unit-image{position:relative;min-height:190px;overflow:hidden;background:var(--bc-soft)}.bc-unit-image img{width:100%;height:100%;display:block;object-fit:cover}.bc-unit-number{position:absolute;top:12px;left:12px;min-width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:#fff;background:rgba(22,35,28,.84);font:800 12px var(--bc-mono)}.bc-unit-body{min-width:0;padding:20px}.bc-unit-body h3{margin:5px 0 4px;font-size:23px;line-height:1.08}.bc-unit-zh{margin:0 0 12px;color:var(--bc-muted);font-size:13px}.bc-unit-range{min-height:39px;margin:0 0 14px;color:var(--bc-text);font-size:12.5px}.bc-progress-line{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--bc-muted);font-size:11.5px}.bc-progress-line progress{width:100%;height:7px;overflow:hidden;border:0;border-radius:999px;appearance:none}.bc-progress-line progress::-webkit-progress-bar{border-radius:999px;background:#e8efea}.bc-progress-line progress::-webkit-progress-value{border-radius:999px;background:var(--bc-forest)}.bc-progress-line progress::-moz-progress-bar{border-radius:999px;background:var(--bc-forest)}.bc-unit-link{display:inline-flex;margin-top:14px;font-size:13px;font-weight:780;text-decoration:none}.bc-evidence-note{margin-top:28px;padding:18px 20px;border:1px solid #c9ddd0;border-radius:var(--bc-radius);color:var(--bc-text);background:var(--bc-soft);font-size:13px}
.katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:2px 0}.bc-math-source{display:inline-block;max-width:100%;overflow-wrap:anywhere}.bc-mistake-preview h3{max-width:100%;overflow-wrap:anywhere}.bc-mistake-preview h3 .katex-display{font-size:.78em;text-align:left}
.sidebar{border-color:var(--bc-line)!important;background:#f3f8f4!important}.sidebar-header{border-color:var(--bc-line)!important;background:#fff!important}.sidebar-action,.sidebar-link{border-radius:7px!important}.sidebar-action:hover,.sidebar-link:hover,.sidebar-link.active{color:var(--bc-forest-dark)!important;background:#dfeee5!important}.sidebar-action.active{box-shadow:none!important}.md-content{color:var(--bc-text)!important;font-size:16.5px!important;line-height:1.82!important}.md-content h1,.md-content h2,.md-content h3{color:var(--bc-ink)!important;letter-spacing:-.015em}.md-content h2{margin-top:2em!important;padding-top:.3em;border-top:1px solid var(--bc-line)}.md-content blockquote{border-color:var(--bc-teal)!important;color:#315b51!important;background:var(--bc-soft-2)!important}.concept-card-wrapper,.worked-example,.mistake-card,.practice-q-card,.exam-technique{border-color:var(--bc-line)!important;box-shadow:none!important}.concept-card-header{background:var(--bc-soft)!important}.worked-example{border-left-color:var(--bc-forest)!important;background:#fbfdfb!important}.mistake-card{background:#fff9ed!important}.practice-opt-btn.correct{border-color:var(--bc-forest)!important;background:var(--bc-soft)!important}
.exam-shell,.viewer{background:transparent!important}.exam-question,.review-item,.part-card{border-color:var(--bc-line)!important}.exam-submitbar,.exam-submitbar-inner,.bottom-nav{border-color:var(--bc-line)!important;background:rgba(255,253,250,.97)!important}.result-score,.score-ring{border-color:#a9beb2!important;background:var(--bc-soft)!important}.progress-fill,.mini-fill{background:var(--bc-forest)!important}.option.selected,.exam-option.selected{border-color:var(--bc-forest)!important;background:var(--bc-soft)!important}.option.correct,.exam-option.correct{border-color:var(--bc-teal)!important;background:#eaf1f2!important}.option.wrong,.exam-option.wrong{border-color:var(--bc-red)!important;background:var(--bc-red-soft)!important}.ai-report,.grade-panel{border-color:#cbd4d7!important;background:#f7f8f7!important}.grade-badge{color:var(--bc-indigo)!important;background:var(--bc-indigo-soft)!important}.formula-grid,.plot-grid,.preset-grid,.policy-grid,.route-grid{gap:14px!important}.footer{border-color:var(--bc-line)!important}.danger-zone{border-color:#e1bcb6!important;background:var(--bc-red-soft)!important}.hero-accent-bar{height:3px!important;background:var(--bc-forest)!important;box-shadow:none!important}.hero-copy::before,.hero-panel::before{display:none!important}.topic-card-header,.assessment-top{background:var(--bc-surface)!important}.exam-chip.accent{background:var(--bc-forest)!important}.topic-card:hover{transform:none!important}
@media(max-width:1040px){.bc-metric-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.bc-dashboard-grid{grid-template-columns:1fr}.bc-unit-card{grid-template-columns:145px minmax(0,1fr)}}
@media(max-width:820px){.topbar,.top-bar{position:relative!important;align-items:flex-start!important;padding:12px 16px!important}.toplinks,.top-links,.top-bar-right{justify-content:flex-start!important}.bc-home{padding:28px 16px 72px}.bc-home-hero,.bc-unit-grid{grid-template-columns:1fr}.bc-home-lead{padding:32px 25px}.bc-learning-path{grid-template-columns:1fr}.bc-unit-card{grid-template-columns:180px minmax(0,1fr)}.shell,.container,.main-container{padding-left:16px!important;padding-right:16px!important}}
@media(max-width:560px){.brand-copy span,.brand-text span{display:none!important}.toplink,.top-link{min-height:36px!important;padding:6px 8px!important;font-size:11.5px!important}.bc-home-lead h1{font-size:43px}.bc-metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.bc-metric{padding:15px}.bc-panel{padding:19px}.bc-panel-head,.bc-section-head{align-items:flex-start;flex-direction:column}.bc-panel-head p,.bc-section-head p{text-align:left}.bc-unit-card{grid-template-columns:1fr}.bc-unit-image{min-height:150px;max-height:190px}.bc-unit-body{padding:18px}.bc-actions .bc-button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
@media print{.topbar,.top-bar,#cbc-ai-fab,#cbc-ai-panel,.bc-actions{display:none!important}body{background:#fff}.shell,.container,.main-container,.bc-home{width:100%!important;max-width:none!important;padding:0!important}.card,.bc-panel,.bc-unit-card{break-inside:avoid;box-shadow:none!important}}
