/* Quiet study surfaces, persistent progress, and a focused mobile reader. */
:root{--bg:#080e1d;--surface:#111a2c;--raised:#1b273b;--ink:#f2f5fb;--muted:#a1aec3;--line:#29364b;--accent:#83adff;--success:#23c99d;--nav:#0e1729;color-scheme:dark;background:var(--bg);color:var(--ink)}
:root[data-theme=light]{--bg:#f4f6fb;--surface:#fff;--raised:#e9eef7;--ink:#14213a;--muted:#53647f;--line:#d5deeb;--accent:#205fd1;--success:#087e63;--nav:#fff;color-scheme:light}
body{background:var(--bg);color:var(--ink)}h1{font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.04em;line-height:1.15}p,li{line-height:1.8}a{color:var(--accent)}button,input,textarea,select{font:inherit}button{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.sidebar{background:var(--nav);border-color:var(--line);color:var(--ink)}.brand,.branddot{color:var(--ink)}.brandmark{background:var(--accent);color:var(--bg)}.nav-item,.side-label,.local-note,.about-link{color:var(--muted)}.nav-item.active{background:var(--raised);color:var(--accent)}.nav-item:hover{background:var(--raised);color:var(--ink)}.topbar{background:var(--bg);border-color:var(--line);color:var(--muted)}.topbar .streak{color:var(--muted)}.topbar .avatar{display:none}.tool-button{color:var(--ink)}.tool-button:hover{background:var(--raised)}main{max-width:1110px;padding-top:32px}.mobile-nav{background:var(--nav);border-color:var(--line);padding-bottom:max(10px,env(safe-area-inset-bottom));backdrop-filter:blur(16px)}.mobile-nav a{color:var(--muted);font-size:.75rem}.mobile-nav a.active{color:var(--accent)}.mobile-nav svg{width:23px;height:23px}
.button{background:var(--accent);color:#07152e;border:1px solid transparent;border-radius:13px;min-height:48px;font-weight:650}.button.lime{background:var(--accent);color:#07152e}.button.secondary{background:var(--raised);border-color:var(--line);color:var(--ink)}.button.ghost,.text-link{color:var(--accent)}:root[data-theme=light] .button:not(.secondary):not(.ghost){color:white}.config-note,.input-help,.field-source,.brief-provenance,.muted,.eyebrow,.step-label,.pill{color:var(--muted);font-size:.875rem}.pill{background:var(--raised);border-radius:8px;padding:5px 9px}input,textarea,select{background:var(--surface);color:var(--ink);border:1px solid var(--line)!important;min-height:46px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.panel{border-color:var(--line)}.progress-track{background:var(--raised)}.progress-track>span{background:var(--success)}
.studio-heading{margin:8px 0 30px}.studio-heading h1{margin:0 0 12px}.studio-heading>p{color:var(--muted);max-width:65ch;margin:8px 0;font-size:1.05rem}.studio-heading .eyebrow{font-size:.875rem;letter-spacing:.06em}.studio-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:20px;font-size:.95rem;color:var(--muted)}.studio-tabs{display:flex;gap:26px;overflow-x:auto;margin:0 0 24px;border-bottom:1px solid var(--line)}.studio-tabs a{white-space:nowrap;color:var(--muted);padding:12px 0;border-bottom:2px solid transparent;font-weight:600;font-size:.95rem}.studio-tabs a[aria-current]{color:var(--accent);border-color:var(--accent)}
.studio-search{display:flex;align-items:center;gap:12px;background:var(--raised);padding:0 18px;border-radius:15px;margin:18px 0 22px;border:1px solid transparent}.studio-search>span:first-child{font-size:1.8rem;color:var(--muted)}.studio-search input{border:0!important;background:transparent;width:100%;min-width:0;min-height:58px;font-size:1rem;outline-offset:-3px}.studio-search input::placeholder{color:var(--muted)}.studio-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 3px 12px;scrollbar-width:thin}.studio-filters button{flex-shrink:0;background:transparent;color:var(--muted);border:1px solid var(--line);padding:8px 13px;border-radius:24px;min-height:44px;font-size:.875rem}.studio-filters button[aria-pressed=true]{background:var(--raised);color:var(--ink);border-color:var(--accent)}.studio-list-title{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:24px 0 18px}.studio-list-title h2{font-size:1.2rem;margin:0}.studio-list-title a{font-size:.875rem;white-space:nowrap}.studio-course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.studio-course{display:grid;grid-template-columns:52px minmax(0,1fr) auto 12px;gap:14px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;color:var(--ink)}.studio-course:hover{border-color:var(--accent)}.studio-icon{width:52px;height:54px;display:inline-grid;place-items:center;border-radius:15px;color:white;font-size:1.25rem;font-weight:650;flex-shrink:0}.studio-icon svg{width:28px;height:28px}.studio-icon.blue{background:#427bed}.studio-icon.violet{background:#7960d9}.studio-icon.teal{background:#079f85}.studio-icon.amber{background:#ba761d}.studio-icon.rose{background:#b34a89}.studio-course-name{min-width:0}.studio-course h2{font-size:1.06rem;line-height:1.45;margin:0 0 5px;letter-spacing:-.012em;overflow-wrap:anywhere}.studio-course p{font-size:.875rem;color:var(--muted);margin:0}.studio-percent{font-size:.875rem;font-weight:650;color:var(--accent);background:var(--raised);padding:6px 10px;border-radius:30px;white-space:nowrap}.studio-percent.complete{color:var(--success)}.studio-chevron{font-size:1.6rem;color:var(--muted)}.studio-meter{height:7px;border-radius:7px;background:var(--raised);overflow:hidden;width:100%}.studio-meter>span{height:100%;display:block;border-radius:inherit;background:var(--success)}.studio-course>.studio-meter{grid-column:1/-1;margin-top:4px}.studio-resources{border-top:1px solid var(--line);margin-top:34px;padding:16px 0;color:var(--muted);font-size:.9rem}.studio-resources summary{font-weight:600;color:var(--ink)}.studio-resource-links{display:grid;gap:8px;margin:12px 0}.studio-resource-links a{padding:10px 0;min-height:44px}
.studio-progress-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:18px;align-items:center;background:var(--raised);border:1px solid var(--line);border-radius:22px;padding:26px;margin:28px 0 32px}.studio-progress-card .studio-meter{grid-column:1/-1;background:var(--bg);margin-top:6px}.studio-progress-card h2{font-size:1.12rem;line-height:1.45;margin:5px 0}.studio-label{font-size:.8rem;color:var(--muted);letter-spacing:.06em}.studio-progress-card>p{grid-column:1/-1;margin:0;color:var(--muted);font-size:.875rem}.studio-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.studio-unit{display:flex;flex-direction:column;gap:20px;border:1px solid var(--line);background:var(--surface);padding:24px;border-radius:20px;color:var(--ink)}.studio-unit h2{font-size:1.12rem;line-height:1.5;margin:0;flex:1}.studio-unit-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.studio-unit-top>span:last-child{font-size:.875rem;color:var(--muted)}.studio-unit .studio-icon{width:44px;height:46px}.studio-unit-link{display:flex;justify-content:space-between;color:var(--accent);font-size:.95rem;font-weight:600}.studio-unit.done .studio-unit-link{color:var(--success)}.studio-unit:hover{border-color:var(--accent)}
.studio-resume{display:block;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:28px;color:var(--ink)}.studio-resume h2{font-size:1.5rem;line-height:1.4;max-width:600px;margin:15px 0}.studio-resume p{display:flex;justify-content:space-between;color:var(--accent);margin:0 0 24px}.studio-metrics{display:flex;gap:36px;padding:26px 4px;margin-bottom:4px}.studio-metrics>div{display:flex;flex-direction:column;gap:5px}.studio-metrics strong{font-size:1.8rem;line-height:1.3}.studio-metrics small{font-size:1rem;font-weight:400;color:var(--muted)}.studio-metrics span{font-size:.875rem;color:var(--muted)}.studio-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.studio-actions a{background:var(--surface);border:1px solid var(--line);padding:22px;border-radius:20px;color:var(--ink)}.studio-actions h2{font-size:1.12rem;margin:20px 0 7px}.studio-actions p{font-size:.9rem;color:var(--muted);margin:0}.studio-footer-link,.studio-session-link{display:block;padding:20px 0;min-height:44px;font-size:.95rem}.studio-progress-overview{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;margin:20px 0 30px}.studio-progress-overview .studio-list-title{margin:0 0 18px}.studio-progress-overview p{color:var(--muted);font-size:.9rem}
.is-reading .topbar,.is-reading .mobile-nav{display:none}.is-reading main{padding-top:0}.reader-shell{max-width:740px;margin:auto;padding-bottom:90px}.reader-top{display:flex;align-items:center;gap:16px;justify-content:space-between;background:var(--bg);position:sticky;top:0;z-index:6;padding:16px 0;min-height:68px}.reader-top>a{font-size:.9rem;color:var(--muted)}.reader-top>span{font-variant-numeric:tabular-nums;font-size:.875rem;color:var(--muted);margin-left:auto}.reader-settings{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;min-width:46px;min-height:44px;font-weight:600}.reader-dots{display:flex;gap:7px;margin:8px 0 30px}.reader-dots>a{height:7px;background:var(--raised);border-radius:6px;flex:1;position:relative}.reader-dots>a:before{content:'';position:absolute;inset:-10px 0}.reader-dots>a.done{background:var(--success)}.reader-dots>a[aria-current]{background:var(--accent)}.reader-heading>p{color:var(--muted);font-size:.9rem;margin:0 0 10px}.reader-heading h1{font-size:2.2rem;margin:0 0 24px}.reader-body{font-size:1.0625rem;line-height:1.85;overflow-wrap:anywhere}.reader-body p,.reader-body li{line-height:1.85}.reading-section{margin:38px 0 44px}.reading-section h2{font-size:1.38rem;line-height:1.45;margin:0 0 20px;letter-spacing:-.015em}.reading-section h3{font-size:1.1rem;margin-top:26px}.reading-section p{margin:18px 0}.reader-formula{background:var(--raised);border:1px solid var(--line);border-radius:16px;padding:24px;line-height:1.9;font-weight:600;font-variant-numeric:tabular-nums}.reader-notation,.reader-convention{font-size:.925rem;color:var(--muted)}.reading-case{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:6px 22px}.solution-steps{padding-left:24px}.solution-steps li{padding-left:8px;margin:18px 0}.solution-steps li::marker{color:var(--accent);font-weight:650}.reading-conclusion{color:var(--muted)}.reader-lexicon{border:1px solid var(--line);border-radius:14px;padding:8px 16px;color:var(--muted);font-size:.925rem}.reader-lexicon summary{color:var(--accent);min-height:44px;display:list-item;align-content:center}.reader-lexicon dt{color:var(--ink);font-weight:650;margin-top:22px}.reader-lexicon dd{margin:8px 0 0;line-height:1.8}.reader-sources{margin-top:36px;border-top:1px solid var(--line);padding:18px 0;font-size:.875rem;color:var(--muted)}.reader-sources li{margin-bottom:12px}.reader-bottom{position:fixed;bottom:0;left:236px;right:0;display:flex;justify-content:center;gap:12px;background:var(--nav);border-top:1px solid var(--line);padding:14px 22px max(14px,env(safe-area-inset-bottom));z-index:8}.reader-bottom>.button{min-width:210px;max-width:500px}.reader-calc{width:50px;min-height:48px;border:1px solid var(--line);border-radius:13px;background:var(--raised);color:var(--ink);font-size:1.25rem}.reader-pref{display:flex;align-items:center;gap:18px;justify-content:space-between;min-height:60px;margin:18px 0}.reader-pref select{max-width:170px}.reader-pref input{width:22px;min-height:22px}:root[data-reading-size=large] .reader-body{font-size:1.25rem}:root[data-reading-size=large] .reader-lexicon{font-size:1.0625rem}#studio-answer{display:grid;gap:14px;margin-top:28px}#studio-value{width:100%;padding:16px;font-size:1.3rem}#studio-answer .button{width:100%}.studio-feedback{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:20px;margin-top:22px}.studio-feedback.success{border-color:var(--success)}.studio-feedback.retry h3{color:#eec786}.studio-feedback.success h3{color:var(--success)}.studio-glossary details{padding:14px 0;border-bottom:1px solid var(--line)}.studio-glossary summary{font-weight:600}.studio-glossary p{color:var(--muted);margin:10px 0 20px}
dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:24px}dialog::backdrop{background:#020610aa}.scientific-dialog{width:min(520px,calc(100% - 20px));padding:24px;max-height:92dvh;overflow:auto}.scientific-dialog h2{font-size:1.4rem}.calc-tabs{display:flex;gap:4px;background:var(--bg);border-radius:12px;padding:4px;margin:18px 0}.calc-tabs>button{flex:1;background:transparent;border:0;color:var(--muted);padding:10px 8px;border-radius:9px;min-height:44px;font-size:.925rem}.calc-tabs>button[aria-selected=true]{background:var(--raised);color:var(--ink)}.scientific-input{font-size:1.35rem;width:100%;padding:18px 14px;min-height:64px}.scientific-dialog #calc-output{font-size:1.15rem;min-height:52px;display:block;overflow-wrap:anywhere;line-height:1.6;padding:10px 2px;color:var(--accent)}.calc-mode{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px;color:var(--muted);font-size:.8rem}.calc-mode label{display:flex;align-items:center;gap:6px}.calc-mode select{padding:5px 7px;min-height:40px;font-size:.8rem;width:auto}.scientific-keys{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.scientific-keys>button{border:1px solid var(--line);border-radius:11px;min-height:45px;background:var(--raised);color:var(--ink);font-size:1rem}.scientific-keys>button:hover{border-color:var(--accent)}.calc-equals{margin-top:10px}.calc-history-panel{margin-top:18px}.history-expression{display:flex;gap:12px;justify-content:space-between;width:100%;padding:14px 0;background:none;color:var(--muted);border:0;border-bottom:1px solid var(--line);font-size:.875rem;text-align:left}.history-expression strong{color:var(--ink);overflow-wrap:anywhere}.history-expression span{overflow-wrap:anywhere}#calc-help{font-size:.925rem}#calc-help details{padding:10px 0;border-bottom:1px solid var(--line)}#calc-help p{color:var(--muted)}
/* Keep the existing workshops, interviews and exercises legible in either theme. */
.professional-intro,.question-passage,.case-context,.finance-conclusion,.code-model{background:var(--raised)!important;color:var(--ink)!important;border-color:var(--line)!important}.formula,.brief-tip,.brief-pitch blockquote,.interview-work blockquote,.question-context,.career-form,.brief-filters,.career-focus,.practice-cta,.course-intro,.daily-card,.home-feature,.resume-bar,.academy-skill-grid>div,.interview-review>div,pre,.office-formula pre{background:var(--raised);color:var(--ink);border-color:var(--line)}.brief-expected-label,.field-source,.brief-provenance,.brief-answer,.professional-meta,.professional-card p,.lesson-time,.lesson-state,.practice-cta p,.prose p,.prose li{color:var(--muted)}.professional-card h3,.lesson-card h3,.brief-question h2,.career-focus h2,.practice-cta h2,.career-focus .pill{color:var(--ink)}.professional-card:hover h3,.text-link,.field-source a{color:var(--accent)}.academy-table,.data-table,.data-table th,.data-table td,.academy-table th,.academy-table td{border-color:var(--line);color:var(--ink)}.academy-table thead,.data-table thead,.data-table caption{background:var(--raised);color:var(--muted)}.answer-option{background:var(--surface);border-color:var(--line);color:var(--ink)}.answer-option:disabled{opacity:1}.answer-option.correct{background:#10382e;color:#ddfff2;border-color:#28a47d}.answer-option.incorrect{background:#3d252b;color:#ffe9eb;border-color:#d78287}.answer-option .choice-letter{background:var(--raised);color:var(--muted)}.feedback.positive{background:#10382e;color:#ddfff2}.feedback.negative{background:#342c24;color:#fff0db}.feedback p,.feedback strong{color:inherit}.keypad button{background:var(--raised);color:var(--ink);border-color:var(--line)}.history-item,.review-item{background:var(--surface);color:var(--ink);border-color:var(--line)}.history-item small,.review-body{color:var(--muted)}.lesson-state.done{color:var(--success)}.excel-calc{color:var(--ink)}.excel-input{color:var(--accent)}.excel-link{color:var(--success)}.course-vocabulary dt{color:var(--ink)}.course-vocabulary dd{color:var(--muted)}.formula-search input{background:var(--surface)}.symbol-grid{color:#152642}.visual-matrix,.visual-pairs{color:#152642}.symbol-cell{background:#f3f6fb;color:#152642}.error{color:#ffb4be}.score-ring>div{background:var(--surface);color:var(--ink)}
@media(max-width:1100px){.reader-bottom{left:212px}.studio-course-list{grid-template-columns:1fr}}
@media(max-width:800px){main{padding:24px 22px 110px}.topbar{height:56px;padding-inline:22px}.studio-heading{margin:12px 0 26px}.studio-heading h1{font-size:2.4rem}.studio-course{padding:22px 18px;gap:14px;grid-template-columns:48px minmax(0,1fr) auto 10px}.studio-icon{width:48px;height:52px}.studio-course h2{font-size:1.05rem}.studio-course .studio-meter{margin-top:5px}.studio-course-list{gap:14px}.studio-percent{padding:5px 8px;font-size:.8rem}.studio-unit{padding:20px 18px;gap:20px}.studio-unit-grid{gap:14px}.studio-progress-card{padding:22px 18px;gap:13px}.studio-progress-card h2{font-size:1.02rem}.studio-label{font-size:.75rem}.studio-progress-card .studio-icon{width:46px;height:48px}.studio-actions a{padding:20px 18px}.studio-actions h2{font-size:1.04rem}.studio-resume{padding:24px}.reader-shell{max-width:none}.reader-top{padding-top:12px}.reader-heading h1{font-size:2rem}.reader-body{font-size:1.0625rem}.reader-bottom{left:0}.reader-bottom>.button{flex:1;min-width:0}.is-reading main{padding:0 23px 84px}.reader-lexicon{font-size:.925rem}.reading-section{margin:34px 0 42px}.reading-section h2{font-size:1.3rem}.reading-case{padding:3px 17px}.reader-formula{padding:20px;font-size:1rem}.reader-sources{padding-bottom:20px}.scientific-dialog{padding:18px}.calc-mode{font-size:.75rem}.studio-tabs{gap:22px}.studio-metrics{gap:24px}.studio-metrics strong{font-size:1.65rem}.studio-metrics span{font-size:.82rem}}
@media(max-width:360px){main{padding-inline:16px}.studio-course{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:18px 14px}.studio-course .studio-icon{width:40px;height:46px;font-size:1rem}.studio-chevron{display:none}.studio-unit{padding:17px 14px}.studio-unit-top>span:last-child{font-size:.75rem}.studio-unit-grid{gap:10px}.studio-progress-card{grid-template-columns:40px minmax(0,1fr) auto;padding:18px 14px;gap:10px}.studio-progress-card .studio-icon{width:40px;height:44px}.studio-heading h1{font-size:2.1rem}.scientific-keys{gap:5px}.scientific-keys>button{min-height:44px}}
.studio-filters{scrollbar-width:none}.studio-filters::-webkit-scrollbar{display:none}.reader-symbols{margin-top:10px}.calc-extra-controls{display:flex;gap:12px;align-items:start;justify-content:space-between;margin-top:12px}.calc-extra-controls>button,#calc-keyboard{border:1px solid var(--line);background:var(--raised);color:var(--ink);border-radius:9px;padding:7px 10px;min-height:40px}.calc-extra-controls small{font-size:.8rem}.calc-extra-controls details{flex:1;font-size:.875rem}.calc-extra-controls summary{text-align:right;color:var(--accent)}.calc-functions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.calc-functions button{min-height:44px;background:var(--raised);color:var(--ink);border:1px solid var(--line);border-radius:9px}.studio-glossary details[open]{padding-inline:15px;background:var(--surface);border-radius:12px}

/* Shared controls use the same theme as the reader. Visual puzzles retain a neutral canvas. */
.career-form input,.career-form textarea,.career-form select,.interview-answer textarea,.numeric-wrap,.segmented,.topic-card,.hint,.history-icon{background:var(--surface);color:var(--ink);border-color:var(--line)}
.segmented button{color:var(--muted)}.segmented button.selected,.topic-card.selected{background:var(--raised);color:var(--ink);border-color:var(--accent)}
.sequence span,.spatial-symbol,.figure-model,.question-chart,.analogy-figures>div{background:var(--raised);color:var(--ink);border-color:var(--line)}
caption,thead{background:var(--raised);color:var(--muted)}.excel-reading kbd{background:var(--raised);color:var(--ink);border-color:var(--line)}
.figure-matrix,.matrix-cell,.domino-tile{color:#152642}.matrix-cell{background:#f3f6fb}

.studio-tabs{scrollbar-width:none}.studio-tabs::-webkit-scrollbar{display:none}

.learning-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:0 0 28px;overflow:auto;scrollbar-width:none}.learning-tabs::-webkit-scrollbar{display:none}.learning-tabs a{white-space:nowrap;min-height:48px;padding:12px 0;color:var(--muted);font-size:.94rem;border-bottom:2px solid transparent}.learning-tabs a[aria-current]{color:var(--accent);border-color:var(--accent)}.learning-breadcrumb{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 25px;font-size:.9rem;color:var(--muted)}.learning-breadcrumb a{min-height:44px;display:inline-flex;align-items:center}.chapter-situation{font-size:1.1rem;line-height:1.9;margin:22px 0 32px}.reader-orientation{color:var(--muted);font-size:.95rem;margin:0 0 30px}.reader-heading h1{font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.28}.reader-tools{display:grid;gap:8px;margin:26px 0}.reader-tools .reader-symbols{margin-top:0}.reader-summary{border-top:1px solid var(--line);padding-top:22px;margin-top:38px}.reader-summary h2{font-size:1.25rem}.reader-example-label{color:var(--muted);font-size:.9rem}.case-separator{border-top:1px solid var(--line);margin:38px 0;padding-top:22px}.career-route-intro{max-width:70ch}.career-route-intro p{line-height:1.9}.career-route-intro h2{font-size:1.7rem}.learning-tabs+ .page-heading{margin-top:0}@media(max-width:360px){.learning-tabs{gap:18px}.learning-tabs a{font-size:.875rem}}

.chapter-preparation{margin:35px 0}.chapter-preparation h2{font-size:1.25rem}.chapter-preparation li{margin:12px 0}.reader-further{border-block:1px solid var(--line);padding:18px 0;margin:22px 0}.reader-further summary{font-size:1rem;color:var(--accent);line-height:1.6}.career-role-picker{padding:22px;border-radius:16px;margin-bottom:30px}.career-role-picker label{display:grid;gap:12px}.career-role-picker .button{margin-top:16px}.career-route-intro{margin:35px 0}.career-route-intro h3{font-size:1.1rem}.lexicon-return{display:block;min-height:44px;margin-bottom:20px}.reader-top{gap:12px}.reader-top>a{font-size:.85rem}.reader-top>span{font-size:.8rem;white-space:nowrap}
/* Developed chapters: tables, figures, comprehension questions and renewable exercises. */
.reader-table{margin:28px 0}.reader-table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.reader-table table{width:100%;min-width:420px;border-collapse:collapse;font-size:.95rem}.reader-table caption{caption-side:top;text-align:left;padding:14px 16px 8px;font-weight:650;color:var(--ink)}.reader-table th,.reader-table td{padding:10px 14px;border-top:1px solid var(--line);vertical-align:top;text-align:left;line-height:1.5;overflow-wrap:normal;min-width:7ch}.reader-table thead th{border-top:0;color:var(--muted);font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.reader-table tbody th{font-weight:500;color:var(--ink)}.reader-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.reader-table .row-total th,.reader-table .row-total td{font-weight:700;border-top:2px solid var(--muted);background:var(--raised)}.reader-table .row-sub th,.reader-table .row-sub td{font-weight:600;color:var(--muted)}.reader-table figcaption,.reader-figure figcaption{font-size:.875rem;color:var(--muted);margin-top:10px;line-height:1.6}
.reader-figure{margin:30px 0}.reader-figure svg{display:block;width:100%;height:auto;max-width:680px;margin:auto;font-family:inherit}.reader-figure .fig-narrow{display:none}.reader-figure .fig-narrow svg{max-width:360px}.reader-figure text{fill:var(--ink)}.reader-figure .fig-label{fill:var(--muted)}.reader-figure .fig-value{fill:var(--ink);font-weight:600}.reader-figure .fig-axis{stroke:var(--muted);stroke-width:1.2}.reader-figure .fig-pos{fill:var(--accent)}.reader-figure .fig-neg{fill:#e08a8a}.reader-figure .fig-total{fill:var(--muted)}.reader-figure .fig-zero{fill:var(--surface);stroke:var(--muted);stroke-width:1.5}.reader-figure .fig-pos-line{stroke:var(--accent);stroke-width:2}.reader-figure .fig-neg-line{stroke:#e08a8a;stroke-width:2}.reader-figure .fig-zero-line{stroke:var(--muted);stroke-width:1.5;stroke-dasharray:3 3}.reader-figure .fig-box{fill:var(--raised);stroke:var(--line);stroke-width:1.5}.reader-figure .fig-box-label{fill:var(--ink);font-weight:600}.reader-figure .fig-arrow{stroke:var(--muted);stroke-width:1.5}.reader-figure .fig-arrow-head{fill:var(--muted)}.reader-figure .fig-series-0{fill:var(--accent)}.reader-figure .fig-series-1{fill:#e0b36a}.reader-figure .fig-series-2{fill:var(--success)}
.reader-callout{border-left:3px solid var(--accent);background:var(--raised);border-radius:0 14px 14px 0;padding:16px 20px;margin:28px 0}.reader-callout strong{display:block;margin-bottom:6px}.reader-callout p{margin:0}
.reading-example{margin:30px 0}.reading-example h3{margin-top:0}
.reader-questions{margin:38px 0}.reader-questions h2{font-size:1.38rem;margin:0 0 8px}.reader-question{border-bottom:1px solid var(--line);padding:6px 0}.reader-question summary{padding:12px 0;font-weight:600;line-height:1.6;cursor:pointer;list-style:none;display:flex;gap:12px}.reader-question summary::before{content:"+";color:var(--accent);font-weight:700;flex-shrink:0;width:16px}.reader-question[open] summary::before{content:"−"}.reader-question p{color:var(--muted);margin:0 0 16px 28px}
.reader-exercise{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:22px;margin:26px 0}.reader-exercise h2{font-size:1.2rem;margin:0 0 6px}.reader-exercise .exercise-index{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.reader-exercise form{display:grid;gap:12px;margin-top:16px}.reader-exercise input{width:100%;padding:14px 16px;font-size:1.2rem}.reader-exercise .exercise-actions{display:flex;flex-wrap:wrap;gap:10px}.reader-exercise .exercise-actions .button{flex:1;min-width:160px}.reader-exercise .studio-feedback{margin-top:16px}.reader-exercise.done{border-color:var(--success)}.exercise-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;color:var(--muted);margin:0 0 8px}
@media(max-width:800px){.reader-table table{font-size:.875rem}.reader-table th,.reader-table td{padding:8px 10px}}
.reader-flow .flow-list{list-style:none;display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:0;margin:0;padding:0}
.reader-flow .flow-node{flex:1 1 130px;max-width:190px;display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 12px;border-radius:12px;background:var(--raised);border:1px solid var(--line);color:var(--ink);font-weight:600;font-size:.9rem;line-height:1.35}
.reader-flow .flow-arrow{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0 8px;color:var(--muted);font-size:.75rem;text-align:center}
.reader-flow .flow-arrow::after{content:"→";font-size:1.1rem;line-height:1}
.reader-flow .flow-arrow span{max-width:9ch;overflow-wrap:break-word}
@media(max-width:640px){
 .reader-figure .fig-wide{display:none}
 .reader-figure .fig-narrow{display:block}
 .reader-flow .flow-list{flex-direction:column;align-items:stretch}
 .reader-flow .flow-node{max-width:none;flex:0 0 auto}
 .reader-flow .flow-arrow{flex-direction:row;gap:8px;padding:6px 0}
 .reader-flow .flow-arrow::after{content:"↓"}
}
