.dash-page { max-width: 1120px; margin: 0 auto; padding: 1.5rem 0 2.5rem; }
.dash-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.dash-header h1 { margin: 0 0 .25rem; font-size: 1.5rem; }
.dash-streak-card { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--border, #e2e8f0); border-radius: .5rem; padding: .65rem 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.dash-streak-icon { background: #fffbeb; color: #f59e0b; width: 2.5rem; height: 2.5rem; border-radius: .5rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.dash-streak-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.dash-streak-val { font-size: .875rem; font-weight: 700; color: #1e293b; }

.dash-tracks { margin-bottom: 1.5rem; }
.dash-tracks-label { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; margin-bottom: .5rem; }
.dash-track-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.dash-track-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: .5rem; border: 1px solid #e2e8f0; background: #fff; color: #475569; font-size: .8125rem; font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.dash-track-pill:hover { background: #f8fafc; color: #1e293b; }
.dash-track-pill.is-active { background: var(--primary, #2563eb); border-color: var(--primary, #2563eb); color: #fff; }
.dash-track-pill--add { border-style: dashed; color: var(--primary, #2563eb); }

.dash-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 992px) { .dash-layout { grid-template-columns: 2fr 1fr; } }
.dash-main, .dash-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.dash-card { background: #fff; border: 1px solid #e2e8f0; border-radius: .75rem; padding: 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.dash-eyebrow { display: inline-flex; align-items: center; gap: .35rem; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary, #2563eb); }
.dash-eyebrow--warn { color: #dc2626; }
.dash-jump-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dash-jump-title { margin: .35rem 0 0; font-size: 1.25rem; }
.dash-jump-sub { margin: .15rem 0 0; font-size: .75rem; }
.dash-jump-manage { margin: .35rem 0 0; font-size: .75rem; }
.dash-jump-manage a { font-weight: 600; }
.dash-exam-countdown { margin: .5rem 0 0; font-size: .8125rem; color: #b45309; font-weight: 600; }
.dash-jump-progress-text { font-size: .8125rem; font-weight: 700; }
.dash-progress-bar { width: 6rem; height: .5rem; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-top: .35rem; }
.dash-progress-fill { height: 100%; background: var(--primary, #2563eb); border-radius: 999px; }

.dash-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; padding: .85rem 0; margin-bottom: 1rem; text-align: center; background: #f8fafc; border-radius: .5rem; }
.dash-stat-val { font-size: 1.1rem; font-weight: 700; color: #1e293b; }
.dash-stat-lbl { font-size: .625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; margin-top: .15rem; }

.dash-jump { overflow: hidden; }

.dash-action-row { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .dash-action-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dash-split-btn { display: flex; position: relative; min-width: 0; width: 100%; max-width: 100%; }
.dash-split-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    padding: .55rem .65rem;
    background: var(--primary, #2563eb);
    color: #fff;
    border-radius: .5rem 0 0 .5rem;
    text-decoration: none;
    font-size: .8125rem;
    font-weight: 600;
    text-align: center;
    min-height: 3rem;
    overflow: hidden;
}
.dash-split-btn--solo .dash-split-main { border-radius: .5rem; }
.dash-split-main:hover { background: #1d4ed8; color: #fff; }
.dash-split-sub {
    display: block;
    width: 100%;
    font-size: .65rem;
    font-weight: 500;
    opacity: .9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-split-toggle {
    flex-shrink: 0;
    width: 2.25rem;
    border: 1px solid var(--primary, #2563eb);
    border-left: 1px solid rgba(255,255,255,.3);
    background: #1d4ed8;
    color: #fff;
    border-radius: 0 .5rem .5rem 0;
    cursor: pointer;
}
.dash-split-toggle:hover { background: #1e40af; }
.dash-split-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin: .25rem 0 0; padding: .25rem 0; list-style: none; background: #fff; border: 1px solid #e2e8f0; border-radius: .5rem; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.dash-split-menu a { display: block; padding: .45rem .75rem; font-size: .8125rem; color: #334155; text-decoration: none; }
.dash-split-menu a:hover { background: #f1f5f9; }
.dash-split-btn--disabled .dash-split-main { background: #e2e8f0; color: #94a3b8; border-radius: .5rem; cursor: not-allowed; pointer-events: none; }
.dash-na-tag { font-size: .65rem; font-weight: 600; opacity: .85; }

.dash-priority { display: flex; gap: 1rem; background: linear-gradient(90deg, #fef2f2, #fff7ed); border-color: #fecaca; position: relative; overflow: hidden; }
.dash-priority-icon { flex-shrink: 0; width: 2.75rem; height: 2.75rem; background: #ef4444; color: #fff; border-radius: .65rem; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.dash-priority-body h3 { margin: .15rem 0 .35rem; font-size: 1rem; }
.dash-priority-body p { margin: 0 0 .75rem; font-size: .875rem; color: #475569; }
.dash-priority-warn { color: #dc2626; font-weight: 700; }

.dash-sidebar-title { margin: 0 0 .75rem; font-size: .875rem; font-weight: 700; }
.dash-readiness { text-align: center; }
.dash-readiness-ring { padding: .5rem 0; }
.dash-readiness-score-wrap { width: 7rem; height: 7rem; margin: 0 auto .75rem; border-radius: 50%; border: 8px solid #f1f5f9; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(var(--primary, #2563eb) calc(var(--readiness-pct) * 1%), #f1f5f9 0); }
.dash-readiness-score { font-size: 1.75rem; font-weight: 800; color: #1e293b; line-height: 1; }
.dash-readiness-lbl { font-size: .625rem; font-weight: 700; text-transform: uppercase; color: #94a3b8; }
.dash-readiness-na .dash-readiness-score { font-size: 1.5rem; }
.dash-readiness-msg { font-size: .75rem; margin: 0; line-height: 1.45; }

.dash-grid-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .65rem; }
.dash-grid-meta { font-size: .6875rem; }
.dash-consistency-grid { display: flex; gap: 3px; flex-wrap: wrap; padding: .5rem; background: #f8fafc; border-radius: .35rem; border: 1px solid #f1f5f9; }
.dash-grid-cell { width: .875rem; height: .875rem; border-radius: 2px; background: #e2e8f0; flex-shrink: 0; }
.dash-grid-cell.is-active { background: #93c5fd; }
.dash-grid-cell.is-active[data-level="2"] { background: #3b82f6; }
.dash-grid-axis { display: flex; justify-content: space-between; font-size: .625rem; color: #94a3b8; margin-top: .35rem; font-weight: 500; }

.dash-pulse-list { list-style: none; margin: 0; padding: 0; }
.dash-section-title { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; margin: 0 0 .75rem; }
.dash-content-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .dash-content-grid { grid-template-columns: repeat(3, 1fr); } }
.dash-content-tile { background: #fff; border: 1px solid #e2e8f0; border-radius: .75rem; padding: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.dash-content-tile--link { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.dash-content-tile--link:hover { border-color: var(--primary, #2563eb); box-shadow: 0 4px 12px rgba(37,99,235,.12); }
.dash-content-icon { width: 2.25rem; height: 2.25rem; border-radius: .5rem; background: #eff6ff; color: var(--primary, #2563eb); display: flex; align-items: center; justify-content: center; margin-bottom: .25rem; }
.dash-content-count { align-self: flex-start; font-size: .6875rem; font-weight: 700; background: #f1f5f9; color: #64748b; padding: .15rem .45rem; border-radius: 999px; }
.dash-content-tile h4 { margin: 0; font-size: .875rem; }
.dash-content-tile p { margin: 0; font-size: .75rem; }

.dash-completed-list { list-style: none; margin: 0; padding: 0; }
.dash-completed-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .65rem 0; border-bottom: 1px solid #f1f5f9; }
.dash-completed-actions { display: flex; gap: .35rem; align-items: center; }
.dash-inline-form { display: inline; margin: 0; }

.dash-empty { text-align: center; padding: 2.5rem 1.5rem; }
.dash-modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.dash-modal { max-width: 420px; width: 100%; }

.goal-setup-section { margin-top: 1.25rem; font-size: 1rem; }
.goal-opt-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.goal-opt-list li { padding: .35rem 0; }

.add-to-goal-wrap { margin-top: .5rem; }
.add-to-goal-dropdown .add-to-goal-item { display: block; width: 100%; text-align: left; background: none; border: none; padding: .5rem 1rem; cursor: pointer; font: inherit; }
.add-to-goal-item--done { padding: .5rem 1rem; color: #64748b; font-size: .875rem; }

.flashcard-master-row { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #e2e8f0; }
.flashcard-master-hint { font-size: .75rem; margin: .35rem 0 0; }
.flashcard-master-badge { color: #059669; font-weight: 600; font-size: .8125rem; }

.badge-verified { background: #dbeafe; color: #1d4ed8; font-size: .65rem; padding: .1rem .35rem; border-radius: .25rem; font-weight: 700; }
