/* The Student Portal dashboard, as shown in the landing page's app window.
   Generated from the inline <style> of Student Portal/index.html, every selector
   scoped to .lp-dash, so the landing dashboard looks exactly like the real one.
   Regenerate it when the portal's styles change. */
.lp-dash .modal-back { display: none; }
.lp-dash .modal-back.visible { display: flex; }
.lp-dash .greeting { font-size: 38px; line-height: 1.05; letter-spacing: -0.028em; font-weight: 600; margin: 0 0 34px; color: var(--ink); }
.lp-dash .portal-hello { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lp-dash #portal-greeting-name:not(:empty)::before { content: ", "; }
.lp-dash .sp-block { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 30px 16px; color: var(--ink-muted); font-size: 12.5px; }
.lp-dash .vp-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; padding: 4px; background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-pill); width: max-content; max-width: 100%; }
.lp-dash .vp-pill { padding: 8px 18px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500; color: var(--ink-muted); cursor: pointer; font-family: var(--sans); transition: background 180ms var(--ease), color 180ms var(--ease); }
.lp-dash .vp-pill:hover:not(.on) { color: var(--ink); }
.lp-dash .vp-pill.on { background: var(--ink); color: var(--bg); }
.lp-dash .vp-row.sub { margin-bottom: 24px; }
.lp-dash .vp-row.sub .vp-pill { padding: 6px 14px; font-size: 11.5px; }
.lp-dash .pview { display: none; }
.lp-dash .pview.on { display: block; }
.lp-dash .sview { display: none; }
.lp-dash .sview.on { display: block; }
.lp-dash .ov-cols { display: grid; grid-template-columns: 1fr 288px; gap: 18px; align-items: start; }
@media (max-width: 1080px) {
.lp-dash .ov-cols { grid-template-columns: 1fr; }
}
.lp-dash .ov-side { min-width: 0; }
.lp-dash .suggest { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); padding: 20px 22px; }
.lp-dash .task-list { display: flex; flex-direction: column; gap: 8px; max-height: 480px; overflow-y: auto; scrollbar-width: thin; }
.lp-dash .task-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 13px; background: var(--bg); border: 1px solid var(--rule-soft); border-radius: var(--r-sm); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 200ms var(--spring-soft); }
.lp-dash .task-row:hover { background: var(--bg-3); border-color: color-mix(in srgb, var(--accent) 26%, var(--rule-soft)); transform: translateX(3px); }
.lp-dash .task-row .td { width: 7px; height: 7px; border-radius: 999px; flex-shrink: 0; }
.lp-dash .task-row .td.r { background: var(--r-red); }
.lp-dash .task-row .td.y { background: var(--r-amber); }
.lp-dash .task-row .td.a { background: var(--accent); }
.lp-dash .task-row .td.syllabus { background: var(--r-red); }
.lp-dash .task-row .td.flashcards { background: var(--r-amber); }
.lp-dash .task-row .td.mcqs { background: #69b6a6; }
.lp-dash .task-row .td.practice { background: #9a86cf; }
.lp-dash .task-row .td.diagnostic { background: var(--idg, #78a8d8); }
.lp-dash .task-row .tmain { flex: 1; min-width: 0; }
.lp-dash .task-row .tt { display: block; font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-dash .task-row .ts { font-size: 10.5px; color: var(--ink-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-dash .task-row .ta { color: var(--ink-faint); flex-shrink: 0; }
.lp-dash .task-empty { font-size: 12px; color: var(--ink-muted); padding: 10px 2px; line-height: 1.5; }
.lp-dash .task-row .ts { white-space: normal; line-height: 1.35; }
.lp-dash .task-row .tt { white-space: normal; line-height: 1.35; }
.lp-dash .usage-chart { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 6px; height: 100px; }
.lp-dash .usage-y { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding: 0 0 1px; color: var(--ink-faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.lp-dash .usage-y span:first-child { color: var(--ink-muted); }
.lp-dash .usage-chart .spark { height: 100%; border-bottom: 1px solid var(--rule-soft); padding-top: 0; }
.lp-dash .usage-chart .spark .b { min-height: 3px; position: relative; cursor: help; }
.lp-dash .usage-chart .spark .b:hover::after, .lp-dash .usage-chart .spark .b:focus-visible::after { content: attr(data-tip); position: absolute; z-index: 3; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 180px; padding: 6px 9px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 11px; box-shadow: 0 4px 14px #0003; pointer-events: none; }
.lp-dash .usage-chart .spark .b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp-dash .usage-chart + .spark-lbls { margin-left: 36px; }
.lp-dash .ap-section-head { font-size: 15px; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); margin: 26px 0 12px; }
.lp-dash .ap-section-head:first-child { margin-top: 0; }
.lp-dash .ap-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 24px; }
.lp-dash .ap-stat { background: transparent; border: 0; border-radius: 0; padding: 7px 0; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.lp-dash .ap-stat:hover { background: transparent; transform: none; }
.lp-dash .ap-stat .as-lbl { font-size: 12.5px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-muted); margin: 0; }
.lp-dash .ap-stat .as-val { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.lp-dash .ap-stat .as-sub { font-size: 11.5px; color: var(--ink-muted); margin: 0; }
.lp-dash .ap-stat.accent .as-val { color: var(--accent); }
.lp-dash .ap-stat.green .as-val { color: var(--r-green); }
.lp-dash .ap-stat.amber .as-val { color: var(--r-amber); }
.lp-dash .ap-stat.red .as-val { color: var(--r-red); }
.lp-dash .clickable { cursor: pointer; }
.lp-dash .ap-stat.clickable:hover, .lp-dash .qm-mini.clickable:hover, .lp-dash .mini-panel.clickable:hover, .lp-dash .wg-panel.clickable:hover, .lp-dash .mod-block.clickable:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--rule-soft)); }
.lp-dash #adv-table-body tr { cursor: pointer; }
.lp-dash #adv-table-body tr:hover td { background: var(--bg-3); }
.lp-dash .ap-bar-row.clickable, .lp-dash .stk-legend .lg.clickable { border-radius: 6px; padding: 3px 4px; margin: -3px -4px 6px; transition: background 140ms var(--ease); }
.lp-dash .stk-legend .lg.clickable { margin-bottom: 4px; }
.lp-dash .ap-bar-row.clickable:hover, .lp-dash .stk-legend .lg.clickable:hover { background: var(--bg-3); }
.lp-dash .ap-bars { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); padding: 14px 16px; }
.lp-dash .ap-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.lp-dash .ap-bar-row:last-child { margin-bottom: 0; }
.lp-dash .ap-bar-lbl { font-size: 11.5px; color: var(--ink-soft); width: 74px; flex-shrink: 0; }
.lp-dash .ap-bar-track { flex: 1; height: 7px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.lp-dash .ap-bar-fill { height: 100%; border-radius: 999px; transition: width 500ms var(--spring-soft); }
.lp-dash .ap-bar-fill.r { background: var(--r-red); }
.lp-dash .ap-bar-fill.y { background: var(--r-amber); }
.lp-dash .ap-bar-fill.g { background: var(--r-green); }
.lp-dash .ap-bar-fill.u { background: var(--rule); }
.lp-dash .ap-bar-num { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); width: 26px; text-align: right; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.lp-dash .ap-mod-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); margin-bottom: 8px; }
.lp-dash .ap-mod-row .amr-name { width: 170px; flex-shrink: 0; }
.lp-dash .ap-mod-row .amr-t { font-size: 13px; font-weight: 500; color: var(--ink); }
.lp-dash .ap-mod-row .amr-bar { flex: 1; height: 8px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.lp-dash .ap-mod-row .amr-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width 600ms var(--spring-soft); }
.lp-dash .ap-mod-row .amr-pct { width: 40px; text-align: right; font-size: 13px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.lp-dash .task-row.mock-resume-row { order: -1; border-color: color-mix(in srgb, var(--accent) 34%, var(--rule-soft)); }
.lp-dash .task-row.mock-resume-row .td { background: var(--accent); }
.lp-dash .ap-prio-empty { font-size: 13px; color: var(--ink-muted); padding: 16px; background: var(--bg-2); border: 1px dashed var(--rule); border-radius: var(--r-md); }
.lp-dash .ap-prio-list { display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); padding: 14px; }
.lp-dash .ap-prio-list .task-row { gap: 14px; padding: 12px 16px; }
.lp-dash .ap-prio-list .task-row .td { width: 8px; height: 8px; }
.lp-dash .ap-prio-list .task-row .tt { font-size: 13px; }
.lp-dash .ap-prio-list .task-row .tt b { font-weight: 700; margin-right: 6px; font-variant-numeric: tabular-nums; }
.lp-dash .ap-prio-list .task-row .ts { font-size: 11.5px; margin-top: 3px; }
.lp-dash .ap-prio-acc { flex-shrink: 0; text-align: right; min-width: 52px; }
.lp-dash .ap-prio-acc .v { display: block; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.lp-dash .ap-prio-acc .v.r { color: var(--r-red); }
.lp-dash .ap-prio-acc .v.y { color: var(--r-amber); }
.lp-dash .ap-prio-more { margin-top: 10px; }
.lp-dash .ap-prio-list .task-row { position: relative; }
.lp-dash .ap-prio-list .task-row:hover, .lp-dash .ap-prio-list .task-row:focus-visible { z-index: 4; }
.lp-dash .ap-prio-pop { position: absolute; top: calc(100% + 6px); right: 12px; width: 280px; z-index: 5; display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--rule); border-radius: var(--r-sm); box-shadow: 0 10px 28px #0000003d; text-align: left; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 140ms var(--ease), transform 200ms var(--spring-soft), visibility 0s linear 140ms; pointer-events: none; }
.lp-dash .ap-prio-list .task-row:hover .ap-prio-pop, .lp-dash .ap-prio-list .task-row:focus-visible .ap-prio-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 120ms, 120ms, 0s; }
.lp-dash .ap-prio-pop .pl { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; }
.lp-dash .ap-prio-pop .pk { color: var(--ink-muted); }
.lp-dash .ap-prio-pop .pv { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-dash .ap-prio-pop .pv.r { color: var(--r-red); }
.lp-dash .ap-prio-pop .pv.y { color: var(--r-amber); }
.lp-dash .ap-prio-pop .pn { margin-top: 3px; padding-top: 8px; border-top: 1px solid var(--rule-soft); font-size: 11.5px; font-weight: 500; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
.lp-dash .ap-prio-pop { transition: none; transform: none; }
}
.lp-dash #adv-prio.itour-peek .task-row:first-child { z-index: 4; }
.lp-dash #adv-prio.itour-peek .task-row:first-child .ap-prio-pop { opacity: 1; visibility: visible; transform: none; }
.lp-dash .stk { display: flex; gap: 2px; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.lp-dash .stk span { display: block; height: 100%; min-width: 3px; }
.lp-dash .stk span.g { background: var(--r-green); }
.lp-dash .stk span.y { background: var(--r-amber); }
.lp-dash .stk span.r { background: var(--r-red); }
.lp-dash .stk span.u { background: var(--bg-3); }
.lp-dash .stk-legend { display: flex; flex-direction: column; gap: 8px; }
.lp-dash .stk-legend .lg { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.lp-dash .stk-legend .lg i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.lp-dash .stk-legend .lg i.g { background: var(--r-green); }
.lp-dash .stk-legend .lg i.y { background: var(--r-amber); }
.lp-dash .stk-legend .lg i.r { background: var(--r-red); }
.lp-dash .stk-legend .lg i.u { background: var(--rule); }
.lp-dash .stk-legend .lg b { margin-left: auto; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-dash .stk-legend .lg .lg-pct { font-size: 11px; color: var(--ink-faint); width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.lp-dash .two-up { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.lp-dash .two-even { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-dash .three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 920px) {
.lp-dash .two-up, .lp-dash .two-even { grid-template-columns: 1fr; }
.lp-dash .three-up { grid-template-columns: 1fr; }
}
.lp-dash .mini-panel { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); padding: 20px 22px; }
.lp-dash .mini-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.lp-dash .mini-h .t { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.lp-dash .mini-h .m { font-size: 10.5px; color: var(--ink-faint); letter-spacing: 0.04em; }
.lp-dash .wg-panel { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); padding: 20px 22px; }
.lp-dash .wg-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.lp-dash .wg-top .num { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.lp-dash .wg-top .num .of { color: var(--ink-faint); font-size: 14px; font-weight: 400; }
.lp-dash .wg-top .lbl { font-size: 11px; color: var(--ink-muted); }
.lp-dash .wg-bar { height: 5px; background: var(--rule-soft); border-radius: 999px; overflow: hidden; }
.lp-dash .wg-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width var(--dur-xslow) var(--ease-fluid); }
.lp-dash .wg-meta-line { font-size: 11.5px; color: var(--ink-muted); margin-top: 10px; }
.lp-dash .qm-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lp-dash .qm-mini-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 920px) {
.lp-dash .qm-mini-grid, .lp-dash .qm-mini-grid.five { grid-template-columns: repeat(2, 1fr); }
}
.lp-dash .qm-mini { background: var(--bg); border: 1px solid var(--rule-soft); border-radius: var(--r-sm); padding: 11px 13px; transition: background 160ms var(--ease), border-color 160ms var(--ease); }
.lp-dash .qm-mini .ml { font-size: 11.5px; font-weight: 500; color: var(--ink-muted); }
.lp-dash .qm-mini .mv { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-top: 5px; font-variant-numeric: tabular-nums; }
.lp-dash .qm-mini.clickable:hover { background: var(--bg-3); }
.lp-dash .acc-trend { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0; vertical-align: 2px; font-variant-numeric: tabular-nums; cursor: help; }
.lp-dash .acc-trend.up { color: var(--r-green); }
.lp-dash .acc-trend.down { color: var(--r-red); }
.lp-dash .acc-trend.flat { color: var(--ink-faint); }
.lp-dash .insight { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); padding: 18px 20px; min-height: 128px; display: flex; flex-direction: column; gap: 8px; transition: background var(--dur-base) var(--ease-fluid), border-color 160ms var(--ease), transform 200ms var(--spring-soft); }
.lp-dash .insight:hover { background: var(--bg-3); }
.lp-dash .insight.clickable:hover { border-color: color-mix(in srgb, var(--accent) 28%, var(--rule-soft)); transform: translateY(-2px); }
.lp-dash .insight .ihd { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
.lp-dash .insight .iv { font-size: 21px; line-height: 1.15; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); margin-top: 6px; }
.lp-dash .insight .is { font-size: 11.5px; color: var(--ink-muted); margin-top: auto; }
.lp-dash .insight .iv.warn { color: var(--r-red); }
.lp-dash .insight .iv.ok { color: var(--r-green); }
.lp-dash .dotgrid-shell { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); padding: 22px 24px; }
.lp-dash .dotgrid-shell .legend { display: flex; align-items: center; gap: 10px; font-size: 10.5px; color: var(--ink-muted); }
.lp-dash .dotgrid-shell .legend .scale { display: inline-flex; gap: 3px; align-items: center; }
.lp-dash .dotgrid-shell .legend .scale .sw { width: 10px; height: 10px; border-radius: 2px; background: var(--rule-soft); }
.lp-dash .dotgrid-shell .legend .scale .sw.l4 { background: var(--accent); }
.lp-dash .dotgrid-shell .mod-block { margin-top: 20px; }
.lp-dash .dotgrid-shell .mod-block:first-of-type { margin-top: 0; }
.lp-dash .dotgrid-shell .mod-block .mblbl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 12px; }
.lp-dash .dotgrid-shell .mod-block .mblbl .nm { font-weight: 500; color: var(--ink); }
.lp-dash .dotgrid-shell .mod-block .mblbl .ct { color: var(--ink-muted); font-size: 11px; }
.lp-dash .stat-table-wrap { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-md); overflow-x: auto; }
.lp-dash .stat-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lp-dash .stat-table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-muted); padding: 14px 16px 10px; border-bottom: 1px solid var(--rule-soft); white-space: nowrap; }
.lp-dash .stat-table td { padding: 12px 16px; border-bottom: 1px solid var(--rule-faint); color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-dash .stat-table tr:last-child td { border-bottom: 0; }
.lp-dash .stat-table td:first-child { color: var(--ink); font-weight: 500; }
.lp-dash .brk-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lp-dash .brk-controls label { font-size: 11.5px; color: var(--ink-muted); }
.lp-dash .brk-sel { font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-sm); padding: 8px 12px; cursor: pointer; max-width: 260px; transition: border-color 160ms var(--ease); }
.lp-dash .brk-sel:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--rule-soft)); }
.lp-dash .brk-sel:focus { outline: none; border-color: var(--accent); }
.lp-dash .stat-table td.num-g { color: var(--r-green); font-weight: 600; }
.lp-dash .stat-table td.num-r { color: var(--r-red); font-weight: 600; }
.lp-dash .stat-table td.dim { color: var(--ink-faint); }
.lp-dash .stat-table tr.tot-row td { border-top: 1px solid var(--rule-soft); font-weight: 600; color: var(--ink); }
.lp-dash .stat-empty { padding: 26px 16px; font-size: 12.5px; color: var(--ink-muted); text-align: center; }

/* Landing only: the pills and rows are <button>s here. */
.lp-dash .vp-pill, .lp-dash .task-row { appearance: none; font-family: inherit; }
.lp-dash .vp-pill { border: 0; background: none; }
.lp-dash .greeting { text-align: left; }
.lp-dash .pview { display: none; } .lp-dash .pview.on { display: block; }
.lp-dash .sview { display: none; } .lp-dash .sview.on { display: block; }
