/* One ingredient, one photo, one amount. Shared by Kitchen and customer menu. */
.recipe-guide,.recipe-dialog{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#342628;line-height:1.45;color-scheme:light}
.recipe-guide *,.recipe-dialog *{box-sizing:border-box}.recipe-guide button,.recipe-dialog button{font:inherit;cursor:pointer;touch-action:manipulation}.recipe-guide :focus-visible,.recipe-dialog :focus-visible{outline:3px solid #b6193b;outline-offset:3px}
.recipe-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;min-height:40px}.recipe-portion{font-size:12px;font-weight:600;color:#79575a}.recipe-controls{display:flex;gap:8px;align-items:center}
.recipe-scale,.recipe-motion{border:1px solid #d9c3ba;background:#fff9;border-radius:100px;min-height:40px;color:#8a3446;font-size:11px!important;font-weight:600!important}.recipe-scale{padding:7px 13px}.recipe-motion{width:40px;padding:0;font-size:15px!important;display:grid;place-items:center}
.recipe-visual{border-radius:20px;padding:6px 20px;background:radial-gradient(ellipse at 15% 40%,#fff9f1,#f6e6de);overflow:hidden}
.recipe-ingredients{display:grid}.recipe-ingredient{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px;align-items:center;min-height:82px;padding:4px 0;border-bottom:1px solid #bc8b791a}.recipe-ingredient:last-child{border-bottom:0}
.recipe-guide[data-audience=staff] .recipe-ingredient{grid-template-columns:112px minmax(0,1fr) 24px;cursor:pointer}
.recipe-ingredient-copy{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.recipe-ingredient-name{font-size:14px;font-weight:550;line-height:1.35;overflow-wrap:anywhere}.recipe-amount{white-space:nowrap;font-size:18px;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.recipe-ingredient input{width:22px;height:22px;margin:0;accent-color:#bd163c;cursor:pointer;flex:none}.recipe-ingredient.is-checked .recipe-ingredient-name{text-decoration:line-through;color:#8d7c78}.recipe-ingredient.is-checked .recipe-art{opacity:.5}
.recipe-art{position:relative;display:block;width:112px;height:112px;margin:-19px 0;aspect-ratio:1;filter:drop-shadow(0 4px 3px #55382820);pointer-events:none}
.recipe-cutout{display:block;width:100%;height:100%;background-image:url('assets/recipe-realism-v1-drinks.png');background-size:400% 400%;background-position:var(--tile-x) var(--tile-y);background-repeat:no-repeat}.recipe-cutout[data-atlas=food]{background-image:url('assets/recipe-realism-v1-food.png')}
.recipe-layer .recipe-art{animation:recipe-float 6.8s ease-in-out var(--layer-delay,0s) infinite;animation-play-state:paused}.recipe-visual.is-in-view:not(.is-paused) .recipe-art{animation-play-state:running}.recipe-page-hidden .recipe-visual .recipe-art{animation-play-state:paused!important}
@keyframes recipe-float{0%,100%{transform:translate3d(0,2px,0) rotate(-.4deg)}50%{transform:translate3d(0,-3px,0) rotate(.4deg)}}
.recipe-footer{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-top:13px}.recipe-progress{font-size:11px;color:#974359;white-space:nowrap}.recipe-note{margin:0;font-size:11px;color:#81645d;line-height:1.5}
.recipe-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:24px;width:min(660px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);background:#fffaf4;box-shadow:0 24px 90px #29121155;overflow:hidden}.recipe-dialog[open]{display:flex;flex-direction:column}.recipe-dialog::backdrop{background:#291b1bb3;backdrop-filter:blur(5px)}.recipe-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;border-bottom:1px solid #eadacf;flex:none}.recipe-dialog h2{font-size:24px;line-height:1.2;letter-spacing:-.7px;margin:0}.recipe-close{width:44px;height:44px;flex:none;display:grid;place-items:center;background:white;border:1px solid #e5cfc6;border-radius:50%;color:#603c3f;font-size:28px!important}.recipe-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 24px 22px;scrollbar-width:thin;scrollbar-color:#caa69a transparent}.recipe-dialog:modal{z-index:10000}html:has(.recipe-dialog[open]){overflow:hidden}
.product-ingredients{margin:18px 0 0;border-top:1px solid #e7cec4;padding-top:4px}.product-ingredients>summary{min-height:48px;display:flex;gap:9px;align-items:center;cursor:pointer;list-style:none;font-size:14px;font-weight:650;color:#a32742}.product-ingredients>summary::-webkit-details-marker{display:none}.product-ingredients>summary:after{content:'+';font-size:20px;font-weight:400;margin-left:auto}.product-ingredients[open]>summary:after{content:'−'}
.product-ingredients .recipe-visual{padding-inline:12px}.product-ingredients .recipe-ingredient{grid-template-columns:90px minmax(0,1fr);gap:14px;min-height:74px}.product-ingredients .recipe-art{width:90px;height:90px;margin:-10px 0}.product-ingredients .recipe-ingredient-name{font-size:13px}.product-ingredients .recipe-amount{font-size:16px}.product-ingredients .recipe-ingredient-copy{flex-direction:column;align-items:flex-start;gap:3px}.product-ingredients .recipe-toolbar{margin-bottom:6px}
@media(max-width:600px){.recipe-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}.recipe-dialog>header{padding:14px 16px;gap:12px}.recipe-dialog h2{font-size:22px}.recipe-dialog-body{padding:12px 16px calc(22px + env(safe-area-inset-bottom))}.recipe-visual{padding:4px 12px}.recipe-ingredient,.recipe-guide[data-audience=staff] .recipe-ingredient{grid-template-columns:90px minmax(0,1fr) 22px;gap:12px;min-height:78px}.recipe-guide[data-audience=customer] .recipe-ingredient{grid-template-columns:90px minmax(0,1fr)}.recipe-art{width:90px;height:90px;margin:-8px 0}.recipe-ingredient-copy{flex-direction:column;align-items:flex-start;gap:3px}.recipe-ingredient-name{font-size:13px}.recipe-amount{font-size:17px}}
@media(max-height:450px){.recipe-dialog{max-height:100dvh}.recipe-dialog>header{padding:8px 16px}.recipe-dialog h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.recipe-art{animation:none!important;transform:none!important}.recipe-motion{display:none!important}}
/* Worker measures stay still and follow preparation order. */
.recipe-work{color:var(--bb-ink,#342628)}
.recipe-work .recipe-toolbar{margin-bottom:10px;min-height:28px}
.recipe-work .recipe-portion{font-size:13px;color:var(--bb-muted,#79575a)}
.recipe-work-list{border:1px solid var(--bb-line,#e5dbe1);border-radius:14px;background:var(--bb-white,#fff);padding:0 14px}
.recipe-component-heading{margin:14px 0 2px;color:var(--bb-ink,#241c20);font-size:15px}
.recipe-work .recipe-ingredient{display:grid;grid-template-columns:78px minmax(0,1fr) 22px;gap:12px;min-height:78px;padding:10px 0;border-color:var(--bb-line,#e5dbe1);color:var(--bb-ink,#342628)}
.recipe-work .recipe-ingredient-copy{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.recipe-work .recipe-amount{font-size:19px;white-space:normal;line-height:1.25;letter-spacing:-.3px;color:var(--bb-ink,#342628)}
.recipe-work .recipe-ingredient-name{font-size:13px;color:var(--bb-muted,#79575a);line-height:1.35}
.recipe-utensil{display:grid;justify-items:center;gap:3px;width:78px;pointer-events:none}
.recipe-utensil svg{width:64px;height:46px;overflow:visible}
.recipe-utensil small{font-size:9px;line-height:1.25;text-align:center;color:var(--bb-muted,#79575a)}
.recipe-pending-banner{margin:0 0 12px;padding:10px 12px;background:var(--bb-soft,#fff0e5);border-radius:9px;font-size:12px;font-weight:600;line-height:1.5;color:var(--bb-ink,#633c22)}
.recipe-needs-check .recipe-amount{color:#8a5211}
.recipe-work .is-checked .recipe-ingredient-name{text-decoration:line-through}
.recipe-work .is-checked .recipe-utensil{opacity:.45}
.recipe-work-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 20px}
.recipe-work .recipe-progress{color:var(--bb-muted,#79575a)}
.recipe-reset{font-size:12px!important;border:1px solid var(--bb-line,#e5dbe1);background:var(--bb-white,#fff);color:var(--bb-ink,#342628);min-height:40px;border-radius:8px;padding:8px 12px}
.recipe-steps-title{font-size:15px;margin:0 0 8px}
.recipe-work-steps{padding-left:22px;margin:0 0 14px;font-size:13px;line-height:1.6}
.recipe-work-steps li{padding-left:3px;margin-bottom:7px}
.recipe-source-notes{border-top:1px solid var(--bb-line,#e5dbe1);padding-top:12px;font-size:12px;line-height:1.6;margin-bottom:12px;color:var(--bb-muted,#79575a)}
.recipe-source-notes summary{cursor:pointer;min-height:36px;color:var(--bb-ink,#342628);font-weight:600}
.recipe-source-notes ul{padding-left:18px}.recipe-source-notes li{margin-bottom:8px}
html[data-boba-theme=dark] .recipe-needs-check .recipe-amount{color:#f4bf80}
@media(max-width:600px){.recipe-work-list{padding:0 10px}.recipe-work .recipe-ingredient{grid-template-columns:64px minmax(0,1fr) 22px;gap:9px;min-height:76px}.recipe-work .recipe-amount{font-size:17px}.recipe-work .recipe-utensil{width:64px}.recipe-work .recipe-utensil svg{width:58px;height:42px}}
