.brew-bench{--brew-ink:#3e2723;--brew-paper:#f7f4ed;--brew-sand:#e7d4b7;--brew-brown:#281c17;background:var(--brew-paper);color:var(--brew-ink);padding:32px 28px 70px;font-family:'Studio Sans',Arial,sans-serif}.brew-bench *{box-sizing:border-box}.brew-bench-heading{text-align:center;max-width:800px;margin:0 auto 28px}.brew-bench-heading>p:first-child{font-size:13px;color:#73553f;margin:0 0 16px}.brew-bench-heading h1{font-weight:600;font-size:clamp(44px,4.5vw,62px);line-height:.98;letter-spacing:-.065em;margin:0}.brew-bench-heading>p:last-child{font-size:16px;line-height:1.65;margin:16px 0 0}.brew-workspace{max-width:1120px;margin-inline:auto;display:grid;grid-template-columns:1.1fr 1fr;border:1px solid #cbb79d;border-radius:28px 0 28px 0;overflow:hidden;background:#eee4d4}.brew-controls{border:0;min-width:0;padding:30px 36px 22px;margin:0;display:flex;flex-direction:column;gap:19px}.brew-sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.brew-bench button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}.brew-bench button:disabled{opacity:.5;cursor:default}.brew-bench :focus-visible{outline:2px solid #9c5c2d;outline-offset:4px}.brew-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.brew-methods button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:9px 2px 8px;min-height:68px;border:1px solid transparent;background:transparent;font-size:12px;border-radius:13px 0 13px 0;transition:background .18s,color .18s}.brew-methods button[aria-pressed=true]{background:var(--brew-ink);color:var(--brew-paper)}.brew-methods button:hover:not([aria-pressed=true]){background:#e0ceb6}.brew-methods svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.brew-field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.brew-field-heading label{font-weight:600;font-size:16px}.brew-field-heading>span:not(.brew-ratio-display){font-size:11px;color:#755b46;max-width:180px;text-align:right;line-height:1.5}.brew-basis{display:flex;gap:17px;margin-bottom:14px}.brew-basis button{border:0;border-bottom:1px solid transparent;background:none;padding:0 0 6px;font-size:12px;min-height:30px;color:#795e48}.brew-basis button[aria-pressed=true]{border-color:var(--brew-ink);color:var(--brew-ink)}.brew-amount-control{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;border-block:1px solid #cbb79d;min-height:72px}.brew-amount-control>button{border:0;background:transparent;height:55px;font-size:29px;font-weight:400}.brew-amount-control>button:hover{background:#e0ceb6}.brew-amount-control>div{display:flex;justify-content:center;align-items:baseline;min-width:0;gap:5px}.brew-amount-control input{width:2.4ch;min-width:0;max-width:100%;padding:0;border:0;background:transparent;color:var(--brew-ink);text-align:center;font:600 47px/.98 'Studio Sans',Arial,sans-serif;letter-spacing:-.06em;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.brew-amount-control input::-webkit-inner-spin-button,.brew-amount-control input::-webkit-outer-spin-button{appearance:none;margin:0}.brew-amount-control>div>span{font-size:22px}.brew-amount-presets{display:flex;justify-content:center;gap:10px;margin-top:10px}.brew-amount-presets button{min-height:34px;min-width:62px;padding:4px 12px;border:1px solid transparent;background:transparent;font-size:12px}.brew-amount-presets button[aria-pressed=true]{border-color:#b49a7c;background:#f7f4ed}.brew-input-error{font-size:12px;line-height:1.5;color:#8b2a22;margin:6px 0 0;min-height:0}.brew-input-error:empty{display:none}.brew-ratio-display{font-size:25px;line-height:1;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.brew-ratio-block input{width:100%;height:30px;margin:0;accent-color:#79543e;cursor:pointer}.brew-range-labels{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#755b46;margin-top:4px}.brew-ratio-block>p{font-size:12px;line-height:1.5;margin:10px 0 0;min-height:20px}.brew-control-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #cbb79d;padding-top:8px;margin-top:auto;font-size:10px;color:#755b46}.brew-control-footer button{border:0;background:transparent;padding:8px 0;min-height:32px;font-size:12px;text-decoration:underline;text-underline-offset:4px}.brew-recipe{background:var(--brew-brown);color:var(--brew-paper);padding:30px 34px 15px;display:flex;align-items:center;flex-direction:column;position:relative;min-width:0}.brew-recipe-heading{display:flex;justify-content:space-between;gap:15px;width:100%;font-size:13px}.brew-recipe-heading>span:last-child{color:var(--brew-sand);font-variant-numeric:tabular-nums}.brew-cup-photo{width:186px;height:186px;margin:19px 0 21px;border:1px solid #a17a50;border-radius:50%;padding:10px;box-shadow:0 10px 30px #0002}.brew-cup-photo svg{border-radius:50%;width:100%;height:100%;display:block}.brew-recipe-weights{display:grid;grid-template-columns:minmax(0,1fr) 25px minmax(0,1.2fr);align-items:center;width:100%;text-align:center;gap:8px}.brew-recipe-weights>div>span{font-size:12px;display:block;margin-bottom:9px;color:#ddc5a5}.brew-recipe-weights strong{display:block;font-size:clamp(40px,4.5vw,59px);line-height:1;font-weight:600;letter-spacing:-.055em;white-space:nowrap;font-variant-numeric:tabular-nums}.brew-recipe-weights small{font-size:21px;margin-left:5px;font-weight:400;letter-spacing:0}.brew-recipe-plus{font-size:25px;color:#ab8660;padding-top:21px}.brew-recipe-note{text-align:center;font-size:11px;line-height:1.6;color:#d4bfa3;margin:20px 0 23px;max-width:33ch}.brew-recipe-actions{width:100%;display:flex;align-items:center;justify-content:center;gap:20px;margin-top:auto}.brew-recipe-actions button{border:0;min-height:45px;padding:12px 0;background:transparent;color:var(--brew-paper);font-size:12px}.brew-recipe-actions button:first-child{background:var(--brew-sand);color:var(--brew-ink);padding:13px 20px;min-width:160px;display:flex;justify-content:space-between;gap:20px;border-radius:10px 0 10px 0}.brew-recipe-actions button:first-child:hover{background:#f2e5cf}.brew-recipe-actions button:last-child{text-decoration:underline;text-underline-offset:5px}.brew-copy-status{font-size:11px;line-height:1.4;min-height:16px;text-align:center;margin:10px 0 0}.brew-no-script{font-size:12px;line-height:1.6;text-align:center}.brew-guidance{max-width:680px;margin:22px auto 0;text-align:center;font-size:12px;line-height:1.65;color:#755b46}.brew-reference{max-width:1040px;margin:80px auto;display:grid;grid-template-columns:1fr 1.1fr;gap:12%}.brew-reference h2{font-size:clamp(30px,3vw,43px);line-height:1.07;font-weight:600;letter-spacing:-.05em;margin:0 0 20px}.brew-reference-intro>p{font-size:14px;line-height:1.8;max-width:42ch}.brew-reference table{width:100%;margin-top:30px;border-collapse:collapse;font-size:14px}.brew-reference caption{text-align:left;font-size:12px;margin-bottom:10px}.brew-reference th,.brew-reference td{padding:10px 0;border-bottom:1px solid #d7c5ae;text-align:left}.brew-reference th:last-child,.brew-reference td:last-child{text-align:right}.brew-reference th{font-weight:600}.brew-questions details{border-bottom:1px solid #cbb79d;padding:0 0 18px;margin-bottom:18px}.brew-questions summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;font-weight:600;font-size:17px;line-height:1.4;list-style:none;min-height:40px;align-items:center}.brew-questions summary::-webkit-details-marker{display:none}.brew-questions summary:after{content:'+';font-size:23px;font-weight:400;flex-shrink:0}.brew-questions details[open] summary:after{content:'−'}.brew-questions p{font-size:14px;line-height:1.8;color:#755b46;margin:13px 0 0;max-width:58ch}.brew-coffee-invitation{max-width:1120px;margin:0 auto;background:#e7d4b7;display:flex;align-items:center;justify-content:space-between;gap:35px;padding:35px 42px;border-radius:22px 0 22px 0}.brew-coffee-invitation>p{font-size:clamp(27px,3.3vw,43px);line-height:1.05;letter-spacing:-.045em;margin:0}.brew-coffee-invitation>div{display:flex;flex-direction:column;gap:18px;align-items:flex-start}.brew-coffee-invitation>div>span{font-size:12px}.brew-coffee-invitation a{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#3e2723;color:#f7f4ed;padding:14px 19px;font-size:14px;min-width:205px;border-radius:10px 0 10px 0}.brew-bench[data-invalid=true] .brew-recipe-weights strong{opacity:.5}
@media(min-width:1450px){.brew-bench{padding-top:36px}.brew-bench-heading{margin-bottom:28px}.brew-controls{padding:26px 36px 18px;gap:19px}.brew-recipe{padding:33px 40px 15px}}
@media(max-width:900px){.brew-controls{padding:25px;gap:23px}.brew-recipe{padding:25px 24px 15px}.brew-methods{gap:2px}.brew-methods button{font-size:10px}.brew-cup-photo{width:190px;height:190px;margin-block:28px}.brew-recipe-weights strong{font-size:43px}.brew-recipe-weights{gap:3px;grid-template-columns:1fr 18px 1.2fr}.brew-recipe-plus{font-size:20px}.brew-field-heading>span:not(.brew-ratio-display){max-width:125px}.brew-recipe-actions{gap:12px}.brew-recipe-actions button:first-child{min-width:135px;padding-inline:14px}.brew-reference{gap:8%}}
@media(max-width:680px){.brew-bench{padding:30px 20px 45px}.brew-bench-heading{margin-bottom:27px}.brew-bench-heading h1{font-size:clamp(40px,9.8vw,60px);letter-spacing:-.055em}.brew-bench-heading>p:first-child{font-size:11px;margin-bottom:15px}.brew-bench-heading>p:last-child{font-size:14px;margin-top:16px}.brew-workspace{grid-template-columns:1fr;border-radius:23px 0 23px 0;max-width:480px}.brew-controls{padding:22px;gap:20px}.brew-methods button{font-size:11px;min-height:74px}.brew-methods svg{width:27px;height:27px}.brew-field-heading>span:not(.brew-ratio-display){max-width:160px}.brew-amount-control{min-height:76px}.brew-amount-control input{font-size:48px}.brew-basis{gap:20px}.brew-basis button{font-size:11px}.brew-range-labels{font-size:10px}.brew-ratio-block>p{font-size:12px}.brew-control-footer{padding-top:9px}.brew-recipe{padding:24px 24px 13px}.brew-recipe-heading{padding-right:65px;min-height:45px;align-items:flex-start;gap:10px}.brew-cup-photo{position:absolute;right:22px;top:17px;width:54px;height:54px;padding:3px;margin:0;box-shadow:none}.brew-recipe-weights{margin-top:13px;max-width:360px;gap:10px;grid-template-columns:1fr 20px 1.2fr}.brew-recipe-weights strong{font-size:clamp(40px,11.5vw,56px)}.brew-recipe-weights>div>span{font-size:12px}.brew-recipe-note{margin:17px 0 20px;max-width:36ch}.brew-recipe-actions{gap:24px}.brew-recipe-actions button:first-child{min-width:175px;padding-inline:20px}.brew-copy-status{margin-top:9px}.brew-guidance{max-width:440px;font-size:12px;margin-top:18px}.brew-reference{grid-template-columns:1fr;gap:42px;margin:55px auto;max-width:480px}.brew-reference h2{font-size:36px;text-align:center}.brew-reference-intro>p{text-align:center;margin-inline:auto}.brew-reference table{margin-top:25px}.brew-questions summary{font-size:16px}.brew-questions p{font-size:13px}.brew-coffee-invitation{max-width:480px;flex-direction:column;align-items:center;text-align:center;gap:25px;padding:30px 22px}.brew-coffee-invitation>p{font-size:32px}.brew-coffee-invitation>div{align-items:center}.brew-coffee-invitation>div>span{font-size:11px}.brew-coffee-invitation a{min-width:220px}}
@media(max-width:360px){.brew-bench{padding-inline:14px}.brew-controls{padding:18px}.brew-field-heading>span:not(.brew-ratio-display){max-width:125px}.brew-basis{gap:15px}.brew-recipe{padding-inline:18px}.brew-recipe-actions{gap:15px}.brew-recipe-actions button:first-child{min-width:155px}.brew-recipe-weights strong{font-size:39px}.brew-recipe-heading{font-size:12px}.brew-methods button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.brew-bench *{transition:none!important;scroll-behavior:auto!important}}
@media print{.studio-header,.store-footer,.brew-controls,.brew-guidance,.brew-reference,.brew-coffee-invitation,.brew-recipe-actions{display:none!important}.brew-bench{padding:0}.brew-workspace{display:block;max-width:500px}.brew-recipe{print-color-adjust:exact;-webkit-print-color-adjust:exact}.brew-copy-status{display:none}}

.brew-bench[data-long-result=true] .brew-recipe-weights strong{font-size:clamp(30px,3.5vw,46px)}
@media(max-width:680px){.brew-bench[data-long-result=true] .brew-recipe-weights strong{font-size:clamp(28px,8vw,38px)}}

@media(min-width:1000px) and (max-height:900px){.brew-bench{padding-top:24px}.brew-bench-heading{margin-bottom:22px}.brew-bench-heading h1{font-size:54px}.brew-bench-heading>p:first-child{margin-bottom:12px}.brew-bench-heading>p:last-child{margin-top:12px}.brew-controls{padding-block:22px 16px;gap:16px}.brew-cup-photo{width:174px;height:174px}}
@media(min-width:1000px) and (max-height:800px){.brew-bench-heading h1{font-size:48px}.brew-bench-heading h1 br{display:none}.brew-bench-heading>p:first-child{margin-bottom:10px}.brew-bench-heading>p:last-child{margin-top:10px}}
