/* A single language leaves room for readable labels and deliberate touch targets. */
#utility-menu{display:none!important}
.recipe-help-button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;background:#fff3d7;color:#713000;border:1px solid #b44500;border-radius:9px;padding:6px 9px;font:700 12px/1.1 var(--body)}
.recipe-help-button>span{display:block;width:21px;height:21px}.recipe-help-button b{font:inherit}
#settings-btn,#pause-btn{min-width:44px;min-height:44px}
.customer-stage{overflow:visible}.customer-portrait{position:relative;z-index:1;opacity:1;transform:none}
.customer-bench{position:absolute;bottom:0;right:-8%;width:112%;height:25%;background:linear-gradient(#eee0b9 0 12%,#a85727 13% 35%,#743a20 36%);border:2px solid #593c27;border-radius:3px;z-index:2;box-shadow:0 3px 3px #37221b44;display:flex;justify-content:center;align-items:center}
.customer-bench>span{font:800 7px/1 var(--heading);color:#ffdfaa;letter-spacing:.6px}
.customer-arriving .customer-portrait{animation:visitor-walk-up 1.1s ease-out both}
.customer-stage .customer-bubble{z-index:3;font-size:14px;line-height:1.35}.customer-stage .customer-bubble>b{display:block;font-size:12px}
@keyframes visitor-walk-up{0%{opacity:0;transform:translate(80%,-22%) scale(.65)}25%{opacity:.8;transform:translate(55%,-18%) scale(.76) rotate(-3deg)}50%{transform:translate(30%,-12%) scale(.86) rotate(3deg)}75%{transform:translate(10%,-5%) scale(.95) rotate(-2deg)}100%{opacity:1;transform:none}}
.modal-card[data-kind=book],.modal-card[data-kind=settings]{padding:0;width:min(980px,calc(100vw - 20px));max-height:calc(100dvh - 20px);border-radius:14px;overflow:hidden}
.modal-card[data-kind=book]{height:min(690px,calc(100dvh - 20px));display:flex;flex-direction:column}
.book-header,.settings-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#fff0d6;border-bottom:1px solid #dabd94;flex-shrink:0}
.book-header h2,.settings-header h2{font:700 22px/1.1 var(--heading)!important;padding:0!important;margin:5px 0 0!important;letter-spacing:-.4px!important}
.paused-badge{display:block;font:700 12px/1.2 var(--body);color:#276344}
.book-header .primary-button,.settings-header .primary-button{width:auto;margin:0;min-height:48px;flex-shrink:0;font-size:14px!important;padding:10px 14px}
.book-layout{display:grid;grid-template-columns:minmax(160px,27%) minmax(0,1fr);min-height:0;flex:1}
.book-index{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;background:#f3e7d5;padding:8px;border-right:1px solid #d8c4a6;scrollbar-color:#a35c28 #f3e7d5}
.book-index button{display:block;min-height:48px;width:100%;text-align:left;font:600 15px/1.25 var(--body);padding:10px;border:1px solid transparent;border-radius:6px;background:transparent;margin-bottom:3px;overflow-wrap:anywhere}
.book-index button[aria-current=true]{background:#ff7009;border-color:#a94700;color:#fff;box-shadow:inset 4px 0 #9a3600}
.book-recipe{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:20px 24px;background:#fffaf0;scrollbar-color:#a35c28 #fffaf0}
.book-recipe-top>span{font:700 10px/1 var(--body);letter-spacing:.7px;color:#946141}.book-recipe h3{font:700 26px/1.1 var(--heading);margin:8px 0 20px;color:#382d25}
.book-recipe ol{list-style:none;counter-reset:recipe-step;padding:0;margin:0}.book-recipe li{position:relative;padding:0 0 16px 36px;counter-increment:recipe-step;font:500 17px/1.45 var(--body);color:#302d27}
.book-recipe li::before{content:counter(recipe-step);position:absolute;left:0;top:0;width:25px;height:25px;display:grid;place-items:center;background:#ffe0af;color:#7c3c10;border-radius:50%;font:800 13px/1 var(--body)}
.modal-card .book-recipe p{font:500 14px/1.5 var(--body);color:#5e513d;margin:12px 0}.book-recipe .source-note{padding:12px;border-left:4px solid #d08b26;background:#fff0cb}.book-recipe .b3-book-note{padding:12px;background:#e9f0df;border-radius:6px;color:#355636}.book-recipe .book-source{font-size:12px;color:#77634b}
.modal-card[data-kind=settings]{max-width:630px;display:flex;flex-direction:column}.settings-content{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:16px 20px}
.settings-content section{margin-bottom:20px}.settings-content h3{font:700 17px/1.2 var(--heading);margin:0 0 10px}.modal-card .settings-content p{font-size:14px;line-height:1.45;margin:8px 0 14px;color:#6e5c43}
.language-options{display:flex;gap:8px}.language-options button{flex:1;min-height:52px;font-size:18px;background:#fff5e7;border:2px solid #cdb698;border-radius:7px;font-weight:700}.language-options button[aria-pressed=true]{background:#ffd43f;border-color:#9b6a00;box-shadow:inset 0 -3px #ba8c1780}
.setting-row{min-height:50px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;margin:7px 0;background:#f4e8d8;border:1px solid #d5bea0;border-radius:7px;font:600 15px/1.3 var(--body);text-align:left}.setting-row>b{color:#8e4000;font-size:14px}
@media(max-height:600px) and (orientation:landscape){
 .recipe-help-button{font-size:11px;max-width:95px;padding:5px 7px}.recipe-help-button b{max-width:58px;line-height:1.1}
 .phone-desk-tabs>button{font-size:12px;line-height:1.15}.phone-desk-tabs b{font-size:12px}
 .order-card-pick{padding:7px}.order-card-top{flex-wrap:wrap;gap:4px}.order-card-top>b{font-size:16px}.order-card-time{font-size:11px}.order-card-status{font-size:10px;padding:3px 4px}
 .order-card-main{min-height:50px;gap:5px}.order-card-art{flex-basis:39px;height:44px}.order-card-copy strong{font-size:14px;line-height:1.2}.order-card-copy small{font-size:11px;line-height:1.2}
 .order-card-bottom{flex-wrap:wrap;padding:3px 7px 7px;gap:6px}.order-service{font-size:11px;min-height:24px;padding:5px 7px}.order-card-start{flex-basis:100%;font-size:14px;line-height:1.2;min-height:46px}.order-card-step{font-size:12px;line-height:1.25}.start-confirmed{font-size:11px}.order-review-quote{font-size:13px}
 .salad-bar{height:33%}.ingredient-tray{padding-bottom:27px}.ingredient-tray b{font-size:12px;line-height:1.1;min-height:25px;left:0;right:0;width:100%;padding:3px 2px}.ingredient-tray>.food-art{inset:0 1px 25px}
 .ingredients-open .ingredient-tray b{font-size:14px;min-height:30px;height:auto}.ingredients-open .ingredient-tray>.food-art{bottom:30px}
 .bagel-choices button{font-size:12px;line-height:1.1}.crate-sign>b{font-size:11px}.pack-zone .zone-label{font-size:12px;padding:4px 2px}.tool b{font-size:11px}.board-slot .slot-label{font-size:12px;padding:3px 5px}.board-slot.empty{font-size:13px}
 .oven-label{font-size:11px}.oven-readout>b{font-size:14px}.station-step{font-size:12px;line-height:1.2;top:67%}.b3-bowl #b3-status{font-size:10px;line-height:1.15}.b3-label>b{font-size:11px}
 .customer-stage{right:.6%;top:1%;width:11.5%;height:29%;z-index:7}.customer-stage .customer-portrait{opacity:1;transform:none;width:100%;height:100%}.customer-stage .customer-bubble{width:clamp(145px,22vw,205px);right:78%;top:5%;font-size:14px;line-height:1.3;padding:8px}.customer-bench>span{font-size:6px}.driver-waiting>span{font-size:10px;background:#fff4dd;padding:2px}
 .tutorial-guide .tutorial-title{font-size:17px;line-height:1.2}.tutorial-details-open .tutorial-guide .tutorial-instruction{font-size:15px;line-height:1.35}.tutorial-guide .tutorial-count{font-size:12px}.tutorial-guide .tutorial-coach-label{font-size:9px}.tutorial-details-open .tutorial-guide{width:min(420px,52vw)}
 .coach-details-open .coach-message{font-size:16px;line-height:1.35}.feedback{font-size:14px;max-width:58%;top:67%;line-height:1.3}.selection-pill{font-size:12px}.context-button{font-size:14px}
 .book-header,.settings-header{padding:8px 12px}.book-header h2,.settings-header h2{font-size:20px!important}.book-recipe{padding:16px}.book-recipe li{font-size:16px}.book-recipe h3{font-size:23px}.book-index button{font-size:14px}
}
@media(max-width:620px) and (orientation:landscape){
 .topbar{gap:5px}.recipe-help-button b{display:none}.recipe-help-button{padding:6px;max-width:44px}.topbar #coach-toggle{font-size:11px}.phone-desk-tabs>button{font-size:11px}
 .order-card-art{display:none}.order-card-copy strong{font-size:13px}.order-card-copy small{font-size:11px}.order-card-status{font-size:10px}.order-card-top>b{font-size:14px}.order-card-time{font-size:10px}.order-card-start{font-size:13px}
 .ingredient-tray b{font-size:11px;min-height:24px}.bagel-choices button{font-size:11px}.pack-zone .zone-label{font-size:11px}.b3-bowl #b3-status{font-size:9px}.tutorial-details-open .tutorial-guide{width:52vw;padding:8px}.tutorial-guide .tutorial-title{font-size:15px}.tutorial-details-open .tutorial-guide .tutorial-instruction{font-size:14px}.tutorial-guide .tutorial-nathan{width:32px;flex-basis:32px;height:52px}
 .book-layout{grid-template-columns:156px minmax(0,1fr)}.book-index{padding:5px}.book-index button{font-size:13px;padding:9px 7px}.book-header h2,.settings-header h2{font-size:18px!important}.book-header .primary-button,.settings-header .primary-button{font-size:13px!important;padding:8px 10px}.paused-badge{font-size:11px}.book-recipe{padding:13px}.book-recipe li{font-size:16px;padding-left:32px}.book-recipe h3{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.customer-arriving .customer-portrait{animation:none}.customer-portrait{transition:none}}
#settings-btn{display:grid}
.ingredient-tray b{white-space:normal;overflow-wrap:normal;display:grid;place-items:center}
@media(max-height:600px) and (orientation:landscape){.ingredient-tray b{display:grid;white-space:normal;min-height:25px}.ingredient-tray b .i18n{white-space:normal}.bagel-choices button{white-space:normal}}
@media(max-height:600px) and (orientation:landscape){
 .driver-waiting{right:.5%;top:31%;width:11.5%;height:8%;display:flex;align-items:center;justify-content:center;gap:2px;background:#e8f3d9;border:1px solid #4c7d48;border-radius:3px;z-index:8;padding:1px}
 .driver-waiting:empty{display:none}.driver-waiting>svg{width:24px;height:100%;flex:0 0 24px}.driver-waiting>span{font-size:9px;line-height:1.05;padding:0;background:transparent;color:#24532d}
}
/* Visual reference: menu pictures and recipe-specific ingredient cards. */
.book-index button{display:flex;align-items:center;gap:9px;min-height:64px;overflow-wrap:normal}
.book-index button>span:last-child{min-width:0;overflow-wrap:anywhere}
.book-menu-picture{display:block;width:48px;height:44px;flex:0 0 48px;filter:drop-shadow(0 2px 1px #7f4d2522)}
.book-menu-picture svg,.book-hero-picture svg,.book-ingredient-art svg{display:block;width:100%;height:100%;overflow:visible}
.book-recipe-top{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.book-recipe-top>div{min-width:0}.book-recipe-top>div>span{font:700 10px/1.2 var(--body);letter-spacing:.7px;color:#946141}.book-recipe-top h3{margin:7px 0 0}
.book-hero-picture{display:block;flex:0 0 110px;width:110px;height:92px}
.book-ingredients{padding:12px;background:#f6ead6;border:1px solid #e4cdab;border-radius:10px;margin-bottom:20px}
.book-ingredients h4,.book-steps-title{font:700 16px/1.2 var(--heading);color:#493321;margin:0 0 10px}
.book-ingredient-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(83px,1fr));gap:8px}
.book-ingredient{margin:0;min-width:0;padding:5px 4px 7px;border:1px solid #e5d8c2;border-radius:7px;background:#fffaf0;text-align:center}
.book-ingredient-art{display:block;width:64px;max-width:100%;height:44px;margin:0 auto 3px}
.book-ingredient figcaption b{display:block;font:700 13px/1.2 var(--body);overflow-wrap:anywhere;color:#403126}.book-ingredient figcaption small{display:block;font:500 11px/1.2 var(--body);margin-top:4px;color:#6e573c}.book-ingredient figcaption em{display:block;font:600 10px/1.2 var(--body);margin-top:4px;color:#81520c}
.book-ingredient.optional{border-style:dashed;background:#fff3d7}
@media(max-height:600px) and (orientation:landscape){
 .book-index button{gap:7px;padding:8px 7px}.book-menu-picture{width:40px;height:38px;flex-basis:40px}
 .book-hero-picture{width:90px;height:75px;flex-basis:90px}.book-recipe-top{gap:10px;margin-bottom:12px}.book-recipe-top h3{font-size:23px}
 .book-ingredients{padding:9px;margin-bottom:16px}.book-ingredient-grid{grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:6px}.book-ingredient-art{height:39px;width:57px}.book-ingredient figcaption b{font-size:12px}.book-ingredient figcaption small{font-size:11px}
}
@media(max-width:620px) and (orientation:landscape){
 .book-menu-picture{width:33px;height:33px;flex-basis:33px}.book-index button{gap:5px;font-size:12px;padding:7px 5px}.book-recipe-top h3{font-size:21px}.book-hero-picture{width:76px;height:64px;flex-basis:76px}.book-recipe-top>div>span{font-size:9px}.book-ingredient-grid{grid-template-columns:repeat(auto-fit,minmax(73px,1fr))}
}
