.presentation-timer-layer { position: fixed; z-index: 27; right: 1rem; bottom: 1rem; width: min(28rem, calc(100vw - 2rem)); pointer-events: none; }
.presentation-timer { pointer-events: auto; display: grid; gap: .6rem; padding: 1rem; border: 1px solid var(--line, #cbd5e1); border-radius: 1rem; background: var(--surface, #fff); box-shadow: 0 .75rem 2rem rgb(15 23 42 / .16); }
.presentation-timer__warning { margin: 0; color: #475569; font-size: .86rem; }
.presentation-timer__settings { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.presentation-timer label { display: grid; gap: .25rem; font-size: .75rem; font-weight: 600; }
.presentation-timer input { width: 100%; font: inherit; }
.presentation-timer__section, .presentation-timer__state { margin: 0; color: #1e3a8a; font-size: .88rem; }
.presentation-timer__clock { font-variant-numeric: tabular-nums; font-size: 2.6rem; font-weight: 800; letter-spacing: .06em; text-align: center; color: #0f172a; }
.presentation-timer__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.presentation-timer button { min-height: 2.25rem; padding: .45rem .75rem; border: 1px solid var(--line, #cbd5e1); border-radius: .6rem; background: transparent; cursor: pointer; }
.presentation-timer button.is-primary { color: #fff; background: #1d4ed8; border-color: #1d4ed8; }
.presentation-timer button:disabled { opacity: .5; cursor: not-allowed; }
.presentation-timer__help { color: #475569; }
.presentation-timer__error { margin: 0; color: #b91c1c; }
@media (max-width: 430px) { .presentation-timer-layer { right: .5rem; bottom: .5rem; width: calc(100vw - 1rem); } .presentation-timer__settings { grid-template-columns: repeat(2, 1fr); } }
@media (forced-colors: active) { .presentation-timer { border: 2px solid CanvasText; box-shadow: none; } .presentation-timer button.is-primary { background: Highlight; color: HighlightText; } }
@media print { .presentation-timer-layer, .presentation-timer-launcher { display: none !important; } }
