:root{--bw-page:#fbfaf7;--bw-surface:#fff;--bw-raised:#f4f3f5;--bw-ink:#302d3c;--bw-heading:#3d3157;--bw-muted:#62616e;--bw-border:#dedde1;--bw-control-border:#87838f;--bw-purple:#6d508f;--bw-purple-soft:#f0ebf7;--bw-mint:#24735e;--bw-mint-soft:#edf8f3;--bw-button:#6d508f;--bw-button-ink:#fff;--bw-focus:#75549c;--bw-shadow:#eae7e2;--ink:var(--bw-ink);--muted:var(--bw-muted);--purple:var(--bw-purple);--purple-deep:var(--bw-purple);--lavender:var(--bw-purple-soft);--line:var(--bw-border);--paper:var(--bw-page);--white:var(--bw-surface)}html[data-theme=dark]{--bw-page:#1d1f24;--bw-surface:#24272d;--bw-raised:#2c3037;--bw-ink:#f0f1f4;--bw-heading:#f6f4fa;--bw-muted:#bec3cd;--bw-border:#444950;--bw-control-border:#87909f;--bw-purple:#d0b8f1;--bw-purple-soft:#353044;--bw-mint:#78dfbf;--bw-mint-soft:#233c35;--bw-button:#d0b8f1;--bw-button-ink:#30243e;--bw-focus:#d0b8f1;--bw-shadow:#15171b;--ink:var(--bw-ink);--muted:var(--bw-muted);--purple:var(--bw-purple);--purple-deep:var(--bw-purple);--lavender:var(--bw-purple-soft);--line:var(--bw-border);--paper:var(--bw-page);--white:var(--bw-surface)}@media screen{html:root body{background:var(--bw-page);color:var(--bw-ink)}html:root :where(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--bw-focus);outline-offset:3px}html:root :where(input,textarea,select)::placeholder{color:var(--bw-muted);opacity:1}html:root .site-header,html:root .site-footer{background:var(--bw-page);border-color:var(--bw-border)}.header-inner,.site-footer{max-width:1400px}.header-inner{gap:16px}.header-inner>nav{margin-left:auto}.header-actions{order:3;align-items:center;gap:8px;display:flex}html:root .header-actions .theme-toggle{width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:12px;padding:10px;position:static}.header-actions .theme-toggle-label{display:none}html:root .footer-links{color:var(--bw-muted);flex-wrap:wrap;font-size:12px}.site-footer small{font-size:12px}html:root .nav-dropdown-panel,html:root .header-inner nav.navigation-open{background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-border);box-shadow:0 6px 0 var(--bw-shadow)}html:root .nav-dropdown-panel a:hover,html:root .nav-dropdown-trigger[aria-expanded=true]{background:var(--bw-purple-soft);color:var(--bw-purple);border-color:var(--bw-border)}html:root .mobile-menu-toggle,html:root .keyword-header-toggle,html:root .keyword-help-switch,html:root .theme-toggle{background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-control-border);box-shadow:0 3px 0 var(--bw-shadow)}html:root .keyword-help-state{color:var(--bw-muted)}html:root .keyword-help-track{background:var(--bw-control-border)}html:root [aria-checked=true] .keyword-help-track{background:var(--bw-purple)}html:root .button{background:var(--bw-button);color:var(--bw-button-ink);border-color:var(--bw-button);box-shadow:0 3px 0 var(--bw-shadow)}html:root .button.secondary,html:root .hero-button{background:var(--bw-surface);color:var(--bw-heading);border-color:var(--bw-control-border)}html:root .eyebrow{color:var(--bw-muted);letter-spacing:.11em;font-size:11px}html:root .hero{background:var(--bw-purple-soft);border-color:var(--bw-border);padding:58px 24px 42px}html:root .hero-label{color:var(--bw-purple);border-color:var(--bw-border);background:var(--bw-surface);border-radius:6px;padding:7px 12px}.hero h1{font-size:clamp(36px,4.8vw,62px)}html:root .hero h1 em{color:var(--bw-purple)}html:root .hero :where(p,.hero-note){color:var(--bw-muted)}.hero-note{font-size:13px}html:root .learning-strip{color:var(--bw-muted);gap:40px}html:root .learning-strip :where(span,svg){color:inherit}.learning-strip svg,.nav-dropdown svg{stroke-width:1.8px;flex:none}.course-section{max-width:1400px;padding-top:42px}.section-heading :where(h1,h2){color:var(--bw-heading);margin:0;font-size:clamp(30px,3.4vw,42px)}.section-heading>p{font-size:14px}.course-levels{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}.course-level{background:var(--bw-surface);border:1px solid var(--bw-border);min-width:0;box-shadow:4px 5px 0 var(--bw-shadow);border-radius:16px;padding:24px;position:relative}.course-level-heading{align-items:center;gap:14px;margin-bottom:22px;display:flex}.course-level-heading>div{min-width:0}.course-level-heading :where(h2,h3){letter-spacing:0;color:var(--bw-heading);margin:3px 0 5px;font-family:Nunito,sans-serif;font-size:23px;font-weight:800}.course-level-heading p{margin:0;font-size:13px;line-height:1.45}.module-label{letter-spacing:.1em;color:var(--bw-mint);font-size:11px;font-weight:800}.course-level .unit-grid{grid-template-columns:1fr;gap:12px;display:grid}html:root .course-level .unit-card{background:var(--bw-surface);border-color:var(--bw-border);box-shadow:none;border-radius:12px;padding:16px 18px 0}html:root .course-level .unit-card:hover{background:var(--bw-surface)}html:root .course-section>.unit-card{background:var(--bw-surface);border-color:var(--bw-border);box-shadow:0 3px 0 var(--bw-shadow)}.course-level .unit-top{height:auto}.course-level .unit-label{color:var(--bw-mint);background:0 0;padding:0;font-size:11px}.course-level .unit-card :where(h3,h4){margin:6px 0;font-size:17px;line-height:1.4}.course-level .unit-card>p{margin-bottom:14px;font-size:13px}.course-level .unit-card details{margin-inline:-18px}.course-level .unit-card summary{min-height:44px;color:var(--bw-purple);padding:11px 18px;font-size:13px}html:root .topic-links>a{gap:12px;min-height:44px;font-size:13px;line-height:1.5}html:root .topic-links>a:hover{background:var(--bw-purple-soft)}.topic-links>a>span:first-child{min-width:0}html:root .topic-links small,html:root .topic-state{color:var(--bw-muted);font-size:11px}html:root .topic-state{white-space:normal;text-align:right;flex-shrink:0;max-width:72px}html:root .course-footnote{gap:16px;font-size:13px}html:root .course-footnote a{color:var(--bw-purple)}html:root .segmented{background:var(--bw-raised);border-color:var(--bw-border)}html:root .segmented button{color:var(--bw-muted);min-height:36px;font-size:13px}html:root .segmented button[aria-pressed=true]{background:var(--bw-surface);color:var(--bw-purple);box-shadow:0 2px 0 var(--bw-shadow)}html:root .search-box{background:var(--bw-surface);color:var(--bw-muted);border-color:var(--bw-control-border)}html:root .search-box input{color:var(--bw-ink);background:0 0;font-size:14px}html:root .search-box:focus-within{outline:3px solid var(--bw-focus);outline-offset:3px}html:root .gentle-banner{background:var(--bw-surface);border:1px solid var(--bw-border)}.gentle-banner h2{color:var(--bw-heading)}html:root .cram-index-page{background:var(--bw-purple-soft)}html:root .cram-index-hero{background:#47345f;border-color:#6a5482;min-height:260px}html:root .cram-index-intro{max-width:1400px;padding:46px 30px}html:root .cram-index-intro h1{letter-spacing:-1px;text-shadow:none;font-size:clamp(38px,5vw,56px)}html:root .cram-index-intro .eyebrow{color:#eee4f9}html:root .cram-index-intro p{color:#f0eaf6;max-width:620px}html:root .cram-index-hero:after{opacity:.5}html:root .cram-page{--purple-deep:var(--bw-purple);--line:var(--bw-border);background:var(--bw-page)}html:root .page-intro:not(.cram-index-intro) h1,html:root .text-page h1{color:var(--bw-heading);letter-spacing:-1px;font-size:clamp(34px,4vw,48px)}.page-intro{margin-bottom:30px}.text-page{max-width:880px}.specification-page{max-width:1100px}.spec-units{border:0;gap:12px;display:grid}.spec-unit{border:1px solid var(--bw-border);background:var(--bw-surface);box-shadow:0 3px 0 var(--bw-shadow);border-radius:12px}.spec-unit summary{padding:20px}.spec-unit summary::-webkit-details-marker{display:none}.spec-unit summary>span:first-child{color:var(--bw-mint);font-weight:800}.spec-unit ul{margin:0 24px 20px 121px}html:root .spec-unit a{color:var(--bw-purple)}html:root .keyword-notice,html:root .notice{background:var(--bw-purple-soft);color:var(--bw-ink);border-color:var(--bw-border)}html:root .keyword-search input,html:root .quiz-count-field input,html:root .built-written-answer textarea{background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-control-border)}html:root .keyword-alphabet a{background:var(--bw-surface);color:var(--bw-purple);border:1px solid var(--bw-border);min-width:34px;min-height:36px}html:root .keyword-alphabet span{color:var(--bw-muted)}html:root .keyword-entry:target{background:var(--bw-purple-soft)}html:root .keyword-entry dd p{color:var(--bw-ink)}html:root .keyword-entry dd .keyword-exam-note,html:root .keyword-source{color:var(--bw-muted)}html:root .keyword-popup{background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-control-border)}html:root .keyword-popup :where(p,small){color:var(--bw-muted)}html:root .keyword-popup a{color:var(--bw-purple)}html:root .keyword-popup:before{border-bottom-color:var(--bw-surface)}html:root .lesson-reader-toolbar,html:root .lesson-picker,html:root .study-card-about[open]>div,html:root .note-format-switch{background:var(--bw-surface);border-color:var(--bw-border);color:var(--bw-ink);box-shadow:none}html:root .study-mode-switch{background:var(--bw-raised)}html:root .study-mode-thumb{background:var(--bw-purple-soft);box-shadow:none}html:root .study-mode-switch a{color:var(--bw-muted)}html:root .study-mode-switch a[aria-current]{color:var(--bw-purple)}html:root .lesson-picker button:not([aria-current=step]){background:var(--bw-raised);color:var(--bw-ink)}html:root .lesson-picker-number[aria-current=step]{background:var(--bw-button);color:var(--bw-button-ink)}html:root .lesson-screen-count{background:var(--bw-purple-soft);color:var(--bw-purple)}html:root .lesson-reader-navigation>button{background:var(--bw-surface);color:var(--bw-purple);border-color:var(--bw-control-border);box-shadow:0 2px 0 var(--bw-shadow)}html:root :where(.topic-back,.lesson-return,.source-disclosure summary,.lesson-inline-link){color:var(--bw-purple)}html:root .lesson-blocks :where(p,li){color:var(--bw-ink)}html:root .lesson-meta{color:var(--bw-muted)}html:root .tree-figure{background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-border)}html:root .tree-figure figcaption,html:root .lesson-blocks .diagram-hint{color:var(--bw-muted)}html:root .tree li>span{background:var(--bw-raised);color:var(--bw-ink);border-color:var(--bw-control-border)}html:root .diagram-actions button{background:var(--bw-surface);color:var(--bw-purple);border-color:var(--bw-control-border)}html:root .diagram-actions button[aria-pressed=true]{background:var(--bw-purple-soft)}html:root .lesson-sources,html:root .lesson-sources :where(ul,li){color:var(--bw-muted)}html:root .lesson-sources a{color:var(--bw-purple)}html:root .callout{background:var(--bw-surface);border-color:var(--bw-border);color:var(--bw-ink)}html:root .callout>svg{color:var(--bw-purple)}html:root .callout.misconception{border-color:var(--bw-control-border)}html:root .pl :where(.pl-card,.pl-acc,.pl-step,.pl-results,.pl-tips,.pl-model,.pl-calc,.pl-table-wrap),html:root .practical-model-answer{background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-border)}html:root .pl-points p{background:var(--bw-raised);color:var(--bw-ink);border-color:var(--bw-border)}html:root .pl-nav{background:var(--bw-page)}html:root .pl-nav a{background:var(--bw-surface);color:var(--bw-purple);border-color:var(--bw-border)}html:root .pl :where(.pl-label,.pl-chip){background:var(--bw-purple-soft);color:var(--bw-purple);border-color:var(--bw-border)}html:root .pl .pl-tag,html:root .pl .pl-num{background:var(--bw-button);color:var(--bw-button-ink)}html:root .pl :where(.pl-spec,.pl-qty,.pl-reveal){color:var(--bw-purple)}html:root :where(.table-scroll,.pl-table-wrap){border-color:var(--bw-border)}html:root :where(.table-scroll,.pl-table-wrap) :where(table,td){background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-border)}html:root :where(.table-scroll,.pl-table-wrap) :where(th,caption){background:var(--bw-raised);color:var(--bw-ink);border-color:var(--bw-border)}html:root .quiz-builder-controls,html:root .quiz-builder-empty{background:var(--bw-surface);border-color:var(--bw-border);box-shadow:4px 5px 0 var(--bw-shadow);border-radius:16px}html:root .quiz-builder-control-heading>p{background:var(--bw-purple-soft);color:var(--bw-purple)}html:root .quiz-builder-unit legend button{color:var(--bw-purple);min-height:36px}html:root .quiz-topic-grid label{background:var(--bw-surface);color:var(--bw-ink);border-color:var(--bw-border);border-radius:12px}html:root .quiz-topic-grid label:has(input:checked){background:var(--bw-mint-soft);border-color:var(--bw-mint);box-shadow:inset 0 0 0 1px var(--bw-mint)}html:root .quiz-topic-grid input{accent-color:var(--bw-mint)}html:root .quiz-builder-options{border-color:var(--bw-border)}html:root .quiz-options .option-letter{color:inherit}html:root .worksheet-level-label,html:root .worksheet-level-panel .worksheet-unit-number,html:root .worksheet-level-panel .worksheet-unit-files{color:var(--bw-mint)}html:root .worksheet-level-panel .worksheet-unit-card{transition:transform .15s}html:root .worksheet-document-button small,html:root .worksheet-topic-trigger>small,html:root .worksheet-frame-fallback{color:var(--bw-muted)}html:root .worksheet-frame-fallback a{color:var(--bw-purple)}html:root .high-yield-badge,html:root .hy-star,html:root .quiz-canvas-content .practice-question,html:root .quiz-options label.quiz-selected,html:root .lesson-picker-number[aria-current=step]{animation:none}html:root .cram-page .lesson-title:after{display:none}html:root .lesson-picker button:hover:not(:disabled),html:root .quiz-options label:hover,html:root .practice-question>button:hover:not(:disabled){transform:none}}@media screen and (max-width:900px){.course-levels{grid-template-columns:1fr}.course-level{padding:20px}}@media screen and (min-width:601px) and (max-width:1000px){.header-inner>nav{order:4}.header-actions{margin-left:auto}}@media screen and (max-width:600px){.header-inner{gap:8px;padding-inline:16px}.header-inner>.logo img{width:clamp(128px,40vw,156px)}.course-section{padding:30px 16px}.course-level{padding:16px}.course-levels{margin-top:64px}.course-level-heading{gap:10px;margin-bottom:16px}.course-level-heading :where(h2,h3){font-size:20px}.course-level-heading p{font-size:12px}.course-level .unit-card{padding-inline:14px}.course-level .unit-card details{margin-inline:-14px}.course-footnote{flex-direction:column;align-items:start}.section-heading{display:block}.section-heading>p{margin-top:12px}.explorer-controls{flex-direction:column;gap:12px}.segmented{align-self:start}.search-box input{width:100%;min-width:0}html:root .hero{padding:36px 18px 28px}html:root .learning-strip{flex-wrap:wrap;gap:12px 20px;padding:18px;font-size:12px}html:root .cram-index-intro{padding:34px 20px}.text-page{margin-top:34px;padding-inline:20px}.spec-unit summary{grid-template-columns:minmax(0,1fr) 20px;gap:6px;padding:16px;display:grid}.spec-unit summary>span:first-child,.spec-unit summary strong{grid-column:1}.spec-unit summary:after{grid-area:1/2/3}.spec-unit ul{margin:0 16px 16px}.site-footer{padding-inline:20px}html:root .lesson-title h1{overflow-wrap:anywhere;font-size:34px}html:root .lesson-blocks :where(p,li){font-size:16px}html:root .table-scroll table{font-size:13px}.quiz-builder-shell{width:calc(100% - 24px)}html:root .quiz-builder-controls{padding:16px 14px}html:root .quiz-builder-page .page-intro{margin-top:30px;padding-inline:16px}html:root .quiz-builder-page .page-intro h1{font-size:32px}.quiz-builder-page .page-intro>p{font-size:14px;line-height:1.55}.quiz-builder-control-heading{gap:12px}.quiz-builder-control-heading h2{font-size:24px}html:root .quiz-builder-control-heading>p{padding:6px 10px;font-size:12px}.quiz-builder-units{gap:16px;margin-top:18px}.quiz-builder-unit legend{font-size:14px}.quiz-topic-grid{gap:8px}html:root .quiz-topic-grid label{gap:10px;min-height:48px;padding:10px 12px}.quiz-topic-grid strong{font-size:14px}.quiz-topic-grid small{font-size:12px}html:root .quiz-builder-options{gap:14px;margin-top:18px;padding-top:18px}html:root .built-quiz{padding-inline:12px}.built-quiz-header{gap:14px}.built-quiz-header h2{font-size:25px}.built-quiz-header p,.built-quiz-summary p{font-size:14px}.built-quiz-question{padding-block:24px}html:root .built-quiz-question h3,html:root .quiz-focus-dialog .practice-question h3{font-size:16px;line-height:1.5}html:root .quiz-options label{gap:8px;min-height:48px;padding:12px;font-size:14px;line-height:1.55}html:root .quiz-inline-explanation{padding:11px 12px;font-size:13.5px;line-height:1.6}.question-annotation-tools{flex-wrap:wrap;gap:8px}.question-annotation-tools button{min-height:44px}.quiz-header-actions{flex:none}.quiz-canvas-header>div:first-child{overflow-wrap:anywhere;min-width:0}.built-question-label{font-size:11px}.worksheet-topic-trigger{font-size:13px}.worksheet-preview-header h2{font-size:24px}.keyword-entry dd p{font-size:14px;line-height:1.65}}@media (prefers-reduced-motion:reduce){html:root{scroll-behavior:auto}html:root :where(.button,.unit-card,.course-level,.nav-dropdown-trigger,.quiz-options label){transition:none}}
