@font-face { font-family: LocalMono; src: local('Cascadia Code'), local('SFMono-Regular'), local('Consolas'); font-display: swap; }
:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; font-size: 18px; background: #202322; color: #f3f2e9; --muted: #c4cec2; --line: #515a50; --accent: #c5ddad; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; touch-action: manipulation; }
button { cursor: pointer; border: 0; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
[hidden] { display: none !important; }
.shell { max-width: 1100px; padding: 6px 6px calc(62px + env(safe-area-inset-bottom)); margin: auto; }
.timer-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.timer-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 82px; gap: 6px; align-items: center; background: var(--card); color: #233028; border-radius: 15px; padding: 5px 8px 5px 0; border: 2px solid transparent; min-height: 138px; }
.timer-card.is-ringing { border-color: #b52037; }
.timer-content { min-width: 0; }
.card-heading { display: flex; min-width: 0; }
.title-input { font-size: 20px; font-weight: 700; background: transparent; border: 0; border-bottom: 1px solid transparent; color: #223026; width: 100%; min-width: 0; padding: 1px 2px 3px; border-radius: 0; }
.title-input:hover, .title-input:focus { border-bottom-color: #23302888; }
.drag-handle { align-self: stretch; background: transparent; color: #304334; font-size: 29px; width: 36px; min-height: 48px; touch-action: none; padding: 0; border-radius: 8px; }
.drag-handle:hover { background: #00000012; }
.display { display: grid; align-content: center; justify-items: center; position: relative; background: #202823; border-radius: 20px; width: 100%; color: #f4f7ed; min-height: 82px; padding: 4px 6px 6px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; overflow: hidden; }
.digits { font-family: LocalMono, 'Courier New', monospace; font-size: clamp(43px, 13vw, 62px); font-weight: 700; letter-spacing: -2.5px; font-variant-numeric: tabular-nums; line-height: 1.02; white-space: pre; }
.display-status { font-size: 14px; line-height: 1.2; color: #d6e0d0; margin-top: 3px; }
.total-duration { font-family: LocalMono, 'Courier New', monospace; font-variant-numeric: tabular-nums; font-size: 12px; line-height: 1.3; color: #e9eddf; margin-top: 2px; }
.display[data-tone=red] .digits { color: #ff8989; }
.display[data-tone=yellow] .digits { color: #ffe274; }
.hold-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.hold-outline rect { width: calc(100% - 6px); height: calc(100% - 6px); fill: none; stroke: #ff35dc; stroke-width: 6px; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.holding .hold-outline { opacity: 1; }
.holding .hold-outline rect { animation: hold-progress 1s linear forwards; }
@keyframes hold-progress { to { stroke-dashoffset: 0; } }
.card-actions { display: grid; gap: 7px; align-content: center; }
.card-actions button { min-height: 48px; border-radius: 9px; font-size: 18px; font-weight: 700; padding: 5px 2px; }
.card-primary { background: #233d2c; color: #fff; }
.card-secondary { background: transparent; border: 1px solid #314b3899; color: #23372a; }
.card-primary:hover { background: #35543e; }
.card-secondary:hover { background: #ffffff35; }
.card-meta { display: none; }
.card-meta > :last-child { display: none; }
.dragging { opacity: .5; }
.drop-target { outline: 3px dashed #fff; outline-offset: -3px; }
.app-footer { position: fixed; z-index: 5; bottom: 0; left: 0; width: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 5px max(8px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); background: #202322; border-top: 1px solid #626b5e; }
.summary { margin-right: auto; font-size: 16px; color: #d5dfce; }
.silence-button { background: #ebdec0; color: #282b22; border-radius: 9px; font-size: 16px; font-weight: 700; min-height: 44px; padding: 6px 11px; }
.icon-button { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #ffffff0c; border: 1px solid #727e6b; border-radius: 10px; flex-shrink: 0; }
.icon-button svg { width: 27px; height: 27px; }
.icon-button:hover { background: #ffffff20; }
h2 { font-size: 28px; font-weight: 700; margin: 0; }
dialog { color: #f3f2e9; background: #292f2a; border: 1px solid #697663; border-radius: 18px; padding: 22px; max-width: 620px; width: calc(100% - 20px); max-height: calc(100dvh - 20px); overflow-y: auto; box-shadow: 0 24px 100px #0008; }
dialog::backdrop { background: #101713d9; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.global-settings { border-block: 1px solid var(--line); padding: 18px 0; display: grid; gap: 18px; }
.global-settings label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; }
select, input[type=number] { background: #202722; border: 1px solid #829278; border-radius: 8px; color: #fff; padding: 9px; min-height: 46px; }
input[type=checkbox] { width: 25px; height: 25px; accent-color: var(--accent); flex-shrink: 0; }
.check-label { justify-content: flex-start !important; }
.alarm-setting { padding: 20px 0; border-bottom: 1px solid var(--line); }
.setting-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.setting-header h3 { font-size: 20px; overflow-wrap: anywhere; margin: 0; }
.setting-buttons { display: flex; gap: 5px; }
.small-button { background: #ffffff09; color: #fff; border: 1px solid #ffffff55; border-radius: 7px; min-width: 44px; min-height: 46px; font-size: 18px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.swatch { height: 44px; width: 44px; border: 3px solid transparent; border-radius: 50%; color: #223026; font-size: 24px; }
.swatch[aria-checked=true] { border-color: white; box-shadow: 0 0 0 2px #202322; }
.sound-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 18px; }
.sound-row select { flex: 1; min-width: 130px; }
.sound-row label { min-width: 45px; }
.add-button { margin: 20px 0 0; width: 100%; min-height: 48px; border: 1px dashed #acc19f; border-radius: 9px; background: transparent; color: var(--accent); }
.help { font-size: 17px; line-height: 1.6; color: #d3ddcd; }
.help h3 { color: #fff; font-size: 20px; margin-top: 26px; }
.help p:empty { display: none; }
.help [role=status] { color: #ffe5a2; }
.duration-dialog { max-width: 420px; text-align: center; }
.muted { color: #d0dcc7; font-size: 17px; line-height: 1.5; }
.wheel-wrap { position: relative; max-width: 260px; margin: 15px auto; isolation: isolate; }
.minute-wheel { height: 220px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; padding-block: 88px; scrollbar-width: none; position: relative; z-index: 1; mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.minute-wheel::-webkit-scrollbar { display: none; }
.minute-option { display: block; background: transparent; color: #c3d2b7; height: 44px; width: 100%; scroll-snap-align: center; font-family: LocalMono, 'Courier New', monospace; font-size: 30px; line-height: 44px; padding: 0; }
.minute-option[aria-selected=true] { color: #f2ffe7; font-size: 36px; font-weight: 700; }
.wheel-selection { position: absolute; top: 88px; height: 44px; border-block: 1px solid #a8c891; background: #c5ddad09; width: 100%; pointer-events: none; }
.wheel-unit { position: absolute; top: 99px; right: 25px; color: #d8ecc4; font-size: 18px; pointer-events: none; z-index: 2; }
.accessible-minute { display: flex; gap: 12px; align-items: center; justify-content: center; font-size: 18px; color: #d0dcc7; }
.accessible-minute input { width: 96px; }
.dialog-actions { display: flex; gap: 10px; margin-top: 24px; }
.dialog-actions button { flex: 1; min-height: 48px; border-radius: 9px; font-size: 18px; font-weight: 700; }
.primary { background: var(--accent); color: #233028; }
.secondary { background: transparent; color: #ecf7e2; border: 1px solid #a1b58f; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 700px) { .shell { padding: 8px 10px calc(78px + env(safe-area-inset-bottom)); } .timer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .timer-card { grid-template-columns: 36px minmax(0, 1fr) 82px; min-height: 156px; } .digits { font-size: clamp(44px, 6.4vw, 68px); } .display { min-height: 100px; } .app-footer { gap: 16px; } }
@media (max-width: 359px) { .timer-card { grid-template-columns: 28px minmax(0, 1fr) 72px; gap: 4px; padding-right: 5px; } .drag-handle { width: 28px; } .digits { font-size: 40px; letter-spacing: -2px; } .card-actions button { font-size: 16px; } .summary { font-size: 13px; } .app-footer { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Compact settings: four complete editing groups before secondary preferences/help. */
#settings { padding: 8px; width: calc(100% - 12px); max-height: calc(100dvh - 12px); }
#settings .dialog-heading { margin-bottom: 4px; min-height: 44px; }
#settings h2 { font-size: 24px; }
#settings .icon-button { width: 44px; height: 44px; }
#settings .alarm-setting { padding: 4px 0; }
#settings .setting-header { min-height: 36px; }
#settings .setting-header h3 { font-size: 18px; }
#settings .setting-buttons { gap: 4px; }
#settings .small-button { min-width: 36px; min-height: 36px; font-size: 17px; }
#settings .swatches { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 4px; margin: 4px 0; }
#settings .swatch { width: 100%; height: 36px; padding: 0; border-radius: 9px; border-width: 3px; font-size: 24px; }
#settings .swatch[aria-checked=true] { border-color: #ff35dc; box-shadow: inset 0 0 0 1px #402037; }
#settings .sound-row { gap: 6px; flex-wrap: nowrap; font-size: 16px; }
#settings .sound-row select { min-width: 0; width: 0; min-height: 36px; padding: 4px; font-size: 16px; }
#settings .sound-row .small-button { font-size: 16px; padding-inline: 6px !important; }
#settings .sound-row label { min-width: 44px; }
#settings .add-button { margin-top: 6px; min-height: 40px; }
#settings .preferences, #settings .help { margin-top: 6px; }
#settings summary { cursor: pointer; min-height: 36px; padding: 7px 4px; font-size: 17px; color: #e2eddb; }

/* Active colors, compact clock widths, and theme-aware contrast. */
.timer-card { background: var(--idle-card); color: var(--idle-ink, #e3eadf); grid-template-columns: 36px minmax(0, 1fr) minmax(92px, .65fr); column-gap: 10px; }
.timer-card.is-active { background: var(--card); color: var(--active-ink); }
.timer-card .title-input, .timer-card .drag-handle, .timer-card .card-secondary { color: inherit; }
.timer-card .card-secondary { border-color: currentColor; }
.timer-content { width: 100%; }
.display { width: min(100%, 6.4ch); font-size: clamp(43px, 13vw, 62px); min-width: 0; margin-inline: auto; padding-inline: 4px; }
.digits { font-size: 1em; }
.display-status { font-size: 13px; }
.total-duration { font-size: 11px; }
.timer-card:not(.is-active) .digits { color: #a7b3a6; }
.card-actions { gap: 9px; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
#speech-open { padding: 4px 8px; }
.tts-toggle { display: flex; align-items: center; gap: 3px; font-size: 14px; white-space: nowrap; }
.tts-toggle input { width: 20px; height: 20px; margin: 0; }
#settings .setting-header h3 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preference-note { font-size: 15px; line-height: 1.5; margin: 0; color: #d3ddcd; }
#speech-settings .global-settings label { justify-content: flex-start; }
#speech-settings .global-settings label select { margin-left: auto; }
#speech-settings .dialog-actions { margin-top: 0; }
#speech-status { color: #ffe5a2; }
@media (min-width: 700px) { .timer-card { grid-template-columns: 32px minmax(0, 1fr) minmax(88px,.65fr); gap: 8px; } .display { font-size: clamp(40px,5.8vw,58px); } }
@media (max-width: 359px) { .timer-card { grid-template-columns: 28px minmax(0, 1fr) 80px; gap: 5px; } .display { font-size: 38px; } #settings .setting-header h3 { font-size: 16px; } .tts-toggle { font-size: 13px; } }
:root[data-theme=light] { color-scheme: light; background: #eef1ed; color: #1b2b21; --line: #82917c; --accent: #365e24; --muted: #465a43; --idle-ink: #374a35; }
[data-theme=light] .display { background: #fbfdf8; color: #172c1d; }
[data-theme=light] .display-status, [data-theme=light] .total-duration { color: #3c533a; }
[data-theme=light] .timer-card:not(.is-active) .digits { color: #63705f; }
[data-theme=light] .display[data-tone=red] .digits { color: #b71d30; }
[data-theme=light] .display[data-tone=yellow] .digits { color: #806000; }
[data-theme=light] .app-footer { background: #f8fbf6; border-color: #82917c; }
[data-theme=light] .summary { color: #34492f; }
[data-theme=light] .silence-button { background: #d7e5c8; color: #23361e; }
[data-theme=light] .icon-button, [data-theme=light] .small-button { background: #f5f9f0; color: #22341e; border-color: #879b7b; }
[data-theme=light] dialog { background: #f0f5eb; color: #1b2b21; border-color: #7f9275; }
[data-theme=light] select, [data-theme=light] input[type=number] { background: #fff; color: #243720; border-color: #778b6c; }
[data-theme=light] .help, [data-theme=light] .muted, [data-theme=light] .preference-note, [data-theme=light] .accessible-minute, [data-theme=light] #settings summary { color: #354d2e; }
[data-theme=light] .help h3 { color: #1b2b21; }
[data-theme=light] #speech-status, [data-theme=light] .help [role=status] { color: #7b4a00; }
[data-theme=light] .primary { background: #355c29; color: #fff; }
[data-theme=light] .secondary { color: #2e4b25; border-color: #758e68; }
[data-theme=light] .minute-option { color: #4c6740; }
[data-theme=light] .minute-option[aria-selected=true] { color: #193b11; }
[data-theme=light] .wheel-unit { color: #34562a; }
[data-theme=light] .wheel-selection { border-color: #5f814b; }
[data-theme=light] button:focus-visible, [data-theme=light] input:focus-visible, [data-theme=light] select:focus-visible, [data-theme=light] [tabindex]:focus-visible { outline-color: #9a007e; }

#speech-settings select { max-width: 100%; min-width: 0; }
#speech-voice { width: 100%; }
#speech-settings .global-settings label { flex-wrap: wrap; }
#speech-settings .global-settings label select { max-width: 60%; }

/* Explicit controls and an anchored, continuous-gesture minute picker. */
.digits, .total-duration, .minute-option { font-family: Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.digits { letter-spacing: -1.5px; }
.timer-name { font-size: 20px; line-height: 1.25; margin: 0; padding: 1px 2px 4px; color: inherit; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: default; }
.timer-content { position: relative; }
.display { touch-action: none; }
.card-actions { gap: 7px; }
.action-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.card-actions button { min-height: 46px; }
.card-actions svg { width: 26px; height: 26px; vertical-align: middle; }
.card-actions .reset-button svg { width: 30px; height: 30px; }
.card-primary, .card-primary:hover { background: #ffdc59; color: #17221c; border: 2px solid #17221c; box-shadow: 0 0 0 1px #ffffffb3; }
.card-primary:hover { background: #ffed99; }
.add-minute { background: #f8faf3; color: #17221c; border: 2px solid #17221c; font-size: 18px; }
.card-actions .reset-button { border-width: 2px; }
.app-footer { justify-content: space-between; }
.app-footer #settings-open { order: 0; }
.app-footer .summary { order: 1; margin: 0 auto 0 0; }
.app-footer .silence-button { order: 2; margin-left: auto; }
#settings { height: calc(100dvh - 8px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); max-height: calc(100dvh - 8px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); width: calc(100% - 8px); }
#settings .dialog-heading { position: sticky; top: -8px; z-index: 3; background: #292f2a; padding: 4px 0; margin-top: -4px; }
#settings .alarm-setting { padding: 7px 0; }
.name-input { flex: 1; width: 0; min-width: 0; min-height: 36px; padding: 3px 4px; background: #202722; border: 1px solid #8e9c85; border-radius: 7px; color: #fff; font-size: 18px; font-weight: 700; }
#settings .setting-buttons { flex-shrink: 0; }
button[data-close] { color: #ff777e !important; font-size: 27px; font-weight: 900; border: 2px solid #ff777e; }
.duration-picker { position: absolute; z-index: 8; left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 138px; padding: 2px; background: #252e28; color: #f3f7e8; border: 2px solid #ff35dc; border-radius: 18px; box-shadow: 0 5px 18px #0008; }
.duration-picker .wheel-wrap { margin: 0; width: 100%; height: 86px; }
.duration-picker .minute-wheel { height: 86px; padding-block: 21px; border-radius: 12px; }
.duration-picker .wheel-selection { top: 21px; }
.duration-picker .wheel-unit { top: 32px; right: 8px; font-size: 15px; }
.duration-picker .minute-option { font-size: 26px; }
.duration-picker .minute-option[aria-selected=true] { font-size: 34px; }
.picker-actions { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; gap: 3px; }
.picker-actions button { min-width: 0; min-height: 40px; border-radius: 8px; padding: 0; font-size: 24px; font-weight: 700; }
.picker-actions .accessible-minute { min-width: 0; }
.picker-actions input { width: 100%; min-width: 0; min-height: 40px; padding: 2px; font-size: 18px; text-align: center; }
.picker-actions #duration-cancel { color: #ff777e; }
.timer-card.is-editing { z-index: 9; position: relative; }
[data-theme=light] .card-primary { background: #ffdc59; color: #17221c; }
[data-theme=light] #settings .dialog-heading { background: #f0f5eb; }
[data-theme=light] .name-input { background: #fff; color: #23351e; border-color: #798d70; }
[data-theme=light] button[data-close] { color: #bb1230 !important; border-color: #bb1230; }
[data-theme=light] .duration-picker { background: #f0f5eb; color: #18331a; }
[data-theme=light] #duration-cancel { color: #bb1230; }
@media (max-width: 359px) { .timer-name { font-size: 18px; } .action-pair { gap: 5px; } .card-actions button { font-size: 16px; } .picker-actions { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 2px; } .name-input { font-size: 16px; } }

.duration-picker .minute-option { text-align: center; }

/* Large-print view and two gentle but distinct daylight palettes. */
.timer-card { grid-template-columns: minmax(0,1fr) 100px; gap: 10px; padding: 6px 10px; min-height: 148px; position: relative; touch-action: none; user-select: none; -webkit-user-select: none; }
.timer-name { font-size: 40px; line-height: 1.1; padding: 0 0 4px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.timer-name-text { display: inline-block; white-space: nowrap; will-change: transform; }
.name-overflow .timer-name-text { animation: name-pan var(--name-duration) ease-in-out infinite alternate; }
@keyframes name-pan { 0%,15% { transform: translateX(0); } 85%,100% { transform: translateX(calc(-1 * var(--name-overflow))); } }
.display { width: 100%; font-size: clamp(56px,18.2vw,86px); min-height: 80px; padding: 2px 4px 5px; }
.digits { font-size: 1em; line-height: 1.02; }
.display.has-wide-time .digits { font-size: .92em; }
.display-status { font-size: 14px; }
.total-duration { font-size: 12px; }
.tile-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; z-index: 12; }
.tile-outline rect { width: calc(100% - 6px); height: calc(100% - 6px); fill: none; stroke: #ff35dc; stroke-width: 6px; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.tile-holding .tile-outline { opacity: 1; }
.tile-holding .tile-outline rect { animation: hold-progress 1s linear forwards; }
.timer-card.dragging { opacity: .88; z-index: 20; box-shadow: 0 12px 36px #0009; outline: 4px solid #ff35dc; }
.duration-picker { transform: none; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #252e28; box-shadow: inset 0 0 0 3px #ff35dc; }
.duration-picker .wheel-wrap { height: 100%; width: 100%; margin: 0; }
.duration-picker .minute-wheel { height: 100%; padding: 0; }
.duration-picker .wheel-selection { top: 50%; height: 64px; transform: translateY(-50%); }
.duration-picker .minute-option { height: 64px; line-height: 64px; font-size: 44px; }
.duration-picker .minute-option[aria-selected=true] { font-size: 60px; }
.duration-picker .wheel-unit { top: 50%; transform: translateY(-50%); right: 9px; font-size: 18px; }
#settings .alarm-setting { margin: 10px 0; padding: 0; border: 1px solid #809075; border-radius: 12px; overflow: hidden; background: #ffffff06; }
#settings .alarm-summary { min-height: 58px; padding: 12px; font-size: 25px; font-weight: 700; cursor: pointer; color: #f3f6ed; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#settings .alarm-setting[open] .alarm-summary { border-bottom: 1px solid #809075; color: #d8efb7; }
#settings .setting-header { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
#settings .name-input { width: 100%; flex: auto; min-height: 58px; font-size: 30px; padding: 8px; }
#settings .setting-buttons { justify-content: space-between; }
#settings .setting-buttons .small-button { min-width: 48px; min-height: 48px; font-size: 22px; }
#settings .tts-toggle { font-size: 19px; gap: 8px; }
#settings .tts-toggle input { width: 27px; height: 27px; }
#settings .swatches { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; padding: 0 14px; margin: 0 0 14px; }
#settings .swatch { height: 48px; font-size: 30px; }
#settings .sound-row { flex-wrap: wrap; padding: 0 14px 14px; font-size: 20px; gap: 8px; }
#settings .sound-row select { width: auto; flex: 1; min-width: 150px; min-height: 48px; font-size: 19px; }
#settings .sound-row .small-button { min-height: 48px; font-size: 19px; }
.help-guide { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 4px 8px; }
[data-theme=light] #settings .alarm-summary { color: #293c25; }
[data-theme=light] #settings .alarm-setting[open] .alarm-summary { color: #365e24; }
@media(min-width:700px) { .timer-card { grid-template-columns: minmax(0,1fr) 100px; min-height: 156px; } .display { font-size: clamp(56px,9vw,81px); } }
@media(max-width:359px) { .timer-card { grid-template-columns: minmax(0,1fr) 90px; gap: 7px; padding: 6px; } .timer-name { font-size: 36px; } .display { font-size: 56px; } .heading-actions { gap: 5px; } #settings h2 { font-size: 21px; } .help-guide { padding-inline: 5px; } }
@media(prefers-reduced-motion:reduce) { .name-overflow .timer-name-text { animation: none; } .timer-name { overflow-x: auto; } }

/* Fixed geometry, an off-digit grip, and unmistakable whole-tile alarms. */
.timer-card { height: 156px; min-height: 156px; grid-template-columns: minmax(0,1fr) 96px; gap: 8px; padding: 6px 8px; }
.timer-name { height: 48px; }
.display { --clock-bg: #202823; background: var(--clock-bg); height: 84px; min-height: 84px; display: grid; grid-template-columns: minmax(0,1fr) 44px; grid-template-rows: 1fr; align-content: stretch; align-items: center; justify-items: start; padding: 0 0 0 8px; }
.digits { grid-column: 1; justify-self: start; text-align: left; }
.display.has-wide-time .digits { font-size: .8em; }
.adjust-grip { grid-column: 2; display: flex; justify-content: center; align-items: center; width: 44px; height: 100%; color: #cadac5; cursor: ns-resize; }
.adjust-grip svg { width: 25px; height: 48px; }
.is-editing .adjust-grip { color: #ff35dc !important; }
.holding .hold-outline rect { animation-duration: .3s; }
.card-actions { grid-template-rows: 46px 44px; gap: 8px; position: relative; z-index: 2; }
.snooze-button { min-height: 44px !important; background: #fff0a3; border: 2px solid #2d2017; color: #2d2017; font-size: 18px !important; font-weight: 800; }
.timer-card.is-ringing { background: #b91e3c !important; color: #fff !important; border-color: #ffcc24; animation: alarm-attention 1.6s ease-in-out infinite; }
.timer-card.is-ringing::before { content: ''; position: absolute; inset: 0; border: 5px solid #ffdd38; border-radius: 13px; pointer-events: none; background: repeating-linear-gradient(120deg,#ffdc4533 0 14px,transparent 14px 30px); }
.timer-card.is-ringing::after { content: 'ALARM'; position: absolute; right: 10px; top: 6px; color: #fff; font-weight: 900; font-size: 15px; letter-spacing: 2px; }
.timer-card.is-ringing .timer-content { position: relative; z-index: 1; }
.timer-card.is-ringing .snooze-button { background: #ffe55b; box-shadow: 0 0 0 2px #fff; }
@keyframes alarm-attention { 0%,100% { box-shadow: 0 0 0 3px #ffce22,0 0 12px 4px #ff365999; filter: brightness(1); } 50% { box-shadow: 0 0 0 5px #ffed82,0 0 26px 8px #ff3659dd; filter: brightness(1.2); } }
#adjustment-scrim { position: fixed; inset: 0; z-index: 40; background: #000b; }
.timer-card.is-editing { z-index: 41; }
.timer-card.is-editing.is-ringing { animation: none; }
.duration-picker { background: #202823; box-shadow: none !important; border: 0; border-radius: 18px 0 0 18px; }
.duration-picker .wheel-selection { display: none; }
.duration-picker .minute-option { height: var(--wheel-row); line-height: var(--wheel-row); font-size: .8em; padding: 0 0 0 8px; letter-spacing: -1.5px; color: inherit !important; opacity: .35; text-align: left; }
.duration-picker .minute-option[aria-selected=true] { font-size: 1em; opacity: 1; }
#settings .save-timer { background: #66da79; color: #102b17; border: 2px solid #248537; font-size: 32px; font-weight: 900; }
#settings .delete-timer { display: block; width: calc(100% - 28px); margin: 10px 14px 16px; min-height: 48px; color: #ff99a3; border: 2px solid #cf5665; font-size: 19px; }
#settings .speech-row { display: flex; padding: 2px 14px 10px; min-height: 48px; }
[data-theme=light] .display { --clock-bg: #fbfdf8; }
[data-theme=light] .adjust-grip { color: #354f31; }
[data-theme=light] #settings .delete-timer { color: #ad1832; }
[data-palette=citrus] { background: #fffbea; --idle-ink: #263510; }
[data-palette=citrus] .display { --clock-bg: #fffef6; color: #22391b; }
[data-palette=citrus] dialog,[data-palette=citrus] #settings .dialog-heading { background: #fff9dc; }
[data-palette=citrus] .app-footer { background: #fffbe8; }
[data-palette=citrus] .card-primary { background: #253368; color: #fff; border-color: #fff; }
[data-palette=citrus] .silence-button { background: #ffd74c; color: #28310c; }
[data-palette=bloom] { background: #fff2fa; --idle-ink: #42224e; }
[data-palette=bloom] .display { --clock-bg: #fffbff; color: #392044; }
[data-palette=bloom] dialog,[data-palette=bloom] #settings .dialog-heading { background: #fff3fc; }
[data-palette=bloom] .app-footer { background: #fff1fd; }
[data-palette=bloom] .card-primary { background: #74228e; color: #fff; border-color: #fff; }
[data-palette=bloom] .silence-button { background: #f8b0de; color: #4a1753; }
@media(prefers-reduced-motion:reduce) { .timer-card.is-ringing { animation: none; box-shadow: 0 0 0 5px #ffdc38; } }

/* Full-width names; one transport control beside the clock. */
.timer-content { display: contents; }
.timer-card { grid-template-columns: minmax(0,1fr) 64px; grid-template-rows: 48px 84px; gap: 6px 8px; }
.card-heading { grid-column: 1 / -1; grid-row: 1; min-width: 0; position: relative; z-index: 1; }
.display { grid-column: 1; grid-row: 2; position: relative; z-index: 1; }
.card-actions { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: center; height: 84px; }
.card-primary { width: 60px; height: 60px; min-height: 60px; padding: 10px; }
.timer-card.is-ringing::after { top: 54px; right: 8px; width: 60px; text-align: center; font-size: 11px; letter-spacing: 1px; }
#settings .delete-timer { position: relative; overflow: hidden; touch-action: none; user-select: none; }
.holding-delete::after { content: ''; position: absolute; inset: auto 0 0; height: 6px; background: #ff3664; transform-origin: left; animation: delete-progress .3s linear forwards; }
@keyframes delete-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Persistent tile editing and live, animated grid reordering. */
.timer-grid { position: relative; }
.timer-card.tile-editing { outline: 4px solid #ff35dc; outline-offset: -4px; }
.tile-editing .timer-name { cursor: text; text-decoration: underline; text-decoration-color: #ff35dc; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tile-name-input { width: 100%; min-width: 0; height: 48px; font-size: 36px; font-weight: 700; padding: 0 4px; border: 2px solid #ff35dc; border-radius: 8px; background: var(--clock-bg,#202823); color: #fff; user-select: text; -webkit-user-select: text; }
[data-theme=light] .tile-name-input { background: #fff; color: #17221c; }
.timer-card.dragging { opacity: 1; z-index: 30; will-change: transform; cursor: grabbing; }
.timer-card.dragging.is-ringing { animation: none; }
.display { padding-left: 12px; }
.display.has-wide-time .digits { font-size: 1em; }
.duration-picker .minute-option { padding-left: 12px; }
@media(max-width:359px) { .display { font-size: 48px; grid-template-columns: minmax(0,1fr) 36px; padding-left: 8px; } .adjust-grip { width: 36px; } }
/* Save remains in the familiar transport position throughout adjustment. */
.card-primary.save-duration, .card-primary.save-duration:hover { background: #48f46e; color: #102816; border: 3px solid #102816; box-shadow: 0 0 0 2px #fff; }
.card-primary.save-duration svg { width: 38px; height: 38px; }
.minute-wheel { touch-action: none; }
[data-palette=midnight] { background: #09070f; color: #f4edff; --accent: #ceacff; --line: #8567a6; --idle-ink: #f4edff; }
[data-palette=slate] { background: #515b60; color: #fff; --accent: #76f4df; --line: #a1babd; --idle-ink: #fff; }
[data-palette=midnight] .display { --clock-bg: #110c1b; color: #f6edff; }
[data-palette=slate] .display { --clock-bg: #29383d; color: #edfffb; }
[data-palette=midnight] dialog,[data-palette=midnight] #settings .dialog-heading,[data-palette=midnight] .app-footer { background: #171021; color: #f4edff; border-color: #8567a6; }
[data-palette=slate] dialog,[data-palette=slate] #settings .dialog-heading,[data-palette=slate] .app-footer { background: #3c4b50; color: #fff; border-color: #a1babd; }
[data-palette=midnight] .card-primary:not(.save-duration),[data-palette=midnight] .silence-button { background: #cda4ff; color: #21102f; border-color: #fff; }
[data-palette=slate] .card-primary:not(.save-duration),[data-palette=slate] .silence-button { background: #66eed7; color: #102d2a; border-color: #fff; }
[data-palette=midnight] input:not([type=checkbox]),[data-palette=midnight] select,[data-palette=midnight] .small-button { background: #21162f; color: #f6edff; border-color: #a186bd; }
[data-palette=slate] input:not([type=checkbox]),[data-palette=slate] select,[data-palette=slate] .small-button { background: #293b40; color: #edfffb; border-color: #a1babd; }
[data-palette=midnight] .summary,[data-palette=midnight] .help,[data-palette=midnight] .preference-note { color: #e5d5f5; }
[data-palette=slate] .summary,[data-palette=slate] .help,[data-palette=slate] .preference-note { color: #e3f5f3; }

[data-palette=midnight] #settings .alarm-setting[open] .alarm-summary,[data-palette=slate] #settings .alarm-setting[open] .alarm-summary { color: var(--accent); }
[data-palette=midnight] .primary,[data-palette=slate] .primary { background: var(--accent); color: #17201f; }

/* No footer panel: the last tile can scroll completely clear of the floating gear. */
html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.shell { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
#settings-open.floating-settings { position: fixed; z-index: 35; left: max(12px,env(safe-area-inset-left)); bottom: max(12px,env(safe-area-inset-bottom)); width: 58px; height: 58px; border: 2px solid #fff; border-radius: 50%; background: #273129; color: #fff; box-shadow: 0 3px 14px #0008,0 0 0 1px #17221c; }
#settings-open.floating-settings svg { width: 32px; height: 32px; stroke-width: 2; }
[data-theme=light] #settings-open.floating-settings { background: #263a30; color: #fff; }
[data-palette=bloom] #settings-open.floating-settings { background: #74228e; }
[data-palette=citrus] #settings-open.floating-settings { background: #253368; }
[data-palette=midnight] #settings-open.floating-settings { background: #cda4ff; color: #21102f; border-color: #21102f; box-shadow: 0 3px 14px #0008,0 0 0 1px #e7d2ff; }
[data-palette=slate] #settings-open.floating-settings { background: #66eed7; color: #102d2a; border-color: #102d2a; box-shadow: 0 3px 14px #0008,0 0 0 1px #d8fff6; }
.has-ringing .timer-card:not(.is-ringing)::before { content: ''; position: absolute; inset: 0; z-index: 15; border-radius: 13px; background: #0009; pointer-events: none; }
.adjusting .timer-card.is-editing:not(.is-ringing)::before { display: none; }
/* A translucent, full-height rail leaves the selected digits readable underneath. */
#swipe-rail { position: fixed; z-index: 43; inset: 0 auto 0 0; width: clamp(64px,20vw,104px); height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: max(8px,env(safe-area-inset-top)) 0 max(8px,env(safe-area-inset-bottom)); background: linear-gradient(90deg,#862ba833,#862ba80a); border-left: 3px solid #ff35dc; color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: ns-resize; }
#swipe-rail > span:not(.rail-label) { background: #54205e; border: 2px solid #ff8be9; border-radius: 12px; width: 48px; text-align: center; font-size: 32px; font-weight: 800; line-height: 40px; }
#swipe-rail .rail-label { position: absolute; left: 1px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-size: 17px; font-weight: 700; color: #fff; background: #54205e; border-radius: 5px; padding: 10px 1px; }
/* A native touch-scrolling lane outside every tile's long-press handlers. */
:root { --scroll-gutter: 44px; --gutter-bg: #202823; --gutter-ink: #e5f0dc; }
.scroll-gutter { position: fixed; z-index: 10; inset: 0 auto 0 0; width: var(--scroll-gutter); height: 100dvh; display: flex; flex-direction: column; justify-content: space-around; align-items: center; background: var(--gutter-bg); color: var(--gutter-ink); border-right: 1px solid currentColor; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.scroll-gutter svg { width: 24px; height: 44px; pointer-events: none; flex-shrink: 0; }
.shell { padding-left: calc(var(--scroll-gutter) + 6px); }
#settings-open.floating-settings { left: calc(var(--scroll-gutter) + max(12px,env(safe-area-inset-left))); }
[data-theme=light] { --gutter-bg: #e3ebe4; --gutter-ink: #264e39; }
[data-palette=bloom] { --gutter-bg: #eed8f6; --gutter-ink: #74228e; }
[data-palette=citrus] { --gutter-bg: #fff1c3; --gutter-ink: #253368; }
[data-palette=midnight] { --gutter-bg: #21162f; --gutter-ink: #cda4ff; }
[data-palette=slate] { --gutter-bg: #3c4b50; --gutter-ink: #66eed7; }
.display { container-type: inline-size; grid-template-columns: minmax(0,1fr) 36px; padding-left: 8px; }
.adjust-grip { width: 36px; }
.digits, .display.has-wide-time .digits { font-size: min(1em, calc((100cqw - 48px) / 3)); }
.duration-picker .minute-option { padding-left: 8px; }

/* Keep Android's document/toolbar scroll out of the gutter's gesture path. */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
#timer-viewport { position: fixed; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; overflow-anchor: none; -webkit-overflow-scrolling: touch; scroll-behavior: auto; }
#scroll-gutter { height: auto; bottom: 0; touch-action: none; -webkit-touch-callout: none; }
#swipe-rail { height: auto; bottom: 0; }



/* A single tall scroll grip; settings stays entirely inside the gutter. */
#scroll-gutter { justify-content: center; padding: 0; }
#scroll-gutter > svg { width: 24px; height: 132px; }
#settings-open.floating-settings { left: 0; bottom: max(6px,env(safe-area-inset-bottom)); width: var(--scroll-gutter); height: 44px; border-radius: 12px; box-shadow: none !important; }
#settings-open.floating-settings svg { width: 30px; height: 30px; }

/* Solid gear glyph, without a button panel crossing the gutter edge. */
#settings-open.floating-settings { padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; color: var(--gutter-ink) !important; box-shadow: none !important; }
#settings-open.floating-settings svg { width: 40px; height: 40px; flex-shrink: 0; }
#settings-open.floating-settings:focus-visible { outline: 2px solid var(--gutter-ink); outline-offset: -3px; }
#settings-open.floating-settings:active svg { transform: scale(.92); }
/* The existing grip communicates the temporary time-adjustment mode. */
.adjusting #scroll-gutter { z-index: 42; filter: none; background: #ffc5f2; color: #64004e; box-shadow: inset 0 0 0 3px #d000a7; }
.adjusting #scroll-gutter > svg { height: clamp(64px,18vh,132px); stroke-width: 4.5; animation: adjust-grip-bob 1.25s ease-in-out infinite; }
.adjusting #scroll-gutter > svg path:last-child { stroke-width: 5.5; }
.adjusting #settings-open { z-index: 44; filter: none; --gutter-ink: #64004e; }
#swipe-rail { width: var(--scroll-gutter); padding: 0; background: transparent; border: 0; }
#swipe-rail .rail-label { left: 50%; top: max(8px,env(safe-area-inset-top)); transform: translateX(-50%); padding: 0; border-radius: 0; background: transparent; color: #64004e; font-size: clamp(10px,2.1vh,16px); font-weight: 800; }
@keyframes adjust-grip-bob { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@media(prefers-reduced-motion:reduce) { .adjusting #scroll-gutter > svg { animation: none; } }

/* Whole-interface zoom and user-selected responsive column limit. */
/* Root zoom enlarges dvh-based top-layer dialogs beyond the actual screen.
   Bound the dialog box separately; only its contents should need scrolling. */
dialog, #settings {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(var(--dialog-viewport-width,100vw) - 8px);
  max-width: min(620px,calc(var(--dialog-viewport-width,100vw) - 8px));
  max-height: calc(var(--dialog-viewport-height,100dvh) - 8px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}
#settings { height: calc(var(--dialog-viewport-height,100dvh) - 8px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
dialog > .dialog-heading { position: sticky; top: -22px; z-index: 3; background: inherit; }
#timer-viewport { max-width: var(--panel-max,1100px); }
#timers { grid-template-columns: repeat(var(--timer-columns,1),minmax(0,1fr)); }
.layout-settings { padding: 12px 0 18px; border-bottom: 1px solid var(--line); display: grid; gap: 7px; }
.layout-settings label { display: flex; justify-content: space-between; gap: 12px; font-size: 20px; font-weight: 700; }
.layout-settings output { color: var(--accent); font-variant-numeric: tabular-nums; }
.layout-settings input[type=range] { display: block; width: 100%; height: 42px; margin: 0; accent-color: var(--accent); }
.slider-ticks { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; }
.ipad-tips { line-height: 1.5; }
.ipad-tips a { color: inherit; text-decoration: underline; }
[data-compact=true] .timer-card { grid-template-columns: minmax(0,1fr); grid-template-rows: 48px 84px 64px; height: 226px; min-height: 226px; }
[data-compact=true] .card-heading { grid-column: 1; }
[data-compact=true] .display { grid-column: 1; grid-template-columns: minmax(0,1fr) 24px; padding-left: 4px; }
[data-compact=true] .adjust-grip { width: 24px; }
[data-compact=true] .digits { font-size: min(1em,calc((100cqw - 28px)/3)); }
[data-compact=true] .card-actions { grid-column: 1; grid-row: 3; height: 64px; justify-content: flex-end; }
[data-compact=true] dialog .dialog-heading { flex-wrap: wrap; gap: 8px; }
[data-compact=true] .heading-actions { flex-wrap: wrap; width: 100%; justify-content: flex-end; }
[data-compact=true] #settings h2 { font-size: 25px; }
[data-compact=true] .layout-settings label { flex-wrap: wrap; font-size: 18px; }
[data-compact=true] .slider-ticks { font-size: 11px; }
[data-compact=true] #settings .swatches { grid-template-columns: repeat(2,minmax(0,1fr)); }
[data-compact=true] .global-settings label { flex-wrap: wrap; }
[data-compact=true] .global-settings select { max-width: 100%; min-width: 0; }
[data-compact=true] .timer-card.is-ringing::after { top: auto; bottom: 59px; }

/* Blueprint: squared engineering panels and a technical graph-paper canvas. */
[data-palette=blueprint] { background-color: #071a2c; background-image: linear-gradient(#6cd5ff14 1px,transparent 1px),linear-gradient(90deg,#6cd5ff14 1px,transparent 1px); background-size: 24px 24px; color: #ecf9ff; font-family: Consolas,'Courier New',monospace; --accent:#7ee8ff; --line:#5e91b6; --gutter-bg:#031321; --gutter-ink:#7ee8ff; }
[data-palette=blueprint] .timer-card { border: 2px solid var(--card); border-radius: 0; box-shadow: 5px 5px 0 #02080f; }
[data-palette=blueprint] .timer-name { font-family: Consolas,'Courier New',monospace; letter-spacing: -1.5px; }
[data-palette=blueprint] .display { --clock-bg:#031321; color:#effcff; border-radius: 0; border: 1px solid #649dbc; }
[data-palette=blueprint] .card-primary:not(.save-duration) { background:#7ee8ff; color:#062038; border:2px solid #ecf9ff; border-radius:0; }
[data-palette=blueprint] dialog,[data-palette=blueprint] #settings .dialog-heading { background:#0c263c; color:#ecf9ff; border-radius:0; }
[data-palette=blueprint] #settings .alarm-setting,[data-palette=blueprint] input:not([type=range]):not([type=checkbox]),[data-palette=blueprint] select,[data-palette=blueprint] .small-button { background:#102f48; color:#ecf9ff; border-color:#649dbc; border-radius:0; }
[data-palette=blueprint] .summary,[data-palette=blueprint] .help,[data-palette=blueprint] .preference-note { color:#c7e8f8; }

/* Paper & Ink: recipe-book typography, hard ink outlines and color tabs. */
:root[data-palette=paper] { background:#f5efd9; color:#211e1a; font-family:Georgia,'Times New Roman',serif; --accent:#583b21; --line:#8b765c; --gutter-bg:#e5d9b6; --gutter-ink:#292116; }
[data-palette=paper] .timer-card:not(.is-ringing) { background:#fffdf4; color:#211e1a; }
[data-palette=paper] .timer-card { border:3px solid #292116; border-left:12px solid var(--card); border-radius:3px; box-shadow:4px 4px 0 #292116; }
[data-palette=paper] .timer-name { font-family:Georgia,'Times New Roman',serif; font-style:italic; }
[data-palette=paper] .display { --clock-bg:#fffdf4; color:#211e1a; border-radius:0; border-bottom:3px solid #292116; }
[data-palette=paper] .timer-card:not(.is-active) .digits { color:#746550; }
[data-palette=paper] .card-primary:not(.save-duration) { background:#292116; color:#fffdf4; border:2px solid #292116; border-radius:3px; }
[data-palette=paper] dialog,[data-palette=paper] #settings .dialog-heading { background:#fffdf4; color:#211e1a; border:2px solid #292116; border-radius:3px; }
[data-palette=paper] #settings .alarm-setting,[data-palette=paper] input:not([type=range]):not([type=checkbox]),[data-palette=paper] select,[data-palette=paper] .small-button { background:#fffdf4; color:#211e1a; border-color:#66563e; border-radius:2px; }
[data-palette=paper] .help,[data-palette=paper] .preference-note,[data-palette=paper] #settings summary { color:#4c3d2a; }
[data-palette=paper] .display[data-tone=red] .digits { color:#b60c31; }

/* Arcade: neon cabinet colors, soft pill shapes and luminous clock frames. */
[data-palette=arcade] { background:radial-gradient(ellipse at 80% 0,#54104e,transparent 65%),#140022; color:#fff1ff; --accent:#d7ff3f; --line:#cf6be8; --gutter-bg:#280938; --gutter-ink:#ff8fe5; }
[data-palette=arcade] .timer-card { border:3px solid var(--card); border-radius:28px; box-shadow:0 0 14px #e040ff55; }
[data-palette=arcade] .timer-name { font-weight:900; letter-spacing:1px; }
[data-palette=arcade] .display { --clock-bg:#15051f; color:#fff1ff; border-radius:28px; box-shadow:inset 0 0 0 2px #ff63d5; }
[data-palette=arcade] .timer-card:not(.is-active) .digits { color:#bdabd0; }
[data-palette=arcade] .card-primary:not(.save-duration) { background:#d7ff3f; color:#20102d; border:3px solid #ff70d4; border-radius:50%; box-shadow:0 0 10px #f854cc88; }
[data-palette=arcade] dialog,[data-palette=arcade] #settings .dialog-heading { background:#280938; color:#fff1ff; border-color:#cf6be8; border-radius:24px; }
[data-palette=arcade] #settings .alarm-setting,[data-palette=arcade] input:not([type=range]):not([type=checkbox]),[data-palette=arcade] select,[data-palette=arcade] .small-button { background:#351248; color:#fff1ff; border-color:#cf6be8; border-radius:16px; }
[data-palette=arcade] .help,[data-palette=arcade] .preference-note { color:#f0cff8; }
[data-palette=blueprint] .display[data-tone=red] .digits,[data-palette=arcade] .display[data-tone=red] .digits { color:#ff8b9e; }
[data-palette=blueprint] .timer-card.is-ringing::before,[data-palette=paper] .timer-card.is-ringing::before,[data-palette=arcade] .timer-card.is-ringing::before { border-radius:inherit; }
