:root{--bg:#eff8ff;--surface:#fff;--surface-blue:#f4faff;--line:#e0edf7;--text:#18334c;--muted:#8298ad;--blue:#4da7e8;--blue-dark:#298aca;--blue-pale:#e6f4ff;--green:#45b88c;--red:#dd6a72;--radius:18px;--shadow:0 8px 24px rgba(55,113,158,.065);--gap:20px;--pad:22px;font-family:'DM Sans','Manrope',system-ui,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(145deg,#f1f9ff 0%,#e8f5ff 56%,#f6fbff 100%);font-size:14px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}h1,h2,p{margin-top:0}h1,h2,strong{letter-spacing:-.025em}.eyebrow{font-size:10px;line-height:1.4;letter-spacing:.13em;font-weight:800;color:#81a4c1;margin:0 0 7px}.muted{color:var(--muted);font-size:13px;line-height:1.65}.brand-mark{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#dff1ff;font-size:26px;box-shadow:inset 0 0 0 1px #d2eaff}.brand-mark.small{width:41px;height:41px;flex:0 0 41px;border-radius:13px;font-size:20px}.primary-button,.secondary-button{height:48px;border:0;border-radius:12px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;font-weight:700;transition:transform .15s,box-shadow .15s}.primary-button{background:linear-gradient(110deg,#55afea,#398fd2);color:#fff;box-shadow:0 7px 15px #4da7e83c}.primary-button:hover,.secondary-button:hover{transform:translateY(-1px)}.primary-button span,.secondary-button span{font-size:19px}.secondary-button{background:#e9f5ff;color:#318dc9;border:1px solid #dceefa}.notice{border-radius:12px;padding:12px 15px;margin:0 0 18px;font-size:13px;line-height:1.55}.notice.success{background:#e7f8f0;color:#267b5d;border:1px solid #c9eedc}.notice.error{background:#fff0f1;color:#a5424a;border:1px solid #f6d5d7}.notice.report{background:#edf7ff;color:#396b8f;border:1px solid #d7eafa;overflow-wrap:anywhere}
/* Sign-in and installer use the same field rhythm and rounded surfaces. */
.auth-shell{width:min(1040px,calc(100% - 40px));min-height:100vh;margin:auto;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:clamp(30px,7vw,90px);padding:50px 0}.auth-intro{padding:20px 0}.auth-intro .brand-mark{margin-bottom:34px}.auth-intro h1{font-size:clamp(34px,5vw,54px);line-height:1.12;margin:0 0 18px;font-weight:800}.auth-intro h1 span{color:#399bdc}.lead{max-width:430px;color:#66849d;font-size:16px;line-height:1.75}.intro-stats{display:flex;gap:32px;margin-top:47px}.intro-stats div{display:grid;gap:3px}.intro-stats strong{font-size:22px;color:#398fc9}.intro-stats span{font-size:11px;color:#8aa2b6}.auth-card,.install-card{background:var(--surface);padding:32px;border-radius:22px;border:1px solid #e6f0f8;box-shadow:0 18px 50px #3978a311}.auth-card h2,.install-card h1{font-size:25px;margin:0 0 7px}.auth-card>.muted,.install-card>.muted{margin-bottom:22px}.auth-form,.install-form{display:grid;gap:14px}.auth-form label,.install-form label{display:grid;gap:7px;color:#52728c;font-size:12px;font-weight:700}.auth-form input,.auth-form select,.install-form input{height:44px;width:100%;border:1px solid #deebf4;border-radius:10px;padding:0 12px;background:#fbfdff;color:var(--text);outline:none}.auth-form input:focus,.auth-form select:focus,.install-form input:focus,.price-form input:focus{border-color:#82c5f0;box-shadow:0 0 0 3px #dff2ff}.auth-form input::placeholder{color:#a8b9c7;font-weight:400}.field-hint{font-size:9px;color:#8ba2b5;font-weight:400;line-height:1.5}.auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#a7b8c7;font-size:9px;font-weight:800;letter-spacing:.11em}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#e8f0f6;flex:1}.register-form{gap:11px}.install-page{display:grid;place-items:center;padding:22px}.install-card{width:min(470px,100%)}.install-card .brand-mark{margin-bottom:18px}.install-form{margin-top:20px}.form-row{display:grid;grid-template-columns:.7fr 1.3fr;gap:12px}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid #e6f0f8;padding:26px 19px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);font-size:15px;line-height:1.15}.brand b{font-weight:800}.brand small{display:block;color:#9ab0c1;font-size:8px;letter-spacing:.13em;font-weight:800;margin-top:5px}.side-label{margin:46px 0 11px 9px;color:#a3b5c4;font-size:9px;font-weight:800;letter-spacing:.13em}.side-active{display:flex;align-items:center;gap:11px;background:#eaf6ff;color:#318dca;padding:12px;border-radius:10px;font-size:12px;font-weight:700}.side-active>span{font-size:16px}.side-active b{margin-left:auto;font-size:9px;color:#4fba92}.side-tip{margin-top:27px;padding:15px;background:#f4faff;border:1px solid #e7f2fa;border-radius:13px}.tip-icon{display:block;color:#edbe59;font-size:17px;margin-bottom:9px}.side-tip strong{font-size:12px}.side-tip p{font-size:11px;color:#849bae;line-height:1.7;margin:7px 0 0}.sidebar-bottom{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:16px;border-top:1px solid #edf3f8}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e5f3fd;color:#398fc9;font-weight:800}.user-meta{display:grid;gap:2px;min-width:0}.user-meta strong{font-size:11px;max-width:115px;overflow:hidden;text-overflow:ellipsis}.user-meta span{color:#98aaba;font-size:9px}.sidebar-bottom form{margin-left:auto}.icon-button{border:0;background:transparent;color:#91a9bb;font-size:19px;padding:6px}.main-content{max-width:1440px;margin-left:238px;padding:32px clamp(22px,4vw,56px) 18px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.topbar h1{font-size:25px;margin:0;line-height:1.3}.topbar-right{display:flex;align-items:center;gap:10px}.status-pill,.day-pill,.soft-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #e2edf5;border-radius:20px;background:#fff;color:#68859b;font-size:10px;font-weight:700;white-space:nowrap}.status-pill i{width:6px;height:6px;border-radius:50%;background:#4ebe94;box-shadow:0 0 0 3px #e2f7ed}.day-pill{background:#e4f3ff;color:#318dca;border-color:#d4ebfc}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:var(--gap)}.stat-card{min-height:112px;background:#fff;border:1px solid #e7f0f7;border-radius:15px;box-shadow:var(--shadow);padding:17px;display:flex;align-items:center;gap:12px;position:relative;min-width:0}.stat-icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;flex:0 0 37px;font-size:18px;font-weight:700}.stat-icon.blue{background:#e4f4ff;color:#4a9ed6}.stat-icon.violet{background:#f0eaff;color:#8b72cf}.stat-icon.yellow{background:#fff4d9;color:#dcae40}.stat-icon.mint{background:#e1f7ef;color:#44ad88}.stat-copy{display:grid;gap:3px;min-width:0}.stat-copy>span{font-size:8px;letter-spacing:.08em;font-weight:800;color:#95aabb;white-space:nowrap}.stat-copy strong{font-size:20px;line-height:1.25;white-space:nowrap}.stat-copy strong em{font-style:normal;font-weight:500;color:#9eb0bf;font-size:11px}.stat-copy small{font-size:9px;color:#9aabba;white-space:nowrap}.trend{margin-left:auto;align-self:flex-start;color:#53b58f;font-size:15px}.mini-meter{position:absolute;left:66px;right:17px;bottom:13px;height:3px;background:#f3f0e5;border-radius:4px;overflow:hidden}.mini-meter i{display:block;height:100%;background:#edc556;border-radius:4px}.content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.85fr);gap:var(--gap);align-items:start}.right-column{display:grid;gap:var(--gap)}.panel{min-width:0;background:#fff;border:1px solid #e7f0f7;border-radius:var(--radius);box-shadow:var(--shadow);padding:var(--pad)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.panel-heading h2{font-size:17px;margin:0}.panel-heading.compact{margin-bottom:12px}.soft-badge{font-size:9px;padding:6px 9px;background:#f4faff;border-color:#ebf4fb;color:#84a2b9}.product-row{display:grid;grid-template-columns:38px minmax(100px,1fr) auto;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #eff4f8}.product-emoji{width:37px;height:37px;display:grid;place-items:center;background:#f3f9fd;border-radius:11px;font-size:19px}.product-main{min-width:0}.product-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.product-title strong{font-size:11px}.stock-count{font-size:9px;color:#67a98d;white-space:nowrap}.stock-count.low-stock{color:#dc8b4a}.stock-track{height:4px;background:#edf4f8;border-radius:5px;overflow:hidden}.stock-track i{height:100%;display:block;background:linear-gradient(90deg,#72c8a7,#a4dfc5);border-radius:5px}.product-meta{font-size:9px;color:#9aabba;margin-top:6px}.product-meta span{padding:0 3px;color:#c1ccd5}.product-actions{display:flex;align-items:center;gap:7px}.inline-form{margin:0}.buy-button{height:30px;padding:0 9px;background:#eaf6ff;border:1px solid #d9edfc;border-radius:8px;color:#318dca;font-size:10px;font-weight:800}.price-form{display:flex;gap:3px}.price-form input{width:57px;height:30px;text-align:right;border:1px solid #e5edf4;border-radius:7px;padding:0 5px;color:#476981;font-size:10px;outline:none}.save-price{width:27px;height:30px;border:0;border-radius:7px;background:#edf8f3;color:#50aa86;font-weight:800}.sparkle{color:#eabd52}.management-list{display:grid}.management-row{display:flex;align-items:center;gap:9px;padding:11px 0;border-top:1px solid #eff4f8}.manage-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-size:15px;flex:0 0 31px}.staff-icon{background:#eef3ff;color:#758bdb}.ad-icon{background:#fff2e5;color:#dd9b54}.store-icon{background:#e8f7f0;color:#5bae88}.manage-copy{display:grid;gap:2px;min-width:0;margin-right:auto}.manage-copy strong{font-size:10px}.manage-copy small{font-size:8px;color:#9aabba;white-space:nowrap}.mini-action{height:25px;min-width:25px;padding:0 7px;border:1px solid #dceefb;border-radius:7px;background:#eff8ff;color:#3996d3;font-size:15px;line-height:1}.muted-action{background:#f7f9fb;border-color:#edf1f4;color:#9cabb7}.text-action{border:0;background:transparent;color:#398fc9;font-size:9px;font-weight:800;white-space:nowrap;padding:5px 0}.next-day-box{margin-top:12px;border-radius:13px;padding:15px;background:#eef8ff;border:1px solid #e1f1fb}.next-day-box>div{display:flex;align-items:center;gap:8px}.sun-icon{color:#e8b943;font-size:17px}.next-day-box strong{font-size:11px}.next-day-box p{font-size:9px;color:#819caf;line-height:1.55;margin:7px 0 12px}.full-button{width:100%;height:39px;border-radius:9px;font-size:10px}.trend-label{color:#55ac87;font-size:9px;font-weight:800}.history-list{display:grid;gap:8px}.history-row{display:grid;grid-template-columns:50px 1fr 66px;align-items:center;gap:8px;font-size:9px;color:#91a6b7}.history-row strong{text-align:right;color:#54a985;font-size:9px}.history-row strong:not(:empty){white-space:nowrap}.history-bar{display:block;width:100%;height:4px;background:#e9f6f0;border-radius:5px;overflow:hidden}.history-bar b{display:block;height:100%;background:#68c59e;border-radius:5px}.empty-history{font-size:10px;line-height:1.7;color:#94aaba;margin:4px 0 0}.footer-note{padding:19px 0 0;color:#9bb0c1;font-size:10px;text-align:center}.footer-note span{margin-right:5px}
@media(max-width:1100px){.sidebar{width:205px}.main-content{margin-left:205px;padding-left:24px;padding-right:24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr)}.stat-card{min-height:100px}}
@media(max-width:820px){.sidebar{position:static;width:auto;height:auto;padding:13px 18px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid #e6f0f8}.brand{margin-right:auto}.side-label,.side-active,.side-tip{display:none}.sidebar-bottom{margin:0;padding:0;border:0}.user-meta{display:none}.main-content{margin:0;padding:22px 18px}.topbar{align-items:flex-start}.topbar h1{font-size:21px}.content-grid{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr;align-items:start}.auth-shell{grid-template-columns:1fr;max-width:520px;gap:18px;padding:30px 0}.auth-intro{padding:0}.auth-intro .brand-mark{margin-bottom:19px}.auth-intro h1{font-size:38px}.auth-intro .lead{font-size:14px}.intro-stats{margin-top:20px}.auth-card{padding:25px}}
@media(max-width:560px){:root{--gap:14px;--pad:16px}.sidebar{padding:11px 14px}.brand{font-size:13px}.main-content{padding:18px 13px}.topbar{display:grid;gap:12px;margin-bottom:17px}.topbar h1{font-size:19px}.topbar-right{justify-content:space-between}.stats-grid{gap:9px;margin-bottom:14px}.stat-card{padding:12px 10px;gap:8px;min-height:88px;border-radius:13px}.stat-icon{width:31px;height:31px;flex-basis:31px;border-radius:10px;font-size:15px}.stat-copy>span{font-size:7px;white-space:normal;line-height:1.25}.stat-copy strong{font-size:17px}.stat-copy small{font-size:8px;white-space:normal}.mini-meter{left:49px;right:11px;bottom:10px}.panel{border-radius:15px}.panel-heading h2{font-size:15px}.soft-badge{font-size:8px;white-space:normal;text-align:center}.product-row{grid-template-columns:32px minmax(0,1fr);gap:9px;padding:12px 0}.product-emoji{width:32px;height:32px;font-size:16px}.product-title strong{font-size:10px}.product-meta{font-size:8px}.product-actions{grid-column:2;justify-content:flex-end;margin-top:-3px}.right-column{grid-template-columns:1fr}.management-row{gap:8px}.history-row{grid-template-columns:48px 1fr 70px}.auth-shell{width:calc(100% - 28px);padding:20px 0}.auth-intro h1{font-size:32px}.auth-intro .lead{font-size:13px}.intro-stats{gap:20px}.intro-stats strong{font-size:19px}.auth-card{padding:21px}.install-page{padding:14px}.install-card{padding:23px}}

/* Phone-only edition: the app stays in a narrow handset layout on every screen. */
.app-shell{width:min(100%,480px);min-height:100vh;margin:0 auto;background:#f7fbff;box-shadow:0 0 55px rgba(55,113,158,.1)}
.sidebar{position:sticky;inset:0 0 auto;width:100%;height:62px;padding:9px 13px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid #e6f0f8;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}
.brand{margin-right:auto;font-size:13px;gap:8px}.brand-mark.small{width:37px;height:37px;flex-basis:37px}.brand small{font-size:7px}
.side-label,.side-active,.side-tip{display:none}.sidebar-bottom{margin:0;padding:0;border:0;gap:7px}.user-meta{display:none}.avatar{width:31px;height:31px}.sidebar-bottom form{margin-left:0}.icon-button{padding:4px 5px}
.main-content{width:100%;max-width:none;margin:0;padding:17px 14px 22px}.topbar{display:grid;gap:11px;align-items:start;margin-bottom:16px}.topbar h1{font-size:19px;line-height:1.35}.topbar-right{width:100%;justify-content:space-between}.status-pill,.day-pill{padding:7px 10px;font-size:10px}
.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}.stat-card{min-height:91px;padding:11px 9px;gap:7px;border-radius:13px}.stat-icon{width:31px;height:31px;flex-basis:31px;border-radius:10px;font-size:15px}.stat-copy{gap:3px}.stat-copy>span{font-size:7px;white-space:normal;line-height:1.25}.stat-copy strong{font-size:16px;white-space:normal;overflow-wrap:anywhere}.stat-copy strong em{font-size:10px}.stat-copy small{font-size:8px;white-space:normal;line-height:1.3}.trend{font-size:12px}.mini-meter{left:48px;right:9px;bottom:8px}
.content-grid,.right-column{grid-template-columns:minmax(0,1fr);gap:13px}.panel{padding:15px;border-radius:15px}.panel-heading{gap:7px;margin-bottom:10px}.panel-heading h2{font-size:15px}.eyebrow{font-size:9px}.soft-badge{max-width:135px;white-space:normal;text-align:center;font-size:8px;padding:5px 7px}
.product-row{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:12px 0}.product-emoji{width:32px;height:32px;font-size:16px}.product-title{gap:5px}.product-title strong{font-size:10px}.stock-count{font-size:9px}.product-meta{font-size:8px;line-height:1.45}.product-actions{grid-column:2;justify-content:flex-start;gap:7px;margin-top:1px}.buy-button{height:32px;min-width:54px}.price-form input{height:32px;width:65px}.save-price{height:32px;width:32px}
.management-row{gap:8px;padding:10px 0}.manage-copy strong{font-size:10px}.manage-copy small{font-size:8px;white-space:normal;line-height:1.35}.manage-icon{width:30px;height:30px;flex-basis:30px}.mini-action{height:29px;min-width:29px}.text-action{font-size:9px}.next-day-box{padding:13px;margin-top:11px}.next-day-box p{font-size:9px}.full-button{height:42px;font-size:10px}.history-list{gap:10px}.history-row{grid-template-columns:48px minmax(75px,1fr) minmax(72px,1fr);gap:6px}.history-row strong{font-size:8px}.footer-note{padding:16px 5px 0;font-size:9px}
.auth-shell{display:grid;width:min(100%,480px);min-height:100svh;grid-template-columns:1fr;align-content:start;gap:14px;padding:22px 15px;background:#f7fbff}.auth-intro{padding:0}.auth-intro .brand-mark{width:45px;height:45px;margin-bottom:15px}.auth-intro h1{font-size:31px;line-height:1.12;margin-bottom:10px}.lead{font-size:13px;line-height:1.55;margin-bottom:0}.intro-stats{gap:19px;margin-top:15px}.intro-stats strong{font-size:18px}.intro-stats span{font-size:9px}.auth-card{padding:20px;border-radius:18px}.auth-card h2{font-size:21px}.auth-card>.muted{font-size:12px;margin-bottom:16px}.auth-form{gap:12px}.auth-form input,.auth-form select{height:46px}.primary-button,.secondary-button{height:46px}.auth-divider{margin:16px 0}.register-form{gap:10px}
.install-page{min-height:100svh;display:grid;place-items:start center;padding:18px 13px}.install-card{width:min(100%,480px);padding:21px;border-radius:18px}.install-card h1{font-size:23px}.install-form{gap:12px}.install-form input{height:44px}
@media(min-width:481px){body{background:#eaf5fc}.auth-shell{min-height:100vh}}

/* Assortment, hand-entered purchase orders, and store-format builder. */
.category-filter{display:grid;gap:6px;padding:11px;margin:0 0 10px;border:1px solid #e7f0f7;border-radius:12px;background:#f8fcff}
.category-filter>label,.store-form label,.manual-order label,.price-form label{display:grid;gap:4px;color:#6f8ba1;font-size:8px;font-weight:700}
.category-filter>div{display:flex;gap:7px}
.category-filter select,.store-form select,.store-form input{width:100%;min-width:0;height:36px;padding:0 9px;border:1px solid #deebf4;border-radius:9px;background:#fff;color:#385c75;font:inherit;font-size:10px;outline:none}
.category-filter select:focus,.store-form select:focus,.store-form input:focus,.manual-order input:focus{border-color:#82c5f0;box-shadow:0 0 0 3px #dff2ff}
.product-row{grid-template-columns:32px minmax(0,1fr);row-gap:7px}
.product-actions{grid-column:2;display:flex;align-items:end;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-top:1px}
.manual-order,.price-form{display:flex;align-items:end;gap:5px;margin:0}
.manual-order input{width:66px;height:32px;padding:0 7px;border:1px solid #e5edf4;border-radius:8px;background:#fff;color:#476981;font-size:10px;outline:none}
.price-form input{width:75px;height:32px;text-align:left}
.manual-order .buy-button{height:32px;padding:0 10px}
.product-meta{overflow-wrap:anywhere}
.unavailable-badge{color:#c48546;font-weight:600}
.branch-list{display:grid;gap:0;max-height:250px;overflow:auto;margin-bottom:13px}
.branch-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid #eff4f8}
.branch-icon{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:10px;background:#eff8ff;font-size:15px}
.store-builder{padding:13px;border:1px solid #e1f1fb;border-radius:13px;background:#f2f9ff}
.store-builder>.eyebrow{margin-bottom:9px}
.store-form{display:grid;gap:10px}
.store-form input{height:38px}
.store-form small{font-size:8px;line-height:1.45;color:#8aa1b4}
.optional-label{font-weight:400;color:#9cb0bf}
.store-form .full-button{height:40px}
@media(max-width:560px){.category-filter{padding:10px}.category-filter select{flex:1}.product-row{grid-template-columns:32px minmax(0,1fr);row-gap:6px}.product-actions{grid-column:2;align-items:end}.manual-order input{width:58px}.price-form{margin-left:auto}.price-form input{width:64px}.branch-list{max-height:210px}.store-form select{height:42px;white-space:normal}.store-form input{height:42px}}

/* The home screen is a portfolio of businesses; inventory lives inside each store. */
.topbar-right{flex-wrap:wrap}.back-link{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid #dceefa;border-radius:18px;background:#fff;color:#398fc9;text-decoration:none;font-size:10px;font-weight:700;white-space:nowrap}
.businesses-grid{display:grid;grid-template-columns:1fr;gap:13px}
.business-card{display:block;min-width:0;padding:17px;background:#fff;border:1px solid #e7f0f7;border-radius:16px;box-shadow:var(--shadow);color:var(--text);text-decoration:none;transition:transform .15s,border-color .15s}
.business-card:hover{transform:translateY(-1px);border-color:#b9def6}
.business-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.business-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#eaf6ff;font-size:20px}
.open-business{font-size:10px;color:#398fc9;font-weight:700}
.business-card>.eyebrow{margin-bottom:4px}
.business-card h2,.create-business-card h2{font-size:16px;margin:0 0 12px}
.business-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:11px 0;border-top:1px solid #eff4f8;border-bottom:1px solid #eff4f8}
.business-metrics span{display:grid;gap:4px;min-width:0}
.business-metrics small{font-size:7px;line-height:1.3;color:#95aabb;font-weight:800;letter-spacing:.04em}
.business-metrics strong{font-size:11px;white-space:nowrap}
.business-departments{margin:10px 0 0;color:#8ba2b5;font-size:9px;line-height:1.5}
.create-business-card{box-shadow:none}
.create-business-card>.muted{font-size:11px;margin-bottom:12px}
.store-form label{font-size:9px}
.store-form select,.store-form input{height:42px;font-size:10px}
.store-form .full-button{height:43px}
.store-form small{font-size:8px}
.store-stats{margin-bottom:14px}
.store-stats .stat-card{min-height:88px;padding:10px}
.store-stats .stat-copy strong{font-size:15px}
.unavailable-badge{font-size:8px}
.product-row{grid-template-columns:32px minmax(0,1fr);row-gap:7px}
.product-actions{grid-column:2;display:flex;align-items:end;justify-content:flex-start;flex-wrap:wrap;gap:8px}
.manual-order,.price-form{display:flex;align-items:end;gap:5px;margin:0}
.manual-order label,.price-form label{display:grid;gap:4px}
.manual-order input{width:58px;height:32px}
.manual-order .buy-button{height:32px;padding:0 9px}
.price-form{margin-left:auto}
.branch-list{display:grid;gap:0}
.buy-button:disabled{cursor:not-allowed;opacity:.45;filter:saturate(.45)}
@media(max-width:560px){.topbar-right{gap:7px}.back-link{font-size:9px;padding:0 9px}.business-card{padding:15px}.business-metrics{gap:5px}.business-metrics small{font-size:6px}.business-metrics strong{font-size:10px}.create-business-card{padding:15px}.create-business-card h2{font-size:15px}.store-stats{gap:8px}.store-stats .stat-card{min-height:80px}.store-stats .stat-copy>span{font-size:6px}.store-stats .stat-copy strong{font-size:13px}.product-actions{gap:6px}.price-form input{width:58px}.history-row{grid-template-columns:48px minmax(68px,1fr) minmax(50px,.8fr)}}

.signup-button{width:100%;margin-top:2px;box-shadow:0 9px 20px rgba(57,143,210,.26);font-size:12px}
.login-form{padding-top:2px}
#game-tutorial[hidden]{display:none}
#game-tutorial{position:fixed;z-index:2002;left:50%;bottom:14px;transform:translateX(-50%);width:min(420px,calc(100% - 24px))}
.tour-card{position:relative;padding:17px;border:1px solid #d8eaf7;border-radius:17px;background:#fff;box-shadow:0 14px 44px rgba(11,38,59,.25)}
.tour-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.tour-count{font-size:8px;letter-spacing:.1em;font-weight:800;color:#5b9fce}
.tour-skip{border:0;background:transparent;color:#91a7b8;font-size:9px;font-weight:700;padding:6px}
.tour-card h2{font-size:16px;margin:0 0 6px;color:#18334c}
.tour-copy{font-size:11px;line-height:1.55;color:#6f879a;margin:0}
.tour-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:13px}
.tour-back{border:0;background:transparent;color:#7590a4;font-size:10px;font-weight:700;padding:8px}
.tour-next{height:38px;padding:0 12px;font-size:10px}
.tutorial-highlight{position:relative!important;z-index:2001!important;box-shadow:0 0 0 3px #fff,0 0 0 7px #54ace5,0 0 0 100vmax rgba(18,43,61,.55)!important;border-radius:12px!important}
@media(max-width:560px){.auth-card{padding:20px}.tour-card{padding:15px}.tour-card h2{font-size:15px}.tour-copy{font-size:10px}}

/* Modern mobile visual system */
:root{--bg:#edf6ff;--surface:#fff;--surface-blue:#f5faff;--line:#e3edf7;--text:#142d46;--muted:#71869b;--blue:#378fe0;--blue-dark:#267bc7;--blue-pale:#e7f3ff;--green:#36aa83;--red:#d45f6c;--radius:20px;--shadow:0 10px 28px rgba(39,91,138,.08);--gap:16px;--pad:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;color:var(--text);background:var(--bg)}
body{font-size:14px;line-height:1.5;background:radial-gradient(ellipse at 10% 0%,#f7fbff 0%,#eef7ff 50%,#e9f4ff 100%)}
.app-shell{background:#f6faff;box-shadow:0 0 70px rgba(30,74,112,.12)}
.sidebar{height:66px;padding:10px 15px;background:rgba(255,255,255,.94);border-bottom-color:#e5eff8}
.brand{font-size:14px;gap:10px}.brand-mark.small{width:40px;height:40px;flex-basis:40px;border-radius:14px;background:linear-gradient(145deg,#dcf0ff,#eff8ff);box-shadow:inset 0 0 0 1px #d8ebf9}.brand small{font-size:8px;letter-spacing:.12em}
.main-content{padding:20px 16px 27px}
.topbar{gap:13px;margin-bottom:19px}.topbar h1{font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.04em}
.eyebrow{font-size:10px;line-height:1.4;letter-spacing:.12em;color:#7297b5;margin-bottom:6px}
.day-pill{padding:9px 12px;background:linear-gradient(135deg,#e5f3ff,#f0f8ff);border-color:#d8eaf8;color:#237bc1;font-size:11px;border-radius:14px}
.status-pill{padding:9px 12px;font-size:11px;border-radius:14px}
.notice{padding:13px 15px;border-radius:14px;font-size:12px}
.businesses-grid{gap:14px}
.business-card{padding:18px;border-radius:20px;border-color:#e2edf6;box-shadow:0 8px 22px rgba(39,91,138,.07);background:linear-gradient(155deg,#fff 0%,#fff 75%,#f6fbff 100%)}
.business-card:hover{border-color:#aad5f3;box-shadow:0 12px 26px rgba(44,126,188,.12)}
.business-card-top{margin-bottom:13px}
.business-icon{width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#dff2ff,#edf8ff);box-shadow:inset 0 0 0 1px #d9ecfa;font-size:23px}
.open-business{padding:8px 11px;border-radius:12px;background:#eff8ff;color:#287fc2;font-size:10px}
.business-card>.eyebrow{font-size:9px}
.business-card h2,.create-business-card h2{font-size:18px;line-height:1.3;letter-spacing:-.03em;margin-bottom:13px}
.business-metrics{gap:8px;padding:12px 0;border:0}
.business-metrics span{padding:10px;border:1px solid #eaf2f8;border-radius:13px;background:#f8fbfe}
.business-metrics small{font-size:8px;color:#8096a9;letter-spacing:.06em}
.business-metrics strong{font-size:13px;color:#1e3b56}
.business-departments{font-size:10px;line-height:1.55;color:#718ba1;margin-top:2px}
.create-business-card{padding:19px;border-radius:20px;border-color:#dfebf5;box-shadow:0 8px 22px rgba(39,91,138,.07)}
.create-business-card h2{margin-bottom:7px}
.create-business-card>.muted{font-size:12px;line-height:1.55;color:#71869b;margin-bottom:15px}
.store-form{gap:12px}
.store-form label{gap:6px;font-size:11px;color:#506c84}
.store-form select,.store-form input{height:48px;padding:0 12px;border-radius:12px;font-size:12px;background:#fbfdff;border-color:#dce8f2}
.store-form small{font-size:10px;color:#7d93a6;line-height:1.5}
.primary-button,.secondary-button{height:50px;border-radius:14px;padding:0 17px;font-size:13px}
.primary-button{background:linear-gradient(115deg,#42a5ed 0%,#337fd1 100%);box-shadow:0 9px 19px rgba(53,133,203,.24)}
.primary-button:hover{box-shadow:0 12px 24px rgba(53,133,203,.3)}
.full-button{height:46px}
.stats-grid{gap:10px}
.stat-card{padding:13px 10px;border-radius:16px;box-shadow:0 5px 16px rgba(39,91,138,.06);border-color:#e4eef7}
.stat-icon{border-radius:12px}
.stat-copy>span{font-size:8px;line-height:1.3;color:#7b92a6}
.stat-copy strong{font-size:16px}
.stat-copy small{font-size:9px;color:#8398aa}
.panel{padding:17px;border-radius:20px;border-color:#e4eef7;box-shadow:0 7px 22px rgba(39,91,138,.06)}
.panel-heading{margin-bottom:13px}.panel-heading h2{font-size:17px;letter-spacing:-.03em}
.soft-badge{font-size:9px;padding:7px 9px;border-radius:12px;background:#f2f8fd;color:#6f8da5;border-color:#e5eff7}
.category-filter{gap:7px;padding:12px;margin-bottom:12px;border-radius:14px;background:#f7fbff;border-color:#e6eff7}
.category-filter>label{font-size:10px;color:#58758d}
.category-filter select{height:44px;border-radius:11px;font-size:11px;padding:0 10px}
.category-filter .buy-button{height:44px;border-radius:11px;padding:0 13px}
.product-row{padding:14px 11px;margin:0 0 9px;border:1px solid #e8f0f7;border-radius:15px;background:#fbfdff;gap:8px}
.product-row:last-child{margin-bottom:0}
.product-emoji{width:38px;height:38px;border-radius:13px;background:#eef7ff;font-size:20px}
.product-title{margin-bottom:5px}.product-title strong{font-size:12px;line-height:1.35;color:#1c3853}
.stock-count{font-size:10px;font-weight:700}.stock-track{height:5px}.product-meta{font-size:9px;line-height:1.5;color:#8095a8;margin-top:7px}
.product-actions{gap:9px;margin-top:5px}
.manual-order label,.price-form label{gap:5px;font-size:9px;color:#70879a}
.manual-order input,.price-form input{height:40px;border-radius:11px;padding:0 9px;border-color:#dce8f2;background:#fff;font-size:12px}
.manual-order input{width:68px}
.price-form input{width:76px}
.manual-order .buy-button{height:40px;padding:0 13px;border-radius:11px;font-size:10px}
.buy-button{border-radius:10px;background:#eaf5ff;border-color:#d9eaf7;color:#277fbe;font-size:10px}
.save-price{height:40px;width:38px;border-radius:11px;font-size:14px;background:#e9f7f0;color:#329d78}
.unavailable-badge{font-size:9px}
.right-column{gap:14px}
.management-row{padding:12px 0;gap:10px}
.manage-icon{width:36px;height:36px;flex-basis:36px;border-radius:12px;font-size:16px}
.manage-copy strong{font-size:12px}.manage-copy small{font-size:9px;line-height:1.4}
.mini-action{width:32px;height:32px;border-radius:10px;font-size:17px}
.text-action{font-size:10px}
.next-day-box{padding:15px;border-radius:16px}
.next-day-box strong{font-size:12px}.next-day-box p{font-size:10px;line-height:1.55}
.next-day-box .full-button{height:45px;font-size:11px}
.history-row{font-size:10px}.history-row strong{font-size:10px}
.footer-note{font-size:10px;color:#7d95a9}
.auth-shell{padding:25px 16px;background:transparent}
.auth-intro .brand-mark{width:51px;height:51px;border-radius:16px}
.auth-intro h1{font-size:35px;letter-spacing:-.045em}
.auth-intro .lead{font-size:14px;line-height:1.6;color:#647f96}
.intro-stats{gap:24px;margin-top:20px}
.intro-stats strong{font-size:21px}
.intro-stats span{font-size:10px}
.auth-card{padding:23px;border-radius:22px;box-shadow:0 12px 32px rgba(38,87,129,.1)}
.auth-card h2{font-size:23px;letter-spacing:-.035em}
.auth-card>.muted{font-size:12px}
.auth-form{gap:13px}
.auth-form label{font-size:11px;gap:6px;color:#526e86}
.auth-form input,.auth-form select{height:48px;border-radius:12px;padding:0 12px;font-size:12px}
.field-hint{font-size:10px;line-height:1.5}
.signup-button{height:52px;border-radius:15px;font-size:13px}
.auth-divider{margin:18px 0;font-size:8px}
.secondary-button{height:46px;border-radius:13px}
.tour-card{padding:18px;border-radius:20px;border-color:#d9e9f5;box-shadow:0 16px 42px rgba(16,46,70,.28)}
.tour-count{font-size:9px}
.tour-skip{font-size:10px}
.tour-card h2{font-size:18px}
.tour-copy{font-size:12px;line-height:1.6}
.tour-controls{margin-top:15px}
.tour-next{height:43px;border-radius:12px;font-size:11px}
.tutorial-highlight{outline:none!important;border-color:transparent!important;box-shadow:0 5px 18px rgba(49,133,198,.14)!important;filter:drop-shadow(0 3px 8px rgba(49,133,198,.12))}
.business-card,.create-business-card,.panel{border-color:transparent}
.business-card,.create-business-card,.panel{box-shadow:0 8px 24px rgba(39,91,138,.065)}
.category-filter,.business-metrics span,.product-row{border-color:#edf3f8}

/* Night-city tycoon skin inspired by the supplied mobile game reference. */
:root{--bg:#06152d;--surface:#102342;--surface-blue:#132a4b;--line:rgba(139,190,238,.14);--text:#edf5ff;--muted:#9bb2cc;--blue:#55caff;--blue-dark:#268fce;--blue-pale:#143a5a;--green:#45d6a2;--red:#ff7d86;--shadow:0 14px 32px rgba(0,0,0,.24);--gap:15px;--pad:17px;color:#edf5ff;background:#06152d}
body{color:#edf5ff;background:#06152d url('/assets/art/city-supermarket.jpg') center top/100% auto fixed no-repeat;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.app-shell{background:linear-gradient(180deg,rgba(5,17,38,.94),rgba(5,17,38,.98));box-shadow:0 0 70px rgba(0,0,0,.35)}
.sidebar{background:rgba(7,24,49,.96);border-color:rgba(122,184,239,.13);backdrop-filter:blur(15px)}
.brand,.brand:hover{color:#f0f7ff}.brand-mark.small{background:linear-gradient(145deg,#143d60,#102947);box-shadow:inset 0 0 0 1px rgba(105,203,255,.24)}
.brand small,.user-meta span{color:#84a4c4}
.avatar{background:#133558;color:#7ed9ff}
.icon-button{color:#86aaca}
.main-content{color:#edf5ff}
.eyebrow{color:#75cfff;text-shadow:0 0 14px rgba(59,179,237,.12)}
.topbar h1{color:#f1f7ff}.day-pill,.status-pill{background:linear-gradient(145deg,#113255,#0c2341);border:1px solid rgba(103,196,250,.22);color:#b9e9ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.status-pill i{background:#4ee0b2;box-shadow:0 0 0 3px rgba(78,224,178,.12),0 0 12px rgba(78,224,178,.55)}
.back-link{background:#102b4c;color:#8bdcff;border-color:rgba(95,188,240,.22)}
.notice.success{background:#0d342e;color:#8cf0c7;border-color:rgba(69,214,162,.22)}
.notice.error{background:#3a202d;color:#ffb8bf;border-color:rgba(255,125,134,.25)}
.notice.report{background:#102945;color:#c5e6ff;border-color:rgba(105,191,243,.19)}
.businesses-grid{gap:15px}
.business-card{padding:0;border:1px solid rgba(111,191,243,.16);border-radius:20px;background:#102342;overflow:hidden;box-shadow:0 14px 30px rgba(0,0,0,.24)}
.business-card:hover{border-color:rgba(100,212,255,.4);box-shadow:0 18px 34px rgba(0,0,0,.3),0 0 24px rgba(53,167,218,.1)}
.business-art{height:165px;padding:13px 14px;position:relative;display:flex;align-items:flex-start;justify-content:space-between;background-size:cover;background-position:center 54%;border-radius:19px 19px 0 0}
.business-art strong{position:absolute;left:15px;bottom:14px;right:16px;color:white;font-size:18px;line-height:1.25;letter-spacing:-.025em;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.business-icon{background:rgba(8,27,51,.78);color:#fff;border:1px solid rgba(157,221,255,.23);box-shadow:0 4px 16px rgba(0,0,0,.22)}
.open-business{background:rgba(8,27,51,.8);color:#9be3ff;border:1px solid rgba(157,221,255,.19);backdrop-filter:blur(8px)}
.business-card-body{padding:13px 15px 15px}
.business-card-body>.eyebrow{margin:0 0 7px;color:#69caff;font-size:9px}
.business-metrics{padding:0;gap:8px}
.business-metrics span{background:#0c1d38;border-color:rgba(144,193,235,.09);padding:9px 10px;border-radius:12px}
.business-metrics small{font-size:8px;color:#8fa8c3}
.business-metrics strong{font-size:13px;color:#f2f7ff}
.business-departments{color:#95afc9;font-size:10px;margin-top:9px}
.create-business-card{background:linear-gradient(150deg,#11294a,#0d1e39);border-color:rgba(100,190,243,.17);box-shadow:var(--shadow)}
.create-business-card h2{color:#f2f7ff}
.create-business-card>.muted{color:#9bb2cc}
.store-form label,.auth-form label,.category-filter>label{color:#b0c7df}
.store-form select,.store-form input,.auth-form input,.auth-form select,.category-filter select,.manual-order input,.price-form input,.install-form input{color:#edf6ff;background:#0b1d37;border-color:rgba(142,190,232,.19);box-shadow:inset 0 1px 3px rgba(0,0,0,.18)}
.store-form input::placeholder,.auth-form input::placeholder{color:#7892ad}
.store-form select:focus,.store-form input:focus,.auth-form input:focus,.auth-form select:focus,.category-filter select:focus,.manual-order input:focus,.price-form input:focus{border-color:#53c8ff;box-shadow:0 0 0 3px rgba(83,200,255,.12),inset 0 1px 3px rgba(0,0,0,.15)}
.store-form small,.field-hint{color:#89a5c1}
.primary-button{color:#05213a;background:linear-gradient(115deg,#75e1ff,#3bb8f1 52%,#348fdf);box-shadow:0 9px 23px rgba(34,166,226,.22);text-shadow:none}
.primary-button:hover{box-shadow:0 10px 26px rgba(34,166,226,.32)}
.secondary-button{background:linear-gradient(135deg,#16385e,#122b4b);color:#9fe4ff;border-color:rgba(95,188,240,.22)}
.signup-button{font-weight:800}
.panel,.auth-card{background:linear-gradient(150deg,rgba(17,39,69,.98),rgba(12,29,54,.98));border-color:rgba(127,186,231,.13);box-shadow:0 14px 32px rgba(0,0,0,.25)}
.panel-heading h2,.auth-card h2{color:#f0f7ff}
.soft-badge{background:#112c4b;color:#91c9ec;border-color:rgba(109,188,237,.13)}
.category-filter{background:#0b1e39;border-color:rgba(129,185,230,.12)}
.category-filter select{background:#0a1c35}
.product-row{background:linear-gradient(135deg,#102744,#0d203b);border-color:rgba(132,183,227,.12);box-shadow:0 5px 13px rgba(0,0,0,.1)}
.product-emoji{background:linear-gradient(145deg,#173b5d,#102946)}
.product-title strong{color:#edf5ff}
.stock-count{color:#65e0b4}.stock-count.low-stock{color:#ffc276}
.stock-track{background:#1c3552}.stock-track i{background:linear-gradient(90deg,#35c99a,#80efc2)}
.product-meta{color:#98b0ca}.unavailable-badge{color:#ffc06e}
.buy-button{background:linear-gradient(135deg,#153b5d,#11304e);color:#9ee5ff;border-color:rgba(90,189,244,.19)}
.buy-button:hover{background:#19486d}.buy-button:disabled{background:#172942;color:#6c8298}
.save-price{background:#123b38;color:#69e2b5}
.stat-card{background:linear-gradient(145deg,#112a4a,#0d203b);border-color:rgba(132,184,229,.12);box-shadow:0 9px 20px rgba(0,0,0,.18)}
.stat-copy>span{color:#89a7c4}.stat-copy strong{color:#f4f8ff}.stat-copy small{color:#91a9c3}
.stat-icon.blue{background:#123b5d;color:#76ddff}.stat-icon.violet{background:#2b2855;color:#b3a2ff}.stat-icon.yellow{background:#463714;color:#ffd675}.stat-icon.mint{background:#123d39;color:#75e3bd}
.mini-meter{background:#354329}.mini-meter i{background:#f5ca62}
.manage-copy strong{color:#edf5ff}.manage-copy small{color:#8fa9c4}
.management-row,.product-row{border-top-color:rgba(145,192,233,.1)}
.staff-icon{background:#192d58;color:#9eb9ff}.ad-icon{background:#482e22;color:#ffc17c}.store-icon{background:#153e3b;color:#75e3bd}
.mini-action{background:#12395a;color:#8ce2ff;border-color:rgba(105,198,247,.18)}.muted-action{background:#182943;color:#95a9bc;border-color:rgba(140,175,209,.1)}
.next-day-box,.store-builder{background:linear-gradient(145deg,#112d4c,#0c203a);border-color:rgba(106,190,240,.17)}
.next-day-box p{color:#9ab1ca}.next-day-box strong{color:#f5f9ff}
.trend-label{color:#6ce0b5}.history-row{color:#9bb2cc}.history-row strong{color:#67e0b2}.history-bar{background:#183c39}.history-bar b{background:#51d8a4}
.empty-history{color:#95adc7}.footer-note{color:#87a1bb}
.branch-row{border-top-color:rgba(145,192,233,.1)}.branch-icon{background:#153958}
.store-detail-art{height:155px;margin:0 0 15px;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;border-radius:20px;border:1px solid rgba(106,190,240,.16);background-size:cover;background-position:center 52%;box-shadow:0 12px 28px rgba(0,0,0,.2)}
.store-detail-art span{color:#82d9ff;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.store-detail-art strong{font-size:20px;color:white;letter-spacing:-.03em}
.store-detail-art small{font-size:10px;color:#d0e7fa}
.auth-shell{background:linear-gradient(180deg,rgba(5,17,38,.42),rgba(5,17,38,.94));color:#edf5ff}
.auth-intro .brand-mark{background:linear-gradient(145deg,#143d60,#102947);box-shadow:inset 0 0 0 1px rgba(105,203,255,.24)}
.auth-intro .hero-art{height:196px;margin:0 0 17px;border-radius:20px;background-image:linear-gradient(0deg,rgba(4,15,33,.32),rgba(4,15,33,.02)),url('/assets/art/city-supermarket.jpg');background-size:cover;background-position:center 66%;border:1px solid rgba(110,201,249,.18);box-shadow:0 16px 32px rgba(0,0,0,.24)}
.auth-intro h1{color:#f4f8ff}.auth-intro h1 span{color:#66d7ff;text-shadow:0 0 25px rgba(61,183,241,.2)}
.auth-intro .lead{color:#c2d8ed}
.intro-stats strong{color:#83dcff}.intro-stats span{color:#91abc5}
.auth-card{border-radius:22px}
.auth-card>.muted{color:#9bb2cc}
.auth-divider{color:#84a1bc}.auth-divider:before,.auth-divider:after{background:rgba(135,183,225,.17)}
.tour-card{background:linear-gradient(145deg,#142d4e,#0d203b);border-color:rgba(105,195,244,.18);color:#edf5ff}
.tour-card h2{color:#f0f7ff}.tour-copy{color:#aac1d8}.tour-count{color:#71d6ff}.tour-skip,.tour-back{color:#90aac4}
.tutorial-highlight{outline:none!important;border-color:rgba(85,202,255,.24)!important;box-shadow:0 8px 24px rgba(44,167,222,.12)!important;filter:none}
.footer-note span{color:#72d9ff}
@media(max-width:560px){.main-content{padding:18px 14px 25px}.auth-shell{padding:20px 14px 26px}.auth-intro .hero-art{height:190px}.business-art{height:155px}.store-detail-art{height:142px}.tour-card{padding:16px}}
.install-card{background:linear-gradient(150deg,#11294a,#0d1e39);border-color:rgba(127,186,231,.15);color:#edf5ff;box-shadow:0 16px 38px rgba(0,0,0,.3)}
.install-card h1{color:#f2f7ff}.install-card>.muted,.install-form label{color:#a9c0d7}
.install-card .notice.success{background:#0d342e;color:#8cf0c7}.install-card .notice.error{background:#3a202d;color:#ffb8bf}
.creator-panel{margin:0 0 9px;padding:10px;border:1px solid rgba(115,197,246,.2);border-radius:12px;background:linear-gradient(145deg,#104779,#0b3b6c)}
.creator-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.creator-panel-heading h2{margin:0;font-size:15px;color:#f0f7ff}
.creator-status{padding:4px 7px;border-radius:99px;background:rgba(69,217,174,.12);color:#81edc7;font-size:9px;font-weight:700;white-space:nowrap}.creator-status.is-maintenance{background:rgba(255,203,91,.14);color:#ffe08a}
.creator-help{margin:6px 0 9px;color:#b2c9df;font-size:10px;line-height:1.45}
.creator-maintenance-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px}.creator-maintenance-form label{display:grid;gap:3px;color:#c3d6e8;font-size:9px}.creator-maintenance-form input{height:34px;min-width:0;padding:5px 8px;border:1px solid #285688;border-radius:8px;background:#062f5d;color:#e6f1ff;font:inherit;font-size:11px}.creator-maintenance-form .secondary-button{height:34px;padding:4px 8px;border-radius:8px;font-size:10px;white-space:nowrap}.creator-toggle-form{margin-top:7px}.creator-toggle-form button{width:100%;height:38px;border-radius:9px;font-size:11px}
.maintenance-card .brand-mark{margin:0 auto 10px}.maintenance-card{text-align:center}.maintenance-card .install-form{text-align:left;margin-top:16px}.maintenance-card .install-form .eyebrow{margin:0}.maintenance-footnote{margin:12px 0 0;color:#9eb6cf;font-size:10px}
@media(max-width:560px){.creator-panel{padding:10px;border-radius:12px}.creator-maintenance-form{grid-template-columns:1fr}.creator-maintenance-form .secondary-button{width:100%;height:40px}.creator-toggle-form button{height:42px}.maintenance-card{margin:0 auto}.maintenance-card .install-form{gap:8px}}

/* Compact centered blue game layout, modeled on the supplied screenshot. */
html{min-height:100%;background:#036}
body{width:100%;max-width:400px;min-height:100vh;margin:0 auto;background:#036;color:#ddd;font-size:15px;line-height:1.35;font-family:Arial,Verdana,Tahoma,sans-serif;text-shadow:0 1px 3px rgba(0,0,0,.55)}
.app-shell{width:100%;max-width:400px;min-height:100vh;margin:0 auto;background:#07386b;box-shadow:none}
.sidebar{position:sticky;top:0;width:100%;height:32px;padding:2px 4px;display:flex;flex-direction:row;align-items:center;background:#174577;border:0;border-bottom:1px solid #285688;border-radius:2px;backdrop-filter:none;z-index:20}
.brand{gap:5px;margin-right:auto;color:#eee;font-size:14px;line-height:1}.brand-mark.small{width:24px;height:24px;flex-basis:24px;border-radius:2px;background:#0c3c70;box-shadow:none;font-size:15px}.brand small{display:none}.side-label,.side-active,.side-tip{display:none}.sidebar-bottom{margin:0;padding:0;border:0}.avatar,.user-meta{display:none}.sidebar-bottom form{margin:0}.icon-button{color:#6fdcff;font-size:17px;padding:1px 5px}
.main-content{width:100%;max-width:400px;margin:0 auto;padding:0 4px 14px}
.topbar{min-height:32px;margin:0 -1px 4px;padding:3px 5px;display:flex;align-items:center;gap:5px;background:#174577;border-bottom:1px solid #285688}
.topbar .eyebrow{display:none}.topbar h1{font-size:17px;line-height:1.2;font-weight:700;letter-spacing:0;color:#e8f2ff}
.topbar-right{margin-left:auto;display:flex;align-items:center;gap:4px}
.day-pill,.status-pill{min-height:21px;padding:1px 5px;border-radius:2px;background:#0c3b70;border:0;color:#eee;font-size:11px;box-shadow:none;white-space:nowrap}
.status-pill{display:none}.day-pill::first-letter{color:#ffd64a}
.back-link{min-height:22px;padding:2px 5px;border-radius:2px;border:1px solid #285688;background:#174577;color:#56dcff;font-size:11px}
.eyebrow{font-size:11px;letter-spacing:0;color:#7fcaff;margin-bottom:2px;text-shadow:0 1px 2px #00152d}
.notice{margin:4px 0;padding:4px 6px;border-radius:2px;font-size:12px;line-height:1.35}
.businesses-grid{display:grid;gap:0}
.business-card{display:grid;grid-template-columns:61px minmax(0,1fr);gap:6px;margin:0;padding:5px 3px;border:0;border-bottom:1px dotted #275587;border-radius:0;background:transparent;box-shadow:none;overflow:visible;color:#c8d7e8}
.business-card:hover{border-color:#3978ad;background:rgba(14,67,119,.28);box-shadow:none}
.business-art{grid-column:1;grid-row:1 / span 2;width:58px;height:58px;padding:0;align-self:start;display:grid;place-items:center;border:1px solid #80acd2;border-radius:2px;background-size:cover;background-position:center;box-shadow:0 1px 3px #001a35}
.business-art strong,.open-business b{display:none}
.business-icon{width:100%;height:100%;display:grid;place-items:center;border:0;border-radius:0;background:rgba(5,30,60,.22);box-shadow:none;color:white;font-size:21px}
.business-card-body{min-width:0;padding:0}
.business-card-heading{min-height:23px;display:flex;align-items:center;gap:4px}
.business-card-body>.eyebrow{font-size:12px;color:#92aeca;margin:0 0 1px}
.business-card-body h2{font-size:15px;line-height:1.25;letter-spacing:0;margin:0;color:#e4edfa;font-weight:600}
.open-business{margin-left:auto;padding:2px 5px;border-radius:2px;background:#174577;border:1px solid #285688;color:#4bdcff;font-size:12px;white-space:nowrap}
.business-metrics{display:flex;gap:11px;padding:2px 0 0;border:0}
.business-metrics span{display:flex;align-items:baseline;gap:4px;padding:0;border:0;border-radius:0;background:transparent}
.business-metrics small{font-size:10px;letter-spacing:0;color:#8ea9c4}
.business-metrics strong{font-size:12px;color:#ffe14d;white-space:nowrap}
.business-departments{margin:2px 0 0;color:#98b4d0;font-size:10px;line-height:1.25}
.create-business-card{padding:7px 6px;margin:6px 0;border:1px solid #285688;border-radius:3px;background:#0a3c70;box-shadow:none}
.create-business-card h2{font-size:15px;line-height:1.25;letter-spacing:0;margin:0 0 3px;color:#f0f5ff}
.create-business-card>.eyebrow{font-size:11px;color:#8bd8ff;margin-bottom:2px}
.create-business-card>.muted{font-size:11px;line-height:1.3;color:#b7c8db;margin:2px 0 5px}
.store-form{display:grid;gap:5px}
.store-form label,.auth-form label,.category-filter>label{font-size:11px;gap:2px;color:#bfcde0}
.store-form select,.store-form input,.auth-form input,.auth-form select,.category-filter select,.manual-order input,.price-form input,.install-form input{height:29px;padding:2px 5px;border:1px solid #285688;border-radius:2px;background:#062f5d;color:#e6f1ff;box-shadow:none;font-size:12px}
.store-form input::placeholder,.auth-form input::placeholder{color:#93abc4}
.store-form select:focus,.store-form input:focus,.auth-form input:focus,.auth-form select:focus,.category-filter select:focus,.manual-order input:focus,.price-form input:focus{outline:1px solid #4bdcff;border-color:#4bdcff;box-shadow:none}
.store-form small,.field-hint{font-size:10px;color:#9eb6d0;line-height:1.25}
.primary-button,.secondary-button{height:31px;padding:3px 8px;border:1px solid #285688;border-radius:3px;background:#174577;color:#edf7ff;box-shadow:none;text-shadow:0 -1px #082746;font-size:13px}
.primary-button:hover,.secondary-button:hover{background:#1c578a;box-shadow:none;transform:none}
.primary-button span,.secondary-button span{font-size:15px}
.signup-button{height:38px;font-size:14px;font-weight:700}
.business-card .open-business{align-self:center}
.store-stats{gap:3px;margin:4px 0}
.stat-card{min-height:52px;padding:4px;border:0;border-radius:2px;background:#0b4177;box-shadow:none;gap:4px}
.stat-icon{width:22px;height:22px;flex-basis:22px;border-radius:2px;font-size:12px;background:#174577!important;color:#ffe05b!important}
.stat-copy{gap:0}.stat-copy>span{font-size:9px;color:#9eb9d4;white-space:normal}.stat-copy strong{font-size:12px;color:#ffe45c}.stat-copy small{font-size:9px;color:#acc0d6}
.mini-meter{height:2px}
.content-grid,.right-column{grid-template-columns:minmax(0,1fr);gap:5px}
.panel{padding:6px;border:0;border-top:1px solid #285688;border-radius:2px;background:#083b70;box-shadow:none}
.panel-heading{gap:4px;margin-bottom:4px}.panel-heading h2{font-size:14px;letter-spacing:0;color:#edf4ff}
.soft-badge{padding:2px 4px;border:0;border-radius:2px;background:#174577;color:#b8d9f4;font-size:9px}
.category-filter{gap:3px;padding:4px;margin:0 0 4px;border:0;border-radius:2px;background:#0b4177}
.category-filter>label{font-size:10px;color:#afc4db}.category-filter>div{gap:4px}
.category-filter select{height:28px;font-size:11px}
.category-filter .buy-button{height:28px;padding:1px 6px}
.product-list{display:grid;gap:0}
.product-row{grid-template-columns:43px minmax(0,1fr);row-gap:2px;margin:0;padding:5px 2px;border:0;border-top:1px dotted #275587;border-radius:0;background:transparent;box-shadow:none}
.product-emoji{width:39px;height:39px;border:1px solid #81a9cb;border-radius:2px;background:#0b4279;font-size:20px}
.product-title{margin:0;gap:4px}.product-title strong{font-size:13px;line-height:1.2;color:#d9e6f5}.stock-count{font-size:11px;color:#ffe34f}.stock-count.low-stock{color:#ff9c7a}
.stock-track{height:2px;background:#174577}.stock-track i{background:#45d9ae}
.product-meta{margin-top:2px;font-size:10px;line-height:1.25;color:#9fb8d1}
.product-actions{gap:5px;margin-top:3px}
.manual-order,.price-form{gap:3px}.manual-order label,.price-form label{gap:1px;font-size:9px;color:#a9bfd5}
.manual-order input{width:42px;height:24px;font-size:11px}
.price-form input{width:58px;height:24px;font-size:11px}
.manual-order .buy-button{height:24px;padding:1px 5px;font-size:10px}
.buy-button{height:25px;padding:2px 5px;border:1px solid #285688;border-radius:3px;background:#174577;color:#56ddff;font-size:10px}
.buy-button:hover{background:#1a5484}
.save-price{width:26px;height:24px;border:1px solid #285688;border-radius:3px;background:#087d42;color:#e4ffe8;font-size:12px}
.unavailable-badge{color:#ffd45a;font-size:9px}
.management-row{gap:5px;padding:4px 0;border-top:1px dotted #275587}
.manage-icon{width:24px;height:24px;flex-basis:24px;border-radius:2px;background:#174577!important;color:#69ddff!important}
.manage-copy strong{font-size:11px;color:#dfeaf6}.manage-copy small{font-size:9px;color:#9bb4cd}
.mini-action{width:23px;height:23px;min-width:23px;border:1px solid #285688;border-radius:3px;background:#174577;color:#50dcff;font-size:14px}
.text-action{font-size:10px;color:#4bdcff}
.next-day-box,.store-builder{margin-top:5px;padding:6px;border:1px solid #285688;border-radius:3px;background:#0b4278}
.next-day-box strong{font-size:12px;color:#ffe45e}.next-day-box p{font-size:10px;color:#b3c8dc;margin:3px 0 5px}
.next-day-box .full-button,.store-form .full-button{height:31px;font-size:12px}
.history-list{gap:3px}.history-row{font-size:10px;color:#abc0d6}.history-row strong{font-size:10px;color:#ffe34f}
.history-bar{height:2px;background:#174577}.history-bar b{background:#3bd9a5}
.businesses-grid>.panel{margin-top:4px}
.store-detail-art{height:82px;margin:3px 0 5px;padding:6px;border:1px solid #285688;border-radius:2px;box-shadow:none;background-size:cover;background-position:center 55%}
.store-detail-art span{font-size:10px;color:#ffe45e}.store-detail-art strong{font-size:15px;text-shadow:0 1px 3px #00162d}.store-detail-art small{font-size:10px;color:#d7e8f7}
.auth-shell{width:100%;max-width:400px;min-height:100vh;margin:0 auto;padding:8px;background:#07386b;display:grid;grid-template-columns:1fr;align-content:start;gap:6px}
.auth-intro{padding:4px 3px}.auth-intro .brand-mark{width:28px;height:28px;margin:0 0 4px;border-radius:2px;background:#174577;box-shadow:none;font-size:16px}
.auth-intro .hero-art{height:93px;margin:3px 0 5px;border:1px solid #285688;border-radius:2px;background-size:cover;background-position:center 62%;box-shadow:none}
.auth-intro .eyebrow{font-size:10px;margin-bottom:2px}.auth-intro h1{font-size:22px;line-height:1.15;letter-spacing:0;margin:0 0 3px;color:#f0f5ff}.auth-intro h1 span{color:#48d9ff;text-shadow:none}
.auth-intro .lead{font-size:11px;line-height:1.35;color:#b9cbe0}
.intro-stats{gap:12px;margin-top:5px}.intro-stats strong{font-size:13px;color:#ffe45e}.intro-stats span{font-size:9px;color:#aac0d7}
.auth-card{padding:7px;border:1px solid #285688;border-radius:3px;background:#0a3c70;box-shadow:none}
.auth-card h2{font-size:15px;margin:0 0 2px;color:#f0f5ff}.auth-card>.eyebrow{font-size:10px;margin-bottom:2px}.auth-card>.muted{font-size:10px;line-height:1.3;color:#b4c7dc;margin-bottom:4px}
.auth-form{gap:4px}.auth-form label{font-size:10px;gap:2px}.auth-form input,.auth-form select{height:28px}
.auth-divider{margin:5px 0;font-size:8px;color:#91abc5}.auth-divider:before,.auth-divider:after{background:#285688}
.login-form{padding-top:0}.field-hint{font-size:9px}
.footer-note{padding:6px 2px 10px;font-size:10px;color:#a8bfd5}
.tour-card{padding:7px;border:1px solid #285688;border-radius:3px;background:#0a3d70;box-shadow:none}
#game-tutorial{width:min(400px,calc(100% - 10px));bottom:5px}
.tour-topline{margin-bottom:3px}.tour-count{font-size:9px;color:#76d9ff}.tour-skip{font-size:9px;color:#a8bfd5;padding:2px}
.tour-card h2{font-size:14px;margin-bottom:3px;color:#eff6ff}.tour-copy{font-size:11px;line-height:1.3;color:#c0cfe0}
.tour-controls{margin-top:5px}.tour-back{font-size:10px;color:#acbfd4;padding:3px}.tour-next{height:27px;padding:2px 7px;border-radius:3px;font-size:11px}
.tutorial-highlight{outline:none!important;border-color:transparent!important;box-shadow:0 0 0 1px rgba(88,221,255,.28)!important;filter:none}
.install-page{min-height:100vh;display:grid;place-items:start center;padding:8px;background:#036}
.install-card{width:100%;padding:9px;border:1px solid #285688;border-radius:3px;background:#0a3c70;box-shadow:none;color:#ddd}
.install-card h1{font-size:18px;color:#edf5ff}.install-card .brand-mark{margin-bottom:5px}
.install-card>.muted,.install-form label{font-size:11px;color:#b8c9dd}
.install-form{gap:5px}.install-form input{height:29px}
.install-card .notice{border-radius:2px}
.footer-note span{color:#ffe45e}
body.is-loading:before{content:'';position:fixed;z-index:4000;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#3bd9a5,#57dcff,#ffe45e);background-size:200% 100%;animation:game-load .8s linear infinite}
@keyframes game-load{from{background-position:100% 0}to{background-position:-100% 0}}
@media(max-width:400px){body,.app-shell,.auth-shell{max-width:100%;width:100%}.main-content{padding-left:3px;padding-right:3px}.business-card{grid-template-columns:55px minmax(0,1fr);gap:4px}.business-art{width:52px;height:52px}.business-card-body h2{font-size:14px}.business-metrics{gap:6px}}
@media(max-width:560px){.main-content{padding:0 4px 14px}.topbar h1{font-size:17px}.business-card{padding:5px 3px}.create-business-card{padding:7px 6px}.store-stats .stat-card{min-height:52px}.store-stats .stat-copy>span{font-size:9px}.store-stats .stat-copy strong{font-size:12px}.product-row{padding:5px 2px}.product-title strong{font-size:13px}.product-meta{font-size:10px}.auth-shell{padding:8px}.auth-intro h1{font-size:22px}.auth-card{padding:7px}.tour-card{padding:7px}.tour-copy{font-size:11px}}

/* Extra touch-friendly mobile polish while keeping the compact blue reference style. */
body{max-width:430px;min-height:100vh;min-height:100dvh;text-shadow:none;-webkit-tap-highlight-color:transparent}
.app-shell,.auth-shell{max-width:430px;min-height:100vh;min-height:100dvh}
.main-content{max-width:430px}
.business-card,.open-business,.back-link,.primary-button,.secondary-button,.buy-button,.save-price,.mini-action,.icon-button,.tour-next,.tour-back,.tour-skip{touch-action:manipulation}
.primary-button:focus-visible,.secondary-button:focus-visible,.buy-button:focus-visible,.save-price:focus-visible,.back-link:focus-visible,.open-business:focus-visible,.icon-button:focus-visible{outline:2px solid #79e4ff;outline-offset:2px}
@media(max-width:560px){
  .app-shell{padding-bottom:env(safe-area-inset-bottom)}
  .sidebar{height:auto;min-height:50px;padding:5px 12px;padding-top:calc(5px + env(safe-area-inset-top));}
  .brand-mark.small{width:30px;height:30px;flex-basis:30px;border-radius:8px;font-size:17px}
  .brand{font-size:14px;gap:7px}
  .icon-button{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:rgba(86,220,255,.08)}
  .main-content{padding:9px 11px calc(18px + env(safe-area-inset-bottom))}
  .topbar{position:sticky;top:calc(50px + env(safe-area-inset-top));z-index:15;display:flex;align-items:center;gap:8px;margin:0 -11px 8px;padding:7px 11px;background:rgba(12,57,101,.97);backdrop-filter:blur(12px);border-bottom:1px solid rgba(137,201,241,.12)}
  .topbar h1{font-size:18px;line-height:1.2}
  .topbar .eyebrow{font-size:8px;margin-bottom:1px}
  .topbar-right{width:auto;margin-left:auto;display:flex;justify-content:flex-end;gap:5px}
  .day-pill{min-height:30px;padding:5px 8px;border-radius:9px;background:#0b3159;font-size:10px}
  .back-link{min-height:34px;display:flex;align-items:center;padding:5px 8px;border-radius:9px}
  .businesses-grid{gap:2px}
  .business-card{grid-template-columns:64px minmax(0,1fr);gap:9px;padding:8px 5px;border-bottom:1px solid rgba(151,202,239,.12);border-radius:10px}
  .business-card:hover{background:rgba(75,166,224,.08)}
  .business-art{width:60px;height:60px;border-radius:10px;border:0;box-shadow:0 4px 10px rgba(0,0,0,.18)}
  .business-icon{font-size:20px}
  .business-card-heading{min-height:26px;gap:5px}
  .business-card-body>.eyebrow{font-size:9px;color:#8fcfff}
  .business-card-body h2{font-size:14px;line-height:1.2}
  .open-business{min-height:32px;display:flex;align-items:center;padding:4px 8px;border-radius:9px;font-size:11px}
  .business-metrics{gap:10px;padding-top:4px}
  .business-metrics span{gap:3px}
  .business-metrics small{font-size:8px}
  .business-metrics strong{font-size:11px}
  .business-departments{font-size:9px;margin-top:3px}
  .create-business-card{margin:8px 0;padding:12px;border:1px solid rgba(113,193,241,.13);border-radius:13px;background:linear-gradient(145deg,#0b4278,#0a3767)}
  .create-business-card h2{font-size:16px}
  .store-form{gap:8px}
  .store-form select,.store-form input,.auth-form input,.auth-form select,.category-filter select,.install-form input{height:44px;padding:8px 10px;border-radius:10px;font-size:14px}
  .primary-button,.secondary-button{height:44px;border-radius:11px;font-size:13px}
  .business-card .open-business{align-self:center}
  .store-detail-art{height:104px;margin:2px 0 8px;padding:10px;border-radius:12px}
  .store-detail-art strong{font-size:17px}
  .store-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:7px 0 10px}
  .store-stats .stat-card{min-height:62px;padding:8px;border-radius:11px;background:#0b4177}
  .store-stats .stat-copy>span{font-size:8px}
  .store-stats .stat-copy strong{font-size:13px}
  .store-stats .stat-copy small{font-size:8px}
  .content-grid,.right-column{gap:9px}
  .panel{padding:10px;border-radius:13px}
  .panel-heading{margin-bottom:7px}
  .category-filter{padding:7px;border-radius:10px}
  .category-filter>div{gap:6px}
  .category-filter select{min-width:0;flex:1}
  .category-filter .buy-button{height:44px;min-width:62px;border-radius:10px}
  .product-list{gap:4px}
  .product-row{grid-template-columns:42px minmax(0,1fr);column-gap:8px;row-gap:5px;padding:8px 7px;border:0;border-radius:11px;background:rgba(17,66,112,.42)}
  .product-emoji{width:40px;height:40px;border:0;border-radius:10px;background:#104879;font-size:20px}
  .product-title strong{font-size:12px}
  .stock-count{font-size:10px}
  .product-meta{font-size:9px}
  .product-actions{grid-column:1 / -1;display:flex;align-items:end;justify-content:space-between;gap:7px;margin:2px 0 0;padding-left:48px}
  .manual-order,.price-form{gap:5px}
  .manual-order label,.price-form label{font-size:9px}
  .manual-order input,.price-form input{height:38px;border-radius:9px;font-size:13px}
  .manual-order input{width:60px}
  .price-form input{width:68px}
  .manual-order .buy-button,.save-price{height:38px;min-width:38px;border-radius:9px;font-size:11px}
  .price-form{margin-left:auto}
  .management-row{min-height:40px}
  .mini-action{width:36px;min-width:36px;height:36px;border-radius:10px}
  .next-day-box,.store-builder{padding:10px;border-radius:12px}
  .next-day-box .full-button,.store-form .full-button{height:44px}
  .auth-shell{padding:12px 12px calc(18px + env(safe-area-inset-bottom));gap:8px}
  .auth-intro{padding:0 2px}
  .auth-intro .hero-art{height:112px;border-radius:13px}
  .auth-intro h1{font-size:25px}
  .auth-intro .lead{font-size:12px}
  .intro-stats{gap:16px;margin-top:8px}
  .auth-card{padding:12px;border-radius:13px}
  .auth-card h2{font-size:17px}
  .auth-form{gap:8px}
  .auth-form label{font-size:11px}
  .signup-button{height:48px}
  .tour-card{padding:12px;border-radius:13px}
  .tour-card h2{font-size:16px}
  .tour-next{height:38px;border-radius:10px}
  #game-tutorial{bottom:max(8px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){
  .main-content{padding-left:8px;padding-right:8px}
  .topbar{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}
  .business-card{grid-template-columns:54px minmax(0,1fr);gap:7px;padding:7px 2px}
  .business-art{width:52px;height:52px}
  .business-metrics{gap:6px}
  .business-metrics small{font-size:7px}
  .business-metrics strong{font-size:10px}
  .product-actions{padding-left:0}
}
section.creator-panel{margin:0 0 9px;padding:10px;border:1px solid rgba(115,197,246,.2);border-radius:12px;background:linear-gradient(145deg,#104779,#0b3b6c);box-shadow:none}
section.creator-panel .creator-maintenance-form input{height:34px;border:1px solid #285688;border-radius:8px;background:#062f5d;color:#e6f1ff}
section.creator-panel .creator-maintenance-form .secondary-button{height:34px;padding:4px 8px;border-radius:8px;font-size:10px}
section.creator-panel .creator-toggle-form button{width:100%;height:38px;border-radius:9px;font-size:11px}
@media(max-width:560px){section.creator-panel{padding:10px;border-radius:12px}section.creator-panel .creator-maintenance-form{grid-template-columns:1fr}section.creator-panel .creator-maintenance-form .secondary-button{height:40px}section.creator-panel .creator-toggle-form button{height:42px}}
.loader-icon{background:#133d61;color:#7edcff}
.manual-order{display:grid;grid-template-columns:minmax(54px,.62fr) minmax(88px,1fr) auto;align-items:end;gap:5px;min-width:0}
.manual-order label{min-width:0}.order-source{width:100%;height:32px;padding:0 5px;border:1px solid #285688;border-radius:7px;background:#062f5d;color:#e6f1ff;font-size:10px}
.order-summary{grid-column:1/-1;color:#a9c2d9;font-size:8px;line-height:1.35}.order-summary.needs-loaders{color:#ffcf74;font-weight:700}
.manual-order .buy-button:disabled,.mini-action:disabled{opacity:.42;cursor:not-allowed}
#manager-assistant{position:fixed;z-index:100;right:max(14px,calc((100vw - 430px)/2 + 14px));bottom:calc(16px + env(safe-area-inset-bottom));font-family:Arial,Verdana,sans-serif;text-shadow:none}
.manager-button{position:relative;width:54px;height:54px;display:grid;place-items:center;border:2px solid rgba(126,220,255,.62);border-radius:50%;background:linear-gradient(145deg,#1c78ac,#104477);box-shadow:0 8px 24px rgba(0,0,0,.35),0 0 18px rgba(74,208,255,.25);cursor:pointer;animation:manager-arrive .5s ease-out}
.manager-avatar{font-size:25px;line-height:1}.manager-button i{position:absolute;right:-2px;top:-3px;width:20px;height:20px;display:grid;place-items:center;border:2px solid #07386b;border-radius:50%;background:#ffe264;color:#173a5d;font-size:11px;font-style:normal;font-weight:900}
.manager-panel{position:absolute;right:0;bottom:66px;width:min(320px,calc(100vw - 26px));padding:13px;border:1px solid rgba(121,205,249,.26);border-radius:15px;background:linear-gradient(145deg,#114777,#082c52);color:#e7f3ff;box-shadow:0 16px 42px rgba(0,0,0,.4);animation:manager-pop .2s ease-out}
.manager-panel[hidden]{display:none}.manager-heading{display:flex;align-items:center;gap:8px}.manager-face{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(90,193,237,.14);font-size:21px}.manager-heading>div{display:grid;gap:2px;margin-right:auto}.manager-heading small{color:#7dd8ff;font-size:8px;font-weight:800;letter-spacing:.08em}.manager-stage{color:#fff;font-size:11px}.manager-close{width:30px;height:30px;border:0;border-radius:9px;background:rgba(255,255,255,.07);color:#b8d5eb;font-size:21px;cursor:pointer}
.manager-message{min-height:74px;margin:10px 0;color:#c5d9eb;font-size:12px;line-height:1.5}.manager-go{width:100%;height:38px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(115,206,250,.2);border-radius:10px;background:#174f7d;color:#77dcff;font-size:11px;font-weight:800;cursor:pointer}.manager-go span{font-size:15px}
.manager-focus{animation:manager-focus 1.5s ease-out;border-radius:12px!important}
.manager-tour-meta{margin-top:12px;padding:9px 10px;border:1px solid rgba(126,211,248,.15);border-radius:10px;background:rgba(3,34,65,.48)}
.manager-tour-meta[hidden],.manager-tour-skip[hidden]{display:none}
.manager-tour-line{display:flex;justify-content:space-between;gap:8px;color:#78d9ff;font-size:9px;font-weight:800;letter-spacing:.04em}
.manager-tour-percent{color:#b7cfe3;font-variant-numeric:tabular-nums}
.manager-tour-progress{height:4px;margin:7px 0 9px;border-radius:5px;background:rgba(136,190,222,.16);overflow:hidden}
.manager-tour-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffe078,#ffbd52);transition:width .25s ease}
.manager-tour-task{margin:0;color:#fff;font-size:11px;font-weight:800;line-height:1.45}
.manager-tour-skip{width:100%;height:32px;margin-top:7px;border:1px solid rgba(159,207,236,.15);border-radius:9px;background:rgba(255,255,255,.05);color:#a9c3d8;font-size:10px;font-weight:700;cursor:pointer}
#game-tutorial{display:none!important}
#game-tutorial:not([hidden])~#manager-assistant{bottom:calc(210px + env(safe-area-inset-bottom))}
@keyframes manager-arrive{from{transform:translateY(16px) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
@keyframes manager-pop{from{transform:translateY(7px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
@keyframes manager-focus{0%{box-shadow:0 0 0 0 rgba(93,218,255,.65)}50%{box-shadow:0 0 0 5px rgba(93,218,255,.25)}100%{box-shadow:0 0 0 0 rgba(93,218,255,0)}}
@media(max-width:560px){.manual-order{flex:1 1 100%;width:100%;grid-template-columns:minmax(58px,.7fr) minmax(90px,1fr) auto;gap:5px}.product-actions{flex-wrap:wrap}.price-form{margin-left:auto}.order-source{height:38px;border-radius:9px;font-size:11px}.order-summary{font-size:9px}.manager-button{width:52px;height:52px}.manager-panel{width:min(330px,calc(100vw - 24px));padding:12px}.manager-message{font-size:12px}.manager-go{height:42px}}
@media(max-width:360px){.manual-order{grid-template-columns:58px minmax(80px,1fr) auto}.manual-order .buy-button{min-width:50px;padding:0 5px}.order-source{padding:0 3px}}

/* Guest welcome and registration screen */
body{margin-left:auto;margin-right:auto}
body.auth-page{background:radial-gradient(ellipse at 50% 5%,rgba(39,147,203,.3),transparent 34%),linear-gradient(160deg,#071b35 0%,#0a3156 52%,#06182d 100%);color:#f2f8ff}
body.auth-page:before{content:'';position:fixed;inset:0;pointer-events:none;opacity:.2;background-image:radial-gradient(#83dfff 1px,transparent 1px);background-size:27px 27px;mask-image:linear-gradient(180deg,#000,transparent 78%)}
.auth-shell{position:relative;z-index:1;width:min(100%,480px);max-width:480px;min-height:100dvh;margin:0 auto;grid-template-columns:1fr;align-content:start;gap:15px;padding:18px 14px calc(24px + env(safe-area-inset-bottom));background:transparent;color:#f1f7ff}
.auth-intro{padding:0 2px}
.auth-brandline{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.auth-brandline .brand-mark{width:42px;height:42px;flex:0 0 42px;margin:0;border:1px solid rgba(129,218,255,.28);border-radius:14px;background:linear-gradient(145deg,#164d78,#0b2c4d);box-shadow:0 7px 18px rgba(0,0,0,.18);font-size:21px}
.auth-brandname{display:grid;gap:1px}.auth-brandname strong{font-size:14px;letter-spacing:-.02em}.auth-brandname span{color:#7da9cb;font-size:8px;font-weight:800;letter-spacing:.15em}
.auth-live{display:flex;align-items:center;gap:6px;margin-left:auto;padding:7px 9px;border:1px solid rgba(105,212,255,.18);border-radius:30px;background:rgba(26,94,137,.32);color:#a8d8f4;font-size:7px;font-weight:800;letter-spacing:.07em;white-space:nowrap}.auth-live i{width:6px;height:6px;border-radius:50%;background:#51e1b0;box-shadow:0 0 10px #51e1b0}
.auth-intro .hero-art{position:relative;overflow:hidden;height:172px;margin:0 0 15px;border:1px solid rgba(137,216,255,.26);border-radius:20px;background-image:linear-gradient(0deg,rgba(4,18,36,.58),rgba(5,20,37,.04) 70%),url('/assets/art/city-supermarket.jpg');background-size:cover;background-position:center 62%;box-shadow:0 15px 35px rgba(0,0,0,.22)}
.hero-art-tag{position:absolute;left:11px;bottom:11px;padding:7px 10px;border:1px solid rgba(199,238,255,.2);border-radius:30px;background:rgba(5,26,47,.65);color:#d9f5ff;font-size:8px;font-weight:800;letter-spacing:.12em;backdrop-filter:blur(8px)}
.auth-intro>.eyebrow{margin:0 0 5px;color:#80cbf4;font-size:9px}.auth-intro h1{margin:0 0 7px;color:#f3f8ff;font-size:29px;line-height:1.12;letter-spacing:-.045em}.auth-intro h1 span{color:#74ddff;text-shadow:0 0 25px rgba(70,192,240,.28)}.auth-intro .lead{max-width:390px;margin:0;color:#b7cce0;font-size:12px;line-height:1.55}
.intro-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0 0}.intro-stats div{min-height:52px;align-content:center;gap:1px;padding:7px 9px;border:1px solid rgba(132,191,229,.15);border-radius:12px;background:linear-gradient(145deg,rgba(25,69,105,.62),rgba(11,40,69,.74))}.intro-stats strong{color:#8de4ff;font-size:16px;line-height:1.1}.intro-stats span{color:#9bb7d0;font-size:8px;line-height:1.3}
.auth-card{padding:17px;border:1px solid rgba(151,207,241,.18);border-radius:19px;background:linear-gradient(150deg,rgba(17,47,78,.97),rgba(10,33,58,.98));box-shadow:0 16px 38px rgba(0,0,0,.2)}
.auth-card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.auth-card-heading .eyebrow{margin-bottom:4px;color:#80cbf4;font-size:8px}.auth-card h2{margin:0;color:#f3f8ff;font-size:20px;letter-spacing:-.035em}.auth-step{padding:6px 8px;border:1px solid rgba(110,207,251,.17);border-radius:9px;background:rgba(24,91,132,.25);color:#89e1ff;font-size:10px;font-weight:900}.auth-step i{color:#6487a5;font-style:normal;font-size:8px}
.auth-card>.muted{margin:7px 0 14px;color:#a8bfd5;font-size:10px;line-height:1.5}.auth-card>.muted strong{color:#e7f6ff}.auth-form{gap:10px}.auth-form label.auth-field{gap:5px;color:#c7d9e9;font-size:10px}.auth-field-title{display:flex;align-items:center;gap:7px}.auth-field-title svg,.login-summary-icon svg,.auth-form button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-field-title svg{color:#74cbee}
.auth-form input,.auth-form select{height:44px;border:1px solid rgba(147,190,221,.2);border-radius:11px;background:#081f38;color:#edf6ff;padding:0 12px;font-size:12px;box-shadow:inset 0 1px 1px rgba(0,0,0,.12)}.auth-form select{padding-right:32px}.auth-form input::placeholder{color:#718ca6}.auth-form input:focus,.auth-form select:focus{border-color:#5dc9f4;box-shadow:0 0 0 3px rgba(67,185,233,.14)}.field-hint{color:#91aac1;font-size:8px;line-height:1.45}
.signup-button,.auth-form .secondary-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:46px;border:1px solid rgba(146,236,255,.3);border-radius:12px;background:linear-gradient(105deg,#1689c2,#28b5cf);box-shadow:0 8px 20px rgba(15,142,190,.2);color:#fff;font-size:11px;font-weight:900}.signup-button svg,.auth-form .secondary-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.auth-card .notice{margin:0 0 10px}
.login-details{margin-top:12px;border:1px solid rgba(145,194,225,.14);border-radius:13px;background:rgba(5,24,44,.42);overflow:hidden}.login-details summary{display:flex;align-items:center;gap:9px;padding:10px;list-style:none;cursor:pointer}.login-details summary::-webkit-details-marker{display:none}.login-summary-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(48,149,197,.17);color:#8adfff}.login-summary-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-details summary>span:nth-child(2){display:grid;gap:1px}.login-details summary strong{color:#e4f2ff;font-size:10px}.login-details summary small{color:#87a4bd;font-size:8px}.login-details summary>b{margin-left:auto;color:#71d5fa;font-size:9px}.login-details summary>b i{font-style:normal;font-size:13px}.login-details[open] summary{border-bottom:1px solid rgba(145,194,225,.12)}.login-form{padding:12px}.login-form .secondary-button{margin-top:2px;background:linear-gradient(105deg,#15547f,#1778a5)}
.auth-divider{margin:13px 0;color:#86a5bd}.auth-divider:before,.auth-divider:after{background:rgba(145,194,225,.15)}
.tour-card{padding:17px;border:1px solid rgba(122,208,250,.22);border-radius:18px;background:linear-gradient(145deg,#133b61,#0b2948);box-shadow:0 18px 45px rgba(0,0,0,.36)}.tour-topline{margin-bottom:10px}.tour-count{color:#78d9ff;font-size:9px}.tour-skip{padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.06);color:#a9c3d8;font-size:9px}.tour-progress{height:5px;margin:0 0 12px;border-radius:8px;background:rgba(136,190,222,.15);overflow:hidden}.tour-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#45d9bd,#73ddff);transition:width .25s ease}.tour-card h2{color:#f0f8ff;font-size:17px}.tour-copy{color:#c0d5e7;font-size:11px;line-height:1.55}.tour-controls{margin-top:13px}.tour-back{font-size:10px}.tour-next{height:40px;border-radius:10px;font-size:10px}.tour-note{margin:8px 0 0;color:#7f9bb3;font-size:8px}
@media(max-width:560px){.auth-shell{width:100%;max-width:480px;padding:calc(12px + env(safe-area-inset-top)) 13px calc(18px + env(safe-area-inset-bottom));gap:12px}.auth-intro .hero-art{height:150px;margin-bottom:12px;border-radius:17px}.auth-intro h1{font-size:27px}.intro-stats{gap:6px;margin-top:10px}.intro-stats div{min-height:47px;padding:6px 7px;border-radius:10px}.auth-card{padding:15px;border-radius:17px}.auth-card h2{font-size:19px}.auth-form{gap:9px}.auth-form input,.auth-form select{height:44px}.signup-button{height:46px}.tour-card{padding:15px;border-radius:16px}.tour-note{font-size:8px}}
@media(max-width:360px){.auth-shell{padding-left:10px;padding-right:10px}.auth-intro .hero-art{height:128px}.auth-intro h1{font-size:24px}.auth-live{font-size:6px;padding:6px 7px}.auth-card{padding:12px}.intro-stats span{font-size:7px}}
.shift-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(102,205,248,.2);border-radius:12px;background:linear-gradient(145deg,#123d62,#0a2b4a);color:#b9d9ef;white-space:nowrap}.shift-pill>i{width:6px;height:6px;border-radius:50%;background:#52e0ad;box-shadow:0 0 8px rgba(82,224,173,.7)}.shift-pill small{color:#8eacc5;font-size:7px;font-weight:900;letter-spacing:.09em}.shift-pill strong{color:#85e5ff;font-size:12px;font-variant-numeric:tabular-nums}.shift-auto-note{display:grid;grid-template-columns:25px 1fr;gap:2px 8px;align-items:center;margin-top:8px;padding:9px;border:1px solid rgba(103,196,237,.13);border-radius:11px;background:rgba(6,32,57,.42)}.shift-auto-note>span{grid-row:span 2;display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:rgba(53,157,194,.15);color:#79dcf6;font-size:17px}.shift-auto-note strong{color:#d8ebf8;font-size:9px}.shift-auto-note small{color:#91abc1;font-size:8px;line-height:1.4}
@media(max-width:560px){.topbar-right{gap:6px}.shift-pill{gap:4px;padding:6px 7px;border-radius:10px}.shift-pill small{font-size:6px}.shift-pill strong{font-size:11px}.day-pill{padding:6px 8px;font-size:8px}.back-link{font-size:8px}}
.tutorial-highlight{position:relative!important;z-index:2001!important;outline:3px solid #ffdf72!important;outline-offset:4px!important;border-radius:12px!important;box-shadow:0 0 0 8px rgba(255,223,114,.2),0 0 30px rgba(255,205,75,.48)!important;filter:none!important;animation:tutorial-pulse 1.4s ease-in-out infinite alternate}.business-card.tutorial-highlight{overflow:visible!important}.tutorial-highlight:after{content:attr(data-tour-label);position:absolute;z-index:2003;top:-8px;left:8px;transform:translateY(-100%);padding:6px 9px;border:1px solid rgba(255,238,176,.6);border-radius:8px;background:#ffdf72;color:#25364a;font:900 8px/1.1 system-ui,sans-serif;letter-spacing:.07em;white-space:nowrap;box-shadow:0 5px 16px rgba(0,0,0,.25);pointer-events:none}.shift-pill.tutorial-highlight:after{top:auto;bottom:-8px;transform:translateY(100%)}#game-tutorial{z-index:2002}.tour-card .tour-note{margin:10px 0 0;padding-top:8px;border-top:1px solid rgba(147,198,230,.14);color:#9bb5cc;font-size:9px;line-height:1.45}.tour-card .tour-skip{border:1px solid rgba(159,207,236,.12);border-radius:8px;background:rgba(255,255,255,.06);color:#a9c3d8}.tour-card .tour-count{font-size:9px;font-variant-numeric:tabular-nums}.tour-progress{height:6px;margin-bottom:11px}.tour-progress i{background:linear-gradient(90deg,#ffe078,#ffbd52)}
@keyframes tutorial-pulse{from{box-shadow:0 0 0 6px rgba(255,223,114,.16),0 0 18px rgba(255,205,75,.3)}to{box-shadow:0 0 0 10px rgba(255,223,114,.26),0 0 34px rgba(255,205,75,.62)}}

/* Creator admin screen */
.admin-entry{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(105,210,255,.25);border-radius:11px;background:linear-gradient(145deg,rgba(31,111,157,.45),rgba(12,51,83,.8));color:#c9f2ff;text-decoration:none;font-size:10px;white-space:nowrap;box-shadow:inset 0 1px rgba(255,255,255,.05)}.admin-entry span{display:grid;place-items:center;width:19px;height:19px;border-radius:7px;background:rgba(92,203,239,.14);color:#79ddff;font-size:13px}.admin-entry b{font-weight:850}.admin-entry:hover{border-color:rgba(117,222,255,.52);background:linear-gradient(145deg,rgba(36,132,179,.52),rgba(13,61,96,.9))}
.admin-view{display:grid;gap:14px;max-width:1050px;margin:4px auto 0}.admin-view .panel{padding:17px;border:1px solid rgba(140,195,229,.15);border-radius:17px;background:linear-gradient(145deg,rgba(17,48,78,.96),rgba(10,33,57,.97));box-shadow:0 12px 28px rgba(0,0,0,.12)}.admin-welcome{background:radial-gradient(ellipse at 100% 0,rgba(39,143,184,.17),transparent 45%),linear-gradient(145deg,rgba(17,48,78,.98),rgba(10,33,57,.98))!important}.admin-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.admin-panel-heading h2,.admin-view .panel-heading h2{margin:0;color:#f1f7ff;font-size:19px;letter-spacing:-.035em}.admin-panel-heading .muted{margin:6px 0 0;color:#a9c1d6;font-size:10px;line-height:1.5}.creator-status{flex:0 0 auto;padding:8px 10px;border:1px solid rgba(74,218,177,.22);border-radius:10px;background:rgba(28,138,111,.13);color:#7ee1be;font-size:9px;font-weight:800}.creator-status:before{content:'';display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#55dfae}.creator-status.is-maintenance{border-color:rgba(255,190,100,.25);background:rgba(160,103,36,.16);color:#ffd18b}.creator-status.is-maintenance:before{background:#ffbd65}
.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}.admin-stat{display:grid;gap:5px;min-height:83px;align-content:center;padding:12px;border:1px solid rgba(133,190,223,.13);border-radius:12px;background:rgba(5,25,45,.45)}.admin-stat>span{color:#83a9c5;font-size:8px;font-weight:900;letter-spacing:.1em}.admin-stat strong{color:#f2f8ff;font-size:22px;line-height:1.1}.admin-stat small{color:#8daac2;font-size:9px}.admin-stat strong.admin-open{color:#6fe0b8;font-size:15px}.admin-stat strong.admin-maintenance-on{color:#ffc879;font-size:15px}.admin-view .panel-heading{margin-bottom:11px}.admin-control-icon{display:grid;place-items:center;width:33px;height:33px;border:1px solid rgba(99,207,241,.15);border-radius:11px;background:rgba(39,130,168,.13);color:#77d8f7}.admin-controls>.muted{max-width:710px;margin:0 0 13px;color:#9bb5ca;font-size:10px;line-height:1.55}.admin-maintenance-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.admin-maintenance-form label{display:grid;gap:6px;color:#b9cfe0;font-size:9px;font-weight:750}.admin-maintenance-form input{width:100%;height:40px;padding:0 11px;border:1px solid rgba(138,186,216,.18);border-radius:10px;background:#081f38;color:#ecf6ff;font-size:10px}.admin-maintenance-form input:focus{outline:2px solid rgba(82,197,238,.24);border-color:#5dc9f4}.admin-maintenance-form .secondary-button,.admin-toggle-form button{min-height:40px;padding:0 13px;border-radius:10px;font-size:9px}.admin-toggle-form{margin-top:10px}.admin-accounts .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.admin-account-list{display:grid}.admin-account-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:9px;min-height:48px;border-top:1px solid rgba(136,183,211,.1);color:#e6f1fa;font-size:10px}.admin-avatar{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(113,207,239,.18);border-radius:9px;background:linear-gradient(145deg,#1d6284,#123b60);color:#a6edff;font-size:11px;font-weight:900}.admin-role{padding:4px 7px;border-radius:20px;background:rgba(77,160,197,.12);color:#8fc9e2;font-size:8px}.admin-account-row time{color:#819db4;font-size:9px;font-variant-numeric:tabular-nums}.admin-entry:focus-visible,.admin-view button:focus-visible,.admin-view input:focus-visible{outline:2px solid #71d8ff;outline-offset:2px}
@media(max-width:700px){.admin-view{gap:10px}.admin-view .panel{padding:14px;border-radius:15px}.admin-panel-heading h2,.admin-view .panel-heading h2{font-size:17px}.admin-stats{gap:7px;margin-top:13px}.admin-stat{min-height:72px;padding:9px}.admin-stat strong{font-size:19px}.admin-stat small{font-size:8px}.admin-maintenance-form{grid-template-columns:1fr}.admin-maintenance-form .secondary-button{width:100%}}
@media(max-width:560px){.topbar-right .admin-entry{gap:5px;padding:6px 8px;border-radius:9px;font-size:8px}.admin-entry span{width:17px;height:17px;font-size:11px}.admin-view .panel{padding:12px}.admin-panel-heading{gap:7px}.admin-panel-heading .eyebrow{font-size:8px}.admin-panel-heading h2,.admin-view .panel-heading h2{font-size:15px}.admin-panel-heading .muted{font-size:9px}.creator-status{max-width:116px;padding:7px 8px;font-size:7px;line-height:1.3}.admin-stats{gap:6px}.admin-stat{min-height:66px;padding:8px 7px;border-radius:10px}.admin-stat>span{font-size:6px;letter-spacing:.06em}.admin-stat strong{font-size:17px}.admin-stat strong.admin-open,.admin-stat strong.admin-maintenance-on{font-size:11px}.admin-stat small{font-size:7px;line-height:1.3}.admin-controls>.muted{font-size:9px}.admin-account-row{grid-template-columns:27px minmax(0,1fr) auto;gap:7px;min-height:44px;font-size:9px}.admin-avatar{width:25px;height:25px}.admin-role{display:none}.admin-account-row time{font-size:8px}}

/* City map, business placement, and role based store staffing */
.city-map-view{display:grid;gap:12px}.city-map-view .panel{padding:14px;border:1px solid rgba(135,194,229,.15);border-radius:16px;background:linear-gradient(145deg,#112d4c,#0b2039)}.city-map-view .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.city-map-view .panel-heading h2{margin:0;color:#eef7ff;font-size:16px}.city-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:11px}.city-tab{display:grid;grid-template-columns:27px minmax(0,1fr);align-items:center;gap:0 7px;padding:8px;border:1px solid rgba(135,190,224,.12);border-radius:11px;background:rgba(5,23,42,.52);color:#e7f3fc;text-decoration:none}.city-tab>span{grid-row:span 2;font-size:18px}.city-tab strong{font-size:10px}.city-tab small{color:#89a8c1;font-size:7px}.city-tab.selected{border-color:rgba(91,210,250,.48);background:linear-gradient(145deg,rgba(28,108,151,.5),rgba(10,46,77,.85));box-shadow:inset 0 0 0 1px rgba(105,220,255,.08)}.city-map-art{position:relative;isolation:isolate;overflow:hidden;min-height:290px;padding:13px;border:1px solid rgba(102,168,204,.18);border-radius:14px;background:radial-gradient(ellipse at 15% 18%,rgba(42,115,95,.35),transparent 23%),radial-gradient(ellipse at 80% 72%,rgba(40,112,91,.28),transparent 28%),linear-gradient(135deg,#142c3e,#193349 43%,#102839);box-shadow:inset 0 0 35px rgba(0,0,0,.18)}.map-water{position:absolute;z-index:-1;top:-35px;right:-30px;width:130px;height:360px;transform:rotate(32deg);border-radius:50%;background:linear-gradient(90deg,rgba(42,123,164,.2),rgba(35,104,145,.43),rgba(42,123,164,.18));filter:blur(2px)}.map-road{position:absolute;z-index:-1;height:12px;border:3px solid rgba(162,179,170,.18);border-width:3px 0;transform:rotate(-24deg);background:#293e48}.road-one{top:37%;left:-15%;width:135%}.road-two{top:67%;left:-10%;width:125%;transform:rotate(19deg)}.road-three{top:7%;left:49%;width:110%;transform:rotate(76deg)}.map-district-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.map-district{position:relative;display:grid;gap:3px;min-height:79px;padding:9px;border:1px solid rgba(170,210,223,.14);border-radius:11px;background:linear-gradient(145deg,rgba(36,75,80,.84),rgba(24,51,66,.89));color:#eff8fb;text-decoration:none;box-shadow:0 6px 15px rgba(0,0,0,.12)}.map-district:nth-child(even){transform:translateY(9px)}.map-district.selected{border-color:#73d8fa;background:linear-gradient(145deg,rgba(37,129,156,.9),rgba(22,70,97,.94));box-shadow:0 0 0 2px rgba(94,208,245,.2),0 0 22px rgba(44,174,217,.15)}.map-district.full{opacity:.56}.map-pin{position:absolute;right:8px;top:7px;color:#91e7ff;font-size:11px}.map-district strong{max-width:85%;font-size:9px;line-height:1.25}.map-district small{color:#b3cad5;font-size:7px}.map-district i{color:#6ee0b9;font-size:7px;font-style:normal}.map-city-label{display:block;margin-top:20px;color:#b1ccda;font-size:9px;font-weight:800;text-align:right}.demand-badge{padding:7px 9px;border:1px solid rgba(96,217,184,.2);border-radius:20px;background:rgba(24,128,103,.13);color:#83e4c1;font-size:8px;font-weight:850;white-space:nowrap}.competitor-list{display:grid;gap:7px;margin:4px 0 13px;padding:10px;border:1px solid rgba(132,183,213,.12);border-radius:11px;background:rgba(4,22,39,.35)}.competitor-list>strong{color:#c6d9e8;font-size:9px}.competitor-list>div{display:flex;flex-wrap:wrap;gap:5px}.competitor-chip{padding:5px 7px;border:1px solid rgba(141,190,218,.12);border-radius:8px;background:rgba(31,74,105,.32);color:#a9c5d9;font-size:7px}.competitor-chip.own{border-color:rgba(67,206,163,.22);color:#7be0bd}.competitor-list>small,.map-cost-note{margin:0;color:#87a5bd;font-size:8px;line-height:1.45}.map-store-form{display:grid;gap:9px}.map-store-form label{display:grid;gap:5px;color:#c3d8e8;font-size:9px;font-weight:750}.map-store-form select,.map-store-form input{width:100%;min-width:0;height:40px;padding:0 10px;border:1px solid rgba(141,191,220,.18);border-radius:10px;background:#081f38;color:#eef7ff;font-size:9px}.map-store-form input{height:38px}.map-store-form .full-button{width:100%;justify-content:center;gap:8px;text-decoration:none}.map-store-form button:disabled{opacity:.45}.map-cost-note{padding:8px 9px;border-left:2px solid #62d3f0;background:rgba(50,131,166,.1)}.map-launch-card{display:block;color:inherit;text-decoration:none}.map-launch-card .primary-button{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 8px;text-decoration:none}.map-launch-card small{color:#87a5bd;font-size:8px}.business-art{position:relative}.business-state{position:absolute;right:8px;top:8px;padding:5px 7px;border:1px solid rgba(111,226,191,.25);border-radius:20px;background:rgba(4,34,40,.66);color:#80e3c0;font-size:6px;font-weight:900;letter-spacing:.07em}.business-state.is-closed{border-color:rgba(255,190,112,.25);color:#ffd18a}.staffing-panel{margin:0 0 11px;padding:12px;border:1px solid rgba(112,188,226,.15);border-radius:13px;background:linear-gradient(145deg,rgba(16,43,71,.8),rgba(7,27,49,.9))}.staffing-heading{display:flex;align-items:center;justify-content:space-between;gap:7px}.staffing-heading h3{margin:0;color:#eff7ff;font-size:13px}.staffing-heading .eyebrow{margin:0 0 3px;color:#7db5d7;font-size:7px}.staffing-state{padding:6px 8px;border-radius:20px;font-size:7px;font-weight:850;white-space:nowrap}.staffing-state.ready{border:1px solid rgba(76,220,175,.22);background:rgba(37,139,108,.13);color:#83e4c1}.staffing-state.needs-staff{border:1px solid rgba(255,188,108,.23);background:rgba(139,91,34,.15);color:#ffd08b}.staffing-intro{margin:7px 0 8px;color:#92adc3;font-size:8px;line-height:1.45}.staff-role-list{display:grid}.staff-role-row{display:grid;grid-template-columns:25px minmax(0,1fr) 28px 28px;align-items:center;gap:5px;min-height:43px;border-top:1px solid rgba(129,178,208,.1)}.staff-role-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:rgba(55,119,158,.15);font-size:12px}.staff-role-copy{display:grid;gap:2px;min-width:0}.staff-role-copy strong{overflow:hidden;color:#dceaf6;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.staff-role-copy small{color:#88a4bc;font-size:7px;line-height:1.25}.staff-role-row.role-shortage .staff-role-copy strong{color:#ffd18b}.staff-role-row .mini-action{width:27px;min-width:27px;height:27px;border-radius:8px}.staff-role-row button:disabled{opacity:.35}.staff-cost-summary{display:flex;justify-content:space-between;gap:8px;margin-top:7px;padding:8px;border-radius:9px;background:rgba(5,20,37,.55);color:#91aec5;font-size:8px}.staff-cost-summary b{color:#cce8f8}.staff-expense-note{margin:7px 1px 0;color:#819db4;font-size:7px;line-height:1.45}.business-departments{line-height:1.55}
@media(max-width:370px){.city-map-view .panel{padding:10px}.city-tab{padding:7px;grid-template-columns:23px minmax(0,1fr)}.city-tab>span{font-size:15px}.map-district{min-height:74px;padding:7px}.map-district strong{font-size:8px}.staffing-panel{padding:10px}.staff-role-row{grid-template-columns:22px minmax(0,1fr) 25px 25px;gap:4px}.staff-role-row .mini-action{width:24px;min-width:24px;height:24px}}
.history-expenses{grid-column:1/-1;color:#8ea9c0;font-size:7px;line-height:1.4}

/* Game styled, pannable district map */
.city-tabs{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 7px;scrollbar-width:thin;scrollbar-color:#286486 transparent}.city-tab{flex:0 0 132px;min-height:52px;grid-template-columns:24px minmax(0,1fr);padding:7px 9px;border-color:rgba(115,180,217,.15);border-radius:12px;background:linear-gradient(145deg,#122e4d,#0b2039)}.city-tab>span{font-size:16px}.city-tab strong{font-size:9px;color:#e9f4ff}.city-tab small{font-size:7px;color:#87acc7}.city-tab.selected{border-color:rgba(90,207,247,.52);background:linear-gradient(130deg,#14527a,#103653);box-shadow:0 5px 15px rgba(13,105,155,.16),inset 0 1px rgba(210,245,255,.08)}.map-instruction{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:8px 10px;border:1px solid rgba(111,187,225,.12);border-radius:10px;background:linear-gradient(90deg,rgba(19,56,86,.8),rgba(11,37,63,.55))}.map-instruction>span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:rgba(57,159,197,.17);color:#85e2ff;font-size:17px}.map-instruction div{display:grid;gap:2px}.map-instruction strong{color:#e1f1fc;font-size:8px}.map-instruction small{color:#87a8c2;font-size:7px}.map-instruction>i{margin-left:auto;color:#8de0be;font-size:8px;font-style:normal;font-weight:850}.city-map-viewport{height:315px;overflow:auto;border:1px solid rgba(109,177,215,.22);border-radius:14px;background:#102a3b;box-shadow:inset 0 0 22px rgba(0,0,0,.22);scrollbar-width:thin;scrollbar-color:#31769a #0b2034;overscroll-behavior:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;cursor:grab}.city-map-viewport.is-dragging{cursor:grabbing;user-select:none}.city-map-canvas{position:relative;isolation:isolate;width:760px;height:520px;overflow:hidden;background:radial-gradient(ellipse at 28% 24%,rgba(49,109,101,.3),transparent 23%),radial-gradient(ellipse at 78% 75%,rgba(45,112,92,.22),transparent 24%),linear-gradient(135deg,#17384a,#153044 50%,#102b3e)}.city-map-canvas:after{position:absolute;z-index:0;inset:0;content:"";pointer-events:none;background-image:linear-gradient(rgba(127,179,187,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(127,179,187,.035) 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(90deg,#000,transparent 95%)}.city-map-canvas .map-water{z-index:0;top:-95px;right:54px;width:138px;height:710px;transform:rotate(29deg);background:linear-gradient(90deg,rgba(22,91,132,.42),rgba(40,128,164,.5),rgba(22,91,132,.32));filter:none}.map-city-blocks{position:absolute;z-index:1;inset:20px 30px;display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(4,1fr);gap:18px 21px;transform:rotate(-4deg);opacity:.92}.map-city-blocks i{border:1px solid rgba(151,190,161,.12);border-radius:5px;background:linear-gradient(145deg,rgba(73,111,88,.7),rgba(40,79,73,.74));box-shadow:inset 0 0 0 3px rgba(181,190,144,.035),0 4px 9px rgba(0,0,0,.1)}.map-city-blocks i:nth-child(3n){background:linear-gradient(145deg,rgba(82,102,82,.76),rgba(45,76,66,.72))}.map-city-blocks i:nth-child(4n){background:linear-gradient(145deg,rgba(59,99,93,.72),rgba(37,69,72,.76))}.map-city-blocks i:nth-child(5n){background:linear-gradient(145deg,rgba(86,106,84,.7),rgba(45,79,67,.78))}.city-map-canvas .map-road{z-index:2;border:0;border-radius:20px;background:#a5a995;box-shadow:0 0 0 3px rgba(36,53,59,.78),inset 0 0 0 2px rgba(241,220,164,.3);opacity:.62}.city-map-canvas .road-one{top:43%;left:-5%;width:110%;height:17px;transform:rotate(-7deg)}.city-map-canvas .road-two{top:-20%;left:51%;width:17px;height:140%;transform:rotate(17deg)}.city-map-canvas .road-three{top:68%;left:-5%;width:110%;height:12px;transform:rotate(13deg)}.city-map-canvas .road-four{top:6%;left:15%;width:82%;height:10px;transform:rotate(24deg)}.city-map-canvas .map-city-label{position:absolute;z-index:3;right:15px;bottom:12px;margin:0;padding:7px 10px;border:1px solid rgba(167,214,232,.18);border-radius:9px;background:rgba(7,27,44,.76);color:#d8eef8;font-size:8px;backdrop-filter:blur(8px)}.map-district-grid{position:absolute;z-index:4;inset:0}.map-district{position:absolute;display:block;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;opacity:1;transform:none;color:inherit;overflow:visible}.map-district:nth-child(even){transform:none}.map-district.selected{border:0;background:none;box-shadow:none}.map-district.full{opacity:.56}.map-district.point-1{top:16%;left:23%}.map-district.point-2{top:51%;left:10%}.map-district.point-3{top:29%;left:66%}.map-district.point-4{top:76%;left:40%}.map-district.point-5{top:65%;left:79%}.map-pin{position:relative;inset:auto;display:grid;place-items:center;width:34px;height:34px;margin:0 auto;transform:rotate(-45deg);border:2px solid rgba(231,251,255,.8);border-radius:50% 50% 50% 4px;background:linear-gradient(145deg,#39c5df,#1683b5);box-shadow:0 5px 15px rgba(0,0,0,.35),0 0 0 4px rgba(66,190,222,.13);color:#fff;font-size:15px;transition:transform .18s,box-shadow .18s}.map-district.selected .map-pin{transform:rotate(-45deg) scale(1.2);border-color:#fff0b0;background:linear-gradient(145deg,#ffd36d,#ee9c44);box-shadow:0 0 0 6px rgba(255,193,84,.2),0 8px 22px rgba(0,0,0,.4);color:#fff}.map-point-label{position:absolute;top:36px;left:50%;display:grid;gap:3px;min-width:122px;max-width:154px;padding:6px 8px;transform:translateX(-50%);border:1px solid rgba(141,194,216,.2);border-radius:8px;background:rgba(7,25,42,.9);box-shadow:0 5px 14px rgba(0,0,0,.22);text-align:center;backdrop-filter:blur(6px)}.map-point-label strong{color:#dceefa;font-size:8px;line-height:1.2}.map-point-label small{color:#8eb5c7;font-size:7px;white-space:nowrap}.map-district.selected .map-point-label{border-color:rgba(255,204,104,.53);background:rgba(35,48,57,.94);box-shadow:0 0 18px rgba(255,184,76,.15)}.map-district.full .map-pin{filter:grayscale(.7)}.map-district:hover .map-pin{filter:brightness(1.18)}
/* Unified staff management cards */
.staffing-panel{margin:0 0 12px;padding:13px;border:1px solid rgba(101,185,228,.2);border-radius:15px;background:radial-gradient(ellipse at 100% 0,rgba(37,122,160,.12),transparent 43%),linear-gradient(150deg,#102d4c,#0a2038);box-shadow:0 8px 22px rgba(0,0,0,.12)}.staffing-heading h3{font-size:14px;letter-spacing:-.025em}.staffing-heading .eyebrow{font-size:7px;letter-spacing:.15em}.staffing-state{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;font-size:7px;letter-spacing:.025em}.staffing-state:before{width:6px;height:6px;border-radius:50%;background:currentColor;content:"";box-shadow:0 0 7px currentColor}.staffing-intro{margin:8px 0 10px;color:#a5bfd3;font-size:8px}.staff-role-list{grid-template-columns:1fr 1fr;gap:6px}.staff-role-row{position:relative;grid-template-columns:25px minmax(0,1fr) 25px 25px;gap:4px;min-height:55px;padding:6px;border:1px solid rgba(123,175,206,.12);border-radius:10px;background:linear-gradient(145deg,rgba(15,49,79,.74),rgba(7,29,51,.8))}.staff-role-row.role-shortage{border-color:rgba(255,184,100,.27);background:linear-gradient(145deg,rgba(79,57,43,.36),rgba(13,34,53,.88))}.staff-role-icon{width:24px;height:24px;border:1px solid rgba(115,200,229,.14);border-radius:8px;background:rgba(48,133,168,.16);font-size:12px}.staff-role-copy strong{font-size:7px;white-space:normal;line-height:1.15}.staff-role-copy small{font-size:6px;line-height:1.3}.staff-role-row .mini-action{width:24px;min-width:24px;height:24px;border:1px solid rgba(103,193,227,.16);border-radius:7px;background:rgba(37,118,153,.22);color:#a5e8ff;font-size:12px}.staff-role-row .mini-action.muted-action{background:rgba(95,118,139,.12);color:#99afc2}.staff-role-row button:disabled{opacity:.28}.staff-cost-summary{margin-top:9px;padding:8px 9px;border:1px solid rgba(110,172,203,.12);border-radius:9px;background:rgba(4,21,38,.56);color:#9bb8ce;font-size:7px}.staff-cost-summary b{color:#c9efff;font-size:8px}.staff-expense-note{margin-top:8px;padding:8px 9px;border-radius:8px;background:rgba(44,105,138,.1);color:#92acc1;font-size:7px}
/* Clearer catalog product cards and controls */
.inventory-panel{padding:14px;border:1px solid rgba(132,188,221,.15);border-radius:16px;background:linear-gradient(150deg,#102b49,#0b2038);box-shadow:0 10px 22px rgba(0,0,0,.1)}.inventory-panel .panel-heading{margin-bottom:11px}.inventory-panel .panel-heading h2{color:#eef7ff;font-size:17px}.category-filter{gap:7px;margin-bottom:12px;padding:10px;border:1px solid rgba(100,174,211,.16);border-radius:12px;background:linear-gradient(145deg,rgba(20,58,89,.72),rgba(8,31,53,.78))}.category-filter>label{color:#a9c6db;font-size:8px}.category-filter select{height:38px;border-color:rgba(123,186,219,.18);border-radius:9px;background:#091f36;color:#e6f3fc;font-size:9px}.category-filter .buy-button{height:38px;border-radius:9px}.product-list{display:grid;gap:8px}.product-row{position:relative;grid-template-columns:34px minmax(0,1fr);gap:7px 9px;padding:10px;border:1px solid rgba(123,178,210,.13);border-radius:12px;background:linear-gradient(145deg,rgba(17,48,77,.82),rgba(8,29,50,.88));box-shadow:inset 0 1px rgba(255,255,255,.025)}.product-row:has(.unavailable-badge){opacity:.58}.product-emoji{width:34px;height:34px;border:1px solid rgba(136,198,224,.15);border-radius:10px;background:rgba(45,112,148,.17)}.product-main{min-width:0}.product-title strong{color:#eaf5ff;font-size:9px}.stock-count{padding:4px 6px;border:1px solid rgba(88,205,166,.14);border-radius:7px;background:rgba(36,137,109,.11);color:#88dfbd;font-size:7px}.stock-count.low-stock{border-color:rgba(255,179,96,.19);background:rgba(149,88,38,.12);color:#ffd08b}.stock-track{height:4px;margin:5px 0}.stock-track i{background:linear-gradient(90deg,#39b7d7,#6be0bd)}.product-meta{color:#8fabbe;font-size:7px}.product-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px;margin-top:4px;padding-top:8px;border-top:1px solid rgba(116,167,195,.1)}.manual-order{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:6px}.manual-order label,.price-form label{gap:4px;color:#9fbbd0;font-size:7px}.manual-order input,.price-form input{width:100%;height:34px;border:1px solid rgba(126,180,211,.18);border-radius:8px;background:#071d33;color:#eff8ff;font-size:9px}.manual-order select{height:34px;padding:0 6px;border:1px solid rgba(126,180,211,.18);border-radius:8px;background:#071d33;color:#e6f3fc;font-size:8px}.manual-order .buy-button{height:34px;min-width:60px;border:1px solid rgba(105,226,255,.18);border-radius:8px;background:linear-gradient(130deg,#1685b5,#176b9b);font-size:8px}.order-summary{grid-column:1/-1;padding:6px 7px;border-radius:7px;background:rgba(4,21,38,.58);color:#8eacc3;font-size:6px;line-height:1.4}.order-summary.needs-loaders{border:1px solid rgba(255,174,94,.25);color:#ffd08b}.price-form{display:grid;grid-template-columns:minmax(0,1fr) 31px;align-items:end;gap:5px}.price-form input{height:34px}.save-price{height:34px;width:31px;border:1px solid rgba(72,210,164,.2);border-radius:8px;background:rgba(23,124,98,.24);color:#81e4c0}.product-actions .buy-button:disabled,.staff-role-row button:disabled{filter:grayscale(.4)}.history-expenses{padding:5px 7px;border-radius:7px;background:rgba(25,67,96,.25)}
@media(max-width:390px){.city-map-viewport{height:285px}.map-instruction{padding:7px}.staff-role-list{gap:5px}.staff-role-row{grid-template-columns:22px minmax(0,1fr) 22px 22px;padding:5px}.staff-role-row .mini-action{width:21px;min-width:21px;height:22px}.product-row{padding:8px}.manual-order{grid-template-columns:1fr 1fr auto;gap:4px}.manual-order .buy-button{min-width:51px;padding:0 6px}.product-actions{gap:5px}.price-form{grid-template-columns:minmax(0,1fr) 28px}.save-price{width:28px}}

/* Match the established bright blue game panels and compact row styling. */
.city-map-view .panel,.inventory-panel{padding:7px;border:0;border-top:1px solid #3978ad;border-radius:3px;background:#0b4177;box-shadow:none}.city-map-view .panel-heading,.inventory-panel .panel-heading{margin-bottom:6px}.city-map-view .panel-heading h2,.inventory-panel .panel-heading h2{color:#edf4ff;font-size:14px;letter-spacing:0}.city-tabs{gap:5px;margin-bottom:7px;padding-bottom:4px}.city-tab{flex-basis:128px;min-height:46px;padding:6px 8px;border:1px solid #3978ad;border-radius:3px;background:#174577;box-shadow:none;color:#e4edf7}.city-tab.selected{border-color:#5bcdf3;background:#1c578a;box-shadow:inset 0 0 0 1px rgba(146,231,255,.12)}.city-tab strong{color:#edf4ff;font-size:9px}.city-tab small{color:#b7c8db}.map-instruction{margin-bottom:6px;padding:6px 8px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82}.map-instruction>span{border-radius:3px;background:#174577;color:#76e2ff}.map-instruction strong{color:#f0f6ff}.map-instruction small{color:#c0d1e0}.city-map-viewport{height:315px;border:1px solid #3978ad;border-radius:3px;background:#174577}.city-map-canvas{border-radius:0}.city-map-view .soft-badge{border:0;border-radius:3px;background:#174577;color:#d1e5f5}.location-details .competitor-list{border:1px solid #3978ad;border-radius:3px;background:#0c4a82}.competitor-list>strong{color:#f1f6fc}.competitor-chip{border:1px solid #3978ad;border-radius:3px;background:#174577;color:#d0e3f3}.competitor-chip.own{border-color:#57b995;color:#8df0c7}.competitor-list>small,.map-cost-note{color:#bfd0df}.map-cost-note{border-left-color:#56dcff;border-radius:2px;background:#0c4a82}.map-store-form label{color:#d5e3ef}.map-store-form select,.map-store-form input{border:1px solid #3978ad;border-radius:3px;background:#0c4a82;color:#f0f6ff}.demand-badge{border:1px solid #398b82;border-radius:3px;background:#0c655d;color:#a3ffdc}
.staffing-panel{padding:8px;border:1px solid #3978ad;border-radius:3px;background:#0b4177;box-shadow:none}.staffing-heading h3{color:#edf4ff;font-size:13px}.staffing-intro{color:#c0d1e0}.staffing-state.ready{border:1px solid #398b72;border-radius:3px;background:#0d6950;color:#a1f3cc}.staffing-state.needs-staff{border:1px solid #9c7543;border-radius:3px;background:#715122;color:#ffe3a1}.staff-role-list{gap:5px}.staff-role-row,.staff-role-row.role-shortage{border:1px solid #3978ad;border-radius:3px;background:#0c4a82}.staff-role-row.role-shortage{border-color:#b17c45;background:#5a4a36}.staff-role-icon{border:0;border-radius:2px;background:#174577}.staff-role-copy strong{color:#edf4ff}.staff-role-copy small{color:#c2d2e0}.staff-role-row.role-shortage .staff-role-copy strong{color:#ffe19a}.staff-role-row .mini-action{border:1px solid #3978ad;border-radius:3px;background:#174577;color:#67dcff}.staff-role-row .mini-action.muted-action{background:#123e6d;color:#b6c9d9}.staff-cost-summary{border:1px solid #3978ad;border-radius:3px;background:#0c4a82;color:#c0d1e0}.staff-cost-summary b{color:#ffe45c}.staff-expense-note{border-radius:2px;background:#0c4a82;color:#c0d1e0}
.inventory-panel{padding:7px}.inventory-panel .panel-heading h2{font-size:14px}.category-filter{padding:5px;border:0;border-radius:3px;background:#0c4a82}.category-filter>label{color:#c5d6e5}.category-filter select{border:1px solid #3978ad;border-radius:3px;background:#0a3d70;color:#eff6ff}.product-list{gap:0}.product-row{grid-template-columns:43px minmax(0,1fr);gap:2px 7px;padding:7px 2px;border:0;border-top:1px dotted #3978ad;border-radius:0;background:transparent;box-shadow:none}.product-emoji{width:39px;height:39px;border:1px solid #80acd2;border-radius:2px;background:#0c4a82}.product-title strong{color:#edf4ff;font-size:12px}.stock-count{border:0;border-radius:0;background:transparent;color:#ffe45c;font-size:10px}.stock-count.low-stock{background:transparent;color:#ffad91}.stock-track{height:3px;background:#174577}.product-meta{color:#bfd0df;font-size:9px}.product-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:5px;padding-top:0;border-top:0}.manual-order,.price-form{display:flex;align-items:end;gap:4px}.manual-order label,.price-form label{color:#c3d4e2;font-size:8px}.manual-order input,.manual-order select,.price-form input{height:27px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82;color:#f2f7fc;font-size:10px}.manual-order input{width:48px}.manual-order .buy-button,.buy-button{height:27px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#67dcff;font-size:10px}.save-price{width:27px;height:27px;border:1px solid #398b72;border-radius:3px;background:#087d50;color:#e4fff3}.order-summary{padding:4px 6px;border-radius:2px;background:#0c4a82;color:#c2d5e6;font-size:7px}.order-summary.needs-loaders{border:1px solid #a87948;color:#ffe0a2}.history-expenses{border-radius:2px;background:#0c4a82;color:#d0ddea}
.business-rating{margin:5px 0 0;color:#ffe45c;font-size:10px;font-weight:800}.business-rating span,.business-rating b{color:#bfd0df;font-weight:500}.review-panel{padding:7px;border:0;border-top:1px solid #3978ad;border-radius:3px;background:#0b4177;box-shadow:none}.review-panel .panel-heading{margin-bottom:5px}.review-panel .panel-heading h2{font-size:14px;color:#edf4ff}.review-rating{padding:3px 6px;border-radius:3px;background:#174577;color:#ffe45c;font-size:10px;font-weight:800}.review-list{display:grid}.review-row{padding:6px 2px;border-top:1px dotted #3978ad}.review-row>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.review-row strong{color:#ffe45c;font-size:10px;letter-spacing:.08em}.review-row time{color:#b3c7d9;font-size:8px}.review-row p{margin:3px 0 0;color:#e0ebf5;font-size:10px;line-height:1.35}.report-next-step{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:7px;padding:6px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#66dcff;font-size:10px;font-weight:800}.report-next-step span{font-size:14px}.report-next-step:hover{background:#1c578a}

/* Guest registration, login and first welcome */
body.auth-page{background:radial-gradient(ellipse at 50% 0,#d8f2ff 0%,#edf8ff 42%,#e4f3fd 100%);color:#17466f}
body.auth-page:before{opacity:.28;background-image:radial-gradient(#86c9ed 1px,transparent 1px)}
.guest-shell{color:#17466f}
.guest-intro .auth-brandname strong{color:#194e79}.guest-intro .auth-brandname span{color:#6d9bb9}
.guest-intro .auth-brandline .brand-mark{border:1px solid #c5e7fa;background:linear-gradient(145deg,#fff,#dff4ff);box-shadow:0 6px 16px rgba(64,146,194,.13)}
.guest-intro .auth-live{border-color:#c7e9fb;background:#effaff;color:#4386af}
.guest-intro .hero-art{border-color:#b7def4;box-shadow:0 12px 28px rgba(44,122,173,.16)}
.guest-intro>.eyebrow{color:#398fbe}.guest-intro h1{color:#17466f}.guest-intro h1 span{color:#168fc7;text-shadow:none}.guest-intro .lead{color:#6387a2}
.guest-shell .intro-stats div{border-color:#cbe6f6;background:linear-gradient(145deg,#fff,#edf9ff);box-shadow:0 4px 12px rgba(49,119,164,.06)}.guest-shell .intro-stats strong{color:#1788bf}.guest-shell .intro-stats span{color:#7192a9}
.guest-actions{border:1px solid #c8e4f5;background:linear-gradient(150deg,#fff,#f2faff);box-shadow:0 13px 32px rgba(40,110,155,.12)}
.guest-actions .auth-card-heading .eyebrow,.guest-actions .eyebrow{color:#418fb9}.guest-actions .auth-card h2{color:#17466f}.guest-actions>.muted{color:#6989a1}.guest-actions>.muted strong{color:#217ca9}
.guest-actions .auth-step{border-color:#c9e8f8;background:#e9f7ff;color:#248bb8}
.guest-actions .login-link{display:flex;align-items:center;justify-content:space-between;width:100%;height:44px;margin-top:9px;padding:0 13px;border:1px solid #c8e4f4;border-radius:11px;background:#f4fbff;color:#317ca7;text-decoration:none;font-size:11px;font-weight:800}.guest-actions .login-link b{font-size:15px}
.guest-benefit{display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:11px;border:1px solid #d7edf9;border-radius:12px;background:#f2faff}.guest-benefit>span{color:#dbad32;font-size:16px}.guest-benefit p{display:grid;gap:3px;margin:0}.guest-benefit strong{color:#316b8c;font-size:10px}.guest-benefit small{color:#7796aa;font-size:9px;line-height:1.45}
.guest-actions .auth-form label.auth-field{color:#52728c}.guest-actions .auth-form input,.guest-actions .auth-form select{border-color:#cde3f1;background:#fbfdff;color:#214b68;box-shadow:none}.guest-actions .auth-form input::placeholder{color:#9bb1c1}.guest-actions .auth-form input:focus,.guest-actions .auth-form select:focus{border-color:#78c6ec;box-shadow:0 0 0 3px #dff3ff}
.auth-back-link{display:inline-block;margin-top:14px;color:#3786b2;text-decoration:none;font-size:10px;font-weight:800}
.register-dialog{width:min(430px,calc(100% - 24px));max-height:min(90dvh,760px);overflow:auto;padding:18px;border:1px solid #c4e2f4;border-radius:19px;background:linear-gradient(150deg,#fff,#f1faff);color:#17466f;box-shadow:0 22px 70px rgba(12,55,87,.26)}.register-dialog::backdrop{background:rgba(20,64,94,.42);backdrop-filter:blur(4px)}.register-dialog[open]{animation:register-pop .18s ease-out}.register-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.register-dialog-head h2{margin:0;color:#17466f;font-size:20px}.register-dialog-head .eyebrow{margin:0 0 4px;color:#428eb7;font-size:8px}.register-dialog>.muted{margin:8px 0 15px;color:#6989a1;font-size:10px;line-height:1.5}.register-dialog>.muted strong{color:#217ca9}.register-close{display:grid;place-items:center;width:32px;height:32px;border:1px solid #d7eaf5;border-radius:10px;background:#f3faff;color:#5d8199;font-size:21px}.register-dialog .auth-form label.auth-field{color:#52728c}.register-dialog .auth-form input,.register-dialog .auth-form select{border-color:#cde3f1;background:#fbfdff;color:#214b68;box-shadow:none}.register-dialog .auth-form input::placeholder{color:#9bb1c1}.register-dialog .auth-form input:focus,.register-dialog .auth-form select:focus{border-color:#78c6ec;box-shadow:0 0 0 3px #dff3ff}.register-dialog .field-hint{color:#7796aa}
.welcome-overlay{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:18px;background:rgba(22,63,93,.44);backdrop-filter:blur(5px)}.welcome-card{width:min(400px,100%);padding:22px;border:1px solid #c5e6f7;border-radius:22px;background:linear-gradient(150deg,#fff,#f0faff);color:#214d69;box-shadow:0 22px 70px rgba(13,57,88,.28);text-align:center;animation:register-pop .22s ease-out}.welcome-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 10px;border:1px solid #c5e9f8;border-radius:19px;background:#e9f8ff;font-size:28px}.welcome-card .eyebrow{margin:0 0 6px;color:#368db8;font-size:8px;font-weight:900;letter-spacing:.12em}.welcome-card h2{margin:0;color:#164c72;font-size:21px;line-height:1.25}.welcome-card>p:not(.eyebrow){margin:10px 0 17px;color:#64849b;font-size:11px;line-height:1.65}.welcome-start{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:46px;border:0;border-radius:12px;background:linear-gradient(105deg,#1689c2,#29b5ce);color:white;font-size:11px;font-weight:900;box-shadow:0 7px 18px rgba(15,142,190,.19)}.welcome-start span{font-size:17px}
@keyframes register-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:560px){.guest-shell{gap:10px}.guest-intro .hero-art{height:132px}.guest-intro h1{font-size:25px}.guest-shell .intro-stats div{min-height:43px}.guest-actions{padding:14px}.register-dialog{padding:16px}.welcome-card{padding:19px;border-radius:19px}.welcome-card h2{font-size:19px}}

/* Stronger sky-blue guest landing palette */
body.auth-page{background:radial-gradient(ellipse at 50% -8%,#c7efff 0%,transparent 45%),linear-gradient(155deg,#5aa9df 0%,#91cdf1 38%,#d3efff 72%,#63afe4 100%);color:#123f67}
body.auth-page:before{opacity:.2;background-image:radial-gradient(#e8f8ff 1px,transparent 1px)}
.guest-intro .auth-brandline .brand-mark{border-color:#9bd5f3;background:linear-gradient(145deg,#e9f8ff,#acdfff);box-shadow:0 6px 16px rgba(16,78,124,.18)}
.guest-intro .auth-live{border-color:#b1e1f7;background:rgba(232,248,255,.78);color:#25668f}
.guest-intro .hero-art{border-color:#bce8ff;box-shadow:0 12px 28px rgba(9,62,103,.24)}
.guest-intro>.eyebrow{color:#145c8e}.guest-intro h1{color:#103e68}.guest-intro h1 span{color:#075c99;text-shadow:0 1px rgba(255,255,255,.3)}.guest-intro .lead{color:#184e76;text-shadow:0 1px rgba(235,249,255,.35)}
.guest-shell .intro-stats div{border-color:#8fc9ec;background:linear-gradient(145deg,rgba(226,246,255,.94),rgba(181,222,246,.96));box-shadow:0 5px 14px rgba(23,85,129,.13)}.guest-shell .intro-stats strong{color:#0874ac}.guest-shell .intro-stats span{color:#356e94}
.guest-actions{border-color:#91c8e8;background:linear-gradient(145deg,#dff3ff,#b7def5);box-shadow:0 14px 30px rgba(14,69,111,.2)}
.guest-actions .auth-card-heading .eyebrow,.guest-actions .eyebrow{color:#2679a7}.guest-actions .auth-card h2{color:#123f67}.guest-actions>.muted{color:#416e8c}.guest-actions .auth-step{border-color:#9acde9;background:#c7eaff;color:#126d9c}
.guest-actions .login-link{border-color:#93c8e8;background:#cceaff;color:#1d6590}
.guest-benefit{border-color:#a8d7f0;background:#cdeaff}.guest-benefit strong{color:#205f83}.guest-benefit small{color:#507d9a}
.guest-actions .signup-button,.guest-actions .auth-form .signup-button{background:linear-gradient(105deg,#087bb8,#20acd0);box-shadow:0 8px 18px rgba(9,111,164,.25)}
.register-dialog{border-color:#8fc8e9;background:linear-gradient(150deg,#e4f5ff,#b9e0f7)}.register-dialog::backdrop{background:rgba(5,49,83,.52)}.register-dialog .auth-form input,.register-dialog .auth-form select{background:#eaf7ff}
@media(max-width:560px){.guest-intro .lead{font-size:12px;line-height:1.55}}

/* Guest screens use the same saturated blues as the game UI */
html,body.auth-page{background:#036!important}
body.auth-page{color:#ddd;text-shadow:none}
body.auth-page:before{opacity:.12;background-image:radial-gradient(#8bcfff 1px,transparent 1px)}
.auth-shell.guest-shell{background:#07386b;color:#ddd}
.guest-intro .auth-brandline .brand-mark{border:1px solid #285688;border-radius:2px;background:#174577;box-shadow:none}
.guest-intro .auth-brandname strong{color:#edf5ff}.guest-intro .auth-brandname span{color:#8eaeca}
.guest-intro .auth-live{border:1px solid #285688;border-radius:2px;background:#0c3b70;color:#c9e5fa}
.guest-intro .hero-art{border:1px solid #285688;border-radius:2px;box-shadow:none}
.guest-intro>.eyebrow{color:#7fcaff}.guest-intro h1{color:#f0f5ff}.guest-intro h1 span{color:#48d9ff;text-shadow:none}.guest-intro .lead{color:#b9cbe0;text-shadow:none}
.guest-shell .intro-stats div{border:1px solid #285688;border-radius:2px;background:#0b4177;box-shadow:none}.guest-shell .intro-stats strong{color:#ffe45e}.guest-shell .intro-stats span{color:#aac0d7}
.guest-actions{border:1px solid #285688;border-radius:3px;background:#0a3c70;box-shadow:none;color:#ddd}
.guest-actions .auth-card-heading .eyebrow,.guest-actions .eyebrow{color:#7fcaff}.guest-actions .auth-card h2{color:#f0f5ff}.guest-actions>.muted{color:#b4c7dc}.guest-actions>.muted strong{color:#ffe45e}
.guest-actions .auth-step{border:1px solid #285688;border-radius:2px;background:#174577;color:#85e3ff}
.guest-actions .login-link{border:1px solid #285688;border-radius:3px;background:#174577;color:#61dcff}
.guest-benefit{border:1px solid #285688;border-radius:3px;background:#0b4177}.guest-benefit>span{color:#ffe45e}.guest-benefit strong{color:#edf5ff}.guest-benefit small{color:#b4c7dc}
.guest-actions .auth-form label.auth-field,.register-dialog .auth-form label.auth-field{color:#bfcde0}
.guest-actions .auth-form input,.guest-actions .auth-form select,.register-dialog .auth-form input,.register-dialog .auth-form select{border:1px solid #285688;border-radius:2px;background:#062f5d;color:#e6f1ff;box-shadow:none}
.guest-actions .auth-form input::placeholder,.register-dialog .auth-form input::placeholder{color:#93abc4}
.guest-actions .auth-form input:focus,.guest-actions .auth-form select:focus,.register-dialog .auth-form input:focus,.register-dialog .auth-form select:focus{outline:1px solid #4bdcff;border-color:#4bdcff;box-shadow:none}
.guest-actions .field-hint,.register-dialog .field-hint{color:#9eb6d0}
.guest-actions .signup-button,.guest-actions .auth-form .signup-button{border:1px solid #285688;border-radius:3px;background:#174577;color:#edf7ff;box-shadow:none;text-shadow:0 -1px #082746}
.guest-actions .signup-button:hover,.guest-actions .auth-form .signup-button:hover{background:#1c578a}
.auth-back-link{color:#61dcff}
.register-dialog{border:1px solid #285688;border-radius:3px;background:#0a3c70;color:#ddd;box-shadow:none}
.register-dialog::backdrop{background:rgba(0,17,38,.72);backdrop-filter:none}
.register-dialog-head h2{color:#f0f5ff}.register-dialog-head .eyebrow{color:#7fcaff}
.register-dialog>.muted{color:#b4c7dc}.register-dialog>.muted strong{color:#ffe45e}
.register-close{border:1px solid #285688;border-radius:2px;background:#174577;color:#eaf5ff}
.welcome-overlay{background:rgba(0,17,38,.78);backdrop-filter:none}
.welcome-card{border:1px solid #285688;border-radius:3px;background:#0a3c70;color:#ddd;box-shadow:none}
.welcome-icon{border:1px solid #285688;border-radius:2px;background:#174577}
.welcome-card .eyebrow{color:#7fcaff}.welcome-card h2{color:#f0f5ff}.welcome-card>p:not(.eyebrow){color:#b9cbe0}
.welcome-start{border:1px solid #285688;border-radius:3px;background:#174577;color:#edf7ff;box-shadow:none}
.welcome-start:hover{background:#1c578a}
@media(max-width:560px){.guest-actions{padding:7px}.register-dialog{padding:10px}.welcome-card{padding:12px;border-radius:3px}.welcome-card h2{font-size:19px}}

.guest-save-banner{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:4px 0;padding:6px;border:1px solid #285688;border-radius:3px;background:#0b4177}.guest-save-banner>div{display:grid;gap:2px;min-width:0}.guest-save-banner strong{font-size:11px;color:#edf5ff}.guest-save-banner small{color:#aac0d7;font-size:9px;line-height:1.3}.guest-save-open{flex:0 0 auto;min-height:29px;padding:3px 7px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#61dcff;font-size:10px;font-weight:700}.guest-save-open:hover{background:#1c578a}.guest-start-form{margin:0}.guest-start-form .signup-button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:3px 10px}.save-player-form{margin-top:10px}
@media(max-width:360px){.guest-save-banner small{max-width:155px}.guest-save-open{font-size:9px;padding:3px 5px}}

/* Keep the guest screen and tutorial on the original in-game blue palette. */
html,body.auth-page{background:#036!important}
.auth-shell.guest-shell{background:#07386b!important;color:#ddd}
.guest-actions,.register-dialog{border:1px solid #285688!important;border-radius:3px!important;background:#0a3c70!important;color:#ddd!important;box-shadow:none!important}
.guest-shell .intro-stats div,.guest-benefit{border:1px solid #285688!important;border-radius:3px!important;background:#0b4177!important;box-shadow:none!important}
.guest-intro .auth-brandline .brand-mark,.guest-intro .auth-live,.guest-shell .auth-step,.guest-actions .login-link,.register-close{border-radius:3px!important;background:#174577!important;color:#eaf5ff!important;box-shadow:none!important}
.guest-actions .auth-form input,.guest-actions .auth-form select,.register-dialog .auth-form input,.register-dialog .auth-form select{border-radius:2px!important;background:#062f5d!important;color:#e6f1ff!important}
.guest-actions .signup-button,.guest-actions .login-link,.register-dialog .signup-button{background:#174577!important;color:#edf7ff!important;box-shadow:none!important}
.guest-intro .auth-brandname strong,.guest-intro h1,.guest-actions .auth-card h2,.register-dialog-head h2{color:#f0f5ff!important}
.guest-intro .lead,.guest-actions>.muted,.guest-benefit small,.register-dialog>.muted{color:#b9cbe0!important}
.guest-intro .auth-brandname span,.guest-shell .intro-stats span,.guest-benefit strong,.guest-actions .auth-step,.guest-intro>.eyebrow,.guest-actions .eyebrow,.register-dialog-head .eyebrow{color:#8bd8ff!important}
.guest-shell .intro-stats strong,.guest-actions>.muted strong,.guest-benefit>span,.register-dialog>.muted strong{color:#ffe45e!important}
.guest-intro h1 span{color:#48d9ff!important;text-shadow:none!important}
.register-dialog::backdrop{background:rgba(0,17,38,.72)!important;backdrop-filter:none!important}

/* Compact two-row game header: title above, controls below. */
@media(max-width:560px){
  .topbar{display:grid!important;grid-template-columns:minmax(0,1fr);gap:5px;align-items:start;padding-top:6px;padding-bottom:6px}
  .topbar>div:first-child{min-width:0}
  .topbar h1{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.2}
  .topbar-right{width:100%;min-width:0;margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:5px}
  .topbar-right .back-link,.topbar-right .admin-entry{min-height:28px;padding:4px 7px;border-radius:3px;font-size:9px}
  .topbar-right .admin-entry{gap:4px}
  .topbar-right .admin-entry span{width:16px;height:16px;border-radius:2px}
  .topbar-right .day-pill{min-height:28px;margin-left:auto;padding:4px 7px;border-radius:3px;font-size:9px}
  .topbar-right .shift-pill{min-height:28px;padding:4px 7px;border-radius:3px}
}
@media(max-width:360px){
  .topbar-right{column-gap:4px;row-gap:4px}
  .topbar-right .back-link,.topbar-right .admin-entry{font-size:8px;padding:4px 5px}
  .topbar-right .day-pill{font-size:8px;padding:4px 5px}
  .topbar-right .shift-pill{gap:3px;padding:4px 5px}
  .topbar-right .shift-pill small{font-size:6px}
}

/* The tutorial shows one concrete action and advances only after it succeeds. */
.tour-card{padding:9px;border:1px solid #3978ad;border-radius:3px;background:#0a3d70;box-shadow:none}
.tour-card .tour-task-label{margin:4px 0 2px;color:#8bd8ff;font-size:8px;font-weight:800;letter-spacing:.06em}
.tour-card h2{margin:0 0 5px;color:#f0f5ff;font-size:14px;line-height:1.25}
.tour-card .tour-action-copy{margin:0 0 5px;padding:6px 7px;border-left:2px solid #ffe45e;border-radius:2px;background:#0b4177;color:#ffe98e;font-size:10px;font-weight:800;line-height:1.35}
.tour-card .tour-copy{margin:0;color:#d1deeb;font-size:10px;line-height:1.4}
.tour-card .tour-note{margin-top:6px;padding-top:5px;color:#9eb6d0;font-size:8px;line-height:1.35}
@media(max-width:560px){.tour-card{padding:9px;border-radius:3px}.tour-card .tour-action-copy{font-size:10px}.tour-card .tour-copy{font-size:10px}}

/* Compact game status panel and information menu */
.game-topbar{display:grid!important;grid-template-columns:minmax(0,1fr);gap:5px!important;padding:6px 7px!important;margin:0 -1px 5px!important;border:1px solid #285688!important;border-radius:3px!important;background:#174577!important;backdrop-filter:none!important}
.game-topbar .topbar-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.game-topbar .topbar-main>div{min-width:0}
.game-topbar .topbar-main .eyebrow{margin:0;color:#8bd8ff;font-size:8px}
.game-topbar .topbar-main h1{overflow:hidden;color:#f0f5ff;font-size:16px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.game-info-open{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;padding:0;border:1px solid #3978ad;border-radius:3px;background:#0c4a82;color:#68dcff;font-size:17px;font-weight:800}
.game-topbar .topbar-stats{display:flex;align-items:center;gap:5px;min-width:0}
.game-topbar .day-pill,.game-topbar .balance-pill,.game-topbar .shift-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:25px;margin:0;padding:3px 6px;border:1px solid #285688;border-radius:3px;background:#0c3b70;color:#e8f2ff;font-size:9px;white-space:nowrap}
.game-topbar .balance-pill{justify-content:space-between;flex:1 1 auto;min-width:0}
.balance-pill small{color:#9eb9d4;font-size:7px;font-weight:800;letter-spacing:.05em}
.balance-pill strong{overflow:hidden;color:#ffe45c;font-size:10px;text-overflow:ellipsis}
.balance-pill.is-negative strong,.game-info-stats .is-negative{color:#ffb293}
.game-topbar .shift-pill{flex:0 0 auto}
.game-topbar .shift-pill strong{font-size:10px}
.game-info-dialog{width:min(350px,calc(100% - 24px));max-height:min(86dvh,650px);padding:12px;border:1px solid #3978ad!important;border-radius:3px!important;background:#0a3c70!important;color:#ddd;box-shadow:0 18px 45px rgba(0,0,0,.4)!important}
.game-info-dialog .register-dialog-head{margin-bottom:9px}
.game-info-dialog .register-dialog-head h2{font-size:16px}
.game-info-dialog .register-dialog-head .eyebrow{margin:0 0 2px}
.game-info-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.game-info-stats>div{display:grid;gap:2px;min-width:0;padding:7px;border:1px solid #285688;border-radius:3px;background:#0b4177}
.game-info-stats small{color:#9eb9d4;font-size:7px;font-weight:800;letter-spacing:.04em}
.game-info-stats strong{overflow:hidden;color:#ffe45c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.game-info-actions-title{margin:11px 0 5px;color:#8bd8ff;font-size:8px;font-weight:900;letter-spacing:.06em}
.game-info-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.game-info-actions>a,.game-info-actions>button,.game-info-actions form button{display:flex;align-items:center;justify-content:center;min-height:34px;padding:5px 7px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#68dcff;text-align:center;text-decoration:none;font:700 9px/1.25 Arial,Verdana,sans-serif}
.game-info-actions>form{margin:0}
.game-info-actions>form button{width:100%;background:#0c4a82;color:#d9e8f5}
.game-info-actions>a:hover,.game-info-actions>button:hover,.game-info-actions form button:hover{background:#1c578a}
@media(max-width:560px){
  .game-topbar{position:sticky;top:calc(50px + env(safe-area-inset-top));z-index:15}
  .game-topbar .topbar-stats{gap:4px}
  .game-topbar .day-pill,.game-topbar .balance-pill,.game-topbar .shift-pill{min-height:27px;padding:4px 6px}
  .game-topbar .balance-pill{gap:4px}
  .game-topbar .balance-pill strong{font-size:9px}
  .game-info-dialog{padding:11px}
}
@media(max-width:350px){
  .game-topbar .topbar-stats{gap:3px}
  .game-topbar .day-pill,.game-topbar .balance-pill,.game-topbar .shift-pill{padding:4px}
  .balance-pill small{font-size:6px}
  .game-info-open{flex-basis:27px;width:27px;height:27px}
}

/* Minimal game entry: artwork, short pitch and two clear actions. */
html,body.auth-page{min-height:100%;background:#036!important}
.auth-shell.guest-shell{box-sizing:border-box;width:min(100%,440px);max-width:440px;min-height:100dvh;margin:0 auto;padding:calc(18px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center;gap:16px;background:#07386b!important;color:#edf6ff}
.guest-intro{padding:0!important}
.guest-intro .hero-art{height:clamp(185px,34vh,270px);margin:0 0 17px;border:1px solid #3977a8;border-radius:12px;background-image:linear-gradient(0deg,rgba(1,23,47,.52),rgba(1,23,47,.02) 65%),url('/assets/art/city-supermarket.jpg');background-size:cover;background-position:center 62%;box-shadow:0 12px 26px rgba(0,0,0,.2)}
.hero-art-tag{left:12px;bottom:12px;padding:7px 10px;border:1px solid rgba(161,220,250,.3);border-radius:6px;background:rgba(4,39,72,.82);color:#a9e7ff;font-size:8px;letter-spacing:.1em}
.guest-intro>.eyebrow{margin:0 0 7px;color:#8bd8ff;font-size:9px;letter-spacing:.1em}
.guest-intro h1{margin:0 0 8px;color:#f0f5ff;font-size:32px;line-height:1.1;letter-spacing:-.04em}
.guest-intro h1 span{color:#48d9ff}
.guest-intro .lead{max-width:360px;margin:0;color:#b9cbe0;font-size:13px;line-height:1.55}
.guest-launch{display:grid;gap:9px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.guest-launch .guest-start-form{margin:0}
.guest-launch .signup-button,.guest-launch .login-link{box-sizing:border-box;display:flex;width:100%;height:49px;align-items:center;justify-content:space-between;margin:0;padding:0 15px;border:1px solid #397caf!important;border-radius:9px!important;background:#174f7d!important;color:#edf7ff!important;box-shadow:0 5px 16px rgba(0,0,0,.16)!important;font-size:12px;font-weight:800;text-decoration:none}
.guest-launch .signup-button{background:linear-gradient(105deg,#17649a,#1680a8)!important;border-color:#4b9ac4!important}
.guest-launch .signup-button b,.guest-launch .login-link b{font-size:16px}
.guest-launch .login-link{justify-content:center;gap:8px;background:#0a3c70!important;box-shadow:none!important}
.guest-launch .guest-start-form .signup-button{padding:0 15px}
.guest-login{padding:16px!important;border:1px solid #285688!important;border-radius:9px!important;background:#0a3c70!important}
.guest-login .login-form{padding:0}
.guest-login .auth-card-heading h2{color:#f0f5ff}
.guest-login .muted{color:#b9cbe0}
.guest-login .auth-back-link{margin:4px 0 0}
@media(max-width:560px){.auth-shell.guest-shell{gap:14px;padding-left:16px;padding-right:16px}.guest-intro .hero-art{height:clamp(175px,31vh,225px);margin-bottom:14px}.guest-intro h1{font-size:29px}.guest-intro .lead{font-size:12px}.guest-launch .signup-button,.guest-launch .login-link{height:48px}}

/* Full-bleed artwork for the guest game start screen. */
.auth-shell.guest-shell{position:relative;isolation:isolate;overflow:hidden;justify-content:flex-end;background:#07386b!important}
.auth-shell.guest-shell::before{position:absolute;z-index:-1;inset:0;content:"";background:linear-gradient(180deg,rgba(2,24,48,.08) 0%,rgba(2,24,48,.18) 38%,rgba(3,32,61,.83) 70%,#05284c 100%),url('/assets/art/city-supermarket.jpg') center 48%/cover no-repeat;transform:scale(1.015)}
.guest-intro{position:relative;z-index:1;margin-top:auto}
.guest-intro .hero-art{position:absolute;inset:0 auto auto 0;width:100%;height:100%;margin:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none}
.hero-art-tag{top:14px;bottom:auto}
.guest-launch{position:relative;z-index:1;width:100%}
.guest-login{backdrop-filter:blur(10px);background:rgba(5,40,76,.9)!important}
@media(min-width:700px){.auth-shell.guest-shell{min-height:100dvh}}

/* Give the title room at the top and keep both entry actions identical in size. */
.auth-shell.guest-shell{justify-content:space-between;gap:28px;padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(28px + env(safe-area-inset-bottom))}
.guest-intro{margin-top:0;padding-top:clamp(18px,5vh,52px)!important}
.guest-intro .hero-art{inset:0 auto auto 0;height:100%;width:100%}
.guest-intro>.eyebrow{margin-bottom:10px;font-size:10px}
.guest-intro h1{margin-bottom:12px;font-size:clamp(34px,9vw,42px)}
.guest-intro .lead{max-width:370px;font-size:14px;line-height:1.65}
.guest-launch{gap:11px}
.guest-launch .signup-button,.guest-launch .login-link{position:relative;justify-content:center;width:100%;height:54px;padding:0 42px!important;border-radius:10px!important;font-size:13px}
.guest-launch .signup-button b,.guest-launch .login-link b{position:absolute;right:16px}
@media(max-width:560px){.auth-shell.guest-shell{gap:22px;padding-left:18px;padding-right:18px}.guest-intro{padding-top:clamp(20px,6vh,44px)!important}.guest-intro .lead{font-size:13px}.guest-launch .signup-button,.guest-launch .login-link{height:52px}}

/* Tutorial highlights must never lift game cards above neighboring content. */
.tutorial-highlight{position:relative!important;z-index:auto!important;outline:2px solid #ffdf72!important;outline-offset:2px!important;border-radius:8px!important;box-shadow:inset 0 0 0 2px rgba(255,223,114,.28)!important;filter:none!important;animation:none!important}
.tutorial-highlight:after{content:none!important;display:none!important}
.business-card.tutorial-highlight{overflow:hidden!important}
#game-tutorial{z-index:auto!important}
#manager-assistant{z-index:20}
.manager-panel{box-sizing:border-box;max-height:min(46dvh,360px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.manager-message{min-height:0;max-height:96px;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:560px){.manager-panel{max-height:min(43dvh,330px)}.manager-message{max-height:82px}}
.game-info-owner{margin:0 0 7px;color:#b1c7db;font-size:9px;line-height:1.3}
#game-tutorial{max-height:calc(100dvh - 135px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#game-tutorial .tour-card{max-height:inherit}
.stock-expiry{margin-left:2px;color:#9cc6d9;font-size:7px;font-weight:600;white-space:nowrap}
.stock-expiry.expires-soon{color:#ffb977}
.manager-go[hidden]{display:none!important}
.review-customer{min-width:0;margin-right:auto;overflow:hidden;color:#e6f3ff;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.review-row>div{justify-content:flex-start}
.review-row time{margin-left:auto;white-space:nowrap}
.map-district.point-6{top:17%;left:45%}.map-district.point-7{top:19%;left:76%}.map-district.point-8{top:37%;left:89%}.map-district.point-9{top:52%;left:15%}.map-district.point-10{top:53%;left:45%}.map-district.point-11{top:52%;left:72%}.map-district.point-12{top:72%;left:91%}.map-district.point-13{top:34%;left:30%}.map-district.point-14{top:33%;left:56%}.map-district.point-15{top:70%;left:29%}.map-district.point-16{top:87%;left:54%}.map-district.point-17{top:18%;left:61%}.map-district.point-18{top:84%;left:72%}.map-district.point-19{top:71%;left:12%}.map-district.point-20{top:37%;left:79%}
.map-point-label{display:none}.map-district:hover .map-point-label,.map-district:focus-visible .map-point-label,.map-district.selected .map-point-label{display:grid}

/* Checkout illustrations */
.register-icon{width:40px;height:40px;flex-basis:40px;overflow:visible;background:linear-gradient(145deg,#e8f7ff,#f4fbff);border:1px solid #d9eef9}.register-icon img{width:40px;height:40px;object-fit:contain;display:block;filter:drop-shadow(0 3px 4px rgba(38,112,155,.12))}

.pending-deliveries{display:grid;gap:8px;margin:0 0 14px;padding:12px;border:1px solid rgba(103,184,222,.2);border-radius:13px;background:linear-gradient(145deg,#0d3b68,#0a2f55);box-shadow:0 6px 16px rgba(0,0,0,.12)}.pending-deliveries-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#eaf6ff;font-size:11px}.pending-deliveries-heading span{color:#a7c8df;font-size:8px}.pending-delivery-item{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid rgba(143,196,226,.14)}.delivery-product-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:rgba(102,191,226,.13);font-size:17px}.delivery-copy{display:grid;gap:2px;min-width:0;margin-right:auto}.delivery-copy strong{color:#eef8ff;font-size:9px}.delivery-copy small{color:#adc5d8;font-size:8px}.delivery-countdown{white-space:nowrap;color:#83e4c4;font-size:9px}.pending-delivery-item[data-delivery-at]{animation:delivery-arrival 1.6s ease-in-out infinite alternate}@keyframes delivery-arrival{from{border-color:rgba(143,196,226,.1)}to{border-color:rgba(105,224,191,.32)}}

/* Custom management illustrations */
.expansion-icon,.loader-icon,.ad-icon{border:1px solid rgba(117,190,225,.24);background:linear-gradient(145deg,#eaf7ff,#f5fbff);color:#459ed0}.expansion-icon svg,.loader-icon svg,.ad-icon svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px rgba(50,125,170,.12))}.expansion-icon{color:#59a5d0}.loader-icon{color:#429bc9}.ad-icon{background:linear-gradient(145deg,#e9f8ff,#f4fbff);color:#399bd0}

/* Creator panel and player news use the same harbor-blue game surfaces. */
.admin-view{max-width:1050px;gap:12px}.admin-view .panel{padding:14px;border:1px solid #3978ad;border-radius:5px;background:linear-gradient(145deg,#0b4177,#0a396b);box-shadow:none}.admin-welcome{background:radial-gradient(ellipse at 100% 0,rgba(50,181,221,.14),transparent 42%),linear-gradient(145deg,#0b4177,#0a396b)!important}.admin-panel-heading h2,.admin-view .panel-heading h2{color:#edf6ff}.admin-panel-heading .muted,.admin-controls>.muted{color:#bdd1e2}.admin-stat{border:1px solid #3978ad;border-radius:4px;background:#0c4a82}.admin-stat>span,.admin-stat small{color:#b2c9dc}.admin-stat strong{color:#f4f8ff}.admin-account-row{border-top:1px dotted #3978ad;color:#eff6fc}.admin-avatar{border:1px solid #80acd2;border-radius:3px;background:#174577;color:#b6efff}.admin-role{border-radius:3px;background:#174577;color:#c4dfef}.admin-account-row time{color:#b5cada}.admin-maintenance-form input,.admin-news-form input:not([type=file]),.admin-news-form textarea{border:1px solid #3978ad;border-radius:4px;background:#0c4a82;color:#f1f7fc}.admin-maintenance-form input:focus,.admin-news-form input:focus,.admin-news-form textarea:focus{outline:2px solid rgba(104,220,255,.32);border-color:#68dcff}.admin-maintenance-form label,.admin-news-form label{color:#d1e2f0}.admin-news-form{display:grid;gap:10px}.admin-news-form>label{display:grid;gap:6px;font-size:9px;font-weight:750}.admin-news-form input:not([type=file]){width:100%;height:39px;padding:0 10px;font-size:10px}.admin-news-form textarea{width:100%;min-height:92px;padding:9px 10px;resize:vertical;font:inherit;font-size:10px;line-height:1.5}.admin-photo-field small{color:#a9c3d6;font-weight:500}.admin-news-form input[type=file]{width:100%;min-height:39px;padding:7px;border:1px dashed #5b94c0;border-radius:4px;background:#0c4a82;color:#c8ddec;font-size:9px}.admin-news-form>button{min-height:40px;border-radius:4px}.admin-news-list{display:grid;gap:7px;margin-top:16px}.admin-news-list h3{margin:0 0 2px;color:#9fdcf2;font-size:10px}.admin-news-row{display:grid;grid-template-columns:54px minmax(0,1fr) 28px;align-items:start;gap:9px;padding:9px 0;border-top:1px dotted #3978ad}.admin-news-row>img{width:54px;height:54px;object-fit:cover;border:1px solid #3978ad;border-radius:3px}.admin-news-row-copy{min-width:0}.admin-news-row-copy strong{display:block;color:#f1f7fc;font-size:10px}.admin-news-row-copy small{display:block;margin-top:3px;color:#a8c2d6;font-size:8px}.admin-news-row-copy p{margin:5px 0 0;color:#d4e3ef;font-size:9px;line-height:1.45;overflow-wrap:anywhere}.admin-news-delete{margin:0}.admin-news-delete button{width:27px;height:27px;min-width:27px;padding:0;border:1px solid #507ca0;border-radius:4px;background:#174577;color:#d5eaff;font-size:16px}.admin-news-empty{color:#c0d3e2}.news-feed{display:grid;gap:8px;margin:0 0 13px}.news-feed-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid #3978ad;border-radius:4px;background:#0b4177;color:#66dcff}.news-feed-heading .eyebrow{margin:0 0 3px;color:#aed0e5;font-size:7px}.news-feed-heading h2{margin:0;color:#f2f7fc;font-size:14px}.news-feed-heading>span{display:grid;place-items:center;width:27px;height:27px;border:1px solid #3978ad;border-radius:4px;background:#174577;color:#ffe45c}.game-news-card{overflow:hidden;border:1px solid #3978ad;border-radius:4px;background:#0b4177}.game-news-image{display:block;width:100%;max-height:210px;object-fit:cover;border-bottom:1px solid #3978ad}.game-news-content{padding:10px}.game-news-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.game-news-title-row h3{margin:0;color:#f3f8fd;font-size:12px;line-height:1.35}.game-news-title-row time{flex:none;color:#b1c9dc;font-size:8px}.game-news-content>p{margin:7px 0;color:#d2e2ef;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.news-hide-form{display:flex;justify-content:flex-end;margin-top:6px}.news-hide-form button{min-height:28px;padding:0 10px;border:1px solid #3978ad;border-radius:4px;background:#174577;color:#70dcff;font-size:9px;font-weight:800}.news-hide-form button:hover,.admin-news-delete button:hover{background:#1c578a}
@media(max-width:560px){.admin-view{gap:9px}.admin-view .panel{padding:11px;border-radius:4px}.admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-stat strong{font-size:16px}.admin-stat small{font-size:7px}.admin-news-row{grid-template-columns:45px minmax(0,1fr) 26px;gap:7px}.admin-news-row>img{width:45px;height:45px}.admin-news-row-copy p{font-size:8px}.news-feed-heading h2{font-size:13px}.game-news-content{padding:8px}.game-news-content>p{font-size:9px}}
.admin-news-row:not(.has-image){grid-template-columns:minmax(0,1fr) 28px}.staff-role-icon svg{display:block;width:19px;height:19px;filter:drop-shadow(0 1px 1px rgba(37,118,160,.13))}.staff-role-icon.role-icon-manager{color:#ffd36e}.staff-role-icon.role-icon-deputy{color:#7ddbf5}.staff-role-icon.role-icon-administrator{color:#8cd7ff}.staff-role-icon.role-icon-seller{color:#86e1c0}.staff-role-icon.role-icon-cashier{color:#ffe27c}.staff-role-icon.role-icon-cleaner{color:#8ee0c6}
@media(max-width:560px){.admin-news-row:not(.has-image){grid-template-columns:minmax(0,1fr) 26px}}
.news-feed-heading{gap:7px}.news-all-link,.news-back-link{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #3978ad;border-radius:4px;background:#174577;color:#74ddff;text-decoration:none;font-size:8px;font-weight:800;white-space:nowrap}.news-all-link:hover,.news-back-link:hover{background:#1c578a}.news-archive{display:grid;gap:9px}.news-archive>.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #3978ad;border-radius:4px;background:#0b4177}.news-archive>.panel-heading h2{margin:0;color:#f2f7fc;font-size:15px}.news-archive>.panel-heading .eyebrow{margin:0 0 3px;color:#aed0e5;font-size:7px}.news-archive-list{display:grid;gap:8px}.news-archive .game-news-card{border-radius:5px}.review-needs{display:grid;gap:5px;margin-top:8px;padding:7px;border:1px solid rgba(255,194,100,.2);border-radius:4px;background:rgba(13,65,107,.76)}.review-needs>small{color:#ffd58a;font-size:7px;font-weight:800}.review-needs>a{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 6px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#d8edf8;text-decoration:none;font-size:8px}.review-needs>a b{color:#75e1bd;white-space:nowrap}.review-needs>a:hover{border-color:#69dafa;background:#1c578a}.product-row[id^="product-"]{scroll-margin-top:90px}.sun-icon{display:grid;place-items:center;width:24px;height:24px;border:1px solid #3978ad;border-radius:4px;background:#174577;color:#ffe45c}.sun-icon svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:560px){.news-all-link,.news-back-link{padding:5px 6px;font-size:7px}.news-archive>.panel-heading h2{font-size:13px}.review-needs>a{font-size:7px}}
/* Illustrated management icons match the cashier artwork. */
.management-row .manage-icon.expansion-icon,.management-row .manage-icon.loader-icon,.management-row .manage-icon.ad-icon{width:42px;height:42px;flex:0 0 42px;overflow:hidden;border:1px solid #d9eef9!important;border-radius:9px!important;background:linear-gradient(145deg,#e8f7ff,#f4fbff)!important;box-shadow:0 2px 6px rgba(38,112,155,.12)}.manage-icon .manage-illustration{display:block;width:100%;height:100%;object-fit:contain;padding:1px;filter:drop-shadow(0 2px 2px rgba(38,112,155,.15))}.news-empty{margin:0;padding:12px;border:1px solid #3978ad;border-radius:4px;background:#0c4a82;color:#c3d8e8;font-size:9px;line-height:1.5}
@media(max-width:560px){.management-row .manage-icon.expansion-icon,.management-row .manage-icon.loader-icon,.management-row .manage-icon.ad-icon{width:42px;height:42px;flex-basis:42px}.manage-copy small{white-space:normal}}
/* Keep long customer feedback inside the phone-sized game panels. */
.content-grid,.right-column,.content-grid>*,.right-column>*,.review-panel,.review-list,.review-row,.review-row>div,.review-row p,.review-needs,.review-needs>*{min-width:0;max-width:100%;box-sizing:border-box}.review-panel{width:100%;overflow:hidden}.review-row{width:100%;overflow:hidden;overflow-wrap:anywhere}.review-row>div{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px}.review-customer{min-width:0;max-width:100%;overflow-wrap:anywhere}.review-row p{width:100%;overflow-wrap:anywhere;word-break:break-word}.review-needs{width:100%;overflow:hidden}.review-needs>a{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;overflow-wrap:anywhere;word-break:break-word}.review-needs>a b{white-space:normal;text-align:right}
/* Match the expansion, loader, and advertising image tiles to the checkout tiles. */
.management-row .manage-icon.expansion-icon,.management-row .manage-icon.loader-icon,.management-row .manage-icon.ad-icon{width:40px;height:40px;flex:0 0 40px;overflow:visible;background:#174577!important;border:1px solid #3978ad!important;box-shadow:none}.manage-icon .manage-illustration{width:40px;height:40px;object-fit:contain;display:block;padding:0;filter:drop-shadow(0 3px 4px rgba(38,112,155,.12))}
@media(max-width:560px){.management-row .manage-icon.expansion-icon,.management-row .manage-icon.loader-icon,.management-row .manage-icon.ad-icon{width:40px;height:40px;flex-basis:40px}}

/* Cash register icons and customer feedback use the shared game panel treatment. */
.management-row .manage-icon.register-icon{width:40px;height:40px;flex:0 0 40px;overflow:visible;border:1px solid #3978ad!important;border-radius:2px!important;background:#174577!important;box-shadow:none}.register-icon img{width:40px;height:40px;object-fit:contain;display:block;filter:drop-shadow(0 2px 3px rgba(0,0,0,.16))}
.review-panel{padding:6px;border:0;border-top:1px solid #285688;border-radius:2px;background:#083b70;box-shadow:none}.review-panel .panel-heading{margin-bottom:10px}.review-panel .panel-heading h2{color:#edf6ff;font-size:15px}.review-panel .eyebrow{color:#b2c9dc}.review-rating{padding:4px 7px;border:1px solid #3978ad;border-radius:4px;background:#174577;color:#ffe45c;font-size:10px;font-weight:800}.review-list{display:grid;gap:0}.review-row{padding:9px 0;border-top:1px solid rgba(145,192,233,.15);overflow-wrap:anywhere}.review-row>div{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}.review-customer{min-width:0;max-width:100%;color:#dceaf6;font-size:9px;overflow-wrap:anywhere}.review-row strong{color:#ffe45c;font-size:10px}.review-row time{margin-left:auto;color:#b3c7d9;font-size:8px;white-space:nowrap}.review-row p{width:100%;margin:5px 0 0;color:#e0ebf5;font-size:10px;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}.review-needs{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px;width:100%;margin-top:6px;padding:0;border:0;border-radius:0;background:transparent}.review-needs>small{width:100%;color:#b7cde0;font-size:8px;font-weight:700}.review-needs>a{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:0;border:0;border-radius:0;background:transparent;color:#8cdefc;text-decoration:underline;font-size:8px;overflow-wrap:anywhere;word-break:break-word}.review-needs>a b{color:#8cdefc;white-space:normal}.review-needs>a:hover{border:0;background:transparent;color:#c9f2ff}
@media(max-width:560px){.management-row .manage-icon.register-icon{width:40px;height:40px;flex-basis:40px}.review-panel{padding:6px}.review-row>div{gap:4px 6px}.review-needs{gap:5px 8px}}

.finance-explainer{margin:-5px 0 8px;color:#bfd0df;font-size:8px;line-height:1.45}.trend-label{white-space:nowrap}

/* Illustrated product sprites for every catalog item. */
.product-illustration{overflow:hidden;border:1px solid #80acd2;border-radius:2px;background:#0c4a82}.product-sprite{display:block;width:100%;height:100%;background-repeat:no-repeat;background-size:400% 400%}.product-illustration .product-art{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.14))}
@media(max-width:560px){.product-illustration{width:32px;height:32px}}

.network-income-summary{margin-bottom:var(--gap)}.network-income-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.network-income-values article{display:grid;gap:4px;min-width:0;padding:10px 12px;border:1px solid #3978ad;border-radius:4px;background:#0b4177}.network-income-values small{color:#b2c9dc;font-size:8px;font-weight:800;letter-spacing:.07em}.network-income-values strong{color:#f3f8fd;font-size:19px;overflow-wrap:anywhere}.network-income-values strong.is-negative{color:#ffb3a7}.network-income-summary>.muted{margin:7px 0 0;color:#bfd0df;font-size:9px;line-height:1.45}.business-shift-finance{display:flex;flex-wrap:wrap;gap:4px 10px;margin:6px 0 0;padding:6px 7px;border:1px solid #285688;border-radius:3px;background:#083b70;color:#bdd1e2;font-size:8px;line-height:1.4}.business-shift-finance span{white-space:nowrap}.business-shift-finance b{color:#edf6ff;font-size:9px}
@media(max-width:560px){.network-income-values{gap:6px}.network-income-values article{padding:8px}.network-income-values strong{font-size:16px}.business-shift-finance{gap:4px 7px;padding:5px;font-size:7px}.business-shift-finance b{font-size:8px}}

.shift-report-card{margin:5px 0 12px;padding:10px;border:1px solid #3978ad;border-radius:4px;background:#083b70;color:#eaf4ff}.shift-report-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.shift-report-heading .eyebrow{margin:0;color:#9bc9e5;font-size:8px}.shift-report-heading h2{margin:2px 0 0;color:#f2f7fc;font-size:16px}.shift-report-visitors{padding:4px 7px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#c9dceb;font-size:9px;white-space:nowrap}.shift-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.shift-report-metrics article{display:grid;align-content:center;gap:4px;min-width:0;min-height:55px;padding:7px;border:1px solid rgba(117,174,213,.28);border-radius:3px;background:#0c4a82}.shift-report-metrics small{color:#b7d0e3;font-size:7px;font-weight:800;letter-spacing:.04em}.shift-report-metrics strong{color:#f5f9ff;font-size:15px;overflow-wrap:anywhere}.shift-report-metrics .net-result{border-color:rgba(87,218,177,.55);background:#0c594f}.shift-report-metrics .net-result strong{color:#8ef0ca}.shift-report-metrics .net-result.is-negative{border-color:rgba(255,162,146,.45);background:#5b3040}.shift-report-metrics .net-result.is-negative strong{color:#ffc0b2}.shift-report-costs{margin-top:8px;padding-top:7px;border-top:1px solid rgba(145,192,233,.2)}.shift-report-costs>strong{font-size:9px;color:#dceaf6}.shift-report-costs>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin-top:5px}.shift-report-costs span{display:flex;justify-content:space-between;gap:6px;color:#b8cfe0;font-size:8px}.shift-report-costs b{color:#edf6ff;white-space:nowrap}.shift-report-note{margin:8px 0 0;color:#a9c5da;font-size:8px;line-height:1.45}.stat-copy strong.is-negative{color:#ffb3a7}
@media(max-width:560px){.shift-report-card{padding:8px}.shift-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shift-report-metrics article{min-height:48px}.shift-report-metrics strong{font-size:14px}.shift-report-costs>div{gap:4px 8px}.shift-report-costs span{font-size:7px}.shift-report-note{font-size:7px}}
.city-expansion-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding-top:7px;border-top:1px solid rgba(145,192,233,.2);color:#c0d4e4;font-size:9px}.city-expansion-progress b{color:#f0f7ff}.city-expansion-progress a{color:#83dcff;font-size:8px;font-weight:800;text-decoration:none;white-space:nowrap}.city-expansion-progress a:hover{text-decoration:underline}
.shift-report-season{display:flex;gap:5px;align-items:baseline;margin:0 0 8px;color:#bed5e7;font-size:8px;line-height:1.4}.shift-report-season b{color:#ffe28a;white-space:nowrap}
.loyalty-icon{display:grid;place-items:center;background:#0c4a82;color:#9bdcff;font-size:20px}.shift-report-discounts{display:grid;gap:4px;margin-top:7px;padding:6px 7px;border-left:2px solid #ffcf6d;background:rgba(16,71,112,.48)}.shift-report-discounts span{display:flex;justify-content:space-between;gap:6px;color:#bed5e7;font-size:8px}.shift-report-discounts b{color:#ffe5a2;white-space:nowrap}
.security-icon{display:grid;place-items:center;background:#0c4a82;color:#94e4c4;font-size:19px}
.restroom-icon{display:grid;place-items:center;background:#0c4a82;color:#85e7d0;font-size:19px}
.hygiene-icon,.fire-safety-icon{display:grid;place-items:center;background:#0c4a82;color:#86e4cf;font-size:20px;font-weight:800}.fire-safety-icon{color:#ffd18a}.inspection-event{margin:7px 0;padding:7px 9px;border-left:2px solid #ffd18a;background:rgba(93,73,34,.28);color:#f4dfb7;font-size:8px;line-height:1.45}.inspection-event b{color:#ffe19a}
.inspection-frequency-note{margin:7px 1px;padding:7px 8px;border-left:2px solid #81d7c0;background:rgba(21,81,85,.22);color:#bddbd7;font-size:8px;line-height:1.45}

/* Account, referral, top-up and donor shop pages share the game panels. */
.account-view{display:grid;gap:10px;max-width:760px;margin:0 auto}.account-view .panel{padding:12px;border:1px solid #3978ad;border-radius:4px;background:#0b4177;box-shadow:none}.account-view .panel-heading{margin-bottom:9px}.account-view .panel-heading h2{margin:0;color:#edf6ff;font-size:15px}.account-view .eyebrow{margin:0 0 3px;color:#8bd8ff;font-size:8px}.account-view .muted{color:#bfd1e0;font-size:9px;line-height:1.5}.account-settings-link{display:grid;place-items:center;width:30px;height:30px;border:1px solid #3978ad!important;border-radius:3px;background:#174577!important;color:#88dcff!important;text-decoration:none;font-size:17px;line-height:1}.account-art,.account-section-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#92e3ff;font-size:19px}.account-currency,.donor-shop-balance{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82}.account-currency>span{display:grid;gap:3px}.account-currency small,.topup-balance small{color:#a9c8dc;font-size:7px;font-weight:800;letter-spacing:.06em}.account-currency strong,.topup-balance strong{color:#f4f9ff;font-size:16px}.account-currency strong i{color:#8ce5ff;font-size:12px;font-style:normal}.account-nav{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.account-nav a{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#c7efff;text-decoration:none;font-size:9px;font-weight:700}.account-nav a b{color:#7ddcff}.account-form{display:grid;gap:8px}.account-form label{display:grid;gap:4px;color:#c5d8e6;font-size:8px;font-weight:750}.account-form input,.referral-link-field input{width:100%;min-width:0;height:36px;padding:0 9px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82;color:#f2f7fc;font-size:10px}.account-form label small{color:#9eb7ca;font-size:7px;font-weight:500}.account-form button,.account-welcome button{min-height:36px;border-radius:3px}.referral-panel>.muted strong{color:#ffe45c}.referral-link-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;color:#c5d8e6;font-size:8px;font-weight:750}.referral-link-field input{grid-column:1/-1;font-size:9px}.referral-link-field button{min-height:34px;padding:0 10px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#bfeeff;font-size:8px}.referral-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.referral-stats article{display:grid;gap:4px;padding:8px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82}.referral-stats small{color:#a9c8dc;font-size:7px;font-weight:800}.referral-stats strong{color:#f4f9ff;font-size:16px}.account-logout-form{margin:0}.account-logout-form button{min-height:34px;border:1px solid #3978ad;border-radius:3px;background:#123f70;color:#d3e6f2;font-size:9px}.topup-balance{display:grid;gap:4px;margin-bottom:9px;padding:10px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82}.topup-balance strong{color:#83e3ff}.topup-placeholder{display:flex;align-items:flex-start;gap:9px;margin-bottom:10px;padding:10px;border:1px dashed #4786b5;border-radius:3px;background:#103f70}.topup-placeholder>span{color:#83e4c1;font-size:18px}.topup-placeholder strong{color:#eff7ff;font-size:10px}.topup-placeholder p{margin:4px 0 0;color:#b9cedd;font-size:8px;line-height:1.5}.topup-panel>.secondary-button{display:inline-flex;min-height:32px;align-items:center;padding:0 9px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#bbebff;text-decoration:none;font-size:8px}.donor-shop-balance{margin:0 0 9px;color:#bdd3e2;font-size:8px}.donor-shop-balance strong{color:#83e3ff}.donor-shop-balance a{color:#88ddff;text-decoration:none;white-space:nowrap}.donor-shop-grid{display:grid;gap:0}.donor-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;border-top:1px solid rgba(145,192,233,.16)}.donor-item-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #3978ad;border-radius:3px;background:#174577;font-size:18px}.donor-item-copy{min-width:0}.donor-item-copy strong{color:#eef7ff;font-size:9px}.donor-item-copy p{margin:3px 0 0;color:#b9cddd;font-size:8px;line-height:1.4}.donor-item-buy{display:grid;justify-items:end;gap:4px}.donor-item-buy>b{color:#ffe45c;font-size:9px;white-space:nowrap}.donor-item-buy form{margin:0}.donor-item-buy .text-action{min-height:27px;padding:0 8px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#83e3ff;font-size:8px}.donor-item-buy .text-action:disabled{opacity:.4}.donor-owned{color:#83e3c0;font-size:8px;font-weight:800}.donor-shop-note{margin:8px 0 0;padding-top:7px;border-top:1px solid rgba(145,192,233,.15);color:#a9c3d6;font-size:7px;line-height:1.45}
@media(max-width:560px){.account-view{gap:8px}.account-view .panel{padding:9px}.account-view .panel-heading h2{font-size:14px}.account-nav{gap:5px}.account-nav a{padding:7px;font-size:8px}.donor-item{grid-template-columns:33px minmax(0,1fr) auto;gap:6px}.donor-item-icon{width:32px;height:32px;font-size:16px}.donor-item-copy p{font-size:7px}.account-currency strong,.topup-balance strong{font-size:14px}}

/* Stable settings header and crisp local vector icon set. */
.ui-icon{display:block;width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.game-info-open .ui-icon{width:17px;height:17px}
.account-settings-link .ui-icon{width:17px;height:17px}
.account-art .ui-icon,.account-section-icon .ui-icon{width:19px;height:19px}
.account-nav .ui-icon{width:15px;height:15px}
.donor-item-icon .ui-icon{width:18px;height:18px}
.topup-placeholder>span .ui-icon{width:17px;height:17px}
.account-view{width:100%;min-height:calc(100vh - 205px);align-content:start;margin-left:0;margin-right:auto}
.account-view .panel{position:relative;transform:none;transition:none}
.account-view .panel:hover{transform:none;box-shadow:none}
.game-topbar .topbar-stats{display:grid!important;grid-template-columns:64px minmax(0,1fr) 78px;gap:5px;width:100%;}
.game-topbar .day-pill{width:64px;min-width:64px;justify-content:center;font-variant-numeric:tabular-nums}
.game-topbar .balance-pill{width:100%;min-width:0;flex:none}
.game-topbar .balance-pill strong{min-width:0;font-variant-numeric:tabular-nums;white-space:nowrap}
.game-topbar .shift-pill{width:78px;min-width:78px;justify-content:center}
.game-topbar .shift-pill strong{width:31px;text-align:right;font-variant-numeric:tabular-nums}
.auto-order-row{align-items:center;flex-wrap:wrap}
.auto-order-icon{background:#0c4a82;color:#8ce4ff}
.auto-order-form{display:flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;margin:4px 0 0 40px}
.auto-order-enable{display:flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid #3978ad;border-radius:3px;background:#174577;color:#c8e9fb;font-size:8px;white-space:nowrap}
.auto-order-enable input{width:13px;height:13px;margin:0;accent-color:#4dd4a4}
.auto-order-budget-label{display:flex;align-items:center;gap:4px;color:#b9d0e2;font-size:8px;white-space:nowrap}
.auto-order-budget-label input{width:86px;height:28px;padding:0 5px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82;color:#f1f7ff;font-size:9px;font-variant-numeric:tabular-nums}
.auto-order-form .mini-action{width:28px;height:28px;flex:0 0 28px}
.account-view .panel-heading h2{font-size:16px}
.account-view .eyebrow{font-size:9px}
.account-view .muted{font-size:11px}
.account-form label,.referral-link-field{font-size:10px}
.account-form input,.referral-link-field input{font-size:12px}
.account-nav a{font-size:10px}
.referral-stats small,.donor-item-copy strong,.donor-item-buy>b{font-size:9px}
.donor-item-copy p,.donor-shop-note{font-size:9px}
.account-art .ui-icon,.account-section-icon .ui-icon{width:20px;height:20px}
@media(max-width:350px){.game-topbar .topbar-stats{grid-template-columns:58px minmax(0,1fr) 72px}.game-topbar .day-pill{width:58px;min-width:58px}.game-topbar .shift-pill{width:72px;min-width:72px}.auto-order-form{margin-left:0}.auto-order-budget-label input{width:74px}}

/* Store screens: a pinned status header and compact tabbed work areas. */

.store-summary-card{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:78px;margin:0 0 8px;padding:10px;border:1px solid #285688;border-radius:3px;background-color:#0b4177;background-size:cover;background-position:center 52%;color:#edf6ff}
.store-summary-copy{display:grid;gap:2px;min-width:0}.store-summary-copy>span{color:#8bd8ff;font-size:8px;font-weight:800}.store-summary-copy>strong{overflow:hidden;color:#fff;font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.store-summary-copy>small{overflow:hidden;color:#c2d2e0;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.store-summary-rent{display:grid;flex:0 0 auto;gap:1px;padding:6px 8px;border:1px solid rgba(139,216,255,.2);background:rgba(3,36,70,.78);color:#b9d4e8;font-size:7px;text-align:right}.store-summary-rent b{color:#ffe45c;font-size:10px}.store-tabs{position:sticky;top:84px;z-index:20;display:flex;gap:4px;overflow-x:auto;margin:0 0 8px;padding:4px;border:1px solid #285688;border-radius:3px;background:#0b4177;scrollbar-width:none}.store-tabs::-webkit-scrollbar{display:none}.store-tabs button{flex:1 0 auto;min-height:30px;padding:4px 8px;border:1px solid transparent;border-radius:3px;background:#123e6d;color:#bfd1e0;font:700 9px/1.2 Arial,Verdana,sans-serif;white-space:nowrap}.store-tabs button.is-active{border-color:#4d9bc8;background:#1b5b8d;color:#f3faff;box-shadow:inset 0 -2px #ffe45c}.store-content-grid{grid-template-columns:minmax(0,1fr)}.store-content-grid .right-column{grid-template-columns:minmax(0,1fr)}.store-equipment-panel{min-width:0}.store-equipment-panel>.management-list{margin-top:2px}.store-content-grid [hidden]{display:none!important}
@media(max-width:560px){.game-topbar{top:calc(50px + env(safe-area-inset-top))!important}.store-tabs{top:calc(125px + env(safe-area-inset-top));gap:3px}.store-tabs button{padding:4px 7px;font-size:8px}.store-summary-card{min-height:70px;padding:8px}.store-summary-copy>strong{font-size:13px}}

/* Unified game design: one card shape, one text scale and matching controls. */
.app-shell{
  --game-card-radius:8px;
  --game-control-radius:6px;
  --game-card-border:1px solid #3978ad;
  --game-card-padding:12px;
  --game-text-main:#edf6ff;
  --game-text-muted:#bfd1e0;
  --game-text-label:#8bd8ff;
}
.app-shell .panel,
.app-shell .city-event-board,
.app-shell .city-contract,
.app-shell .pending-deliveries,
.app-shell .guest-save-banner,
.app-shell .shift-report-card,
.app-shell .network-income-values article,
.app-shell .stat-card,
.app-shell .staffing-panel,
.app-shell .inventory-panel,
.app-shell .action-panel,
.app-shell .trend-panel,
.app-shell .review-panel,
.app-shell .business-card,
.app-shell .create-business-card,
.app-shell .game-news-card,
.app-shell .news-archive,
.app-shell .news-feed,
.app-shell .map-instruction,
.app-shell .location-details,
.app-shell .city-picker,
.app-shell .account-summary,
.app-shell .manager-panel,
.app-shell .next-day-box,
.app-shell .map-launch-card,
.app-shell .admin-stat,
.app-shell .city-map-view .panel,
.app-shell .city-map-art,
.app-shell .city-map-viewport,
.app-shell .admin-view .panel,
.app-shell .account-view .panel{
  border-radius:var(--game-card-radius)!important;
}
.app-shell .panel,
.app-shell .admin-view .panel,
.app-shell .account-view .panel{
  padding:var(--game-card-padding);
}
.app-shell .panel-heading h2,
.app-shell .admin-panel-heading h2,
.app-shell .staffing-heading h3,
.app-shell .city-contract-heading strong{
  color:var(--game-text-main);
  font-size:15px;
  line-height:1.3;
  letter-spacing:0;
}
.app-shell .panel .eyebrow,
.app-shell .city-event-copy .eyebrow,
.app-shell .city-contract-heading .eyebrow,
.app-shell .admin-view .eyebrow,
.app-shell .account-view .eyebrow{
  margin-bottom:4px;
  color:var(--game-text-label);
  font-size:9px;
  line-height:1.35;
  letter-spacing:.045em;
}
.app-shell .panel .muted,
.app-shell .staffing-intro,
.app-shell .finance-explainer,
.app-shell .network-income-summary>.muted,
.app-shell .shift-report-note,
.app-shell .account-view .muted{
  color:var(--game-text-muted);
  font-size:10px;
  line-height:1.5;
}
.app-shell .city-event-board{
  display:grid;
  gap:9px;
  margin:0 0 12px;
  padding:var(--game-card-padding);
  border:var(--game-card-border);
  background:#0b4177;
  color:var(--game-text-main);
}
.app-shell .city-event-banner{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:9px;
  border:var(--game-card-border);
  border-radius:var(--game-control-radius);
  background:#0c4a82;
}
.app-shell .city-event-icon,.app-shell .city-event-streak{
  display:grid;
  place-items:center;
  min-width:32px;
  min-height:32px;
  border:var(--game-card-border);
  border-radius:var(--game-control-radius);
  background:#174577;
  color:#8ce4ff;
}
.app-shell .city-event-streak{padding:5px 8px;color:var(--game-text-muted);font-size:9px;text-align:center}
.app-shell .city-event-streak b{color:#ffe45c;font-size:11px}
.app-shell .city-event-copy{display:grid;gap:2px;min-width:0}
.app-shell .city-event-copy strong{color:var(--game-text-main);font-size:12px;line-height:1.35}
.app-shell .city-event-copy small{color:var(--game-text-muted);font-size:9px;line-height:1.4}
.app-shell .city-contract-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.app-shell .city-contract-heading>span{color:var(--game-text-muted);font-size:9px}
.app-shell .city-contract-heading>div{display:grid;gap:2px}
.app-shell .city-contract-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.app-shell .city-contract{min-width:0;padding:9px;border:var(--game-card-border);background:#0c4a82}
.app-shell .city-contract-top{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.app-shell .city-contract-top strong{color:var(--game-text-main);font-size:10px;line-height:1.35}
.app-shell .city-contract-top b{color:#8ce4ff;font-size:9px;white-space:nowrap}
.app-shell .city-contract>small,.app-shell .city-contract>span{display:block;margin-top:5px;color:var(--game-text-muted);font-size:8px;line-height:1.35}
.app-shell .city-contract-progress{height:5px;margin-top:7px;overflow:hidden;border-radius:var(--game-control-radius);background:#083b70}
.app-shell .city-contract-progress i{display:block;height:100%;border-radius:inherit;background:#63d6b0}
.app-shell .city-contract-last,.app-shell .shift-report-contract-reward{margin:0;padding:8px;border:var(--game-card-border);border-radius:var(--game-control-radius);background:#174577;color:#d8efff;font-size:9px;line-height:1.45}
.app-shell .shift-report-contract-reward{margin:7px 0 0;border-color:#398b82;background:#0c655d;color:#b7ffdf}
.app-shell :is(.city-tab,.map-district,.competitor-list,.competitor-chip,.staff-cost-summary,.shift-report-metrics article,.shift-report-visitors,.account-currency,.donor-shop-balance,.referral-stats article,.topup-balance,.topup-placeholder,.donor-item-icon,.auto-order-enable){border-radius:var(--game-control-radius)!important}
.app-shell :is(button,input,select,textarea,.primary-button,.secondary-button,.text-action,.mini-action,.icon-button,.account-settings-link){border-radius:var(--game-control-radius)}
.auth-card{border-radius:8px!important}
.auth-card :is(button,input,select,textarea,.primary-button,.secondary-button){border-radius:6px}
.app-shell .city-map-view .panel-heading h2,.app-shell .inventory-panel .panel-heading h2{font-size:15px;line-height:1.3;letter-spacing:0}
@media(max-width:560px){
  .app-shell{--game-card-padding:10px}
  .app-shell .city-event-banner{grid-template-columns:30px minmax(0,1fr);gap:7px;padding:8px}
  .app-shell .city-event-icon{min-width:28px;min-height:28px}
  .app-shell .city-event-streak{grid-column:2;justify-self:start;min-height:0;padding:4px 7px}
  .app-shell .city-contract-list{grid-template-columns:1fr;gap:6px}
  .app-shell .city-contract{padding:8px}
}

/* Online store operations fit the shared blue game panels. */
.app-shell .online-commerce-panel{display:grid;gap:9px;margin:0 0 12px}
.online-status{padding:5px 8px;border:1px solid #3978ad;border-radius:6px;background:#174577;color:#ffdc91;font-size:8px;font-weight:800;text-align:center}
.online-status.is-ready{border-color:#398b82;background:#0c655d;color:#a3ffdc}
.online-commerce-panel>.muted{margin:0}
.online-setup-form{margin:0}
.online-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.online-summary-grid article{display:grid;gap:4px;min-width:0;padding:8px;border:1px solid #3978ad;border-radius:6px;background:#0c4a82}
.online-summary-grid small{color:#b2c9dc;font-size:8px;font-weight:800;letter-spacing:.04em}
.online-summary-grid strong{color:#f3f8fd;font-size:13px;overflow-wrap:anywhere}
.online-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.online-management-card{display:grid;gap:7px;min-width:0;padding:8px;border:1px solid #3978ad;border-radius:6px;background:#0b4177}
.online-management-title{display:grid;gap:4px}
.online-management-title strong{color:#edf6ff;font-size:10px;line-height:1.35}
.online-management-title small{color:#bfd1e0;font-size:8px;line-height:1.4}
.online-management-card form{margin:0}
.online-management-card .secondary-button{min-height:30px;padding:0 8px;font-size:8px}
.online-staff-actions{display:flex;gap:5px}
.online-staff-actions form{flex:1}
.online-staff-actions .mini-action{width:100%;min-height:29px;padding:0 5px;font-size:8px}
.online-vehicle-list{display:grid;gap:6px}
.online-vehicle-list>strong{color:#edf6ff;font-size:10px}
.online-vehicle-list>div{display:grid;gap:6px}
.online-vehicle-card{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px;border:1px solid #3978ad;border-radius:6px;background:#0c4a82}
.online-vehicle-card>span{font-size:18px}
.online-vehicle-card>div{display:grid;gap:3px;min-width:0}
.online-vehicle-card>div strong{color:#edf6ff;font-size:9px}
.online-vehicle-card>div small{color:#bfd1e0;font-size:7px;line-height:1.35}
.online-vehicle-card form{margin:0}
.online-vehicle-card .secondary-button{min-height:29px;padding:0 7px;font-size:8px;white-space:nowrap}
.online-expense-note{margin:0;padding:8px;border:1px solid #3978ad;border-radius:6px;background:#174577;color:#c9dceb;font-size:8px;line-height:1.45}
@media(max-width:560px){.online-summary-grid{grid-template-columns:1fr 1fr}.online-summary-grid article:last-child{grid-column:1/-1}.online-management-grid{grid-template-columns:1fr}.online-vehicle-card{grid-template-columns:24px minmax(0,1fr) auto;gap:5px;padding:6px}.online-vehicle-card .secondary-button{font-size:7px;padding:0 5px}}
/* City contracts menu entry follows the same light blue game navigation. */
.contracts-page-board{margin-top:0!important}.contracts-page-board .city-contract-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:560px){.contracts-page-board .city-contract-list{grid-template-columns:1fr}}

/* Keep the complete game header fixed in the viewport on both desktop and phones. */
.game-topbar{position:fixed!important;top:calc(50px + env(safe-area-inset-top))!important;left:50%!important;transform:translateX(-50%);width:min(480px,100vw)!important;max-width:480px!important;margin:0!important;z-index:100;box-sizing:border-box}
.main-content{padding-top:75px!important}

/* Final game-wide design pass: shared surfaces, outlines, controls and readable copy. */
.app-shell{
  --ui-surface:#0b4177;
  --ui-surface-raised:#0c4a82;
  --ui-surface-control:#174577;
  --ui-border:#4a83ad;
  --ui-border-strong:#68a9d3;
  --ui-accent:#68dcff;
  --ui-copy:#edf6ff;
  --ui-muted:#c4d5e3;
  --game-card-border:1px solid var(--ui-border);
  --game-card-radius:6px;
  --game-control-radius:5px;
  --game-card-padding:12px;
}
.app-shell :is(.panel,.stat-card,.business-card,.create-business-card,.city-contract,.pending-deliveries,.guest-save-banner,.shift-report-card,.store-summary-card,.online-commerce-panel,.online-management-card,.online-summary-grid article,.online-vehicle-card,.game-news-card,.news-archive,.account-view .panel,.admin-view .panel,.city-map-view .panel,.location-details,.city-picker,.network-income-values article,.staffing-panel,.action-panel,.trend-panel,.review-panel,.admin-stat){
  border:1px solid var(--ui-border)!important;
  border-radius:var(--game-card-radius)!important;
  color:var(--ui-copy);
  box-shadow:none!important;
}
.app-shell :is(.panel,.stat-card,.business-card,.create-business-card,.city-contract,.pending-deliveries,.guest-save-banner,.shift-report-card,.online-commerce-panel,.online-management-card,.online-summary-grid article,.online-vehicle-card,.game-news-card,.news-archive,.location-details,.city-picker,.network-income-values article,.staffing-panel,.action-panel,.trend-panel,.review-panel,.admin-stat){
  background-color:var(--ui-surface)!important;
}
.app-shell :is(.network-income-values article,.business-metrics,.staff-role-row,.management-row,.product-row,.city-tab,.map-district,.online-management-card,.online-vehicle-card,.history-row,.review-row,.admin-account-row,.online-summary-grid article){
  border-color:var(--ui-border)!important;
}
.app-shell :is(.network-income-values article,.city-tab,.map-district,.online-management-card,.online-summary-grid article,.online-vehicle-card,.admin-stat){background-color:var(--ui-surface-raised)!important}
.app-shell :is(button,.primary-button,.secondary-button,.buy-button,.text-action,.mini-action,.save-price,.store-tabs button,.game-info-actions>a,.game-info-actions>button,.game-info-actions form button,.register-close,.manager-close,.icon-button){
  border-color:var(--ui-border-strong)!important;
  border-radius:var(--game-control-radius)!important;
  box-shadow:none!important;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.app-shell button:not(.icon-button):not(.game-info-open):not(.register-close):not(.manager-close),
.app-shell :is(.primary-button,.secondary-button,.buy-button,.text-action,.mini-action,.save-price,.store-tabs button,.game-info-actions>a,.game-info-actions>button,.game-info-actions form button){
  min-height:36px;
  padding-top:6px;
  padding-bottom:6px;
  background:var(--ui-surface-control)!important;
  color:var(--ui-copy)!important;
  font-size:11px!important;
  font-weight:700;
}
.app-shell :is(.primary-button,.secondary-button,.buy-button,.text-action,.mini-action,.save-price,.store-tabs button,.game-info-actions>a,.game-info-actions>button,.game-info-actions form button):hover,
.app-shell button:not(:disabled):hover{background:#1c5b8d!important;border-color:var(--ui-accent)!important;color:#fff!important}
.app-shell :is(button,.primary-button,.secondary-button,.buy-button,.text-action,.mini-action,.save-price,.store-tabs button,.game-info-actions>a,.game-info-actions>button,.game-info-actions form button):focus-visible,
.app-shell :is(input,select,textarea):focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:2px!important}
.app-shell button:disabled,.app-shell :is(.primary-button,.secondary-button,.buy-button,.text-action,.mini-action,.save-price):disabled{opacity:.52;cursor:not-allowed}
.app-shell :is(input,select,textarea){border-color:var(--ui-border)!important;border-radius:var(--game-control-radius)!important;background-color:#082f58!important;color:var(--ui-copy)!important;font-size:12px!important}
.app-shell :is(input,select,textarea)::placeholder{color:#b3c8d8!important;opacity:1}
.app-shell :is(.eyebrow,.panel .eyebrow,.business-card .eyebrow){font-size:10px!important;line-height:1.4;color:#9fe7ff!important}
.app-shell :is(.muted,.product-meta,.order-summary,.manage-copy small,.business-departments,.business-metrics small,.business-rating,.business-shift-finance,.staffing-intro,.staff-role-copy small,.staff-expense-note,.inspection-frequency-note,.finance-explainer,.history-row,.history-expenses,.review-row p,.review-row time,.city-tab small,.map-point-label small,.map-instruction small,.competitor-chip,.city-contract-heading>span,.city-contract-top strong,.city-contract>small,.city-contract>span,.online-status,.online-summary-grid small,.online-management-title small,.online-vehicle-card small,.online-expense-note,.game-news-content p,.game-news-content time,.account-view .muted,.referral-stats small,.topup-placeholder p,.donor-item-copy p,.admin-news-row-copy p,.admin-account-row time){font-size:11px!important;line-height:1.45;color:var(--ui-muted)}
.app-shell .manage-copy small{white-space:normal;overflow-wrap:anywhere}
.app-shell :is(.panel-heading h2,.admin-panel-heading h2,.staffing-heading h3,.city-contract-heading strong){font-size:16px!important;line-height:1.35;color:var(--ui-copy)!important}
.app-shell .store-tabs button{min-height:38px;font-size:11px!important}
.app-shell .store-tabs button.is-active{background:#1c5b8d!important;border-color:var(--ui-accent)!important;color:#fff!important;box-shadow:inset 0 -2px var(--ui-accent)!important}
.app-shell .game-topbar{border:1px solid var(--ui-border-strong)!important;background:#174577!important}
.app-shell .store-summary-card{border-color:var(--ui-border-strong)!important}
.app-shell .city-event-icon,.app-shell .city-event-streak,.app-shell .city-contract-last,.app-shell .shift-report-contract-reward,.app-shell .game-info-stats>div,.app-shell .game-info-actions>a,.app-shell .game-info-actions>button{border-color:var(--ui-border)!important}
.app-shell .city-contract-top b,.app-shell .city-event-streak b,.app-shell .balance-pill strong,.app-shell .review-rating{color:#ffe45c!important}
@media(max-width:560px){
  .app-shell{--game-card-padding:12px}
  .app-shell .panel,.app-shell .admin-view .panel,.app-shell .account-view .panel{padding:12px!important}
  .app-shell :is(.product-meta,.order-summary,.manage-copy small,.business-departments,.business-metrics small,.staff-role-copy small,.review-row p,.review-row time){font-size:11px!important}
  .app-shell .game-topbar{border-width:1px!important}
}

/* Keep compact rows and status chips on the same blue surface system. */
.app-shell :is(.staff-role-row,.staff-role-row.role-shortage,.management-row,.product-row,.online-vehicle-card,.online-management-card,.online-summary-grid article,.city-tab,.map-district,.competitor-chip,.history-row,.review-row,.admin-account-row){
  border-color:var(--ui-border)!important;
  border-radius:var(--game-control-radius)!important;
}
.app-shell :is(.staff-role-row,.staff-role-row.role-shortage,.management-row,.product-row,.competitor-chip){background-color:var(--ui-surface-raised)!important}
.app-shell :is(.staffing-state.ready,.staffing-state.needs-staff,.online-status,.online-status.is-ready,.business-state,.creator-status){border-color:var(--ui-border-strong)!important;border-radius:var(--game-control-radius)!important;background:#174577!important;color:#bdeeff!important}
.app-shell .panel label,.app-shell .manage-copy strong,.app-shell .staff-role-copy strong,.app-shell .online-management-title strong,.app-shell .online-vehicle-card>div strong{font-size:12px!important;line-height:1.4}
.app-shell .balance-pill.is-negative strong,.app-shell .is-negative{color:#ffb293!important}

/* Refine the shared theme: softer outlines and a little surface depth. */
.app-shell{
  --ui-surface:#0b4177;
  --ui-surface-raised:#0d497d;
  --ui-surface-control:#174577;
  --ui-border:#315f82;
  --ui-border-strong:#416f90;
  --ui-accent:#60b6d4;
  --game-card-border:1px solid var(--ui-border);
}
.app-shell :is(.stat-card,.business-card,.create-business-card,.city-contract,.network-income-values article,.online-summary-grid article,.online-management-card,.online-vehicle-card,.admin-stat){background-color:var(--ui-surface-raised)!important}
.app-shell .store-tabs button.is-active{border-color:var(--ui-accent)!important;box-shadow:inset 0 -2px var(--ui-accent)!important}
.app-shell :is(.staffing-state.ready,.online-status.is-ready,.business-state.is-open,.creator-status:not(.is-maintenance)){border-color:#3c766f!important;background:#124f63!important;color:#c7f3e7!important}
.app-shell :is(.staffing-state.needs-staff,.business-state.is-closed,.creator-status.is-maintenance){border-color:#756744!important;background:#4b4938!important;color:#f0dfa9!important}
.app-shell .game-topbar{height:75px!important;min-height:75px!important;grid-template-rows:29px 27px!important;align-content:start!important;border-color:var(--ui-border-strong)!important}
.app-shell .game-topbar .topbar-main{min-height:29px!important}
.app-shell .game-topbar .topbar-stats{min-height:27px!important}
@media(max-width:560px){.app-shell .game-topbar{height:75px!important;min-height:75px!important}}

/* Fixed top bars and simplified in-panel lists for narrow screens. */
.app-shell .sidebar{position:fixed!important;inset:0 auto auto 50%!important;transform:translateX(-50%);width:min(430px,100vw)!important;max-width:430px!important;height:calc(50px + env(safe-area-inset-top))!important;min-height:0!important;padding:calc(5px + env(safe-area-inset-top)) 12px 5px!important;z-index:110!important}
.app-shell .game-topbar{position:fixed!important;inset:calc(50px + env(safe-area-inset-top)) auto auto 50%!important;transform:translateX(-50%);width:min(430px,100vw)!important;max-width:430px!important;height:75px!important;min-height:75px!important;margin:0!important;z-index:109!important}
.app-shell .main-content{padding-top:calc(125px + env(safe-area-inset-top))!important}

/* Keep the staff section visible as one calm panel; simplify everything inside it. */
.app-shell .staffing-panel{margin:2px 0 12px!important;padding:12px!important;border:1px solid var(--ui-border)!important;border-radius:10px!important;background:var(--ui-surface)!important;box-shadow:none!important}
.app-shell .staffing-state{display:inline-flex!important;align-items:center;gap:7px;margin:0 0 6px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important;letter-spacing:0!important}
.app-shell .staffing-state:before{width:7px;height:7px;box-shadow:none!important}
.app-shell .staffing-intro{margin:0 0 7px!important;padding:0!important;border:0!important;font-size:12px!important;line-height:1.5!important}
.app-shell .staff-role-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{min-height:54px!important;padding:9px 2px!important;border:0!important;border-top:1px solid rgba(65,111,144,.42)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;grid-template-columns:34px minmax(0,1fr) 36px 36px!important;gap:8px!important}
.app-shell .staff-role-row:first-child{border-top:0!important}
.app-shell .staff-role-icon{width:30px!important;height:30px!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:18px!important}
.app-shell .staff-role-copy strong{font-size:13px!important;line-height:1.35!important}
.app-shell .staff-role-copy small{font-size:11px!important;line-height:1.4!important}
.app-shell .staff-role-row .mini-action{width:34px!important;min-width:34px!important;height:34px!important;border-radius:7px!important;font-size:17px!important}
.app-shell .staff-cost-summary{display:flex!important;justify-content:space-between;gap:12px;margin:7px 0 0!important;padding:9px 0!important;border:0!important;border-top:1px solid rgba(65,111,144,.42)!important;border-radius:0!important;background:transparent!important;font-size:12px!important}
.app-shell .staff-cost-summary b{font-size:13px!important}
.app-shell .staff-expense-note{margin:0!important;padding:8px 0 0!important;border:0!important;border-top:1px solid rgba(65,111,144,.3)!important;border-radius:0!important;background:transparent!important;font-size:11px!important;line-height:1.5!important}
.app-shell .staffing-panel{padding:8px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{padding:9px 2px!important;border:0!important;border-bottom:1px solid rgba(49,95,130,.55)!important;border-radius:0!important;background:transparent!important}
.app-shell .store-equipment-panel .management-row{padding:12px 2px!important;border:0!important;border-bottom:1px solid rgba(49,95,130,.55)!important;border-radius:0!important;background:transparent!important}
.app-shell .product-row{padding:13px 2px!important;border:0!important;border-top:1px solid rgba(49,95,130,.55)!important;border-radius:0!important;background:transparent!important}
.app-shell .product-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%;margin-top:5px!important;padding-top:8px!important;border-top:1px solid rgba(49,95,130,.38)!important}
.app-shell .manual-order{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:end;gap:8px!important;width:100%;margin:0}
.app-shell .manual-order label,.app-shell .price-form label{display:grid!important;gap:5px!important;min-width:0;color:#c4d5e3!important;font-size:11px!important;line-height:1.35}
.app-shell .manual-order input,.app-shell .manual-order select,.app-shell .price-form input{width:100%!important;height:42px!important;min-width:0;padding:0 10px!important;font-size:13px!important}
.app-shell .manual-order .buy-button{grid-column:1/-1;width:100%;min-height:44px!important;font-size:13px!important}
.app-shell .order-summary{grid-column:1/-1;display:block;margin:0;padding:3px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#c4d5e3!important;font-size:10px!important;line-height:1.5!important;white-space:normal}
.app-shell .price-form{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;width:100%;margin:0;padding-top:8px;border-top:1px solid rgba(49,95,130,.38)}
.app-shell .price-form label{grid-column:1;grid-template-columns:1fr!important}
.app-shell .price-form .save-price{grid-column:2;grid-row:1;align-self:end;width:44px!important;height:42px!important;font-size:16px!important}
.app-shell .action-panel .staffing-heading{padding-bottom:8px;border-bottom:1px solid rgba(49,95,130,.55)}
.app-shell .store-equipment-panel .management-list{gap:0}
.app-shell .online-management-card,.app-shell .online-summary-grid article,.app-shell .online-vehicle-card,.app-shell .network-income-values article,.app-shell .shift-report-metrics article{padding:9px 2px!important;border:0!important;border-bottom:1px solid rgba(49,95,130,.55)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .city-contract{padding:10px 3px!important;border:0!important;border-top:1px solid rgba(49,95,130,.55)!important;border-radius:0!important;background:transparent!important}
.app-shell .review-row{padding:10px 2px!important;border:0!important;border-top:1px solid rgba(49,95,130,.55)!important;border-radius:0!important;background:transparent!important}
@media(max-width:560px){
  .app-shell .game-topbar{grid-template-rows:29px 27px!important}
  .app-shell .main-content{padding-top:calc(125px + env(safe-area-inset-top))!important}
  .app-shell .manual-order{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
}

/* Simplify the interface: the header stays in document flow and sticks at the top;
   content inside a panel is separated with thin rules instead of nested cards. */

.app-shell .main-content{padding-top:8px!important}
.app-shell :is(.inventory-panel,.action-panel,.store-equipment-panel,.online-commerce-panel,.trend-panel,.review-panel){padding:12px!important}
.app-shell .staffing-panel{padding:8px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell :is(.product-row,.staff-role-row,.staff-role-row.role-shortage,.management-row,.city-contract,.online-management-card,.online-summary-grid article,.online-vehicle-card,.network-income-values article,.shift-report-metrics article,.admin-stat,.competitor-chip,.city-tab,.map-district){padding:11px 2px!important;border:0!important;border-top:1px solid rgba(65,111,144,.48)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .product-row{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important;padding:14px 2px!important}
.app-shell .product-emoji{grid-column:1;grid-row:1;align-self:start}
.app-shell .product-main{grid-column:2;grid-row:1;min-width:0}
.app-shell .product-actions{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;margin-top:5px!important;padding-top:9px!important;border-top:1px solid rgba(65,111,144,.35)!important}
.app-shell .manual-order{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important;width:100%;margin:0}
.app-shell .manual-order label,.app-shell .price-form label{display:grid!important;gap:5px!important;min-width:0;color:#c4d5e3!important;font-size:11px!important;line-height:1.35}
.app-shell .manual-order input,.app-shell .manual-order select,.app-shell .price-form input{width:100%!important;height:42px!important;min-width:0;padding:0 10px!important;font-size:13px!important}
.app-shell .manual-order .buy-button{grid-column:1/-1;width:100%;min-height:44px!important;font-size:13px!important}
.app-shell .order-summary{grid-column:1/-1;display:block;margin:0;padding:0!important;border:0!important;background:transparent!important;color:#c4d5e3!important;font-size:10px!important;line-height:1.5!important;white-space:normal}
.app-shell .price-form{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;width:100%;margin:0;padding-top:8px;border-top:1px solid rgba(65,111,144,.35)}
.app-shell .price-form label{grid-column:1;grid-template-columns:1fr!important}
.app-shell .price-form .save-price{grid-column:2;grid-row:1;align-self:end;width:44px!important;height:42px!important;font-size:16px!important}
.app-shell .action-panel .staffing-heading{padding-bottom:8px;border-bottom:1px solid rgba(65,111,144,.48)}
.app-shell .store-equipment-panel .management-list{gap:0}
.app-shell .category-filter{margin:0 0 9px;padding:0 0 10px!important;border:0!important;border-bottom:1px solid rgba(65,111,144,.48)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .city-contract-list{gap:0!important}
.app-shell .online-management-grid,.app-shell .online-vehicle-list>div{gap:0!important}
.app-shell :is(.review-row,.history-row,.staff-role-row,.management-row,.product-row) :is(p,small){line-height:1.5}

/* The complete game header stays pinned to the viewport at every screen size. */
.app-shell .sidebar{position:fixed!important;top:0!important;right:auto!important;bottom:auto!important;left:50%!important;transform:translateX(-50%)!important;width:min(430px,100vw)!important;max-width:430px!important;height:calc(50px + env(safe-area-inset-top))!important;min-height:0!important;margin:0!important;padding:calc(5px + env(safe-area-inset-top)) 12px 5px!important;z-index:110!important}
.app-shell .game-topbar{position:fixed!important;top:calc(50px + env(safe-area-inset-top))!important;right:auto!important;bottom:auto!important;left:50%!important;transform:translateX(-50%)!important;width:min(430px,100vw)!important;max-width:430px!important;height:75px!important;min-height:75px!important;margin:0!important;padding:6px 7px!important;z-index:109!important;box-sizing:border-box!important;background:#174577!important}
.app-shell .main-content{padding-top:calc(125px + env(safe-area-inset-top))!important}

/* The team box uses the same quiet treatment as the product list. */
.app-shell .staffing-panel{display:block!important;margin:4px 0 12px!important;padding:10px 12px!important;border:1px solid var(--ui-border)!important;border-radius:8px!important;background:var(--ui-surface)!important;box-shadow:none!important}
.app-shell .staffing-state{display:flex!important;width:max-content;align-items:center;gap:7px;margin:0 0 5px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important}
.app-shell .staffing-intro{margin:0 0 6px!important;padding:0!important;border:0!important;font-size:11px!important;line-height:1.45!important}
.app-shell .staff-role-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{display:grid!important;grid-template-columns:30px minmax(0,1fr) 32px 32px!important;align-items:center!important;gap:7px!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:7px 0!important;border:0!important;border-top:1px solid rgba(65,111,144,.4)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .staff-role-row:first-child{border-top:0!important}
.app-shell .staff-role-row form{display:grid!important;place-items:center!important;min-width:0!important;margin:0!important}
.app-shell .staff-role-icon{display:grid!important;place-items:center!important;width:26px!important;height:26px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:17px!important}
.app-shell .staff-role-icon svg{display:block;width:22px;height:22px}
.app-shell .staff-role-copy{display:grid!important;gap:2px!important;min-width:0!important}
.app-shell .staff-role-copy strong{overflow:visible!important;font-size:12px!important;line-height:1.3!important;white-space:normal!important}
.app-shell .staff-role-copy small{font-size:10px!important;line-height:1.35!important}
.app-shell .staff-role-row .mini-action{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border-radius:6px!important;font-size:16px!important}
.app-shell .staff-cost-summary{display:flex!important;justify-content:space-between!important;gap:10px!important;margin:6px 0 0!important;padding:8px 0 0!important;border:0!important;border-top:1px solid rgba(65,111,144,.4)!important;border-radius:0!important;background:transparent!important;font-size:11px!important}
.app-shell .staff-cost-summary b{font-size:12px!important}
.app-shell .staff-expense-note{margin:0!important;padding:6px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:10px!important;line-height:1.4!important}
@media(max-width:360px){.app-shell .staffing-panel{padding:9px!important}.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{grid-template-columns:25px minmax(0,1fr) 29px 29px!important;gap:5px!important}.app-shell .staff-role-row .mini-action{width:28px!important;min-width:28px!important;height:28px!important}}
.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{grid-template-columns:30px minmax(0,1fr) auto!important}
.app-shell .staff-role-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;margin:0!important;padding:0!important}
.app-shell .staff-role-actions .mini-action{flex:0 0 30px!important}
@media(max-width:360px){.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{grid-template-columns:25px minmax(0,1fr) auto!important}.app-shell .staff-role-actions{gap:4px!important}.app-shell .staff-role-actions .mini-action{flex-basis:28px!important}}
.app-shell .cleanliness-row.is-dirty .manage-copy strong{color:#ffd08b!important}
.app-shell .daily-reward-panel{display:grid!important;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:14px;margin:0 0 14px!important;padding:12px!important;border-color:var(--ui-border)!important;background:var(--ui-surface)!important}
.app-shell .daily-reward-art{display:block;width:100%;max-width:120px;height:auto;object-fit:contain}
.app-shell .daily-reward-content{min-width:0}
.app-shell .daily-reward-content .eyebrow{margin:0 0 3px!important;color:#8fdcff!important}
.app-shell .daily-reward-content h2{margin:0;color:#f0f7ff;font-size:17px;line-height:1.3}
.app-shell .daily-reward-description{margin:5px 0 9px;color:var(--ui-muted);font-size:11px;line-height:1.4}
.app-shell .daily-reward-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.app-shell .daily-reward-day{display:grid;justify-items:center;gap:2px;min-width:0;padding:5px 2px;border:1px solid var(--ui-border);border-radius:6px;background:var(--ui-surface-raised);text-align:center}
.app-shell .daily-reward-day small{color:var(--ui-muted);font-size:8px;line-height:1.1}
.app-shell .daily-reward-day strong{color:#dceeff;font-size:8px;line-height:1.1;white-space:nowrap}
.app-shell .daily-reward-day span{color:#91dff5;font-size:8px;line-height:1.1}
.app-shell .daily-reward-day.received{border-color:rgba(95,181,151,.4);background:rgba(27,113,95,.25)}
.app-shell .daily-reward-day.ready{border-color:#66b7dd;background:#174577}
.app-shell .daily-reward-day.ready strong{color:#ffe28a}
.app-shell .daily-reward-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
.app-shell .daily-reward-next,.app-shell .daily-reward-status{color:#c9dbea;font-size:11px;line-height:1.4}
.app-shell .daily-reward-next b{color:#ffe28a}
.app-shell .daily-reward-footer form{margin:0}
.app-shell .daily-reward-claim{min-height:36px;height:36px;padding:0 12px;font-size:11px}
@media(max-width:560px){.app-shell .daily-reward-panel{grid-template-columns:78px minmax(0,1fr);gap:9px;padding:10px!important}.app-shell .daily-reward-art{max-width:78px}.app-shell .daily-reward-content h2{font-size:14px}.app-shell .daily-reward-description{font-size:10px}.app-shell .daily-reward-track{gap:3px}.app-shell .daily-reward-day{padding:4px 1px}.app-shell .daily-reward-day small,.app-shell .daily-reward-day strong,.app-shell .daily-reward-day span{font-size:7px}}

.app-shell .development-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.app-shell .development-overview>.panel{min-width:0;margin:0}
.app-shell .development-score{color:#ffe08a;font-size:26px;white-space:nowrap}
.app-shell .development-score small{font-size:11px;color:var(--ui-muted)}
.app-shell .development-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.app-shell .development-metrics>span{display:grid;gap:5px;min-width:0}
.app-shell .development-metrics small{color:var(--ui-muted);font-size:10px;line-height:1.35}
.app-shell .development-metrics b{font-size:16px}
.app-shell .development-goal-list{display:grid;gap:10px}
.app-shell .development-goal{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--ui-border)}
.app-shell .development-goal:last-child{border-bottom:0}
.app-shell .development-goal>div:first-child{display:grid;gap:3px;min-width:0}
.app-shell .development-goal strong{font-size:13px}
.app-shell .development-goal small{color:var(--ui-muted);font-size:11px;line-height:1.35}
.app-shell .development-goal form{grid-column:2;grid-row:1 / span 2;margin:0}
.app-shell .development-progress{grid-column:1 / -1;height:6px;overflow:hidden;border-radius:5px;background:rgba(118,155,190,.18)}
.app-shell .development-progress i{display:block;height:100%;border-radius:inherit;background:#63badc}
.app-shell .development-progress-label,.app-shell .development-complete{grid-column:2;grid-row:1 / span 2;color:#9ad9f0;font-size:11px}
.app-shell .development-complete{color:#a6dfbd}
.app-shell .development-segment-list{display:grid;gap:0}
.app-shell .development-segment-list>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 8px;padding:9px 0;border-bottom:1px solid var(--ui-border)}
.app-shell .development-segment-list>div:last-child{border:0}
.app-shell .development-segment-list>div>span{grid-row:1 / span 2;align-self:center;font-size:20px}
.app-shell .development-segment-list strong{font-size:12px}
.app-shell .development-segment-list small{color:var(--ui-muted);font-size:10px;line-height:1.35}
.app-shell .development-ranking-list{display:grid}
.app-shell .development-ranking-row{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:4px 7px;padding:8px 0;border-bottom:1px solid var(--ui-border)}
.app-shell .development-ranking-row> b{grid-row:1 / span 2;color:#91d6ef}
.app-shell .development-ranking-row>strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-shell .development-ranking-row>small{grid-column:2;color:var(--ui-muted);font-size:10px}
.app-shell .development-ranking-row>em{grid-column:3;grid-row:1 / span 2;color:#ffe08a;font-size:11px;font-style:normal}
.app-shell .development-ranking-row.is-self{color:#bde9fa}
.app-shell .supplier-choice-panel{padding-bottom:12px}
.app-shell .supplier-choice-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.app-shell .supplier-choice-form label,.app-shell .staff-training-control label{display:grid;gap:4px;min-width:0;color:var(--ui-muted);font-size:11px}
.app-shell .supplier-choice-form select,.app-shell .staff-training-control select{max-width:100%;min-width:0}
.app-shell .staff-training-control{display:grid;gap:8px;margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid var(--ui-border)}
.app-shell .staff-training-control>div{display:grid;gap:3px}
.app-shell .staff-training-control strong{font-size:12px}
.app-shell .staff-training-control small{color:var(--ui-muted);font-size:10px;line-height:1.4}
.app-shell .staff-training-control form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin:0}
@media(max-width:640px){.app-shell .development-overview{grid-template-columns:minmax(0,1fr)}.app-shell .supplier-choice-form{grid-template-columns:minmax(0,1fr)}.app-shell .supplier-choice-form .secondary-button{width:100%}}
.app-shell .store-content-grid[data-active-store-tab="promotions"]{display:none!important}
.app-shell .promotions-panel{margin:0 0 12px}
.app-shell .promotion-create-form{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.7fr) auto;gap:10px;align-items:end;margin:12px 0 15px}
.app-shell .promotion-create-form label{display:grid;gap:5px;min-width:0;color:var(--ui-muted);font-size:11px}
.app-shell .promotion-create-form select,.app-shell .promotion-create-form input{min-width:0;width:100%}
.app-shell .promotion-list{display:grid;gap:0}
.app-shell .promotion-list>strong{padding:0 0 7px;color:#c9eaff;font-size:12px}
.app-shell .promotion-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:9px 0;border-top:1px solid var(--ui-border)}
.app-shell .promotion-row>div{display:grid;gap:3px;min-width:0}
.app-shell .promotion-row>div strong{font-size:13px}
.app-shell .promotion-row>div small,.app-shell .promotion-price{color:var(--ui-muted);font-size:10px;line-height:1.35}
.app-shell .promotion-discount{color:#ffe08a;font-size:13px;white-space:nowrap}
.app-shell .promotion-price{grid-column:1}
.app-shell .promotion-row form{grid-column:2;grid-row:2 / span 2;margin:0}
.app-shell .promotion-empty{margin:10px 0;color:var(--ui-muted);font-size:12px;line-height:1.5}
@media(max-width:640px){.app-shell .promotion-create-form{grid-template-columns:minmax(0,1fr) minmax(90px,.55fr)}.app-shell .promotion-create-form button{grid-column:1 / -1;width:100%}}

/* Central network warehouse */
.warehouse-view{display:grid;gap:14px;max-width:1050px;margin:0 auto}.warehouse-totals{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:12px}.warehouse-totals>span{display:grid;gap:3px}.warehouse-totals small{font-size:10px;color:var(--ui-muted);letter-spacing:.04em}.warehouse-totals strong{font-size:17px;color:var(--ui-text)}.warehouse-product-list{display:grid;gap:0}.warehouse-product-row{display:grid;grid-template-columns:40px minmax(140px,1fr) auto;align-items:center;gap:9px;padding:12px 0;border-top:1px solid rgba(140,190,220,.14)}.warehouse-product-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#0c4a82;font-size:20px}.warehouse-product-copy{display:grid;gap:3px;min-width:0}.warehouse-product-copy strong{font-size:13px}.warehouse-product-copy small{font-size:10px;color:var(--ui-muted)}.warehouse-quantity{white-space:nowrap;color:#ffe45c;font-size:13px}.warehouse-transfer-form{grid-column:2/-1;display:flex;align-items:end;gap:8px;flex-wrap:wrap}.warehouse-transfer-form label{display:grid;gap:4px;color:var(--ui-muted);font-size:10px}.warehouse-transfer-form input,.warehouse-transfer-form select,.loan-tools-form input{min-height:34px;padding:6px 9px;border:1px solid rgba(140,190,220,.25);border-radius:6px;background:#0c3f70;color:var(--ui-text)}.warehouse-transfer-form input{width:90px}.warehouse-transfer-form select{max-width:240px}.development-network-tools .network-tools-list{display:grid}.network-tool-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid rgba(140,190,220,.14)}.network-tool-row>span{font-size:20px}.network-tool-row>div{display:grid;gap:3px;flex:1;min-width:0}.network-tool-row strong{font-size:12px}.network-tool-row small{font-size:10px;color:var(--ui-muted);line-height:1.4}.loan-tools-form{display:flex;align-items:center;gap:5px}.loan-tools-form input{width:105px}.product-meta{line-height:1.55}
.app-shell .warehouse-main-tabs{position:static;top:auto;z-index:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:4px;border:1px solid #285688;border-radius:4px;background:#0b4177}.app-shell .warehouse-main-tabs button{min-width:0;min-height:40px;padding:7px 8px;border:1px solid transparent;border-radius:3px;background:#123e6d;color:#bfd1e0;font:700 12px/1.2 Arial,Verdana,sans-serif}.app-shell .warehouse-main-tabs button.is-active{border-color:var(--ui-accent);background:#1c5b8d;color:#fff;box-shadow:inset 0 -2px var(--ui-accent)}.warehouse-main-panels,.warehouse-main-panel{min-width:0}.warehouse-main-panel[hidden]{display:none!important}.warehouse-main-panel>.panel{margin:0}
@media(max-width:640px){.warehouse-product-row{grid-template-columns:36px minmax(0,1fr) auto;gap:7px}.warehouse-transfer-form{grid-column:1/-1;padding-left:43px}.warehouse-transfer-form select{max-width:190px}.warehouse-totals{gap:12px}.network-tool-row{align-items:flex-start;flex-wrap:wrap}.network-tool-row>div{flex-basis:calc(100% - 40px)}.network-tool-row>form{margin-left:30px}}
@media(max-width:560px){.app-shell .warehouse-main-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .warehouse-main-tabs button{min-height:38px;font-size:11px}}

.warehouse-order-note{margin:0 0 9px;padding:8px 10px;border-left:2px solid rgba(122,194,226,.45);background:rgba(10,54,91,.35)}

.warehouse-capacity-copy{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;color:var(--ui-muted);font-size:11px}.warehouse-capacity-copy strong{color:#eef8ff;font-size:14px}.warehouse-capacity-track{height:8px;overflow:hidden;margin-top:7px;border-radius:8px;background:#123d64}.warehouse-capacity-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#54c9e8,#f2c35d)}.warehouse-cold-panel .muted,.warehouse-shortage-panel>.muted{margin-top:10px}.cold-equipment-list{display:grid}.cold-equipment-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid rgba(140,190,220,.14)}.cold-equipment-row>span{width:32px;text-align:center;font-size:20px}.cold-equipment-row>div{display:grid;gap:3px;flex:1;min-width:0}.cold-equipment-row strong{font-size:12px}.cold-equipment-row small{font-size:10px;color:var(--ui-muted);line-height:1.4}.warehouse-shortage-list{display:grid}.warehouse-shortage-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid rgba(140,190,220,.14)}.warehouse-shortage-row>span{font-size:19px}.warehouse-shortage-row>div{display:grid;gap:3px;flex:1;min-width:0}.warehouse-shortage-row strong{font-size:12px;color:#ffd88b}.warehouse-shortage-row small{font-size:10px;color:var(--ui-muted);line-height:1.4}.store-capacity-summary{display:flex;gap:18px;flex-wrap:wrap;padding:9px 0;color:var(--ui-muted);font-size:11px}.store-capacity-summary strong{color:#eef8ff}.store-cold-equipment{margin:0 0 8px}.store-cold-equipment .cold-equipment-row{padding:9px 0}.store-cold-equipment .shelf-equipment-row{border-top:1px solid rgba(140,190,220,.14)}

.fixture-equipment-row>.fixture-art{flex:0 0 42px;width:42px;height:42px;border-radius:10px;background-image:url('/assets/retail-fixtures.png');background-repeat:no-repeat;background-size:126px 84px;box-shadow:0 2px 8px rgba(0,0,0,.16)}.fixture-art-fashion{background-position:0 0}.fixture-art-electronics{background-position:50% 0}.fixture-art-home{background-position:100% 0}.fixture-art-building{background-position:0 100%}.fixture-art-wholesale{background-position:50% 100%}.fixture-art-grocery{background-position:100% 100%}


.management-row .manage-icon.loyalty-icon{width:40px!important;height:40px!important;flex:0 0 40px!important;overflow:hidden!important;border:1px solid rgba(111,190,228,.24)!important;border-radius:8px!important;background:#174577!important;box-shadow:none!important}.management-row .manage-icon.loyalty-icon .manage-illustration{display:block;width:40px;height:40px;object-fit:contain;padding:0;filter:drop-shadow(0 2px 3px rgba(0,0,0,.16))}

.cold-equipment-row>.service-icon,.management-row .manage-icon.service-icon{position:relative!important;width:40px!important;height:40px!important;flex:0 0 40px!important;display:block!important;overflow:hidden!important;border:1px solid rgba(111,190,228,.24)!important;border-radius:8px!important;background-color:#174577!important;background-image:none!important;box-shadow:none!important}.service-icon img{position:absolute!important;display:block!important;width:120px!important;height:120px!important;max-width:none!important;max-height:none!important;object-fit:fill!important;pointer-events:none!important}.service-icon-shelves img{left:0!important;top:0!important}.service-icon-refrigerators img{left:-40px!important;top:0!important}.service-icon-freezers img{left:-80px!important;top:0!important}.service-icon-parking img{left:0!important;top:-40px!important}.service-icon-cleaner img{left:-40px!important;top:-40px!important}.service-icon-restroom img{left:-80px!important;top:-40px!important}.service-icon-hygiene img{left:0!important;top:-80px!important}.service-icon-fire img{left:-40px!important;top:-80px!important}.service-icon-security img{left:-80px!important;top:-80px!important}

.welcome-celebration{position:fixed;inset:0;z-index:999;overflow:hidden;pointer-events:none;contain:layout paint}
.welcome-confetti{position:absolute;top:-18px;width:8px;height:12px;border-radius:2px;background:var(--confetti-color);opacity:0;animation:welcome-confetti-fall var(--fall-duration) linear var(--fall-delay) forwards}
.welcome-confetti:nth-child(3n){width:6px;height:9px;border-radius:50%}
.welcome-balloon{position:absolute;bottom:-100px;width:42px;height:54px;border-radius:50% 50% 47% 47%;background:radial-gradient(ellipse at 31% 25%,rgba(255,255,255,.72),transparent 19%),linear-gradient(145deg,rgba(255,255,255,.32),transparent 38%),var(--balloon-color);box-shadow:inset -5px -7px 11px rgba(0,0,0,.14),0 3px 12px rgba(0,0,0,.13);opacity:0;animation:welcome-balloon-rise var(--balloon-duration) ease-in var(--balloon-delay) forwards}
.welcome-balloon:before{content:"";position:absolute;left:18px;bottom:-5px;width:7px;height:8px;background:var(--balloon-color);clip-path:polygon(0 0,100% 0,50% 100%)}
.welcome-balloon:after{content:"";position:absolute;left:21px;top:calc(100% + 3px);height:48px;border-left:1px solid rgba(245,248,255,.68);transform-origin:top;animation:welcome-balloon-string .55s ease-in-out infinite alternate}
@keyframes welcome-confetti-fall{0%{opacity:0;transform:translate3d(0,-3vh,0) rotate(0)}10%{opacity:1}85%{opacity:.95}100%{opacity:0;transform:translate3d(var(--fall-drift),108vh,0) rotate(var(--fall-spin))}}
@keyframes welcome-balloon-rise{0%{opacity:0;transform:translate3d(0,0,0) rotate(-5deg)}12%{opacity:1}40%{transform:translate3d(var(--balloon-sway),-42vh,0) rotate(6deg)}78%{opacity:1}100%{opacity:0;transform:translate3d(calc(var(--balloon-sway) * -.45),-112vh,0) rotate(-6deg)}}
@keyframes welcome-balloon-string{from{transform:rotate(-8deg)}to{transform:rotate(8deg)}}
@media(prefers-reduced-motion:reduce){.welcome-celebration{display:none!important}}
.app-shell .warehouse-category-tabs{position:static;top:auto;z-index:auto;display:flex;gap:4px;overflow-x:auto;margin:10px 0 8px;padding:4px;border:1px solid #285688;border-radius:3px;background:#0b4177;scrollbar-width:none;overscroll-behavior-x:contain}.app-shell .warehouse-category-tabs::-webkit-scrollbar{display:none}.app-shell .warehouse-category-tabs button{flex:1 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:4px 9px;border:1px solid transparent;border-radius:3px;background:#123e6d;color:#bfd1e0;font:700 11px/1.2 Arial,Verdana,sans-serif;white-space:nowrap}.app-shell .warehouse-category-tabs button.is-active{border-color:var(--ui-accent);background:#1c5b8d;color:#fff;box-shadow:inset 0 -2px var(--ui-accent)}.warehouse-category-tabs button small{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:rgba(255,255,255,.11);font-size:10px}.warehouse-category-panels{min-width:0}.warehouse-category-panel[hidden]{display:none!important}.warehouse-category-heading{display:flex;justify-content:space-between;align-items:center;padding:8px 0;color:var(--ui-text)}.warehouse-category-heading strong{font-size:13px}.warehouse-category-heading span{font-size:11px;color:var(--ui-muted)}.warehouse-equipment-list{margin:12px 0 6px}.warehouse-equipment-list .cold-equipment-row{padding:9px 0}

@media(max-width:560px){.app-shell .warehouse-category-tabs{gap:3px}.app-shell .warehouse-category-tabs button{padding:4px 7px;font-size:10px!important}}

/* Keep game card copy readable and consistent across sections. */
.app-shell :is(.panel,.business-card,.city-contract,.online-management-card,.online-vehicle-card,.game-news-card,.news-archive,.location-details,.city-picker,.network-income-values article,.staff-role-row,.management-row,.product-row,.history-row,.review-row,.admin-account-row) :is(small,time,label,p:not(.eyebrow),.muted){font-size:12px!important;line-height:1.5}
.app-shell :is(.panel,.business-card,.city-contract,.online-management-card,.online-vehicle-card,.game-news-card,.news-archive,.location-details,.city-picker,.network-income-values article,.staff-role-row,.management-row,.product-row,.history-row,.review-row,.admin-account-row) :is(.product-meta,.order-summary,.business-departments,.business-rating,.business-shift-finance,.staff-expense-note,.inspection-frequency-note,.finance-explainer,.history-expenses,.competitor-chip,.city-contract-top strong,.city-contract>span,.online-status,.online-expense-note){font-size:12px!important;line-height:1.5}
.app-shell :is(.primary-button,.secondary-button,.buy-button,.text-action,.mini-action,.save-price,.store-tabs button,.game-info-actions>a,.game-info-actions>button,.game-info-actions form button){font-size:12px!important}
.app-shell .warehouse-category-tabs button small{font-size:11px!important}
.app-shell .daily-reward-day small,.app-shell .daily-reward-day strong,.app-shell .daily-reward-day span{font-size:9px!important;line-height:1.2}
@media(max-width:560px){.app-shell .daily-reward-day small,.app-shell .daily-reward-day strong,.app-shell .daily-reward-day span{font-size:8px!important}.app-shell .warehouse-main-tabs button,.app-shell .warehouse-category-tabs button{font-size:12px!important}}

.app-shell .trend-panel .finance-explainer{margin:0 0 8px;color:var(--ui-muted);font-size:12px!important;line-height:1.5}
.app-shell .trend-panel .history-list{display:grid;gap:0}
.app-shell .trend-panel .history-entry{padding:12px 0;border-top:1px solid var(--ui-border)}
.app-shell .trend-panel .history-entry-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}
.app-shell .trend-panel .history-entry-head>span{color:var(--ui-copy);font-size:14px;font-weight:700}
.app-shell .trend-panel .history-entry-head>div{display:grid;justify-items:end;gap:2px}
.app-shell .trend-panel .history-entry-head small,.app-shell .trend-panel .history-entry-metrics small{color:var(--ui-muted);font-size:11px!important;line-height:1.35}
.app-shell .trend-panel .history-entry-head strong{color:#8ce0bd;font-size:16px;white-space:nowrap}
.app-shell .trend-panel .history-entry-head strong.is-negative,.app-shell .trend-panel .history-entry-metrics strong.is-negative{color:#ffb293!important}
.app-shell .trend-panel .history-entry-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px}
.app-shell .trend-panel .history-entry-metrics>div{display:grid;gap:3px;min-width:0}
.app-shell .trend-panel .history-entry-metrics strong{color:var(--ui-copy);font-size:13px;white-space:nowrap}
.app-shell .trend-panel .history-entry-metrics .history-cash-change:not(.is-negative){color:#8ce0bd}
.app-shell .trend-panel .history-entry-details{margin-top:8px;border-top:1px solid var(--ui-border)}
.app-shell .trend-panel .history-entry-details summary{padding-top:8px;color:#9fe7ff;font-size:12px;cursor:pointer}
.app-shell .trend-panel .history-entry-details p{margin:6px 0 0;color:var(--ui-muted);font-size:12px!important;line-height:1.6}
.app-shell .trend-panel .history-entry-bonus{margin:8px 0 0;color:#ffe08a;font-size:12px!important}
@media(max-width:640px){.app-shell .trend-panel .history-entry-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}.app-shell .trend-panel .history-entry-metrics small{font-size:12px!important}}

/* A clear, responsive layout for the network development page. */
.app-shell .development-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;padding:16px 18px;border-bottom:1px solid rgba(131,190,226,.18);background:linear-gradient(110deg,rgba(20,72,112,.7),rgba(11,43,76,.3));}
.app-shell .development-intro .eyebrow{margin:0 0 5px;color:#91dcf4;font-size:11px;letter-spacing:.08em}
.app-shell .development-intro h2{margin:0;color:#f1f7ff;font-size:20px;line-height:1.25}
.app-shell .development-intro p:last-child{margin:5px 0 0;color:#bbcee0;font-size:13px;line-height:1.5}
.app-shell .development-intro>span{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:50%;background:rgba(56,157,197,.16);color:#82e2ff;font-size:24px}
.app-shell .development-overview{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.app-shell .development-tab-panel{display:contents}
.app-shell .development-overview>.development-tab-panel>.panel{padding:16px 17px;border:0;border-top:1px solid rgba(138,195,230,.2);border-radius:0;background:rgba(12,48,82,.76);box-shadow:none}
.app-shell .development-score-card{grid-column:span 5}
.app-shell .development-forecast{grid-column:span 7}
.app-shell .development-network-tools{grid-column:1/-1}
.app-shell .development-goals,.app-shell .development-segments,.app-shell .development-milestones,.app-shell .development-leaderboard{grid-column:span 6}
.app-shell .development-overview .panel-heading{gap:10px;margin-bottom:10px}
.app-shell .development-overview .panel-heading h2{font-size:17px;line-height:1.3}
.app-shell .development-score{font-size:28px}
.app-shell .development-metrics{gap:14px;margin:12px 0}
.app-shell .development-metrics small{font-size:11px;line-height:1.4}
.app-shell .development-metrics b{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.app-shell .development-network-tools .network-tools-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}
.app-shell .development-network-tools .network-tool-row{display:grid;grid-template-columns:28px minmax(0,1fr);align-content:start;align-items:start;gap:7px 9px;min-width:0;padding:12px 0;border-top:1px solid rgba(138,195,230,.16)}
.app-shell .development-network-tools .network-tool-row>span{grid-row:1/span 2;font-size:20px}
.app-shell .development-network-tools .network-tool-row>div{gap:4px;min-width:0}
.app-shell .development-network-tools .network-tool-row strong{font-size:13px;line-height:1.4}
.app-shell .development-network-tools .network-tool-row small{font-size:12px;line-height:1.5}
.app-shell .development-network-tools .network-tool-row form{grid-column:2;justify-self:start;margin:2px 0 0}
.app-shell .development-network-tools .loan-tools-form{flex-wrap:wrap}
.app-shell .development-goal-list{gap:0}
.app-shell .development-goal{padding:11px 0;border-bottom:1px solid rgba(138,195,230,.14)}
.app-shell .development-goal strong,.app-shell .development-segment-list strong{font-size:13px;line-height:1.4}
.app-shell .development-goal small,.app-shell .development-segment-list small{font-size:12px;line-height:1.5}
.app-shell .development-segment-list>div{padding:10px 0;border-bottom:1px solid rgba(138,195,230,.14)}
.app-shell .development-ranking-row{padding:10px 0;border-bottom:1px solid rgba(138,195,230,.14)}
.app-shell .development-ranking-row>strong{font-size:13px}
.app-shell .development-ranking-row>small,.app-shell .development-ranking-row>em{font-size:12px}
@media(max-width:760px){.app-shell .development-overview{grid-template-columns:minmax(0,1fr);gap:10px}.app-shell .development-score-card,.app-shell .development-forecast,.app-shell .development-network-tools,.app-shell .development-goals,.app-shell .development-segments,.app-shell .development-milestones,.app-shell .development-leaderboard{grid-column:1}.app-shell .development-network-tools .network-tools-list{grid-template-columns:minmax(0,1fr)}.app-shell .development-network-tools .network-tool-row{grid-template-columns:28px minmax(0,1fr)}.app-shell .development-intro{padding:14px 12px}.app-shell .development-intro h2{font-size:18px}}
.app-shell .development-tabs{display:none}
@media(max-width:760px){.app-shell .development-tabs{display:flex}.app-shell .development-tab-panel[hidden]{display:none!important}}
@media(min-width:761px){.app-shell .development-tab-panel[hidden]{display:contents!important}}

/* City contracts use one continuous business-style panel and a single list. */
.app-shell .contracts-page-board{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:12px!important;border:1px solid var(--ui-border)!important;border-radius:var(--game-card-radius)!important;background:var(--ui-surface)!important}
.app-shell .contracts-page-board .city-event-banner{grid-template-columns:34px minmax(0,1fr) auto!important;padding:0 0 10px!important;border:0!important;border-bottom:1px solid var(--ui-border)!important;border-radius:0!important;background:transparent!important}
.app-shell .contracts-page-board .city-contract-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:2px 0}
.app-shell .contracts-page-board .city-contract-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;width:100%;min-width:0}
.app-shell .contracts-page-board .city-contract{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;min-width:0;padding:11px 2px!important;border:0!important;border-top:1px solid rgba(65,111,144,.48)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .contracts-page-board .city-contract-top{align-items:center;gap:12px}
.app-shell .contracts-page-board .city-contract-top strong{font-size:13px!important;line-height:1.4!important}
.app-shell .contracts-page-board .city-contract-top b{font-size:13px!important}
.app-shell .contracts-page-board .city-contract>small,.app-shell .contracts-page-board .city-contract>span{margin-top:3px;font-size:12px!important;line-height:1.5!important}
.app-shell .contracts-page-board .city-contract-progress{height:5px;margin-top:7px}
.app-shell .contracts-page-board .city-contract-last{margin:0;padding:9px 0 0;border:0;border-top:1px solid var(--ui-border);border-radius:0;background:transparent;font-size:12px;line-height:1.5}
@media(max-width:560px){.app-shell .contracts-page-board{padding:11px!important}.app-shell .contracts-page-board .city-event-banner{grid-template-columns:30px minmax(0,1fr)!important;gap:7px}.app-shell .contracts-page-board .city-event-streak{grid-column:2;justify-self:start}.app-shell .contracts-page-board .city-contract-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:3px}.app-shell .contracts-page-board .city-contract-top{align-items:flex-start}}

/* Development mirrors the business list: one surface, vertical sections, no tabs. */
.app-shell .development-overview{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin:0 0 12px!important;padding:12px!important;border:1px solid var(--ui-border)!important;border-radius:var(--game-card-radius)!important;background:var(--ui-surface)!important}
.app-shell .development-tab-panel{display:contents}
.app-shell .development-tab-panel[hidden]{display:none!important}
.app-shell .development-overview>.development-tab-panel>.panel{grid-column:1!important;min-width:0;margin:0!important;padding:12px 2px!important;border:0!important;border-top:1px solid rgba(65,111,144,.48)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .development-overview .development-intro{display:flex;grid-column:1;align-items:center;justify-content:space-between;gap:12px;margin:0!important;padding:0 2px 12px!important;border:0!important;border-bottom:1px solid rgba(65,111,144,.48)!important;background:transparent!important}
.app-shell .development-overview .development-intro h2{font-size:17px;line-height:1.35}
.app-shell .development-overview .development-intro p:last-child{font-size:12px;line-height:1.5}
.app-shell .development-overview .development-score-card,.app-shell .development-overview .development-forecast,.app-shell .development-overview .development-network-tools,.app-shell .development-overview .development-goals,.app-shell .development-overview .development-segments,.app-shell .development-overview .development-milestones,.app-shell .development-overview .development-leaderboard{grid-column:1!important}
.app-shell .development-overview .development-network-tools .network-tools-list{grid-template-columns:minmax(0,1fr)!important}
.app-shell .development-overview .development-network-tools .network-tool-row{grid-template-columns:28px minmax(0,1fr)!important}
.app-shell .development-tabs{display:flex!important}
.app-shell .development-tab-panel[hidden]{display:none!important}

/* Readable shift settlement and business finance on phones. */
.app-shell .shift-report-card{padding:12px}
.app-shell .shift-report-heading .eyebrow{font-size:11px}
.app-shell .shift-report-heading h2{font-size:20px;line-height:1.3}
.app-shell .shift-report-visitors{font-size:12px;line-height:1.4}
.app-shell .shift-report-season,.app-shell .shift-report-card .inspection-event{font-size:12px;line-height:1.5}
.app-shell .shift-report-metrics small{font-size:11px;line-height:1.35}
.app-shell .shift-report-metrics strong{font-size:17px;line-height:1.3}
.app-shell .shift-report-costs>strong{font-size:14px}
.app-shell .shift-report-costs span,.app-shell .shift-report-discounts span{font-size:12px;line-height:1.5}
.app-shell .shift-report-costs b,.app-shell .shift-report-discounts b{font-size:12px;line-height:1.4}
.app-shell .shift-report-note,.app-shell .shift-report-contract-reward{font-size:12px;line-height:1.55}
.app-shell .network-income-values small{font-size:11px;line-height:1.4}
.app-shell .network-income-summary>.muted,.app-shell .business-shift-finance{font-size:12px;line-height:1.5}
.app-shell .business-shift-finance b{font-size:12px}
@media(max-width:560px){
  .app-shell .shift-report-card{padding:11px}
  .app-shell .shift-report-heading{align-items:flex-start;flex-wrap:wrap}
  .app-shell .shift-report-heading h2{font-size:18px}
  .app-shell .shift-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .app-shell .shift-report-metrics article{min-height:60px;padding:8px 6px}
  .app-shell .shift-report-metrics strong{font-size:16px}
  .app-shell .shift-report-costs>div{grid-template-columns:minmax(0,1fr);gap:0}
  .app-shell .shift-report-costs span{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding:6px 0;border-bottom:1px solid rgba(145,192,233,.12);font-size:12px}
  .app-shell .shift-report-costs b{white-space:nowrap}
  .app-shell .shift-report-discounts{gap:0;padding:5px 7px}
  .app-shell .shift-report-discounts span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px 0;border-bottom:1px solid rgba(145,192,233,.12)}
  .app-shell .shift-report-note,.app-shell .shift-report-contract-reward{font-size:12px}
  .app-shell .business-shift-finance{gap:6px 10px;padding:8px 0}
  .app-shell .business-shift-finance span{white-space:normal}
}

/* Original illustrations for each donor-shop perk, displayed from one transparent sprite atlas. */
.app-shell .donor-item-icon{width:40px;height:40px;border:0!important;border-radius:0!important;background-color:transparent!important;background-image:url('/assets/donor-perks-atlas.png')!important;background-repeat:no-repeat!important;background-size:400% 400%!important;box-shadow:none!important}
.app-shell .donor-item-icon-growth_fund{background-position:0 33.333%!important}
.app-shell .donor-item-icon-campaign{background-position:33.333% 33.333%!important}
.app-shell .donor-item-icon-market_analyst{background-position:66.667% 33.333%!important}
.app-shell .donor-item-icon-auto_buyer{background-position:100% 33.333%!important}
.app-shell .donor-item-icon-logistics_contract{background-position:0 66.667%!important}
.app-shell .donor-item-icon-spoilage_cover{background-position:33.333% 66.667%!important}
.app-shell .donor-item-icon-fast_delivery{background-position:66.667% 66.667%!important}
@media(max-width:560px){.app-shell .donor-item-icon{width:36px;height:36px;flex-basis:36px}}

/* Illustrated staff roles: director, deputy, administrator, seller, cashier, cleaner and electrician. */
.app-shell .staff-role-icon{width:32px!important;height:32px!important;background-color:transparent!important;background-image:url('/assets/staff-roles-atlas.png')!important;background-repeat:no-repeat!important;background-size:300% 300%!important}
.app-shell .staff-role-icon.role-icon-manager{background-position:0 0!important}
.app-shell .staff-role-icon.role-icon-deputy{background-position:50% 0!important}
.app-shell .staff-role-icon.role-icon-administrator{background-position:100% 0!important}
.app-shell .staff-role-icon.role-icon-seller{background-position:0 50%!important}
.app-shell .staff-role-icon.role-icon-cashier{background-position:50% 50%!important}
.app-shell .staff-role-icon.role-icon-cleaner{background-position:100% 50%!important}
@media(max-width:360px){.app-shell .staff-role-icon{width:28px!important;height:28px!important}}
.app-shell .staff-duty-note{margin:0 0 7px;color:#a9c8dc;font-size:11px;line-height:1.5}
.app-shell .generator-icon,.app-shell .generator-fuel-icon{display:grid;place-items:center;background:#123f70;color:#8ee3ff;font-size:21px}
.app-shell .generator-countdown{max-width:100%;color:#ffe08a;font-size:11px;font-weight:700;line-height:1.4;text-align:right}
.app-shell .generator-fuel-order{display:flex;align-items:end;justify-content:flex-end;gap:6px;max-width:100%;margin:0}
.app-shell .generator-fuel-order label{display:grid;gap:3px;color:#b7d0e3;font-size:10px}
.app-shell .generator-fuel-order input{width:64px;height:32px;padding:0 6px;border:1px solid var(--ui-border);border-radius:var(--game-control-radius);background:#0c4a82;color:#eef8ff;font-size:12px}
.app-shell .generator-row,.app-shell .generator-fuel-row{align-items:center}
@media(max-width:560px){.app-shell .generator-row,.app-shell .generator-fuel-row{flex-wrap:wrap}.app-shell .generator-countdown,.app-shell .generator-fuel-order{margin-left:38px;text-align:left}.app-shell .generator-fuel-order{justify-content:flex-start}.app-shell .staff-duty-note{font-size:12px}}

/* Keep equipment actions inside their row on narrow screens. */
.app-shell .store-equipment-panel .cold-equipment-row{min-width:0;flex-wrap:wrap}
.app-shell .store-equipment-panel .cold-equipment-row>div{flex:1 1 150px;min-width:0}
.app-shell .store-equipment-panel .cold-equipment-row>form{flex:0 1 auto;max-width:100%;margin-left:auto}
.app-shell .store-equipment-panel .cold-equipment-row .soft-badge{max-width:100%;white-space:normal;text-align:center}
.app-shell .store-equipment-panel .management-row{min-width:0;flex-wrap:wrap}
.app-shell .store-equipment-panel .management-row>.manage-copy{flex:1 1 165px;min-width:0}
.app-shell .store-equipment-panel .management-row>form:not(.generator-fuel-order){flex:0 1 auto;max-width:100%;margin-left:auto}
.app-shell .store-equipment-panel .management-row>form .text-action{max-width:100%;height:auto;min-height:34px;padding:6px 9px;white-space:normal;overflow-wrap:anywhere;text-align:center}
.app-shell .staff-role-icon.role-icon-electrician{background-image:none!important;background-color:transparent!important;color:#8ee3ff;font-size:20px!important}
.app-shell .staff-role-icon.role-icon-electrician:before{content:"⚡"}
@media(max-width:560px){.app-shell .store-equipment-panel .cold-equipment-row>form,.app-shell .store-equipment-panel .management-row>form:not(.generator-fuel-order){flex:1 1 100%;display:flex;justify-content:flex-end;margin-left:38px}.app-shell .store-equipment-panel .management-row>form .text-action{max-width:min(100%,260px)}}

/* Keep both mobile header bars centered with breathing room around them. */
.app-shell .sidebar,.app-shell .game-topbar{left:50%!important;transform:translateX(-50%)!important;width:min(430px,calc(100vw - 16px))!important;max-width:430px!important;box-sizing:border-box!important}
.app-shell .game-topbar .topbar-stats{min-width:0!important}
@media(max-width:360px){
  .app-shell .game-topbar{padding-right:6px!important;padding-left:6px!important}
  .app-shell .game-topbar .topbar-stats{grid-template-columns:58px minmax(0,1fr) 72px!important;gap:4px!important}
  .app-shell .game-topbar .day-pill{width:58px!important;min-width:58px!important}
  .app-shell .game-topbar .shift-pill{width:72px!important;min-width:72px!important}
}

/* Game header bars stay in normal document flow and scroll with the page. */
.app-shell{transform:none!important;filter:none!important;perspective:none!important;contain:none!important}
.app-shell>.sidebar{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;transform:none!important;width:100%!important;max-width:none!important;height:auto!important;min-height:50px!important;margin:0!important;padding:calc(5px + env(safe-area-inset-top)) 12px 5px!important;z-index:auto!important;box-sizing:border-box!important}
.app-shell .game-topbar{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;transform:none!important;width:100%!important;max-width:none!important;height:auto!important;min-height:75px!important;margin:0 0 8px!important;padding:6px 7px!important;z-index:auto!important;box-sizing:border-box!important;background:#174577!important}
.app-shell>.main-content{padding-top:0!important}

/* Store, warehouse, and development tab bars are normal scrolling page blocks. */
.app-shell .store-tabs{position:static!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important;transform:none!important}
.app-shell .topbar,.app-shell .game-topbar{position:static!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important;transform:none!important}

/* Interactive top-down store map: picture doubles as the business navigation. */
.app-shell .store-map-card{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:270px;margin:0 0 10px;overflow:hidden;border:1px solid var(--ui-border-strong);border-radius:9px;background:#0a2d50;color:#f3f8ff;box-shadow:none}
.app-shell .store-floor-art{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;}
.app-shell .store-map-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(4,20,38,.78) 0%,rgba(4,20,38,.19) 40%,rgba(4,20,38,.28) 55%,rgba(4,20,38,.88) 100%);pointer-events:none}
.app-shell .store-map-info{position:relative;display:flex;align-items:flex-start;gap:8px;justify-content:space-between;padding:10px 10px 0}
.app-shell .store-map-copy{display:grid;gap:2px;min-width:0;text-shadow:0 1px 4px rgba(0,0,0,.85)}
.app-shell .store-map-copy>span{color:#b7eaff;font-size:10px;font-weight:750;line-height:1.3}
.app-shell .store-map-copy>strong{overflow:hidden;color:#fff;font-size:16px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.app-shell .store-map-copy>small{color:#edf5ff;font-size:10px;line-height:1.35}
.app-shell .store-map-card .store-summary-rent{flex:0 0 auto;padding:5px 7px;border:1px solid rgba(210,239,255,.35);border-radius:6px;background:rgba(4,29,54,.76);color:#e6f6ff;font-size:9px;text-align:right}
.app-shell .store-map-card .store-summary-rent b{color:#ffe68d;font-size:12px}
.app-shell .store-map-nav{position:static!important;inset:auto!important;display:block!important;margin:auto 8px 8px!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .store-map-nav-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 2px 6px;color:#f5faff;text-shadow:0 1px 3px rgba(0,0,0,.85)}
.app-shell .store-map-nav-caption strong{font-size:11px}
.app-shell .store-map-nav-caption span{color:#e2eff9;font-size:9px;text-align:right}
.app-shell .store-map-hotspots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.app-shell .store-map-hotspots button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:5px 6px!important;border:1px solid rgba(190,226,248,.4)!important;border-radius:7px!important;background:rgba(6,40,70,.88)!important;color:#f4faff!important;text-align:left!important;white-space:normal!important;box-shadow:0 2px 6px rgba(0,0,0,.18)!important;backdrop-filter:blur(4px)}
.app-shell .store-map-hotspots button>span:last-child{display:grid;gap:1px;min-width:0;font-size:10px;font-weight:800;line-height:1.15}
.app-shell .store-map-hotspots button small{color:#c3dbea;font-size:8px;font-weight:500;line-height:1.2}
.app-shell .store-map-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:6px;background:rgba(111,193,234,.17);font-size:15px}
.app-shell .store-map-hotspots button.is-active{border-color:#8ce3ff!important;background:rgba(15,91,137,.96)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(135,225,255,.25),0 2px 8px rgba(0,0,0,.25)!important}
.app-shell .store-map-hotspots button.is-active small{color:#e1f6ff}
.app-shell .store-map-hotspots button:focus-visible{outline:2px solid #fff2a6!important;outline-offset:2px}
@media(max-width:360px){.app-shell .store-map-card{min-height:250px}.app-shell .store-map-info{padding:8px 7px 0}.app-shell .store-map-copy>strong{font-size:14px}.app-shell .store-map-hotspots{gap:4px}.app-shell .store-map-hotspots button{gap:4px!important;padding:4px!important}.app-shell .store-map-icon{flex-basis:21px;width:21px;height:21px;font-size:13px}.app-shell .store-map-hotspots button>span:last-child{font-size:9px}.app-shell .store-map-hotspots button small{font-size:7px}}


/* Team portraits use the same compact illustrated tile language as catalog art. */
.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{grid-template-columns:40px minmax(0,1fr) 32px 32px!important}
.app-shell .staff-role-icon{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;box-sizing:border-box!important;overflow:hidden!important;border:1px solid rgba(79,143,184,.55)!important;border-radius:8px!important;background-color:#123f70!important;box-shadow:inset 0 1px 0 rgba(181,224,250,.12),0 2px 5px rgba(0,15,33,.18)!important}
.app-shell .staff-role-icon.role-icon-electrician{background-color:#123f70!important}
@media(max-width:360px){.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{grid-template-columns:36px minmax(0,1fr) 29px 29px!important}.app-shell .staff-role-icon{width:32px!important;height:32px!important}}
.app-shell [data-store-panel][hidden]{display:none!important}


/* Business story campaign: continuous blue panel, simple milestone rows. */
.app-shell .business-storyboard{display:grid;gap:10px;margin:0 0 12px;padding:13px;border:1px solid var(--ui-border);border-radius:var(--game-card-radius);background:var(--ui-surface);color:var(--ui-copy)}
.app-shell .business-story-lead{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:start;padding:2px 0 12px;border-bottom:1px solid var(--ui-border)}
.app-shell .business-story-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--ui-border);border-radius:9px;background:#164b7c;font-size:21px}
.app-shell .business-story-lead .eyebrow{margin:0 0 4px;color:var(--ui-muted);font-size:10px;font-weight:800;letter-spacing:.06em}
.app-shell .business-story-lead h2{margin:0 0 5px;color:var(--ui-copy);font-size:17px;line-height:1.3}
.app-shell .business-story-lead p:not(.eyebrow){margin:6px 0 0;color:var(--ui-muted);font-size:13px;line-height:1.55}
.app-shell .business-story-contact{display:block;color:#8fe1ff;font-size:12px;line-height:1.4}
.app-shell .business-story-list{display:grid;gap:0}
.app-shell .business-story-chapter{position:relative;display:grid;gap:6px;min-width:0;padding:11px 1px;border-top:1px solid rgba(65,111,144,.4)}
.app-shell .business-story-chapter:first-child{border-top:0}
.app-shell .business-story-chapter-heading{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.app-shell .business-story-chapter-heading strong{font-size:13px;line-height:1.4}
.app-shell .business-story-chapter-heading b,.app-shell .business-story-status{color:var(--ui-muted);font-size:11px;font-weight:600;text-align:right}
.app-shell .business-story-chapter p{margin:0;color:var(--ui-muted);font-size:12px;line-height:1.45}
.app-shell .business-story-progress{height:5px;overflow:hidden;border-radius:5px;background:#0a355e}
.app-shell .business-story-progress i{display:block;height:100%;border-radius:inherit;background:#63d6b0}
.app-shell .business-story-chapter small{color:var(--ui-muted);font-size:11px;line-height:1.4}
.app-shell .business-story-chapter form{margin:1px 0 0}
.app-shell .business-story-chapter .text-action{min-height:36px;padding:6px 10px;font-size:12px}
.app-shell .business-story-chapter.is-current .business-story-chapter-heading b{color:#ffe28a}
.app-shell .business-story-chapter.is-complete .business-story-chapter-heading b,.app-shell .business-story-chapter.is-complete .business-story-status{color:#79e3bd}
.app-shell .business-story-chapter.is-locked{opacity:.74}
@media(max-width:380px){.app-shell .business-storyboard{padding:11px}.app-shell .business-story-chapter-heading{align-items:flex-start;flex-direction:column;gap:2px}}

.app-shell .business-alliance-note{margin:0 0 9px;padding:8px 10px;border-left:3px solid #63d6b0;background:rgba(24,111,112,.22);color:#b8f2de;font-size:12px;line-height:1.45}

/* Frontend polish: a consistent blue palette, readable type, and calmer cards. */
.app-shell{
  --ui-surface:#0b4177;
  --ui-surface-raised:#0d497d;
  --ui-surface-control:#174577;
  --ui-border:#315f82;
  --ui-border-strong:#416f90;
  --ui-accent:#69c8e7;
  --ui-copy:#f0f7ff;
  --ui-muted:#c4d5e3;
  --game-card-radius:10px;
  --game-control-radius:8px;
  --game-card-padding:14px;
  background:#073766;
  color:var(--ui-copy);
}
.app-shell>.sidebar{
  background:#0a3c70!important;
  border-color:var(--ui-border)!important;
}
.app-shell .brand{color:#f0f7ff!important}
.app-shell .brand small{color:#a9c8dc!important}
.app-shell .side-tip,.app-shell .side-active,.app-shell .avatar,.app-shell .account-settings-link{
  border-color:var(--ui-border)!important;
  background:#104777!important;
  color:#d8efff!important;
}
.app-shell .main-content{padding-bottom:max(22px,env(safe-area-inset-bottom))!important}
.app-shell .topbar{margin-bottom:14px!important}
.app-shell .topbar h1{font-size:clamp(20px,4vw,25px)!important;line-height:1.25!important;color:var(--ui-copy)!important}
.app-shell .topbar .eyebrow{font-size:10px!important;letter-spacing:.09em!important}
.app-shell .game-topbar{
  min-height:unset!important;
  padding:10px 12px!important;
  border:1px solid var(--ui-border)!important;
  border-radius:10px!important;
  background:#0b4177!important;
}
.app-shell .game-topbar .topbar-main h1{font-size:17px!important}
.app-shell .game-topbar .day-pill,.app-shell .game-topbar .balance-pill,.app-shell .game-topbar .shift-pill{
  min-height:34px!important;
  padding:6px 9px!important;
  border-color:var(--ui-border)!important;
  border-radius:8px!important;
  background:#0a355f!important;
  font-size:12px!important;
}
.app-shell .balance-pill small{font-size:9px!important}
.app-shell .balance-pill strong{font-size:13px!important}
.app-shell .game-info-open{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:8px!important}
.app-shell :is(.panel,.stat-card,.business-card,.create-business-card,.city-contract,.pending-deliveries,.guest-save-banner,.shift-report-card,.store-summary-card,.online-commerce-panel,.online-management-card,.online-summary-grid article,.online-vehicle-card,.game-news-card,.news-archive,.location-details,.city-picker,.network-income-values article,.staffing-panel,.action-panel,.trend-panel,.review-panel,.admin-stat,.business-storyboard,.daily-reward-panel){
  border-color:var(--ui-border)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.app-shell :is(.panel,.city-event-board,.contracts-page-board,.news-archive,.account-view .panel,.admin-view .panel,.city-map-view .panel,.location-details,.city-picker,.warehouse-main-panel>.panel){
  background:var(--ui-surface)!important;
}
.app-shell :is(.panel,.admin-view .panel,.account-view .panel,.news-archive){padding:14px!important}
.app-shell .panel-heading{gap:10px;margin-bottom:14px!important}
.app-shell :is(.panel-heading h2,.admin-panel-heading h2,.staffing-heading h3,.city-contract-heading strong){font-size:17px!important;line-height:1.35!important;color:var(--ui-copy)!important}
.app-shell :is(.panel p:not(.eyebrow),.panel .muted,.business-card p,.city-contract small,.empty-history){font-size:13px!important;line-height:1.55!important}
.app-shell .eyebrow{font-size:10px!important;line-height:1.4!important}
.app-shell :is(.product-meta,.order-summary,.business-departments,.business-metrics small,.business-rating,.business-shift-finance,.staff-expense-note,.inspection-frequency-note,.finance-explainer,.history-expenses,.online-expense-note,.online-vehicle-card small,.online-management-title small,.review-row p,.review-row time,.city-tab small,.map-point-label small,.map-instruction small){font-size:12px!important;line-height:1.5!important}
.app-shell :is(.product-title strong,.staff-role-copy strong,.manage-copy strong,.online-management-title strong,.online-vehicle-card strong,.city-contract-top strong){font-size:14px!important;line-height:1.35!important}
.app-shell :is(.product-row,.management-row,.history-row,.review-row,.network-income-values article,.online-management-card,.online-summary-grid article,.online-vehicle-card,.city-contract,.development-goal,.warehouse-capacity-copy){border-color:rgba(147,193,220,.18)!important}
.app-shell :is(.product-row,.management-row,.history-row,.review-row,.city-contract,.development-goal){background:transparent!important}
.app-shell :is(.product-row,.management-row,.city-contract,.development-goal){padding-top:12px!important;padding-bottom:12px!important}
.app-shell .product-row{grid-template-columns:40px minmax(0,1fr)!important;gap:10px!important}
.app-shell .product-actions{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px!important;width:100%;padding-left:50px}
.app-shell .manual-order{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important}
.app-shell .manual-order .buy-button{grid-column:1/-1!important}
.app-shell .order-summary{grid-column:1/-1!important}
.app-shell .price-form{grid-template-columns:minmax(0,1fr) 42px!important}
.app-shell :is(.manual-order label,.price-form label,.account-form label,.supplier-choice-form label){font-size:12px!important;line-height:1.4!important}
.app-shell :is(input,select,textarea){min-height:42px!important;padding:8px 10px!important;border-color:var(--ui-border)!important;border-radius:8px!important;background:#082f58!important;color:var(--ui-copy)!important;font-size:14px!important}
.app-shell input[type=number]{padding-right:8px!important}
.app-shell :is(button,.primary-button,.secondary-button,.buy-button,.text-action,.mini-action,.save-price,.store-tabs button,.game-info-actions>a,.game-info-actions>button){min-height:40px!important;border-radius:8px!important;font-size:13px!important;font-weight:700!important}
.app-shell :is(.primary-button,.buy-button){border-color:#398bb8!important;background:linear-gradient(110deg,#176c9d,#147fa2)!important;color:#f4fbff!important}
.app-shell :is(.secondary-button,.store-tabs button,.game-info-actions>a,.game-info-actions>button){background:#164a78!important;color:#e4f3ff!important}
.app-shell .mini-action{min-width:36px!important;padding:0 10px!important}
.app-shell .soft-badge,.app-shell .status-pill,.app-shell .day-pill{min-height:30px;border-color:var(--ui-border)!important;border-radius:999px!important;background:#104777!important;color:#d8efff!important;font-size:11px!important}
.app-shell .store-map-card{border-radius:12px!important}
.app-shell .store-map-hotspots button{min-height:46px!important;border-radius:8px!important}
.app-shell .store-map-hotspots button>span:last-child{font-size:11px!important}
.app-shell .store-map-hotspots button small{font-size:9px!important}
.app-shell .staffing-panel{padding:12px!important;border-radius:10px!important}
.app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{grid-template-columns:40px minmax(0,1fr) 36px 36px!important;min-height:54px!important}
.app-shell .staff-role-icon{width:36px!important;height:36px!important;border-radius:8px!important}
.app-shell .business-storyboard{padding:14px!important}
.app-shell .business-story-lead p:not(.eyebrow){font-size:14px!important;line-height:1.6!important}
.app-shell .business-story-chapter p,.app-shell .business-story-chapter small{font-size:13px!important;line-height:1.5!important}
.app-shell .game-info-dialog{border-radius:12px!important}
.app-shell .game-info-stats small,.app-shell .game-info-actions-title{font-size:10px!important}
.app-shell [data-store-panel][hidden],.app-shell [data-warehouse-panel][hidden],.app-shell [data-development-panel][hidden]{display:none!important}
@media(max-width:560px){
  .app-shell .main-content{padding:10px 12px 20px!important}
  .app-shell .topbar{margin-bottom:10px!important}
  .app-shell .topbar h1{font-size:20px!important}
  .app-shell .game-topbar{padding:9px 10px!important}
  .app-shell :is(.panel,.admin-view .panel,.account-view .panel,.news-archive,.business-storyboard){padding:12px!important}
  .app-shell :is(.panel-heading h2,.admin-panel-heading h2,.staffing-heading h3,.city-contract-heading strong){font-size:16px!important}
  .app-shell :is(.product-meta,.order-summary,.business-departments,.business-rating,.business-shift-finance,.staff-expense-note,.finance-explainer,.online-expense-note){font-size:12px!important}
  .app-shell .product-row{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}
  .app-shell .product-actions{padding-left:44px}
  .app-shell .staff-role-row,.app-shell .staff-role-row.role-shortage{grid-template-columns:36px minmax(0,1fr) 34px 34px!important;gap:6px!important}
}
@media(max-width:360px){
  .app-shell .main-content{padding-left:9px!important;padding-right:9px!important}
  .app-shell .manual-order{grid-template-columns:minmax(0,1fr)!important}
  .app-shell .manual-order .buy-button,.app-shell .order-summary{grid-column:1!important}
  .app-shell .game-topbar .topbar-stats{gap:4px!important}
}


/* Keep the existing dark-blue game palette and show the new icon artwork. */
.app-shell .staff-role-icon.role-icon-electrician{background:#123f70 url('/assets/icon-electrician.png') center/contain no-repeat!important;border:1px solid #315f82!important;color:transparent!important}
.app-shell .staff-role-icon.role-icon-electrician:before{content:none!important}
.app-shell .generator-icon{width:42px!important;height:42px!important;flex:0 0 42px!important;overflow:hidden;border:1px solid #315f82!important;border-radius:10px!important;background:#123f70!important;color:transparent!important}
.app-shell .generator-icon img{display:block;width:100%;height:100%;object-fit:contain}

/* Story opening: voiced-by-text dialogue with ready-made player responses. */
.opening-dialogue[hidden]{display:none!important}
.opening-dialogue{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:18px;background:radial-gradient(ellipse at 50% 35%,rgba(27,90,139,.35),rgba(2,13,29,.88) 72%);font-family:Arial,Verdana,sans-serif}
.opening-scene{position:relative;width:min(100%,1040px);height:min(760px,calc(100dvh - 36px));min-height:500px;overflow:hidden;border:1px solid rgba(129,208,248,.32);border-radius:22px;background:radial-gradient(ellipse at 50% 35%,rgba(37,112,159,.48),transparent 46%),linear-gradient(155deg,#0e4777 0%,#082e55 58%,#061d39 100%);box-shadow:0 24px 90px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.08)}
.opening-scene:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;background:linear-gradient(180deg,rgba(6,22,42,.02) 35%,rgba(4,18,35,.6) 78%,#061a33 100%),radial-gradient(circle at 12% 20%,rgba(117,217,255,.22) 0 1px,transparent 2px);background-size:auto,31px 31px}
.opening-scene-kicker{position:absolute;z-index:2;top:22px;left:25px;color:#8bdfff;font-size:11px;font-weight:900;letter-spacing:.16em}
.opening-characters{position:absolute;inset:0 2% 150px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}
.opening-character{display:block;width:min(39%,390px);height:min(57vh,500px);object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 18px rgba(0,0,0,.35));animation:opening-character-in .55s ease-out both}
.opening-character-player{display:none;transform:translateX(-8%)}
.opening-dialogue.is-player-speaking .opening-character-mentor{display:none}
.opening-dialogue.is-player-speaking .opening-character-player{display:block;margin-left:auto;transform:translateX(-8%)}
.opening-dialogue-box{position:absolute;z-index:3;right:22px;bottom:20px;left:22px;min-height:175px;max-height:54dvh;overflow-y:auto;padding:18px 20px 16px;border:1px solid rgba(137,207,243,.32);border-radius:16px;background:linear-gradient(145deg,rgba(8,35,64,.97),rgba(5,25,49,.98));box-shadow:0 12px 38px rgba(0,0,0,.38)}
.opening-speaker{display:flex;align-items:baseline;gap:9px;margin-bottom:8px}
.opening-speaker-name{color:#8be1ff;font-size:15px;font-weight:900}
.opening-speaker-role{color:#8caec8;font-size:11px}
.opening-dialogue-text{min-height:54px;margin:0;color:#f0f7ff;font-size:17px;line-height:1.55;white-space:pre-wrap}
.opening-dialogue-answers{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:12px}
.opening-answer{min-height:42px;padding:9px 17px;border:1px solid rgba(116,210,248,.4);border-radius:9px;background:linear-gradient(110deg,#17699a,#15517f);color:#f2f9ff;font-size:14px;font-weight:800;cursor:pointer;animation:opening-answer-in .2s ease-out both}
.opening-answer:hover,.opening-answer:focus-visible{outline:2px solid #ffe17a;outline-offset:2px;background:#1d78a9}
@keyframes opening-character-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes opening-answer-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){
  .opening-dialogue{padding:0}
  .opening-scene{width:100%;height:100dvh;min-height:0;border:0;border-radius:0}
  .opening-scene-kicker{top:max(18px,env(safe-area-inset-top));left:16px;font-size:9px}
  .opening-characters{inset:0 0 196px}
  .opening-character{width:54%;height:min(39vh,330px)}
  .opening-character-mentor{margin-left:-5%}
  .opening-character-player,.opening-dialogue.is-player-speaking .opening-character-player{margin-left:auto;margin-right:-4%;transform:none}
  .opening-dialogue-box{right:10px;bottom:max(10px,env(safe-area-inset-bottom));left:10px;min-height:190px;max-height:60dvh;padding:15px 14px 13px;border-radius:14px}
  .opening-speaker-name{font-size:14px}
  .opening-dialogue-text{min-height:66px;font-size:15px;line-height:1.48}
  .opening-dialogue-answers{justify-content:stretch;margin-top:10px}
  .opening-answer{flex:1 1 100%;min-height:43px;padding:9px 12px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.opening-character,.opening-answer{animation:none!important}}

/* Calendar and in-game weather */
.game-calendar-page{display:grid;gap:16px}.calendar-weather-today,.calendar-month-panel,.calendar-forecast-panel{padding:clamp(16px,2vw,22px)}.weather-today-main{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(190px,240px);align-items:center;gap:16px;margin:4px 0 14px}.weather-large-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:#e9f6ff;font-size:38px}.weather-today-main>div{min-width:0}.weather-today-main>div>strong{display:block;font-size:20px}.weather-today-main>div>p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.calendar-city-select{display:grid;gap:5px}.calendar-city-select label{color:#7893a9;font-size:11px;font-weight:700}.calendar-city-select select{min-height:42px;width:100%;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#fbfdff;color:var(--text);font:inherit}.weather-effect-list{display:flex;flex-wrap:wrap;gap:7px;padding-top:13px;border-top:1px solid #edf3f8}.weather-effect-list>span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:10px;background:#f4faff;color:#64829b;font-size:12px}.weather-effect-list b{color:#328dc2}.weather-effect-list b.is-negative{color:#c46770}.calendar-month-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.calendar-month-heading>div{text-align:center}.calendar-month-heading h2{margin:0;font-size:22px;text-transform:capitalize}.calendar-month-heading .eyebrow{margin-bottom:2px}.calendar-month-heading>a{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e2eef7;border-radius:12px;background:#f5faff;color:#428fc0;font-size:24px;text-decoration:none}.calendar-month-heading>a.is-disabled{opacity:.45;pointer-events:none}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar-weekdays{margin-bottom:7px}.calendar-weekdays>span{text-align:center;color:#8da4b7;font-size:11px;font-weight:800}.calendar-day{position:relative;display:flex;min-width:0;min-height:78px;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #e7f1f8;border-radius:12px;background:#fbfdff;color:#54738d}.calendar-day b{font-size:13px}.calendar-day>span{font-size:18px;line-height:1.15}.calendar-day small{color:#91a6b7;font-size:10px}.calendar-day.is-today{border-color:#85c8ef;background:#eaf7ff;box-shadow:inset 0 0 0 1px #c8e8fa;color:#287fb5}.calendar-day.is-past{background:#f6f9fb;color:#91a1ad}.calendar-day-empty{border-color:transparent;background:transparent}.calendar-note{margin:12px 0 0;font-size:12px}.calendar-forecast-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-forecast-day{display:grid;justify-items:center;gap:7px;padding:12px 8px;border:1px solid #e7f1f8;border-radius:13px;background:#fbfdff;text-align:center}.calendar-forecast-day.is-current{border-color:#b8e1f7;background:#f0f9ff}.forecast-weather-icon{font-size:24px}.calendar-forecast-day>div{display:grid;gap:3px}.calendar-forecast-day>div>strong{font-size:11px}.calendar-forecast-day>div>small{color:#7d96aa;font-size:11px}.forecast-demand{color:#438db8;font-size:10px;font-weight:700}.calendar-forecast-panel>.muted{margin:13px 0 0;font-size:12px}
@media(max-width:720px){.weather-today-main{grid-template-columns:auto minmax(0,1fr)}.weather-large-icon{width:60px;height:60px;font-size:31px;border-radius:17px}.calendar-city-select{grid-column:1/-1}.calendar-forecast-list{grid-template-columns:repeat(4,minmax(0,1fr))}.calendar-day{min-height:64px}.calendar-grid{gap:5px}}
@media(max-width:420px){.calendar-forecast-list{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-forecast-day{grid-template-columns:32px 1fr;justify-items:start;text-align:left}.calendar-forecast-day>div{justify-items:start}.forecast-demand{grid-column:2}.calendar-day{min-height:56px;border-radius:9px}.calendar-day>span{font-size:16px}.calendar-day small{font-size:9px}.calendar-weekdays>span{font-size:10px}}

.app-shell .shift-report-notice a{display:inline-block;margin-left:6px;color:#247fb7;font-weight:800;text-decoration:underline;text-underline-offset:2px}.app-shell .shift-report-back{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface-soft);color:var(--ui-text);font-size:13px;font-weight:700;text-decoration:none}.app-shell .empty-report-page{padding:22px}.app-shell .empty-report-page h2{margin:0 0 8px;font-size:21px}.app-shell .empty-report-page p:not(.eyebrow){color:var(--ui-muted);font-size:15px}.app-shell .empty-report-page .secondary-button{width:max-content}

.app-shell .shift-report-auto-procurement{margin-top:14px;padding-top:12px;border-top:1px solid var(--ui-border)}.app-shell .shift-report-auto-procurement h3{margin:0;font-size:16px;line-height:1.35}.app-shell .shift-report-auto-procurement ul{display:grid;gap:0;margin:8px 0;padding:0;list-style:none}.app-shell .shift-report-auto-procurement li{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:9px 0;border-bottom:1px solid var(--ui-border);font-size:14px}.app-shell .shift-report-auto-procurement li span{display:grid;gap:3px;min-width:0}.app-shell .shift-report-auto-procurement li strong{font-size:14px}.app-shell .shift-report-auto-procurement li small,.app-shell .shift-report-diesel-note{color:var(--ui-muted);font-size:13px;line-height:1.5}.app-shell .shift-report-auto-procurement li>b{white-space:nowrap;font-size:14px}

.app-shell .shift-report-power-details{margin:10px 0;padding-top:10px;border-top:1px solid var(--ui-border)}.app-shell .shift-report-power-details>strong{font-size:14px}.app-shell .shift-report-power-details ul{display:grid;gap:0;margin:6px 0;padding:0;list-style:none}.app-shell .shift-report-power-details li{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid var(--ui-border);font-size:13px}.app-shell .shift-report-power-details li span:first-child{display:grid;gap:3px;min-width:0}.app-shell .shift-report-power-details li small{color:var(--ui-muted);font-size:12px;line-height:1.45}.app-shell .shift-report-power-details li span:last-child{text-align:right;font-weight:700;white-space:nowrap}.app-shell .shift-report-power-details .shift-report-note{margin:7px 0 0}

.shopping-cart-panel{display:grid;gap:8px;margin:10px 0 13px;padding:11px;border:1px solid #dcecf7;border-radius:12px;background:#f6fbff;color:#385c75}.shopping-cart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.shopping-cart-heading .eyebrow{margin:0 0 3px}.shopping-cart-heading strong{font-size:11px}.shopping-cart-heading>b{font-size:13px;color:#328bc2;white-space:nowrap}.shopping-cart-items{display:grid}.shopping-cart-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto 24px;align-items:center;gap:7px;padding:7px 0;border-top:1px solid #e4eef5}.shopping-cart-row>span{font-size:17px}.shopping-cart-row>strong{min-width:0;font-size:10px}.shopping-cart-row>small{color:#7e97aa;font-size:8px;white-space:nowrap}.shopping-cart-row form,.shopping-cart-actions form{margin:0}.cart-remove{width:23px;height:23px;border:0;border-radius:7px;background:#eaf3f8;color:#7892a5;font-size:16px;line-height:1}.shopping-cart-hint{margin:0;color:#728da2;font-size:9px;line-height:1.45}.shopping-cart-actions{display:flex;align-items:center;gap:9px;padding-top:5px;border-top:1px solid #e4eef5}.shopping-cart-actions .buy-button{min-height:34px;height:auto;padding:6px 10px;white-space:normal}.cart-cancel{min-height:32px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#8a9eae;font-size:9px;font-weight:700}.shopping-cart-empty{grid-template-columns:26px minmax(0,1fr);align-items:center}.shopping-cart-empty strong{font-size:10px}.shopping-cart-empty>span{grid-column:2;color:#7e97aa;font-size:9px;line-height:1.45}.shopping-cart-empty>a,.shopping-cart-empty>form{grid-column:2}.shopping-cart-empty>form{margin:0}
@media(max-width:390px){.shopping-cart-panel{padding:9px}.shopping-cart-row{grid-template-columns:20px minmax(0,1fr) 22px;gap:5px}.shopping-cart-row>small{grid-column:2;white-space:normal}.shopping-cart-row form{grid-column:3;grid-row:1/3}.shopping-cart-actions{flex-wrap:wrap}.shopping-cart-actions .buy-button{font-size:9px}}

.auto-order-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:7px;width:auto;margin:7px 0 0 40px}.auto-order-enable{justify-self:start}.auto-order-budget-label,.auto-order-cover-label,.auto-order-reserve-label{display:grid;gap:3px;min-width:0;color:#b9d0e2;font-size:8px}.auto-order-budget-label input,.auto-order-cover-label input,.auto-order-reserve-label input{width:100%;height:31px;padding:0 7px;border:1px solid #3978ad;border-radius:3px;background:#0c4a82;color:#f1f7ff;font-size:10px;font-variant-numeric:tabular-nums}.auto-order-reserve-label{grid-column:1/-1}.auto-order-form .mini-action{justify-self:end;width:32px;height:31px;grid-column:2}.auto-order-row .manage-copy{flex:1 1 200px}.auto-order-row .manage-copy small{line-height:1.4}
@media(max-width:350px){.auto-order-form{grid-template-columns:1fr 1fr;margin-left:0}.auto-order-reserve-label{grid-column:1/-1}}

.auto-product-rule{grid-column:1/-1;margin:1px 0 2px;color:#67849a}.auto-product-rule>summary{padding:6px 8px;border-radius:7px;background:#f4f9fc;color:#5d7b92;font-size:9px;font-weight:750;cursor:pointer}.auto-product-rule[open]>summary{margin-bottom:6px}.auto-product-rule form{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.55fr) auto;align-items:end;gap:7px;padding:7px;border:1px solid #e4eef5;border-radius:8px;background:#f8fbfd}.auto-product-toggle{display:flex;align-items:center;gap:6px;color:#607e95;font-size:9px;line-height:1.35}.auto-product-toggle input{width:15px;height:15px;accent-color:#36a4cd}.auto-product-cap{display:grid;gap:4px;color:#8299aa;font-size:8px}.auto-product-cap input{width:100%;height:30px;padding:0 7px;border:1px solid #dceaf3;border-radius:7px;background:#fff;color:#3e6078;font-size:10px}.auto-product-rule button{height:30px;padding:0 8px;border:1px solid #d7eaf6;border-radius:7px;background:#edf7fd;color:#388dc1;font-size:8px;font-weight:800;white-space:nowrap}
@media(max-width:480px){.auto-product-rule form{grid-template-columns:minmax(0,1fr) 84px}.auto-product-toggle{grid-column:1/-1}.auto-product-rule button{grid-column:2;justify-self:end}}

/* Keep tutorial order surfaces in the same blue game palette as the rest of the shop. */
.app-shell .shopping-cart-panel{border-color:#2e6896;background:#104b7b;color:#eaf5ff}.app-shell .shopping-cart-row,.app-shell .shopping-cart-actions{border-color:#28618e}.app-shell .shopping-cart-heading>b{color:#8ed9ff}.app-shell .shopping-cart-row>small,.app-shell .shopping-cart-hint,.app-shell .shopping-cart-empty>span{color:#b6d0e4}.app-shell .cart-remove{background:#1d5b8c;color:#e2f2ff}.app-shell .cart-cancel{color:#aac6dc}.app-shell .auto-product-rule{color:#dceeff}.app-shell .auto-product-rule>summary{background:#174f7b;color:#e5f3ff}.app-shell .auto-product-rule form{border-color:#2d6897;background:#104b7b}.app-shell .auto-product-toggle{color:#d4e8f8}.app-shell .auto-product-cap{color:#b4cfe3}.app-shell .auto-product-cap input{border-color:#3978ad;background:#0b3e6a;color:#f2f8ff}.app-shell .auto-product-rule button{border-color:#3a85b9;background:#1d6597;color:#eff8ff}
.app-shell .game-calendar-page .panel{border-color:#2e6896;background:#104b7b;color:#eaf5ff}.app-shell .game-calendar-page .eyebrow,.app-shell .game-calendar-page .muted,.app-shell .calendar-city-select label{color:#b4cee2}.app-shell .weather-today-main>div>p{color:#c1d8ea}.app-shell .weather-large-icon{background:#1c5b89}.app-shell .calendar-city-select select{border-color:#3978ad;background:#0b3e6a;color:#f2f8ff}.app-shell .weather-effect-list{border-color:#28618e}.app-shell .weather-effect-list>span{background:#174f7b;color:#d4e8f8}.app-shell .weather-effect-list b{color:#8ed9ff}.app-shell .weather-effect-list b.is-negative{color:#ffacb3}.app-shell .calendar-month-heading>a{border-color:#3978ad;background:#174f7b;color:#a8ddfb}.app-shell .calendar-month-heading h2{color:#f2f8ff}.app-shell .calendar-weekdays>span{color:#b4cee2}.app-shell .calendar-day{border-color:#2d6897;background:#0b3e6a;color:#d9ebf8}.app-shell .calendar-day small{color:#b4cee2}.app-shell .calendar-day.is-today{border-color:#61b7e8;background:#1b6595;box-shadow:inset 0 0 0 1px #3989b8;color:#fff}.app-shell .calendar-day.is-past{background:#123f68;color:#a8c1d6}.app-shell .calendar-day-empty{border-color:transparent;background:transparent}.app-shell .calendar-forecast-day{border-color:#2d6897;background:#0b3e6a}.app-shell .calendar-forecast-day.is-current{border-color:#61b7e8;background:#1b6595}.app-shell .calendar-forecast-day>div>strong{color:#f2f8ff}.app-shell .calendar-forecast-day>div>small{color:#c0d7e8}.app-shell .forecast-demand{color:#8ed9ff}.app-shell .calendar-note{color:#b4cee2}
.app-shell .shift-complete-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 0 16px;padding:12px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-surface);color:var(--ui-copy);box-shadow:none}.app-shell .shift-complete-heading{min-width:0}.app-shell .shift-complete-heading h2{margin:0;color:var(--ui-copy);font-size:15px;line-height:1.35}.app-shell .shift-complete-heading p{margin:3px 0 0;color:var(--ui-muted);font-size:13px;line-height:1.45}.app-shell .shift-complete-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;flex:0 0 auto;padding:6px 10px;border:1px solid var(--ui-border);border-radius:8px;background:#0a355f;color:var(--ui-copy);font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}.app-shell .shift-complete-link span{color:var(--ui-accent);font-size:17px}.app-shell .shift-complete-link:hover{background:#174577}
@media(max-width:480px){.app-shell .shift-complete-card{align-items:stretch;flex-direction:column;gap:10px;padding:12px}.app-shell .shift-complete-heading h2{font-size:15px}.app-shell .shift-complete-link{width:100%;min-height:38px;font-size:13px}}
