/* Local visual layer only. The catalogue, adaptive rules and action handlers remain in app.js. */
:root{--bg:#f8f3eb;--paper:#fffdf9;--ink:#172d47;--muted:#72777b;--green:#b95535;--green-soft:#f8e9df;--line:#e8dfd3;--student:#f5f0e9;--student-line:#e8dbcc;--pract:#f9ede2;--pract-line:#ecd6c3;--grad-student:linear-gradient(130deg,#fffaf4,#f2eadd);--grad-pract:linear-gradient(130deg,#fffaf4,#f5e4d6);--grad-ink:linear-gradient(120deg,#172d47,#29445c);--serif-fallback:Inter,'Avenir Next',sans-serif;--shadow:0 12px 36px #503b2210}
body{font-family:Inter,'Avenir Next',sans-serif;background:radial-gradient(ellipse at 5% 12%,#eee1cc66,transparent 45%),var(--bg);font-size:14px;line-height:1.6}.shell{background:transparent}.wrap{max-width:1240px}.top.wrap{margin:22px auto 0;padding:16px 24px;max-width:1190px;width:calc(100% - 48px);border:1px solid #ffffffda;background:#fffdf9bd;backdrop-filter:blur(20px);border-radius:24px 24px 0 0;box-shadow:0 -4px 35px #51371705}.top .word{font-size:20px;letter-spacing:-.8px}.top .mark{width:38px;height:38px}.top-search input{background:#f1ece5;border:1px solid transparent}.tabbar{background:transparent;border:0;position:relative;top:auto}.tabbar-in.wrap{max-width:1190px;width:calc(100% - 48px);padding:0 24px;background:#fffdf9bd;border:1px solid #ffffffda;border-top:0;border-radius:0 0 24px 24px;box-shadow:0 16px 35px #51371707}.tab{padding:17px 10px;font-size:12px;color:#767d81}.tab.is-on{color:var(--ink);border-color:var(--green)}.lang-switch,.languages,.icon-button{box-shadow:none!important}.btn,.pill{border-radius:11px;box-shadow:none;transition:transform .18s,background .18s;min-height:43px}.btn.ink,.pill.ink{background:var(--ink);color:#fff;box-shadow:0 7px 15px #172d4718}.btn:hover,.pill:hover{transform:translateY(-1px)}h1,h2,h3{font-weight:600;letter-spacing:-.04em}h1{font-size:clamp(32px,3.5vw,47px);line-height:1.15}.hero h1{font-size:clamp(32px,3.5vw,47px)}.hero.wrap{padding-top:44px;padding-bottom:24px}.kicker,.catalog-eyebrow,.editorial-kicker{color:var(--green);font-size:10px;letter-spacing:.12em}.help,.lede{color:var(--muted);line-height:1.8}.dash-v2{width:min(1190px,calc(100% - 48px));padding-top:40px}.dash-welcome{margin-bottom:27px}.dash-welcome h1{font-size:clamp(32px,3.3vw,44px);font-weight:600}.dash-welcome h1 span{font-weight:400;color:#7c7d77}.home-reassessment .btn{border-radius:11px;background:#fffdf9;color:var(--ink);border:1px solid #d7b89c;box-shadow:none}.home-reassessment .btn span{background:#f4e9dd;color:var(--green)}.daily-training,.daily-training.student,.daily-training.pract{grid-template-columns:275px minmax(290px,1fr) minmax(255px,.85fr);background:linear-gradient(110deg,#fffaf5,#f5e9dc);border:1px solid #e6d3bd;border-radius:26px;box-shadow:0 18px 48px #73533209;min-height:318px}.training-character.scene{min-height:318px}.training-character.scene img,.daily-training.pract .training-character.scene img{transform:none;object-position:center;animation:none}.training-main{padding:30px}.training-main h2{font-size:31px;font-weight:600;color:var(--ink);line-height:1.15}.training-main>p{font-size:12px;line-height:1.8;margin-top:8px}.training-kicker{color:var(--green);letter-spacing:.09em;font-size:9px}.duration-choices{gap:8px}.duration-choices button{background:#fffdf9;border-color:#e5d9ca;min-height:62px;border-radius:11px}.duration-choices button b{font-size:12px}.duration-choices button.is-on{background:var(--ink);box-shadow:none;border-color:var(--ink)}.training-summary{background:#fffdf9c9;border:1px solid #fff;border-radius:20px;padding:23px;margin:17px}.training-summary h3{color:var(--ink);font-weight:600;font-size:20px}.home-explore{background:#fffdf9ab;border:1px solid #e9e1d6;padding:20px;border-radius:23px;opacity:1;margin-top:22px}.home-explore-head h2{color:var(--ink);font-size:16px}.home-explore-card{border-color:#ede4d9;background:#fffdf9;border-radius:13px}.home-explore-thumb,.home-explore-thumb svg{opacity:1;filter:none}.home-explore-card b{color:var(--ink)}.home-resume{border-radius:20px;background:#fffdf9;border-color:#e7dccc}.home-resume>strong{font-size:12px;border-color:#d3c3b1;border-radius:11px}.catalog-page,.insights-page,.reading-page{padding-top:40px}.catalog-heading{background:linear-gradient(110deg,#fffaf5,#f2e5d5);border:1px solid #e9dac8;border-radius:25px;padding:32px;margin-bottom:26px}.catalog-heading h1{font-size:clamp(30px,3vw,42px)}.catalog-guide{background:#fffdf9ac;border-color:#fff;border-radius:18px}.catalog-sidebar{background:#fffdf99c;border:1px solid var(--line);border-radius:20px;padding:20px}.catalog-subject,.catalog-case{border-radius:21px;border:1px solid #e7ddd1;background:var(--paper);box-shadow:0 6px 16px #48361e03}.catalog-subject:hover,.catalog-case:hover{border-color:#c9a98b;box-shadow:0 13px 30px #48361e09}.catalog-subject.has-progress{background:linear-gradient(130deg,#fffdf9,#f6eddf)}.catalog-case-art{background:linear-gradient(120deg,#f9f0e5,#eddcc6)}.catalog-session{border-radius:18px;background:#fffaf3;border-color:#e6d1ba}.catalog-subject h3,.catalog-case h3{font-weight:600}.catalog-section-heading h2{font-size:25px}.catalog-search input,.reading-search input{background:#fffdf9;border-color:#e2d7c8;border-radius:12px}.catalog-badge{background:#f4ece2}.goal-strip{border-color:var(--line);background:#fffdf9;border-radius:12px}.reading-heading h1,.insights-heading h1{font-size:clamp(32px,3.6vw,48px)}.reading-featured{background:linear-gradient(120deg,#fffaf4,#f1e6d8);border:1px solid #e8dac8;border-radius:24px}.reading-featured-copy{background:transparent;padding:35px}.reading-featured-art img{object-fit:cover}.reading-card,.insight-panel,.insights-stats article,.account-block,.form-card{border-radius:21px;background:var(--paper);border-color:var(--line);box-shadow:none}.reading-takeaway{background:#f6eee3;border-radius:12px}.reading-topic{background:#f2e5d6;color:#8a5037}.reading-tabs button.is-on,.reading-tabs a.is-on{border-color:var(--green)}.insights-stats article>div{background:linear-gradient(140deg,#faf4eb,#f1e7d8);border-radius:14px}.insight-next{background:linear-gradient(110deg,#fffaf4,#edddc8);border:1px solid #e5d4bd;border-radius:23px}.insight-ranges button[aria-pressed=true]{background:#a45d3f;color:white}.study-card{border:1px solid #e8d9c7;border-radius:24px;background:#fffdf9;box-shadow:0 14px 40px #51371708;padding:34px}.study-card h1{font-size:clamp(28px,3vw,42px);line-height:1.2}.study-prompt{line-height:1.8}.option,.quiz-option,.choice,.answer-option{border-radius:13px}.study-illustration,.tool-card,.answer,.answer-feedback{border-radius:18px}.study-stage textarea{background:#fff;border-color:#dac9b5;border-radius:12px}.account-block{padding:28px;margin-bottom:18px}.account-facts dd{font-weight:500}.form input,.form select,.form textarea{border-radius:11px;background:#fffdf9;border-color:#ddd2c4}.panel,.line,.upsell,.note{border-radius:14px}.site-footer{color:var(--muted)}
/* Real login form, local demo mode, same split design as the approved mockup. */
.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:1160px;padding:0;margin:35px auto 55px;overflow:hidden;border-radius:28px;border:1px solid var(--line);background:var(--paper)}.auth-art{position:relative;min-height:610px;overflow:hidden}.auth-art img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:12% center}.auth-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,#172d47c9)}.auth-art>div{position:absolute;left:36px;bottom:36px;right:25px;z-index:1;color:#fff}.auth-art h2{font-size:34px;line-height:1.2}.auth-art p{font-size:12px;line-height:1.8}.auth-copy{padding:50px 45px;align-self:center}.auth-copy h1{font-size:36px;line-height:1.15;margin:18px 0}.auth-copy .form{max-width:none}.auth-copy .btn{width:100%;margin-top:6px}.auth-copy .help{font-size:12px}.auth-copy .kicker{font-size:10px}
:root[data-theme=dark]{--bg:#141e29;--paper:#1b2937;--ink:#f2eadd;--muted:#b9b5ad;--line:#36424d;--green:#edac89;--student:#23303b;--pract:#302c2a;--student-line:#4b4942;--pract-line:#59493b;--grad-student:linear-gradient(130deg,#24313c,#292d30);--grad-pract:linear-gradient(130deg,#302c2a,#3b3029)}
[data-theme=dark] .top.wrap,[data-theme=dark] .tabbar-in.wrap,[data-theme=dark] .home-explore,[data-theme=dark] .training-summary,[data-theme=dark] .catalog-guide{background:#1b2937e6;border-color:#36424d}[data-theme=dark] .daily-training,[data-theme=dark] .daily-training.student,[data-theme=dark] .daily-training.pract,[data-theme=dark] .catalog-heading,[data-theme=dark] .catalog-case-art,[data-theme=dark] .reading-featured,[data-theme=dark] .insight-next,[data-theme=dark] .insights-stats article>div{background:linear-gradient(120deg,#22303c,#372f27);border-color:#59493b}[data-theme=dark] .duration-choices button,[data-theme=dark] .home-reassessment .btn,[data-theme=dark] .home-explore-card,[data-theme=dark] .catalog-sidebar,[data-theme=dark] .catalog-subject.has-progress,[data-theme=dark] .study-card,[data-theme=dark] .reading-takeaway{background:var(--paper);color:var(--ink);border-color:var(--line)}[data-theme=dark] .duration-choices button.is-on{background:#f0ddc6;color:#172d47}[data-theme=dark] .duration-choices button.is-on span{color:#394652}[data-theme=dark] .dash-welcome h1 span{color:var(--muted)}
@media(max-width:1100px){.daily-training,.daily-training.student,.daily-training.pract{grid-template-columns:220px 1fr}.training-summary{grid-column:1/-1}.catalog-heading{padding:26px}.training-main{padding:25px}}
@media(max-width:700px){body{font-size:13px}.top.wrap{width:calc(100% - 28px);padding:13px 16px;border-radius:20px 20px 0 0;margin-top:14px}.tabbar-in.wrap{width:calc(100% - 28px);padding:0 8px;border-radius:0 0 20px 20px}.tabbar{position:relative!important;bottom:auto!important}.tabbar .tab{font-size:10px;padding:12px 6px}.tabbar .tab svg{display:none}.has-tabbar{padding-bottom:0}.dash-v2{width:calc(100% - 28px);padding-top:28px}.dash-welcome{gap:20px}.dash-welcome h1{font-size:32px}.home-reassessment{align-items:flex-start}.daily-training,.daily-training.student,.daily-training.pract{display:block;border-radius:22px}.training-character.scene{min-height:245px;height:245px}.training-character.scene img{object-position:center 48%}.training-main{padding:26px 23px}.training-main h2{font-size:28px}.duration-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.duration-choices button{padding:8px 3px;min-width:0}.training-summary{margin:0 15px 15px}.home-explore{padding:18px 0 18px 18px}.catalog-heading{padding:24px 20px;border-radius:20px;gap:20px}.catalog-heading h1{font-size:31px}.catalog-guide{max-width:100%}.catalog-page,.insights-page,.reading-page{padding-top:28px}.catalog-subject,.catalog-case{border-radius:18px}.study-card{padding:23px 20px;border-radius:20px}.study-card h1{font-size:29px}.reading-featured-copy{padding:25px}.account-block{padding:22px}.auth-layout{margin:20px 14px 30px;grid-template-columns:1fr;width:calc(100% - 28px)}.auth-art{min-height:200px;height:200px}.auth-art img{object-position:12% 48%}.auth-art>div{left:25px;bottom:20px}.auth-art h2{font-size:25px}.auth-art p{display:none}.auth-copy{padding:30px 25px}.auth-copy h1{font-size:31px}.insights-heading h1,.reading-heading h1{font-size:33px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:700px){.tabbar .tab{min-width:0;overflow:visible;flex:1;white-space:normal;line-height:1.3;min-height:48px}.tabbar .tab span{overflow:visible;text-overflow:clip;white-space:normal}}
/* Typography aligned with the public preview: Inter 400 text, 500 titles, 600 emphasis. */
body{font-weight:400;-webkit-font-smoothing:antialiased}
h1,h2,h3,.hero h1,.dash-welcome h1,.training-main h2,.training-summary h3,.catalog-heading h1,.catalog-subject h3,.catalog-case h3,.catalog-section-heading h2,.reading-heading h1,.reading-featured h2,.reading-card h3,.insights-heading h1,.insight-panel h2,.insight-next h2,.account-block h2,.study-card h1,.auth-copy h1,.auth-art h2,.home-explore-head h2{font-weight:500}
.btn,.pill,.tab,.home-reassessment .btn,.home-explore-card b,.duration-choices button b,.catalog-guide b,.reading-tabs button,.reading-tabs a{font-weight:500}
strong,b{font-weight:600}.training-kicker,.kicker,.editorial-kicker,.catalog-eyebrow{font-weight:500}
body:not(.has-tabbar) .top.wrap{border-radius:24px}
[data-theme=dark] body{background:radial-gradient(ellipse at 5% 12%,#b77c3b0c,transparent 45%),var(--bg)}
[data-theme=dark] .btn.ink,[data-theme=dark] .pill.ink{background:#eadac5;color:#172d47;border-color:#eadac5}
[data-theme=dark] .reading-search input,[data-theme=dark] .catalog-search input,[data-theme=dark] .form input,[data-theme=dark] .form select,[data-theme=dark] .form textarea,[data-theme=dark] .study-stage textarea{background:var(--paper);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .tab{color:var(--muted)}[data-theme=dark] .tab.is-on{color:var(--ink)}
/* The frosted header creates a stacking context: keep its account menu above the tabs. */
.top.wrap{position:relative;z-index:30;overflow:visible}
