.learning-dashboard {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --blue: #0818ff;
    --green: #059669;
    --amber: #d97706;
    width: min(100%, 1200px);
    margin: 0 auto;
    color: var(--ink);
}

.learning-dashboard [hidden] { display: none !important; }

.learning-dashboard button:focus-visible,
.learning-dashboard a:focus-visible,
.learning-dashboard input:focus-visible,
.learning-dashboard select:focus-visible {
    outline: 3px solid rgba(8, 24, 255, 0.28);
    outline-offset: 2px;
}

.dashboard-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 4px 0 22px;
}

.dashboard-page-heading { min-width: 0; }

.dashboard-eyebrow,
.dashboard-section-kicker {
    margin: 0 0 4px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.dashboard-page-heading h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dashboard-page-heading > p:last-child {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-header-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.dashboard-primary-action,
.dashboard-secondary-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 6px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-primary-action { border: 1px solid var(--blue); background: var(--blue); color: #fff; }
.dashboard-primary-action:hover { background: #0000cc; }
.dashboard-secondary-action { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.dashboard-secondary-action:hover { border-color: var(--blue); color: var(--blue); }

.dashboard-summary {
    padding: 15px 0 2px;
    border-top: 1px solid var(--line);
}

.dashboard-summary-header,
.dashboard-section-header,
.dashboard-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-summary-header { margin-bottom: 12px; }
.dashboard-summary-header h2,
.dashboard-section-header h2,
.dashboard-calendar-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.4;
}

.dashboard-summary-header button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.dashboard-toggle-chevron { font-size: 15px; transition: transform 160ms ease; }
.dashboard-summary.is-collapsed .dashboard-toggle-chevron { transform: rotate(180deg); }

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-stat {
    height: 136px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 15px 16px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.035);
}

.dashboard-stat-label {
    margin: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-stat-body {
    display: flex;
    height: 92px;
    align-items: center;
    gap: 14px;
}

.dashboard-ring,
.dashboard-status-donut,
.dashboard-review-gauge {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
}

.dashboard-ring {
    width: 72px;
    height: 72px;
    background: conic-gradient(var(--ring-color) var(--ring-value), #e8edf5 0);
}

.dashboard-ring::after,
.dashboard-status-donut::after,
.dashboard-review-gauge::after {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    content: '';
}

.dashboard-ring::after { inset: 7px; }
.dashboard-ring-progress { --ring-color: var(--blue); }
.dashboard-ring-quiz { --ring-color: var(--amber); }

.dashboard-ring > span,
.dashboard-status-donut > span,
.dashboard-review-gauge > span {
    position: relative;
    z-index: 1;
    color: #334155;
    font-size: 10px;
    font-weight: 800;
}

.dashboard-ring > span strong { color: var(--ink); font-size: 19px; font-weight: 900; }

.dashboard-stat-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.dashboard-stat-copy > strong { font-size: 17px; font-weight: 900; line-height: 1.35; }
.dashboard-stat-copy > span { color: var(--muted); font-size: 11px; font-weight: 700; }
.dashboard-stat-copy > small { margin-top: 3px; color: #94a3b8; font-size: 9px; line-height: 1.35; }

.dashboard-course-status-body { gap: 12px; }
.dashboard-status-donut {
    width: 70px;
    height: 70px;
    background: conic-gradient(var(--green) 0 var(--complete-end), var(--blue) var(--complete-end) var(--active-end), #dbe3ee var(--active-end) 360deg);
}
.dashboard-status-donut::after { inset: 8px; }
.dashboard-status-donut > span { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.dashboard-status-donut > span strong { font-size: 17px; font-weight: 900; }

.dashboard-status-legend { display: grid; min-width: 0; flex: 1; gap: 3px; margin: 0; }
.dashboard-status-legend > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dashboard-status-legend dt { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 700; }
.dashboard-status-legend dd { margin: 0; font-size: 12px; font-weight: 900; }
.dashboard-status-legend i { width: 7px; height: 7px; border-radius: 2px; }
.dashboard-status-legend .is-complete { background: var(--green); }
.dashboard-status-legend .is-active { background: var(--blue); }
.dashboard-status-legend .is-idle { background: #cbd5e1; }

.dashboard-days-body {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 5px 10px;
}
.dashboard-days-value { display: flex; align-items: baseline; gap: 3px; }
.dashboard-days-value strong { font-size: 31px; font-weight: 900; }
.dashboard-days-value span { color: var(--muted); font-size: 11px; font-weight: 800; }
.dashboard-days-body > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }
.dashboard-mini-heatmap { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.dashboard-mini-heatmap > span { width: 100%; aspect-ratio: 1; border-radius: 2px; background: #edf1f6; }
.dashboard-mini-heatmap .activity-level-1 { background: #bae6d4; }
.dashboard-mini-heatmap .activity-level-2 { background: #6ee7b7; }
.dashboard-mini-heatmap .activity-level-3 { background: #10b981; }
.dashboard-mini-heatmap .activity-level-4 { background: #047857; }

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    align-items: start;
    gap: 16px;
    margin-top: 18px;
}

.dashboard-panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.035);
}

.dashboard-section-header { min-height: 42px; padding-bottom: 14px; }
.dashboard-section-header > p { margin: 0; color: var(--muted); font-size: 11px; }
.dashboard-section-header > p strong { margin-right: 3px; color: var(--ink); font-size: 15px; }
.dashboard-section-kicker-review { color: #b45309; }
.dashboard-section-kicker-calendar { color: #047857; }

.dashboard-course-toolbar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(180px, 1.35fr) minmax(130px, 1fr) minmax(145px, 1fr);
    gap: 9px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.dashboard-search-field { min-width: 0; }
.dashboard-select-field { position: relative; min-width: 0; }
.dashboard-select-field::after {
    position: absolute;
    right: 13px;
    bottom: 16px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #475569;
    border-bottom: 1.5px solid #475569;
    content: '';
    pointer-events: none;
    transform: rotate(45deg);
}
.dashboard-search-field label,
.dashboard-select-field label {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}
.dashboard-search-field input,
.dashboard-select-field select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none;
}
.dashboard-select-field select { padding-right: 34px; }
.dashboard-search-field input:hover,
.dashboard-select-field select:hover { border-color: #94a3b8; }

.dashboard-status-filter {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    width: min(100%, 390px);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}
.dashboard-status-filter button,
.dashboard-review-filter button {
    min-height: 34px;
    border: 0;
    border-right: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.dashboard-status-filter button:last-child,
.dashboard-review-filter button:last-child { border-right: 0; }
.dashboard-status-filter button:hover,
.dashboard-review-filter button:hover { background: #f8fafc; color: var(--blue); }
.dashboard-status-filter button.is-active { background: #eef2ff; color: var(--blue); }
.dashboard-review-filter button.is-active { background: #fff7ed; color: #b45309; }

.dashboard-course-scroll {
    max-height: 560px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #cbd5e1 transparent;
}

.dashboard-category { border-bottom: 1px solid var(--line); }
.dashboard-category:last-of-type { border-bottom: 0; }
.dashboard-category-toggle {
    display: grid;
    grid-template-columns: 18px minmax(150px, 1.2fr) 104px minmax(90px, 0.8fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 62px;
    border: 0;
    background: #f7f9fc;
    padding: 10px 12px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.dashboard-category-toggle:hover { background: #f1f5f9; }
.dashboard-category-chevron { color: var(--blue); font-size: 18px; font-weight: 900; transition: transform 150ms ease; }
.dashboard-category-toggle[aria-expanded="true"] .dashboard-category-chevron { transform: rotate(180deg); }
.dashboard-category-title { min-width: 0; }
.dashboard-category-title strong { display: block; font-size: 13px; font-weight: 900; overflow-wrap: anywhere; }
.dashboard-category-title small,
.dashboard-category-progress-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 600; }
.dashboard-category-progress-copy { text-align: right; }
.dashboard-category-progress-copy strong { color: var(--blue); font-size: 14px; font-weight: 900; }
.dashboard-category-progress { display: block; overflow: hidden; height: 6px; border-radius: 3px; background: #dfe6f0; }
.dashboard-category-progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }

.dashboard-topic-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.8fr) 72px 104px 88px 82px 74px;
    align-items: center;
    gap: 10px;
    min-height: 86px;
    padding: 13px 10px;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}
.dashboard-topic-row:last-child { border-bottom: 0; }
.dashboard-topic-row:hover { background: #fbfdff; }
.dashboard-topic-main { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.dashboard-topic-thumbnail { display: grid; width: 44px; height: 44px; place-items: center; overflow: hidden; border-radius: 7px; background: #eff6ff; color: var(--blue); font-size: 16px; font-weight: 900; }
.dashboard-topic-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-topic-main h3 { margin: 0; font-size: 12px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.dashboard-topic-main p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.35; overflow-wrap: anywhere; }
.dashboard-topic-status span { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; }
.dashboard-topic-status i { font-style: normal; font-size: 12px; }
.dashboard-topic-status .is-completed { color: #047857; }
.dashboard-topic-status .is-in_progress { color: #1d4ed8; }
.dashboard-topic-status .is-not_started { color: #64748b; }
.dashboard-topic-progress-cell > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
.dashboard-topic-progress-cell strong { color: var(--blue); font-size: 12px; }
.dashboard-topic-progress-cell span,
.dashboard-topic-quiz span,
.dashboard-topic-date span { color: var(--muted); font-size: 9px; }
.dashboard-topic-progress { overflow: hidden; height: 5px; margin-top: 5px; border-radius: 3px; background: #e8edf5; }
.dashboard-topic-progress span { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.dashboard-topic-quiz { display: flex; flex-direction: column; }
.dashboard-topic-quiz strong { color: #b45309; font-size: 12px; }
.dashboard-topic-date { line-height: 1.3; }
.dashboard-topic-action a { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; border: 1px solid #bfdbfe; border-radius: 6px; padding: 5px 8px; color: var(--blue); font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.dashboard-topic-action a:hover { border-color: var(--blue); background: #eff6ff; }

.dashboard-filter-empty,
.dashboard-positive-empty,
.dashboard-calendar-empty {
    min-height: 110px;
    padding: 30px 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.dashboard-review-heading > strong { color: #b45309; font-size: 22px; font-weight: 900; }
.dashboard-panel-description { margin: -3px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.dashboard-review-filter { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-bottom: 3px; border: 1px solid #fed7aa; border-radius: 6px; }
.dashboard-review-list { border-top: 1px solid var(--line); }
.dashboard-review-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.dashboard-review-row:last-child { border-bottom: 0; }
.dashboard-review-gauge { width: 50px; height: 50px; background: conic-gradient(#f59e0b var(--ring-value), #f1f5f9 0); }
.dashboard-review-gauge::after { inset: 6px; }
.dashboard-review-gauge span { font-size: 11px; font-weight: 900; }
.dashboard-review-content { min-width: 0; }
.dashboard-review-content h3 { margin: 0; font-size: 13px; font-weight: 900; line-height: 1.45; overflow-wrap: anywhere; }
.dashboard-review-content > p { margin: 2px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }
.dashboard-review-score { display: flex; flex-wrap: wrap; gap: 2px 7px; margin-top: 6px; font-size: 9px; line-height: 1.4; }
.dashboard-review-score strong { color: #92400e; }
.dashboard-review-score span { color: var(--muted); }
.dashboard-review-content .dashboard-review-reason { margin-top: 5px; color: #b45309; font-size: 9px; font-weight: 700; }
.dashboard-review-row > a { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; border-radius: 6px; background: #fff7ed; padding: 6px 9px; color: #9a3412; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.dashboard-review-row > a:hover { background: #ffedd5; }
.dashboard-positive-empty strong { display: block; color: #047857; font-size: 14px; }
.dashboard-positive-empty p { margin: 5px 0 0; }

.dashboard-calendar-panel { margin-top: 16px; }
.dashboard-calendar-header { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.dashboard-calendar-navigation { display: flex; align-items: center; gap: 7px; }
.dashboard-calendar-navigation a { display: inline-flex; min-width: 36px; min-height: 36px; align-items: center; justify-content: center; border: 1px solid #cbd5e1; border-radius: 6px; color: #334155; font-size: 18px; font-weight: 800; text-decoration: none; }
.dashboard-calendar-navigation a:hover { border-color: var(--blue); color: var(--blue); }
.dashboard-calendar-navigation strong { min-width: 106px; font-size: 14px; text-align: center; }
.dashboard-calendar-navigation .dashboard-calendar-today { padding: 0 10px; color: var(--blue); font-size: 11px; }
.dashboard-calendar-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr); align-items: start; gap: 20px; padding-top: 17px; }
.dashboard-calendar-weekdays,
.dashboard-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.dashboard-calendar-weekdays { margin-bottom: 5px; }
.dashboard-calendar-weekdays span { color: var(--muted); font-size: 10px; font-weight: 800; text-align: center; }
.dashboard-calendar-day { position: relative; display: grid; min-width: 0; min-height: 68px; grid-template-rows: auto 1fr; border: 1px solid transparent; border-radius: 7px; background: #f8fafc; padding: 7px; color: #334155; text-align: left; cursor: pointer; }
.dashboard-calendar-day:not(.is-outside):hover { border-color: #93c5fd; }
.dashboard-calendar-day.is-selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.dashboard-calendar-day.is-today .dashboard-calendar-date { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.dashboard-calendar-day.is-outside { background: transparent; cursor: default; }
.dashboard-calendar-day.activity-level-1 { background: #f0fdf4; }
.dashboard-calendar-day.activity-level-2 { background: #dcfce7; }
.dashboard-calendar-day.activity-level-3 { background: #bbf7d0; }
.dashboard-calendar-day.activity-level-4 { background: #86efac; }
.dashboard-calendar-date { font-size: 11px; font-weight: 800; }
.dashboard-calendar-markers { display: flex; align-self: end; gap: 4px; }
.dashboard-calendar-markers i,
.dashboard-calendar-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dashboard-calendar-markers .is-lesson,
.dashboard-calendar-legend .is-lesson { background: var(--green); }
.dashboard-calendar-markers .is-quiz,
.dashboard-calendar-legend .is-quiz { background: var(--amber); }
.dashboard-calendar-count { position: absolute; right: 6px; bottom: 5px; min-width: 17px; height: 17px; border-radius: 9px; background: rgba(255,255,255,.86); color: #334155; font-size: 9px; font-weight: 900; line-height: 17px; text-align: center; }
.dashboard-calendar-legend { display: flex; flex-wrap: wrap; gap: 7px 13px; margin-top: 10px; color: var(--muted); font-size: 9px; }
.dashboard-calendar-legend span { display: inline-flex; align-items: center; gap: 5px; }
.dashboard-calendar-details { min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.dashboard-calendar-details-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.dashboard-calendar-details-header p { margin: 0; color: var(--muted); font-size: 9px; font-weight: 700; }
.dashboard-calendar-details-header h3 { margin: 2px 0 0; font-size: 16px; font-weight: 900; }
.dashboard-calendar-details-header > span { color: var(--muted); font-size: 9px; text-align: right; }
.dashboard-calendar-activity-list { max-height: 395px; overflow-y: auto; overscroll-behavior: contain; }
.dashboard-calendar-activity { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dashboard-calendar-activity:last-child { border-bottom: 0; }
.dashboard-calendar-activity > div { min-width: 0; }
.dashboard-calendar-activity span { color: var(--green); font-size: 9px; font-weight: 800; }
.dashboard-calendar-activity.is-quiz span { color: #b45309; }
.dashboard-calendar-activity h4 { margin: 3px 0 0; font-size: 12px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.dashboard-calendar-activity p { margin: 2px 0 0; color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.dashboard-calendar-activity strong { display: block; margin-top: 3px; color: #92400e; font-size: 9px; }
.dashboard-calendar-activity a { display: inline-flex; flex: 0 0 auto; min-height: 34px; align-items: center; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 8px; color: #334155; font-size: 9px; font-weight: 800; text-decoration: none; }
.dashboard-calendar-activity a:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 1024px) {
    .dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-main-grid { grid-template-columns: minmax(0, 1fr); }
    .dashboard-calendar-grid { grid-template-columns: minmax(0, 1fr); }
    .dashboard-calendar-details { padding: 16px 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .dashboard-topic-row { grid-template-columns: minmax(180px, 1.8fr) 74px 108px 92px 85px 76px; }
}

@media (max-width: 640px) {
    .dashboard-page-header { align-items: stretch; flex-direction: column; gap: 16px; padding-bottom: 18px; }
    .dashboard-page-heading h1 { font-size: 23px; }
    .dashboard-header-actions { width: 100%; }
    .dashboard-header-actions a { flex: 1 1 0; padding-inline: 8px; }
    .dashboard-stat-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .dashboard-stat { height: 128px; padding: 12px 14px; }
    .dashboard-stat-body { height: 88px; }
    .dashboard-panel { padding: 17px 13px; }
    .dashboard-course-toolbar { position: static; grid-template-columns: minmax(0, 1fr); }
    .dashboard-status-filter { grid-column: auto; width: 100%; }
    .dashboard-status-filter button,
    .dashboard-review-filter button { min-height: 44px; }
    .dashboard-course-scroll { max-height: none; overflow: visible; }
    .dashboard-category-toggle { grid-template-columns: 18px minmax(0, 1fr) 74px; min-height: 68px; padding: 10px 8px; }
    .dashboard-category-progress { grid-column: 2 / -1; width: 100%; }
    .dashboard-topic-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; margin: 10px 0; padding: 13px; border: 1px solid var(--line); border-radius: 8px; }
    .dashboard-topic-main { grid-column: 1 / -1; }
    .dashboard-topic-status,
    .dashboard-topic-progress-cell,
    .dashboard-topic-quiz,
    .dashboard-topic-date { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .dashboard-topic-status::before,
    .dashboard-topic-progress-cell::before,
    .dashboard-topic-quiz::before,
    .dashboard-topic-date::before { color: var(--muted); font-size: 9px; font-weight: 700; content: attr(data-label); }
    .dashboard-topic-progress-cell { display: grid; grid-column: 1 / -1; grid-template-columns: 70px minmax(0, 1fr); }
    .dashboard-topic-progress-cell::before { grid-row: 1; }
    .dashboard-topic-progress-cell > div:first-child { grid-column: 2; grid-row: 1; }
    .dashboard-topic-progress { grid-column: 1 / -1; width: 100%; }
    .dashboard-topic-action { display: flex; justify-content: flex-end; }
    .dashboard-topic-action a { min-height: 44px; padding-inline: 13px; }
    .dashboard-review-row { grid-template-columns: 48px minmax(0, 1fr); }
    .dashboard-review-row > a { grid-column: 2; min-height: 44px; justify-self: start; }
    .dashboard-calendar-header { align-items: flex-start; flex-direction: column; }
    .dashboard-calendar-navigation { width: 100%; justify-content: space-between; }
    .dashboard-calendar-navigation a { min-width: 44px; min-height: 44px; }
    .dashboard-calendar-navigation strong { min-width: 90px; font-size: 13px; }
    .dashboard-calendar-day { min-height: 48px; padding: 5px; }
    .dashboard-calendar-weekdays,
    .dashboard-calendar { gap: 3px; }
    .dashboard-calendar-date { font-size: 10px; }
    .dashboard-calendar-count { right: 3px; bottom: 3px; }
    .dashboard-calendar-activity { align-items: flex-start; }
    .dashboard-calendar-activity a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-toggle-chevron,
    .dashboard-category-chevron { transition: none; }
}
