/* Business-sim stationery: enamel HUD, crew dossiers, supplier binder, shift ledger. */
@font-face{font-family:OfficeTitle;src:url('./assets/fonts/OfficeDisplay.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:OfficeBody;src:url('./assets/fonts/Nunito.ttf') format('truetype');font-weight:200 1000;font-display:swap}
:root{font-family:OfficeBody,Arial,sans-serif;--ink:#293b48;--panel:#344b5b;--line:#667a85;--muted:#b2c2c6;--cream:#f1eee2;--sage:#63a8ad;--amber:#edbb47;--coral:#cf7251;color:#f1eee2;background:#263846}
body,button,input,select{font-family:OfficeBody,Arial,sans-serif}button{border-radius:2px;background:#4c6476;border-color:#80939b;transition:background .12s,box-shadow .12s,filter .12s}button:hover:not(:disabled){background:#657e8d;box-shadow:inset 0 0 0 1px #e9be64}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #e9b944;outline-offset:3px}button:disabled:hover{background:#4c6476;box-shadow:none}
.game{grid-template-columns:minmax(380px,1fr) 310px;grid-template-rows:66px 1fr}.topbar{background:#2d414f;border-bottom:3px solid #d3aa56;padding:0 15px;gap:14px;position:relative;box-shadow:0 3px 0 #1f303a;z-index:5}.topbar::after{content:'';position:absolute;inset:5px 4px;pointer-events:none;border-left:3px dotted #9aa9a9;border-right:3px dotted #9aa9a9}
.brand{font-family:OfficeTitle,sans-serif;font-size:20px;font-weight:400;letter-spacing:.1px;gap:7px;color:#f3c553;flex-shrink:0}.brand small{font-family:OfficeBody,sans-serif;font-size:7px;letter-spacing:1.4px;color:#bfced0}.brand svg{width:28px}.day-label{font-size:10px;color:#f2c053;background:#213340;padding:8px;border:1px solid #738a95;border-top:3px solid #d7b164;letter-spacing:.3px}.topbar .home-link{display:none}
.inventory{gap:3px;margin-left:auto}.inventory-label{width:28px;font-size:7px;color:#b9c7c9;letter-spacing:.7px}.inventory-line .stock{border:1px solid #607684;border-radius:1px;background:#334757;min-width:43px;height:23px;padding:2px 4px;gap:3px;box-shadow:inset 0 1px #899ca55e}.inventory-line .stock svg{width:18px;height:18px}.inventory-line .stock strong{font-size:12px}.stock strong{display:inline-block}.wallet{color:#f3c553;gap:5px}.wallet strong{font-size:18px}.time-controls{gap:3px}.time-controls button{border-radius:50%;width:28px;min-width:28px;height:28px;padding:2px;background:#607484;border:2px solid #8b9ca5;font-size:10px}.time-controls .active{background:#ebbd55;color:#243946;border-color:#f1d58d}.utility-controls{gap:0}.utility-controls .icon-button{width:25px;color:#c6d5d8}.demo-button{background:#ad8b48;border-color:#d9bd7a;border-radius:1px;color:#f7edcc;font-size:10px;padding:6px 8px}
.play-area{background:#9aacb2}.phase-strip{background:#344b5b;color:#eaece6;border-bottom:2px solid #9daeb0;min-height:59px;padding:9px 15px;gap:12px}.phase-icon{background:#263b49;color:#edbb47;border-radius:1px;border:1px solid #758b95;width:34px;height:34px}.phase-info strong{font-family:OfficeTitle,sans-serif;font-size:15px;font-weight:400;letter-spacing:.4px}.phase-info>span{color:#bccfd0;font-size:10px;white-space:normal}.phase-meter{width:125px}.meter-label{font-size:12px}.phase-meter .progress-track{background:#213542;border-radius:0;height:5px}.phase-meter .progress-track>i{background:#edbb47}.phase-action{background:#e9b94c!important;border:1px solid #f5d588!important;border-bottom:3px solid #a3772c!important;border-radius:1px;color:#253b49!important;padding:9px 14px;font-size:12px;font-weight:700;box-shadow:0 2px 0 #1c303a}.phase-action:hover{background:#f4cf72!important}
.world-tools button{border-radius:1px;background:#344b5bd9;border:1px solid #9bb0b5;color:#ecede5}.scene-badge{background:#344b5bd9;border:1px solid #9bb0b5;color:#f2d482;font-size:9px;padding:6px 9px;border-radius:1px}.interaction-prompt{background:#2b4352ed!important;border:1px solid #d6b56b!important;border-radius:2px!important;color:#e5e8e2!important;box-shadow:0 3px 0 #293c4666!important;font-size:11px!important;max-width:90%}
.staff-bar{background:#2b3f4e;border-top:3px solid #788f9b;gap:9px;padding:10px 13px}.staff-card{background:#dbe5e5;color:#2d4654;border:2px solid #8499a3;border-radius:2px;padding:8px 10px;box-shadow:0 3px 0 #1d303c;position:relative;transition:transform .15s,background .15s,border-color .15s}.staff-card::after{content:'';position:absolute;width:6px;height:6px;right:6px;top:6px;background:#f2c254;border:1px solid #b38539;border-radius:50%}.staff-card:hover{background:#f1eddb;border-color:#e6b64c;transform:translateY(-3px)}.staff-card.selected{background:#fff0bc;border:2px solid #e8b342;box-shadow:0 3px 0 #1b2f3a;transform:translateY(-2px)}.staff-text strong{font-size:13px}.staff-track{height:4px;background:#aabec2;border-radius:0}.staff-track i{background:#467e90}.staff-key{color:#526d7d;font-size:9px}.avatar .body{border-color:#d6b491}.avatar.big{border-radius:2px;background:#9ab1b6;border:2px solid #6f8b98}.play-footer{background:#213642;color:#a5bdc5;font-size:10px}.keyboard-hint{color:#e4bc66}.play-footer #event-line{font-size:10px}
/* A single crew file replaces the blank dashboard panel. */
.inspector{background:#b39973;border:0;border-left:8px solid #776047;padding:33px 18px 18px;position:relative;color:#304955;box-shadow:inset 0 0 0 2px #cfbc96;overflow-y:auto}.inspector::before{content:'';position:absolute;left:10px;right:10px;top:23px;bottom:10px;background:#e5edeb;border-radius:4px;z-index:0;box-shadow:1px 2px 0 #76614b}.inspector>*{position:relative;z-index:1}.inspector-tab{position:absolute;left:18px;top:7px;background:#d7af58;padding:5px 12px;color:#314550;font-size:9px;font-weight:700;letter-spacing:1.5px;border-radius:3px 3px 0 0}.employee-header{padding:8px 0 12px;border-bottom:2px solid #8fa5ab;gap:10px}.employee-header h1{font-family:OfficeTitle,sans-serif;font-weight:400;font-size:29px;letter-spacing:.5px;color:#304955}.employee-id{font-size:28px;color:#a8bdc1}.eyebrow{font-size:9px;letter-spacing:1.1px;color:#617d89}.inspector .eyebrow{font-size:8px;color:#6c8590;letter-spacing:.5px}.employment{color:#617c88;border-bottom:1px solid #b7c8c9;padding:7px 0;margin-bottom:10px}.employment button{background:#c9d8da;border:1px solid #a1b5bd;color:#527280}.skills{gap:6px}.skill{background:#cddfe4;border:0;border-top:2px solid #edf4f2;border-bottom:2px solid #adbec4;border-radius:1px;color:#496773}.skill strong{font-family:OfficeTitle,sans-serif;font-weight:400;font-size:19px;color:#344e5e}
.panel-heading{border-bottom:2px solid #a6bbc1;padding-bottom:5px;margin-top:18px;gap:6px}.panel-heading h2{font-family:OfficeTitle,sans-serif;font-size:17px;font-weight:400;line-height:1;letter-spacing:.1px;color:#344e5e}.subtle{font-size:8px;color:#66818e}.panel-heading .icon-button{background:#47768c;color:#f2f0df;border-color:#7497a5}.station-actions{gap:5px;margin-top:10px}.station-actions button{border:1px solid #91aeb7;border-bottom:3px solid #6e8b99;background:#c2d8df;color:#324e60;border-radius:2px;min-height:50px;transition:transform .15s,background .15s}.station-actions button:hover{background:#f0cc6b;border-color:#bd9a44;transform:translateY(-2px)}.station-actions button span{font-size:9px;line-height:1.2;color:#355565;opacity:1}.station-actions button.active,.station-actions button.selected{background:#e8bd51;color:#2a4659;border-color:#ad8938}.dispatch-context{border:0;border-top:2px solid #b4c7c9;border-radius:0;background:#f5f4e9;padding:11px;margin-top:12px;box-shadow:0 2px 0 #bccac8}.dispatch-heading{color:#426477;font-weight:700;font-size:12px}.dispatch-heading button{background:#d8e3df;color:#607d88;border:0}.dispatch-context p{font-size:11px;line-height:1.45;color:#72868c}.dispatch-choice{background:#d2e2e5;color:#345568;border:1px solid #9fb7c0;border-bottom:3px solid #819daa;border-radius:2px}.dispatch-choice:hover{background:#f1cb68}.dispatch-empty{color:#9ab0b1}.worker-tools{margin-top:13px}.coffee-button{background:#d3dfd9;border:1px solid #a6bbb7;border-radius:2px;color:#8e733e}.current-task{color:#69838a}.current-task .progress-track{background:#b3c8ca}.current-task .progress-track i{background:#e1b450}.task-status{color:#527682;font-size:11px;font-weight:700}.inspector-note{font-size:10px;line-height:1.5;color:#7b9095;border-top:1px solid #bdcccb;padding-top:10px}
.rule-card{background:#f5f4e9!important;color:#426475!important;border:1px solid #b1c6cb!important;border-radius:2px;box-shadow:0 2px 0 #bdcccb}.rule-card select,.rule-card input{background:#d9e5e7!important;border:1px solid #9eb7c0!important;color:#32566c!important;border-radius:1px!important;font-size:10px}.rule-priority{color:#587a8a}.rule-status{color:#648b8d!important}.rule-tools button{color:#537583!important;background:#d2e0df!important;border:0!important}.rule-card.disabled{opacity:.58}.empty-rules{color:#76919b}
/* Cloth-covered binders and inserted forms echo the supplied financial screen. */
dialog:not(.title-screen){background:#a27f56;color:#2f4757;border:2px solid #725334;border-radius:13px;padding:22px;box-shadow:0 14px 40px #172c3d77;max-height:92dvh}dialog::backdrop{background:#172a3f9e;backdrop-filter:none}dialog:not(.title-screen)::after{content:'';position:absolute;inset:6px;border:1px dashed #c4a579;border-radius:8px;pointer-events:none}dialog h2{font-family:OfficeTitle,sans-serif;font-weight:400;font-size:27px;line-height:1.15;color:#2f4757;letter-spacing:.2px}dialog h3{font-size:12px;color:#426275}dialog p{font-size:12px;color:#637f8e;line-height:1.55}.dialog-close{z-index:9;border:1px solid #b2c4c9;border-radius:2px;background:#dbe5e5;color:#3d6073;right:12px;top:12px;width:25px;height:25px}.dialog-close:hover{background:#f5cd6c;color:#344b5b}
.primary{background:#51788f!important;color:#f2f0e5!important;border:0!important;border-bottom:3px solid #345367!important;border-radius:2px!important;box-shadow:none!important;padding:11px 14px;font-size:12px;font-weight:700}.primary:hover{background:#6b92a5!important}.quiet-button{background:#cedcdf!important;color:#4c6d80!important;border:1px solid #9db4bf!important;border-radius:2px!important}.quiet-button:hover{background:#ecd18c!important}.text-button{color:#7b4e3c}
.newspaper{background:#f0eee2!important;border:7px solid #a1845c!important;border-radius:5px!important;padding:29px 30px 24px!important;max-width:510px;box-shadow:-4px 5px 0 #d7c4a1,0 16px 35px #172c3d77!important}.newspaper::after{border:0!important}.paper-masthead{border-block:3px double #5c7785}.paper-masthead>span{font-family:OfficeTitle,sans-serif;font-size:22px;letter-spacing:0}.paper-masthead small{color:#8298a0}.paper-kicker{color:#a78a4f;font-size:9px;letter-spacing:1px;font-weight:700}.newspaper h2{font-size:26px;margin-top:16px}.news-illustration{background:#d4e2e4;color:#486e80;border:1px solid #adbec5;border-radius:0;height:75px}.news-illustration svg{max-height:49px}.news-forecast{color:#597a89;border-color:#b9c9c9}.paper-target{color:#5d7a89;background:#e0e8e5;border-color:#afc4c5;padding:12px}.paper-target strong{font-family:OfficeTitle,sans-serif;font-size:31px;color:#b18434}.paper-note{color:#80959a;font-size:10px}.newspaper .primary{background:#4f7b91!important}.newspaper .quiet-button{margin-top:8px}
.shop-dialog{width:min(1040px,96vw);max-width:1040px!important;padding:27px 22px 22px!important;overflow:auto}.shop-header{background:#eef0e7;padding:16px 20px 12px;border-radius:4px 4px 0 0;border-bottom:3px double #acbec5;align-items:center;margin:0}.shop-header h2{font-size:27px;margin:7px 0 0}.shop-header .eyebrow{font-size:9px;letter-spacing:1px}.shop-wallet{color:#967b3b;font-size:23px;margin:0 20px 0 10px}.shop-columns{background:#eef0e7;padding:0 16px 18px;gap:35px;position:relative;border-radius:0 0 4px 4px}.shop-columns::after{content:'';position:absolute;left:50%;top:30px;bottom:20px;width:20px;transform:translateX(-50%);background:repeating-linear-gradient(0deg,transparent 0 50px,#334c5d 50px 53px,#a3b3ba 53px 57px,#334c5d 57px 59px,transparent 59px 90px);pointer-events:none}.shop-columns>section{background:#eef0e7;padding-top:15px;min-width:0}.equipment-shop{border:0;padding-right:0}.shop-section-note{font-size:10px!important;color:#8097a0!important;line-height:1.4!important}.shop-items{gap:9px;max-height:49vh!important;padding-right:7px}.shop-item{background:#dce7eb;border:0;border-top:2px solid #fff;border-bottom:2px solid #bdced5;border-radius:1px;padding:12px;gap:9px;grid-template-columns:31px 1fr}.shop-item strong{color:#345568;font-size:12px}.shop-item p{color:#6d8793;font-size:10px;line-height:1.45;margin:5px 0 9px}.shop-item-icon{color:#638b9d}.shop-item-icon svg{width:28px;height:28px}.shop-item button{background:#66899d;color:#f2efe0;border:0;border-bottom:2px solid #44667c;font-size:11px;padding:6px 11px}.shop-item button:disabled{background:#beced3;color:#7a929c;border-color:#abbfc7}.shop-item strong small{color:#8b9fa7}
.ingredient-row{border-radius:1px;background:#e1e9e8;border-color:#c2d1d1;padding:10px 8px;position:relative}.ingredient-details strong{font-size:12px;color:#3a5c6c}.ingredient-details small{font-size:10px!important;color:#718c98!important;line-height:1.4}.ingredient-stepper button{border-radius:1px;border:0;border-bottom:2px solid #608196;background:#88a5b4;color:#f4f3e8}.ingredient-stepper input{background:#f4f4eb;color:#36596d;border-color:#b4c9cd;border-radius:1px;font-size:12px}.cart-ledger{background:#dae4e4;border-top:2px solid #acc0c7;color:#5b7989;padding:10px 12px;position:relative}.cart-grand-total{border-top:1px solid #a7bec5;color:#304f63;font-size:15px;font-weight:700}.ingredient-policy{background:#f7f5eb;color:#83959c;font-size:10px;padding:9px;line-height:1.45}.cart-message{color:#4f8b7d;font-size:11px;min-height:16px}.shop-delivery{background:#e6d8a4;color:#7b6a41;border-radius:1px}.purchase-stamp{position:absolute;left:15px;top:10px;z-index:4;border:3px double #428b76;color:#428b76;padding:7px;font-family:OfficeTitle,sans-serif;font-size:18px;transform:rotate(-9deg);background:#f0f3dfdd;pointer-events:none}.stock-pop{position:absolute;left:45%;top:12px;color:#2e876d;background:#f9f5d7;border:1px solid #90b4a1;padding:3px 7px;font-size:15px;font-weight:700;z-index:4;pointer-events:none}
/* A real two-page shift report. All figures come from the existing simulation. */
.shift-book{width:min(1000px,96vw);max-width:1000px;max-height:94dvh!important;padding:22px 20px 20px!important;overflow:auto}.book-spread{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);position:relative;align-items:stretch;gap:0}.book-page{background:#edf1eb;padding:26px 23px 20px;position:relative;border-radius:5px;color:#3b596b;box-shadow:1px 2px 0 #775a3d;transform-origin:left center}.service-page{margin-right:3px}.accounts-page{margin-left:3px;background:#e8eff0}.page-tab{position:absolute;top:-11px;left:17px;padding:5px 12px;background:#deb962;color:#4e5148;font-size:9px;letter-spacing:1px;font-weight:700;border-radius:3px 3px 0 0}.sheet-hole-row{height:9px;margin:-15px 0 17px;background:radial-gradient(circle at 5px 4px,#8d7351 3px,transparent 4px) 0 0/19px 9px}.book-binding{display:flex;flex-direction:column;justify-content:space-evenly;z-index:2;margin-inline:-8px}.book-binding i{height:11px;background:#acb9ba;border:3px solid #3c4d56;border-radius:2px;box-shadow:0 2px 0 #6c5c48;transform:rotate(-3deg)}
.shift-book h2{font-size:25px;margin:12px 0 10px}.result-emblem{width:35px;height:35px;margin-top:15px;border-radius:1px;background:#cee3df;color:#487e77;border-bottom:3px solid #8eb5ac}.result-emblem.failed{background:#ead6c8;color:#aa6c50}.result-stats{margin:15px 0;padding:13px 0;border-block:1px solid #b7cbd1;gap:8px}.result-stats>div{gap:3px 5px}.result-stats svg{color:#7797a5;width:17px}.result-stats strong{color:#36566a;font-family:OfficeTitle,sans-serif;font-weight:400;font-size:24px}.result-stats small{color:#7f99a5;font-size:10px}.result-leftovers{padding:10px 0;border:0;background:transparent;font-size:11px;color:#6d8794}.result-leftovers>strong{font-size:9px;letter-spacing:1px;display:block;margin-bottom:10px}.result-leftovers>div{border-bottom:1px solid #cad7d6;padding:7px 0}.result-leftovers p{font-size:9px!important;color:#8b9da3}.shift-book .help-small{font-size:10px;line-height:1.6;margin-top:10px}.ledger-heading{text-align:center;font-size:13px;color:#3c596b;font-weight:700;border-bottom:3px double #a9bfc7;padding:5px 0 14px}.ledger-heading small{display:block;font-size:8px;font-weight:400;color:#8fa5ae;letter-spacing:1.4px;margin-top:6px}.result-ledger{padding:11px 0;display:flex;flex-direction:column;gap:7px;margin:0}.result-ledger>div{background:#d8e5e9;border-top:2px solid #f8fbf6;padding:8px 10px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#607e8e}.result-ledger strong{font-size:16px;letter-spacing:.7px;color:#3b5566}.result-ledger .sales-row{background:#cbdde4}.result-ledger .investment-row{background:#e2e7df;margin-top:4px;border-top:1px solid #b8c6bd}.investment-row small{display:block;font-size:8px;margin-top:4px;color:#94a39d}.investment-row strong{font-size:13px}.profit-slip{margin-top:8px;background:#d3e4d6;border:1px solid #a6c3ae;padding:11px 12px}.profit-slip>span{font-size:9px;letter-spacing:1px;color:#5d826a;font-weight:700}.result-target{display:block;color:#4c7b61}.result-target strong{font-family:OfficeTitle,sans-serif;font-size:35px;font-weight:400;color:#36835e;display:block;line-height:1.2;margin-top:3px}.result-target>span{font-size:9px;display:block;color:#729180;margin-top:3px}.result-track{height:5px;margin-top:8px;background:#a9cbb0}.result-track i{background:#50a170}.result-stamp{font-family:OfficeTitle,sans-serif;color:#479270;border:3px double #479270;font-size:20px;padding:7px 10px;transform:rotate(-10deg);text-align:center;width:max-content;max-width:90%;margin:16px auto 20px}.result-stamp.failed{color:#b47b57;border-color:#b47b57}.book-actions{display:flex;flex-direction:column;gap:7px}.book-actions button{width:100%;margin:0}
/* Smaller tool dialogs use the same filed-paper language. */
.audio-dialog,.demo-dialog,#help-dialog,#prep-warning-dialog,#confirm-dialog{background:#e8eeea!important;border:10px solid #9e8059!important;border-radius:7px!important;padding:25px!important}.audio-mute,.audio-slider{color:#557b8c}.audio-slider input,.audio-mute input{accent-color:#5b8c9f}.demo-chapters button{background:#d3e1e3;color:#476c7d;border-color:#9ab6bf;border-bottom:3px solid #8fa7b4;border-radius:2px}.demo-chapters button.current{background:#ead392;border-color:#c5aa5b}.demo-cash-form input{background:#f5f3e6;color:#3e6175;border-color:#b3c6ca}.help-steps p{font-size:11px;color:#688593}.help-steps b{color:#3a6279}.help-tip{background:#d4e2e4;color:#5b7a8a;border-color:#b2c5cc}.help-small{color:#7e959f}.toast{background:#314e62;color:#f2efe3;border:1px solid #d6b661;border-left:5px solid #e3b74d;border-radius:2px;box-shadow:0 4px 0 #1e334155;font-size:12px}
.task-receipt{position:fixed;bottom:104px;left:25px;z-index:8;width:205px;background:#f3edda;color:#426377;padding:14px 16px 12px;border-top:5px solid #d6b15d;box-shadow:2px 4px 0 #20394644;transform:rotate(-1deg);pointer-events:none}.task-receipt::after{content:'';position:absolute;bottom:-5px;height:6px;left:0;right:0;background:linear-gradient(135deg,#f3edda 25%,transparent 25%) 0 0/10px 10px,linear-gradient(225deg,#f3edda 25%,transparent 25%) 0 0/10px 10px}.receipt-number{display:block;font-size:8px;letter-spacing:1px;color:#9a9e8f;border-bottom:1px dashed #bac2b4;padding-bottom:6px;margin-bottom:6px}.task-receipt strong{display:block;font-family:OfficeTitle,sans-serif;font-size:18px;font-weight:400}.receipt-action{font-size:11px;display:block;margin-top:4px}.receipt-check{font-size:10px;font-weight:700;color:#62957f;display:block;text-align:right;margin-top:10px;letter-spacing:1px}
/* Title reference: actual cutaway room + a yellow wordmark, no explanatory card. */
.title-screen{width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;overflow:hidden;background:#123c55;color:#f5c343;box-shadow:none}#title-world{position:absolute;left:-3%;right:33%;top:4%;bottom:5%;pointer-events:none}.title-sheet{position:absolute;left:57%;right:5%;top:50%;transform:translateY(-50%);background:none;border:0;box-shadow:none;padding:0}.title-kicker{font-family:OfficeBody,sans-serif;display:block;font-size:10px;letter-spacing:2px;color:#e5b850;margin-bottom:12px}.title-sheet h1{font-family:OfficeTitle,sans-serif;font-weight:400;font-size:clamp(52px,7.3vw,118px);color:#efbc31;line-height:.95;letter-spacing:-.5px;margin:0;text-shadow:2px 3px 0 #966d25,4px 6px 0 #092c43}.title-underline{height:3px;background:#efbc31;transform:rotate(-2deg);margin:15px 0 12px;width:95%}.title-tagline{font-size:clamp(9px,1vw,14px)!important;color:#f0bf43!important;font-weight:700;letter-spacing:.8px;margin:0 0 32px!important}.title-sheet button{display:flex;align-items:center;justify-content:space-between;gap:40px;background:#e5b23e;color:#173c52;border:1px solid #f5cf6a;border-bottom:3px solid #99702a;box-shadow:0 3px 0 #0b2d41;padding:12px 16px;font-size:12px;font-weight:700;letter-spacing:1px;width:min(100%,260px)}.title-sheet button:hover{background:#f2cc70;color:#173c52}.title-caption{position:absolute;bottom:23px;left:4%;right:4%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.6px;color:#9ab6c4}
@media(min-width:1450px){.game{grid-template-columns:minmax(600px,1fr) 335px}.topbar{gap:20px}.brand{font-size:24px}.inventory-line .stock{min-width:52px}}
@media(max-width:1120px){.game{grid-template-columns:minmax(360px,1fr) 290px}.topbar{gap:9px;padding-inline:10px}.brand{font-size:17px}.brand small{font-size:6px}.brand svg{width:23px}.inventory-line .stock{min-width:34px;padding:2px;gap:2px}.inventory-line .stock svg{width:15px}.inventory-label{font-size:6px;width:24px}.wallet strong{font-size:14px}.wallet svg{width:20px}.time-controls button{width:25px;min-width:25px;height:25px}.utility-controls .icon-button{width:22px}.day-label{font-size:8px;padding:5px}.inspector{padding-inline:15px;border-left-width:6px}.phase-meter{width:110px}.phase-info strong{font-size:14px}.phase-action{font-size:11px;padding:8px 10px}.book-page{padding:24px 17px 18px}.shop-columns{gap:30px;padding-inline:12px}.title-kicker{font-size:8px}.title-tagline{letter-spacing:.2px}}
@media(max-width:850px){.game{grid-template-columns:minmax(340px,1fr) 265px}.brand>span:first-child{display:none}.brand small{display:none}.topbar{flex-wrap:wrap;gap:6px}.inventory{margin-left:auto}.phase-strip{padding:9px;gap:7px}.phase-meter{width:90px}.phase-info>span{max-width:140px}.staff-card{padding:6px;gap:5px}.staff-key{display:none}.staff-text strong{font-size:12px}.employee-header h1{font-size:25px}.book-page{padding-inline:14px}.shift-book h2{font-size:22px}.result-stats strong{font-size:21px}.shop-header h2{font-size:24px}}
@media(max-width:650px){.game{display:flex;flex-direction:column;height:auto;min-width:0;overflow:visible}.topbar{min-height:100px;padding:10px}.play-area{min-height:620px}.world-shell{min-height:420px}.inspector{border-left:0;border-top:8px solid #776047;padding:38px 22px 22px;overflow:visible}.inspector::before{top:27px}.phase-info{flex:1}.phase-info>span{max-width:none}.phase-strip{flex-wrap:wrap}.staff-card .avatar{width:28px}.staff-card{padding:5px;gap:3px}.staff-text strong{font-size:11px}.staff-key{display:none}.shop-columns{display:flex;flex-direction:column-reverse;padding-inline:12px;gap:20px}.shop-columns::after{display:none}.equipment-shop{border-top:2px solid #aec1c8}.shop-dialog{padding:18px 12px 12px!important}.shop-header{padding:14px 12px}.shop-header h2{font-size:23px}.shop-wallet{font-size:18px;margin-right:0}.book-spread{display:flex;flex-direction:column;gap:20px}.book-binding{display:none}.book-page{margin:0;padding:25px 20px 20px}.shift-book{padding:24px 14px 14px!important}.result-stats strong{font-size:25px}.title-sheet{top:auto;bottom:12%;left:9%;right:9%;transform:none;text-align:center}.title-sheet h1{font-size:clamp(56px,17vw,92px)}.title-sheet h1 br{display:none}.title-underline{margin:12px auto}.title-kicker{font-size:8px}.title-tagline{font-size:10px!important;margin-bottom:20px!important}.title-sheet button{margin:auto}.title-caption{font-size:7px}.title-caption span{display:none}#title-world{left:-12%;right:-12%;top:-8%;bottom:34%}.task-receipt{left:12px;bottom:98px;width:175px}.newspaper{padding:25px 20px 20px!important}.newspaper h2{font-size:24px}}
.profit-slip.negative{background:#ead9cd;border-color:#c6a28d}.profit-slip.negative>span,.profit-slip.negative .result-target strong{color:#a2674f}.profit-slip.negative .result-target>span{color:#a28576}.profit-slip.negative .result-track{background:#cdb1a0}.profit-slip.negative .result-track i{background:#a97459}
@media(prefers-reduced-motion:reduce){button,.staff-card{transition:none!important}.staff-card:hover,.staff-card.selected{transform:none}.title-sheet{scroll-behavior:auto}}

/* A quantity choice is a finite job, not an auto-repeat switch. */
.batch-picker{display:flex;align-items:center;gap:6px;flex:0 0 100%;margin-bottom:3px;color:#426477;font-size:11px}
.batch-picker>span{margin-right:auto}
.batch-picker button{min-width:32px;min-height:30px;padding:4px 8px;border:1px solid #9fb7c0;border-radius:2px;background:#d2e2e5;color:#345568;font:inherit}
.batch-picker button[aria-pressed=true]{background:#e8bd51;border-color:#ad8938;color:#2a4659}
.dispatch-choice>small{font-size:10px;opacity:.8}
