/* ===== Mad Minute: pick up where you left off + test history: styles. See shared/mm-resume.js. ===== */

/* Home card */
.resume-home { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer; color: var(--text); font: inherit;
  box-shadow: inset 0 0 0 1.5px var(--amber); background: linear-gradient(135deg, rgba(242,167,59,0.14), var(--panel)); }
.resume-home .rec-topic { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resume-meta { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.resume-go { flex-shrink: 0; pointer-events: none; }

/* Welcome back screen */
.resume-topic { line-height: 1.15; }
.resume-level { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-dim); }
.resume-level .pips { width: 110px; flex-shrink: 0; }
.resume-lines { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.resume-path { font-size: 13px; color: var(--text-dim); padding: 10px 12px; border-radius: 10px; background: var(--panel-2); line-height: 1.5; }
.resume-path b { color: var(--text); }

/* Test history (Progress tab) */
.th-note { font-size: 12.5px; }
.th-group { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.th-group + .th-group { border-top: 1px solid var(--line); padding-top: 14px; }
.th-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.th-head span { font-size: 12.5px; color: var(--text-dim); }
.th-chart { width: 100%; height: auto; max-height: 150px; display: block; }
.th-axis { stroke: var(--line); stroke-width: 1; }
.th-bar { fill: var(--teal); opacity: .55; }
.th-bar-now { fill: var(--amber); }
.th-val { fill: var(--text); font: 600 11px system-ui, sans-serif; text-anchor: middle; }
.th-lbl { fill: var(--text-dim); font: 500 9.5px system-ui, sans-serif; text-anchor: middle; }
.th-att { border-radius: 10px; background: var(--panel-2); }
.th-att summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; font-size: 14px; }
.th-att summary::-webkit-details-marker { display: none; }
.th-att summary::after { content: "›"; margin-left: 4px; color: var(--text-dim); transition: transform .15s; }
.th-att[open] summary::after { transform: rotate(90deg); }
.th-n { font-weight: 700; color: var(--text-dim); min-width: 24px; }
.th-d { flex: 1; }
.th-s { font-weight: 700; }
.th-delta { font-size: 12.5px; color: var(--text-dim); min-width: 46px; text-align: right; }
.th-delta.up, .th-lv.up { color: var(--teal); }
.th-delta.down, .th-lv.down { color: var(--red); }
.th-meta { font-size: 12.5px; color: var(--text-dim); padding: 0 12px 6px; }
.th-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 12px; border-top: 1px solid var(--line); font-size: 13px; }
.th-row:last-child { padding-bottom: 10px; }
.th-lv { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text-dim); }
