/* Page 10 · Progress (/progress). App shell from home.css. Phone: one column; desktop: two columns. */

.prog { padding-top: 8px; padding-bottom: 24px; }
.prog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.prog-head h1 { font-size: 1.6rem; }
.prog-clef { font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.period { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); max-width: 420px; }
.period button { min-height: 40px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 0.88rem; color: var(--muted); }
.period button[aria-selected="true"] { background: var(--ink); color: #fff; }

.prog-grid { display: grid; gap: 16px; margin-top: 14px; }
.col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.block h2 { font-size: 1.05rem; margin-bottom: 8px; }

.headline { padding: 16px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.hl-label { color: var(--gold); }
.headline h2 { font-size: 1.2rem; margin-top: 2px; }
.hl-sub { margin-top: 2px; font-size: 0.85rem; color: #c9cbe0; }
.hl-cta { margin-top: 12px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.tiles div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 10px 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.tiles dd { margin: 0; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tiles dt { font-size: 0.72rem; color: var(--muted); font-weight: 700; }

.chart-card, .map-card { padding: 12px; box-shadow: none; }
#chart svg, #note-map svg { display: block; width: 100%; height: auto; }
.chart-empty { padding: 24px 8px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 0.78rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.sw { display: inline-block; width: 16px; height: 0; border-top: 3px solid var(--teal); border-radius: 2px; }
.sw-acc { border-top: 2px dashed var(--accent); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.known { background: var(--ok); }
.dot.slow { background: #e2a33a; }
.dot.weak { background: var(--bad); }
.dot.unseen { background: #fff; border: 1.5px solid #c9cbe0; }
#note-map .n { cursor: pointer; outline: none; }
#note-map .n:focus-visible circle { stroke: var(--accent); stroke-width: 3; }
#note-map .n.sel circle { stroke: var(--ink); stroke-width: 2.5; }
.map-detail { min-height: 1.4em; margin-top: 6px; font-size: 0.85rem; font-weight: 700; }
.hardest { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.practice-btn { margin-top: 10px; width: 100%; background: var(--teal); color: #fff; }

.recent { list-style: none; margin: 0; padding: 0 14px; box-shadow: none; }
.recent li + li { border-top: 1px solid var(--line); }
.recent a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 58px; padding: 8px 0; text-decoration: none; color: inherit; }
.recent .what { display: grid; min-width: 0; }
.recent .what b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent .what span, .recent .res span { font-size: 0.78rem; color: var(--muted); }
.recent .res { display: grid; justify-items: end; flex: none; font-variant-numeric: tabular-nums; }
.recent .st { color: var(--gold); letter-spacing: 1px; }
.recent .st i { font-style: normal; color: var(--line); }
.recent-empty { padding: 16px; text-align: center; color: var(--muted); box-shadow: none; }

@media (min-width: 900px) {
  .prog { padding-top: 32px; max-width: 1040px; }
  .prog-head h1 { font-size: 2rem; }
  .prog-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
  .col { gap: 24px; }
}
