:root{--ink:#2d2020;--brand:#d90000;--brand-dark:#b80000;--muted:#736363;--line:#eed7d7;--page:#fffbfb;--panel:#fff1f1;--accent-soft:#f1b2b2;--accent-light:#ffd1d1;--orange:#a45126;--alert:#a60000;--white:#fff; font-family:Inter,"Avenir Next","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #df4343;outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}
.site-header{max-width:1144px;margin:auto;padding:26px 40px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:24px;font-weight:650;letter-spacing:-1.4px;line-height:1}.brand-edge{font-weight:400;color:var(--brand)}.brand small{display:block;font-size:8px;letter-spacing:2.05px;margin-top:9px;font-weight:600;color:var(--muted)}.brand-mark{width:43px;height:43px;border-radius:15px;background:#ffe2e2;display:grid;place-items:center;color:var(--brand)}.brand-mark svg{width:27px;height:27px}.header-note{font-size:12px;color:var(--muted);letter-spacing:.2px}
main{width:min(100% - 40px,760px);margin:30px auto 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:0 3px 24px}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:700;color:var(--muted);margin:0 0 11px}h1{font-size:40px;line-height:1.1;letter-spacing:-1.8px;margin:0;font-weight:600}h1 span{color:#fe0002}.heading-spark{font-size:51px;font-weight:400;line-height:1;color:#ec9898;margin-right:13px;transform:rotate(14deg)}
.timer-card{border:1px solid #f0cccc;border-radius:30px;background:var(--panel);padding:26px 38px 18px;position:relative;overflow:hidden;transition:background .3s,border-color .3s}.timer-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.state-pill{display:inline-flex;align-items:center;gap:8px;background:#ffffffa6;border:1px solid #ffffffad;border-radius:99px;padding:8px 12px;font-size:11px;font-weight:600;color:var(--brand);white-space:nowrap}.status-dot{height:6px;width:6px;border-radius:50%;background:#d24f4f;flex:none}.icon-button{display:flex;align-items:center;justify-content:center;gap:7px;border:0;color:var(--muted);font-size:11px;background:transparent;min-height:36px;padding:5px 2px}.icon-button:hover{color:var(--brand)}.icon-button svg{width:17px;height:17px}
.countdown-area{margin:30px auto 22px;text-align:center}.time-display{font-family:"Avenir Next","Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;display:flex;align-items:center;justify-content:center;gap:9px;line-height:1;font-size:clamp(76px,15.5vw,138px);font-weight:550;letter-spacing:-6px;color:#741818}.time-display>span:not(.colon){min-width:1.27em}.time-display .colon{color:#e39a9a;font-weight:300;transform:translateY(-6px);font-size:.8em;margin:0 8px}.time-labels{display:flex;justify-content:center;gap:107px;font-size:9px;letter-spacing:2.5px;color:#896565;margin-top:12px;padding-left:10px}.time-labels span{width:75px}.finish-message{font-size:16px;font-weight:650;margin:14px 0 0;min-height:0}.finish-message:empty{display:none}.progress-track{height:5px;background:#f2d4d4;border-radius:30px;width:78%;margin:0 auto 29px;overflow:hidden}.progress-track>div{height:100%;width:100%;background:#fe0002;border-radius:30px;transition:width .15s linear,background .2s}.controls{display:flex;justify-content:center;gap:10px}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;font-size:13px;font-weight:600;border:1px solid transparent;transition:background .15s,transform .15s;padding:0 19px;white-space:nowrap}.button:active{transform:translateY(1px)}.primary{min-width:179px;background:var(--brand);color:var(--white);box-shadow:0 4px 9px #9b000012}.primary:hover{background:var(--brand-dark)}.primary svg{width:19px;height:19px}.secondary{background:#ffffff9e;border-color:#efc9c9;color:var(--brand);min-width:106px}.secondary:hover,.add-time:hover{background:#fff}.secondary svg{width:16px;height:16px}.add-time{background:transparent;color:var(--brand);border-color:#e8baba;min-width:87px}.timer-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:29px;font-size:10px;color:#8c6e6e}.timer-bottom>span{display:inline-flex;align-items:center;gap:5px}.timer-bottom svg{width:13px;height:13px}
.settings{padding:26px 8px 0}.settings-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px}h2{font-size:15px;font-weight:600;margin:0;letter-spacing:-.2px}.settings-head>span{font-size:11px;color:var(--muted)}.time-fields{display:flex;align-items:end;gap:13px}.time-fields label{font-size:10px;font-weight:550;color:var(--muted);flex:1;min-width:0}.time-fields input{display:block;width:100%;margin-top:8px;height:48px;border:1px solid #ead0d0;border-radius:10px;color:var(--ink);padding:0 15px;background:#fff;font-variant-numeric:tabular-nums;font-size:18px;outline-offset:2px}.time-fields input:focus{border-color:#dc6262}.field-colon{height:48px;display:flex;align-items:center;color:#d59a9a;font-size:23px;font-weight:400}.apply{background:#ffe4e4;color:var(--brand);min-width:133px}.apply:hover{background:#ffd4d4}.apply>span{margin-left:14px;font-size:18px;font-weight:400}.input-error{font-size:12px;color:#a60000;line-height:1.5;margin:8px 0}.input-error:empty{display:none}.presets{display:flex;align-items:center;gap:7px;margin-top:19px;flex-wrap:wrap}.presets-label{font-size:10px;color:var(--muted);margin-right:7px}.presets button{color:#785e5e;background:transparent;border:1px solid #edd7d7;border-radius:8px;padding:7px 12px;font-size:10px;min-height:33px;transition:background .15s}.presets button:hover{border-color:#d79595;background:#fff0f0}.presets button[aria-pressed=true]{background:#ffdddd;border-color:#e4a9a9;color:var(--brand);font-weight:650}.sound-controls{margin-top:24px;border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.text-button{background:transparent;border:0;padding:4px 0;min-height:30px;display:flex;align-items:center;gap:8px;color:var(--brand);font-size:11px}.text-button svg{width:15px;height:15px}.text-button:hover{text-decoration:underline}.volume-control{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px}.volume-control input{width:100px;height:17px;accent-color:var(--brand);cursor:pointer;margin:0}.volume-control>span{width:29px;font-variant-numeric:tabular-nums}.device-note{font-size:10px;color:#886c6c;text-align:center;line-height:1.65;margin:24px 0 0}.device-note.warning{color:#a52b2b}footer{width:min(100% - 56px,744px);margin:38px auto 24px;display:flex;justify-content:space-between;color:#9b8383;font-size:9px;letter-spacing:1.2px}footer span:last-child{letter-spacing:0;font-size:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-state=running] .status-dot{background:#78936c}body[data-state=running] .state-pill{color:#5a744e}body[data-state=paused] .state-pill{color:#9a733a}body[data-state=paused] .status-dot{background:#be985f}body[data-urgent=true] .time-display{color:#a66428}body[data-urgent=true] #progress{background:#ca9566}body[data-state=finished] .timer-card{background:#ffe4e4;border-color:#edaaaa}body[data-state=finished] .time-display,body[data-state=finished] .finish-message{color:var(--alert)}body[data-state=finished] .state-pill{color:var(--alert)}body[data-state=finished] .status-dot{background:var(--alert)}body[data-ringing=true] .primary{background:var(--alert)}body[data-ringing=true] .timer-card{box-shadow:0 0 0 5px #a6000010}body[data-state=finished] .colon{color:#df8a8a}
body.focus-mode{background:var(--panel)}body.focus-mode .site-header,body.focus-mode .page-heading,body.focus-mode .settings,body.focus-mode .device-note,body.focus-mode footer{display:none}body.focus-mode main{margin:0;width:100%;min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:22px}body.focus-mode .timer-card{border:0;width:min(100%,1400px);padding:30px;overflow:visible}body.focus-mode .countdown-area{margin:6vh auto 4vh}body.focus-mode .time-display{font-size:clamp(85px,25vw,300px)}body.focus-mode .time-labels{gap:21vw;font-size:12px}body.focus-mode .progress-track{max-width:960px;margin-bottom:5vh}body.focus-mode .controls .button{min-height:58px;font-size:16px}body.focus-mode .timer-bottom{padding-top:4vh}body.focus-mode .finish-message{font-size:26px}
@media(min-width:900px) and (max-height:820px){main{margin-top:8px}.site-header{padding-top:20px;padding-bottom:18px}.page-heading{margin-bottom:17px}h1{font-size:34px}.timer-card{padding-top:18px;padding-bottom:15px}.countdown-area{margin-top:22px;margin-bottom:18px}.time-display{font-size:116px}.timer-bottom{padding-top:22px}.settings{padding-top:21px}.settings-head{margin-bottom:11px}.presets{margin-top:13px}.sound-controls{margin-top:18px;padding-top:12px}footer{margin-top:23px}.device-note{margin-top:17px}}
@media(max-width:600px){.site-header{padding:20px 22px}.header-note{display:none}main{width:calc(100% - 32px);margin-top:24px}.page-heading{margin-bottom:21px}.eyebrow{font-size:9px}h1{font-size:34px}.heading-spark{font-size:43px;margin-right:8px}.timer-card{border-radius:24px;padding:20px 19px 17px}.state-pill{font-size:10px;padding:8px 9px}.icon-button span{display:none}.icon-button{width:32px}.countdown-area{margin-top:33px;margin-bottom:25px}.time-display{font-size:clamp(76px,20vw,115px);letter-spacing:-4px;gap:2px}.time-display .colon{margin:0 6px}.time-labels{gap:18vw;font-size:8px;letter-spacing:1.8px;margin-top:13px}.progress-track{width:91%;margin-bottom:24px}.controls{gap:7px}.controls .button{padding:0 12px;min-height:46px;font-size:12px}.primary{min-width:136px;flex:1}.secondary{min-width:83px}.add-time{min-width:67px}.timer-bottom{padding-top:24px;font-size:9px}.settings{padding:24px 3px 0}.settings-head>span{font-size:10px}.time-fields{gap:9px}.time-fields input{padding:0 10px}.apply{min-width:107px;padding:0 12px;font-size:12px}.apply>span{margin-left:5px}.presets{gap:6px;margin-top:16px}.presets-label{width:100%;margin:0 0 4px}.presets button{flex:1;padding:7px 8px}.sound-controls{margin-top:20px}.volume-control{gap:7px}.volume-control input{width:81px}.device-note{margin:22px 12px 0;font-size:10px}footer{margin-top:28px}.time-display.long-time{font-size:18vw}body.focus-mode main{padding:6px}body.focus-mode .timer-card{padding:16px}body.focus-mode .time-display{font-size:22vw}body.focus-mode .time-display.long-time{font-size:19vw}body.focus-mode .controls .button{font-size:12px;min-height:48px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
.heading-spark{width:48px;height:48px}.apply>svg{width:16px;height:16px;margin-left:12px}@media(max-width:600px){.heading-spark{width:42px;height:42px}.apply>svg{margin-left:4px}}

.brand-logo{width:64px;height:64px;display:block;object-fit:contain;border-radius:10px;flex:none}.brand-name{font-size:18px;letter-spacing:-.35px;font-weight:650}.brand small{font-size:8px;letter-spacing:1.7px;margin-top:8px}.brand{gap:13px}@media(max-width:600px){.brand-logo{width:55px;height:55px}.brand-name{font-size:17px}}
