/* Subject → paper → question. Progress describes completion, not mastery. */
.practice-journey{max-width:960px;margin:auto;width:100%;gap:22px}.journey-header h2{font-size:clamp(26px,5vw,36px);line-height:1.45;margin:10px 0}.journey-header p{color:var(--student-muted);line-height:1.7;margin:8px 0}.journey-header>.student-text{padding-left:0}.subject-journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.subject-journey-card{display:flex;align-items:center;gap:16px;text-align:left;padding:25px 20px;border:1px solid var(--student-line);border-radius:23px;background:var(--student-paper);color:var(--student-ink);min-width:0;transition:transform .18s,box-shadow .18s}.subject-journey-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #6058d812}.subject-journey-card>span:nth-child(2){flex:1;min-width:0}.subject-journey-card strong,.subject-journey-card small{display:block;overflow-wrap:anywhere}.subject-journey-card strong{font-size:20px}.subject-journey-card small{color:var(--student-muted);margin-top:7px;line-height:1.6}.subject-journey-icon{display:grid;place-items:center;width:50px;height:50px;flex-shrink:0;background:#7866dc16;color:var(--student-indigo);border-radius:16px}.journey-resume{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px;border:1px solid var(--student-line);border-radius:22px;background:linear-gradient(125deg,#8776ee18,#67dacd0c)}.journey-resume strong,.journey-resume span,.journey-resume small{display:block}.journey-resume strong{font-size:20px;margin:5px 0}.journey-resume small,.journey-resume span{color:var(--student-muted)}.paper-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.paper-journey-card{border:1px solid var(--student-line);background:var(--student-paper);color:var(--student-ink);border-radius:20px;padding:20px;text-align:left;min-width:0;display:flex;flex-direction:column;gap:15px}.paper-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.paper-card-title>strong{font-size:26px}.paper-card-title .student-small-pill{font-size:11px;white-space:nowrap}.paper-card-action{color:var(--student-indigo);font-size:13px;margin-top:auto}.paper-progress-copy{display:grid;gap:10px;line-height:1.6}.paper-progress-copy small{color:var(--student-muted);font-size:12px}.paper-progress-copy progress{width:100%;height:7px;accent-color:var(--student-indigo);border:0;border-radius:8px;overflow:hidden;background:var(--student-line)}.paper-progress-copy progress::-webkit-progress-bar{background:var(--student-line)}.paper-progress-copy progress::-webkit-progress-value{background:var(--student-indigo);border-radius:8px}.journey-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}.paper-question-grid,.exam-number-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin:20px 0}.paper-number,.exam-number-grid button{min-width:0;min-height:58px;border:1px solid var(--student-line);border-radius:12px;background:var(--student-paper);color:var(--student-ink);padding:8px 2px;display:grid;gap:2px;place-items:center}.paper-number small{font-size:14px}.paper-number.correct{background:#40bf9620;color:#247758}.paper-number.wrong{background:#ed9c5722;color:#975522}.paper-number.selected{outline:3px solid var(--student-indigo);outline-offset:1px}.paper-number:disabled{opacity:.4}.question-legend{font-size:13px;color:var(--student-muted);line-height:1.8}.question-status.correct{color:#247758}.question-status.wrong{color:#975522}.mode-picker{display:grid;gap:12px}.mode-picker p{line-height:1.7;color:var(--student-muted);margin:0 0 14px}.attempt-history{padding-top:20px;margin-top:20px;border-top:1px solid var(--student-line)}.attempt-history p{font-size:13px;line-height:1.8}.attempt-chart{max-height:300px;overflow:auto;display:grid;gap:12px;padding:5px}.attempt-chart-row{display:grid;grid-template-columns:40px minmax(0,1fr) 65px;gap:10px;align-items:center;font-size:13px}.attempt-chart-row small{display:block;line-height:1.6;color:var(--student-muted)}.attempt-chart-row progress{width:100%;height:8px;accent-color:#4bb68e}.attempt-chart-row.wrong progress{accent-color:#d3975e}.exam-clock{font-variant-numeric:tabular-nums;color:var(--student-indigo);font-size:20px;white-space:nowrap}.exam-number-grid button{min-height:42px}.exam-number-grid .answered{background:#6058d827}.exam-number-grid .active{outline:2px solid var(--student-indigo)}.exam-save-status{display:block;margin:12px 0;color:var(--student-muted)}.exam-flow .student-practice-option{color:var(--student-ink)}.student-practice-table{overflow-x:auto}.student-practice-table>div{min-width:0}.student-practice-table strong,.student-practice-table span{overflow-wrap:anywhere;line-height:1.8}
[data-theme=dark] .paper-number.correct,[data-theme=dark] .question-status.correct{color:#8ce9c0}[data-theme=dark] .paper-number.wrong,[data-theme=dark] .question-status.wrong{color:#f1bc88}
@media(max-width:600px){.subject-journey-grid{grid-template-columns:1fr}.subject-journey-card{padding:22px 18px}.paper-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-journey-card{padding:16px 13px}.paper-card-title>strong{font-size:23px}.paper-question-grid,.exam-number-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.journey-resume{padding:18px;flex-wrap:wrap}.journey-resume .student-primary{font-size:13px}.exam-clock{font-size:17px}.journey-actions>.student-primary{width:100%}.paper-summary{padding:19px!important}.practice-journey{gap:18px}}
@media(prefers-reduced-motion:reduce){.subject-journey-card{transition:none}.subject-journey-card:hover{transform:none}}

.journey-header>.student-kicker{display:block;margin-top:12px}

[data-theme=dark] .practice-journey,[data-theme=dark] .exam-flow,[data-theme=dark] .attempt-history{--student-indigo:#c1b5ff}[data-theme=dark] .exam-flow .student-text,[data-theme=dark] .practice-journey .student-text{color:#c1b5ff}

.journey-question-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--student-line);border-radius:20px;padding:18px;background:var(--student-paper)}.journey-question-counts>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.journey-question-counts strong{font-size:25px;color:var(--student-indigo)}.journey-question-counts small{color:var(--student-muted);line-height:1.6}.journey-question-counts .count-note{grid-column:1/-1;font-size:11px}.student-media{display:grid;min-width:0;width:100%;gap:7px;margin:12px 0}.student-media .student-practice-image{width:100%;height:auto;margin:0;background:#fff;border:1px solid var(--student-line);object-fit:contain}.student-media img[role=button]{cursor:zoom-in}.student-media [hidden]{display:none!important}.media-status,.media-retry{font-size:12px;color:var(--student-muted)}.media-retry{cursor:pointer;text-decoration:underline}.student-image-viewer{overflow:auto;max-height:75vh}.student-image-viewer img{display:block;width:auto;min-width:100%;max-width:none;height:auto;background:#fff}.question-flow .student-practice-option{display:grid;grid-template-columns:27px minmax(0,1fr) auto}.student-practice-option .student-media{grid-column:2/-1;margin:0}.student-practice-option .student-practice-image{max-height:260px}.student-practice-option .option-copy{min-width:0}.student-media img:focus-visible{outline:3px solid var(--student-indigo);outline-offset:3px}

.unit-practice-action {width:100%; margin: 0 0 16px; min-height:46px;}

.question-report-button{font-size:12px;min-height:36px;text-align:left;color:var(--muted);text-decoration:underline;text-underline-offset:3px;}
.student-question-report-row .student-question{width:100%;}
.question-report-form{display:grid;gap:14px;}
