/* Shared styles for the countdown timer and stopwatch widgets. */
.mt-timer [hidden] { display: none !important; }
.mt-timer .tabs { margin-bottom: 14px; }
.mt-hms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mt-timer .chips { margin-top: 12px; }
.mt-display { margin: 18px 0 6px; padding: 22px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); color: var(--ink); text-align: center; font: 700 clamp(2.1rem, 11vw, 4.2rem)/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; }
.mt-display.mt-done { color: var(--err); border-color: var(--err); animation: mt-blink 1s steps(2, start) 6; }
@keyframes mt-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .mt-display.mt-done { animation: none; } }
.mt-status { margin: 0 0 12px; text-align: center; color: var(--muted); font-size: .95rem; min-height: 1.4em; }
.mt-actions { justify-content: center; flex-wrap: wrap; }
.mt-laps { margin-top: 16px; }
.mt-laps td, .mt-laps th { font-variant-numeric: tabular-nums; }
.mt-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: .72rem; font-weight: 600; border: 1px solid currentColor; }
.mt-fast { color: var(--ok); }
.mt-slow { color: var(--warn); }
