:root{color-scheme:dark;--bg:#141416;--card:#1d1d20;--raised:#27272b;--line:#343437;--text:#f6f3ed;--muted:#a5a4aa;--accent:#f8a16b;--green:#b4d8bd;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 0 10%,#232025 0,transparent 45%),var(--bg);color:var(--text);min-width:320px}button,input,select{font:inherit}button,a,input,summary,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:default}a{color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button{border:0}button,select,input{touch-action:manipulation}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.2rem,4.3vw,3.5rem);letter-spacing:-.055em;line-height:1.1;font-weight:620}h1 span{color:var(--muted)}h2{font-size:1.3rem;letter-spacing:-.025em;font-weight:600}h3{font-size:1.02rem;font-weight:600;margin:22px 0 8px}.shell{max-width:1120px;margin:auto;padding:0 38px}.topbar{display:flex;justify-content:space-between;align-items:center;height:108px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--text);display:flex;align-items:center;font-size:1.9rem;font-weight:650;letter-spacing:-.08em}.brand-icon{font-family:Georgia,serif;font-weight:400;letter-spacing:-.13em;padding-right:7px;font-size:2.15rem;display:grid;place-items:center;width:43px;height:43px;margin-right:11px;border:1px solid #6c5546;border-radius:13px;color:var(--accent)}.brand-period{color:var(--accent)}.top-actions{display:flex;align-items:center;gap:22px}.local-label{font-size:.85rem;color:var(--muted);display:flex;align-items:center;gap:8px}.local-label>span{width:6px;height:6px;border-radius:50%;background:var(--green)}.icon-button{display:grid;place-items:center;background:transparent;border:1px solid var(--line);border-radius:50%;min-width:36px;min-height:36px;font-size:1.1rem;color:var(--muted)}.icon-button svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.5}.intro{padding:46px 0 36px;display:flex;justify-content:space-between;align-items:end;gap:20px}.eyebrow{font-size:.75rem;letter-spacing:.14em;font-weight:650;color:var(--muted)}.intro .eyebrow{margin-bottom:16px;color:var(--accent)}.intro-copy{color:var(--muted);font-size:.94rem;line-height:1.7;padding-bottom:3px}.workspace{display:grid;grid-template-columns:1.04fr 1fr;gap:24px}.timer-card,.panel,.history-panel{background:var(--card);border:1px solid var(--line);border-radius:24px}.timer-card{padding:25px 30px 0;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#2e2724 0,transparent 60%),var(--card)}.card-heading,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.badge{background:#303034;border:1px solid #414145;color:#d7d6d9;border-radius:30px;padding:6px 11px;font-size:.76rem;white-space:nowrap}.badge.live{color:var(--green);border-color:#425b49;background:#26382c}.badge.demo{color:var(--accent);border-color:#6f4d39;background:#3b2b22}.dial{width:min(300px,100%);aspect-ratio:1;margin:25px auto 18px;position:relative}.dial-ring{width:100%;height:100%;transform:rotate(-90deg);position:absolute;inset:0}.dial-ring circle{fill:none;stroke-width:2}.track{stroke:#48413d;stroke-dasharray:1 7;stroke-linecap:round}.dial-ring .progress{stroke:var(--accent);stroke-width:3;stroke-dasharray:867.08;stroke-dashoffset:867.08;stroke-linecap:round;transition:stroke-dashoffset .12s linear}.dial-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:10px}.timer-label{color:#bfad9e;font-size:.75rem;letter-spacing:.13em;margin-bottom:11px}.time{font-size:5.5rem;font-weight:500;letter-spacing:-.065em;line-height:1.05;font-variant-numeric:tabular-nums}.decimal{font-size:2.9rem;color:var(--accent);letter-spacing:-.06em}.time-unit{margin-top:4px;color:var(--muted);font-size:.9rem}.shot-state{font-size:.8rem;color:var(--accent);margin-top:21px;min-height:16px}.running .dial-content{filter:drop-shadow(0 0 30px #f8a16b18)}.signal{padding:0 2px;margin:0 0 20px}.signal-header{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.78rem;margin-bottom:5px}canvas{width:100%;height:49px;display:block}.primary-button,.secondary-button{width:100%;min-height:52px;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:.94rem;font-weight:600;transition:background .15s}.primary-button{background:var(--accent);color:#291b13}.primary-button:hover{background:#ffb384}.primary-button.stop{background:#e6d2c0}.play-icon{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid currentColor}.stop .play-icon{width:11px;height:11px;background:currentColor;border:0;border-radius:2px}.fallback-copy{text-align:center;color:var(--muted);font-size:.75rem;margin:12px 0 23px}.last-shot{margin:0 -30px;border-top:1px solid var(--line);padding:18px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.8rem;background:#ffffff03}.last-shot>span{color:var(--muted)}.last-shot strong{font-weight:500}.side-column{display:flex;flex-direction:column;gap:18px}.panel{padding:27px 27px 23px}.section-heading .eyebrow{margin-bottom:9px;font-size:.75rem}.switch{width:46px;height:28px;flex-shrink:0;padding:4px;border-radius:18px;background:#45454a;transition:background .2s}.switch>span{display:block;width:20px;height:20px;border-radius:50%;background:#dddce0;transition:transform .2s}.switch[aria-checked=true]{background:var(--accent)}.switch[aria-checked=true]>span{transform:translateX(18px);background:#291b13}.body-copy{color:var(--muted);font-size:.89rem;line-height:1.65;margin-top:15px}.calibration-status{display:flex;gap:13px;align-items:center;margin:23px 0 17px}.fingerprint{display:grid;place-items:center;border:1px solid #604e43;border-radius:12px;width:40px;height:44px;font-size:2rem;color:var(--accent)}.calibration-status strong{font-size:.85rem;font-weight:500;display:block;margin-bottom:4px}.calibration-status span:not(.fingerprint){color:var(--muted);font-size:.75rem}.secondary-button{background:#2c2c30;border:1px solid #424247;color:#ede9e3;font-size:.85rem;min-height:46px}.secondary-button:hover{background:#37373c}.secondary-button>span{margin-left:auto}.detection-panel>.secondary-button{justify-content:space-between;padding:0 15px}.setting{margin-top:27px}.setting-heading{display:flex;justify-content:space-between;font-size:.84rem}.setting-heading output{color:var(--accent);font-variant-numeric:tabular-nums}input[type=range]{accent-color:var(--accent);width:100%;height:22px;margin:10px 0 3px;cursor:pointer}.range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:.75rem}.privacy-note{display:flex;gap:10px;align-items:start;border-top:1px solid var(--line);padding-top:17px;margin-top:20px;color:var(--muted);font-size:.75rem;line-height:1.6}.privacy-note svg{width:17px;min-width:17px;fill:none;stroke:#bbafa4;stroke-width:1.5}.advanced{margin-top:20px;color:var(--muted);font-size:.8rem}.advanced summary{cursor:pointer;padding:4px 0}.advanced label{display:block;margin:15px 0 8px}.advanced select{width:100%;color:var(--text);background:#29292c;border:1px solid var(--line);border-radius:9px;padding:10px 28px 10px 10px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23aaa' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.advanced p{font-size:.75rem;line-height:1.6;margin-top:10px}.demo-panel{border:1px dashed #4e4440;border-radius:18px;display:flex;align-items:center;justify-content:space-between;padding:20px 23px;gap:12px;background:#2a24221c}.demo-panel .eyebrow{font-size:.75rem;color:#b7a294}.demo-panel p{font-size:.85rem;margin-top:7px}.text-button{background:none;border:0;padding:8px 0;font-size:.79rem;color:var(--muted);white-space:nowrap}.text-button:hover{color:var(--accent)}.demo-panel button{color:var(--accent)}.small-play{font-size:.75rem;margin-left:8px}.history-panel{margin-top:26px;padding:25px 28px 7px}.history-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.history-heading .eyebrow{font-size:.75rem;margin-bottom:10px}.history-heading h2{font-size:1.2rem}.count{font-size:.75rem;font-weight:500;margin-left:8px;border:1px solid var(--line);border-radius:20px;padding:3px 8px;color:var(--muted);vertical-align:middle}.history-actions{display:flex;align-items:center;gap:20px}.history-actions .icon-button{border:0}.empty-history{display:flex;align-items:center;gap:18px;justify-content:center;padding:37px 0 33px}.empty-history>span{font-size:1.7rem;filter:grayscale(1);opacity:.5}.empty-history p{font-size:.87rem;color:#d0c9c2}.empty-history small{display:block;color:var(--muted);font-size:.76rem;margin-top:7px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-top:1px solid var(--line)}.history-row:first-child{margin-top:22px}.history-left{display:flex;align-items:center;gap:16px}.coffee-icon{width:36px;height:36px;border-radius:12px;background:#302922;display:grid;place-items:center;color:var(--accent)}.history-date{font-size:.85rem}.history-meta{color:var(--muted);font-size:.75rem;margin-top:5px}.history-duration{font-size:1.5rem;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.history-duration small{font-size:.8rem;color:var(--muted);margin-left:5px;letter-spacing:0}.history-stats{padding:13px 0;border-top:1px solid var(--line);font-size:.75rem;color:var(--muted)}footer{display:flex;justify-content:space-between;align-items:center;color:#8b8a90;font-size:.75rem;padding:24px 3px 30px}footer>span{font-family:Georgia,serif;font-style:italic;font-size:.9rem}.notice{background:#332921;border:1px solid #73523a;border-radius:14px;padding:15px 18px;margin-bottom:20px;color:#f1ceb4;font-size:.85rem;line-height:1.6}.notice a{font-weight:600}dialog{color:var(--text);background:#222225;border:1px solid #49474a;border-radius:24px;padding:28px;max-width:480px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;box-shadow:0 28px 90px #0008}dialog::backdrop{background:#0b0b0dcc;backdrop-filter:blur(6px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.dialog-top>.icon-button{border:0;font-size:1.7rem}.step-indicators{display:flex;gap:6px;margin-bottom:25px}.step-indicators span{height:3px;flex:1;background:#4a4541;border-radius:2px}.step-indicators .active{background:var(--accent)}dialog h2{font-size:1.65rem;line-height:1.2;margin-bottom:16px}dialog p{color:#bdb9b5;line-height:1.65;font-size:.92rem}dialog .hint{border-left:2px solid var(--accent);padding-left:12px;margin:16px 0;font-size:.8rem;color:#e0bd9f}progress{width:100%;height:6px;accent-color:var(--accent);margin:12px 0 25px;border:0}progress::-webkit-progress-bar{background:#444046;border-radius:6px}progress::-webkit-progress-value{background:var(--accent);border-radius:6px}dialog .error-text{color:#ffc5ae;margin:0 0 18px}.help-content{margin-bottom:15px}.help-content p{font-size:.85rem}.dialog-buttons{display:flex;gap:12px;margin-top:24px}.toast{position:fixed;z-index:50;bottom:calc(22px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;background:#e4d5c5;color:#30251d;padding:13px 20px;border-radius:13px;box-shadow:0 8px 40px #0006;font-size:.85rem;line-height:1.4}[hidden]{display:none!important}@media(min-width:800px){.timer-card{display:flex;flex-direction:column}.timer-card .dial{margin-top:32px;margin-bottom:24px}.timer-card .signal{margin-top:auto}.timer-card .last-shot{margin-top:0}.timer-card .primary-button{min-height:55px}}@media(max-width:799px){.shell{max-width:580px;padding:0 20px}.topbar{height:83px}.top-actions{gap:15px}.local-label{font-size:.75rem}.brand{font-size:1.6rem}.brand-icon{width:35px;height:35px;font-size:1.8rem;border-radius:11px;margin-right:8px}.intro{padding:31px 0 26px;align-items:start}.intro-copy{display:none}.intro .eyebrow{font-size:.75rem;margin-bottom:12px}h1{font-size:2.35rem}.workspace{grid-template-columns:1fr;gap:20px}.timer-card{padding:22px 23px 0;border-radius:22px}.dial{width:min(270px,100%);margin:20px auto 14px}.time{font-size:5.2rem}.timer-label{font-size:.75rem}.signal{margin-bottom:16px}.last-shot{margin:0 -23px;padding:17px 22px;font-size:.75rem}.fallback-copy{margin-bottom:20px}.panel{padding:24px 22px;border-radius:22px}.history-panel{padding:23px 20px 6px}.history-heading{align-items:start}.history-actions{gap:8px;align-items:center}.history-actions .text-button{font-size:.75rem;margin-top:1px}.history-heading h2{font-size:1.15rem}.history-heading .eyebrow{font-size:.75rem}.empty-history{justify-content:start;gap:13px;padding:31px 0}.empty-history p{font-size:.8rem}.empty-history small{font-size:.75rem;line-height:1.6}.demo-panel{padding:20px}.local-label>span{display:none}.section-heading h2{font-size:1.2rem}footer .text-button{font-size:.75rem}.history-duration{font-size:1.35rem}.history-left{gap:10px}dialog{padding:24px}.coffee-icon{width:30px;height:33px}.history-date{font-size:.78rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.body-copy,.help-content p,dialog p{font-size:1rem}.privacy-note,.hint,.fallback-copy,.range-labels,.history-meta{font-size:.8125rem}

.brand-stack{display:flex;flex-direction:column;gap:5px}.app-version{font-size:.8125rem;font-weight:600;letter-spacing:.025em;color:var(--accent);padding-left:54px}.tail-learning{margin-top:12px}.tail-learning p{font-size:.8125rem;color:var(--muted);line-height:1.5;margin-top:8px}.tail-learning .text-button{white-space:normal;text-align:left}.help-content+.secondary-button{margin-top:15px}#installBtn{margin-top:10px}@media(max-width:799px){.app-version{padding-left:43px;font-size:.75rem}.topbar{height:94px}.top-actions .local-label{max-width:130px}.brand-stack{flex-shrink:0}}
