/* Compact game chrome. Large headings retain OfficeTitle; all working text is Nunito. */
.game{height:100dvh;min-height:560px;display:grid;grid-template-columns:minmax(0,1fr) 292px;grid-template-rows:72px minmax(0,1fr);overflow:hidden}
.topbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,420px) minmax(390px,1fr);align-items:center;gap:20px;min-height:0;height:72px;padding:0 20px;background:#2d454f;border:0;flex-wrap:nowrap;z-index:15}
.brand-group{display:flex;align-items:center;gap:16px;min-width:0}.brand{font-size:23px;letter-spacing:.3px;gap:9px;flex-shrink:0}.brand>span:first-child{display:block}.brand>span:first-child svg{width:26px;height:26px}.brand small{display:none}.day-label{display:block;font-size:13px;letter-spacing:0;border-left:1px solid #60747b;padding:3px 0 3px 16px;max-width:160px;white-space:normal;line-height:1.25;color:#d3ded9}.top-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;min-width:0}.top-actions>button,.top-popover>summary{height:36px;padding:6px 7px;background:transparent;color:#e2e9e1;border:0;border-radius:2px;font-size:14px;white-space:nowrap;min-width:30px}.top-actions>button:hover,.top-popover>summary:hover{background:#ffffff10}.top-actions>.management-button{gap:5px}.top-actions>.management-button>span:first-child{display:none}.top-actions>#shop>svg{display:none}.top-actions>#pause{border:1px solid #5b737c;border-radius:50%;width:32px;height:32px;padding:7px}.top-actions>#pause svg{width:15px;height:15px}.top-actions .prepared-line{gap:7px;margin-right:3px}.prepared-line .inventory-label{display:none}.top-actions .stock{height:25px;min-width:0;border:0;background:none;padding:0;gap:4px;color:#e0e9df;border-radius:0}.top-actions .stock strong{font-size:14px}.top-actions .stock svg{width:18px;height:18px}.top-actions .stock.low strong{color:#c5d0c6}.top-actions .stock-cooker{display:none}
.topbar .cash-goal{position:relative;inset:auto;transform:none;width:100%;min-width:0;max-width:420px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;pointer-events:auto;color:#f3efd9;grid-column:2;grid-row:1;animation:none}
.goal-heading{display:flex;gap:12px;align-items:baseline;justify-content:space-between;min-width:0}.goal-label{font:550 14px OfficeBody,sans-serif;display:flex;align-items:baseline;gap:10px;white-space:nowrap;color:#c8d8d6}.goal-amount{white-space:nowrap;display:flex;align-items:baseline;gap:3px}.goal-heading .goal-amount strong{font:800 23px OfficeBody,sans-serif;line-height:1.15;letter-spacing:0}.goal-heading #goal-target{font:600 14px OfficeBody,sans-serif;color:#adc1be}.goal-heading #goal-status,.cash-goal .goal-caption,.goal-tick{display:none}.cash-goal .goal-track{height:4px;background:#6f8487;border:0;border-radius:0;margin-top:8px;overflow:hidden}.cash-goal .goal-track>i{background:#d3bc6e;box-shadow:none;transition:width .48s cubic-bezier(.2,.7,.2,1)}.cash-goal .goal-track>i:after{background:linear-gradient(90deg,transparent,#fff8d5,transparent);width:50%;left:50%;transform:translateX(-220%)}.cash-goal.collecting .goal-track>i:after{animation:receipt-glint .7s ease-out}.cash-goal.goal-met .goal-track>i{background:#bccda9}.cash-goal.goal-met .goal-label{color:#d5e2cb}.cash-goal.goal-met .goal-label:before{content:'✓';font-size:15px;color:#d5e2cb}.cash-goal.goal-celebrating:after{display:none}.cash-goal #goal-particles{position:relative;display:inline-block;inset:auto;width:58px;height:18px;pointer-events:none;overflow:visible}.cash-goal .goal-income{position:absolute;left:0;right:auto;top:0;bottom:auto;font:800 15px OfficeBody,sans-serif;color:#f1d279;text-shadow:none;white-space:nowrap;line-height:18px}.goal-spark{display:none}@keyframes receipt-glint{to{transform:translateX(120%)}}
.top-popover{position:relative}.top-popover>summary{display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;list-style:none}.top-popover>summary::-webkit-details-marker{display:none}.top-popover>summary:focus-visible{outline:2px solid #e1c879;outline-offset:2px}.popover-panel{position:absolute;right:0;top:45px;width:285px;padding:18px;background:#f4f3e8;border:1px solid #b5c2b4;box-shadow:0 10px 28px #15333540;color:#47666b;z-index:30}.pantry-panel>strong{display:block;font-family:OfficeTitle,sans-serif;font-size:23px;margin-bottom:13px}.pantry-panel .inventory{margin:0;display:flex;flex-direction:column;gap:15px}.pantry-panel .inventory-line{display:flex;flex-wrap:wrap;gap:7px}.pantry-panel .inventory-label{width:100%;font-size:12px;color:#68837b;display:block}.pantry-panel .stock{display:flex;background:#e8ede2;border:1px solid #c5cfbd;min-width:41px;gap:4px;padding:5px;color:#47666b}.pantry-panel .stock strong{font-size:16px}.pantry-panel .stock.low strong{color:#8b906d}.pantry-panel .wallet{margin-top:15px;padding-top:12px;border-top:1px solid #cbd2c2;font-size:14px;color:#55766e}.pantry-panel .wallet:before{content:'Cash on hand';margin-right:auto}.pantry-panel .wallet svg{display:none}.pantry-panel .wallet strong{font-size:21px}.more-panel{width:215px;display:flex;flex-direction:column;gap:5px;padding:10px}.more-panel .more-option{width:100%;height:auto;min-height:40px;display:flex;justify-content:flex-start;gap:10px;background:transparent;color:#47666b;border:0;font-size:14px;padding:8px}.more-panel .more-option svg{width:20px;height:20px}.more-panel .more-option:hover{background:#e5ebdf}.more-panel .more-option.demo-button{margin:0;letter-spacing:0}.more-panel .time-controls{margin:8px 0 0;padding:10px 0;border-top:1px solid #cbd2c2;justify-content:center}.more-panel .time-controls button{font-size:14px;height:32px;min-width:48px;background:#e9ede3;border-color:#bdcbbc;color:#4a6a68}.more-panel .time-controls .active{background:#4b6e72;color:#f4f2e5}.more-panel .home-link{display:block;text-align:center;padding:8px;font-size:14px;color:#648075}
.play-area{min-width:0;min-height:0}.world-shell{min-height:0;flex:1}.phase-strip{position:absolute;top:12px;left:16px;right:auto;bottom:auto;max-width:calc(100% - 70px);min-height:0;width:auto;display:flex;flex-wrap:wrap;gap:8px;padding:0;background:transparent;border:0;z-index:4;color:#526e69;pointer-events:none}.phase-icon,.phase-info>span,.phase-meter,.phase-strip .phase-meter:not([hidden]){display:none!important}.phase-info{grid-column:auto;grid-row:auto;align-self:center;background:#f1f0dfeb;padding:8px 10px;min-width:0;border:1px solid #d2d9c5}.phase-info strong{font:750 12px OfficeBody,sans-serif;white-space:nowrap;line-height:1.2;letter-spacing:.1px}.phase-strip .shift-clock{display:flex;gap:5px;align-items:center;grid-column:auto;grid-row:auto;background:#f1f0dfeb;border:1px solid #d2d9c5;padding:6px 9px;min-width:0}.shift-clock strong{font-size:14px}.shift-clock svg{width:15px;height:15px}.shift-clock small{display:none}.phase-strip .phase-action{grid-column:auto;grid-row:auto;pointer-events:auto;min-height:32px;padding:6px 10px;font-size:13px;background:#4c7070;border:1px solid #4c7070;border-radius:1px;justify-self:auto}.world-tools{top:12px;left:16px;right:16px;justify-content:flex-end;gap:7px}.world-tools .scene-badge{display:none}.world-tools button{width:32px;height:32px;border-radius:1px}.world-tools .task-panel-toggle{display:none}.play-footer{min-height:27px;height:27px;padding:4px 12px;gap:10px}.play-footer>#replan-day,.play-footer #event-line{font-size:12px}.staff-bar{height:78px;min-height:78px;gap:0;padding:0;background:#e9eee1;border-top:1px solid #bccabd;overflow-x:auto;display:flex;grid-template-columns:none}.staff-card{height:77px;min-height:0;min-width:155px;border:0;border-right:1px solid #cbd3c0;border-radius:0;padding:12px 18px;background:transparent}.staff-card.selected{border-color:#c3cdbb;background:#f5efd8;box-shadow:inset 0 3px #b79c5e}.staff-card .avatar{width:40px;height:45px;display:block}.staff-card .staff-text strong{font-size:16px}.staff-card .staff-key{font-size:12px;color:#90a088}.staff-card .staff-bottom{margin-top:7px}.staff-empty{width:100%;padding:14px;justify-content:center;font-size:15px}.staff-empty button{font-size:14px;padding:8px 15px}.interaction-prompt{font-size:13px!important;max-width:85%!important;bottom:12px!important;padding:7px 10px;border-radius:2px;box-shadow:none}
.inspector{padding:22px 20px;border:0;border-left:1px solid #c6d0c1;background:#eef1e5;color:#466b6f;scrollbar-gutter:auto;overflow:auto}.inspector-tab,.robot-inspector>.inspector-tab{font-family:OfficeBody,sans-serif;font-weight:800;font-size:12px;letter-spacing:1px;color:#8b9e8c;background:none;padding:3px 0 15px;margin-bottom:22px;border:0;border-bottom:1px solid #c6d0bf;border-radius:0}.employee-header{gap:12px;margin-bottom:16px}.employee-header .avatar.big{width:60px;height:60px;background:#b5cabe;border-radius:3px}.employee-header .eyebrow{font-size:13px;color:#82977f}.employee-header h1{font-size:30px;letter-spacing:.5px;color:#3d6268;line-height:1.1}.employment{font-size:14px;color:#6d8d7d;margin:0 0 22px}.skills{gap:0;border-block:1px solid #c5cfbe;padding:14px 0;margin-bottom:22px}.skill{border:0;border-right:1px solid #ccd5c4;background:none;border-radius:0;padding:3px 10px;gap:8px;justify-content:center;color:#7a9586}.skill:last-child{border:0}.skill strong{font-size:21px;color:#729184}.skill svg{width:18px;height:18px}.skill .icon-button{min-width:17px;color:#52746c;background:#dce6d5}.panel-heading h2{font-size:23px;font-weight:400}.station-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}.station-actions button{border:1px solid #c3d0bc;background:#e8eee0;color:#688d81;border-radius:0;min-height:70px;padding:8px 5px}.station-actions button span{font-size:14px!important;color:inherit!important}.station-actions button.selected{background:#dce9da;border-color:#9eb9a2;color:#3c7d73}.dispatch-context{border:0;border-top:1px solid #c6d0bf;border-radius:0;padding:18px 0 0;background:transparent;min-height:0;margin-bottom:13px}.dispatch-heading{font-size:15px;color:#4c7b70;margin-bottom:15px}.dispatch-choice{border-radius:0;border:1px solid #d0d9c7;background:#f5f6ed;color:#638577;min-height:65px}.dispatch-choice>span{font-size:14px}.dispatch-choice small{font-size:12px!important}.dispatch-choice .seat-tag{font-size:12px}.dispatch-options .dish-recipe-choice{min-width:100px;min-height:90px}.dispatch-options .dish-recipe-choice>span{font-size:14px}.dispatch-options .dish-recipe-choice small{font-size:12px}.dispatch-empty,#dispatch-note,.task-status{font-size:13px!important;color:#718b7b!important}.batch-picker{font-size:13px}.batch-picker button{font-size:14px;border-radius:0}.rule-card{border-radius:2px;background:#e6ecdf;border-color:#c4d0ba}.rule-card select,.rule-card input[type=number]{background:#f4f5ec;color:#476966;border-color:#becbb6}.rule-priority,.rule-status,.rule-tools button{color:#628477}.inspector-drawer-close{display:none}
/* Shared paper layout: non-scrolling header and footer, one scrollable body. */
dialog.sheet-dialog{padding:0!important;border:1px solid #bbc7b7!important;border-radius:2px!important;background:#f5f4e9!important;color:#47666b;max-height:calc(100dvh - 40px)!important;overflow:hidden!important;scrollbar-gutter:auto;width:min(540px,calc(100vw - 32px));max-width:none;box-shadow:0 18px 60px #102c3f55!important}
dialog.sheet-dialog[open]{display:flex;flex-direction:column}
.sheet-header{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px 20px;align-items:center;flex-shrink:0;padding:23px 28px;border-bottom:1px solid #cbd4c1;background:#f5f4e9;z-index:1;min-width:0}.sheet-header .dialog-close{position:static!important;float:none!important;margin:0!important;width:44px;height:44px;grid-column:2;grid-row:1;align-self:center;border:1px solid #c9d2c1;border-radius:0;background:transparent;color:#557e7c;flex-shrink:0;padding:10px}.sheet-header>.dialog-close:hover{background:#e6eddf}.sheet-header>.dialog-close svg{width:20px;height:20px}.sheet-header h2{font-size:31px;line-height:1.15;margin:0;color:#3b6069;letter-spacing:.2px}.sheet-title{min-width:0}.sheet-title>.eyebrow{font-size:12px;margin-bottom:7px;color:#7c9385}.sheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:23px 28px;scrollbar-gutter:stable}.sheet-footer{flex-shrink:0;padding:16px 28px;border-top:1px solid #cbd4c1;background:#edf1e5;display:flex;gap:12px;align-items:center}.sheet-footer:empty{display:none}.sheet-footer button{margin:0;min-height:42px;font-size:15px;border-radius:1px}.sheet-footer .primary{background:#4c7177;border-color:#4c7177}.sheet-footer .quiet-button{color:#55786d}.sheet-footer .full{width:auto;flex:1}.sheet-dialog .management-heading,.sheet-dialog .shop-header{display:flex;align-items:center;min-width:0;gap:18px;margin:0;padding:0;border:0}.sheet-dialog .management-heading>div:first-child,.sheet-dialog .shop-header>div:first-child{flex:1;min-width:0}.management-heading h2{font-size:31px}.management-heading p{font-size:14px;margin:6px 0 0}.management-total{min-width:90px;flex-shrink:0;margin:0}.management-total strong{font-size:27px}.management-total small{font-size:12px}.sheet-dialog .management-ribbon{margin:0 0 20px;padding:10px 0;background:transparent;border:0;border-bottom:1px solid #cbd4c1;gap:12px;flex-wrap:wrap}.sheet-dialog.management-dialog{width:min(1170px,calc(100vw - 32px))!important;max-width:1170px!important}.menu-book-body{grid-template-columns:minmax(0,1fr) 230px;gap:24px}.recipe-cards{gap:16px}.recipe-card{padding:18px;border-radius:1px}.recipe-card h3{font-size:24px}.candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.candidate-card{padding:16px;border-radius:1px;min-width:0}.candidate-heading{gap:9px;min-width:0}.candidate-heading .avatar.big{width:50px;height:56px}.candidate-heading .recipe-role{font-size:13px;line-height:1.2;white-space:normal}.candidate-heading h3{font-size:25px;line-height:1.1}.candidate-wage{margin-left:auto;padding-left:2px}.candidate-wage strong{font-size:24px}.candidate-wage small{font-size:12px}.candidate-skill{gap:7px;min-width:0}.candidate-skill>span{width:88px;font-size:14px}.candidate-skill>i{min-width:15px;flex:1}.crew-budget{margin:0;padding:0;border:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.crew-budget p{margin:0;font-size:14px!important}.crew-budget button{flex-shrink:0}.crew-starter{margin-bottom:20px}.crew-starter button{min-width:0}.sheet-dialog .menu-plan{top:0;border-radius:1px}.sheet-dialog .management-paper{padding:0;border:0}
dialog.sheet-dialog.shop-dialog{width:min(1040px,calc(100vw - 32px));max-width:1040px}.shop-header h2{font-size:31px}.shop-header .shop-wallet{font-size:25px;margin:0;color:#4c6e68}.shop-header .shop-wallet:before{content:'Cash';font-size:13px;color:#7c9384}.shop-header .shop-wallet svg{display:none}.supply-tabs{grid-column:1/-1;display:flex;gap:20px;margin:0 0 -23px;border:0}.supply-tabs button{font-size:15px;padding:12px 0 13px;border:0;border-bottom:3px solid transparent;background:transparent;color:#7d9486;border-radius:0;min-height:48px}.supply-tabs button[aria-pressed=true]{color:#4d766b;border-color:#b79c60}.shop-dialog .sheet-body{padding-top:18px}.shop-forecast{margin:0 0 20px;padding:12px 14px;border:0;background:#e6eddd;gap:10px}.shop-forecast>span:last-child{font-size:14px;gap:14px}.shop-forecast strong{font-size:18px}.shop-forecast svg{width:23px;height:23px}.shop-columns{display:block;grid-template-columns:none;gap:0}.shop-columns h3{display:none}.shop-dialog[data-supply-tab=ingredients] .equipment-shop,.shop-dialog[data-supply-tab=equipment] .ingredient-shop{display:none}.shop-dialog[data-supply-tab=equipment] .shop-forecast{display:none}.equipment-shop{padding:0;border:0}.equipment-shop .shop-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.equipment-shop .shop-item{padding:16px;border-radius:1px;background:#eff2e7;border-color:#cad4c0}.equipment-shop .shop-item button{border-radius:1px;background:#56786d}.ingredient-items{border:0;border-radius:0}.ingredient-row{background:transparent;grid-template-columns:45px minmax(140px,1fr) 140px;border-bottom:1px solid #d3d9c9;padding:18px 4px;gap:18px}.ingredient-row:last-child{border-bottom:1px solid #d3d9c9}.ingredient-row>svg{width:34px;height:34px}.ingredient-details strong{font-size:18px;color:#456c70}.ingredient-details small{font-size:14px!important;color:#849985!important}.ingredient-owned{display:inline!important;margin-left:14px}.ingredient-stepper{gap:0;justify-content:flex-end}.ingredient-stepper button,.ingredient-stepper input{height:36px;border-radius:0;width:36px;border:1px solid #c4d0bc}.ingredient-stepper input{width:48px;border-inline:0;background:#f9f9f0;font-size:17px}.ingredient-stepper button{font-size:21px;background:#e8efdf;color:#608978}.shop-section-note{font-size:14px!important;margin-bottom:8px}.supply-checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,300px);gap:8px 24px;align-items:center}.cart-ledger{margin:0;padding:0;grid-column:1;grid-row:1;gap:4px}.cart-ledger>div:not(.cart-grand-total){font-size:13px;max-width:220px;gap:15px}.cart-ledger .cart-grand-total{border:0;padding:0;margin:0;font-size:17px;justify-content:flex-start;gap:12px;order:-1}.cart-grand-total strong{font-size:24px}.supply-checkout #ingredient-buy{grid-column:2;grid-row:1;width:100%;font-size:17px;margin:0;min-height:46px}.supply-checkout .cart-message{grid-column:1/-1;font-size:14px!important;line-height:1.35!important;margin:0;min-height:0}.supply-checkout .cart-message:empty{display:none}.supply-checkout .ingredient-policy{display:none}.supply-checkout .planning-links{grid-column:1/-1;display:flex;justify-content:flex-start;gap:14px;margin:0;padding:0;border:0;background:none}.supply-checkout .planning-links button{min-height:25px;padding:1px 0;border:0;text-decoration:underline;text-underline-offset:3px;background:none;color:#7a9280;font-size:13px}.supply-checkout .shop-delivery{grid-column:1/-1;margin:0}.shop-dialog[data-supply-tab=equipment] .supply-checkout{display:none}.purchase-stamp{position:static;transform:none;font-size:14px;grid-column:1/-1;align-self:flex-start;padding:3px;max-width:180px}
dialog.sheet-dialog.newspaper{width:min(680px,calc(100vw - 32px));max-width:680px;background:#f5f0e2!important}.newspaper .sheet-header{padding:20px 24px;background:#f5f0e2;gap:14px;border-bottom:0}.newspaper .paper-masthead{font-size:35px;line-height:1.1;display:block;letter-spacing:-1.3px;margin:0;padding:0;border:0}.newspaper .sheet-body{padding:0 24px 21px;background:#f5f0e2}.newspaper .news-paper{padding:0;background:none}.newspaper .paper-edition{font-size:12px}.newspaper .sheet-footer{background:#eae9da;padding:14px 24px}.newspaper .news-actions{width:100%;margin:0;gap:12px;display:flex;justify-content:space-between}.newspaper .news-actions button{min-width:0;margin:0;font-size:15px}.sheet-body .help-steps p{font-size:15px;line-height:1.5;margin-bottom:14px}.sheet-body .help-steps b{display:block}.sheet-footer .help-footer{padding:0;margin:0;width:100%;border:0}.sheet-dialog.audio-dialog{width:min(450px,calc(100vw - 32px))}.audio-slider{grid-template-columns:22px 49px minmax(50px,1fr) 36px;gap:8px}.audio-slider output{font-size:14px!important}.audio-dialog .sheet-body{padding-top:12px}.sheet-dialog.demo-dialog{width:min(620px,calc(100vw - 32px))}.demo-chapters{grid-template-columns:repeat(3,minmax(0,1fr))}.demo-chapters strong{white-space:normal;line-height:1.25}.demo-cash-row{flex-wrap:wrap}.demo-cash-row input{min-width:110px}.sheet-dialog.shift-book{width:min(1000px,calc(100vw - 32px))}.sheet-dialog .book-spread{padding:0;gap:24px}.sheet-dialog .book-page{padding:15px 18px;margin:0;min-width:0}.sheet-dialog .result-stamp{position:static;transform:none;font-size:18px;margin-top:14px;padding:7px}.sheet-footer .book-actions{display:flex;gap:12px;width:100%;margin:0;padding:0}.sheet-footer .book-actions button{flex:1;width:auto}.result-ledger>div{font-size:14px!important;gap:10px}.result-leftovers>div{align-items:flex-start}.result-leftovers>div>span{width:95px}.result-ledger strong{font-size:20px}.result-target strong{font-size:36px}.result-target{flex-wrap:wrap}.result-stats{gap:6px}.result-stats>div{grid-template-columns:18px 1fr;gap:4px}.result-stats svg{width:18px}.result-stats small{font-size:13px}.result-leftovers>div>div{gap:7px}.result-stamp{box-shadow:none}
dialog.unlock-dialog{max-height:calc(100dvh - 40px)!important;overflow:hidden!important;border-radius:2px}.unlock-content{padding:0;display:flex;flex-direction:column;max-height:calc(100dvh - 44px);min-height:0}.unlock-header{padding:24px 28px 0;flex-shrink:0}.unlock-content h2{margin:18px 0 5px}.unlock-header>p{font-size:15px;color:#cfdbd0;margin:5px 0 0}.unlock-content>.sheet-body{padding:0 28px;overflow-y:auto;min-height:0}.unlock-cards{margin:22px 0;grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}.unlock-card{border-radius:2px;min-height:250px}.unlock-footer{padding:16px 28px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;margin:0;background:#233942}.unlock-footer .primary{margin:0;min-height:44px}.unlock-footer .unlock-policy{margin:10px 0 0;text-align:center;font-size:14px!important}.unlock-steps span{padding:7px 11px;font-size:14px}
@media(min-width:1600px){.game{grid-template-columns:minmax(0,1fr) 310px}.topbar{grid-template-columns:minmax(260px,1fr) 420px minmax(430px,1fr)}.recipe-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1399px){.topbar{grid-template-columns:minmax(175px,1fr) minmax(260px,360px) minmax(320px,1fr);gap:15px;padding-inline:16px}.brand{font-size:20px}.brand-group{gap:9px}.day-label{font-size:12px;padding-left:10px;max-width:100px}.top-actions{gap:4px}.top-actions .prepared-line{gap:4px}.top-actions>.management-button{padding-inline:5px}.top-actions>.management-button>span:last-child{font-size:13px}.top-popover>summary{padding-inline:5px}}
@media(max-width:1199px){.topbar{grid-template-columns:minmax(145px,1fr) minmax(250px,340px) minmax(250px,1fr);gap:15px}.brand{font-size:20px}.brand-group .day-label{display:none}.top-actions .prepared-line{margin:0}.top-actions>.management-button>span:first-child{display:none}.pantry-panel .prepared-line{display:flex}.goal-label{font-size:13px;gap:6px}.cash-goal #goal-particles{width:45px}.goal-heading .goal-amount strong{font-size:22px}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-heading .avatar.big{width:58px;height:62px}.candidate-heading h3{font-size:27px}.candidate-skill>span{width:105px}}
@media(max-width:979px){.game{grid-template-columns:minmax(0,1fr);grid-template-rows:72px minmax(0,1fr);display:grid;min-height:0;height:100dvh}.topbar{grid-template-columns:38px minmax(220px,1fr) auto;gap:16px;padding:0 14px;min-height:0;height:72px}.brand>span:last-child{display:none}.brand{width:32px}.brand>span:first-child svg{width:30px;height:30px}.day-label{display:none}.top-actions{gap:5px}.top-actions>.management-button{height:34px;min-width:29px;padding:5px}.top-actions>.management-button>span:first-child{display:block}.top-actions>.management-button>span:last-child{display:none}.top-actions>#shop>svg{display:block}.top-popover>summary span{display:none}.top-actions .management-button svg{width:20px;height:20px}.top-actions>#pause{width:29px;height:29px}.topbar .cash-goal{max-width:none}.topbar .goal-heading{gap:5px}.topbar .goal-label{font-size:13px;gap:6px}.cash-goal #goal-particles{width:40px}.topbar .goal-amount strong{font-size:21px}.topbar .goal-amount #goal-target{font-size:13px}.play-area{grid-column:1;grid-row:2;min-height:0}.world-shell{min-height:0;height:auto}.world-tools{right:14px}.world-tools .task-panel-toggle{display:flex;position:absolute;right:0;top:42px;width:auto;min-width:74px;gap:5px;padding:7px 9px;font-size:13px;height:35px;background:#f1f0dfed;border:1px solid #c2cfba;color:#577771}.world-tools .task-panel-toggle svg{width:18px;height:18px}.inspector{position:fixed;top:72px;right:0;bottom:0;left:auto;width:330px;max-width:calc(100vw - 20px);z-index:20;border-left:1px solid #bcc9b5;padding:20px;box-shadow:-8px 0 30px #15364024;visibility:hidden;transform:translateX(101%);transition:transform .18s ease,visibility .18s;overflow:auto;scrollbar-gutter:auto}.inspector.drawer-open{visibility:visible;transform:none}.inspector-drawer-close{display:flex;position:absolute;right:15px;top:14px;width:32px;height:32px;border:1px solid #b9c9b2;background:transparent;color:#67887c;border-radius:0;padding:6px}.inspector-tab{padding-right:36px}.inspector .station-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-card .staff-key{display:block}.menu-book-body{display:block}.menu-plan{margin-top:24px;position:static}.sheet-header{padding:20px 22px}.sheet-body{padding:20px 22px}.sheet-footer{padding:15px 22px}.management-ribbon{align-items:center}.supply-tabs{margin-bottom:-20px}.equipment-shop .shop-items{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-columns{display:block}.shop-dialog .ingredient-shop{padding:0}.crew-starter{flex-wrap:wrap}}
@media(max-width:649px){.game{grid-template-rows:112px minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}.topbar{height:112px;grid-template-columns:1fr auto;grid-template-rows:47px 65px;gap:0 12px;padding:0 14px}.brand-group{grid-row:1;grid-column:1}.brand>span:last-child{display:block;font-size:16px}.brand{width:auto;gap:6px}.brand>span:first-child svg{width:22px;height:22px}.top-actions{grid-row:1;grid-column:2;gap:3px}.top-actions>.management-button{min-width:25px;padding:3px}.top-actions .management-button svg{width:18px;height:18px}.top-popover>summary{min-width:25px;padding:4px 3px;height:32px}.top-popover>summary svg{width:18px;height:18px}.top-actions>#pause{width:26px;height:26px;padding:6px;min-width:26px}.topbar .cash-goal{grid-row:2;grid-column:1/-1;align-self:start;padding:8px 0 10px;border-top:1px solid #576e75;max-width:none}.topbar .goal-label{font-size:14px}.topbar .goal-amount strong{font-size:23px}.topbar .goal-amount #goal-target{font-size:14px}.cash-goal .goal-track{margin-top:7px;height:4px}.cash-goal #goal-particles{width:55px}.popover-panel{position:fixed;right:12px;top:47px;width:285px;max-width:calc(100vw - 24px)}.more-panel{width:220px}.phase-strip{left:10px;top:10px;gap:6px;max-width:calc(100% - 55px)}.phase-info{padding:7px 8px}.phase-info strong{font-size:11px}.phase-strip .shift-clock{padding:5px 6px}.shift-clock strong{font-size:12px}.phase-strip .phase-action{font-size:12px;min-height:29px;padding:5px 8px}.phase-info strong{max-width:195px;white-space:normal}.world-tools{right:10px;top:10px}.world-tools .task-panel-toggle{top:39px;min-width:67px;font-size:12px;height:31px;padding:5px 7px}.world-tools>button{width:29px;height:29px}.staff-bar{height:67px;min-height:67px;grid-template-columns:none}.staff-card{min-width:125px;height:66px;padding:8px 12px;gap:8px}.staff-card .staff-text strong{font-size:14px}.staff-card .avatar{width:31px;height:39px}.staff-card .staff-key{display:none}.staff-empty{padding:9px;font-size:14px;gap:10px}.staff-empty svg{width:22px}.staff-empty button{font-size:14px;padding:7px 11px}.play-footer{height:27px;min-height:27px;padding:4px 9px}.play-footer #event-line,.play-footer>#replan-day{font-size:11px}.interaction-prompt{font-size:12px!important;max-width:90%!important;bottom:8px!important}.inspector{top:112px;width:330px;max-width:calc(100vw - 12px);padding:18px}.inspector .skill{padding:5px 9px}.inspector .station-actions button span{font-size:14px!important}.sheet-dialog .sheet-header{padding:17px 16px;gap:10px;grid-template-columns:minmax(0,1fr) 40px}.sheet-header .dialog-close{width:40px;height:40px;padding:10px}.sheet-header h2,.sheet-dialog .management-heading h2,.shop-header h2{font-size:25px}.sheet-header .management-heading,.sheet-header .shop-header{gap:12px;align-items:flex-start;flex-wrap:wrap}.sheet-header .management-heading>div:first-child,.sheet-header .shop-header>div:first-child{flex:1 1 100%}.management-total{min-width:0;display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.management-total strong{font-size:21px}.management-total small{font-size:12px}.management-total>svg{display:none}.management-heading p{font-size:13px;line-height:1.35}.shop-header .shop-wallet{font-size:21px;margin:0}.sheet-body{padding:17px 16px;scrollbar-gutter:auto}.sheet-footer{padding:13px 16px;gap:9px;flex-wrap:wrap}.sheet-footer button{font-size:14px;min-height:40px}.sheet-dialog.management-dialog,.sheet-dialog.shop-dialog{width:calc(100vw - 20px)!important}.recipe-cards,.candidate-grid{grid-template-columns:minmax(0,1fr)}.recipe-card{padding:16px}.recipe-card h3{font-size:25px}.recipe-card-top{min-height:60px}.recipe-ingredients .ingredient-symbol{min-width:63px}.dish-economics{gap:7px}.dish-economics small{font-size:12px}.dish-economics strong{font-size:22px}.candidate-card{padding:16px}.candidate-heading h3{font-size:27px}.candidate-wage strong{font-size:25px}.candidate-heading .avatar.big{width:53px;height:58px}.candidate-skill>span{width:96px}.crew-budget{flex-wrap:wrap;gap:7px}.crew-budget p{font-size:13px!important}.crew-budget button{font-size:13px;min-height:34px}.crew-starter{padding:13px}.crew-starter strong{font-size:16px}.crew-starter p{font-size:14px}.crew-starter button{font-size:14px;margin-top:12px;width:100%}.management-ribbon>span,.management-ribbon strong{font-size:14px}.supply-tabs{grid-column:1/-1;margin-bottom:-17px;gap:18px}.supply-tabs button{font-size:14px;padding:10px 0 11px;min-height:43px}.supply-tabs svg{width:19px;height:19px}.shop-forecast{padding:10px 11px;margin-bottom:12px}.shop-forecast>span:last-child{display:flex;flex-wrap:wrap;font-size:13px;gap:5px 12px}.shop-forecast strong{display:inline;font-size:17px}.ingredient-row{grid-template-columns:29px minmax(80px,1fr) 99px;gap:9px;padding:14px 0}.ingredient-row>svg{width:27px;height:27px}.ingredient-details strong{font-size:16px}.ingredient-details small{font-size:12px!important;line-height:1.3}.ingredient-owned{display:block!important;margin-left:0}.ingredient-stepper button{width:29px;height:34px;font-size:19px}.ingredient-stepper input{width:37px;height:34px;font-size:16px}.supply-checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,1fr);gap:8px 14px}.supply-checkout #ingredient-buy{font-size:15px;min-height:42px;padding:9px}.cart-ledger>div:not(.cart-grand-total){font-size:12px;gap:7px}.cart-ledger .cart-grand-total{font-size:15px;gap:8px}.cart-grand-total strong{font-size:22px}.supply-checkout .cart-message{font-size:13px!important}.supply-checkout .planning-links{gap:14px;flex-wrap:wrap}.supply-checkout .planning-links button{font-size:12px;min-height:24px}.equipment-shop .shop-items{grid-template-columns:1fr}.equipment-shop .shop-item strong{font-size:17px}.equipment-shop .shop-item p{font-size:14px}.equipment-shop .shop-item button{font-size:15px}.newspaper .paper-masthead{font-size:27px;letter-spacing:-1px}.newspaper .sheet-body{padding:0 16px 17px}.newspaper .paper-edition{font-size:10px}.newspaper #news-headline{font-size:29px!important}.newspaper #news-body{font-size:18px}.newspaper .news-actions button{font-size:14px;padding:8px 10px}.demo-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-chapters strong,.demo-chapters small{font-size:13px!important}.demo-chapters button{padding:12px 7px}.demo-cash-row{gap:7px}.demo-cash-row input{font-size:16px}.audio-dialog .sheet-header h2{font-size:25px}.audio-slider{grid-template-columns:20px 44px minmax(40px,1fr) 34px;gap:7px}.audio-slider output,.audio-slider{font-size:13px!important}.audio-dialog .sheet-body p{font-size:14px!important}.sheet-dialog .book-spread{grid-template-columns:1fr;gap:15px}.sheet-dialog .book-page{padding:13px}.sheet-footer .book-actions{flex-wrap:wrap}.sheet-footer .book-actions button{font-size:14px}.unlock-header{padding:20px 16px 0}.unlock-content>.sheet-body{padding:0 16px}.unlock-content h2{font-size:30px;margin-top:16px}.unlock-steps{gap:5px}.unlock-steps span{font-size:12px;padding:6px 8px}.unlock-cards{grid-template-columns:minmax(0,1fr);margin:18px 0;gap:14px}.unlock-card{min-height:0;padding:18px}.unlock-footer{padding:13px 16px}.unlock-footer .primary{font-size:15px;min-height:43px;padding:10px 16px}.unlock-footer .unlock-policy{font-size:12px!important;margin-top:7px}}
@media(max-width:389px){.brand>span:last-child{display:none}.topbar{padding-inline:11px}.top-actions{gap:6px}.sheet-header h2{font-size:23px}.sheet-dialog .management-heading h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.cash-goal *,.inspector{transition:none!important;animation:none!important}}
.cash-goal .goal-income{background:transparent;padding:0;box-shadow:none;border:0;border-radius:0;min-width:0}
/* Remove inherited decorative hardware and keep every disabled label legible. */
.topbar{box-shadow:none}.topbar::before,.topbar::after,.staff-card::after{display:none!important}.day-label{background:transparent;border-top:0;border-right:0;border-bottom:0;color:#cbdad5}.goal-heading{margin-bottom:0}.cash-goal .goal-track>i:after{box-shadow:none}.cash-goal.collecting .goal-track{animation:none}.staff-card,.staff-card:hover,.staff-card.selected{transform:none}.inspector{box-shadow:none}.employee-header{padding:0;border:0}.employment{padding:0;border:0}.inspector .employee-header .eyebrow{font-size:13px;line-height:1.3}.top-actions .stock{box-shadow:none}.topbar .brand{color:#ead18d}.phase-strip .phase-action{background:#4c7070!important;border:1px solid #4c7070!important;color:#f4f3e5!important;box-shadow:none}.phase-strip .phase-action:hover{background:#557f7b!important}.shop-columns,.shop-columns>section{background:transparent;padding:0}.supply-checkout .cart-ledger{background:transparent;border:0;position:static}.supply-checkout .purchase-stamp{position:static;inset:auto;transform:none;border:0;padding:0;background:transparent;font:700 13px OfficeBody,sans-serif;color:#568573;box-shadow:none;order:1}.dispatch-choice:disabled,.dispatch-choice:disabled:hover,.station-actions button:disabled,.station-actions button:disabled:hover{background:#e8ede2!important;color:#718578!important;border-color:#c9d3c2!important;opacity:.8;box-shadow:none}.dispatch-choice:disabled small,.dispatch-choice:disabled span{color:inherit!important}.station-actions button:disabled span{color:inherit!important}.sheet-footer .book-actions .primary{width:auto}.more-panel .home-link{display:block!important}.ingredient-stepper button:disabled,.ingredient-stepper button:disabled:hover{background:#e2e9d9!important;color:#81927e;opacity:.7}
.goal-heading{min-height:0;line-height:1.2}.top-actions .inventory-line.prepared-line .stock{background:transparent;border:0;box-shadow:none}.top-actions>#shop>svg,.shop-header .shop-wallet svg{display:none!important}.top-actions .management-button{font-weight:550}.panel-heading{border:0;padding-bottom:0;margin-top:0}.dispatch-context{box-shadow:none}.station-actions button:hover:not(:disabled){background:#dce9da;box-shadow:none;transform:none;border-color:#a9bfa8}.dispatch-choice:hover:not(:disabled){background:#e4eddd;box-shadow:none;border-color:#9eb9a2}.ingredient-details small{font-weight:550}.management-total{padding:0;color:#53776d}.management-total strong{font-family:OfficeBody,sans-serif;font-weight:800}.supply-checkout .cart-grand-total>span{font-size:0}.supply-checkout .cart-grand-total>span:after{content:'Basket';font-size:17px}.supply-checkout .cart-ledger>div:first-of-type:not(.cart-grand-total){display:none}.sheet-body .menu-plan{background:#e9eee1}.phase-strip .phase-info{flex:0 1 auto}.phase-strip .shift-clock{margin-left:0}
@media(max-width:979px){.top-actions>#shop>svg{display:inline-block!important}}
@media(max-width:649px){.sheet-header .management-total{justify-content:flex-start;flex-wrap:nowrap;text-align:left;gap:8px}.sheet-header .management-total small{flex-basis:auto;font-size:11px}.sheet-header .management-total strong{font-size:21px}.supply-checkout .cart-grand-total>span:after{font-size:15px}}
.inspector button:hover:not(:disabled),.inspector .dispatch-choice.selected{background:#dbe8d5;color:#416e65;border-color:#9eb8a0;box-shadow:none}.inspector button.primary:hover:not(:disabled){background:#426d6c;color:#f6f4e6}.sheet-dialog button:not(.primary):hover:not(:disabled){background:#e1ead9;color:#456f65;box-shadow:none;border-color:#a7bea2}.sheet-dialog button.primary:hover:not(:disabled){background:#40666d;color:#faf7e8;box-shadow:none}.top-actions>button:hover:not(:disabled){background:#ffffff14;color:#f4f1dc;box-shadow:none}.more-panel .more-option:hover:not(:disabled){background:#e1ead9;color:#456f65;box-shadow:none}.more-panel .time-controls button:hover:not(:disabled){background:#d6e2ce;color:#456f65;box-shadow:none}.supply-tabs button:hover:not(:disabled){border-color:#b79c60}.inspector .dispatch-choice:disabled,.inspector .dispatch-choice:disabled:hover{color:#6b8273!important;background:#e7ede0!important}
.staff-empty,.staff-empty>span,.staff-empty>svg{color:#668478}.staff-empty button{color:#f5f3e4;background:#4c7177;border-color:#4c7177}.staff-empty button:hover:not(:disabled){color:#fff9e8;background:#40656a;box-shadow:none}
.inspector-drawer-head{display:none}
@media(max-width:979px){.inspector-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #c5cfbe;padding-bottom:12px;margin-bottom:20px;font-size:12px;letter-spacing:1px;color:#80977f;font-weight:800}.inspector .inspector-tab{display:none!important}.inspector-drawer-head .inspector-drawer-close{position:static;inset:auto;margin:0;display:flex;width:36px;height:36px;flex-shrink:0}.inspector-drawer-head>span{flex:1;min-width:0}}
.title-screen{overflow:clip}.title-secondary button,.title-secondary a{font-size:13px!important;line-height:1.35;min-height:32px}.title-secondary{gap:9px 18px}.title-sheet{max-width:100%}
@media(max-width:650px){.title-sheet{left:8%;right:8%;bottom:9%}.title-sheet h1{font-size:clamp(51px,16vw,76px);line-height:.95}.title-sheet h1 br{display:block}.title-kicker{font-size:10px;letter-spacing:1.2px}.title-tagline{font-size:11px!important;line-height:1.5;margin-bottom:16px!important}.title-secondary{margin-top:11px;gap:5px}.title-secondary button,.title-secondary a{font-size:12px!important;min-height:29px}.title-sheet #title-play{font-size:13px;min-height:43px}.demo-chapters{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.robot-inspector>#robot-rules{margin-bottom:24px}
/* v12 — restore the cool paper, ochre tabs and compact kitchen controls. */
:root{--crew-paper:#e3eded;--crew-ink:#344f5d;--crew-line:#a3b8be;--crew-blue:#cbdfe4;--crew-edge:#829da8;--work-gold:#b79b70}
.game{grid-template-columns:minmax(0,1fr) 310px;grid-template-rows:72px minmax(0,1fr)}
.topbar{height:72px;padding:4px 20px 5px;grid-template-columns:minmax(265px,1fr) minmax(280px,420px) minmax(260px,1fr);grid-template-rows:27px 32px;gap:0 20px;border-bottom:3px solid #b79b70;box-shadow:inset 0 -1px #ddcda8;background:#2d454f}
.brand-group{grid-column:1;grid-row:1;gap:13px;align-self:end;min-width:0}.topbar .brand{font-size:21px;line-height:1.1;gap:8px;color:#e6c779}.brand>span:first-child svg{width:24px;height:24px}.topbar .day-label{font-size:12px;padding-left:12px;max-width:150px;line-height:1.1;overflow:visible}.topbar .cash-goal{grid-column:2;grid-row:1/3;align-self:center}.top-actions{grid-column:3;grid-row:1/3;align-self:center;gap:6px}.top-actions>button,.top-popover>summary{font-size:14px}.topbar .goal-amount strong{color:#f1e5b7}.topbar .goal-track{background:#607b83}.topbar .goal-track>i{background:#c6ad70}.topbar .goal-track>i:after{box-shadow:none}
.live-raw-stock{grid-column:1;grid-row:2;align-self:center;display:flex;align-items:center;gap:8px;min-width:0;margin:0;padding:3px 0 0;white-space:nowrap}.live-raw-stock .inventory-label{display:block;width:auto;margin-right:2px;font-size:11px;letter-spacing:.9px;color:#aabfc5;flex-shrink:0}.live-raw-stock .stock.raw-stock{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;height:26px;padding:2px 5px;background:#3a535f;border:1px solid #647f89;border-radius:1px;box-shadow:inset 0 1px #ffffff12;color:#e5e8dc;flex-shrink:0}.live-raw-stock .stock.raw-stock svg{width:19px;height:19px}.live-raw-stock .stock.raw-stock strong{font-size:14px;line-height:1.1;font-weight:750;color:#f0eacb}.live-raw-stock .stock.low strong{color:#b5c8c9}.live-raw-stock .stock.overflow strong{color:#f1c775}.pantry-panel .prepared-line{display:flex!important}.pantry-panel .prepared-line .inventory-label{display:block}.popover-panel{border:1px solid #829ca6;background:#e6eeeb;color:#3f606e;box-shadow:0 9px 24px #20394530}.more-panel .more-option{color:#426574}.more-panel .more-option:hover:not(:disabled){background:#cfdee1;color:#345665}.more-panel .time-controls button{background:#d6e3e4;border-color:#9fb5bc;color:#3b6070}.more-panel .time-controls .active{background:#c1aa76;color:#304b59;border-color:#a38c5d}.pantry-panel .wallet{color:#476977;border-color:#a9bdbe}.pantry-panel .stock{background:#d3e1e1;border-color:#9fb7bb;color:#436671}
/* The file tab gets its own header row at every width, including the drawer. */
.inspector{padding:0;border:1px solid #7c949d;border-left:3px solid #7d9298;border-top:0;background:#e3eded;box-shadow:inset 0 0 0 1px #f8f9f2;color:#3e5f6f;overflow:auto;scrollbar-color:#8ca5ad #dce7e7;scrollbar-gutter:auto}.inspector .crew-file-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;margin:0;padding:0 12px;background:#b39b75;border-top:2px solid #8d7556;border-bottom:1px solid #cdbb95;letter-spacing:1.1px;font-size:12px;font-weight:600;color:#334c5a}.crew-file-header>span{flex:0 1 auto;min-width:0;display:block;background:#d2b25e;padding:7px 12px;border-radius:3px 3px 0 0;border:1px solid #c6a552;border-bottom:0;align-self:flex-end;line-height:1.1}.inspector .crew-file-header .inspector-drawer-close{display:none}.inspector .inspector-tab,.inspector .robot-inspector>.inspector-tab{display:none!important}.inspector #worker-inspector{padding:14px 12px 18px}.inspector .empty-crew{padding:18px 16px}.inspector .empty-crew h2{color:#355362;font-size:28px;margin:6px 0 18px}.inspector .empty-crew small{font-size:14px;color:#66828c;line-height:1.45}.inspector .empty-crew .primary{background:#8ba6ae;border-color:#6e8d97;color:#f6f5e9;border-bottom:3px solid #6d8792}
.inspector .employee-header{gap:11px;margin:0;padding:0 0 11px;border-bottom:2px solid #98afb6;min-height:69px}.inspector .employee-header .avatar.big{width:50px;height:58px;border:2px solid #7994a0;border-radius:2px;background:#b8ccd0}.inspector .employee-header .eyebrow{font-size:12px;line-height:1.2;letter-spacing:.3px;color:#6b8997}.inspector .employee-header h1{font-size:31px;line-height:1.05;margin:5px 0 0;letter-spacing:.3px;color:#304c5b}.inspector .employee-id{display:block;font-size:25px;font-weight:550;color:#a3bbc0;margin-left:auto}.inspector .employment{padding:10px 0;margin:0 0 11px;border-bottom:1px solid #b7c9cc;font-size:14px;line-height:1.2;color:#638393;min-height:37px}.inspector .employment button{width:25px;height:25px;background:#ccdde0;color:#547685;border:1px solid #9db5bf;border-radius:3px}.inspector .skills{padding:0;margin:0 0 16px;gap:6px;border:0}.inspector .skill{border:0;border-top:2px solid #f6f8f2;border-bottom:2px solid #a9c0c7;background:#cfE0e5;box-shadow:none;padding:6px 9px;gap:8px;border-radius:1px;justify-content:flex-start;color:#597c8a;min-height:38px}.inspector .skill strong{font:400 19px OfficeTitle,sans-serif;color:#34515f}.inspector .skill svg{width:21px;height:21px}.inspector .skill .icon-button{background:#9ebac2;color:#3b6170;margin-left:auto;width:18px;min-width:18px;height:20px;border:0;border-radius:1px;padding:2px}.inspector .panel-heading{margin:0 0 10px;padding:0 0 6px;border-bottom:2px solid #a6bdc3;gap:8px}.inspector .panel-heading h2{font-size:21px;color:#355463;line-height:1.1}.inspector .panel-heading .icon-button{width:25px;height:25px;border:1px solid #7e9ea8;background:#a6bec5;color:#365c6b}
.inspector .station-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:0 0 12px}.inspector .station-actions button{height:58px;min-height:58px;min-width:0;padding:5px 2px;gap:4px;border:1px solid #8eabb7;border-bottom:3px solid #718e9b;border-radius:2px;background:#bed5df;color:#34586a}.inspector .station-actions button span{font-size:13px!important;line-height:1.1;color:inherit!important}.inspector .station-actions button svg{width:24px;height:24px}.inspector .station-actions button:hover:not(:disabled){background:#d2e2e5;border-color:#7b9ca8;color:#31576b;box-shadow:none}.inspector .station-actions button.selected{background:#dac78e;border-color:#ae955b;color:#3f5861;box-shadow:inset 0 1px #f6e9bb}.inspector .station-actions button:disabled,.inspector .station-actions button:disabled:hover{background:#cbdce1!important;color:#708a95!important;border-color:#a7bcc4!important;opacity:.8}
.inspector .dispatch-context{margin:0 0 12px;padding:11px 10px 10px;min-height:0;border:1px solid #bdcbd0;border-top:2px solid #adC2c7;border-bottom:2px solid #b7c9cc;background:#f2f2e8;box-shadow:none}.inspector .dispatch-heading{font-size:14px;line-height:1.2;color:#416b7f;gap:7px;margin:0 0 10px;min-height:20px}.inspector .dispatch-heading button{width:23px;height:23px;background:#d9e4e1;color:#68858e;border:0}.inspector .dispatch-empty{font-size:13px!important;line-height:1.4;padding:8px 0;min-height:38px;color:#819d9d!important}.inspector .dispatch-empty svg{width:25px;height:25px}.inspector #dispatch-note{font-size:12px!important;line-height:1.35;margin:8px 0 0;min-height:0;color:#708c92!important}.inspector .dispatch-options{gap:6px}.inspector .dispatch-choice{background:#d5e4e6;border:1px solid #9db6bf;border-bottom:2px solid #8aa6b1;border-radius:1px;color:#3d6477;min-height:53px;padding:7px;gap:4px}.inspector .dispatch-choice>span{font-size:13px;line-height:1.2}.inspector .dispatch-choice small{font-size:12px!important;line-height:1.15;color:#66878d}.inspector .dispatch-choice:hover:not(:disabled),.inspector .dispatch-choice.selected{background:#e4d8ac;color:#395d6b;border-color:#b09a66;box-shadow:none}.inspector .dispatch-choice:disabled,.inspector .dispatch-choice:disabled:hover{background:#dae4e4!important;color:#738d95!important;border-color:#afc3c7!important;opacity:.85}.inspector .dispatch-options>.dispatch-choice:not(.dish-recipe-choice):not(.plate-choice):not(.customer-choice){display:grid;grid-template-columns:26px minmax(0,1fr);gap:3px 5px;min-width:100px;min-height:60px;text-align:left}.inspector .dispatch-options>.dispatch-choice:not(.dish-recipe-choice):not(.plate-choice):not(.customer-choice)>svg{grid-row:1/3;width:26px;height:26px}.inspector .dispatch-options>.dispatch-choice:not(.dish-recipe-choice):not(.plate-choice):not(.customer-choice)>small{grid-column:2}.inspector .dispatch-options .dish-recipe-choice{display:grid;grid-template-columns:27px minmax(0,1fr);gap:3px 6px;padding:8px 7px;min-width:110px;min-height:68px;text-align:left;align-content:center}.inspector .dispatch-options .dish-recipe-choice>svg{width:27px;height:27px;grid-row:1/3}.inspector .dispatch-options .dish-recipe-choice>span{font-size:13px;line-height:1.15;min-width:0}.inspector .dispatch-options .dish-recipe-choice>small:not(.dish-mini-price){display:none}.inspector .dispatch-options .dish-recipe-choice>.dish-mini-price{grid-column:2;font-size:12px!important;color:#547c77}.inspector .dispatch-options .plate-choice,.inspector .dispatch-options .customer-choice{min-height:58px;flex-basis:calc(25% - 5px)}.inspector .dispatch-choice .seat-tag{font-size:11px}.inspector .dispatch-choice .mini-track{height:3px;bottom:4px;left:6px;right:6px;background:#9eb5ba}.inspector .batch-picker{padding:0 0 8px;margin:0;font-size:12px;gap:5px;color:#6b858b}.inspector .batch-picker button{width:28px;height:28px;min-height:28px;padding:3px;background:#dce7e6;color:#476b79;border:1px solid #a7bec2;font-size:14px}.inspector .batch-picker button[aria-pressed=true]{background:#a5c0c5;color:#2f5567;border-color:#7d9fa9}.inspector .worker-tools{margin:0;gap:9px;min-height:31px}.inspector .coffee-button{min-height:31px;height:31px;padding:4px 7px;background:#d7e2df;color:#947c4e;border-color:#b7c9c9}.inspector .coffee-button svg{width:22px;height:22px}.inspector .current-task{color:#6d8a94}.inspector .current-task .progress-track{height:4px;background:#b1c7cb}.inspector .current-task .progress-track i{background:#b8a06a}.inspector .task-status{font-size:13px!important;font-weight:550;line-height:1.3;color:#507c8a!important;margin:10px 0 0}.inspector .inspector-note{display:none!important}.inspector button:hover:not(:disabled){background:#ccdee2;color:#355e70;border-color:#9bb6bf;box-shadow:none}.inspector button.primary:hover:not(:disabled){background:#6d909e;color:#f4f3e4}
/* Frame the team strip as a row of paper files, without covering their labels. */
.staff-bar{height:77px;min-height:77px;padding:5px 6px;gap:4px;background:#8da3aa;border-top:2px solid #b79b70;border-bottom:1px solid #5f7b86;box-shadow:inset 0 1px #ebdec0;overflow-x:auto}.staff-card{height:64px;min-height:64px;min-width:145px;padding:9px 12px;border:1px solid #6e8b99;border-top:2px solid #e9f0ec;border-bottom:2px solid #758f9b;border-radius:2px;background:#d4e3e5;color:#365768;gap:9px;box-shadow:none}.staff-card.selected{background:#eee4c1;border:1px solid #a18b5d;border-top:3px solid #d2b26a;border-bottom:2px solid #8e7e5d;box-shadow:none}.staff-card:hover{background:#e0eceb;border-color:#8ba4aa;transform:none}.staff-card .staff-text strong{font-size:15px;color:#34596b}.staff-card .staff-key{font-size:11px;color:#79949d}.staff-card .staff-bottom{margin-top:5px}.staff-card .avatar{height:42px;width:36px}.staff-card .staff-track{height:3px;background:#a7bfc5}.staff-card .staff-track i{background:#6f959b}.staff-card.robot{background:#cddfe0;border-color:#7e9da7}.staff-card.robot.selected{background:#e3dfc2;border-color:#a18b5d}.staff-empty{color:#375e6b;background:#dce7e6;border:1px solid #77939e;border-top:1px solid #f0f3e9;padding:8px 12px;font-size:14px;gap:14px}.staff-empty>span,.staff-empty>svg{color:#557987}.staff-empty button{background:#c6ac75;color:#354f58;border:1px solid #a88c58;border-bottom:2px solid #8f7852;border-radius:1px;min-height:32px;padding:5px 12px}.staff-empty button:hover:not(:disabled){background:#d6bf8b;color:#304d5b;border-color:#a88c58}.play-footer{background:#2c4553;color:#b4c8cb;border-top:1px solid #d4bd86;min-height:28px;height:28px;padding:4px 12px}.play-footer>#replan-day{color:#c6bd94;border-right:1px solid #667f88;padding-right:12px}.play-footer #save-state{color:#93b0b8}.play-footer #event-line{color:#b7cbd0}.world-tools>button{border:1px solid #819da7;background:#e1e9e2e8;color:#3d6170}
@media(min-width:1600px){.game{grid-template-columns:minmax(0,1fr) 320px}.topbar{grid-template-columns:minmax(300px,1fr) 420px minmax(300px,1fr)}}
@media(max-width:1199px){.game{grid-template-rows:99px minmax(0,1fr)}.topbar{height:99px;grid-template-columns:minmax(160px,1fr) minmax(250px,340px) minmax(240px,1fr);grid-template-rows:58px 32px;padding:3px 16px;gap:0 15px}.topbar .brand-group{grid-row:1;align-self:center}.topbar .cash-goal,.top-actions{grid-row:1}.live-raw-stock{grid-column:1/-1;grid-row:2;justify-content:center;border-top:1px solid #5f7780;padding:4px 0 0;gap:12px}.live-raw-stock .stock.raw-stock{height:25px;min-width:44px}.topbar .brand{font-size:20px}.topbar .day-label{display:none}.topbar .cash-goal{max-width:none}}
@media(max-width:979px){.game{grid-template-columns:minmax(0,1fr);grid-template-rows:99px minmax(0,1fr)}.topbar{grid-template-columns:38px minmax(220px,1fr) auto;gap:0 16px;padding:3px 14px;grid-template-rows:58px 32px}.topbar .brand>span:last-child{display:none}.top-actions{gap:5px}.topbar .brand>span:first-child svg{width:28px;height:28px}.inspector{top:99px;width:330px;max-width:calc(100vw - 12px);padding:0;border:1px solid #7c949d;border-left:3px solid #829aa3;box-shadow:-6px 0 24px #203d4625;background:#e3eded}.inspector .crew-file-header{padding:0 10px;min-height:38px;margin:0}.inspector .crew-file-header .inspector-drawer-close{display:flex;position:static;inset:auto;width:30px;height:30px;min-width:30px;padding:5px;background:#dedfc7;border:1px solid #9c8b68;border-radius:1px;color:#4b6872}.inspector #worker-inspector{padding:12px}.inspector .station-actions{grid-template-columns:repeat(5,minmax(0,1fr))}.inspector .station-actions button span{font-size:13px!important}.world-tools .task-panel-toggle{background:#dce8e8ed;border-color:#8da9b1;color:#406979}}
@media(max-width:649px){.game{grid-template-rows:145px minmax(0,1fr)}.topbar{height:145px;padding:0 13px 3px;grid-template-columns:1fr auto;grid-template-rows:45px 58px 36px;gap:0 12px}.topbar .brand-group{grid-column:1;grid-row:1}.topbar .brand>span:last-child{display:block;font-size:16px}.topbar .brand>span:first-child svg{width:22px;height:22px}.topbar .brand{gap:6px}.topbar .cash-goal{grid-row:2;grid-column:1/-1;padding:7px 0 8px;border-top:1px solid #607b83;align-self:center}.top-actions{grid-column:2;grid-row:1;gap:3px}.live-raw-stock{grid-column:1/-1;grid-row:3;justify-content:space-between;gap:5px;padding:4px 0;border-top:1px solid #607b83;min-width:0}.live-raw-stock .inventory-label{font-size:10px;margin-right:1px;letter-spacing:.5px}.live-raw-stock .stock.raw-stock{height:26px;min-width:42px;gap:4px;padding:2px 5px}.live-raw-stock .stock.raw-stock svg{width:18px;height:18px}.live-raw-stock .stock.raw-stock strong{font-size:14px}.inspector{top:145px;width:330px;max-width:calc(100vw - 10px)}.inspector .crew-file-header{min-height:35px}.inspector #worker-inspector{padding:11px}.inspector .employee-header{min-height:63px;padding-bottom:9px;gap:10px}.inspector .employee-header .avatar.big{width:46px;height:53px}.inspector .employee-header h1{font-size:29px}.inspector .employee-header .eyebrow{font-size:11px}.inspector .employment{margin-bottom:9px;padding:8px 0;font-size:13px;min-height:34px}.inspector .skills{margin-bottom:12px;gap:5px}.inspector .skill{padding:5px 8px;min-height:35px}.inspector .skill strong{font-size:19px}.inspector .panel-heading{margin-bottom:8px;padding-bottom:5px}.inspector .panel-heading h2{font-size:20px}.inspector .station-actions{gap:4px;margin-bottom:10px}.inspector .station-actions button{height:53px;min-height:53px;padding:4px 1px;gap:3px}.inspector .station-actions button span{font-size:12px!important}.inspector .station-actions button svg{width:23px;height:23px}.inspector .dispatch-context{padding:10px 8px 9px;margin-bottom:10px}.inspector .dispatch-heading{font-size:13px;margin-bottom:8px}.inspector .dispatch-options .dish-recipe-choice{min-width:104px;min-height:64px;padding:7px 6px}.inspector .dispatch-options .dish-recipe-choice>span{font-size:12px}.inspector .dispatch-choice small{font-size:11px!important}.inspector #dispatch-note{font-size:11px!important}.inspector .task-status{font-size:12px!important}.staff-bar{height:69px;min-height:69px;padding:4px;gap:4px}.staff-card{min-width:125px;height:58px;min-height:58px;padding:7px 9px;gap:7px}.staff-card .avatar{height:36px;width:31px}.staff-card .staff-text strong{font-size:14px}.staff-empty{padding:7px 8px;font-size:13px;gap:8px}.staff-empty button{min-height:30px;font-size:13px;padding:5px 9px}.play-footer{height:26px;min-height:26px;padding:3px 9px}.popover-panel{top:46px}}
@media(max-width:389px){.topbar .brand>span:last-child{display:none}.top-actions{gap:5px}.live-raw-stock .stock.raw-stock{min-width:39px;padding:2px 4px;gap:3px}.live-raw-stock .inventory-label{font-size:10px}.live-raw-stock .stock.raw-stock strong{font-size:13px}.live-raw-stock .stock.raw-stock svg{width:17px;height:17px}}
@media(max-height:760px) and (min-width:980px){.inspector #worker-inspector{padding-top:10px}.inspector .employee-header{min-height:62px;padding-bottom:8px}.inspector .employee-header .avatar.big{height:52px;width:46px}.inspector .employment{padding:8px 0;margin-bottom:9px;min-height:32px}.inspector .skills{margin-bottom:12px}.inspector .skill{min-height:35px;padding-block:4px}.inspector .station-actions button{min-height:53px;height:53px}.inspector .station-actions{margin-bottom:10px}.inspector .dispatch-context{padding:9px;margin-bottom:10px}.inspector .dispatch-heading{margin-bottom:8px}.inspector .dispatch-options .dish-recipe-choice{min-height:62px;padding:6px}.inspector .task-status{margin-top:8px}}
/* v13 — always-visible raw and ready inventory, within the existing header. */
.topbar .live-inventory{display:contents;margin:0;padding:0}
.topbar .top-actions{grid-row:1;gap:7px;align-self:center}
.topbar .top-actions>button,.topbar .top-actions .top-popover>summary{width:30px;min-width:30px;height:28px;min-height:28px;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:2px}
.topbar .top-actions>.management-button>span:first-child{display:block}
.topbar .top-actions>.management-button>span:last-child{display:none!important}
.topbar .top-actions>#shop>svg{display:block!important}
.topbar .top-actions>button svg,.topbar .top-actions .top-popover>summary svg{width:20px;height:20px}
.topbar .top-actions>#pause{width:28px;min-width:28px;height:28px;border-radius:50%;padding:5px}
.topbar .top-actions>#pause svg{width:16px;height:16px}
.topbar .live-inventory .inventory-line{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;white-space:nowrap;margin:0;padding:2px 0 0;min-width:0;border:0;align-self:center}
.topbar .live-inventory .raw-line{grid-column:1;grid-row:2;justify-content:flex-start}
.topbar .live-inventory .prepared-line{grid-column:3;grid-row:2;justify-content:flex-end}
.topbar .live-inventory .inventory-label{display:block;width:auto;min-width:0;flex-shrink:0;margin:0 3px 0 0;font-size:10px;letter-spacing:.8px;color:#a9bec7}
.topbar .live-inventory .prepared-line .inventory-label{color:#d1caa9}
.topbar .live-inventory .stock{display:flex;align-items:center;justify-content:center;gap:4px;height:25px;min-width:41px;padding:2px 5px;border:1px solid #66818c;border-radius:1px;background:#3a535f;box-shadow:inset 0 1px #ffffff0a;flex-shrink:0;color:#e7ece4}
.topbar .live-inventory .stock svg{width:18px;height:18px}
.topbar .live-inventory .stock strong{font-size:14px;line-height:1.1;font-weight:750;color:#f0eacb}
.topbar .live-inventory .stock.low strong{color:#bbced0}
.topbar .live-inventory .stock.overflow strong{color:#edc678}
.topbar .live-inventory .prepared-line .stock{background:#e2e8d5;border-color:#b1baa0;box-shadow:none;color:#3f6168}
.topbar .live-inventory .prepared-line .stock strong{color:#355660}
.topbar .live-inventory .prepared-line .stock.low strong{color:#7d9291}
.topbar .live-inventory .stock-cooker{display:block;bottom:1px;left:4px;right:4px;height:2px;background:#aebfa8;border-radius:0}
.topbar .live-inventory .stock-cooker i{background:#608e88}
.topbar .live-inventory .delivery-badge{display:flex;width:24px;height:25px;flex-shrink:0;color:#e3c57e}
.topbar .live-inventory .delivery-badge svg{width:18px;height:18px}
.topbar .live-inventory .delivery-badge>i{left:2px;right:2px;bottom:1px;background:#657d85}
.more-panel .wallet{display:flex;align-items:center;gap:7px;margin:4px 0 0;padding:12px 8px 4px;border-top:1px solid #afc1c1;color:#527079;font-size:13px}
.more-panel .wallet:before{content:'Cash on hand';margin-right:auto}
.more-panel .wallet>span{display:none}.more-panel .wallet strong{font-size:19px;color:#3f5f6a}
.more-panel .home-link{border:0;letter-spacing:.4px}
.topbar .more-popover .popover-panel{position:fixed;top:76px;right:20px}
@media(max-width:1199px){
 .topbar .top-actions{grid-row:1;gap:7px}
 .topbar .top-actions>button,.topbar .top-actions .top-popover>summary{height:32px;min-height:32px;width:32px;min-width:32px}
 .topbar .live-inventory{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:17px;min-width:0;border-top:1px solid #5f7780;padding:3px 0 0}
 .topbar .live-inventory .inventory-line{padding:0;gap:6px}
 .topbar .live-inventory .prepared-line{padding-left:17px;border-left:1px solid #6b828a}
 .topbar .live-inventory .stock{height:25px;min-width:41px}
 .topbar .more-popover .popover-panel{top:103px;right:16px}
}
@media(max-width:979px){
 .topbar{grid-template-columns:38px minmax(220px,1fr) auto}
 .topbar .top-actions{gap:5px}
}
@media(max-width:649px){
 .topbar{height:145px;grid-template-columns:1fr auto;grid-template-rows:37px 46px 56px;gap:0 12px;padding:0 13px 3px}
 .topbar .brand-group{grid-column:1;grid-row:1}
 .topbar .cash-goal{grid-column:1/-1;grid-row:2;padding:4px 0 5px;border-top:1px solid #607b83}
 .topbar .cash-goal .goal-track{margin-top:5px}
 .topbar .top-actions{grid-column:2;grid-row:1;gap:4px}
 .topbar .top-actions>button,.topbar .top-actions .top-popover>summary{width:28px;min-width:28px;height:29px;min-height:29px;padding:4px}
 .topbar .top-actions>button svg,.topbar .top-actions .top-popover>summary svg{width:19px;height:19px}
 .topbar .live-inventory{display:grid;grid-column:1/-1;grid-row:3;grid-template-columns:minmax(0,1fr);grid-template-rows:26px 26px;gap:2px;border-top:1px solid #607b83;padding:2px 0 0;align-self:stretch}
 .topbar .live-inventory .raw-line,.topbar .live-inventory .prepared-line{grid-column:1;justify-content:flex-start;gap:5px;border:0;padding:0;align-self:center}
 .topbar .live-inventory .raw-line{grid-row:1}.topbar .live-inventory .prepared-line{grid-row:2}
 .topbar .live-inventory .inventory-label{width:38px;min-width:38px;letter-spacing:.6px;font-size:10px;margin:0 3px 0 0}
 .topbar .live-inventory .stock{height:24px;min-width:42px;padding:2px 5px;gap:4px}
 .topbar .live-inventory .stock svg{width:18px;height:18px}
 .topbar .live-inventory .stock strong{font-size:14px}
 .topbar .more-popover .popover-panel{top:149px;right:13px;max-height:calc(100dvh - 162px);overflow-y:auto}
}
@media(max-width:389px){
 .topbar .live-inventory .inventory-line{gap:4px}
 .topbar .live-inventory .inventory-label{width:35px;min-width:35px;margin-right:2px;font-size:9px}
 .topbar .live-inventory .stock{min-width:38px;padding:2px 3px;gap:3px}
 .topbar .live-inventory .stock svg{width:16px;height:16px}
 .topbar .live-inventory .stock strong{font-size:14px}
}
/* v14 — one adjacent stock rail; the cash meter stays at the viewport centre. */
.topbar{padding:3px 20px 4px;grid-template-columns:minmax(0,1fr) minmax(280px,420px) minmax(0,1fr);grid-template-rows:35px 27px;gap:0 20px}
.topbar .brand-group{align-self:center}
.topbar .cash-goal{grid-column:2;grid-row:1;align-self:center}
.topbar .cash-goal .goal-track{margin-top:4px}
.topbar .live-inventory{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;align-self:center;gap:13px;min-width:0;height:25px;padding:0;margin:0;border:0}
.topbar .live-inventory .inventory-line{position:relative;flex:0 0 auto;justify-content:flex-start;height:25px;gap:4px;padding:0 6px;border:1px solid #647f89;border-radius:1px;background:#3a535f}
.topbar .live-inventory .prepared-line{background:#e2e8d5;border-color:#b1baa0}
.topbar .live-inventory .prepared-line::before{content:'';position:absolute;left:-8px;top:3px;bottom:3px;width:1px;background:#809394}
.topbar .live-inventory .inventory-label{margin-right:3px;color:#b7ccd2}
.topbar .live-inventory .prepared-line .inventory-label{color:#526e70}
.topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{min-width:34px;height:23px;padding:1px 3px;gap:4px;border:0;border-radius:0;background:transparent;box-shadow:none}
.topbar .live-inventory .stock-cooker{left:3px;right:3px;bottom:0}
.topbar .live-inventory .delivery-badge{height:23px;color:#8b743f}
.topbar .live-inventory .delivery-badge>i{background:#b6bea8}
.topbar .live-inventory .delivery-badge>i>i{background:#8b743f}
@media(max-width:1199px){
 .topbar{padding:3px 16px;grid-template-columns:minmax(0,1fr) minmax(250px,340px) minmax(0,1fr);grid-template-rows:58px 32px;gap:0 15px}
 .topbar .live-inventory{grid-row:2;justify-content:flex-start;padding:0;border:0}
 .topbar .live-inventory .prepared-line{padding:0 6px;border:1px solid #b1baa0}
}
@media(max-width:979px){
 .topbar{padding:3px 14px;grid-template-columns:minmax(0,1fr) clamp(280px,calc(100vw - 440px),320px) minmax(0,1fr);gap:0 12px}
}
@media(min-width:650px) and (max-width:739px){
 .topbar .top-actions{gap:3px}
 .topbar .top-actions>button,.topbar .top-actions .top-popover>summary{width:28px;min-width:28px;padding:4px}
}
@media(max-width:649px){
 .topbar{padding:0 13px 3px;grid-template-columns:1fr auto;grid-template-rows:37px 46px 56px;gap:0 12px}
 .topbar .cash-goal{grid-column:1/-1;grid-row:2;padding:4px 0 5px}
 .topbar .cash-goal .goal-track{margin-top:5px}
 .topbar .live-inventory{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:26px 26px;justify-items:start;align-self:stretch;height:auto;gap:2px;padding:2px 0 0;border-top:1px solid #607b83}
 .topbar .live-inventory .inventory-line{height:24px;gap:4px;padding:0 5px}
 .topbar .live-inventory .raw-line{grid-column:1;grid-row:1}
 .topbar .live-inventory .prepared-line{grid-column:1;grid-row:2;border:1px solid #b1baa0}
 .topbar .live-inventory .prepared-line::before{left:0;right:0;top:-3px;bottom:auto;width:auto;height:1px;background:#809394}
 .topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{height:22px;min-width:35px;padding:0 3px}
 .topbar .live-inventory .inventory-label{width:35px;min-width:35px;margin-right:2px}
}
@media(max-width:389px){
 .topbar .live-inventory .inventory-line{padding:0 4px;gap:3px}
 .topbar .live-inventory .inventory-label{width:32px;min-width:32px}
 .topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{min-width:31px;padding:0 2px;gap:3px}
}
/* v15 — stacked stock at the left, with the remaining controls centred. */
.topbar{grid-template-rows:minmax(0,1fr);padding:3px 20px 4px;background:#2d414f;border-bottom:3px solid #d3aa56;box-shadow:0 3px 0 #1f303a}
.topbar .header-stock-cluster{grid-column:1;grid-row:1;display:flex;align-items:center;gap:12px;min-width:0;height:100%}
.topbar .brand-group{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;flex:0 0 auto;align-self:center;min-width:0}
.topbar .brand{color:#f3c553}
.topbar .day-label{display:block;margin:0 0 0 32px;padding:0;border:0;font-size:11px;max-width:140px;color:#a8bdca;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .cash-goal,.topbar .top-actions{grid-row:1;align-self:center}
.topbar .cash-goal .goal-amount strong{color:#f3c553}
.topbar .cash-goal .goal-track>i,.topbar .cash-goal.goal-met .goal-track>i{background:#edbb47}
.topbar .cash-goal .goal-track{background:#607684}
.topbar .live-inventory{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:0 0 auto;gap:3px;min-width:0;width:max-content;height:auto;padding:0;border:0;align-self:center}
.topbar .live-inventory .inventory-line,.topbar .live-inventory .prepared-line{display:flex;justify-content:flex-start;align-items:center;align-self:flex-start;gap:4px;height:24px;min-width:0;padding:0;border:0;background:transparent;box-shadow:none}
.topbar .live-inventory .prepared-line::before{display:none}
.topbar .live-inventory .inventory-label{display:none!important}
.topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{height:24px;min-width:34px;padding:1px 4px;gap:4px;background:#334757;border:1px solid #607684;color:#e8dfc0;box-shadow:none;border-radius:1px}
.topbar .live-inventory .stock strong,.topbar .live-inventory .prepared-line .stock strong{color:#f1e6bd;font-size:14px}
.topbar .live-inventory .stock.low strong,.topbar .live-inventory .prepared-line .stock.low strong{color:#b8c7ce}
.topbar .live-inventory .stock.overflow strong{color:#f3c553}
.topbar .live-inventory .stock-cooker{left:3px;right:3px;bottom:0;background:#607684}
.topbar .live-inventory .stock-cooker i{background:#edbb47}
.topbar .live-inventory .delivery-badge{color:#f3c553;height:24px}
.topbar .live-inventory .delivery-badge>i{background:#607684}
.topbar .live-inventory .delivery-badge>i>i{background:#edbb47}
@media(min-width:1280px) and (max-width:1439px){
 .topbar{grid-template-columns:minmax(0,1fr) clamp(300px,calc(100vw - 980px),420px) minmax(0,1fr)}
 .topbar .live-inventory .inventory-line,.topbar .live-inventory .prepared-line{gap:3px}
 .topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{padding-inline:3px}
}
@media(max-width:1279px) and (min-width:980px){
 .topbar .brand>span:last-child,.topbar .day-label{display:none}
 .topbar .brand>span:first-child svg{width:28px;height:28px}
 .topbar .header-stock-cluster{gap:10px}
}
@media(max-width:1199px) and (min-width:980px){
 .topbar{grid-template-columns:minmax(0,1fr) clamp(280px,calc(100vw - 720px),420px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:3px 16px;gap:0 15px}
}
@media(max-width:979px){
 .topbar{padding:3px 14px;grid-template-columns:minmax(0,1fr) clamp(280px,calc(100vw - 440px),320px) minmax(0,1fr);grid-template-rows:38px 52px;gap:0 12px}
 .topbar .header-stock-cluster{display:contents}
 .topbar .brand-group{grid-column:1;grid-row:1;align-self:center}
 .topbar .day-label{display:none}
 .topbar .cash-goal{grid-column:2;grid-row:1}
 .topbar .top-actions{grid-column:3;grid-row:1}
 .topbar .live-inventory{grid-column:1/-1;grid-row:2;flex-direction:column;align-self:center;align-items:flex-start;justify-content:center;gap:3px;padding:0;height:auto;border:0}
}
@media(max-width:649px){
 .topbar{padding:0 13px 3px;grid-template-columns:1fr auto;grid-template-rows:37px 46px 56px;gap:0 12px}
 .topbar .brand-group{grid-column:1;grid-row:1}
 .topbar .cash-goal{grid-column:1/-1;grid-row:2}
 .topbar .top-actions{grid-column:2;grid-row:1}
 .topbar .live-inventory{display:flex;grid-column:1/-1;grid-row:3;align-items:flex-start;justify-content:center;gap:3px;width:max-content;height:auto;align-self:center;border:0;padding:0}
 .topbar .live-inventory .inventory-line,.topbar .live-inventory .prepared-line{gap:4px;height:24px;padding:0;border:0}
 .topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{height:24px;min-width:34px;padding:1px 4px;gap:4px}
}
@media(max-width:389px){
 .topbar .live-inventory .inventory-line,.topbar .live-inventory .prepared-line{gap:4px}
 .topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{min-width:32px;padding:1px 3px;gap:3px}
}
/* v16 — stock sits immediately before the right-hand action buttons. */
.topbar .brand-group{grid-column:1;grid-row:1}
.topbar .brand{font-size:23px}
.topbar .brand>span:last-child{display:block}
.topbar .header-stock-cluster{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:12px;width:100%;min-width:0;height:100%}
.topbar .header-stock-cluster .live-inventory{flex:0 0 auto;order:0}
.topbar .header-stock-cluster .top-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;width:auto}
.topbar .cash-goal .goal-label{align-items:center;gap:10px}
.topbar .cash-goal.goal-met .goal-label:before{display:none}
.topbar .cash-symbol{display:flex;align-items:center;justify-content:center;width:22px;height:22px}
.topbar .cash-symbol svg{display:block;width:22px;height:22px}
.shop-header .shop-wallet:before{content:none;display:none}
.sheet-dialog .shop-header .shop-wallet svg{display:block!important;width:23px;height:23px}
.shop-header .shop-wallet>span[data-icon=coin]{display:flex;align-items:center}
@media(min-width:1280px) and (max-width:1439px){
 .topbar .header-stock-cluster{gap:10px}
}
@media(min-width:980px) and (max-width:1279px){
 .topbar{grid-template-columns:minmax(0,1fr) clamp(220px,calc(100vw - 760px),340px) minmax(0,1fr)}
 .topbar .header-stock-cluster{gap:7px}
 .topbar .header-stock-cluster .top-actions{display:grid;grid-template-columns:repeat(3,26px);grid-template-rows:repeat(2,26px);gap:3px;justify-content:end}
 .topbar .header-stock-cluster .top-actions>button,.topbar .header-stock-cluster .top-actions .top-popover>summary{width:26px;min-width:26px;height:26px;min-height:26px;padding:3px}
 .topbar .header-stock-cluster .top-actions>#pause{width:26px;min-width:26px;height:26px}
 .topbar .live-inventory .inventory-line,.topbar .live-inventory .prepared-line{gap:3px}
 .topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{padding-inline:3px}
 .topbar .live-inventory .stock svg{width:16px;height:16px}
}
@media(max-width:979px){
 .topbar{grid-template-columns:minmax(0,1fr) clamp(280px,calc(100vw - 440px),320px) minmax(0,1fr);grid-template-rows:35px 55px}
 .topbar .brand>span:last-child{display:none}
 .topbar .header-stock-cluster{grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-end;align-items:center;gap:10px;height:55px}
 .topbar .header-stock-cluster .live-inventory{display:flex;flex-direction:column;align-self:center;width:max-content}
 .topbar .header-stock-cluster .top-actions{display:grid;grid-template-columns:repeat(3,26px);grid-template-rows:repeat(2,26px);gap:3px;align-items:center;justify-content:end}
 .topbar .header-stock-cluster .top-actions>button,.topbar .header-stock-cluster .top-actions .top-popover>summary{width:26px;min-width:26px;height:26px;min-height:26px;padding:3px}
 .topbar .header-stock-cluster .top-actions>#pause{width:26px;min-width:26px;height:26px}
}
@media(min-width:760px) and (max-width:979px){
 .topbar{grid-template-columns:minmax(0,1fr) 280px minmax(0,1fr)}
 .topbar .brand{font-size:18px;gap:6px}
 .topbar .brand>span:last-child{display:block}
 .topbar .brand>span:first-child svg{width:24px;height:24px}
}
@media(max-width:649px){
 .topbar{padding:0 13px;grid-template-columns:minmax(0,1fr);grid-template-rows:28px 38px 76px;gap:0}
 .topbar .brand-group{grid-column:1;grid-row:1;align-self:center}
 .topbar .brand{font-size:20px}
 .topbar .brand>span:last-child{display:block;font-size:20px}
 .topbar .brand>span:first-child svg{width:22px;height:22px}
 .topbar .cash-goal{grid-column:1;grid-row:2;padding:0;border:0;align-self:center}
 .topbar .cash-goal .goal-track{margin-top:4px}
 .topbar .header-stock-cluster{grid-column:1;grid-row:3;height:76px;gap:8px;justify-content:flex-end}
 .topbar .header-stock-cluster .top-actions{grid-template-columns:repeat(2,24px);grid-template-rows:repeat(3,24px);gap:2px}
 .topbar .header-stock-cluster .top-actions>button,.topbar .header-stock-cluster .top-actions .top-popover>summary{width:24px;min-width:24px;height:24px;min-height:24px;padding:2px}
 .topbar .header-stock-cluster .top-actions>#pause{width:24px;min-width:24px;height:24px}
 .topbar .header-stock-cluster .top-actions>button svg,.topbar .header-stock-cluster .top-actions .top-popover>summary svg{width:18px;height:18px}
 .topbar .header-stock-cluster .top-actions>#pause svg{width:15px;height:15px}
}
@media(max-width:389px){
 .topbar .live-inventory .inventory-line,.topbar .live-inventory .prepared-line{gap:3px}
 .topbar .live-inventory .stock,.topbar .live-inventory .prepared-line .stock{min-width:28px;padding:1px;gap:2px}
 .topbar .live-inventory .stock svg{width:14px;height:14px}
}
