.tool__body [hidden] { display: none !important; }
.tm-display { font-size: clamp(3rem, 16vw, 6rem); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 8px 0 12px; letter-spacing: .02em; }
.tm-display.is-done { color: #d6336c; animation: tm-blink 1s steps(2) infinite; }
@keyframes tm-blink { 50% { opacity: .3; } }
.tm-inputs { margin-top: 16px; }
.tm-inputs .field { flex: 1 1 80px; }
.tm-presets .btn { padding: 6px 12px; }
.tm-phase { text-align: center; font-weight: 700; font-size: 1.2rem; color: var(--accent); }
.tm-phase.is-break { color: #2f9e44; }
.tm-cycles { text-align: center; margin: 8px 0; }
.tm-table-wrap { max-height: 360px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; }
.tm-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tm-table th, .tm-table td { padding: 6px 12px; text-align: right; border-bottom: 1px solid var(--border); }
.tm-table th:first-child, .tm-table td:first-child { text-align: left; }
.tm-table th { position: sticky; top: 0; background: var(--surface); }
.tm-table .is-best { color: #2f9e44; font-weight: 600; }
.tm-table .is-worst { color: #d6336c; font-weight: 600; }
.tm-sound { margin-top: 12px; }
.tm-table tbody:empty::after { content: 'Кіл ще немає'; display: block; padding: 10px 12px; color: var(--muted); }
