/* One selected grade, one next step, a concise subject overview. */
body[data-screen=dashboard] .account-heading{margin-block:8px 20px}
body[data-screen=dashboard] .account-heading h1{font-size:clamp(1.65rem,4vw,2.2rem);margin-bottom:4px}
body[data-screen=dashboard] .account-heading p{margin:4px 0;color:var(--muted)}
.study-heading{grid-template-columns:minmax(0,1fr) minmax(170px,230px);align-items:center}
.study-heading h2{font-size:1.45rem;margin:0}.study-grade-label{font-size:.85rem;margin:0}
#study-grade-help{font-size:.82rem;max-width:760px;margin:12px 0 0}
#study-selection-status:empty{display:none}#study-selection-status{font-size:.82rem;color:#17633c;margin:6px 0}
.study-next{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;margin-block:22px 16px;background:linear-gradient(115deg,#edf3ff,#f6f8ff);padding:24px}
.study-next .study-last{grid-column:1/-1;margin:0;padding-bottom:12px;border-bottom:1px solid #d4dff6;font-size:.8rem;color:#40547b}
.study-next h3{font-size:1.2rem;line-height:1.5;margin:0}.study-next p.study-position{margin-inline-start:0;font-size:.82rem}
.study-next .button-link{margin:0;min-width:140px}.study-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 26px;gap:12px}
.study-metric{min-width:0;overflow-wrap:anywhere;padding:15px 18px;background:#f8faff}.study-metric strong{font-size:1.45rem;overflow-wrap:anywhere}.study-metric span{font-size:.8rem}
.study-subject-title{font-size:1.15rem;margin-bottom:16px}.study-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.study-panel .study-book{margin:0;padding:22px;min-width:0;box-shadow:0 2px 8px #183a7905}.study-book-head{gap:12px}
.study-book-head h4{font-size:1.05rem;margin:0}.study-percent{font-size:.78rem;color:#3454a1;font-weight:600;flex-shrink:0}
.study-book progress{margin:16px 0 10px;width:100%;height:9px;accent-color:#245be8}
.study-subject-stats{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:.78rem;color:var(--muted);margin:0 0 16px}
.study-subject-next{border-top:1px solid #e2e8f6;padding-top:14px}.study-subject-next p{font-size:.85rem;line-height:1.6;margin:0 0 6px}.study-subject-next .button-link{margin:10px 0 0;min-height:44px;padding:10px 16px;font-size:.84rem}
.study-catalog{border-top:1px solid #e2e8f6;padding-top:6px;margin-top:18px}.study-catalog>summary{font-size:.8rem;min-height:44px;align-content:center;color:#174cc8}
.study-unit summary{font-size:.82rem}.study-lesson{flex-wrap:wrap;gap:10px}.study-lesson-copy{width:100%}.study-lesson-copy p{font-size:.84rem;margin:0 0 8px}.study-lessons .study-lesson-action{font-size:.8rem;min-width:0}
.study-help{border-top:1px solid #e2e8f6;padding-top:12px;margin-top:24px}.study-help>summary{font-size:.83rem;min-height:44px;align-content:center;color:var(--muted)}.study-help>button{font-size:.8rem}.study-help>a{display:inline-block;font-size:.83rem;margin-inline-start:8px}
.study-sync-notice{display:flex;align-items:center;gap:16px;border:1px solid #dce3f5;border-radius:12px;padding:14px 16px;margin-top:16px;font-size:.8rem;color:var(--muted)}.study-sync-notice button{flex-shrink:0;margin:0;font-size:.8rem;padding:10px 14px}
.dashboard-settings{margin-top:26px}.dashboard-settings>summary{min-height:48px;align-content:center;font-size:.95rem;color:#174cc8;margin-bottom:16px}
@media(max-width:700px){.account-site-header .header-inner>nav{min-width:0;flex-wrap:wrap}}
@media(max-width:700px){.study-heading{grid-template-columns:1fr;gap:14px}.study-grade-label{max-width:none}.study-subject-grid{grid-template-columns:1fr}.study-next{grid-template-columns:1fr;padding:18px}.study-next .button-link{justify-self:start;min-width:150px}.study-metric{padding:12px 8px}.study-metric strong{font-size:1.1rem}.study-metric span{font-size:.72rem}.study-sync-notice{align-items:start;flex-direction:column;gap:12px}.study-panel .study-book{padding:18px}.study-percent{flex-shrink:1;text-align:end}.study-heading select{min-height:48px}}
