.stopwatch { padding-block: var(--spacing) 3rem; }
.stopwatch h1 { max-width: none; }

.stopwatch-panel {
    max-width: 38rem;
    margin-block: 1.5rem;
    padding: var(--spacing);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stopwatch-panel h2 { font-size: 1.1rem; }

.stopwatch-panel output {
    display: block;
    font-size: clamp(1.7rem, 8vw, 3.8rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

.stopwatch-panel p { margin-block: 0.25rem 0.85rem; }
.stopwatch-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.stopwatch-actions button {
    min-height: 44px;
    min-width: 44px;
    border: 1px solid var(--muted);
    border-radius: 0.4rem;
    background: var(--surface);
    color: var(--text);
    padding: 0.45rem 0.75rem;
    font: inherit;
    cursor: pointer;
}

.stopwatch-actions button[data-toggle] { color: var(--surface); background: var(--primary); }
.stopwatch-actions button:disabled { color: var(--muted); cursor: default; }
.stopwatch-laps { max-width: 38rem; }
.stopwatch-laps table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-variant-numeric: tabular-nums; }
.stopwatch-laps th, .stopwatch-laps td { padding: 0.4rem 0.55rem; text-align: start; border-bottom: 1px solid var(--border); }
.stopwatch-guide { margin-top: 2rem; max-width: 65ch; }
