/* Each subject keeps its score, rank and next actions in one reading sequence. */
.student-chapters{--chapter-ink:#193d30;--chapter-muted:#50665a;--chapter-line:#dce6df;min-width:0;color:var(--chapter-ink);padding:clamp(40px,7vw,88px) 0 0;overflow-wrap:anywhere}
.student-chapters-intro{margin:0 0 clamp(40px,7vw,86px);max-width:720px}
.student-chapters-intro h2{font-size:clamp(36px,4.5vw,60px);font-weight:650;line-height:1.15;letter-spacing:-.055em;margin:0;color:rgb(25 61 48 / 86%)}
.student-chapters-intro p{font-size:18px;line-height:1.7;color:var(--chapter-muted);margin:20px 0 0}
.student-chapter{min-width:0;margin:0 0 clamp(68px,10vw,136px);padding:0;border:0;background:transparent;box-shadow:none}
.student-chapter:last-child{margin-bottom:0}
.student-chapter-heading{display:flex;align-items:baseline;gap:18px;margin:0 0 26px;min-width:0}
.student-chapter-heading>span{color:var(--chapter-muted);font-size:11px;font-weight:600;letter-spacing:.06em;flex:none}
.student-chapter-heading h3{font-size:clamp(23px,2.4vw,30px);font-weight:600;line-height:1.35;letter-spacing:-.035em;margin:0}
.student-chapter-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.88fr);gap:clamp(28px,6vw,84px);align-items:center;padding:clamp(30px,5vw,62px) clamp(26px,5.5vw,68px);border-radius:28px;min-height:300px;min-width:0;isolation:isolate}
.student-chapter-score{background:linear-gradient(130deg,#e2edde,#edf3e9);margin-bottom:16px}
.student-chapter-rank{background:#fff;border:1px solid #e4eae4;margin-bottom:34px}
.student-chapter-metric,.student-chapter-context{min-width:0}
.student-chapter-metric h4,.student-chapter-guidance h4,.student-chapter-review h4{font-size:15px;font-weight:600;line-height:1.5;letter-spacing:.01em;margin:0 0 17px}
.student-chapter .student-chapter-number{font-size:clamp(66px,7.2vw,102px);font-weight:600;line-height:1.05;letter-spacing:-.075em;font-variant-numeric:tabular-nums;color:rgb(25 61 48 / 80%);margin:0;overflow-wrap:normal}
.student-chapter-number>span{font-size:15px;letter-spacing:0;font-weight:500;margin-left:12px;color:var(--chapter-muted)}
.student-chapter-denominator{font-size:13px;line-height:1.6;color:var(--chapter-muted);margin:20px 0 0}
.student-chapter-context{align-self:end;padding-bottom:3px}
.student-chapter-change{font-size:clamp(20px,2.3vw,30px);line-height:1.4;letter-spacing:-.035em;font-weight:600;margin:0;color:rgb(25 61 48 / 86%);text-wrap:balance}
.student-chapter-exam{font-size:13px;line-height:1.6;color:var(--chapter-muted);margin:16px 0 0}
.student-chapter-link{display:inline-flex;align-items:center;gap:12px;max-width:100%;min-height:44px;margin:20px 0 0;padding:7px 0;background:transparent;border:0;border-radius:4px;box-shadow:none;color:#255e45;font:inherit;font-size:13px;font-weight:500;line-height:1.6;text-align:left;cursor:pointer;transition:color 180ms ease}
.student-chapter-link>span{font-size:19px;transition:transform 220ms cubic-bezier(.22,1,.36,1)}
.student-chapter-link:focus-visible{outline:3px solid #32795a;outline-offset:6px}
.student-chapter-guidance{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,6vw,82px);padding:20px clamp(12px,3vw,38px) 10px;min-width:0}
.student-chapter-analysis,.student-chapter-actions{min-width:0}
.student-chapter-guidance h4{margin-bottom:20px;color:var(--chapter-muted)}
.student-chapter-guidance p{font-size:15px;line-height:1.85;margin:0;color:var(--chapter-muted)}
.student-chapter-guidance .student-chapter-analysis-title{font-size:clamp(21px,2.2vw,29px);line-height:1.45;font-weight:600;letter-spacing:-.035em;margin:0 0 18px;color:var(--chapter-ink)}
.student-chapter-actions ol{list-style:none;padding:0;margin:0;display:grid;gap:20px;counter-reset:chapter-action}
.student-chapter-actions li{position:relative;min-width:0;padding-left:32px;counter-increment:chapter-action}
.student-chapter-actions li::before{content:counter(chapter-action,decimal-leading-zero);position:absolute;left:0;top:2px;color:#6a8472;font-size:11px;line-height:1.8}
.student-chapter-actions li>span{display:block;font-size:11px;line-height:1.6;color:#607869;margin:0 0 5px}
.student-chapter-actions .student-chapter-link{margin-top:18px}
.student-chapter-review{margin:40px clamp(12px,3vw,38px) 0;padding:28px 0 0;border-top:1px solid var(--chapter-line);min-width:0}
.student-chapter-review header{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;margin-bottom:22px}
.student-chapter-review header h4{margin:0}
.student-chapter-review header p{font-size:12px;line-height:1.6;color:var(--chapter-muted);margin:0}
.student-chapter-review dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 40px;margin:0}
.student-chapter-review dl>div{min-width:0}
.student-chapter-review dt{font-size:12px;line-height:1.6;color:var(--chapter-muted);margin:0 0 8px}
.student-chapter-review dd{font-size:15px;line-height:1.85;white-space:pre-line;margin:0;color:var(--chapter-ink)}
.student-chapters-empty{border-radius:24px;padding:38px;background:#fff;color:var(--chapter-muted)}
.student-chapters-empty h3{font-size:22px;color:var(--chapter-ink);margin:0 0 14px}.student-chapters-empty p{margin:0;font-size:14px}
@media(hover:hover) and (pointer:fine){.student-chapter-link:hover{color:#102f23}.student-chapter-link:hover>span{transform:translate(2px,-2px)}}
@media(max-width:800px){.student-chapter-stage{min-height:270px;padding:34px;gap:28px}.student-chapter-guidance{gap:30px;padding-left:12px;padding-right:12px}.student-chapter-review{margin-left:12px;margin-right:12px}.student-chapter-change{font-size:23px}}
@media(max-width:580px){.student-chapters{padding-top:36px}.student-chapters-intro{margin-bottom:44px}.student-chapters-intro p{font-size:16px;margin-top:16px}.student-chapter{margin-bottom:72px}.student-chapter-heading{gap:12px;margin-bottom:20px}.student-chapter-heading h3{font-size:24px}.student-chapter-stage{grid-template-columns:minmax(0,1fr);gap:28px;padding:30px 26px;border-radius:24px;min-height:0}.student-chapter-score{margin-bottom:12px}.student-chapter-rank{margin-bottom:24px}.student-chapter-metric h4{margin-bottom:14px}.student-chapter .student-chapter-number{font-size:clamp(60px,18vw,86px)}.student-chapter-denominator{margin-top:14px}.student-chapter-change{font-size:22px}.student-chapter-exam{margin-top:10px}.student-chapter-link{margin-top:12px}.student-chapter-guidance{grid-template-columns:minmax(0,1fr);gap:36px;padding:16px 8px 0}.student-chapter-guidance h4{margin-bottom:14px}.student-chapter-review{margin:34px 8px 0;padding-top:24px}.student-chapter-review dl{grid-template-columns:minmax(0,1fr);gap:22px}.student-chapter-review header{display:block}.student-chapter-review header p{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.student-chapter-link,.student-chapter-link>span{transition:none}.student-chapter-link:hover>span{transform:none}}
@media(forced-colors:active){.student-chapters{--chapter-ink:CanvasText;--chapter-muted:CanvasText;--chapter-line:CanvasText}.student-chapter-stage{border:1px solid CanvasText}.student-chapters-intro h2,.student-chapter .student-chapter-number,.student-chapter-change,.student-chapter-link{color:CanvasText}.student-chapter-link:focus-visible{outline-color:Highlight}}
@media print{.student-chapters{padding:24px 0}.student-chapter{margin-bottom:32px;break-inside:avoid}.student-chapter-stage{min-height:0;padding:20px;background:white;border:1px solid #ccc;grid-template-columns:1fr 1fr}.student-chapter .student-chapter-number{font-size:48pt;color:#222}.student-chapter-guidance{gap:24px}.student-chapter-link{display:none}}
