/* The streak tile's extra line, the Progress panel and the class board's
   notes (José's ideas #12–#14, 2026-10-14). Loaded after study.css; every
   colour is a theme token, so every theme — Glass included — paints them. */

/* ── the streak ─────────────────────────────────────────────────────────── */
.tsub { font-size: max(0.8125rem, var(--text-min, 0.8125rem)); color: var(--ui-dim); }
.tsub.keep { color: var(--kind-pronunciation-text); font-weight: 700; }
.tile[data-tile="streak"].is-lit .tnum { color: var(--kind-pronunciation-text); }

/* ── Progress: what is mastered ─────────────────────────────────────────── */
.ptmastery { color: var(--learn-right); }
.mhead { display: flex; align-items: baseline; gap: 0.625rem; flex-wrap: wrap; }
.mbig { font: 700 3.25rem/1 var(--ui-num, var(--ui-font)); font-variant-numeric: tabular-nums; }
.mlabel { color: var(--ui-dim); font-size: 1.125rem; font-weight: 600; }
.mbar { height: 0.75rem; border-radius: 999px; background: var(--ui-panel-2); overflow: hidden; margin: 0.875rem 0 0.375rem; }
.mfill { height: 100%; width: 0; border-radius: 999px; background: var(--learn-right); transition: width var(--anim-fade, 0.16s); }
.mmilestone { margin: 0 0 0.75rem; }

/* The per-kind numbers, which are also the chart's legend. */
.mkinds { list-style: none; margin: 0 0 0.875rem; padding: 0; display: grid; gap: 0.375rem; }
.mkind { display: grid; grid-template-columns: 0.875rem 1fr auto; align-items: center; gap: 0.625rem; }
.mswatch { width: 0.875rem; height: 0.875rem; border-radius: 0.25rem; background: var(--kind-grammar); }
.mkind[data-kind="pronunciation"] .mswatch { background: var(--kind-pronunciation); }
.mkind[data-kind="vocabulary"] .mswatch { background: var(--kind-vocabulary); }
.mkind[data-kind="other"] .mswatch { background: var(--ui-dim); }
.mkname { font-weight: 600; }
.mknum { color: var(--ui-dim); font-variant-numeric: tabular-nums; }

.mmonths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.625rem; margin-bottom: 0.875rem; }
.mmonths .wlnum.up { color: var(--learn-right); }

/* The eight weeks: thin stacked columns, a 2px gap between kinds, rounded tops. */
.mfigure { margin: 0; display: grid; gap: 0.375rem; }
.mfigure[hidden] { display: none; }
.mchartbox svg { display: block; width: 100%; height: auto; overflow: visible; }
.mbase { stroke: var(--ui-line); stroke-width: 1; }
.mhit { fill: transparent; }
.mpiece { fill: var(--kind-grammar); }
.mpiece.k-pronunciation { fill: var(--kind-pronunciation); }
.mpiece.k-vocabulary { fill: var(--kind-vocabulary); }
.mpiece.k-other { fill: var(--ui-dim); }
@media (hover: hover) { .mcol:hover .mpiece { filter: brightness(1.12); } }
.mvalue { fill: var(--ui-text); font: 700 11px var(--ui-num, var(--ui-font)); }
.maxis { display: flex; justify-content: space-between; color: var(--ui-dim); font-size: max(0.8125rem, var(--text-min, 0.8125rem)); }

/* ── the class board ────────────────────────────────────────────────────── */
.boardnote { margin: 0.625rem 0 0.375rem; }
.boardrow.apart { margin-top: 0.5rem; }
