@font-face{font-family:IBM Plex Mono Dotless;src:url(/fonts/ibm-plex-mono-regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{color-scheme:dark;--bg:#050505;--surface:#0b0b0b;--surface-raised:#101010;--text:#f3f3ef;--muted:#83837e;--subtle:#30302d;--line:#1c1c1a;--line-bright:#31312d;--timer:#f7f7f1;--accent:#d9e3cb;--accent-ink:#10120e;font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--bg);min-width:320px;color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;overflow:hidden}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--text);outline-offset:4px}.font-jetbrains{font-family:JetBrains Mono,monospace}.font-dm-mono{font-family:DM Mono,monospace}.font-space-mono{font-family:Space Mono,monospace}.font-ibm-plex{font-family:IBM Plex Mono Dotless,monospace}.font-manrope{letter-spacing:-.12em;font-family:Manrope,sans-serif}.font-sf-pro{letter-spacing:-.04em;font-family:SF Pro Display,SF Pro Text,Inter,-apple-system,BlinkMacSystemFont,Helvetica Neue,Segoe UI,system-ui,sans-serif}.display-hero.font-sf-pro,.option-chip-preview.font-sf-pro{letter-spacing:-.04em;font-weight:400}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell{--page-gutter:clamp(1.25rem, 4vw, 4.5rem);height:100svh;padding:0 var(--page-gutter);grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.topbar{border-bottom:1px solid var(--line);grid-template-columns:1fr auto 1fr;align-items:center;gap:2rem;min-height:85px;display:grid}.topbar-left,.topbar-center,.topbar-right{align-items:center;display:flex}.topbar-left{justify-content:flex-start}.topbar-center{justify-content:center}.topbar-right{justify-content:flex-end;gap:.75rem}.wordmark{letter-spacing:-.07em;color:var(--text);font-size:1rem;font-weight:600}.view-panel{overscroll-behavior:contain;min-height:0;display:flex;overflow-y:auto}.content-view{flex:1;grid-template-rows:minmax(0,1fr) auto;width:min(100%,1000px);margin:0 auto;display:grid}.stage{place-items:center;min-height:0;padding:clamp(1.5rem,4vh,3rem) 0;display:grid}.view-section{justify-content:center;width:100%;display:none}.view-section.is-visible{display:flex}.panel{text-align:center;flex-direction:column;align-items:center;gap:clamp(1.3rem,3.2vh,2rem);display:flex}.display-settings{border-top:1px solid var(--line);padding:1.1rem 0 1.5rem}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:.63rem;font-weight:500;line-height:1.2}.display-hero{letter-spacing:-.11em;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap;color:var(--timer);user-select:none;text-shadow:0 0 .12em #f7f7f11a,0 0 .7em #f7f7f10f;font-size:clamp(3.2rem,9.6vw,8.5rem);font-weight:400;line-height:.8;transition:text-shadow .42s,color .42s}.panel:has(.button-primary.is-paused) .display-hero{color:#fbfbf5;text-shadow:0 0 .12em #d9e3cb38,0 0 .7em #d9e3cb24}.clock-hero{align-items:baseline;gap:.15em;display:flex}.clock-seconds{letter-spacing:.02em;font-variant-numeric:tabular-nums;color:var(--muted);font-family:DM Mono,monospace;font-size:clamp(1.1rem,3vw,2.1rem)}.controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:.9rem;display:flex}.button{cursor:pointer;letter-spacing:.01em;border:0;border-radius:3px;font-size:.76rem;font-weight:600;transition:transform .15s,background .15s,border-color .15s,color .15s}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--accent);min-width:11rem;min-height:3.4rem;color:var(--accent-ink);justify-content:space-between;align-items:center;gap:2.6rem;padding:.85rem 1rem .85rem 1.15rem;display:inline-flex}.button-primary kbd{color:#586052;font-size:.72rem}.button-primary.is-paused{background:#e6e6e1}#timer-start-label,#sw-start-label{text-align:left;min-width:4.4rem;display:inline-block}.icon-button{border:1px solid var(--line-bright);color:#c7c7c1;cursor:pointer;background:0 0;border-radius:3px;place-items:center;width:3.4rem;height:3.4rem;transition:border-color .15s,color .15s,transform .15s;display:grid}.icon-button:hover{color:var(--text);border-color:#777770;transform:translateY(-1px)}.icon-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;width:1rem;height:1rem}.chip-button{border:1px solid var(--line-bright);color:var(--text);cursor:pointer;background:0 0;border-radius:4px;align-items:center;gap:.5rem;padding:.48rem .7rem;font-size:.72rem;font-weight:500;transition:border-color .15s,background .15s,transform .15s;display:inline-flex}.chip-button:hover{background:#10100f;border-color:#6d6d67;transform:translateY(-1px)}.sound-toggle{justify-content:center}.sound-toggle .sound-off-icon,.sound-toggle[aria-pressed=false] .sound-on-icon{display:none}.sound-toggle[aria-pressed=false] .sound-off-icon{display:block}.mode-dropdown{position:relative}.mode-trigger{color:#c7c7c1;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:.6rem;padding:.42rem .6rem;font-size:.75rem;font-weight:500;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.mode-trigger:hover,.mode-trigger.is-open{color:var(--text);border-color:var(--line-bright);background:#10100f}.mode-panel{border:1px solid var(--line-bright);background:var(--surface);z-index:30;border-radius:5px;flex-direction:column;min-width:16rem;display:none;position:absolute;top:calc(100% + .6rem);left:50%;overflow:hidden;transform:translate(-50%)}.mode-panel.is-open{display:flex}.mode-item{color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.7rem .9rem;display:grid}.mode-item+.mode-item{border-top:1px solid var(--line)}.mode-item:hover,.mode-item.is-active{color:var(--text);background:var(--surface-raised)}.mode-item-label{flex-direction:column;gap:.2rem;display:flex}.mode-item-title{color:var(--text);font-size:.78rem}.mode-item-desc,.mode-item-kbd{color:var(--muted);font-size:.66rem}.font-picker{flex-direction:column;align-items:center;gap:.9rem;width:100%;display:flex}.font-row{flex-wrap:wrap;justify-content:center;gap:.6rem;display:flex}.option-chip{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;grid-template-columns:auto auto;align-items:center;gap:.32rem;padding:.27rem .42rem;font-size:.61rem;transition:border-color .15s,color .15s,background .15s,transform .15s;display:grid}.option-chip:hover{color:#d2d2cd;transform:translateY(-1px)}.option-chip.is-selected{border-color:var(--line-bright);background:var(--surface-raised);color:var(--text)}.option-chip-preview{font-size:.72rem}.dialog{border:1px solid var(--line-bright);background:var(--surface);width:min(100% - 2rem,35rem);color:var(--text);border-radius:5px;padding:0;box-shadow:0 1.5rem 5rem #0000008c}.dialog::backdrop{background:#000000b8}.dialog-inner{flex-direction:column;gap:1.6rem;padding:1.8rem;display:flex}.dialog-header{justify-content:space-between;align-items:baseline;display:flex}.dialog-title{color:#b5b5af;font-size:.8rem}.dialog-close{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:.72rem}.dialog-body{flex-direction:column;gap:1.6rem;display:flex}.number-row{flex-wrap:wrap;align-items:center;gap:1.2rem;display:flex}.number-field{border-bottom:1px solid var(--line-bright);color:var(--muted);align-items:baseline;gap:.3rem;display:inline-flex}.number-field input{width:2.2rem;color:var(--text);font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:0;outline:0;padding:.2rem 0 .45rem;font-family:DM Mono,monospace;font-size:1.2rem}.number-field input::-webkit-inner-spin-button,.number-field input::-webkit-outer-spin-button{appearance:none;margin:0}.preset-row{flex-wrap:wrap;gap:.6rem;display:flex}.preset-chip{border:1px solid var(--line-bright);color:var(--text);cursor:pointer;background:0 0;border-radius:4px;padding:.4rem .7rem;font-size:.72rem}.dialog-actions{justify-content:flex-end;align-items:center;gap:1.1rem;display:flex}.button-ghost{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:.4rem .2rem;font-size:.74rem;font-weight:500;transition:color .15s}.button-ghost:hover{color:var(--text)}.focus-mode .topbar,.focus-mode .display-settings,.focus-mode .controls,.focus-mode .eyebrow{display:none!important}.app-shell.focus-mode{grid-template-rows:minmax(0,1fr);padding:0}.focus-mode .content-view{grid-template-rows:minmax(0,1fr)}.focus-mode .stage{touch-action:manipulation;padding:0}.focus-mode .display-hero{font-size:clamp(5rem,26vw,20rem)}.focus-mode [data-view=stopwatch] .display-hero{font-size:clamp(4rem,18vw,15rem)}.focus-controls{left:50%;bottom:max(1.5rem, calc(env(safe-area-inset-bottom,0px) + 1rem));z-index:45;display:none;position:fixed;transform:translate(-50%)}.focus-mode .focus-controls:not([hidden]){display:flex}.focus-action{backdrop-filter:blur(14px);min-height:3.1rem;color:var(--text);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#0c0c0b99;border:1px solid #f7f7f138;border-radius:999px;align-items:center;gap:.55rem;padding:0 1.45rem;font-family:inherit;font-size:.72rem;font-weight:600;transition:background .15s,border-color .15s,transform .12s;display:inline-flex}.focus-action:hover{background:#181815bf;border-color:#f7f7f159}.focus-action:active{transform:scale(.96)}.focus-action:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.focus-icon{flex:none;width:1.05rem;height:1.05rem}.focus-icon-play{display:block}.focus-icon-pause,.focus-action.is-running .focus-icon-play{display:none}.focus-action.is-running .focus-icon-pause{display:block}.focus-hint{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);opacity:0;pointer-events:none;z-index:40;font-size:.6rem;font-weight:500;transition:opacity .4s;position:fixed;bottom:6.4rem;left:50%;transform:translate(-50%)}.focus-hint.is-visible{opacity:.55}@media (width<=680px){.topbar{grid-template-columns:1fr auto 1fr;gap:.6rem;min-height:76px}.wordmark{font-size:.9rem}.chip-button{padding:.44rem .55rem}.display-hero{--display-fit:calc((100vw - var(--page-gutter) * 2) / var(--chars,5) / .58);font-size:min(var(--display-cap,7.5rem), var(--display-fit))}#timer-display{--chars:5;--display-cap:7.5rem}#stopwatch-display{--chars:8;--display-cap:5.4rem}#clock-display{--chars:5;--display-cap:5.4rem}.clock-seconds{font-size:clamp(1.25rem,6vw,2.3rem)}.focus-mode .display-hero,.focus-mode [data-view=stopwatch] .display-hero{font-size:min(12rem, calc(100vw / var(--chars,5) / .55))}.controls{gap:.7rem}.button-primary{min-height:3.05rem}.icon-button{width:3.05rem;height:3.05rem}.display-settings{padding:.9rem 0 1.1rem}.font-picker{gap:.65rem}.font-row{gap:.3rem}.option-chip{gap:.26rem;padding:.22rem .34rem;font-size:.56rem}.option-chip-preview{font-size:.66rem}}@media (width<=480px){.focus-label{display:none}}@media (width<=420px){.wordmark{font-size:.82rem}.chip-button{gap:.35rem;font-size:.66rem}.mode-trigger{padding:.4rem .45rem;font-size:.7rem}.button-primary{gap:1.4rem;min-width:9.6rem}}@media (orientation:landscape) and (height<=620px){.app-shell{padding:0 clamp(1rem,3vw,2.5rem)}.topbar{gap:1rem;min-height:58px}.wordmark{font-size:.9rem}.app-shell:not(.focus-mode) .content-view{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:clamp(1rem,4vw,2.5rem)}.app-shell:not(.focus-mode) .stage{grid-area:1/1;padding:clamp(.5rem,2vh,1.25rem) 0}.app-shell:not(.focus-mode) .display-settings{border-top:0;border-left:1px solid var(--line);grid-area:1/2;align-items:center;padding:0 0 0 clamp(1rem,3vw,2.25rem);display:flex}.app-shell:not(.focus-mode) .font-picker{align-items:flex-start;gap:.55rem;width:auto}.app-shell:not(.focus-mode) .font-row{flex-flow:column;align-items:stretch;gap:.25rem}.app-shell:not(.focus-mode) .option-chip{justify-content:flex-start;align-items:center;gap:.32rem;padding:.2rem .35rem;display:flex}.panel{gap:clamp(.7rem,2vh,1.2rem)}.controls{gap:.7rem}.button-primary{min-width:10rem;min-height:2.9rem}.icon-button{width:2.9rem;height:2.9rem}.focus-controls{bottom:.85rem}.focus-action{min-height:2.7rem;padding:0 1.15rem;font-size:.66rem}.focus-hint{bottom:4.2rem}}@media (orientation:landscape) and (height<=430px){.topbar{min-height:52px}.app-shell:not(.focus-mode) .font-picker>.eyebrow{display:none}.app-shell:not(.focus-mode) .display-settings{padding-left:clamp(.75rem,2vw,1.5rem)}}
