@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;900&display=swap');
:root{--ink:#26352f;--orange:#ed762a;--paper:#f6f3eb;--line:#dedfd5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans KR',sans-serif;font-size:14px}header{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:20px 4%}.brand{font-size:21px;font-weight:900;color:var(--ink);text-decoration:none}.tag{color:#768279;font-size:12px}header button{margin-left:auto}.intro{display:flex;align-items:center;justify-content:space-between;padding:35px 4% 25px;background:#e9eddf}small{letter-spacing:2px;color:#697365;font-size:10px}h1{font-size:clamp(27px,3.2vw,44px);line-height:1.35;letter-spacing:-2px;margin:12px 0}p{line-height:1.8}#clock{font-weight:900;font-size:22px;text-align:right}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.metric{padding:22px 16%;background:#fff}.metric small{letter-spacing:0}.metric strong{display:block;font-size:clamp(16px,1.7vw,24px);margin-top:7px}nav{display:flex;gap:6px;padding:20px 4%;overflow:auto}button,select,input{font:inherit}button{background:#fff;border:1px solid #d4d9cf;border-radius:7px;padding:10px 13px;color:var(--ink);cursor:pointer;font-weight:600}button:hover{border-color:var(--orange);background:#fff4e8}button.active,button.primary{background:var(--ink);color:white;border-color:var(--ink)}button.orange{background:var(--orange);color:white;border-color:var(--orange)}button:disabled{opacity:.5;cursor:default}main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr);gap:22px;padding:0 4% 40px;align-items:start}.map-panel,#panel{min-width:0}.map-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;position:sticky;top:10px}.section-title{display:flex;justify-content:space-between;align-items:center}h2{font-size:19px;margin:0 0 15px}h3{font-size:16px;margin:0 0 12px}.live{font-size:11px;color:#6a8565}canvas{width:100%;display:block;border-radius:8px;cursor:pointer}.time{display:flex;align-items:center;gap:10px;padding-top:15px;flex-wrap:wrap}.time label{display:flex;align-items:center;gap:8px;font-size:12px}.time input{width:110px}.muted{color:#778077;font-size:12px}.card{padding:22px;background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:14px}.eyebrow{font-size:11px;color:#a05b2e;font-weight:700}.property{padding:15px;border:1px solid var(--line);border-radius:8px;margin-top:9px;cursor:pointer}.property.selected{border:2px solid var(--orange);background:#fff9ef}.property h3{margin:6px 0}.property p{margin:5px 0;font-size:12px;color:#6e776c}.row{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid #edf0e9}.row b{text-align:right}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.notice{background:#f7f2e6;border-left:3px solid #e09a39;padding:13px;line-height:1.8;font-size:12px}.danger{color:#bb483a}.positive{color:#36826b}.bar{height:12px;border-radius:20px;background:#e7ece4;overflow:hidden;margin:10px 0}.bar i{display:block;height:100%;background:var(--orange)}.gauge{background:#253a32;padding:18px;color:#fff;border-radius:9px;margin:12px 0}.gauge strong{font-size:26px}.controls label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0}.controls input[type=number]{width:130px}.controls input,.controls select,select{padding:8px;border:1px solid var(--line);border-radius:5px;background:white;max-width:100%}.bars{display:flex;gap:5px;align-items:end;height:65px;margin-top:16px}.bars div{flex:1;background:#a0b3a0;border-radius:4px 4px 0 0;position:relative;min-height:5px}.bars span{position:absolute;bottom:-19px;font-size:9px;left:0}.graph{padding-bottom:20px}.news-item{font-size:12px;padding:10px 0;border-top:1px solid var(--line);line-height:1.7}.news-item time{color:#8b9388;margin-right:8px}.receipt{background:#fbfaf5;padding:14px;border-top:2px dashed #ddd}.receipt .row{font-size:12px}.total{font-size:18px;font-weight:900}.pill{display:inline-block;background:#eef0e7;border-radius:4px;font-size:11px;padding:3px 7px}details{padding:12px 0;border-bottom:1px solid var(--line)}summary{cursor:pointer;font-weight:600}details a{color:#3b7f77}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243b31;color:white;padding:16px 23px;border-radius:9px;display:none;z-index:10;max-width:90vw}dialog{border:0;border-radius:14px;max-width:560px;width:90%;padding:30px;background:#fff9ed}dialog::backdrop{background:#172c27c9}dialog h1{color:#bd4c2f;font-size:33px}footer{padding:25px 4%;font-size:11px;color:#7e887d}@media(max-width:950px){main{grid-template-columns:1fr}.map-panel{position:static}.metrics{grid-template-columns:repeat(2,1fr)}.metric{padding:18px 22px}.tag{display:none}.intro{gap:15px}#clock{font-size:16px}}
.map-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.map-tools button{padding:7px 10px;font-size:12px}.map-tools span{margin-left:auto;font-size:11px;color:#7b8877}#city{aspect-ratio:10/7}.prologue-art{min-height:245px;padding:28px;background:linear-gradient(125deg,#182d28 30%,#456444);color:#f7e7b9;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.prologue-art:after{content:'🍗';position:absolute;right:15px;bottom:5px;font-size:130px;transform:rotate(-15deg);opacity:.4}.prologue-art span{font-size:12px;letter-spacing:7px;color:#c7d2a7}.prologue-art div{font-size:30px;line-height:1.5;font-weight:900;z-index:1}.prologue-art b{font-size:12px;margin-top:22px}.prologue-copy{padding:25px 30px}.prologue-copy h1{color:#243c30;font-size:32px}.prologue-copy p{font-size:13px;line-height:1.9}#prologue{padding:0;max-height:92vh;width:min(650px,94vw);max-width:650px}#prologue button{width:100%}@media(min-width:1250px){main{grid-template-columns:minmax(0,1.5fr) minmax(370px,1fr)}}
[hidden]{display:none!important}.visual-stack{min-width:0}.visual-stack .map-panel{position:static}#nav{align-items:center}#navHint{margin-left:auto;font-size:12px;color:#7c8879}#moreNav{margin-left:8px;min-width:150px}.store-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}.store-stats div{background:#f1f3ea;border-radius:8px;text-align:center;padding:13px}.store-stats small{letter-spacing:0;font-size:11px}.store-stats b{display:block;font-size:24px;margin-top:3px}.order-card{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);gap:10px}.order-card h3{margin:8px 0 0}.order-card h3 small{font-size:10px;letter-spacing:0}.order-card.ready .pill{background:#dae9d3}.order-card.cooking .pill{background:#ffecd0}.empty-state{padding:45px 15px;text-align:center;color:#899381;line-height:2}.simple-number{display:flex;flex-direction:column;gap:5px;padding:22px;background:#f3f3e8;border-radius:9px;margin:15px 0}.simple-number strong{font-size:35px;color:#bd662b}.simple-number span{font-size:12px;color:#7d8876}.story-role{display:block;margin:18px 0;font-weight:700}.story-role select{display:block;width:100%;margin-top:10px;padding:12px}.prologue-copy .actions button:last-child{flex:1}#storeCanvas{width:100%;aspect-ratio:20/13}header{gap:10px}header #replayStory{margin-left:auto}header #reset{margin-left:0}@media(max-width:650px){#navHint{display:none}nav{gap:3px;padding:14px 4%}nav button{padding:10px}#moreNav{margin-left:0;min-width:0;width:135px}.brand{font-size:15px}header button{padding:7px;font-size:11px}.intro{padding-top:22px;padding-bottom:20px}.intro h1{font-size:26px}.intro p{font-size:12px}main{padding:0 3% 30px;gap:12px}.map-panel{padding:12px}.card{padding:18px}.metric{padding:14px 18px}.metric strong{font-size:18px}.prologue-art{min-height:180px}.prologue-art div{font-size:25px}}
button,input,select{min-height:44px}button{touch-action:manipulation}#toast{pointer-events:none}input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:#dd7229}#nav{position:sticky;top:0;background:var(--paper);z-index:4;border-bottom:1px solid var(--line)}.has-store .intro{display:none}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #d99040;outline-offset:2px}fieldset:disabled{opacity:.65}#storeAdvance button:first-child{flex:1}.controls label{line-height:1.6}#prologue .actions{flex-wrap:nowrap}#prologue .actions button{width:auto}#prologue .actions button:first-child:not(:last-child){flex:0 0 75px}.brand{white-space:nowrap}@media(max-width:650px){body{font-size:14px;padding-bottom:100px}header{padding:12px 3%}.tag{display:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric small{font-size:10px}.metric strong{font-size:17px;overflow-wrap:anywhere}.has-store .metrics .metric:nth-child(3),.has-store .metrics .metric:nth-child(4){display:none}#nav{padding:10px 3%;justify-content:space-between}#nav button{flex:0 1 auto;white-space:nowrap}#nav select{font-size:16px;max-width:46%;width:auto;flex:1}#storeAdvance,#advance{position:fixed;z-index:5;left:0;right:0;bottom:0;margin:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#faf9f1f5;border-top:1px solid #d4d9cf;box-shadow:0 -4px 20px #20382a14;display:flex;flex-wrap:wrap;gap:7px}#storeAdvance button,#advance button{flex:1;min-height:48px;font-size:14px;padding:10px 8px}#storeAdvance button:first-child{flex:1.3}#panel .actions{gap:8px}#panel .actions button{flex:1;min-height:46px;white-space:normal}input,select{font-size:16px}.controls label{flex-wrap:wrap}.controls label input[type=number],.controls label select{min-width:120px;max-width:100%;margin-left:auto}.controls input[type=number]{width:140px}.row{font-size:12px;align-items:start}.row span{flex:1;min-width:0}.row b{max-width:58%;overflow-wrap:anywhere}.order-card{padding:15px 0}.order-card button{min-width:70px;min-height:46px}.order-card h3{font-size:15px}#storeAlerts .news-item:nth-child(n+3){display:none}.map-tools button{min-height:44px}.map-tools span{display:none}.time{gap:8px}.time input{min-height:36px}.time button{flex:1}.prologue-art{min-height:130px;padding:18px 22px}.prologue-art div{font-size:20px}.prologue-art:after{font-size:85px}.prologue-art b{display:none}.prologue-copy{padding:22px}.prologue-copy h1{font-size:29px;margin-top:10px}.prologue-copy p{font-size:14px;line-height:1.85}#prologue{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0;margin:0;top:0;bottom:0;height:100dvh;padding-bottom:env(safe-area-inset-bottom)}#prologue .actions{margin:20px 0 5px}#prologue .actions button{min-height:50px}footer{padding-bottom:30px}.store-stats{gap:6px}.store-stats div{padding:10px 5px}.store-stats b{font-size:22px}.store-stats small{font-size:10px}#toast{bottom:90px;width:calc(100% - 24px);font-size:13px;padding:13px 16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.map-caption{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#6d7a69;margin-top:12px}.map-ruler{height:24px;position:relative;margin-top:9px}.map-ruler div{border-top:2px solid #81927a;min-width:12px;height:6px;border-left:2px solid #81927a;border-right:2px solid #81927a}.map-ruler span{font-size:10px;color:#7f8c77;position:absolute;top:8px}.map-instructions{font-size:11px;color:#75816e;padding:8px 0}.map-instructions summary{font-weight:500}.map-instructions p{margin-bottom:4px}#storeAlerts .news-item{line-height:1.6}@media(max-width:650px){#storeAlerts .news-item{display:none}#storeAlerts>.muted{font-size:11px;margin:10px 0 0}.map-caption{font-size:11px}}
.store-view-tools{display:flex;align-items:center;gap:7px;margin-bottom:10px;flex-wrap:wrap}.store-view-tools span{font-size:11px;color:#6c7c69;flex:1}.store-view-tools button{font-size:12px;padding:8px}#storeCanvas{aspect-ratio:10/7;height:420px;border-radius:10px;display:block}.patience{height:5px;background:#e8ebdf;border-radius:10px;margin:9px 0 3px;overflow:hidden;width:100px}.patience i{display:block;background:#d5643e;height:100%}.order-menu{font-size:11px;margin:4px 0;color:#7c826f}.order-card>div{min-width:0;flex:1}.order-card button{max-width:46%;font-size:12px}.work-busy{background:#f7e6cb}.live-message{font-size:12px;color:#a06931;line-height:1.7}.order-card small{letter-spacing:0}.order-card.eating{opacity:.75}@media(max-width:650px){#storeCanvas{height:310px;aspect-ratio:auto}.store-view-tools span{flex-basis:100%}.store-view-tools button{flex:1}.order-card button{min-height:48px;padding:10px;font-size:13px}.store-view-tools{gap:6px}#storeAdvance button{flex:1!important;white-space:nowrap}}
#workDock{position:fixed;right:24px;bottom:90px;z-index:8;width:min(390px,calc(100vw - 24px));padding:18px;background:#fff9eb;border:2px solid #db9c47;border-radius:13px;box-shadow:0 10px 35px #263f3540}.work-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.work-heading span{font-size:24px;font-weight:900;color:#b77122}.work-meter{height:18px;border-radius:20px;background:#e4e6d6;overflow:hidden;margin-top:12px}.work-meter i{height:100%;display:block;background:linear-gradient(90deg,#dda23c,#78a464);width:0}#workHint{font-size:12px;color:#7f785f;line-height:1.6;margin:10px 0}#holdWork{width:100%;min-height:62px;background:#2e5542;color:white;border:0;font-size:16px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#cancelWork{width:100%;margin-top:8px;background:transparent;font-size:12px;min-height:38px;color:#8d5e3d}.candidate{padding:15px 0;border-bottom:1px solid var(--line)}.candidate h3{margin-bottom:7px}@media(max-width:650px){#workDock{right:12px;bottom:80px;padding:14px}#workHint{font-size:11px;margin:7px 0}#holdWork{min-height:58px}#cancelWork{margin-top:4px}#workDock .work-heading b{font-size:14px}.candidate .actions button{font-size:12px}}
.live-revenue{display:flex;justify-content:space-between;align-items:center;background:#243e32;color:#f6eed9;padding:16px;border-radius:9px;margin-top:14px;gap:12px}.live-revenue strong{display:block;font-size:28px;margin-top:5px}.live-revenue small{color:#ced8bb;letter-spacing:0}.live-revenue>div:last-child{font-size:13px;text-align:right}.mastery{background:#f1f2e7;border-radius:8px;padding:13px;margin:12px 0}.mastery b{font-size:22px;color:#8d652a}.mastery span{display:block;font-size:11px;margin:5px 0;color:#78816b}.mastery small{letter-spacing:0}.mastery .bar{height:7px;margin:7px 0}.phone-card{background:#fff1d6;border:1px solid #e6c48b;border-radius:9px;padding:13px;margin:12px 0}.phone-card p{margin:5px 0;font-size:12px}.phone-card .actions{margin-bottom:0}.inventory-good{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:15px 0;gap:12px}.inventory-good p{margin:4px 0;font-size:12px;color:#79816e}.inventory-good label{font-size:11px;flex:0 0 90px}.inventory-good input{width:90px;display:block;padding:9px;border:1px solid var(--line);border-radius:5px}#inventoryDialog{width:min(650px,94vw);max-width:650px;max-height:90dvh;background:#fffdf5}#inventoryDialog h2{margin:0}#nameDialog{max-width:520px;width:94vw}#nameDialog input{display:block;width:100%;padding:13px;font-size:18px;margin:20px 0;border:1px solid var(--line);border-radius:7px}#nameDialog button{width:100%}#workPhoneBtn{width:100%;margin:7px 0;background:#f3ca7b;color:#4d3920}.shop-zones{display:flex;gap:5px;margin-bottom:10px;font-size:10px}.shop-zones span{flex:1;text-align:center;background:#e0e8da;border-radius:4px;padding:7px 3px}.shop-zones span:nth-child(2){background:#f1e6d2}.shop-zones span:nth-child(3){background:#e7d7bf}.family-help{border:1px solid #e1d9c3;background:#fffaf0;padding:16px;border-radius:8px;margin:15px 0}@media(max-width:650px){header{flex-wrap:wrap}.brand{flex-basis:100%;font-size:18px}header #inventoryBtn{margin-left:0;flex:1}header #replayStory{margin-left:0;flex:1}header #reset{flex:1}#inventoryDialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0;padding:20px 16px}#storeAdvance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#storeAdvance button{min-height:44px}body{padding-bottom:145px}#workDock{bottom:130px}.live-revenue{padding:13px}.live-revenue strong{font-size:24px}.live-revenue>div:last-child{font-size:11px}.phone-card .actions button{flex:1;min-height:44px}.phone-card{font-size:12px}#toast{bottom:140px}}
.pos-metrics{display:block;background:#fffdf5;padding:16px 4%;border-bottom:1px solid var(--line)}.pos-strip-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.pos-strip-head b{font-size:16px}.pos-strip-head small{display:block;color:#7d8973;font-size:11px;letter-spacing:0;margin-top:5px}.pos-strip-head .actions{margin:0}.pos-quick{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin:12px 0}.pos-quick>div{background:#f0f2e7;padding:10px 14px;border-radius:7px}.pos-quick small{display:block;letter-spacing:0;font-size:10px}.pos-quick strong{display:block;font-size:21px;margin-top:5px}.pos-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.pos-week button{padding:8px 5px;display:flex;flex-direction:column;text-align:left;gap:3px;background:#fafbf5;border-radius:6px}.pos-week button.selected,.calendar-day.selected{border:2px solid #dd8e39;background:#fff3dd}.pos-week b{font-size:12px}.pos-week small{font-size:10px;letter-spacing:0;color:#ae6f2c;min-height:12px}.pos-week span{font-size:11px}.calendar-labels,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-labels b{text-align:center;font-size:12px;padding:7px}.calendar-day{display:flex;flex-direction:column;min-height:75px;padding:7px;text-align:left;gap:5px}.calendar-day span{font-size:10px;color:#65765d}.calendar-day small{font-size:9px;letter-spacing:0;color:#ae6f2c}.calendar-day.today b{color:#e0782b}.calendar-empty{min-height:40px}.pos-day-detail{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.pos-card{margin:0;border:0;padding:0}#posDialog{max-width:950px;width:96vw;max-height:94dvh;padding:25px}#healthDialog,#positionsDialog,#reviewsDialog{max-width:700px;width:94vw;max-height:92dvh}.reservation,.review-card{padding:15px 0;border-bottom:1px solid var(--line)}.reservation p{margin:5px 0;font-size:12px}.health-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:15px}.health-pair>div{background:#f0f3e7;border-radius:8px;padding:14px}.health-pair b{display:block;font-size:24px;margin:8px 0}.care-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.care-grid>div{padding:14px;background:#f5f2e6;border-radius:8px}.care-grid h3{font-size:14px;margin:0}.care-grid p{font-size:12px;margin:8px 0}.closing-options{display:flex;flex-direction:column;gap:10px;margin:20px 0}.closing-options button{min-height:50px}.job-config,.position-card,.chores{background:#f3f3e8;padding:16px;margin:14px 0;border-radius:8px}.job-days{display:flex;gap:12px;flex-wrap:wrap}.job-days label{display:flex;align-items:center;gap:4px}.job-days input{min-height:22px}.position-levels{display:flex;flex-wrap:wrap;gap:8px}.position-levels span{background:#e3ead9;font-size:10px;padding:5px 7px;border-radius:4px}.chores p{font-size:12px;color:#7a856e;line-height:1.6}.review-card>div{display:flex;justify-content:space-between;gap:10px}.review-card b{color:#b98128;font-size:20px}.review-card time{color:#7a8673;font-size:12px}.review-card small{letter-spacing:0;color:#839074}.review-card p{font-size:14px;line-height:1.8}.phone-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:11px;color:#7a856e}.phone-heading button{font-size:11px;padding:7px}.pos-quick>div:first-child strong{color:#b16c2b}@media(max-width:650px){.pos-metrics{padding:12px 3%}.pos-strip-head{align-items:start;gap:7px}.pos-strip-head b{font-size:13px}.pos-strip-head .actions{gap:4px}.pos-strip-head .actions button{padding:6px;font-size:10px;min-height:36px}.pos-strip-head .actions button:nth-child(2){display:none}.pos-quick{gap:5px;grid-template-columns:1.5fr 1fr 1fr 1.2fr}.pos-quick>div{padding:9px 7px}.pos-quick strong{font-size:15px}.pos-quick small{font-size:9px}.pos-week{gap:3px}.pos-week button{padding:6px 4px;min-height:61px}.pos-week b{font-size:9px}.pos-week small{font-size:8px}.pos-week span{font-size:10px}.calendar-grid,.calendar-labels{gap:3px}.calendar-day{min-height:62px;padding:6px 3px}.calendar-day span{font-size:8px}.calendar-day small{font-size:8px}.calendar-day b{font-size:12px}#posDialog,#healthDialog,#positionsDialog,#reviewsDialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;top:0;bottom:0;border-radius:0;padding:20px 14px}.pos-card h2{font-size:16px}.pos-card .section-title{flex-wrap:wrap}.pos-card .section-title .actions{width:100%;margin:5px 0}.pos-card .section-title button{flex:1;font-size:12px}.care-grid{gap:7px}.care-grid>div{padding:12px}.care-grid h3{font-size:12px}.care-grid button{font-size:12px;padding:9px}.health-pair{gap:8px}.health-pair b{font-size:21px}.review-card p{font-size:14px}.position-card{padding:14px}.chores{padding:12px}.chores .actions button{font-size:12px;min-height:44px}.position-card select{max-width:220px;font-size:14px}.phone-heading button{min-height:36px}}
@media(max-width:650px){.has-store header{flex-wrap:nowrap;padding:9px 3%;gap:10px}.has-store header .brand{flex:1;flex-basis:auto;font-size:15px;white-space:normal}.has-store header #inventoryBtn{flex:0 0 auto;min-height:40px;padding:8px 12px;font-size:12px}.has-store header #replayStory,.has-store header #reset{display:none}.pos-week button{min-height:55px}.pos-quick{margin:9px 0}.pos-strip-head .actions button{max-width:110px}.pos-strip-head .actions{flex-wrap:nowrap}#nameDialog #cancelName{margin-top:10px}.chores .actions{margin-bottom:0}.health-pair small{font-size:10px}.position-levels span{font-size:10px}}
.order-delivery{margin:9px 0 4px}.order-delivery p,.order-route{font-size:11px;color:#69816d;margin:5px 0;line-height:1.5}.order-delivery .actions{gap:5px;margin:6px 0}.order-delivery .actions button{font-size:10px;min-height:34px;padding:6px 9px;max-width:none}.delivery-trip{padding:15px;background:#fff0d3;border:1px solid #e2bd78;border-radius:9px;margin:12px 0}.delivery-trip p{margin:7px 0;font-size:12px;line-height:1.7}.delivery-trip .actions button{font-size:12px}.order-card>div:first-child{flex:1.6}.order-card.delivering,.order-card.dispatching{border-left:3px solid #dda047;padding-left:12px}@media(max-width:650px){.order-card{align-items:start;gap:8px}.order-card>button{margin-top:8px;max-width:38%}.order-delivery .actions{display:flex;flex-wrap:wrap}.order-delivery .actions button{font-size:11px;min-height:40px;flex:1;padding:6px 8px}.delivery-trip .actions button{flex:1;font-size:11px}.live-revenue>div:last-child{max-width:46%}.order-card>div:first-child{flex:1.8}}
/* A bounded service workspace: scene and orders remain within the viewport. */
#peopleBar{display:flex;align-items:center;gap:6px;overflow-x:auto;flex-shrink:0;padding:5px 0 8px;scrollbar-width:thin}#peopleBar button{flex-shrink:0;font-size:11px;padding:7px 10px}.people-hint{font-size:10px;color:#7a856e;white-space:nowrap}.person-link{border:0;background:transparent;padding:0;color:#397c64;font-size:14px;text-decoration:underline;text-underline-offset:3px}.service-tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px}.service-tools button{font-size:12px;padding:8px}.inspection-pause{background:#e9efdc;color:#3d6349;padding:10px;border-radius:7px;font-size:12px}#personDialog,#operationsDialog{width:min(620px,94vw);max-width:620px;max-height:90dvh;overflow:auto;overscroll-behavior:contain}#personDialog .position-levels{margin-top:12px}#personDialog h3{margin-top:18px}#personDialog .section-title h2{margin:0}#personDialog .section-title{margin-bottom:16px}.person-facts{margin-top:12px}#operationsDialog label{display:flex;justify-content:space-between;gap:10px;align-items:center}
.shop-workspace{height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding-bottom:0}.shop-workspace header{padding:8px 2%;gap:12px;flex-shrink:0}.shop-workspace header .brand{font-size:17px}.shop-workspace header button{padding:7px 10px;font-size:11px}.shop-workspace .intro,.shop-workspace footer,.shop-workspace .pos-week{display:none}.shop-workspace .pos-metrics{padding:8px 2%;flex-shrink:0}.shop-workspace .pos-strip-head small{display:none}.shop-workspace .pos-strip-head b{font-size:13px}.shop-workspace .pos-strip-head button{padding:6px 9px;font-size:11px}.shop-workspace .pos-quick{margin:6px 0 0;gap:7px}.shop-workspace .pos-quick>div{padding:5px 10px}.shop-workspace .pos-quick strong{font-size:16px;margin-top:1px}.shop-workspace #nav{padding:7px 2%;flex-shrink:0}.shop-workspace #nav button,.shop-workspace #nav select{padding:7px 10px;font-size:12px}.shop-workspace main{flex:1;min-height:0;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:12px;padding:0 2% 10px;align-items:stretch}.shop-workspace .visual-stack{min-height:0}.shop-workspace #storePanel{height:100%;padding:12px;display:flex;flex-direction:column;min-height:0}.shop-workspace .section-title h2{font-size:16px;margin-bottom:5px}.shop-workspace .store-view-tools{margin-bottom:0;flex-shrink:0}.shop-workspace .store-view-tools button{padding:5px 8px;font-size:10px}.shop-workspace .shop-zones{display:none}.shop-workspace #storeCanvas{flex:1;min-height:90px;height:0;aspect-ratio:auto}.shop-workspace #storeAdvance{order:1;margin:8px 0 0;flex-shrink:0;display:flex;gap:6px}.shop-workspace #storeAdvance button{flex:1;padding:8px 5px;font-size:11px;min-height:36px}.shop-workspace #storeAlerts{display:none}.shop-workspace #storeStatus{display:none}.shop-workspace #phonePanel{max-height:110px;overflow:auto;flex-shrink:0}.shop-workspace .phone-heading{margin-top:5px}.shop-workspace .phone-card{margin:5px 0;padding:8px}.shop-workspace #panel{min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.shop-workspace #panel>.card{padding:13px;margin:0;min-height:100%}.shop-workspace #panel h2{font-size:16px;margin-bottom:9px}.shop-workspace #panel .notice{padding:8px;line-height:1.5}.shop-workspace .live-message{margin:6px 0;font-size:11px}.shop-workspace .order-card{padding:10px 0;gap:8px}.shop-workspace .order-card h3{margin:5px 0}.shop-workspace .order-card>button{min-height:40px;padding:8px;font-size:11px}.shop-workspace .service-help{font-size:11px}.shop-workspace #workDock{bottom:12px;right:calc(44% + 10px);width:min(350px,48vw);padding:10px}.shop-workspace #workHint{font-size:10px;margin:4px 0}.shop-workspace #holdWork{min-height:42px;font-size:13px}.shop-workspace #cancelWork{min-height:25px;padding:4px;margin-top:3px}.shop-workspace .work-meter{height:10px;margin-top:5px}.shop-workspace #toast{bottom:16px;z-index:30}
@media(max-width:950px){.shop-workspace main{grid-template-columns:minmax(0,1.1fr) minmax(285px,1fr)}.shop-workspace #navHint,.shop-workspace .tag{display:none}}
@media(max-width:650px){.shop-workspace header{padding:5px 3%}.shop-workspace header .brand{font-size:14px}.shop-workspace header #inventoryBtn{padding:5px 8px;min-height:30px}.shop-workspace .pos-metrics{padding:5px 3%}.shop-workspace .pos-strip-head{align-items:center}.shop-workspace .pos-strip-head .actions button{font-size:9px;min-height:27px;padding:4px}.shop-workspace .pos-strip-head b{font-size:11px}.shop-workspace .pos-quick small{font-size:8px}.shop-workspace .pos-quick strong{font-size:13px}.shop-workspace #nav{position:static;padding:5px 3%;background:var(--paper);border:0;gap:5px;min-height:38px}.shop-workspace #nav button,.shop-workspace #nav select{min-height:28px;font-size:11px;padding:5px 8px}.shop-workspace #moreNav{margin-left:0;min-width:0;flex:1}.shop-workspace main{grid-template-columns:1fr;grid-template-rows:minmax(160px,1fr) minmax(150px,1fr);gap:7px;padding:0 3% 6px}.shop-workspace #storePanel{padding:8px}.shop-workspace .store-view-tools{display:none}.shop-workspace #peopleBar{padding:2px 0 5px;gap:4px}.shop-workspace .people-hint{display:none}.shop-workspace #peopleBar button{padding:5px 8px;font-size:10px}.shop-workspace #storeAdvance{display:flex;margin-top:5px;gap:4px}.shop-workspace #storeAdvance button{font-size:10px;min-height:30px;padding:5px}.shop-workspace #panel>.card{padding:10px}.shop-workspace .service-tools{margin-bottom:5px}.shop-workspace .service-tools button{font-size:10px;padding:5px 8px;min-height:29px}.shop-workspace #panel h2{font-size:14px;margin-bottom:5px}.shop-workspace #panel .notice{font-size:10px;padding:6px}.shop-workspace .order-card{padding:8px 0}.shop-workspace .order-card>button{font-size:11px;min-height:38px}.shop-workspace #phonePanel{max-height:70px}.shop-workspace #workDock{right:3%;bottom:calc(50dvh - 76px);width:94%;padding:8px}.shop-workspace #workHint{display:none}.shop-workspace #workDock .work-heading{font-size:11px}.shop-workspace #workDock .work-heading span{font-size:16px}.shop-workspace #holdWork{min-height:36px}.shop-workspace #cancelWork{min-height:22px;font-size:10px}.shop-workspace #toast{bottom:8px;font-size:11px;padding:8px}#personDialog,#operationsDialog{padding:20px 16px;max-height:90dvh;width:94vw;border-radius:12px;margin:auto;height:auto}}
@media(max-height:600px) and (min-width:651px){.shop-workspace .pos-strip-head{display:none}.shop-workspace .pos-quick{margin:0}.shop-workspace header .tag{display:none}}
.opening-steps{display:flex;gap:5px;margin:14px 0}.opening-steps>*{flex:1;padding:9px 6px;text-align:center;background:#eef0e4;border-radius:6px;font-size:11px}.opening-steps b{background:#e4ba6c;color:#48351f}.opening-steps .ready{background:#bad4ab}.opening-guide{font-size:13px;background:#fff0ce;padding:13px;border-radius:8px}.opening-receipt{padding:15px;border:1px solid #b5cba1;border-radius:9px;background:#f1f6e9;margin:15px 0}.opening-receipt .row{font-size:12px}.opening-receipt button{width:100%;margin-top:10px}.inventory-cart{position:sticky;bottom:0;background:#fffdf5;border-top:1px solid #d6d8c9;padding:8px 0 3px;z-index:1}.inventory-cart .row{padding:4px 0}.inventory-cart .actions{margin:6px 0}.inventory-cart p{margin:4px 0;font-size:11px}.inventory-goods>h3{margin-top:20px;background:#eef0e4;padding:9px;border-radius:5px}.inventory-good{padding:10px 0}.inventory-good p{font-size:11px}.inventory-good input{min-height:40px}#inventoryDialog{scroll-padding-bottom:150px;overscroll-behavior:contain}

.review-date-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.review-date-tools input{padding:8px;border:1px solid var(--line);border-radius:5px}.review-date-tools button{min-height:40px;font-size:12px}
/* Large clock and complete stock strip. */
#storeClock{font-size:clamp(17px,2.1vw,27px);font-weight:900;color:#315342;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.shop-workspace .section-title{gap:10px;flex-wrap:wrap}.shop-workspace #storeClock{font-size:clamp(17px,2vw,25px)}.pos-quick{grid-template-columns:1.4fr 4fr 1fr!important}.inventory-summary{min-width:0}.inventory-chips{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.inventory-chips>span{min-width:0;display:flex;flex-direction:column}.inventory-chips small{font-size:9px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-chips b{font-size:16px}.inventory-chips em{font-size:8px;color:#b46d29;font-style:normal}.pending-purchases{padding:12px;background:#fff0d5;border-radius:8px;margin:12px 0}.pending-purchases h3{font-size:13px}.pending-purchases p{font-size:11px;margin:4px 0}#fixedBudgetDialog,#scheduleDialog{max-width:620px;max-height:90dvh;overflow:auto}#storeAdvance{flex-wrap:wrap}.shop-workspace #storeAdvance button{flex:1 1 25%;white-space:nowrap}.controls input:disabled{background:#e9eadf;color:#7b806f;cursor:locked}.shop-workspace .pos-quick>div{padding:5px 8px}
@media(max-width:650px){.inventory-chips{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 7px}.inventory-chips>span{display:flex;flex-direction:row;align-items:center;gap:3px;flex-wrap:wrap}.inventory-chips small{font-size:8px!important}.inventory-chips b{font-size:11px}.inventory-chips em{font-size:7px}.shop-workspace #storeClock{font-size:17px}.shop-workspace #storeAdvance button{font-size:9px;min-height:27px;padding:4px;flex:1 1 28%}.pos-quick{grid-template-columns:1fr 3fr .8fr!important}.shop-workspace .pos-quick>div{padding:4px}.shop-workspace .pos-strip-head{gap:4px}#fixedBudgetDialog,#scheduleDialog{width:94vw;padding:20px 15px}}
.closing-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}.closing-stock-grid label{background:#f0f1e5;padding:10px;border-radius:7px}.closing-stock-grid small{display:block;font-size:10px;letter-spacing:0;margin:5px 0}.closing-stock-grid input{width:100%;padding:8px;border:1px solid var(--line);border-radius:5px}#closingDialog{max-height:92dvh;overflow:auto}#closingDialog .actions button{flex:1;min-height:44px}.phone-heading{gap:6px;font-size:10px}.phone-heading button{white-space:nowrap}.phone-heading span{min-width:0}
.component-tools{display:flex;gap:4px;flex-wrap:wrap;margin:7px 0}.order-card .component-tools button{font-size:10px;padding:6px 8px;max-width:none;min-height:32px;background:#eef4e5}.component-tools button:disabled{opacity:.8}.auto-stock-targets{background:#f1f4e8;padding:10px;border-radius:7px;margin:10px 0}
.demand-badge{font-size:11px;color:#657b61;margin:3px 0 5px;flex-shrink:0}.demand-badge.busy-day{color:#ad5c23;font-weight:700}@media(max-width:650px){.demand-badge{font-size:10px;margin:0 0 4px}}
#storeCanvas{object-fit:contain;background:#e6e9df}.shop-workspace.store-expanded main{grid-template-columns:1fr;grid-template-rows:1fr}.shop-workspace.store-expanded #panel{display:none}.shop-workspace.store-expanded .store-view-tools{display:flex}.shop-workspace .store-view-tools #expandStore{font-weight:700;color:#a2632d}.shop-workspace.store-expanded #storeCanvas{min-height:180px}.shop-workspace.store-expanded #storeAdvance button{flex:1 1 12%}#orderConfirmDialog{max-width:650px;max-height:90dvh;overflow:auto}#orderConfirmDialog .actions button{min-height:44px;flex:1}.store-view-tools{flex-shrink:0}@media(max-width:650px){.shop-workspace .store-view-tools{display:flex;position:absolute;right:8px;top:38px;z-index:1}.shop-workspace .store-view-tools span,.shop-workspace .store-view-tools #view3d,.shop-workspace .store-view-tools #viewTop{display:none}.shop-workspace .store-view-tools #expandStore{font-size:10px;padding:5px;min-height:27px}.shop-workspace #peopleBar{padding-right:95px}.shop-workspace.store-expanded main{grid-template-rows:1fr}.shop-workspace.store-expanded #storeAdvance button{flex:1 1 28%}#orderConfirmDialog{padding:20px 15px;width:94vw}.shop-workspace.store-expanded .store-view-tools{position:static}.shop-workspace.store-expanded #peopleBar{padding-right:0}}
.initial-hours{background:#edf2e3;border:1px solid #cad6bd;border-radius:9px;padding:14px;margin:12px 0}.initial-hours h3{font-size:14px;margin:0 0 10px}.initial-hours .controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.initial-hours .controls label{display:flex;flex-direction:column;align-items:stretch;margin:0;font-size:12px}.initial-hours input{padding:10px;border:1px solid #b7c7aa;border-radius:6px;min-height:42px;font-size:17px;background:white}.initial-hours button{font-size:12px}.initial-hours p{margin:10px 0;font-size:11px}@media(max-width:400px){.initial-hours .controls{gap:8px}.initial-hours input{min-width:0;width:100%;font-size:16px}}
/* Scene on the left, all operational controls in a dedicated right rail. */
.management-stack{min-width:0}.store-control-rail{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px;margin-bottom:10px}.game-stage{padding:0;overflow:hidden}.game-stage #storeCanvas{border-radius:10px}.shop-workspace main{grid-template-columns:minmax(0,1.95fr) minmax(350px,.9fr);gap:12px}.shop-workspace #storePanel{padding:0;overflow:hidden;display:flex;align-items:stretch;justify-content:center;background:#e6e9df}.shop-workspace #storeCanvas{height:100%;width:100%;flex:1;min-height:0;object-fit:contain}.shop-workspace .management-stack{height:100%;min-height:0;display:flex;flex-direction:column;gap:9px;overflow:hidden}.shop-workspace #storeControls{flex:0 0 auto;max-height:62%;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:11px;scrollbar-width:thin}.shop-workspace .management-stack #panel{flex:1;min-height:90px;height:auto;overflow-y:auto}.shop-workspace .management-stack #panel>.card{min-height:100%;padding:11px}.store-control-rail>.section-title{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.store-control-rail #storeTitle{font-size:14px;margin:0}.shop-workspace .store-control-rail #storeClock{font-size:clamp(17px,1.55vw,23px);width:100%;letter-spacing:-.6px;line-height:1.5}.store-control-rail .demand-badge{margin:3px 0 6px}.shop-workspace .store-control-rail .store-view-tools{position:static;display:flex;flex-wrap:wrap;gap:5px;margin:0}.store-control-rail .store-view-tools span{font-size:9px;flex:1 1 100%}.store-control-rail .store-view-tools button{font-size:10px;padding:6px 8px}.store-control-rail .store-view-tools button:disabled{display:none}.shop-workspace .store-control-rail #peopleBar{padding:6px 0;gap:4px}.store-control-rail .people-hint{display:none}.store-control-rail #peopleBar button{font-size:10px;padding:6px 8px}.shop-workspace .store-control-rail #phonePanel{max-height:130px;overflow:auto}.store-control-rail .phone-heading{margin:3px 0}.shop-workspace .store-control-rail #storeAdvance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:7px 0 0}.shop-workspace .store-control-rail #storeAdvance button{min-width:0;max-width:none;min-height:34px;font-size:10px;padding:6px 4px;white-space:normal;line-height:1.4}.shop-workspace .store-control-rail #storeAdvance button:last-child:nth-child(3n+1){grid-column:1/-1}.shop-workspace .management-stack #workDock{position:static;flex:0 0 auto;width:auto;max-width:none;margin:0;padding:10px;box-shadow:none;z-index:auto;max-height:none}.shop-workspace .management-stack #workDock .work-heading b{font-size:12px}.shop-workspace .management-stack #workHint{display:none}.shop-workspace .management-stack #holdWork{min-height:40px}.shop-workspace .management-stack #workPhoneBtn{font-size:11px;padding:5px}.shop-workspace .management-stack #workDock .work-heading span{font-size:18px}.shop-workspace.store-expanded main{grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:1fr}.shop-workspace.store-expanded .management-stack #panel{display:none}.shop-workspace.store-expanded #storeControls{max-height:none;flex:1}.shop-workspace.store-expanded #storeCanvas{min-height:0}.shop-workspace.store-expanded .store-control-rail #storeAdvance button{flex:initial}.shop-workspace #toast{bottom:14px;left:35%;max-width:55vw;font-size:12px}
@media(max-width:1100px) and (min-width:651px){.shop-workspace main{grid-template-columns:minmax(0,1.6fr) 330px}.shop-workspace .store-control-rail #storeClock{font-size:18px}.shop-workspace.store-expanded main{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:650px){.shop-workspace main,.shop-workspace.store-expanded main{grid-template-columns:1fr;grid-template-rows:minmax(190px,1.05fr) minmax(210px,1fr);gap:7px}.shop-workspace #storePanel{padding:0}.shop-workspace .management-stack{gap:6px}.shop-workspace #storeControls{max-height:62%;padding:8px}.store-control-rail>.section-title{flex-direction:row;align-items:center;justify-content:space-between;gap:7px}.shop-workspace .store-control-rail #storeClock{width:auto;font-size:14px}.store-control-rail #storeTitle{font-size:11px}.shop-workspace .store-control-rail .store-view-tools{position:static;flex-wrap:nowrap;gap:5px}.shop-workspace .store-control-rail .store-view-tools span{display:none}.shop-workspace .store-control-rail .store-view-tools #expandStore{display:block;font-size:10px;min-height:26px;padding:4px 7px}.shop-workspace .store-control-rail #peopleBar{padding:4px 0;gap:4px}.shop-workspace .store-control-rail #storeAdvance{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:4px;gap:4px}.shop-workspace .store-control-rail #storeAdvance button{min-height:29px;padding:4px;font-size:9px}.shop-workspace .store-control-rail #storeAdvance button:last-child:nth-child(3n+1){grid-column:auto}.shop-workspace .store-control-rail #phonePanel{max-height:90px}.shop-workspace .management-stack #panel>.card{padding:9px}.shop-workspace .management-stack #workDock{padding:7px}.shop-workspace .management-stack #holdWork{min-height:34px}.shop-workspace .management-stack #cancelWork{min-height:20px}.shop-workspace.store-expanded main{grid-template-rows:minmax(220px,1.5fr) minmax(170px,.7fr)}.shop-workspace.store-expanded #storeControls{max-height:100%;flex:1}.shop-workspace #toast{left:50%;max-width:94vw;width:94vw}}
@media(max-width:650px){.shop-workspace .management-stack{overflow-y:auto;overscroll-behavior:contain}.shop-workspace:has(#workDock:not([hidden])) main{grid-template-rows:minmax(130px,.65fr) minmax(250px,1.35fr)}.shop-workspace .management-stack:has(#workDock:not([hidden])) #storeControls{max-height:35%}.shop-workspace .management-stack:has(#workDock:not([hidden])) #panel{min-height:65px}.shop-workspace .management-stack:has(#workDock:not([hidden])) #workDock{padding:7px}}
/* Three-column operating desk and focused mobile ordering. */
.mobile-view-tabs,.mobile-status-bar{display:none}.order-stack{min-width:0}.management-hub{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px}.management-stack:has(#managementHub[hidden]){display:none}.shop-workspace main{grid-template-columns:minmax(0,1fr) minmax(285px,.43fr) minmax(265px,.38fr);padding:0 10px 8px 0;gap:9px}.shop-workspace .visual-stack{margin:0}.shop-workspace #storePanel{border-radius:0 10px 10px 0;border-left:0;justify-content:flex-start}.shop-workspace #storeCanvas{object-position:left center;border-radius:0 10px 10px 0}.shop-workspace .order-stack{height:100%;min-height:0;display:flex;flex-direction:column;gap:7px;overflow:hidden}.shop-workspace .order-stack #panel{height:auto;flex:1;min-height:80px;overflow-y:auto;scrollbar-width:thin}.shop-workspace .order-stack #panel>.card{min-height:100%;padding:11px;margin:0}.shop-workspace .order-stack #workDock{position:static;flex:0 0 auto;width:auto;margin:0;padding:10px;box-shadow:none;z-index:auto}.shop-workspace .order-stack #workHint{display:none}.shop-workspace .order-stack #holdWork{min-height:44px}.shop-workspace .order-stack #cancelWork{min-height:24px;padding:4px;margin-top:4px}.shop-workspace .management-stack{gap:8px;overflow:hidden}.shop-workspace #managementHub{flex:1;min-height:150px;overflow-y:auto;scrollbar-width:thin}.shop-workspace #storeControls{max-height:46%;flex:0 0 auto;padding:9px}.shop-workspace .store-control-rail #storeClock{font-size:17px;letter-spacing:-.6px}.shop-workspace .store-control-rail #storeTitle{font-size:11px}.shop-workspace .store-control-rail .demand-badge{font-size:9px;margin:2px 0}.shop-workspace .store-control-rail .store-view-tools span{display:none}.shop-workspace .store-control-rail .store-view-tools button{padding:4px 7px;font-size:9px}.shop-workspace .store-control-rail #peopleBar{padding:4px 0}.shop-workspace .store-control-rail #peopleBar button{padding:4px 6px;font-size:9px}.shop-workspace .store-control-rail #storeAdvance button{min-height:30px;font-size:9px}.shop-workspace .pos-strip-head{display:none}.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px;margin-bottom:7px}.hub-heading button{font-size:9px;padding:5px 7px}.hub-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.hub-calendar>small{text-align:center;font-size:9px;letter-spacing:0}.hub-calendar button{padding:3px 1px;min-height:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:4px;font-size:10px;background:#f6f7ef}.hub-calendar button.today{border:2px solid #db9343;background:#fff0d2}.hub-calendar button span{font-size:7px;color:#9b652d;min-height:9px}.hub-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:9px}.hub-actions button{min-height:31px;font-size:10px;padding:5px}.order-filter-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:5px 0 9px}.order-filter-bar button{font-size:10px;padding:7px 2px;white-space:nowrap}.focused-order{border:1px solid #e5c797;border-radius:9px;padding:12px;background:#fffbf1}.focused-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.focused-heading .person-link{font-size:13px;font-weight:700}.focused-order h3{font-size:13px;line-height:1.5;margin:9px 0 5px}.focused-order p{margin:6px 0;font-size:11px;line-height:1.5}.slot-status{float:right;color:#7e8b71;font-size:10px}.next-order-action{width:100%;min-height:49px;margin:7px 0 0;font-size:15px}.order-progress-note{padding:12px;background:#eef1e5;border-radius:7px;text-align:center;font-size:12px;color:#6a7c62}.parallel-menu,.dispatch-options{font-size:10px;padding:8px 0}.focused-order .component-tools button{min-height:38px;font-size:11px}.compact-order-queue{display:flex;flex-direction:column;gap:5px;margin:10px 0;max-height:240px;overflow:auto;overscroll-behavior:contain}.queue-item{display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;padding:9px;min-height:42px;border-radius:6px;background:#fff}.queue-item b{font-size:11px;white-space:nowrap}.queue-item span{font-size:10px;color:#7c846f;line-height:1.5}.queue-item.selected{border-color:#dc923f;background:#fff2db}.compact-tools{display:block;font-size:11px;padding:9px 0}.compact-tools .actions button{font-size:10px;min-height:36px}.closing-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:17px}.closing-steps b{background:#e7eadf;color:#7c8670;padding:9px 4px;border-radius:6px;font-size:11px;text-align:center}.closing-steps b.active{background:#335543;color:#fff}.settlement-totals{display:grid;grid-template-columns:1fr;gap:8px;margin:15px 0}.settlement-totals>div{display:flex;justify-content:space-between;align-items:center;background:#edf0e6;padding:14px;border-radius:8px;gap:10px}.settlement-totals small{letter-spacing:0;font-size:12px}.settlement-totals strong{font-size:23px}.settlement-totals .gain{background:#e0edd9;color:#345e36}.settlement-totals .loss{background:#f8e1d8;color:#ab4635}#settlementDialog{max-width:660px;max-height:93dvh;overflow:auto}#settlementDialog>button{width:100%;min-height:48px;margin-top:15px}.has-store:not(.shop-workspace):not([data-view="estate"]) main{display:block}.has-store:not(.shop-workspace):not([data-view="estate"]) .visual-stack{display:none}.shop-workspace.store-expanded main{grid-template-columns:minmax(0,1fr) 280px}.shop-workspace.store-expanded .order-stack{display:none}.shop-workspace.store-expanded #managementHub{display:none}.shop-workspace.store-expanded #storeControls{max-height:100%;flex:1}
@media(min-width:651px) and (max-width:1100px){.shop-workspace main{grid-template-columns:minmax(0,1fr) 270px 235px;gap:7px}.shop-workspace .store-control-rail #storeClock{font-size:14px}.hub-actions button{font-size:9px}}
@media(max-width:650px){.shop-workspace .mobile-view-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:3px 3% 5px;flex:0 0 auto}.mobile-view-tabs button{min-height:34px;padding:6px;font-size:12px}.shop-workspace .mobile-status-bar{display:flex;align-items:center;gap:5px;padding:4px 3% 7px;flex:0 0 auto}.mobile-status-bar b{flex:1;font-size:12px;font-variant-numeric:tabular-nums}.mobile-status-bar button{min-height:34px;font-size:11px;padding:6px 10px}.shop-workspace main,.shop-workspace:has(#workDock:not([hidden])) main,.shop-workspace.store-expanded main{display:block;min-height:0;padding:0 3% 6px;overflow:hidden}.shop-workspace .visual-stack,.shop-workspace .order-stack,.shop-workspace .management-stack{display:none!important;height:100%;margin:0}.shop-workspace[data-mobile-pane="scene"] .visual-stack{display:block!important}.shop-workspace[data-mobile-pane="orders"] .order-stack{display:flex!important}.shop-workspace[data-mobile-pane="manage"] .management-stack{display:flex!important;overflow-y:auto}.shop-workspace[data-mobile-pane="manage"] #managementHub{display:block;flex:1;min-height:230px}.shop-workspace[data-mobile-pane="manage"] #storeControls{flex:0 0 auto;max-height:none}.shop-workspace .order-stack #panel{flex:1;min-height:110px}.shop-workspace .order-stack #panel>.card{padding:10px}.shop-workspace .order-stack #panel h2{font-size:15px;margin-bottom:5px}.order-filter-bar button{min-height:37px;font-size:11px;padding:7px 2px}.focused-order{padding:12px}.focused-order h3{font-size:15px;margin:9px 0 6px}.focused-heading .person-link{font-size:14px}.focused-order p{font-size:12px}.next-order-action{min-height:56px;font-size:17px}.compact-order-queue{max-height:180px}.queue-item{min-height:49px}.queue-item b{font-size:12px}.queue-item span{font-size:11px}.focused-order .component-tools button{min-height:44px;font-size:12px}.parallel-menu,.dispatch-options{font-size:12px;padding:10px 0}.compact-tools{font-size:12px}.compact-tools .actions button{min-height:42px;font-size:12px}.shop-workspace .order-stack #workDock{padding:11px}.shop-workspace .order-stack #holdWork{min-height:49px;font-size:15px}.shop-workspace .order-stack #workHint{display:none}.shop-workspace .order-stack #cancelWork{min-height:28px}.hub-calendar button{min-height:37px;font-size:12px}.hub-calendar button span{font-size:9px}.hub-actions button{min-height:43px;font-size:12px}.shop-workspace .store-control-rail #storeClock{font-size:19px}.shop-workspace .store-control-rail #storeAdvance{grid-template-columns:repeat(3,1fr)}.shop-workspace .store-control-rail #storeAdvance button{min-height:42px;font-size:11px}.inventory-good{padding:9px 0}.inventory-good p{font-size:10px}.inventory-good input{min-height:46px;font-size:17px;inputmode:numeric}.closing-stock-grid label{padding:9px}.closing-stock-grid input{min-height:46px;font-size:17px}#closingDialog,#settlementDialog{width:96vw;padding:20px 14px;max-height:94dvh}.closing-options button{min-height:53px;font-size:14px}.settlement-totals strong{font-size:21px}.closing-steps b{font-size:10px;padding:10px 4px}#panel .live-message{font-size:11px}.shop-workspace #toast{max-width:94vw}}
@media(max-width:650px){.shop-workspace.store-expanded[data-mobile-pane="orders"] #panel{display:block}.inventory-chips{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-good label{flex-basis:76px}.inventory-good input{width:76px}.inventory-good .muted{font-size:10px}}
.inventory-chips{grid-template-columns:repeat(9,minmax(0,1fr))}@media(max-width:650px){.inventory-chips{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-view-tabs button{min-height:40px}.mobile-status-bar button{min-height:40px}}
/* Persistent clock and explicit playback, with scene and orders together on phones. */
#topGameControls{display:flex;align-items:center;justify-content:center;gap:14px;flex:1;min-width:0}#topGameControls[hidden]{display:none}#topGameControls #storeClock{font-size:18px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.6px}#topPlayback{display:flex;gap:5px}#topPlayback button{min-height:37px;padding:6px 11px;white-space:nowrap;font-size:12px}#navHint{display:none}.paused-prompt{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);z-index:8;display:flex;gap:12px;align-items:center;padding:12px 18px;background:#fff9ecf2;border:1px solid #d9bc85;box-shadow:0 4px 20px #243c3030;border-radius:12px;white-space:nowrap}.paused-prompt[hidden]{display:none}.paused-prompt button{min-height:44px}#storePanel{position:relative}.hub-widget{border-top:1px solid #e1e5d9;padding:12px 0 5px}.widget-edit{display:flex;align-items:center;gap:8px;padding:12px 0}.widget-edit label{flex:1;display:flex;align-items:center;gap:10px}.ad-plan{border:1px solid #dce2d5;background:#f4f6ed;padding:15px;border-radius:10px;margin:15px 0}.ad-plan label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0}.ad-campaigns{display:grid;gap:10px;margin:15px 0}.ad-campaigns>div{border:1px solid #dde1d4;border-radius:8px;padding:12px}.ranking-table{width:100%;border-collapse:collapse;font-size:12px}.ranking-table th,.ranking-table td{text-align:left;padding:9px 6px;border-bottom:1px solid #e0e4d9}.player-rank{background:#ffecd1;font-weight:800;color:#9e4d0c}#rankingsDialog{max-width:700px;max-height:90dvh;overflow:auto}.order-history{max-height:320px;overflow:auto}.order-history>div{border-bottom:1px solid #dde1d5;padding:12px 0}.order-history p{font-size:12px;margin:5px 0}.wash-meter{height:14px;background:#dfe6da;border-radius:9px;overflow:hidden}.wash-meter i{display:block;height:100%;background:#52867b}.hold-wash{width:100%;min-height:60px;touch-action:none;user-select:none}.station-counts{display:flex;gap:18px;padding:15px 0}
@media(max-width:1100px){#topGameControls{gap:6px}#topGameControls #storeClock{font-size:14px}#topPlayback button{font-size:11px;padding:6px}}
@media(max-width:650px){#topGameControls{width:100%;flex-wrap:wrap;gap:4px;padding:4px 0}#topGameControls #storeClock{font-size:16px;width:100%;text-align:center}#topPlayback{width:100%;justify-content:center}#topPlayback button{flex:1;min-height:37px;max-width:150px}.shop-workspace .mobile-view-tabs{grid-template-columns:1fr 1fr;padding:2px 3%}.shop-workspace .mobile-view-tabs button{min-height:30px;padding:3px}.shop-workspace[data-mobile-pane="play"] main,.shop-workspace[data-mobile-pane="play"]:has(#workDock:not([hidden])) main{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(150px,40%) minmax(0,1fr);gap:5px;padding:0 2% 5px}.shop-workspace[data-mobile-pane="play"] .visual-stack{display:flex!important;min-height:0;height:100%}.shop-workspace[data-mobile-pane="play"] .order-stack{display:flex!important;min-height:0;height:100%}.shop-workspace[data-mobile-pane="play"] #storePanel{height:100%;min-height:0;border:1px solid #dfe2d5;border-radius:8px}.shop-workspace[data-mobile-pane="play"] #storeCanvas{width:100%;height:100%;object-fit:contain;object-position:center center}.shop-workspace[data-mobile-pane="play"] .management-stack{display:none!important}.shop-workspace .order-stack #panel h2{font-size:13px;margin:0}.shop-workspace .order-stack #panel>.card{padding:7px}.focused-order{padding:8px}.focused-order h3{font-size:13px;margin:5px 0}.focused-order p{margin:4px 0;font-size:11px}.next-order-action{min-height:42px;font-size:14px;margin:5px 0}.order-filter-bar{margin:4px 0;gap:3px}.order-filter-bar button{min-height:29px;font-size:10px;padding:4px}.compact-order-queue{max-height:95px;margin:5px 0}.queue-item{min-height:37px;padding:6px}.shop-workspace .order-stack #workDock{padding:7px}.shop-workspace .order-stack #holdWork{min-height:43px}.shop-workspace .order-stack #workTitle{font-size:12px}.shop-workspace:has(#workDock:not([hidden]))[data-mobile-pane="play"] main{grid-template-rows:minmax(125px,34%) minmax(0,1fr)}.paused-prompt{bottom:8px;padding:7px 10px;font-size:12px;gap:8px}.paused-prompt button{min-height:36px}.ranking-table{font-size:11px}}
@media(max-width:650px){.shop-workspace #nav{flex-wrap:wrap}.shop-workspace #topGameControls{flex-basis:100%;order:4;margin:1px 0 2px}.shop-workspace #topGameControls #storeClock{font-size:14px}.shop-workspace #topPlayback button{min-height:32px}.shop-workspace #nav #moreNav{flex:1;min-width:130px}.shop-workspace #nav #shopTab{flex:0 0 auto}#openingTipDialog{padding:24px 18px}#openingTipDialog h2{font-size:23px;line-height:1.5}}
#supervisorDialog{max-width:780px;width:94vw;max-height:90dvh;overflow:auto}#supervisorBtn{white-space:nowrap;margin-left:auto}.supervisor-head{display:flex;align-items:center;gap:12px}.supervisor-head h2{margin:5px 0;font-size:22px}.supervisor-head>button{margin-left:auto}.supervisor-avatar{font-size:38px;width:65px;height:65px;flex:0 0 65px;border-radius:18px;background:#dfe9db;display:grid;place-items:center}.supervisor-head small{letter-spacing:0}.supervisor-tabs,.supervisor-categories{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.supervisor-tabs button{flex:1}.supervisor-clock-note{font-size:12px;color:#837255}.supervisor-speech{background:#f4f0e1;border:1px solid #e2d6b9;border-radius:12px;padding:20px}.supervisor-speech h3{font-size:21px;line-height:1.5;margin:0 0 12px}.supervisor-choices{display:grid;gap:9px;margin-top:18px}.supervisor-choices button{min-height:48px}.supervisor-search{display:flex;flex-direction:column;gap:9px}.supervisor-search input{width:100%;font-size:16px}.supervisor-categories button{padding:7px 10px;font-size:12px}.supervisor-answer{border:1px solid #dce2d5;border-radius:9px;background:#fff;margin:9px 0;padding:0}.supervisor-answer summary{cursor:pointer;font-weight:700;padding:16px}.supervisor-answer>div{padding:0 16px 16px}.supervisor-answer p{margin-top:0}.supervisor-steps{padding-left:25px}.supervisor-steps li{padding:12px 0;border-bottom:1px solid #e1e4d8}.supervisor-steps p{margin:5px 0;color:#697763;font-size:13px}.supervisor-steps li.complete{color:#56864e}.supervisor-tour{display:flex;align-items:center;gap:14px;border:1px solid #d4bc89;border-left:5px solid #d68d39;background:#fff8e7;padding:9px 14px;flex:0 0 auto;margin:0 8px 7px}.tour-label{font-size:12px;white-space:nowrap;font-weight:800;color:#8d632b}.tour-copy{display:flex;flex-direction:column;gap:3px;flex:1}.tour-copy b{font-size:14px}.tour-copy span{font-size:12px;color:#716c5b}.tour-actions{display:flex;gap:6px}.tour-actions button{font-size:11px;min-height:35px;padding:6px 9px}.supervisor-highlight{outline:3px solid #d6a451!important;outline-offset:-3px;box-shadow:0 0 0 3px #f8e2ac66!important}.supervisor-tour[hidden]{display:none}@media(max-width:650px){.has-store header #supervisorBtn{font-size:11px;min-height:30px;padding:5px 6px;margin:0}.has-store header{gap:6px}.supervisor-head{gap:8px}.supervisor-head h2{font-size:17px}.supervisor-avatar{font-size:29px;width:45px;height:45px;flex-basis:45px}.supervisor-head>button{padding:5px;font-size:11px}.supervisor-tabs button{font-size:12px;padding:7px}.supervisor-tour{gap:6px;padding:7px;margin:0 2% 4px;flex-wrap:wrap}.tour-label{font-size:10px}.tour-copy{min-width:60%}.tour-copy b{font-size:12px}.tour-copy span{display:none}.tour-actions{width:100%}.tour-actions button{flex:1;min-height:29px;font-size:10px;padding:4px}.tour-actions button:last-child{flex:1.5}.supervisor-speech{padding:15px}.supervisor-speech h3{font-size:18px}}
.product-complaint{background:#fff0df;border:1px solid #e6a562;border-left:4px solid #d97830;border-radius:9px;padding:12px;margin:8px 0}.product-complaint b{font-size:13px;color:#8c401d}.product-complaint p{font-size:12px;margin:8px 0;line-height:1.55}.complaint-options{display:grid;gap:7px}.complaint-options button{width:100%;min-height:42px;text-align:left;font-size:12px}.product-complaint>button{width:100%;min-height:43px}
.nav-cash{margin-left:auto;flex:0 0 auto;min-width:155px;text-align:right;display:flex;flex-direction:column;gap:3px;padding:3px 8px 3px 12px;border-left:1px solid #dce1d3}.nav-cash small{font-size:10px;letter-spacing:0;color:#74826d}.nav-cash strong{font-size:20px;font-variant-numeric:tabular-nums;letter-spacing:-.6px;color:#315941;white-space:nowrap}.nav-cash.negative strong{color:#b44731}@media(max-width:1100px){.nav-cash{min-width:125px;padding-left:7px}.nav-cash strong{font-size:16px}#topGameControls #storeClock{font-size:13px}}@media(max-width:650px){.shop-workspace #nav .nav-cash{order:3;min-width:0;flex:0 0 auto;display:flex;flex-direction:row;gap:6px;align-items:center;padding:2px 3px 2px 8px;border-left:0;margin-left:auto}.shop-workspace #nav .nav-cash strong{font-size:14px}.shop-workspace #nav .nav-cash small{font-size:9px}.shop-workspace #nav #moreNav{min-width:115px;max-width:145px;flex:1}.shop-workspace #nav{gap:4px}.shop-workspace #nav>button{padding:5px 6px;font-size:10px}.nav-cash{min-width:0}.nav-cash strong{font-size:15px}}
.chronological-orders{display:flex;flex-direction:column;gap:12px;overflow:visible}.full-order-card{flex:0 0 auto}.full-order-card .parallel-menu,.full-order-card .dispatch-options{display:block;border-top:1px solid #e6dfd1;margin-top:9px;padding:9px 0 2px}.full-order-card .dispatch-options .actions{display:flex;flex-wrap:wrap;gap:5px}.full-order-card .dispatch-options button{min-height:32px;font-size:10px}.full-order-card .component-tools{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.order-sort-note{font-size:10px;color:#89917e;margin:5px 0 10px}.order-arrived{font-size:10px;letter-spacing:0;color:#929880;display:block;margin-top:6px}.cancelled-order-note{font-size:11px;background:#f9e7db;color:#994d2b;border-radius:6px;padding:9px;margin:7px 0}.chronological-orders+.service-tools{border-top:1px solid #dfe3d6;margin-top:12px}@media(max-width:650px){.chronological-orders{gap:10px}.full-order-card .dispatch-options button{min-height:37px;font-size:11px}.full-order-card .component-tools button{min-height:39px;font-size:11px}.full-order-card .order-arrived{font-size:10px}}
/* Initial opening hours: one full-width switch, followed by aligned time inputs. */
.initial-hours .controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.initial-hours .controls .hours-all-day{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-height:24px}.initial-hours .hours-all-day input[type="checkbox"]{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:0;padding:0}.initial-hours .controls label{min-width:0;gap:7px}.initial-hours input[type="time"]{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.job-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.job-form label{min-width:0}.job-form input,.job-form select{width:100%;min-width:0}.job-days-title{display:block;margin:16px 0 8px;font-size:13px}.job-days{display:flex;gap:7px;flex-wrap:wrap}.job-days label{display:flex;align-items:center;gap:5px;background:#eff2e8;padding:8px;border-radius:7px}.job-config #postRecruitment{width:100%;min-height:48px;margin:10px 0}.job-posting{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e0e5d8;padding:12px 0}.job-posting>div{flex:1}.job-posting p{margin:5px 0;font-size:12px}.job-posting small{letter-spacing:0}.job-posting>button{font-size:12px;min-height:44px}#applicantsDialog{width:94vw;max-width:760px;max-height:90dvh;overflow:auto}#recruitmentNoticeDialog{max-width:490px}#recruitmentNoticeDialog h2{font-size:25px}.component-status{flex:1 1 130px;min-width:0}.component-status>button{width:100%}.component-status.complete>button{background:#e7efd9;color:#487542;opacity:1}.component-status.cooking>button{background:#fff0ce;color:#9d6426;opacity:1}.component-progress{height:6px;border-radius:5px;background:#e5ddc8;overflow:hidden;margin:5px 0}.component-progress i{height:100%;display:block;background:#d49a44}.component-status small{font-size:10px;letter-spacing:0;color:#7d8b75}.hall-extra-status{border:1px solid #d5b765;border-radius:8px;background:#fff4d6;padding:10px;margin:9px 0}.hall-extra-status b{font-size:12px}.hall-extra-status button{width:100%;min-height:40px}.calendar-live-finance{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:5px}.calendar-live-finance>div{background:#edf2e5;border-radius:7px;padding:9px 6px}.calendar-live-finance small{display:block;font-size:9px;letter-spacing:0}.calendar-live-finance strong{display:block;font-size:15px;color:#af692f;margin-top:4px;font-variant-numeric:tabular-nums}.calendar-live-finance>div+div strong{color:#6f7a60}.finance-note{font-size:9px;line-height:1.4;color:#919781;margin:3px 0 10px}@media(max-width:650px){.job-form{gap:9px}.job-form input,.job-form select{font-size:15px;min-height:44px}.job-days{gap:4px}.job-days label{padding:8px 5px}.job-posting{flex-wrap:wrap}.job-posting>button{width:100%}.calendar-live-finance strong{font-size:17px}}
.calendar-live-finance>div{min-width:0}.calendar-live-finance strong{overflow-wrap:anywhere;line-height:1.25}.job-form input[type="time"]{box-sizing:border-box;max-width:100%}
.nav-reviews{display:flex;gap:4px;flex:0 0 auto;padding:2px 0}.nav-reviews button{display:grid;grid-template-columns:auto auto;gap:2px 4px;align-content:center;min-height:45px;min-width:58px;padding:5px 6px;background:#f1f4e9;border-color:#dfe5d5}.nav-reviews small{grid-column:1/-1;letter-spacing:0;font-size:9px;color:#6d7c64}.nav-reviews b{font-size:10px;color:#6e7839;white-space:nowrap}.nav-reviews span{font-size:8px;color:#929b85}.review-channel-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.review-channel-tabs button{font-size:12px;padding:8px 10px}@media(max-width:1250px){#nav{flex-wrap:wrap}.nav-reviews{margin-left:auto}.nav-cash{margin-left:5px}}@media(max-width:650px){.shop-workspace #nav .nav-reviews{order:5;width:100%;justify-content:space-between;padding:2px 0}.nav-reviews button{flex:1;min-height:32px;display:flex;flex-wrap:wrap;justify-content:center;gap:3px;min-width:0;font-size:9px;padding:4px}.nav-reviews small{width:auto;font-size:9px}.nav-reviews b{font-size:10px}.nav-reviews span{font-size:8px}}
.calendar-platform-cost{display:flex;justify-content:space-between;font-size:10px;color:#7e8b73;margin:6px 0}.calendar-net-profit{display:flex;align-items:center;justify-content:space-between;padding:10px 7px;background:#e8efe0;border-radius:7px;margin:7px 0}.calendar-net-profit small{font-size:10px;letter-spacing:0}.calendar-net-profit strong{font-size:17px;color:#41613d}.calendar-settlements{margin:9px 0;font-size:10px}.calendar-settlements>b{font-size:10px}.calendar-settlements>div{display:flex;justify-content:space-between;align-items:center;gap:6px;border-bottom:1px solid #e4e8dc;padding:6px 0}.calendar-settlements small{display:block;letter-spacing:0;font-size:9px;margin-top:3px;color:#929c83}.calendar-settlements strong{font-size:11px;white-space:nowrap}
.job-time-label{grid-column:1/-1}.job-time-controls{display:grid;grid-template-columns:66px 1fr 1fr 66px;gap:6px;align-items:center}.job-time-controls button{padding:5px;font-size:11px;min-height:44px}.job-time-controls select{font-size:16px;min-height:46px}.job-time-summary{font-size:12px;color:#627556;line-height:1.5;background:#f0f4e9;padding:8px;border-radius:6px}.job-time-summary:empty{display:none}@media(max-width:400px){.job-time-controls{grid-template-columns:56px 1fr 1fr 56px;gap:4px}.job-time-controls button{font-size:10px}.job-time-controls select{padding:7px 4px;font-size:15px}}
#financeDialog{width:min(740px,94vw);max-height:90dvh;overflow:auto} .finance-toolbar,.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.finance-toolbar label{display:flex;align-items:center;gap:8px}.finance-entry{padding:14px 0;border-bottom:1px solid #dfe2d6}.finance-entry h4{margin:0 0 10px}.finance-entry p,.finance-entry small{font-size:12px;color:#68776b}.finance-line{display:flex;justify-content:space-between;gap:16px;padding:6px 0}.finance-line b{white-space:nowrap}.finance-parts{margin:6px 0;padding-left:18px;font-size:12px;color:#58675c}.finance-parts li{list-style:disc}.calendar-live-finance button{text-align:left;background:#eff2e7;min-width:0}.calendar-live-finance button small,.calendar-live-finance button strong{display:block}#navCash{cursor:pointer}
.app-header-tools{display:flex;gap:5px;margin-left:auto;flex-shrink:0}header .app-header-tools button{margin-left:0;min-height:40px}.app-shell-dialog{width:min(540px,94vw);max-height:88dvh;overflow:auto}.app-shell-dialog h2{margin:0;font-size:19px}.app-shell-dialog input{display:block;width:100%;font-size:14px;padding:12px;margin:9px 0;min-height:44px}.app-shell-dialog a{color:#a24c1c;display:inline-block;line-height:1.5;margin:8px 0}.app-shell-dialog .package-download{background:#26352f;color:#fff;padding:12px 16px;border-radius:7px;text-decoration:none}.app-shell-dialog [role="status"]{font-size:13px;line-height:1.6}.app-shell-dialog hr{border:0;border-top:1px solid #dedfd5;margin:20px 0}@media(max-width:650px){header{flex-wrap:wrap;gap:6px}.app-header-tools{margin-left:auto}.app-header-tools button{font-size:12px;padding:8px 10px}}
@media(max-width:650px){.has-store header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px}.has-store header .brand{grid-column:1/-1;min-width:0}.has-store header .tag{display:none}.has-store header .app-header-tools{margin-left:0}.has-store header .app-header-tools button{min-height:34px;padding:6px 8px;font-size:11px}}
.pos-quick>.owner-health-walking{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center}.owner-health-walking>div{min-width:0}.owner-walk-cell{border-left:1px solid #d5dccb;padding-left:10px}.pos-quick .owner-walk-cell strong{font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.owner-walk-cell span{display:block;font-size:10px;margin-top:3px;color:#697365;font-variant-numeric:tabular-nums}@media(max-width:650px){.pos-quick>.owner-health-walking{gap:7px}.owner-walk-cell{padding-left:7px}.pos-quick .owner-health-walking small{white-space:normal;line-height:1.3}.pos-quick .owner-walk-cell strong{font-size:13px}}
.pos-quick{grid-template-columns:minmax(110px,1.3fr) minmax(0,4fr) minmax(230px,2fr)!important}@media(max-width:650px){.pos-quick{grid-template-columns:minmax(75px,1fr) minmax(0,2.2fr)!important}.pos-quick>.owner-health-walking{grid-column:2;grid-row:1}.pos-quick>.inventory-summary{grid-column:1/-1;grid-row:2}.pos-quick>.owner-health-walking small{font-size:8px}.owner-walk-cell span{font-size:9px}}
#seatingDialog{width:min(680px,95vw);max-height:90dvh;overflow:auto}.seating-room{background:#eee9da;padding:12px;border-radius:8px;margin:12px 0;text-align:center}.seating-room>b{display:block;background:#a4b69d;padding:7px;font-size:12px}.seating-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px}.seating-grid button{min-height:62px;line-height:1.5;background:#dac299}.seating-grid button.active{background:#26352f}.seating-table-list{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0}.facility-option{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #dedfd5}.facility-option p{font-size:12px;margin:5px 0}.facility-option>button{white-space:nowrap;min-height:44px}.seat-choice{background:#fff1d4;border:2px solid #ed762a;padding:12px;border-radius:8px;margin:12px 0}.seat-choice p{font-size:12px;margin:6px 0}.hall-table-assignment{font-size:12px;color:#52755c}.seat-choice .actions button{min-height:44px}
header .header-right{margin-left:auto;display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}header .header-right>button,header .header-right .app-header-tools{margin-left:0}header #topGameControls{margin:0;gap:7px;flex:0 1 auto}header #storeClock{white-space:nowrap;font-size:14px}header #topPlayback{display:flex;gap:4px}header #topPlayback button{min-height:34px;padding:7px 9px}.nav-finance{display:flex;justify-content:center;gap:5px;margin-left:auto}.nav-finance[hidden]{display:none}.nav-finance button{background:#edf1e5;text-align:left;padding:6px 9px;min-width:105px}.nav-finance small{display:block;font-size:9px;letter-spacing:0}.nav-finance b{display:block;font-size:14px;margin-top:3px;font-variant-numeric:tabular-nums}.nav-finance button:first-child b{color:#b46b2d}.hub-settlement-details{margin:10px 0;padding:6px;font-size:11px}@media(max-width:650px){.has-store header{display:flex;flex-wrap:wrap}.has-store header .brand{flex:1 1 100%}.has-store header .header-right{width:100%;gap:4px;justify-content:flex-end}.has-store header #topGameControls{flex:1 1 100%;justify-content:space-between}.has-store header #storeClock{font-size:12px}.has-store header .header-right>button{flex:0 0 auto;margin:0}.nav-finance button{min-width:85px;padding:5px}.nav-finance b{font-size:12px}}
.order-receipt{background:#f6f5ec;padding:10px;border-radius:7px;margin:10px 0}.order-receipt h4{margin:0 0 6px;font-size:12px}.order-receipt>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:12px}.order-receipt strong{white-space:nowrap}.order-receipt small{display:block;letter-spacing:0;font-size:9px;color:#9c754c;margin-top:3px}.order-receipt .receipt-total{border-top:1px solid #d9dfcf;margin-top:5px;padding-top:8px;font-size:14px}.order-receipt p{font-size:10px;line-height:1.4;margin:5px 0 0;color:#839077}
.closing-staff-options{display:contents}
header .header-right #topGameControls{order:0;flex-basis:auto;width:auto;flex-wrap:nowrap;margin:0;justify-content:flex-end}header .header-right #topGameControls #storeClock{width:auto;font-size:14px}header .header-right #topPlayback{width:auto}@media(max-width:650px){header .header-right #topGameControls{flex-basis:100%;width:100%;justify-content:space-between}header .header-right #topGameControls #storeClock{font-size:12px}header .header-right #topPlayback button{min-height:34px;font-size:10px;padding:5px}}
.order-menu-title{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.order-receipt .receipt-subtotal{border-top:1px solid #d9dfcf;margin-top:5px;padding-top:8px}
/* Keep the running clock prominent above the game. */
header .header-right #topGameControls #storeClock{font-size:clamp(24px,2vw,30px);font-weight:900;line-height:1.25;letter-spacing:-.5px;color:#234b36;background:#e9efdf;border:1px solid #d4dfc8;border-radius:8px;padding:8px 12px;font-variant-numeric:tabular-nums}@media(max-width:650px){header .header-right #topGameControls{flex-wrap:wrap;gap:5px}header .header-right #topGameControls #storeClock{flex-basis:100%;width:100%;font-size:22px;white-space:normal;text-align:right;overflow-wrap:normal;padding:7px 9px}header .header-right #topPlayback{margin-left:auto}}
.fried-cost-preview{margin:18px 0;background:#f0f3e8;padding:14px;border-radius:8px}.fried-cost-preview>p{font-size:11px;margin:6px 0 12px;color:#6e7b68}.fried-cost-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.fried-cost-cards article{padding:12px;background:#fffdf7;border:1px solid #dce2d2;border-radius:7px}.fried-cost-cards article>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:12px}.fried-cost-cards .fried-cost-heading{align-items:center;margin-bottom:8px}.fried-cost-heading strong{font-size:27px;color:#ac662a;font-variant-numeric:tabular-nums}.fried-cost-cards .fried-cost-total{border-top:1px solid #dce2d2;margin-top:6px;padding-top:9px}
.equipment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px}.equipment-grid article{padding:15px;background:#f5f5eb;border:1px solid #dddccd;border-radius:10px;display:grid;gap:9px}.equipment-grid strong{font-size:14px;color:#526c55}.equipment-grid progress{width:100%;accent-color:#d28c3c}.equipment-grid small{line-height:1.8}
.order-receipt .menu-ready-check{width:17px;height:17px;min-height:0;margin:0 7px 0 0;vertical-align:middle;accent-color:#4d775d;opacity:1}.order-receipt .menu-ready-check:checked{filter:none}
.equipment-grid strong.danger{color:#b54c31}
/* Keep the main store flush with the adjacent order and management panels. */
.shop-workspace header,.shop-workspace #nav,.shop-workspace .pos-metrics{padding-left:10px;padding-right:10px}.shop-workspace main{padding:0 10px 10px;gap:10px}.shop-workspace #storePanel{border:1px solid var(--line);border-radius:10px;align-items:stretch;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start}.shop-workspace #storeCanvas{object-fit:fill;object-position:center center;border-radius:0 0 9px 9px;flex:1 1 0;min-height:0;width:100%;height:0}.oil-live-panel{flex:0 0 auto;padding:9px 11px;background:#fffdf4;border-bottom:1px solid #dce1d3;z-index:2}.oil-live-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.oil-live-heading strong{font-size:20px;color:#ad6d2f;font-variant-numeric:tabular-nums}.oil-live-heading span{font-size:11px;color:#717b60}.oil-live-panel progress{width:100%;height:8px;display:block;margin:5px 0;accent-color:#ca8d38}.oil-live-actions{display:flex;gap:5px}.oil-live-actions button{flex:1;font-size:10px;min-height:31px;padding:5px}.oil-live-panel>small{display:block;font-size:9px;letter-spacing:0;line-height:1.4;margin-top:4px;color:#7d826c}.closing-oil{padding:12px;background:#f2ecdb;border:1px solid #d9ccaa;border-radius:8px;margin:10px 0 16px}.closing-oil p{font-size:12px;margin:5px 0}.closing-oil button{width:100%;min-height:42px}
@media(min-width:1101px){.shop-workspace main{grid-template-columns:minmax(0,1.55fr) minmax(310px,.6fr) minmax(250px,.48fr)}}
@media(max-width:650px){.shop-workspace[data-mobile-pane="play"] main{grid-template-rows:minmax(210px,46%) minmax(0,1fr);padding:0 6px 6px}.shop-workspace[data-mobile-pane="play"]:has(#workDock:not([hidden])) main{grid-template-rows:minmax(190px,42%) minmax(0,1fr)}.shop-workspace[data-mobile-pane="play"] #storeCanvas{height:0;object-fit:fill;flex:1 1 0}.oil-live-panel{padding:5px 7px}.oil-live-heading{font-size:10px;gap:4px}.oil-live-heading strong{font-size:15px}.oil-live-heading span{font-size:9px}.oil-live-actions button{font-size:9px;min-height:30px;padding:3px}.oil-live-panel>small{font-size:8px}.oil-live-panel progress{height:5px;margin:3px 0}}
#staffNoticeDialog{width:min(490px,94vw);max-height:90dvh;overflow:auto}#staffNoticeDialog h2{font-size:24px;margin:12px 0 18px;line-height:1.5}#staffNoticeDialog>button{width:100%;min-height:46px}#staffNoticeDialog small{letter-spacing:0}.staff-break-form{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:9px}.staff-break-form label{display:flex;flex-direction:column;gap:8px;font-size:12px}.staff-break-form select{width:100%;font-size:16px;min-height:46px}#staffBreakDialog{width:min(560px,95vw);max-height:90dvh;overflow:auto}
.auto-kitchen-hint{display:block;font-size:10px;letter-spacing:0;background:#e8efdf;color:#4d7250;padding:7px;border-radius:5px;margin-top:8px}
#counterDialog{width:min(600px,95vw);max-height:90dvh;overflow:auto}.counter-order{border:1px solid #e2d4b9;background:#fffdf6;padding:13px;border-radius:9px;margin:12px 0}.counter-order>button{width:100%;min-height:44px}.counter-order>small{letter-spacing:0;font-size:12px}.counter-order .order-receipt{font-size:12px}
.local-payment{border-top:1px solid #e4e4d8;padding:9px 0;margin:6px 0;font-size:11px}.local-payment>div{display:flex;gap:5px;margin:6px 0}.local-payment button{flex:1;font-size:10px;min-height:34px;padding:5px}.local-payment small{font-size:9px;letter-spacing:0;color:#74816a;line-height:1.5;display:block}
#rankingsDialog{max-width:860px;width:95vw}.ranking-scroll{max-width:100%;overflow-x:auto;margin-bottom:20px;overscroll-behavior-x:contain}.ranking-scroll .ranking-table{min-width:540px;font-variant-numeric:tabular-nums}.ranking-scroll th,.ranking-scroll td{white-space:nowrap}.ranking-scroll td:nth-child(2){white-space:normal;min-width:125px}.shop-workspace #storeCanvas,.shop-workspace[data-mobile-pane="play"] #storeCanvas{object-fit:contain;object-position:center center}
.new-store-badge{display:inline-block;margin-left:7px;padding:3px 7px;border-radius:5px;background:#ed762a;color:#fff;font-size:10px;font-weight:800;vertical-align:middle;white-space:nowrap}.new-store-exposure{padding:10px 12px;border:1px solid #eed2a6;background:#fff4df;border-radius:7px;font-size:12px;line-height:1.6}.new-store-exposure small{font-size:10px;letter-spacing:0}
.oil-tank-summary{display:flex;flex-wrap:wrap;gap:4px;margin:5px 0}.oil-tank-summary span{padding:3px 5px;border-radius:4px;background:#edeedf;color:#5c6d50;font-size:9px;white-space:nowrap}
.oil-live-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.oil-group{min-width:0}.oil-live-panel>.oil-live-actions,.oil-live-panel>small{grid-column:1/-1}.oil-group .oil-live-heading{flex-wrap:wrap;gap:3px}.oil-group .oil-live-heading span{font-size:9px}.oil-group .oil-live-actions button{font-size:9px}.oil-live-panel .oil-group progress{margin:4px 0}@media(max-width:650px){.oil-live-panel{gap:4px 6px}.oil-group .oil-live-heading{font-size:9px}.oil-group .oil-live-actions{flex-wrap:wrap}.oil-group .oil-live-actions button{min-height:27px;flex:1 1 100%;font-size:8px}.oil-group .oil-tank-summary{display:none}}
@media(max-width:650px){.oil-group .oil-live-actions{flex-wrap:nowrap}.oil-group .oil-live-actions button{flex:1 1 0;min-width:0;min-height:30px;font-size:8px;letter-spacing:-.3px;padding:2px}}

/* Keep oil maintenance out of the scene's usable area. */
.oil-compact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:center}.oil-compact-meter{display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center;font-size:11px}.oil-compact-meter strong{color:#ad6d2f;font-size:16px}.oil-compact-meter span{font-size:10px;color:#717b60}.oil-compact-meter progress{grid-column:1/-1;height:5px;margin:0}.oil-compact>button{min-height:35px;font-size:12px;padding:5px 10px}.oil-compact>button small{display:block;font-size:9px;letter-spacing:0;color:#74816a}.oil-live-panel{padding:5px 8px}.oil-attention{margin-top:3px!important}.oil-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.oil-dialog-title h2{margin:0}#oilManageDialog{width:min(650px,95vw);max-height:90dvh;overflow:auto}#oilManageDialog .oil-group{margin:18px 0}#oilManageDialog .oil-tank-summary{margin:8px 0}#oilManageDialog .oil-live-actions{margin:8px 0}#oilManageDialog .oil-live-actions button{min-height:44px;font-size:12px}#oilManageDialog>small{display:block;font-size:11px;letter-spacing:0;line-height:1.6}
.shop-workspace #storePanel{overflow-y:auto;scrollbar-width:thin}.shop-workspace #storeCanvas,.shop-workspace[data-mobile-pane="play"] #storeCanvas{width:100%;height:auto;aspect-ratio:10/7;flex:0 0 auto;object-fit:contain;object-position:center center}.shop-workspace #oilLivePanel{position:sticky;top:0}
@media(max-width:650px){.oil-compact{gap:6px}.oil-compact-meter{font-size:9px;gap:1px 3px}.oil-compact-meter strong{font-size:13px}.oil-compact-meter span{font-size:8px}.oil-compact>button{font-size:10px;min-height:32px;padding:3px 6px}.oil-compact>button small{font-size:8px}}

#saveGameBtn{white-space:nowrap;min-height:39px;padding:5px 9px}#lastManualSave{display:block;font-size:9px;letter-spacing:0;font-weight:400;color:#71806f;margin-top:2px;font-variant-numeric:tabular-nums}@media(max-width:650px){#saveGameBtn{font-size:11px;padding:4px 7px}#lastManualSave{font-size:8px}}

/* Put maintenance beside navigation; reserve the entire scene panel for the game. */
#nav{flex-wrap:wrap}#nav>#oilLivePanel{display:block;position:static;flex:1 0 400px;min-width:400px;max-width:560px;border:0;background:transparent;padding:0 8px;margin:0}#nav .oil-compact{width:100%;grid-template-columns:repeat(2,minmax(140px,1fr)) auto;gap:12px}#nav .oil-compact-meter{min-width:0;line-height:1.4}#nav .oil-compact-meter b,#nav .oil-compact-meter span{white-space:nowrap;word-break:keep-all}#nav .oil-compact>button{white-space:nowrap}#nav .oil-attention{display:block;line-height:1.5}.nav-finance{margin-left:auto}.nav-cash{margin-left:0}.nav-finance button{min-width:88px}.nav-reviews button{min-width:50px}.shop-workspace #storePanel{overflow:hidden}.shop-workspace #storeCanvas,.shop-workspace[data-mobile-pane="play"] #storeCanvas{height:0;min-height:0;width:100%;flex:1 1 0;aspect-ratio:auto;object-fit:contain;object-position:center center}
@media(max-width:1250px){#nav>.nav-finance{margin-left:auto}#nav>.nav-reviews{margin-left:0}}
@media(max-width:650px){.shop-workspace #nav>#oilLivePanel{order:4;flex:1 1 100%;width:100%;min-width:0;max-width:none;padding:2px 0}.shop-workspace #nav>.nav-finance{order:5;margin-left:auto}.shop-workspace #nav>.nav-reviews{order:6}.shop-workspace #nav>.nav-cash{margin-left:auto}.shop-workspace #nav .oil-compact{grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:8px}.shop-workspace #nav .oil-compact-meter{grid-template-columns:1fr;gap:1px}.shop-workspace #nav .oil-compact-meter span{line-height:1.2}.shop-workspace #nav .oil-attention{font-size:8px}}

.preopen-prep-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0}.preopen-prep-actions button{min-height:46px;padding:10px;font-size:12px;line-height:1.5}@media(max-width:650px){.preopen-prep-actions{grid-template-columns:1fr;gap:7px}.preopen-prep-actions button{min-height:43px}}

.component-status button.side-removal-action{background:#f47621;color:#fff;border:1px solid #e76a18;font-size:13px;font-weight:800;min-height:44px;box-shadow:0 0 0 2px #f4762122}.component-status button.side-removal-action:hover{background:#df6516}.component-status button.side-removal-action:disabled{opacity:.65}

/* Each scroll gesture advances one complete order card. */
.shop-workspace .order-stack #panel>.card:has(.order-pager){height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.order-pager{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:0 0 auto;margin:0 0 7px}.order-pager button{padding:4px 9px;min-height:29px;font-size:11px}.order-pager span{font-size:11px;color:#5b7060;font-variant-numeric:tabular-nums}.shop-workspace .chronological-orders{flex:1 1 0;min-height:0;display:flex;flex-direction:column;gap:0;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:thin}.order-page{position:relative;flex:0 0 100%;height:100%;min-height:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden}.order-page>.full-order-card{position:absolute;top:0;left:0;width:100%;margin:0;transform-origin:top left;box-sizing:border-box}.order-page .order-receipt{margin:6px 0;padding:8px}.order-page .order-receipt>div{padding:3px 0}.order-page .order-menu-title{margin:5px 0;font-size:13px}.order-page .component-status button{min-height:33px;padding:6px}.order-page .component-status .side-removal-action{min-height:42px}.order-page .dispatch-options{padding-top:6px;margin-top:6px}.card:has(.order-pager)>.service-tools{padding-top:6px;margin-top:5px}.card:has(.order-pager)>.service-tools .actions button{padding:4px 7px;min-height:28px;font-size:10px}.card:has(.order-pager)>.live-message{margin:3px 0;font-size:10px;line-height:1.3}.card:has(.order-pager)>.order-sort-note{margin:4px 0}

.pos-quick>.top-operations{min-width:0;margin:0;border:0}.top-operations>b{display:block;font-size:11px;color:#465e50}.pos-quick .top-operations .actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:5px 0 0}.top-operations .actions button{min-width:0;min-height:30px;padding:4px;font-size:10px;white-space:nowrap}.top-operations .operations-notice{font-size:9px;line-height:1.3;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;letter-spacing:0;color:#98713c}@media(max-width:650px){.top-operations>b{font-size:9px}.top-operations .actions button{font-size:9px;min-height:28px;padding:3px}.top-operations .operations-notice{font-size:8px}}

/* Reserve height for the receipt and keep order text readable. */
.shop-workspace .order-stack #panel>.card:has(.order-pager){padding:7px!important}.shop-workspace #panel>.card:has(.order-pager)>h2{font-size:12px;margin:0 0 3px;line-height:1.3}.card:has(.order-pager) .order-filter-bar{gap:3px;margin:0 0 4px}.shop-workspace .card:has(.order-pager) .order-filter-bar button{min-height:25px;padding:3px 4px;font-size:10px}.card:has(.order-pager)>.order-sort-note{display:none}.card:has(.order-pager) .order-pager{margin:0 0 4px}.card:has(.order-pager) .order-pager button{min-height:23px;padding:2px 7px;font-size:10px}.order-page>.full-order-card{padding:10px;font-size:15px;line-height:1.45}.order-page .order-receipt{padding:8px;margin:6px 0}.order-page .order-receipt>div{font-size:15px;padding:3px 0}.order-page .order-receipt h4{font-size:13px;margin:0 0 4px}.order-page .order-receipt .receipt-total{font-size:17px}.order-page .order-receipt small{font-size:11px}.order-page .order-receipt p{display:none}.order-page .focused-heading button{font-size:14px}.order-page .order-menu-title{font-size:15px;margin:5px 0;line-height:1.4}.order-page .order-arrived{font-size:11px}.order-page .full-order-card>p{font-size:13px;margin:5px 0}.order-page .next-order-action{font-size:15px;min-height:42px}.order-page .component-status button{font-size:13px;min-height:36px}.order-page .component-status small{font-size:11px}.order-page .parallel-menu>b,.order-page .dispatch-options>b{font-size:12px}.order-page .dispatch-options small{font-size:11px}.order-page .dispatch-options button{font-size:12px;min-height:32px}.order-page .local-payment{padding:3px 0;margin:3px 0;font-size:12px}.order-page .local-payment small{font-size:11px}.order-page .order-progress-note{padding:8px;font-size:13px}.order-page{overscroll-behavior-y:auto}

.kitchen-timer-alert{position:absolute;right:12px;top:12px;z-index:9;display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fff4dcf5;border:2px solid #ef852a;border-radius:10px;box-shadow:0 3px 14px #8c5d2a33;max-width:calc(100% - 24px)}.kitchen-timer-icon{display:block;font-size:29px;animation:kitchen-timer-ring .35s ease-in-out infinite alternate;transform-origin:50% 70%}.kitchen-timer-alert b{display:block;font-size:12px;color:#a74b15}.kitchen-timer-alert button{display:block;min-height:28px;padding:4px 6px;margin-top:3px;font-size:12px;font-weight:700;color:#9a4719;background:#fff;border-color:#eed2a2}.kitchen-timer-alert small{font-size:10px;letter-spacing:0}@keyframes kitchen-timer-ring{from{transform:rotate(-12deg)}to{transform:rotate(12deg)}}@media(prefers-reduced-motion:reduce){.kitchen-timer-icon{animation:none}}@media(max-width:650px){.kitchen-timer-alert{right:6px;top:6px;padding:5px 7px;gap:5px}.kitchen-timer-icon{font-size:22px}.kitchen-timer-alert b{font-size:10px}.kitchen-timer-alert button{font-size:10px;min-height:26px}}

#saveSlotsDialog{width:min(650px,95vw);max-height:90dvh;overflow:auto}#saveSlotsDialog>p{font-size:12px;line-height:1.7}#saveSlotsStatus{padding:9px 10px;background:#edf2e5;border-radius:6px;font-size:12px;margin:12px 0}.save-slot{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #dbe2d3;border-radius:9px;padding:12px;margin:9px 0;background:#fffdf6}.save-slot h3{margin:0 0 5px;font-size:16px}.save-slot b{font-size:12px}.save-slot p{font-size:11px;line-height:1.6;margin:4px 0;color:#72816b}.save-slot .actions{flex:0 0 auto;display:flex;gap:6px}.save-slot button{font-size:12px;min-height:40px;padding:7px 10px}@media(max-width:500px){.save-slot{gap:8px;padding:10px}.save-slot .actions{flex-direction:column}.save-slot button{min-height:36px}}

.order-history-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 10px}.order-history-heading h3{margin:0;font-size:15px;white-space:nowrap}.order-history-heading>div>small{display:block;font-size:10px;letter-spacing:0;color:#7c8772;margin-top:4px}.day-order-channels{display:flex;flex:1;flex-wrap:wrap;gap:6px}.history-channel-chip{flex:1 0 115px;padding:7px 9px;border:1px solid #dfe4d7;border-radius:7px;background:#f2f4e9}.history-channel-chip span{display:block;font-size:11px;color:#687b61}.history-channel-chip b{display:block;font-size:12px;white-space:nowrap;margin-top:3px;font-variant-numeric:tabular-nums}.history-channel-chip small{display:block;font-size:9px;letter-spacing:0;color:#9a794f;margin-top:3px}.chronological-orders{scrollbar-gutter:stable;padding-right:3px}.order-page>.full-order-card{max-width:100%;min-width:0}.order-page .order-receipt{padding-right:14px;min-width:0;box-sizing:border-box}.order-page .order-receipt>div{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:8px;min-width:0}.order-page .order-receipt>div>span{min-width:0;overflow-wrap:anywhere}.order-page .order-receipt strong{white-space:nowrap;text-align:right}.order-page .order-receipt h4{max-width:100%}@media(max-width:650px){.order-history-heading{gap:8px}.history-channel-chip{flex-basis:calc(50% - 6px);min-width:0}}

.order-page{overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}.order-page>.full-order-card{width:100%;max-width:100%;box-sizing:border-box}.order-page .order-receipt{width:100%;max-width:100%}.order-page .order-receipt>div>b,.order-page .order-receipt>div>strong{min-width:0}

.closing-job-option{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;padding:10px;background:#eef2e5;border-radius:7px;line-height:1.6;font-weight:700}.closing-job-option input{flex:0 0 auto;width:18px;height:18px}#positionsDialog .position-levels{line-height:1.6}

.rank-demand-guide{margin:12px 0;padding:10px 12px;border:1px solid #dfe4d5;border-radius:8px;background:#f5f7ed}.rank-demand-guide summary{cursor:pointer;font-size:12px;font-weight:700}.rank-demand-guide table{width:100%;max-width:440px;border-collapse:collapse;font-size:12px;margin-top:10px}.rank-demand-guide th,.rank-demand-guide td{text-align:left;padding:5px 8px;border-bottom:1px solid #e0e5d7}.rank-demand-guide p{font-size:11px;line-height:1.6;color:#718068}

/* Three-year final accounting */
#ending{width:min(680px,94vw);max-height:90dvh;overflow-y:auto;padding:28px;box-sizing:border-box} .ending-hero{text-align:center}.ending-icon{display:block;font-size:40px}.ending-result{font-weight:700;color:#a65c22}.ending-hero h1{font-size:26px;line-height:1.4}.ending-hero p{line-height:1.8}.ending-final-assets{display:grid;text-align:center;gap:8px;padding:22px;background:#eef2e7;border-radius:12px;margin:20px 0}.ending-final-assets strong{font-size:32px}.ending-health{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ending-health>div{display:grid;gap:8px;padding:14px;background:#f4f3ec;border-radius:8px}.ending-condition,.ending-reason{font-size:13px;line-height:1.7}.ending-money-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e6e6dc}.ending-money-row b{white-space:nowrap}.ending-balance{margin:20px 0}.ending-balance summary{cursor:pointer;font-weight:bold}.ending-balance p{font-size:12px;line-height:1.6}.ending-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}#ending[data-result=win] .ending-result{color:#287549}#ending[data-result=loss] .ending-result{color:#a03c32}@media(max-width:480px){#ending{padding:18px}.ending-hero h1{font-size:22px}.ending-final-assets strong{font-size:27px}}

#staffRosterDialog{width:min(1180px,96vw);max-width:96vw;max-height:90dvh;box-sizing:border-box;overflow:auto;padding:24px}#staffRosterDialog h2{margin:0 0 6px}.roster-week-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.roster-week-nav>b{margin-right:auto}.roster-legend{font-size:13px;line-height:1.7;color:#667368}.roster-table-wrap{overflow:auto;border:1px solid #dce2d5;border-radius:10px;max-height:58dvh}.roster-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1000px;font-size:14px}.roster-table th,.roster-table td{padding:13px 10px;text-align:center;border-right:1px solid #e4e7dd;border-bottom:1px solid #e4e7dd;vertical-align:top}.roster-table thead th{position:sticky;top:0;background:#edf0e6;z-index:2}.roster-table th:first-child{position:sticky;left:0;min-width:175px;max-width:230px;text-align:left;background:#faf9f3;z-index:1}.roster-table thead th:first-child{z-index:3;background:#edf0e6}.roster-table small{display:block;font-size:12px;line-height:1.6;color:#718071;margin-top:4px}.roster-table td>b{white-space:nowrap}.roster-table .roster-today{background:#e9f3e4}.roster-table thead .roster-today{background:#cee2c7}.roster-off{color:#a0a79d}.roster-absent{color:#b15139}.roster-pending{color:#7b887b}.roster-state{display:inline-block;font-size:12px;padding:3px 7px;border-radius:5px;background:#eeeee5;margin-top:7px}.roster-state.is-working{color:#2b623e;background:#deedd7}.roster-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}.roster-footer small{color:#748071;font-size:12px}.roster-empty{text-align:center;padding:28px;color:#748071}@media(max-width:600px){#staffRosterDialog{padding:15px}.roster-week-nav>b{width:100%;order:-1}.roster-table th:first-child{min-width:140px;max-width:180px}.roster-table{font-size:13px}}

.roster-sort{display:flex;gap:4px;margin-top:7px}.roster-sort button{font-size:11px;padding:5px 7px;min-height:28px}.roster-cost-summary{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.roster-cost-summary>div{display:grid;gap:6px;padding:13px 17px;background:#f0f2e7;border:1px solid #dce2d5;border-radius:8px;flex:1;min-width:120px}.roster-cost-summary>div:first-child{background:#dfecd7}.roster-cost-summary small{font-size:12px;color:#63745c}.roster-cost-summary strong{font-size:23px;color:#315542}.roster-table tfoot th,.roster-table tfoot td{background:#f2eddf;border-top:2px solid #b4c1a6}.roster-table tfoot b{font-size:14px;white-space:nowrap}.roster-person-cost{color:#385a34!important}

.roster-page-tabs{display:flex;gap:8px;position:sticky;top:-24px;background:#fffaf0;padding:12px 0;z-index:5;margin-bottom:16px}.roster-page-tabs button{font-size:15px;padding:12px 18px}.roster-sort-label{font-weight:700;color:#53694c!important;margin-top:10px!important}.roster-sort button{border:1px solid #9cad8a;background:#f0f5e7;font-weight:700}#staffRosterDialog .job-config{max-width:960px;margin:auto}#staffRosterDialog .job-form{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}@media(max-width:600px){.roster-page-tabs{top:-15px}.roster-page-tabs button{font-size:13px;padding:10px}}

.roster-page-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-bottom:2px solid #d5decd}.roster-page-tabs button{font-size:16px;font-weight:800;min-height:54px;border:2px solid #bac9ad;background:#f1f5e9;color:#304e3b}.roster-page-tabs button.active{background:#304e3b;color:white;border-color:#304e3b}.roster-order-list{display:grid;gap:10px;margin:22px 0}.roster-order-row{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #d8e0ce;border-radius:10px;background:#f4f6ec}.roster-order-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#dce9d1;color:#31543c;font-weight:800;flex-shrink:0}.roster-order-row>div:nth-child(2){flex:1;min-width:0}.roster-order-row b{font-size:18px}.roster-order-row small{display:block;color:#74816e;margin-top:5px}.roster-order-buttons{display:flex;gap:8px;flex-shrink:0}.roster-order-buttons button{min-width:90px;min-height:46px;font-weight:700}.roster-order-buttons button:disabled{opacity:.3}@media(max-width:600px){.roster-page-tabs{gap:5px}.roster-page-tabs button{font-size:12px;padding:8px 3px;min-height:48px}.roster-order-row{gap:8px;padding:12px;flex-wrap:wrap}.roster-order-buttons{margin-left:auto}.roster-order-buttons button{min-width:76px}.roster-order-row small{font-size:11px}}

.purchase-error{padding:14px;border:2px solid #d87542;background:#fff0dc;color:#873e20;border-radius:8px;margin:16px 0;font-size:15px;line-height:1.7;font-weight:700}.purchase-error[hidden]{display:none}.purchase-confirm-actions{position:sticky;bottom:-20px;padding:12px 0;background:#fffaf0;border-top:1px solid #e4decc;z-index:2}.purchase-confirm-actions button{min-height:48px}

.demo-edition-badge{display:inline-block;background:#e9f1dd;color:#31543c;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:800;white-space:nowrap}#ending[data-result=demo] .ending-result{color:#3a7650}

#ending[data-result=demo] .ending-hero h1{font-size:34px;color:#31543c;margin:14px 0}.demo-finished-label{display:inline-block;border-radius:20px;padding:7px 14px;background:#e8efdf;font-size:13px}.demo-release-card{text-align:center;border:1px solid #cad7be;background:#f1f5e9;border-radius:12px;padding:22px 16px;margin:22px 0}.demo-release-card>b{font-size:18px;color:#31543c}.demo-release-card p{line-height:1.8;margin:12px 0}.demo-release-card>span{display:inline-block;padding:7px 13px;background:#fffaf0;border-radius:6px;font-weight:700}.demo-release-card small{display:block;color:#718067;margin-top:12px;font-size:12px}@media(max-width:480px){#ending[data-result=demo] .ending-hero h1{font-size:28px}.demo-release-card>b{font-size:16px}}

.job-time-controls.job-break-controls{grid-template-columns:66px minmax(0,1fr) 66px}.job-break-controls select{width:100%;min-width:0}@media(max-width:400px){.job-time-controls.job-break-controls{grid-template-columns:56px minmax(0,1fr) 56px}}

.menu-pricing{margin-top:22px}.menu-price-scroll{overflow-x:auto;border:1px solid #dce1d4;border-radius:8px}.menu-price-table{border-collapse:collapse;width:100%;min-width:630px;font-size:14px}.menu-price-table th,.menu-price-table td{padding:12px;text-align:right;border-bottom:1px solid #e2e5d9;white-space:nowrap}.menu-price-table th:first-child{text-align:left}.menu-price-table thead{background:#edf1e5}.menu-price-table td:last-child{font-size:12px;color:#6d7c65}.menu-pricing .controls{margin-bottom:12px}

.construction-progress{padding:18px;background:#fff9e9;border:1px solid #d9cbaa;border-radius:12px;margin-bottom:12px}.construction-progress>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.construction-progress strong{font-size:26px;color:#c47830}.construction-progress progress{width:100%;height:12px;margin:12px 0;accent-color:#dc9343}.construction-progress h3{margin:6px 0}.construction-progress p,.construction-progress small{font-size:12px;line-height:1.6;color:#7b8069}.construction-progress ol{display:flex;gap:5px;flex-wrap:wrap;padding:0;list-style:none}.construction-progress li{padding:6px 8px;border-radius:5px;background:#eeeee2;color:#9b9c8e;font-size:11px}.construction-progress li.done{background:#e4edd7;color:#526a42}.construction-progress li.current{background:#e7b65e;color:#4c421f;font-weight:700}

.business-config{margin:16px 0;padding:14px;border:1px solid #d5dfc9;border-radius:8px;background:#f5f7ed}.business-weekdays{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}.business-weekdays label{display:flex;align-items:center;gap:5px;min-width:45px;background:#fffaf0;padding:9px;border:1px solid #dce2d2;border-radius:6px}.business-weekdays input,.business-break-toggle input{width:auto;margin:0;accent-color:#365b43}.business-break-toggle{display:flex;align-items:center;gap:8px;font-weight:700;margin:10px 0}.store-break-notice{background:#efdcae;border:1px solid #d4b573;border-radius:6px;padding:8px 12px;font-size:12px;color:#66512b}

.applicant-experience{display:grid;gap:6px;margin:12px 0;padding:12px;border-radius:8px;background:#eef2e4}.applicant-experience>b{font-size:13px;margin-bottom:4px}.applicant-experience span{display:block;font-size:12px;color:#52694b;line-height:1.6}

#contractDialog{width:min(720px,95vw);max-height:90dvh;overflow:auto;box-sizing:border-box;padding:24px}#contractDialog .row{gap:18px;align-items:flex-start}#contractDialog .row>b{text-align:right;max-width:65%;line-height:1.6}.contract-clauses{margin:20px 0;background:#f1f4e8;padding:18px;border-radius:9px;border:1px solid #d5dfc7}.contract-clauses h3{font-size:16px;color:#36563d}.contract-clauses p{font-size:13px;line-height:1.8}.contract-ack{display:flex;align-items:flex-start;gap:10px;padding:15px;background:#fff1d9;border:1px solid #e5c595;border-radius:8px;font-weight:700;line-height:1.7}.contract-ack input{width:auto;margin-top:6px;flex-shrink:0}#contractStatus,#terminationStatus{color:#b3542f;font-size:13px;margin:10px 0}#contractDialog .actions{margin-top:16px}#terminationReason{display:block;width:100%;box-sizing:border-box;margin:8px 0;padding:12px}@media(max-width:480px){#contractDialog{padding:16px}.contract-clauses{padding:12px}}

#trainingDialog{width:min(960px,95vw);max-height:90dvh;box-sizing:border-box;overflow:auto;padding:24px}.training-heading p{font-size:13px;line-height:1.8;color:#64725e}.training-person{padding:16px 0;border-top:1px solid #d9dfd1}.training-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.training-grid article{padding:14px;border-radius:8px;border:1px solid #d8e0cc;display:grid;gap:10px}.training-grid .unlocked{background:#edf3e3}.training-grid .locked{background:#f8eee0;border-color:#dfc7a5}.training-grid small{color:#7c806c;font-size:12px}.training-open{color:#4a7243;font-weight:700;font-size:12px}.training-status{position:sticky;top:0;color:#9d5a2a;background:#fffaf0;font-weight:700;font-size:13px;padding:8px;z-index:4}.duty-unlocked{background:#e8f0de!important;color:#4e7144!important}.duty-locked{background:#eee8df!important;color:#9a8c77!important}.roster-page-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:600px){.roster-page-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}#trainingDialog{padding:16px}.training-grid{grid-template-columns:1fr}}

#staffCharacterDialog{width:min(900px,94vw)}.staff-character-card{padding:18px;margin:14px 0;border:1px solid #d9dfd2;border-radius:12px;background:#fffcf3}.staff-character-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.staff-character-metrics>div{display:grid;gap:8px;padding:14px;background:#eef2e5;border-radius:8px}.staff-character-metrics strong{font-size:17px}.staff-character-metrics meter{width:100%;height:18px}.staff-rewards{display:grid;gap:8px;margin:18px 0}.staff-rewards small{color:#6d786d}.roster-page-tabs{flex-wrap:wrap}

.lesson-progress{display:grid;gap:10px;margin:12px 0;padding:16px;background:#eef3e4;border-radius:10px}.lesson-progress progress{width:100%;height:22px;accent-color:#f47721}.lesson-progress small{color:#657260}

.roster-name{display:inline-block;padding:4px 0;border:0;background:transparent;text-align:left;font:inherit;font-weight:800;color:#253b30;cursor:pointer}.roster-name:hover{text-decoration:underline}.roster-name:focus-visible{outline:2px solid #f47721;outline-offset:3px}
