/* A quiet digital landscape. Decoration has no hit targets or data meaning. */
:root{
 --scene-paper:#f6f8f4;--scene-sage:#e5f1ec;--scene-sand:#f3eee8;
 --scene-background:var(--scene-paper);--scene-grid:#517d7610;
 --scene-orbit:#548e8b29;--scene-node:#4c9d9080;
 --scene-orbit-position:calc(100% + 200px) -230px;
 --scene-glow-opacity:.8;
}
:root[data-scroll-scene="sage"]{
 --scene-background:var(--scene-sage);--scene-grid:#3b817912;
 --scene-orbit:#398d8330;--scene-node:#388e848c;
 --scene-orbit-position:calc(100% + 130px) 32vh;--scene-glow-opacity:1;
}
:root[data-scroll-scene="sand"]{
 --scene-background:var(--scene-sand);--scene-grid:#80719410;
 --scene-orbit:#8b79a32b;--scene-node:#9380ab80;
 --scene-orbit-position:calc(100% + 60px) -70px;--scene-glow-opacity:.64;
}
body{isolation:isolate;background:var(--scene-background);transition:background-color .9s cubic-bezier(.22,.61,.36,1)}
body::before,body::after{content:"";position:fixed;inset:0;pointer-events:none}
body::before{
 z-index:-2;
 background:
  radial-gradient(ellipse at 92% 8%,#c8d5f180,transparent 48%),
  radial-gradient(ellipse at 8% 63%,#b8e4d876,transparent 48%),
  radial-gradient(ellipse at 78% 100%,#e5dcf373,transparent 45%),
  linear-gradient(var(--scene-grid) 1px,transparent 1px),
  linear-gradient(90deg,var(--scene-grid) 1px,transparent 1px);
 background-size:auto,auto,auto,64px 64px,64px 64px;
 opacity:var(--scene-glow-opacity);transition:opacity .9s ease;
}
body::after{
 z-index:-1;
 background-image:
  radial-gradient(circle at 69% 15%,var(--scene-node) 0 3px,transparent 4px),
  radial-gradient(circle at 16% 65%,var(--scene-node) 0 2px,transparent 3px),
  radial-gradient(circle at 87% 63%,var(--scene-node) 0 3px,transparent 4px),
  radial-gradient(circle at center,transparent 0 31%,var(--scene-orbit) 31.1% 31.25%,transparent 31.4% 43%,var(--scene-orbit) 43.1% 43.25%,transparent 43.4% 55%,var(--scene-orbit) 55.1% 55.25%,transparent 55.4%);
 background-size:780px 780px;background-position:var(--scene-orbit-position);background-repeat:no-repeat;
 transition:background-position 1.4s cubic-bezier(.22,.61,.36,1);
}
.workspace,.welcome-page,.learning-journey{background:transparent}
.workspace .topbar{background:#fffffce8}
.workspace .main{padding-bottom:64px}
.student-results-content{background:transparent}
.growth-section,.group-overview{background:#fffffce8;border-color:#b7cfc659;box-shadow:0 8px 32px #365d4910}
.student-results{background:#fffffcd9}
.teacher-note{margin-top:40px}
.teaching-level{padding-top:16px;margin-top:18px}
.teaching-level:first-child{padding-top:0;margin-top:0}
[data-scroll-scene]{scroll-margin-top:110px}
.welcome-page .login-shell{background:transparent}
.welcome-page .login-main{background:linear-gradient(125deg,#fffffc9e,#fffffc45)}
.welcome-page .login-aside{
 background:linear-gradient(145deg,#e4f0e8ed,#e7f2eb80 60%,#deebee55);
 border-right:1px solid #648c7b24;isolation:isolate;
}
.welcome-page .login-aside::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background-image:radial-gradient(#679b8647 .8px,transparent 1px);
 background-size:22px 22px;mask-image:linear-gradient(120deg,transparent 12%,#000 100%);
}
.welcome-page .login-aside::after{
 content:"";position:absolute;z-index:-1;pointer-events:none;
 width:430px;height:430px;top:-200px;right:-170px;border:1px solid #7eaeb34a;border-radius:50%;
 background:radial-gradient(circle at center,#d9f3e68f,transparent 65%);
 box-shadow:0 0 0 48px #82b8b10d,0 0 0 49px #80aeba30,0 0 0 105px #82b8b106,0 0 0 106px #80aeba26;
 animation:scene-arrive 1.8s ease-out both;
}
.login-journey span,.login-journey b{background:#e9f2e9}
.welcome-page .login-paper{background:linear-gradient(135deg,#fffffc,#f3faf5);border-color:#b3ccba8c;box-shadow:-10px 10px 0 #cbdfe330,0 12px 34px #315b4812}
.journey-scroll-hint{display:flex;align-items:center;justify-content:center;gap:20px;padding:23px 20px;color:#50694e;font-size:.8125rem;text-decoration:none;border-bottom:1px solid #73876e24;min-height:66px}
.journey-scroll-hint span{font-size:1.25rem}
.journey-scroll-hint:hover{color:#294c3c;background:#ffffff38}
.journey-nav{position:sticky;top:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px max(5vw,24px);min-height:64px;background:#fffffced;border-bottom:1px solid #70826e26}
.journey-nav a{text-decoration:none}
.journey-brand{font-weight:650;letter-spacing:.05em;color:#283c31}
.journey-brand span{font-weight:400;letter-spacing:0;color:#657066;margin-left:8px;font-size:.75rem}
.journey-signin{font-size:.8125rem;display:inline-flex;gap:8px;align-items:center}
.journey-signin .icon{width:15px;height:15px}
.journey-chapter{max-width:1240px;min-height:85vh;min-height:85svh;margin:0 auto;padding:110px 60px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.chapter-eyebrow{display:block;font-size:.75rem;font-weight:600;letter-spacing:.13em;color:#536b51;margin-bottom:26px}
.journey-copy h2{font-size:clamp(2.5rem,4vw,4.4rem);line-height:1.23;font-weight:650;letter-spacing:-.04em;color:#293e30}
.journey-copy h2 em{font-style:normal;color:#547b5f}
.journey-copy>p{font-size:1rem;line-height:1.95;color:#546255;margin-top:28px}
.chapter-footnote{display:block;color:#657066;font-size:.75rem;line-height:1.9;margin-top:22px;max-width:360px}
.journey-visual{position:relative;min-width:0;padding:24px 0;isolation:isolate}
/* Keep the rotated decorative orbit inside its illustration column. */
.growth-visual{overflow-x:clip;overflow-clip-margin:24px}
.journey-visual::before{
 content:"";position:absolute;inset:-45px -20px;z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse,#addbd13b,transparent 66%);
}
.journey-note,.insight-sheet{position:relative;z-index:1;border:1px solid #ffffffd9;background:#fffffced;border-radius:24px;padding:36px;box-shadow:0 24px 70px #2b4b3410}
.journey-note{transform:rotate(-3deg)}
.journey-note-label{color:#697766;font-size:.75rem;letter-spacing:.05em}
.journey-note h3,.insight-sheet h3{font-size:1.5rem;line-height:1.6;color:#314c39;margin:22px 0 28px;font-weight:500}
.journey-observations{list-style:none;padding:0;margin:0}
.journey-observations li{display:flex;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid #e4e9df;font-size:.9375rem;color:#475c48}
.journey-observations li span{font-size:.75rem;color:#708369;font-variant-numeric:tabular-nums}
.journey-note-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.75rem;color:#657066;margin-top:26px}
.journey-note-footer .icon{width:24px;height:24px;color:#5b7a51}
.journey-orbit{position:absolute;border:1px solid #7ba8a280;border-radius:50%;width:100%;height:72%;top:15%;left:0;transform:rotate(22deg);pointer-events:none;transition:transform 1s ease}
.journey-orbit::before,.journey-orbit::after{content:"";position:absolute;width:7px;height:7px;border:2px solid #f4faf4;border-radius:50%;background:#64a493;box-shadow:0 0 0 5px #79b3a41a}
.journey-orbit::before{top:13%;right:13%}.journey-orbit::after{bottom:13%;left:13%;background:#909db9}
.journey-visual:hover .journey-orbit{transform:rotate(29deg)}
.insight-sheet{padding:36px;border-color:#e1e7dd}
.insight-focus{padding:22px 24px;background:#edf2e8;border-radius:13px;margin-top:12px;color:#395b42;font-size:1rem;font-weight:600}
.insight-focus span{display:block;font-size:.8125rem;color:#657066;font-weight:400;margin-top:6px}
.insight-detail{margin-top:25px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:.75rem;color:#657066;flex-wrap:wrap}
.insight-detail>span{display:flex;align-items:center;gap:8px}
.insight-detail .icon{width:15px;height:15px}
.journey-action-list{list-style:none;padding:0;margin:0;display:grid;gap:0}
.journey-action-list li{display:flex;gap:24px;padding:32px 0;border-bottom:1px solid #a292792e}
.journey-action-list li:first-child{padding-top:0}
.journey-action-list li:last-child{border-bottom:0}
.action-step{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #ad9f863e;border-radius:50%;font-size:.75rem;color:#736b56;background:#fffffc80}
.journey-action-list h3{font-size:1.3rem;font-weight:500;margin:3px 0 9px;color:#3b483b}
.journey-action-list p{font-size:.875rem;line-height:1.85;color:#646856}
.journey-cta{margin-top:30px;display:inline-flex;align-items:center;gap:22px;padding:13px 22px;border-radius:30px;text-decoration:none;background:#376a52;color:white;font-size:.875rem;min-height:48px}
.journey-cta:hover{background:#2d5944}
.journey-footer{max-width:1120px;margin:auto;padding:32px 0 36px;border-top:1px solid #7f80632e;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;color:#616b5b;font-size:.75rem}
.journey-footer a{text-decoration:none}
#login-form{scroll-margin-top:145px}
@media(min-width:1000px){.welcome-page .login-shell{min-height:calc(100svh - 66px)}.welcome-page .login-aside{min-height:720px}}
@media(max-width:1050px){.journey-chapter{gap:45px;padding:85px 40px}.journey-note,.insight-sheet{padding:28px}.journey-footer{margin:0 40px}.journey-copy h2{font-size:3rem}}
@media(max-width:720px){
 .workspace .main{padding-bottom:40px}.teacher-note{margin-top:28px}
 [data-scroll-scene]{scroll-margin-top:125px}
 .journey-nav{padding:14px 22px;min-height:60px;gap:14px}.journey-brand span{display:none}.journey-signin{font-size:.75rem}
 .journey-scroll-hint{font-size:.75rem;padding:19px 20px;gap:13px;min-height:60px}
 .journey-chapter{grid-template-columns:minmax(0,1fr);gap:36px;padding:65px 28px 76px;min-height:0}
 .chapter-eyebrow{margin-bottom:20px}.journey-copy h2{font-size:2.7rem;line-height:1.25}.journey-copy>p{font-size:.9375rem;margin-top:23px}.chapter-footnote{margin-top:17px}
 .journey-visual{padding:10px 0}.journey-note,.insight-sheet{padding:26px;border-radius:19px}.journey-note{transform:rotate(-2deg);margin:0 5px}
 .journey-note h3,.insight-sheet h3{font-size:1.3rem;margin:19px 0 18px}.journey-observations li{font-size:.875rem;padding:16px 0;gap:15px}.journey-note-footer{line-height:1.8}
 .journey-orbit{display:none}.insight-focus{padding:20px;font-size:.9375rem}.insight-detail{gap:12px}.journey-action-list li{gap:20px;padding:26px 0}.journey-action-list h3{font-size:1.15rem}.journey-cta{margin-top:26px}
 .journey-footer{margin:0 28px;padding:26px 0;gap:12px}.journey-footer>span{width:100%}.journey-footer a{min-height:32px;display:inline-flex;align-items:center}
}
@media(max-width:380px){.journey-chapter{padding-left:23px;padding-right:23px}.journey-copy h2{font-size:2.35rem}.journey-copy>p br{display:none}.journey-note,.insight-sheet{padding:23px}}
@keyframes scene-arrive{from{opacity:0;transform:translate(16px,-12px) scale(.92)}to{opacity:1;transform:none}}
@media(max-width:720px){
 body::before{background-size:auto,auto,auto,48px 48px,48px 48px;opacity:.55}
 body::after{background-size:480px 480px;opacity:.65;transition:none}
 .welcome-page .login-aside{border-right:0;border-bottom:1px solid #648c7b24}
 .welcome-page .login-aside::after{width:280px;height:280px;top:-190px;right:-140px;animation:none}
 .journey-visual::before{inset:-25px 0}
}
@media(prefers-reduced-motion:reduce){
 body,body::before,body::after,.journey-orbit{transition:none}
 .welcome-page .login-aside::after{animation:none}
 .journey-note,.journey-visual:hover .journey-orbit{transform:none}
}
@media print,(forced-colors:active){
 body::before,body::after,.welcome-page .login-aside::before,.welcome-page .login-aside::after,.journey-visual::before,.journey-orbit{display:none}
}
@media print{body{background:white;transition:none}.growth-section,.group-overview,.student-results{background:white;box-shadow:none}}

/* Subject reading: a stable page flow with staged, one-time unfolding. */
.subject-reading{margin-top:36px}
.subject-reading-heading{align-items:flex-end;gap:22px;margin-bottom:25px}
.subject-reading-eyebrow{display:block;font-size:.75rem;letter-spacing:.08em;color:#657066;margin-bottom:8px}
.subject-reading-heading h2{font-size:1.3rem;line-height:1.5}
.subject-reading-heading p{font-size:.8125rem;line-height:1.8;margin-top:8px;color:#657066}
.subject-reading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex-shrink:0}
.subject-reading-actions [hidden]{display:none!important}
.subject-reading-actions [data-reveal-all]:disabled{opacity:1;color:#657066;background:transparent;border-color:transparent;cursor:default;box-shadow:none}
.subject-progress-grid.subject-reading-grid{grid-template-columns:minmax(0,1fr);gap:32px}
.subject-reading .subject-chapter{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.6fr);gap:36px;padding:32px;border-radius:20px;background:#fffffcf0;box-shadow:0 8px 28px #314a3606;overflow:visible}
.subject-score-block{align-self:start;min-width:0;padding:4px 0}
.subject-chapter-number{display:block;font-size:.75rem;letter-spacing:.1em;color:#657066;margin-bottom:24px;font-variant-numeric:tabular-nums}
.subject-chapter .subject-brief-header{display:flex;flex-direction:column;align-items:flex-start;gap:24px;margin:0}
.subject-chapter .subject-name{gap:12px}.subject-chapter .subject-name h3{font-size:1.5rem;font-weight:600;line-height:1.45}
.subject-chapter .subject-letter{width:34px;height:34px;font-size:.875rem;border-radius:10px}
.subject-chapter .score-pair{align-items:baseline;gap:8px}.subject-chapter .score-pair strong{font-size:3rem;line-height:1.15;font-weight:500;letter-spacing:-.05em;color:#355b42}.subject-chapter .score-pair>span{font-size:.875rem;color:#657066}
.subject-chapter .subject-metrics{margin:19px 0 0;padding:0;border:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:.8125rem}
.subject-reading-label{display:block;font-size:.75rem;line-height:1.9;color:#657066;margin-top:24px;max-width:180px}
.subject-guidance{min-width:0;border-left:1px solid #e3e9df;padding-left:32px}
.subject-chapter .subject-analysis{padding:0;margin:0;border:0;background:transparent}
.subject-chapter .analysis-kicker{gap:12px;flex-wrap:wrap;margin-bottom:14px;font-size:.75rem}
.subject-chapter .subject-analysis h4{font-size:1.2rem;line-height:1.65;color:#334d39;margin-bottom:12px}
.subject-chapter .subject-analysis p{font-size:.9375rem;line-height:1.95;color:#47544b}
.subject-chapter .subject-strategy{margin-top:26px;padding-top:22px;border-top:1px solid #e5eadf}
.subject-chapter .subject-strategy h4{margin:0 0 15px;font-size:.8125rem;font-weight:500;color:#607358}
.subject-chapter .strategy-preview{gap:12px}.subject-chapter .strategy-preview>li{font-size:.875rem;line-height:1.85;gap:15px}.subject-chapter .step-time{font-size:.75rem;min-width:64px;padding:3px 6px;text-align:center}
.subject-chapter .card-footer{margin-top:25px;padding-top:18px;gap:12px;align-items:center}
.subject-reading [data-reveal-stage]{opacity:1;transform:none;clip-path:none}
.subject-reading[data-reveal-ready="true"] [data-reveal-stage]{clip-path:inset(0 0 0 0);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.25,1),clip-path .65s cubic-bezier(.2,.7,.25,1)}
.subject-reading[data-reveal-ready="true"] [data-reveal-stage]:not([data-revealed="true"]){opacity:0;transform:translateY(22px);clip-path:inset(0 0 100% 0)}
.subject-reading [data-reveal-stage]:focus-within{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}
@media(max-width:1050px){.subject-reading .subject-chapter{gap:24px;padding:26px;grid-template-columns:minmax(160px,.7fr) minmax(0,1.6fr)}.subject-guidance{padding-left:24px}.subject-reading-heading{align-items:flex-start;flex-wrap:wrap}.subject-chapter .subject-analysis h4{font-size:1.1rem}}
@media(max-width:720px){
 .subject-reading{margin-top:28px}.subject-reading-heading{gap:15px;margin-bottom:20px}.subject-reading-heading h2{font-size:1.125rem}.subject-reading-heading p{font-size:.8125rem}.subject-reading-actions{gap:12px;width:100%;justify-content:space-between}.subject-reading-actions .btn{min-height:40px}
 .subject-progress-grid.subject-reading-grid{gap:25px}.subject-reading .subject-chapter{grid-template-columns:minmax(0,1fr);padding:23px 20px;gap:24px;border-radius:16px}
 .subject-score-block{padding:0}.subject-chapter-number{margin-bottom:16px}.subject-chapter .subject-brief-header{flex-direction:row;align-items:center;gap:12px}.subject-chapter .subject-name{gap:9px}.subject-chapter .subject-name h3{font-size:1.2rem}.subject-chapter .subject-letter{width:29px;height:29px;font-size:.8125rem}.subject-chapter .score-pair{gap:5px}.subject-chapter .score-pair strong{font-size:2.3rem}.subject-chapter .score-pair>span{font-size:.75rem}
 .subject-chapter .subject-metrics{flex-direction:row;gap:10px 18px;flex-wrap:wrap;margin-top:15px;font-size:.75rem}.subject-reading-label{display:none}.subject-guidance{border-left:0;border-top:1px solid #e3e9df;padding:24px 0 0}
 .subject-chapter .subject-analysis p{font-size:.875rem;line-height:1.9}.subject-chapter .subject-analysis h4{font-size:1.05rem}.subject-chapter .analysis-kicker{gap:6px 14px;margin-bottom:13px}.subject-chapter .subject-strategy{margin-top:24px;padding-top:20px}.subject-chapter .strategy-preview>li{gap:12px}.subject-chapter .step-time{min-width:58px}.subject-chapter .card-footer{margin-top:22px;padding-top:16px;flex-wrap:wrap}.subject-chapter .card-footer .mini-trend-button{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.subject-reading [data-reveal-stage]{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}}
@media print{.student-results-content{display:block!important}.subject-reading [data-reveal-stage]{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}.subject-reading-actions [data-reveal-all]{display:none!important}}
