/* Stopwatch — tool-specific styles (shared primitives in ../xct.css) */
.xsw .xsw-display { font-size: clamp(2.8rem, 13vw, 6rem); padding-top: 8px; }
.xsw.is-running .xsw-display { color: var(--xct-ink); }
.xsw:not(.is-running) .xsw-display { color: #2a2a2a; }
.xsw .xsw-sub { min-height: 1.4em; }
.xsw .xsw-btns { justify-content: center; }
.xsw .xsw-btns .xct-btn { min-width: 120px; }
.xsw .xsw-lapwrap { max-height: 320px; overflow-y: auto; margin-top: 8px; }
.xsw .xsw-laps th { position: sticky; top: 0; background: #fff; font-size: .8125rem; color: var(--xct-muted); font-weight: 500; }
.xsw .xsw-laps td:first-child, .xsw .xsw-laps th:first-child { width: 3.5em; }
.xsw .xsw-laps tr.is-best td { color: var(--xct-ok); }
.xsw .xsw-laps tr.is-worst td { color: var(--xct-danger); }
.xsw .xsw-hint { margin: 14px 0 0; text-align: center; font-size: .8125rem; color: var(--xct-muted); }
.xsw kbd {
	display: inline-block; padding: 1px 6px; border: 1px solid var(--xct-line); border-bottom-width: 2px;
	border-radius: 6px; background: var(--xct-soft); font: inherit; font-size: .75rem; color: var(--xct-ink);
}
@media (max-width: 520px) {
	.xsw .xsw-btns .xct-btn { min-width: 0; flex: 1 1 0; padding: 0 12px; }
	.xsw .xsw-hint { display: none; }
}
