/* A distinct, welcoming home for progress. Scoped away from question screens. */
#dashboard-view {max-width:1060px;padding:26px 24px 38px;min-height:0}
.dashboard-board {--dashboard-surface:var(--paper);--dashboard-edge:var(--line);background:var(--dashboard-surface);border:1px solid var(--dashboard-edge);border-radius:30px;padding:28px;box-shadow:0 12px 36px #1609140a}
.dashboard-heading {display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px}
.dashboard-heading h1 {margin:0;font-family:inherit;font-size:32px;font-weight:750;line-height:1.25;letter-spacing:-.7px;color:var(--navy)}
.dashboard-heading p {margin:0;font-size:15px;color:var(--muted);line-height:1.5}
.dashboard-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:20px;align-items:stretch}
#dashboard-view .dashboard-content {max-width:none;min-width:0;margin:0;display:flex;flex-direction:column;gap:16px}
#dashboard-view .completion-card {position:relative;overflow:hidden;min-height:190px;padding:26px;gap:16px;border:0;border-radius:24px;background:#1b4948;color:#fff;box-shadow:0 5px 0 #133b39}
#dashboard-view .completion-card::before {content:"";position:absolute;inset-inline-end:-45px;top:-70px;width:220px;height:220px;border:36px solid #ffffff08;border-radius:50%;pointer-events:none}
#dashboard-view .completion-reading,#dashboard-view .readiness-widget {position:relative}
#dashboard-view .completion-reading>p {font-size:15px;color:#d4e5df;margin:0 0 10px;line-height:1.4}
#dashboard-view .progress-fraction {gap:8px;justify-content:flex-start;align-items:baseline;color:#fff;margin:0;line-height:1.15;white-space:nowrap}
#dashboard-view .progress-fraction strong {font-size:48px;font-weight:750;color:#fff;letter-spacing:-1px}
#dashboard-view .progress-fraction span {font-size:23px;color:#c4dad5}
#dashboard-view .completion-note {display:block;margin-top:12px;font-size:13px;line-height:1.5;color:#c4dad5}
#dashboard-view .readiness-widget,#dashboard-view .readiness-gauge {width:94px;height:94px}
#dashboard-view .readiness-track {stroke:#4e706b}
#dashboard-view .readiness-fill {stroke:#edbd7b;stroke-dashoffset:0}
#dashboard-view #completion-percent {font-size:22px;color:#fff;font-weight:700}
#dashboard-view .study-navigation {margin:0;display:block}
#dashboard-view #saved-practice {min-height:84px;padding:16px 18px;background:var(--paper);border:1px solid var(--line);border-radius:22px;color:var(--navy);box-shadow:0 3px 0 var(--line);text-align:start}
#dashboard-view #saved-practice>.icon:first-child {padding:0;background:transparent;width:28px;height:28px;color:var(--accent);flex-shrink:0}
#dashboard-view .study-label {font-size:18px;font-weight:650;min-width:0}
#dashboard-view .collection-count {margin:0;min-width:26px;padding:4px 7px;background:var(--accent-soft);color:var(--navy);font-size:14px;border-radius:10px}
#dashboard-view .dashboard-go {display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;margin-inline-start:auto;border-radius:16px;background:var(--button);color:var(--button-text);box-shadow:0 3px 0 var(--button-edge);transform:none;transition:transform .15s,background .15s}
#dashboard-view .dashboard-go svg {width:28px;height:28px;fill:currentColor;stroke:none;display:block;transform:none}
#dashboard-view .dashboard-insights {max-width:none;min-width:0;margin:0;padding:24px;background:var(--paper);border:1px solid var(--dashboard-edge);border-radius:24px}
#dashboard-view .dashboard-insights h2 {margin:0 0 6px;font-size:23px;font-weight:700;line-height:1.4;letter-spacing:-.3px}
#dashboard-view .dashboard-insights>p {font-size:14px;line-height:1.6;margin:0;color:var(--muted)}
#dashboard-view .insight-topics {margin-top:18px;gap:10px}
#dashboard-view .insight-topics .study-tab {display:flex;flex-direction:row;gap:14px;padding:10px 12px 13px 16px;min-height:72px;border:1px solid var(--dashboard-edge);border-radius:18px;background:var(--accent-soft);color:var(--navy);font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;text-align:start;box-shadow:none}
#dashboard-view .insight-topics .study-tab>span:first-child {flex:1;min-width:0}
#dashboard-view .topic-dashboard-entry {max-width:none;min-height:82px;margin:20px 0 0;padding:14px 18px;border:1px solid var(--dashboard-edge);border-radius:22px;background:var(--paper);color:var(--navy);font-family:inherit;font-size:18px;font-weight:650;gap:14px;box-shadow:none}
#dashboard-view .dashboard-topic-icon {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;background:var(--accent-soft);color:var(--accent);border-radius:13px}
#dashboard-view .dashboard-topic-icon .icon {width:24px;height:24px}
#dashboard-view .topic-dashboard-entry>.dashboard-go {transform:none}
#dashboard-view .dashboard-empty-action {display:flex;align-items:center;gap:16px;margin-top:22px;color:var(--navy);text-decoration:none;font-weight:650;font-size:16px}
#dashboard-view .study-tab:hover,#dashboard-view .dashboard-empty-action:hover {border-color:var(--accent)}
#dashboard-view :is(button,a):hover .dashboard-go {background:var(--button-light);transform:translateY(-2px)}
#dashboard-view :is(button,a):focus-visible {outline:3px solid var(--accent);outline-offset:4px}
html[dir=rtl] #dashboard-view .dashboard-go svg {transform:scaleX(-1)}
html[dir=rtl] #dashboard-view .dashboard-heading h1 {letter-spacing:0}
:root[data-theme=dark] .dashboard-board {--dashboard-surface:var(--paper);--dashboard-edge:var(--line)}
:root[data-theme=dark] #dashboard-view .dashboard-heading :is(h1,p) {color:var(--navy)}
:root[data-theme=dark] #dashboard-view .dashboard-insights,:root[data-theme=dark] #dashboard-view .topic-dashboard-entry {background:var(--paper);color:var(--navy)}
:root[data-theme=dark] #dashboard-view .dashboard-insights h2 {color:var(--navy)}
:root[data-theme=dark] #dashboard-view .dashboard-insights>p {color:var(--muted)}
:root[data-theme=dark] #dashboard-view .insight-topics .study-tab {background:var(--accent-soft);color:var(--navy)}
:root[data-theme=dark] #dashboard-view #saved-practice {background:var(--accent-soft);color:var(--navy);border-color:var(--line);box-shadow:0 3px 0 #2a241f}
:root[data-theme=dark] #dashboard-view .collection-count {background:var(--accent-soft);color:var(--navy)}
:root[data-theme=dark] #dashboard-view .dashboard-go {background:var(--button);color:var(--button-text);box-shadow:0 3px 0 var(--button-edge)}
:root[data-theme=dark] #dashboard-view .dashboard-topic-icon {background:var(--accent-soft);color:var(--navy)}
:root[data-theme=dark] #dashboard-view .dashboard-empty-action {color:var(--navy)}
@media(max-width:760px) {
 #dashboard-view {padding:20px 16px 28px}
 .dashboard-board {padding:20px;border-radius:26px}
 .dashboard-grid {grid-template-columns:minmax(0,1fr);gap:18px}
 .dashboard-heading {margin-bottom:20px;align-items:flex-start;flex-direction:column;gap:5px}
 .dashboard-heading h1 {font-size:29px}
 .dashboard-heading p {font-size:14px}
 #dashboard-view .completion-card {min-height:156px;padding:22px}
 #dashboard-view .dashboard-insights {padding:20px}
 #dashboard-view .dashboard-insights h2 {font-size:22px}
}
@media(max-width:380px) {
 .dashboard-board {padding:16px}
 #dashboard-view .completion-card {padding:18px;gap:10px}
 #dashboard-view .readiness-widget,#dashboard-view .readiness-gauge {width:76px;height:76px}
 #dashboard-view .progress-fraction strong {font-size:40px}
 #dashboard-view .progress-fraction span {font-size:20px}
 #dashboard-view .dashboard-go {width:44px;height:44px;flex-basis:44px;border-radius:14px}
 #dashboard-view #saved-practice {padding:14px 12px;gap:10px}
 #dashboard-view .topic-dashboard-entry {font-size:16px;padding:12px;gap:10px}
 #dashboard-view .dashboard-topic-icon {width:32px;height:32px;flex-basis:32px}
}
@media(prefers-reduced-motion:reduce) {#dashboard-view .dashboard-go {transition:none}}
html[lang=ar] .dashboard-board {font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif}
html[dir=rtl] #dashboard-view .progress-fraction {justify-content:flex-end}

#dashboard-view .completion-card {grid-template-columns:minmax(0,1fr) auto}
#dashboard-view .completion-reading {min-width:0}
#dashboard-view .insight-topics .study-tab>span:first-child,#dashboard-view .study-label,#dashboard-view .topic-dashboard-entry>span:nth-child(2) {white-space:normal;overflow-wrap:anywhere}
@media(max-width:380px) {
 #dashboard-view .progress-fraction strong {font-size:36px}
 #dashboard-view .progress-fraction span {font-size:18px}
 #dashboard-view .readiness-widget,#dashboard-view .readiness-gauge {width:72px;height:72px}
}
:root[data-theme=dark] #dashboard-view #saved-practice>.icon:first-child {color:var(--accent)}
:root[data-theme=dark] #dashboard-view :is(button,a):hover .dashboard-go {background:var(--button-light)}
