:root{color-scheme:dark;--bg:#080909;--panel:#111212;--line:#252727;--muted:#858987;--orange:#f47c42;--white:#f8f8f5}*{box-sizing:border-box}body{margin:0;background:#080909;color:var(--white);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button{font:inherit;cursor:pointer}.app-shell{width:min(100%,520px);min-height:100vh;margin:auto;padding:0 26px 28px}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1d1e1e}.brand{font-size:22px;font-weight:800;letter-spacing:-1.4px}.brand span,.steps-heading h2 span{color:var(--orange)}.brand small{font-size:9px;color:#777c79;letter-spacing:1.3px;font-weight:700;margin-left:7px}.icon-button{width:38px;height:38px;border:1px solid #303332;background:#151716;color:#e7e8e5;border-radius:50%;display:grid;place-items:center}.icon-button svg{width:18px}.sound-button[aria-pressed=false] .sound-wave{display:none}.brew-card{padding-top:29px}.metrics{display:grid;grid-template-columns:1fr 1.7fr 1fr;align-items:center;text-align:center}.metric span{display:block;color:#929795;font-size:11px;margin-bottom:7px}.metric strong{font-size:17px;font-weight:600}.metric small{font-size:11px;color:#999e9b;font-weight:500}.metric.side:first-child{text-align:left}.metric.side.right{text-align:right}.main-metric strong{font-size:36px;letter-spacing:-1.6px;font-weight:600}.brew-visual{height:255px;position:relative;display:flex;align-items:center;justify-content:center;margin-top:13px}.arc{position:absolute;top:22px;width:min(100%,350px);height:185px;border:5px solid #202323;border-bottom:0;border-radius:190px 190px 0 0}.arc:before{content:"";position:absolute;width:5px;height:35px;left:-5px;bottom:0;background:var(--orange);border-radius:4px}.arc-label{position:absolute;top:180px;font-size:10px;font-weight:600;color:#7b817e}.arc-left{left:4px}.arc-right{right:4px}.v60{position:relative;width:165px;height:175px;margin-top:34px;filter:drop-shadow(0 12px 15px #000)}.method-pill{width:max-content;margin:0 auto;background:#171919;border:1px solid #2c2f2d;border-radius:20px;color:#c8cbc7;padding:7px 12px;font-size:11px;font-weight:600}.method-pill span{color:var(--orange);margin-right:4px}.method-pill b{color:#646a66;margin:0 3px}.timer-area{text-align:center;padding-top:25px}.timer-label{font-size:10px;letter-spacing:1px;font-weight:700;color:#888e8a}.timer-label span{color:#71ba8b;margin-left:8px;font-size:9px}.timer{font-size:clamp(62px,16vw,84px);line-height:1.1;letter-spacing:-4px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:6px}.timer span{font-size:.38em;letter-spacing:-1px;color:#747a76}.instruction{font-size:13px;color:#9da29f;margin:9px 0 20px;min-height:20px}.timer-actions{display:grid;grid-template-columns:1fr 1.8fr;gap:9px}.timer-actions button{height:47px;border:0;border-radius:5px;font-size:13px;font-weight:700}.reset-button{background:#202222;color:#dddeda}.start-button{background:var(--orange);color:#fff}.start-button:hover{background:#ff925c}.play-icon{font-size:10px;margin-right:6px}.recipe-column{margin-top:39px}.steps-heading{display:flex;justify-content:space-between;align-items:end}.section-label{color:#898e8a;font-size:10px;letter-spacing:1px;font-weight:700;margin:0 0 6px}.steps-heading h2{font-size:21px;letter-spacing:-.5px;margin:0}.steps-count{font-size:10px;font-weight:700;color:#777c79}.recipe-copy{font-size:12px;line-height:1.5;color:#888e8b;margin:10px 0 19px}.steps{border-top:1px solid var(--line)}.step{display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.step-number{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#1a1c1b;color:#858a87;font-size:10px;font-weight:700}.step.active .step-number{background:var(--orange);color:#fff}.step.done .step-number{background:#23362a;color:#9ad0a9}.step-title{font-size:13px;font-weight:700;margin:0 0 4px}.step-detail{font-size:11px;line-height:1.4;color:#888e8b;margin:0}.step-time{font-size:12px;color:#a9aeaa;font-variant-numeric:tabular-nums}.step.active .step-time{color:var(--orange)}.tip{display:flex;align-items:center;gap:12px;background:#151716;border-radius:6px;padding:12px 14px;margin-top:18px}.tip span{color:var(--orange);font-size:20px}.tip p{font-size:11px;line-height:1.5;color:#a3a8a4;margin:0}footer{display:flex;justify-content:space-between;color:#626864;font-size:10px;margin-top:30px}@media(min-width:600px){body{background:#151716}.app-shell{background:var(--bg);border-left:1px solid #242624;border-right:1px solid #242624;padding-left:35px;padding-right:35px;box-shadow:0 0 80px #0005}}@media(max-width:350px){.app-shell{padding-left:18px;padding-right:18px}.main-metric strong{font-size:31px}.brew-visual{height:230px}.arc{width:90%;height:165px}.arc-label{top:160px}.v60{width:145px}}
.recipe-builder{margin-top:38px;padding:21px;background:#111313;border:1px solid #252827;border-radius:8px}.recipe-builder .recipe-copy{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}.form-grid label,.formula-row label{display:grid;gap:7px;color:#c4c8c5;font-size:12px;font-weight:600}input,select{width:100%;height:42px;padding:0 10px;border:1px solid #393d3a;border-radius:5px;background:#1b1e1c;color:#f6f7f5;font:inherit;font-size:14px}input:focus,select:focus{outline:2px solid var(--orange);outline-offset:1px}.formula-heading{display:flex;justify-content:space-between;gap:8px;color:#9ca29e;font-size:10px;font-weight:700;letter-spacing:.7px;margin-top:23px}.field-help{color:#888e8b;font-size:11px;line-height:1.5;margin:7px 0 12px}.formula-row{display:grid;grid-template-columns:26px 1fr 1fr 32px;align-items:end;gap:8px;margin-bottom:10px}.formula-row .row-number{color:#969b98;font-size:12px;padding-bottom:13px}.remove-stage{height:42px;background:#252826;color:#d1d4d2;border:0;border-radius:5px;font-size:19px}.remove-stage:disabled{opacity:.35}.secondary-button{border:1px solid #414542;border-radius:5px;background:transparent;color:#e5e7e4;padding:10px 12px;font-size:12px;font-weight:700}.apply-button{width:100%;height:46px;border:0;border-radius:5px;background:var(--orange);color:#fff;font-weight:700;margin-top:5px}.recipe-error{color:#ff9b80;font-size:12px;line-height:1.4;min-height:0}.analysis{margin-top:18px;padding:15px;background:#1b201b;border-radius:5px}.analysis strong{font-size:12px;color:#cfe1ce}.analysis p{font-size:12px;line-height:1.6;color:#e0e3dc;margin:9px 0}.analysis small{font-size:11px;line-height:1.5;color:#929a92;display:block}
/* Keep the live pour target prominent while the recipe editor stays within reach. */
.brew-visual{height:275px;overflow:hidden}.v60{width:190px;height:200px;margin-top:50px}.kettle{position:absolute;z-index:2;width:120px;top:24px;right:10%;transform:rotate(-17deg);filter:drop-shadow(0 7px 9px #0008)}.water-stream{position:absolute;z-index:3;width:3px;height:79px;top:76px;left:58%;background:linear-gradient(#b7d9d8,#e7f5f3);border-radius:4px;transform:rotate(8deg);opacity:.32}.brewing .water-stream{opacity:.9;animation:pour 1.3s ease-in-out infinite alternate}@keyframes pour{from{opacity:.5;transform:rotate(8deg) scaleY(.9)}to{opacity:1;transform:rotate(8deg) scaleY(1)}}.pour-focus{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;margin:0 0 16px;background:#1b1b18;border:1px solid #3d3831;border-radius:8px}.pour-focus span{display:block;color:#f99a68;font-size:10px;letter-spacing:1px;font-weight:800}.pour-focus strong{display:block;font-size:40px;line-height:1.15;letter-spacing:-1px;margin-top:5px}.pour-focus strong small{font-size:16px;color:#a4aaa4;font-weight:500}.pour-focus p{font-size:12px;color:#a1a6a1;margin:4px 0 0}.pour-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#333029;color:#f79764;font-size:25px}.recipe-builder{padding:0;overflow:hidden}.recipe-builder summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px}.recipe-builder summary::-webkit-details-marker{display:none}.recipe-builder summary small,.recipe-builder summary strong{display:block}.recipe-builder summary small{color:#909691;font-size:10px;font-weight:700;letter-spacing:.8px;margin-bottom:6px}.recipe-builder summary strong{font-size:15px}.summary-toggle{color:var(--orange);font-size:25px;font-weight:300}.recipe-builder[open] .summary-toggle{transform:rotate(45deg)}.builder-content{border-top:1px solid #2c302d;padding:20px}.builder-content .steps-heading{display:none}@media(prefers-reduced-motion:reduce){.brewing .water-stream{animation:none}}@media(max-width:350px){.brew-visual{height:245px}.v60{width:165px;height:175px}.kettle{width:100px;right:8%}.water-stream{top:67px;height:72px}}
.ice-note{margin:13px 0 0;padding:11px 14px;color:#c0d9db;background:#142124;border:1px solid #294044;border-radius:6px;font-size:12px;line-height:1.5}.next-pour{color:#9aa4a0;font-size:12px;line-height:1.5;margin:0 0 15px;min-height:18px}.source-note{color:#8e9590;font-size:11px;line-height:1.6;margin:16px 0}.source-note a{color:#ef9a70}.water-stream{opacity:0;transform-origin:top}.brewing .water-stream{opacity:.9;animation:pour 1.3s ease-in-out infinite alternate}.kettle{opacity:.72;transition:opacity .3s,transform .3s}.brewing .kettle{opacity:1;transform:rotate(-24deg)}.pour-focus{border-color:#75533d;background:#24201a}.pour-focus strong{font-size:46px}.form-grid input:disabled{opacity:.45}

.arc{border:0;border-radius:0;overflow:visible;pointer-events:none}.arc:before{content:none}.arc-track,.arc-progress{fill:none;stroke-width:5;stroke-linecap:round}.arc-track{stroke:#202323}.arc-progress{stroke:var(--orange);stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .1s linear}

.voice-status{color:#a5aeaa;font-size:11px;line-height:1.5;margin:0 0 8px}.test-voice{background:transparent;border:1px solid #424844;color:#d8dfda;border-radius:20px;font-size:11px;padding:7px 12px;margin-bottom:14px}.test-voice:hover{border-color:#f47c42}

.prepare-cue{display:flex;align-items:center;justify-content:center;gap:9px;background:#49321e;color:#ffd7a6;border:1px solid #b8753b;border-radius:8px;padding:12px;margin:0 0 12px;font-size:10px;font-weight:800;letter-spacing:.6px}.prepare-cue[hidden]{display:none}.prepare-cue strong{font-size:23px;line-height:1;color:#fff}.prepare-cue small{font-size:10px;font-weight:500;white-space:nowrap}.prepare-pulse{width:9px;height:9px;flex:none;border-radius:50%;background:#ffa25d;animation:prepare-pulse 1s ease-in-out infinite}.preparing .kettle{opacity:1;animation:kettle-ready 1s ease-in-out infinite alternate}@keyframes prepare-pulse{50%{box-shadow:0 0 0 7px #ffa25d22;opacity:.65}}@keyframes kettle-ready{from{transform:rotate(-17deg) translateY(0)}to{transform:rotate(-20deg) translateY(-6px)}}@media(prefers-reduced-motion:reduce){.prepare-pulse,.preparing .kettle{animation:none}}
