/* Study: progress indicator, directly under the nav */
.progress { width: 100%; max-width: 560px; margin: 22px auto 0; padding-inline: 20px; box-sizing: border-box; height: 38px; font-size: var(--fs-label); line-height: 16px; font-variant-numeric: tabular-nums; }
.progress[hidden] { display: none; }
.progress-track { display: flex; height: 4px; border-radius: 2px; background: var(--track-off); overflow: hidden; }
.progress .seg { display: block; height: 100%; flex: 0 1 auto; min-width: 0; transition: width .45s var(--ease); }
.progress .seg.done { background: var(--accent); border-radius: 2px; }
.progress .seg.learning { background: color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 2px; margin-inline-start: 2px; }
.progress .seg.done[style*="width: 0%"] + .seg.learning { margin-inline-start: 0; }
.progress .seg[style*="width: 0%"] { margin-inline-start: 0; }
.progress-text { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0 14px; margin-block-start: 8px; }
.pt-types { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 12px; }
.pt-type { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; box-sizing: border-box; flex: none; }
.dot.new { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(113,61,28,.35); }
.dot.learning { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.dot.review { background: var(--accent); }
@media (max-width: 600px) { .progress { padding-inline: 16px; margin-block-start: 18px; } }
@media (prefers-reduced-motion: reduce) { .progress .seg { transition: none; } }

/* T22: grade buttons live inside the card, under the translations */
.card > .grades { margin: 28px auto 12px; justify-content: center; }
@media (max-width: 600px) { .card > .grades { width: 100%; } }
