@font-face{font-family:Manrope;src:url('./assets/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
@font-face{font-family:'GT Maru';src:url('./assets/gt-maru-bold.woff2') format('woff2');font-weight:700;font-display:swap}
:root{font-family:Manrope,sans-serif;font-synthesis:none;color:#304735;background:#efeee4;--muted:#778571;--line:#6d855321;--green:#50df8c}
*{box-sizing:border-box}
body{margin:0;overflow:hidden}
button,input{font:inherit}
button,a,summary{-webkit-tap-highlight-color:transparent}
button,summary{cursor:pointer}
button{transition:background .15s,transform .15s}
button:disabled{cursor:not-allowed;opacity:.4}
button:hover:not(:disabled){background-color:#d7e8d1}
button:active:not(:disabled){transform:translateY(1px)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #438259;outline-offset:3px}
a{color:inherit;text-decoration:none}
button svg{pointer-events:none}
[hidden]{display:none!important}
.game{height:100vh;height:100dvh;isolation:isolate;overflow:hidden}
#venue{position:fixed;inset:0;width:100%;height:100%;display:block;z-index:-1;touch-action:none;cursor:grab}
#venue.dragging{cursor:grabbing}
/* Translucent backgrounds leave the scene visible without fading text or controls. */
.glass{background:rgb(255 254 245 / 65%);border:1px solid rgb(255 255 255 / 75%);box-shadow:0 6px 28px #354b2510,inset 0 1px 0 #ffffff60;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:16px}
.identity{position:fixed;top:24px;left:24px;display:flex;align-items:center;gap:14px;padding:12px 14px;z-index:2}
.brand{display:flex;gap:10px;align-items:center;font:700 17px 'GT Maru',Manrope,sans-serif;white-space:nowrap;letter-spacing:-.6px}
.brand b{font:600 10px Manrope,sans-serif;letter-spacing:.5px;color:#7d8c71}
.brand small{display:block;font:500 10px Manrope,sans-serif;letter-spacing:0;margin-top:4px;color:var(--muted)}
.brand-mark{display:block;width:36px;height:38px;object-fit:contain;flex-shrink:0}
.icon-button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#66805c;font-size:20px;flex-shrink:0}
.identity-actions{display:grid;gap:3px}
.identity-actions button{padding:2px 0;border:0;background:transparent;text-align:left;font-size:10px;line-height:1.3;font-weight:600;white-space:nowrap;color:var(--muted)}
.identity-actions button[data-action="reset"]{color:#304735}
.identity-actions button:hover{text-decoration:underline}
.save-status{position:absolute;left:42px;bottom:8px;color:#57a16c;font-size:8px}
.icon{width:18px;height:18px;flex-shrink:0}
.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#839377}
.metrics{position:fixed;top:24px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:480px;z-index:2}
.metric{min-width:0;padding:10px 13px;border-radius:13px}
.metric-label{display:flex;align-items:center;gap:5px;font-size:9px;color:#728268;white-space:nowrap}
.metric-label .icon{width:12px;height:12px;opacity:.7}
.metric-value{font:750 21px Manrope,sans-serif;letter-spacing:-.7px;white-space:nowrap;margin-top:5px;font-variant-numeric:tabular-nums}
.metric-value small{font-size:10px;font-weight:500;letter-spacing:0;color:#7c8b70}
.metric.profit{background:rgb(224 241 213 / 66%)}
.time-panel{position:fixed;top:24px;right:24px;padding:10px 12px 0;overflow:hidden;z-index:2}
.time-controls{display:flex;align-items:center;gap:10px}
.game-time{display:flex;flex-direction:column;gap:2px;min-width:48px}
#day-label{font-size:8px;letter-spacing:1.1px;font-weight:650;color:#859478}
#clock{font-size:18px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
#pause-button{background:#dfe8d573}
.speed-control{display:flex;gap:2px;padding:3px;background:#b4c2a526;border-radius:9px}
.speed-control button{width:30px;height:28px;border:0;border-radius:6px;background:transparent;color:#839577;font-size:10px}
.speed-control button.active{background:#fffef5bd;color:#375b37;box-shadow:0 1px 6px #4e683514}
.day-progress{height:3px;margin-top:10px;margin-left:-12px;margin-right:-12px;background:#b4c3a527}
.day-progress span{display:block;height:100%;background:#7ea773;transition:width .3s}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:9px;padding:12px 16px;background:#50df8ce6;color:#25452b;font-size:11px;font-weight:650;white-space:nowrap}
.button.dark{background:#36583ceb;color:#f8fff5}
.button.ghost{background:#dbe6d18c;color:#637858}
.button.small{font-size:10px;padding:9px 11px}
#day-action{display:flex;margin:10px 0;width:100%;font-size:10px;padding:10px}
.scene-status{position:fixed;top:112px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;pointer-events:none;z-index:1}
.paused-badge,.event-pill{padding:8px 13px;border-radius:30px;font-size:10px;white-space:nowrap;color:#708062}
.paused-badge:before{content:'Ⅱ';margin-right:6px;color:#88967c}
.event-pill{background:#fff1c6a8;color:#8b773c}
.stock-panel{position:fixed;bottom:26px;left:24px;width:260px;z-index:3;overflow:hidden}
.stock-panel summary{display:flex;align-items:center;gap:9px;padding:15px;list-style:none;font-size:12px;user-select:none;min-height:48px}
.stock-panel summary::-webkit-details-marker{display:none}
.stock-symbol{font-size:20px;color:#8b9e78;line-height:1}
.stock-panel summary strong{font-size:11px;font-weight:650}
#stock-summary{font-size:9px;color:#89987b;flex:1}
.stock-panel.low #stock-summary{color:#ad6d43}
.disclosure-arrow{font-size:15px;color:#8a9b77}
.stock-panel[open] .disclosure-arrow{transform:rotate(180deg)}
#quick-stock{padding:0 16px}
.stock-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-top:1px solid var(--line)}
.stock-dot{width:8px;height:8px;border-radius:3px;flex-shrink:0}
.stock-info{flex:1;min-width:0}
.stock-info strong{font-size:11px;font-weight:600;display:block}
.stock-info small{font-size:10px;color:#8a997b;display:block;margin-top:4px}
.stock-info small.low{color:#b57850}
.stock-buy{padding:8px 9px;font-size:10px;white-space:nowrap;border:1px solid #a9b89533;background:#f4f7ed80;color:#607d4f;border-radius:7px;min-height:32px}
.footnote{font-size:9px;color:#8b987d;line-height:1.6;margin:0;padding:9px 16px 16px}
.navigation{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:7px;z-index:5;border-radius:18px}
.nav-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:65px;height:53px;border:0;border-radius:12px;color:#7d8f70;background:transparent;font-size:9px;font-weight:600}
.nav-button .icon{width:20px;height:20px}
.nav-button.active{background:#d5e8cbbc;color:#4b713e}
.notice{position:fixed;bottom:108px;left:50%;transform:translateX(-50%);max-width:min(500px,70vw);text-align:center;color:#829272;font-size:10px;line-height:1.6;pointer-events:none;text-shadow:0 1px 6px #fffef5,0 0 12px #fffef5;z-index:1}
.camera-controls{position:fixed;bottom:27px;right:24px;display:flex;gap:2px;padding:5px;z-index:2;border-radius:12px}
.camera-controls .icon-button{color:#7e916d}

/* One shared iPad hosts the selected KiloMayo app above the running café. */
.tablet-backdrop{position:fixed;inset:0;z-index:3;pointer-events:none;background:rgb(30 43 29 / 17%);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.ipad{position:fixed;left:50%;top:calc(50% - 10px);transform:translate(-50%,-50%);width:min(960px,calc(100vw - 64px));height:min(660px,calc(100dvh - 220px));z-index:4;padding:18px;border:2px solid #b1b5ad;border-radius:38px;background:linear-gradient(140deg,#424843,#202521 45%,#363b36);box-shadow:0 0 0 1px #424942,0 2px 0 2px #e5e7dc66,0 26px 65px #1a26185c,inset 0 0 0 2px #5f655e;outline:none;animation:ipad-in .22s ease-out}
.ipad:before{content:'';position:absolute;right:-5px;top:82px;width:3px;height:38px;border-radius:0 3px 3px 0;background:#71786e;box-shadow:0 48px 0 #71786e}
.ipad-camera{position:absolute;top:6px;left:50%;transform:translateX(-50%);width:7px;height:7px;border-radius:50%;background:#10201c;border:2px solid #555e54;box-shadow:inset 0 0 1px #83a7a0}
.ipad-screen{height:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden;border-radius:21px;background:#f8f9eff7;box-shadow:0 0 0 1px #101a12}
.ipad-statusbar{display:flex;justify-content:space-between;align-items:center;padding:10px 24px 6px;font-size:10px;color:#607254;flex-shrink:0;user-select:none}
.ipad-statusbar>span{display:flex;align-items:center;gap:12px}.ipad-statusbar strong{font-weight:750}.ipad-statusbar #tablet-day{font-size:9px}
.ipad-status-icons{gap:7px!important}.ipad-status-icons svg{width:14px;height:14px}.ipad-status-icons svg:last-child{width:23px}
.ipad-app-heading{display:flex;align-items:center;gap:13px;min-width:0}.ipad-app-icon{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;border-radius:13px;background:linear-gradient(135deg,#c5dfb7,#e3eddb);color:#4e7841;box-shadow:inset 0 1px 0 #ffffffaa}.ipad-app-icon .icon{width:25px;height:25px}
.ipad-header-actions{display:flex;align-items:center;gap:22px;flex-shrink:0}.ipad-header-actions .icon-button{background:#dfe8d485;border-radius:50%;align-self:center;width:32px;height:32px;color:#789067;font-size:23px}
.ipad-cash{text-align:right}.ipad-cash span{display:block;font-size:9px;color:#8b997e}.ipad-cash strong{display:block;font-size:17px;font-weight:750;letter-spacing:-.4px;margin-top:4px}
.tablet-pause{border:0;background:transparent;border-radius:6px;padding:5px 9px;color:#708960;font-size:10px}
.ipad-home{border:0;background:transparent;display:grid;place-items:center;min-height:20px;flex-shrink:0;cursor:pointer}.ipad-home span{width:115px;height:4px;background:#34472eb0;border-radius:5px}.ipad-home:hover:not(:disabled){background:#e4eadb}
.ipad .panel-header{padding:13px 26px 20px}.ipad .panel-header h1{font-size:24px}.ipad .panel-header .eyebrow{font-size:9px}
.ipad .panel-content{padding:0 26px 22px}.ipad .panel-footer{padding:10px 26px 4px}
.ipad .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ipad .upgrade-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ipad .product-card,.ipad .upgrade-card{background:#fffefbb0;border-color:#e4e9da}.ipad .product-card p,.ipad .upgrade-card p{font-size:11px}
.ipad .order-table{font-size:12px}.ipad .order-table th{font-size:9px}.ipad .finance-row{font-size:13px}.ipad .team-member strong{font-size:13px}.ipad .team-member small{font-size:11px}.ipad .team-face{width:42px;height:42px}.ipad .panel-note{max-width:760px}
@keyframes ipad-in{from{opacity:0;transform:translate(-50%,calc(-50% + 22px)) scale(.97)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.section-heading h2{font-size:14px;margin:0}
.panel-header{padding:20px 22px 17px;border-bottom:1px solid var(--line);flex-shrink:0}
.panel-header .eyebrow{font-size:8px;margin-bottom:8px}
.panel-header h1{font:700 21px 'GT Maru',Manrope,sans-serif;letter-spacing:-.5px;margin:0}
.panel-header .icon-button{align-self:flex-start;font-size:25px}
.panel-content{flex:1;padding:0 22px 20px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#96ad8459 transparent;min-height:0}
.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 22px;border-top:1px solid var(--line);font-size:9px;color:#8a9a7a;flex-shrink:0;margin-top:auto}
.count-pill{border:1px solid #8fa57a33;border-radius:20px;padding:4px 8px;font-size:9px;color:#779266;white-space:nowrap}
.empty-state{padding:30px 10px;text-align:center;color:#869977;font-size:11px;line-height:1.8}
.empty-state .icon{width:27px;height:27px;display:block;margin:0 auto 9px;opacity:.6}
.order-table{width:100%;border-collapse:collapse;margin-top:20px;font-size:10px}
.order-table th{text-align:left;font-size:8px;letter-spacing:.5px;font-weight:500;color:#879a78;border-bottom:1px solid var(--line);padding:0 0 10px}
.order-table td{padding:13px 5px 13px 0;border-bottom:1px solid var(--line)}
.order-table tr:last-child td{border-bottom:0}
.order-name{font-weight:600}
.order-id{display:block;font-size:8px;color:#8b9c7b;margin-top:4px}
.channel{font-size:8px;background:#dde7d380;border-radius:4px;padding:4px 6px;color:#7b906b}
.status{font-size:8px;border-radius:5px;padding:4px 6px;white-space:nowrap;display:inline-block}
.status.making{color:#998044;background:#f8f0d8ad}
.status.waiting{color:#7c8670;background:#e5ead9a3}
.status.done{color:#528366;background:#d9edd3b3}
.status.left{color:#b47b62;background:#faeee8}
.tiny-meter{height:3px;width:65px;border-radius:3px;background:#d0dec08a;margin-top:5px;overflow:hidden}
.tiny-meter span{display:block;height:100%;background:#99b27e}
.product-grid,.upgrade-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.product-card,.upgrade-card{border:1px solid #f9fff0aa;background:#fffef53d;border-radius:11px;padding:14px}
.product-card h3,.upgrade-card h3{font-size:12px;margin:10px 0 7px}
.product-card p,.upgrade-card p{font-size:10px;line-height:1.65;color:#7e906e;margin:0 0 12px}
.product-icon{display:block;color:#7a9670}.product-icon .icon{width:28px;height:28px}.order-name{display:flex;align-items:center;gap:5px}.order-name .icon{width:13px;height:13px}
.price-control{display:flex;align-items:center;justify-content:space-between;background:#dde6d280;border-radius:7px;padding:5px}
.price-control button{border:0;background:#fffef5ad;border-radius:5px;width:27px;height:28px;color:#708367}
.price-control span{font-size:11px;font-weight:650}
.finance-row{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:11px}
.finance-row strong{white-space:nowrap}
.finance-row.total{font-weight:700;font-size:13px}
.positive{color:#488b61}
.negative{color:#bd775e}
.panel-note{font-size:11px;line-height:1.8;color:#809271;margin:18px 0 0}
.team-member{display:flex;align-items:center;gap:10px;padding:18px 0;border-bottom:1px solid var(--line)}
.team-face{width:34px;height:34px;display:grid;place-items:center;background:#dce6cb99;border-radius:50%;font-size:12px;flex-shrink:0}
.team-member strong{font-size:11px}
.team-member small{display:block;font-size:9px;line-height:1.7;color:#819474;margin-top:5px}
.team-member .status{margin-left:auto}
.panel-actions{margin-top:20px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.chart{display:flex;height:110px;gap:8px;align-items:flex-end;padding:15px 0 23px;margin-top:15px;border-bottom:1px solid var(--line)}
.chart-col{flex:1;max-width:70px;position:relative;border-radius:4px 4px 0 0;min-height:3px;background:#86b58b}
.chart-col span{position:absolute;top:100%;margin-top:7px;left:0;width:100%;text-align:center;font-size:8px;color:#8c9780}
.chart-col.negative{background:#d4a48b}
.chart-col b{position:absolute;bottom:100%;margin-bottom:4px;left:0;width:100%;font-size:7px;text-align:center;color:#6c7f60;font-weight:500}
.customer-feature{display:flex;align-items:center;gap:16px;margin:20px 0;padding:18px;background:#dbe8ce70;border-radius:10px}
.customer-feature>span{font-size:35px}
.customer-feature h3{font-size:13px;margin:0 0 7px}
.customer-feature p{font-size:11px;line-height:1.7;color:#80916e;margin:0}
dialog{border:1px solid #ffffffbb;border-radius:20px;background:#fcfbf5eb;color:#2b4030;max-width:520px;max-height:calc(100dvh - 40px);width:calc(100% - 32px);padding:35px;box-shadow:0 30px 100px #1f352b22;backdrop-filter:blur(14px)}
dialog::backdrop{background:#334b292b;backdrop-filter:blur(4px)}
dialog h2{font:700 29px/1.3 'GT Maru',Manrope,sans-serif;letter-spacing:-1px;margin:15px 0}
dialog p{font-size:13px;color:#7a8771;line-height:1.8}
dialog .modal-logo{width:55px;height:55px;border-radius:16px;background:var(--green);display:grid;place-items:center;font-size:26px}
dialog ol{padding-left:20px;font-size:12px;line-height:1.8;color:#788770}
dialog li{margin:10px 0}
dialog .button{font-size:12px}
dialog .modal-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}
.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.summary-grid div{background:#e7eedc80;border-radius:8px;padding:13px;font-size:10px;color:#879477}
.summary-grid strong{display:block;font:700 21px Manrope,sans-serif;color:#405b39;margin-top:5px}
@media(max-width:1100px){
  .identity{left:18px;top:18px}.time-panel{right:18px;top:18px}
  .metrics{top:104px;width:460px}.scene-status{top:187px}
  
  .stock-panel{left:18px;bottom:103px;width:245px}.camera-controls{right:18px;bottom:103px}
  .notice{bottom:109px;max-width:360px}.stock-panel~.notice{bottom:173px}
}
@media(max-width:700px){
  .identity{top:12px;left:12px;padding:9px 10px;gap:9px;border-radius:13px}
  .brand{font-size:15px;gap:8px}.brand b{font-size:8px}.brand small{font-size:9px}.brand-mark{width:30px;height:33px}
  .identity-actions button{font-size:9px}.save-status{left:31px;bottom:5px;font-size:7px}
  .time-panel{top:12px;right:12px;padding:8px 9px 0;border-radius:13px}
  .time-controls{gap:6px}.game-time{min-width:37px;gap:1px}#day-label{font-size:7px}#clock{font-size:15px}
  #pause-button{width:28px;height:28px;font-size:17px}.speed-control{padding:2px;gap:1px}.speed-control button{width:25px;height:26px;font-size:9px}
  .day-progress{margin-top:8px;margin-left:-9px;margin-right:-9px}#day-action{font-size:9px;padding:8px;margin:8px 0}
  .metrics{top:87px;gap:6px;width:calc(100% - 24px);max-width:460px}
  .metric{padding:9px 10px;border-radius:11px}.metric-label{font-size:9px;gap:4px}.metric-label .icon{width:10px;height:10px}.metric-value{font-size:20px;margin-top:4px}.metric-value small{font-size:9px}
  .scene-status{top:166px;max-width:calc(100% - 24px)}.paused-badge,.event-pill{font-size:9px;padding:7px 10px}
  .navigation{bottom:max(12px,env(safe-area-inset-bottom));gap:2px;padding:6px;border-radius:15px;max-width:calc(100% - 24px)}
  .nav-button{width:47px;height:49px;border-radius:10px;font-size:8px;gap:6px}.nav-button .icon{width:18px;height:18px}
  .stock-panel{bottom:87px;left:12px;width:calc(100% - 154px);max-width:280px;border-radius:13px}.stock-panel summary{padding:12px;gap:7px;min-height:46px}.stock-panel summary strong{font-size:10px}#stock-summary{font-size:8px}.stock-symbol{font-size:17px}
  .stock-panel[open]{width:calc(100% - 24px);max-width:none;max-height:calc(100dvh - 180px);overflow:auto;bottom:86px;z-index:4}
  .camera-controls{bottom:88px;right:12px;padding:4px}.camera-controls .icon-button{width:30px;height:30px}
  .notice,.stock-panel~.notice{bottom:148px;font-size:9px;max-width:calc(100% - 40px);width:360px}
  
  .panel-header{padding:17px 18px 14px}.panel-header h1{font-size:19px}.panel-content{flex:1;padding:0 18px 18px}.panel-footer{padding:10px 18px;font-size:8px}
  dialog{padding:25px}dialog h2{font-size:25px}
}
@media(max-width:460px){
  .identity{padding:8px;gap:7px}.brand{font-size:12px;gap:7px}.brand b{display:block;font-size:8px;margin-top:2px;letter-spacing:1px}.brand small{display:none}.brand-mark{width:28px;height:31px}.identity-actions button{font-size:8px}.save-status{left:26px;bottom:4px}
  .metrics{top:112px}.scene-status{top:190px}.metric{padding:9px 7px}.metric-label{font-size:8px}.metric-label .icon{display:none}.metric-value{font-size:18px}
  .nav-button{width:calc((100vw - 50px)/7);max-width:47px;font-size:7px}.nav-button .icon{width:18px;height:18px}
  
}
@media(max-height:540px) and (min-width:701px){
  .identity,.time-panel{top:12px}.metrics{top:12px;width:330px}.metric{padding:9px}.metric-label{font-size:8px}.metric-label .icon{display:none}.metric-value{font-size:18px}.identity{padding:9px}.brand{font-size:13px}.brand small{font-size:8px}.identity-actions button{font-size:9px}.scene-status{top:88px}
  .navigation{bottom:12px}.nav-button{height:43px;width:57px}.stock-panel{bottom:14px;width:205px}.camera-controls{bottom:16px}.notice,.stock-panel~.notice{bottom:81px;font-size:9px}
}
@media(max-width:900px){
  .ipad{width:calc(100vw - 40px);padding:15px;border-radius:32px}.ipad-screen{border-radius:17px}.ipad-camera{top:5px;width:6px;height:6px}
  .ipad .product-grid,.ipad .upgrade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .ipad{width:calc(100vw - 20px);height:calc(100dvh - 154px);top:calc(50% - 14px);padding:12px;border-radius:28px}.ipad:before{right:-4px;width:2px}.ipad-camera{top:4px;width:5px;height:5px;border-width:1px}.ipad-screen{border-radius:14px}
  .ipad-statusbar{padding:9px 14px 5px;font-size:9px}.ipad-statusbar #tablet-day{font-size:8px}.ipad-status-icons svg{width:12px;height:12px}
  .ipad .panel-header{padding:12px 14px 15px;gap:8px}.ipad .panel-header h1{font-size:18px}.ipad .panel-header .eyebrow{font-size:7px;margin-bottom:5px}.ipad-app-heading{gap:10px}.ipad-app-icon{width:36px;height:36px;border-radius:10px}.ipad-app-icon .icon{width:21px;height:21px}
  .ipad-cash{display:none}.ipad-header-actions .icon-button{width:27px;height:27px;font-size:20px}.ipad .panel-content{padding:0 14px 16px}.ipad .panel-footer{padding:8px 14px 2px;gap:6px}.ipad-close-hint{display:none}.tablet-pause{font-size:9px;padding:6px}.ipad-home{min-height:22px}.ipad-home span{width:95px;height:3px}
  .ipad .product-grid,.ipad .upgrade-grid{gap:8px}.ipad .product-card,.ipad .upgrade-card{padding:11px}.ipad .product-card p,.ipad .upgrade-card p{font-size:10px}.ipad .product-card h3,.ipad .upgrade-card h3{font-size:11px}.ipad .order-table{font-size:9px}.ipad .order-table th{font-size:7px}.ipad .finance-row{font-size:11px}.ipad .team-member strong{font-size:11px}.ipad .team-member small{font-size:9px}.ipad .team-face{width:30px;height:30px}.ipad .team-member{gap:8px}.ipad .team-member .status{font-size:7px;padding:3px}
}
@media(max-height:540px) and (min-width:701px){
  .ipad{width:min(880px,calc(100vw - 112px));height:calc(100dvh - 88px);top:calc(50% - 32px);padding:12px;border-radius:27px}.ipad-camera{top:4px;width:5px;height:5px;border-width:1px}.ipad-screen{border-radius:14px}.ipad-statusbar{padding-top:6px;padding-bottom:2px;font-size:8px}.ipad .panel-header{padding:7px 20px 10px}.ipad .panel-header h1{font-size:18px}.ipad-app-icon{width:32px;height:32px}.ipad .panel-header .eyebrow{margin-bottom:4px;font-size:7px}.ipad .panel-footer{padding-top:4px;padding-bottom:0}.ipad-home{min-height:16px}
}
@media(max-width:360px){.identity .brand>span:last-child{display:none}.identity{gap:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Expansion and staffing stay inside the iPad. */
.build-heading{margin-top:22px}.room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.room-card{background:#fafff366;border:1px solid #fff9;border-radius:12px;padding:14px}.room-card h3{font-size:12px;margin:0;display:flex;align-items:center;gap:6px}.room-card h3 .icon{width:15px;height:15px}.room-card .section-heading>span{font-size:9px;white-space:nowrap;color:#7a8e71}.room-card p{font-size:10px;color:#7c8f74;margin:9px 0 12px}.room-card p.room-warning{color:#a27d41;margin-bottom:0}
.facility-actions{display:flex;gap:8px}.facility-button{flex:1;display:flex;align-items:center;gap:8px;text-align:left;border:1px solid #a5b99755;border-radius:8px;background:#fff9;padding:10px;color:#536f51}.facility-button>.icon{width:20px;height:20px;flex-shrink:0}.facility-button strong{display:block;font-size:10px}.facility-button small{display:block;font-size:9px;font-weight:400;margin-top:4px}.facility-button strong small{display:inline;margin-left:3px;color:#86977d}.facility-button:disabled{opacity:.5;cursor:default}
select{font:inherit;color:inherit;background:#fff9;border:1px solid #a6b99b66;border-radius:6px;padding:7px 9px;max-width:100%}select:disabled{opacity:.65}.stock-quantity{display:flex;align-items:center;justify-content:space-between;font-size:10px;padding:2px 17px 10px;color:#7a8e6d}.stock-quantity select{font-size:10px}
.team-toolbar{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:11px;flex-wrap:wrap}.team-toolbar>span{margin-left:auto;font-size:10px;color:#819474}.team-detail{flex:1;min-width:0}.assignment{display:flex;gap:8px;margin-top:9px}.assignment select{font-size:10px;min-width:0;flex:1;max-width:210px}.hire-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.hire-button{border:1px solid #fff9;border-radius:10px;background:#fbfff575;padding:14px 8px;color:#5e7657;text-align:center}.hire-button strong{display:block;font-size:11px;margin-top:8px}.hire-button small{display:block;font-size:9px;margin-top:6px;color:#83977a}.role-dot{display:inline-block;width:18px;height:18px;border-radius:7px}.status.ready{background:#daedd9;color:#558459}.status.arriving,.status.ordering{background:#e3e9e3;color:#7c8e7b}
@media(max-width:700px){.room-grid{grid-template-columns:1fr}.hire-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-toolbar>span{margin-left:0;width:100%}.room-card{padding:12px}.assignment{gap:5px}.assignment select{padding:6px 4px;font-size:9px}}

.products-nav{display:flex;gap:4px;background:#e0e7d6a6;border-radius:10px;padding:4px;width:max-content;margin-top:16px}.products-nav button{border:0;background:transparent;color:#7b8c70;border-radius:7px;font:600 11px Manrope,sans-serif;padding:9px 20px}.products-nav button[aria-pressed="true"]{background:#fffdf2;box-shadow:0 1px 4px #637b5020;color:#46633e}
.menu-heading{margin-top:22px}.menu-heading h2{font-size:16px}#menu-count{display:block;margin-top:7px;font-size:10px;color:#7d9172}.menu-intro{margin-top:14px}.menu-filter{display:flex;align-items:center;gap:10px;font-size:10px;color:#6c815f;margin-top:16px}.menu-filter select{font-size:11px}.menu-warning{font-size:11px;line-height:1.8;padding:12px;background:#f4e8ca;border-radius:8px;color:#917442}
.product-card{display:flex;flex-direction:column}.product-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-category{font-size:8px;color:#88977e}.product-preparation{font-size:9px;color:#85957a;margin:0 0 10px}.ipad .product-card .product-recipe{font-size:10px;min-height:34px;margin-bottom:8px}.ipad .product-card .product-margin{font-size:10px;margin-top:auto}.product-margin strong{color:#5a855a}.product-stock{font-size:9px;color:#859579;margin:9px 0 12px}.product-stock.low{color:#ac784c}.ipad .product-card.offered{border-color:#afc5a49c;background:#fffefb}.ipad .product-card.not-offered{background:#f1f3e9aa}
.offer-toggle{display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:7px;padding:9px 6px;font:600 10px Manrope,sans-serif;color:#829176;background:#e6ebdf;width:100%;margin-top:0;margin-bottom:12px}.offer-toggle[aria-pressed="true"]{background:#e1efdb;color:#4d7a4d}.offer-switch{width:26px;height:15px;border-radius:10px;background:#b7c1ac;padding:2px;flex-shrink:0}.offer-switch:before{content:'';display:block;width:11px;height:11px;border-radius:50%;background:#fffff6;transition:transform .15s}.offer-toggle[aria-pressed="true"] .offer-switch{background:#79ad7b}.offer-toggle[aria-pressed="true"] .offer-switch:before{transform:translateX(11px)}
.stock-panel[open]{max-height:calc(100dvh - 180px);overflow:auto;overscroll-behavior:contain}
@media(max-width:700px){.menu-heading h2{font-size:14px}.menu-heading .button{padding:8px;font-size:10px}.menu-heading .button .icon{width:15px;height:15px}.product-category{font-size:7px}.product-stock{font-size:8px}.offer-toggle{font-size:9px;gap:5px}.products-nav button{padding:8px 18px}.ipad .product-card .product-recipe{font-size:9px;min-height:31px}}

.closing-payments{margin-top:20px;padding:16px;border:1px solid #b5c9a87a;background:#e7efdf99;border-radius:12px}.closing-payments .section-heading h2{font-size:13px}.closing-payments .finance-row{padding:10px 0}.closing-payments .panel-note{margin-top:12px;font-size:10px}.closing-paid{font-size:11px;padding:14px;background:#e0edda;border-radius:9px;color:#537b4c;margin:20px 0 5px}

.stock-automation{margin:0 16px 12px;padding-bottom:10px;border-bottom:1px solid #a6b99b44}.stock-automation .offer-toggle{margin-bottom:5px;justify-content:flex-start;padding:9px}.stock-automation #auto-stock-status{display:block;font-size:10px;font-weight:650;color:#638658}.stock-automation p{font-size:9px;line-height:1.5;color:#7a8e6d;margin:5px 0 0}


/* App workspaces stay inside the iPad; the venue keeps the full screen. */
.workspace-nav{width:100%;max-width:100%;overflow-x:auto;flex-wrap:nowrap;margin:6px 0 18px;scrollbar-width:thin}.workspace-nav button{flex:0 0 auto;padding:9px 14px;white-space:nowrap}
.workspace-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.workspace-kpis>div{padding:15px;background:#ecf1e5;border:1px solid #d9e2cc;border-radius:12px;min-width:0}.workspace-kpis span,.workspace-kpis small{display:block;color:#7c8d70;font-size:10px;line-height:1.5}.workspace-kpis strong{display:block;font-size:23px;color:#39593c;letter-spacing:-.8px;margin:6px 0}.workspace-kpis small{font-size:9px}
.workspace-heading{margin:24px 0 12px}.workspace-heading h2{font-size:16px;letter-spacing:-.3px;margin:0 0 7px}.workspace-heading p,.workspace-callout p{font-size:11px;color:#7a8c70;line-height:1.65;margin:0}.workspace-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:15px 0}.workspace-toolbar>span{font-size:10px;color:#819074;align-self:center}.workspace-filter{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#758769}.workspace-filter select{min-height:34px;font-size:11px}
.workspace-table{max-width:100%;overflow-x:auto;margin:16px 0;scrollbar-width:thin}.workspace-table table{width:100%;border-collapse:collapse;font-size:11px}.workspace-table th{text-align:left;font-size:9px;color:#7b8e6c;font-weight:600;white-space:nowrap;padding:10px 12px;border-bottom:1px solid #cfdac4}.workspace-table td{padding:13px 12px;border-bottom:1px solid #dde5d4;vertical-align:middle;min-width:70px}.workspace-table tr:last-child td{border:0}.workspace-table small,.workspace-cards article>small{display:block;font-size:9px;color:#87977c;line-height:1.6;margin-top:4px}.workspace-table td:first-child{font-weight:600}.workspace-table select{font-size:10px;min-width:145px}.table-actions{display:flex;gap:5px;flex-wrap:wrap}.table-actions .button{font-size:9px;padding:7px 10px;white-space:nowrap}.workspace-table .status{white-space:nowrap}
.workspace-callout{display:flex;gap:18px;align-items:center;justify-content:space-between;background:#e6efdd;border:1px solid #cbdcbe;padding:18px;border-radius:12px;margin:16px 0}.workspace-callout h3{font-size:14px;margin:0 0 5px}.workspace-callout .offer-toggle{width:auto;flex-shrink:0;margin:0;padding:10px 12px}.workspace-callout>strong{font-size:26px}.workspace-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.workspace-cards article{padding:18px;background:#f5f7ef;border:1px solid #dce4d3;border-radius:13px;min-width:0}.workspace-cards h3{font-size:15px;margin:12px 0 8px}.workspace-cards p{font-size:11px;line-height:1.65;color:#7b8d70}.workspace-cards .eyebrow{font-size:8px}.workspace-cards .button{margin-top:14px;font-size:10px}.workspace-cards article>strong{font-size:22px}.workspace-empty{padding:38px 20px;text-align:center;font-size:12px;line-height:1.7;color:#8a9a7e;border:1px dashed #ccd9bf;border-radius:12px;margin:18px 0}
.order-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.order-board>section{background:#e7eddf7a;padding:12px;border-radius:12px;min-width:0}.order-board>section>h3{font-size:11px;margin:3px 0 14px;display:flex;justify-content:space-between}.order-board h3 span{color:#90a180}.queue-card{border-radius:10px;border:1px solid #d6dfcd;background:#fffef6;padding:12px;margin-bottom:10px}.queue-card.priority{border-color:#96b17d;box-shadow:inset 3px 0 #96b17d}.queue-card h4{font-size:12px;margin:12px 0 5px}.queue-card p,.queue-card small{font-size:9px;color:#7b8d70;line-height:1.6}.queue-card .section-heading{margin:0;font-size:10px}.queue-card .table-actions{margin-top:10px}.queue-card .tiny-meter{margin-top:8px}
.shift-track{height:18px;background:#e3eadb;border-radius:6px;position:relative;min-width:110px;overflow:hidden}.shift-track span{position:absolute;height:100%;background:#92b689;border-radius:6px}.coverage-cards p{display:flex;justify-content:space-between;margin:5px 0}.hour-chart{display:flex;align-items:end;gap:10px;padding:20px 10px 12px;background:#edf2e5;border-radius:12px;min-height:155px}.hour-chart>div{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px}.hour-chart strong{font-size:10px}.hour-chart span{display:block;width:72%;border-radius:5px 5px 0 0;background:linear-gradient(#8db389,#bdd0a5)}.hour-chart small{font-size:9px;color:#869977}
@media(max-width:700px){.workspace-nav{margin:2px 0 12px}.workspace-nav button{font-size:10px;padding:9px 12px}.workspace-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.workspace-kpis>div{padding:11px}.workspace-kpis strong{font-size:20px}.workspace-cards,.order-board{grid-template-columns:1fr}.workspace-cards article{padding:15px}.workspace-callout{align-items:flex-start;flex-direction:column;padding:14px;gap:12px}.workspace-table td,.workspace-table th{padding:10px 8px;font-size:10px}.workspace-table th{font-size:8px}.workspace-toolbar{gap:9px}.workspace-filter{max-width:100%}.workspace-filter select{max-width:100%;font-size:10px}.workspace-heading h2{font-size:14px}.hour-chart{gap:5px;padding:20px 5px 10px}.hour-chart strong{font-size:8px}.hour-chart small{font-size:8px}}

/* A single compact objective on the venue; detail stays in Stats on the iPad. */
.objective-chip{position:fixed;left:24px;top:112px;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 15px;text-align:left;max-width:260px;color:#39593c;border:1px solid #b8c9a681;border-radius:14px;cursor:pointer}
.objective-symbol{font-size:24px;color:#668e52}.objective-chip strong{display:block;font-size:11px}.objective-chip small{display:block;margin-top:5px;font-size:9px;color:#75886a}
.journey-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px;border-radius:16px;background:linear-gradient(120deg,#deebcc,#f4f0d9);border:1px solid #cfddbd;margin:15px 0}.journey-hero h2{font-size:24px;letter-spacing:-.8px;line-height:1.15;margin:10px 0}.journey-hero p{font-size:11px;line-height:1.7;margin:0;color:#718461}.journey-hero>strong{font-size:54px;color:#507147;white-space:nowrap}.journey-hero>strong small{font-size:13px;font-weight:500;display:block}
.journey-rewards{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 3px;font-size:11px}.journey-rewards strong{margin-left:8px;color:#477342}.journey-rewards small{font-size:9px;color:#859477}
.mission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:25px}.mission-card{min-width:0;padding:18px;border:1px solid #d8e1cf;background:#fffef8b3;border-radius:14px;display:flex;flex-direction:column}.mission-card.earned{border-color:#a6c59c;background:#eef6e6}.mission-card.locked{background:#eeeee5}.mission-card.locked h3{color:#809176}.mission-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.mission-top .eyebrow{font-size:8px}.mission-pin{border:0;background:transparent;color:#6c8759;font-size:9px;padding:5px 0;white-space:nowrap}.mission-pin[aria-pressed=true]{color:#335d38;font-weight:700}.mission-card h3{font-size:15px;margin:12px 0 8px}.mission-card p{font-size:11px;line-height:1.65;color:#7c8b70;margin:0 0 15px;min-height:54px}.mission-card small{font-size:9px;color:#819173;line-height:1.6}.mission-actions{display:flex;margin-top:auto;padding-top:13px;align-items:center;min-height:44px;font-size:10px}
.mission-card progress,.challenge-result progress,.measurement-progress progress{appearance:none;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;margin:3px 0 8px;background:#dfe7d5}.mission-card progress::-webkit-progress-bar,.challenge-result progress::-webkit-progress-bar,.measurement-progress progress::-webkit-progress-bar{background:#dfe7d5}.mission-card progress::-webkit-progress-value,.challenge-result progress::-webkit-progress-value,.measurement-progress progress::-webkit-progress-value{background:#7fa76b;border-radius:8px}.mission-card progress::-moz-progress-bar,.challenge-result progress::-moz-progress-bar,.measurement-progress progress::-moz-progress-bar{background:#7fa76b}
.challenge-result{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px;border:1px solid #c7d8b6;border-radius:13px;background:#edf3e2;margin:12px 0}.challenge-result>div{flex:1;min-width:0}.challenge-result h3{font-size:14px;margin:7px 0}.challenge-result p{font-size:10px;line-height:1.6;color:#728664;margin:7px 0}.challenge-result>strong{font-size:11px;color:#6c815c}.challenge-result .eyebrow{font-size:8px}.journey-closing{margin:18px 0;padding:14px 16px;border-radius:12px;background:#e8efdd}.journey-closing p{font-size:12px;margin:0 0 10px}
.impact-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:start}.decision-list{display:flex;flex-direction:column;gap:7px;max-height:560px;overflow:auto;padding:2px}.decision-list button{border:1px solid #dce4d2;border-radius:10px;padding:12px;text-align:left;background:#f1f4e9;color:#607c51}.decision-list button[aria-pressed=true]{background:#dfeccf;border-color:#92b282}.decision-list small,.decision-list span{display:block;font-size:8px;line-height:1.6;color:#839573}.decision-list strong{display:block;font-size:11px;line-height:1.5;margin:5px 0}.decision-detail{min-width:0}.decision-detail .workspace-heading{margin:2px 0 16px}.decision-detail .workspace-heading .eyebrow{font-size:8px;display:block;margin-bottom:10px}.decision-change{overflow-wrap:anywhere}.decision-change b{margin:0 7px;color:#496c43}.impact-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0}.impact-kpis strong{font-size:21px}.impact-verdict{padding:18px;background:#edf0e4;border-radius:12px;margin:18px 0;border:1px solid #d8e2cc}.impact-verdict.improved{background:#e2f0da;border-color:#afc7a0}.impact-verdict .eyebrow{font-size:8px}.impact-verdict h3{font-size:23px;margin:8px 0;color:#486740}.impact-verdict p{font-size:10px;color:#7e8f72;line-height:1.7;margin:0}.measurement-progress small{font-size:9px;color:#839474}.impact-table table{font-variant-numeric:tabular-nums}.impact-table td,.impact-table th{min-width:0;padding:10px 6px;font-size:10px}.impact-table td:first-child{width:36%}.impact-notes{padding-left:17px;font-size:10px;color:#967a4f;line-height:1.7}.impact-notes li{margin:6px 0}.impact-caveat{font-size:10px;color:#7d8e70;line-height:1.7;padding-top:8px;border-top:1px solid #dbe4d0}
@media(max-width:1100px){.objective-chip{top:205px;left:18px;max-width:235px}}
@media(max-width:700px){.objective-chip{top:auto;bottom:198px;left:12px;padding:10px 12px;max-width:235px}.objective-chip strong{font-size:10px}.objective-chip small{font-size:8px}.objective-symbol{font-size:19px}.journey-hero{padding:16px;gap:12px}.journey-hero h2{font-size:20px}.journey-hero>strong{font-size:40px}.journey-hero .eyebrow{font-size:7px}.journey-rewards{flex-direction:column;align-items:flex-start;gap:7px}.mission-grid{grid-template-columns:1fr;gap:9px}.mission-card{padding:15px}.mission-card p{min-height:0}.challenge-result{flex-direction:column;align-items:stretch;gap:8px}.challenge-result .button{align-self:flex-start}.impact-layout{grid-template-columns:minmax(0,1fr);gap:16px}.decision-list{flex-direction:row;max-height:none;width:100%;overflow-x:auto}.decision-list button{flex:0 0 160px}.impact-kpis strong{font-size:20px}.impact-table td,.impact-table th{font-size:9px;padding:10px 4px}.impact-verdict h3{font-size:21px}}
@media(max-height:540px) and (min-width:701px){.objective-chip{top:auto;bottom:155px;padding:9px 12px}}

/* Live results stay over the venue and next to the iPad on wide screens. */
.live-panel{position:fixed;top:180px;right:24px;width:238px;z-index:5;padding:17px;border-radius:18px;max-height:calc(100dvh - 280px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.live-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-panel h2{font-size:12px;margin:0;letter-spacing:-.2px}.live-status{font-size:8px;color:#849379;white-space:nowrap}.live-status:before{content:'●';color:#a4ac9a;font-size:7px;margin-right:4px}.live-status.running:before{color:#3baf70}.live-window{font-size:9px;color:#7d8b72;margin:7px 0 16px}
.live-value>span{display:block;font-size:10px;color:#708465;line-height:1.5}.live-value>strong{display:block;font-size:27px;font-weight:750;letter-spacing:-.9px;line-height:1.2;font-variant-numeric:tabular-nums;margin-top:4px;overflow-wrap:anywhere}.live-value>strong small{font-size:10px;letter-spacing:0;font-weight:500;margin-left:4px;color:#819276}.live-trend{display:block;font-size:9px;color:#88967a;margin:5px 0 16px;line-height:1.5}.live-trend span{font-size:8px;color:#8a987d}.live-trend.positive{color:#43885b}.live-trend.negative{color:#b47755}
.live-cash,.live-service{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;border-top:1px solid #82996a2a;padding-top:14px}.live-cash .live-value>strong{font-size:20px;letter-spacing:-.6px}.live-cash .live-value>span{font-size:9px}.live-cash .live-value>strong small{font-size:8px}.live-cash-note{font-size:8px;color:#8a957d;line-height:1.6;margin:10px 0 14px}.live-service .live-value>span{font-size:9px}.live-service .live-value>strong{font-size:18px;letter-spacing:-.5px}.live-value.warning>strong{color:#ac7048}
.live-extra{margin-top:16px;border-top:1px solid #82996a2a}.live-extra summary{padding:11px 0;font-size:9px;color:#728867;list-style:none;display:flex;justify-content:space-between;align-items:center}.live-extra summary::-webkit-details-marker{display:none}.live-extra summary:after{content:'+';font-size:15px}.live-extra[open] summary:after{content:'−'}.live-secondary>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;padding:7px 0;color:#7b8b70}.live-secondary strong{color:#405f3c;font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.live-impact-link{border:0;background:#d9e8ce85;color:#627f53;border-radius:8px;font-size:9px;padding:10px;width:100%;margin-top:4px}
@media(min-width:1101px){.ipad{left:calc(50% - 130px);width:min(960px,calc(100vw - 320px))}}
@media(max-width:1100px){.live-panel{top:205px;right:18px;width:220px;max-height:calc(100dvh - 315px)}.app-open .live-panel{display:none}}
@media(max-width:700px){.live-panel{top:224px;right:12px;width:176px;padding:12px;border-radius:14px;max-height:max(120px,calc(100dvh - 480px))}.live-panel h2{font-size:10px}.live-status{font-size:7px}.live-status:before{display:none}.live-window{font-size:7px;margin:6px 0 12px}.live-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}.live-rates>.live-value:nth-of-type(2){grid-column:2;grid-row:1}.live-rates>.live-trend{grid-row:2;margin:5px 0 12px;font-size:7px}.live-trend span{display:none}.live-value>span{font-size:8px}.live-value>strong{font-size:21px}.live-value>strong small{font-size:7px;margin-left:2px}.live-cash,.live-service{gap:11px 8px;padding-top:11px}.live-cash .live-value>strong,.live-service .live-value>strong{font-size:16px;letter-spacing:-.6px}.live-cash .live-value>span,.live-service .live-value>span{font-size:8px}.live-cash-note{font-size:7px;margin:8px 0 11px}.live-extra{margin-top:12px}.live-extra summary{font-size:8px;padding:8px 0}.live-secondary>div{font-size:8px;gap:4px}.live-secondary strong{font-size:9px}.live-impact-link{font-size:8px;padding:8px}}
@media(max-height:540px) and (min-width:701px){.live-panel{top:102px;right:18px;width:220px;max-height:calc(100dvh - 180px);padding:12px}}

@media(max-width:700px){
 .game:has(#stock-panel[open]) .live-panel{display:none}
 .live-panel{padding:11px}.live-window{margin-bottom:10px}.live-rates>.live-trend{margin-bottom:10px}
 .live-cash-note{margin:6px 0 8px}.live-service{row-gap:8px}.live-extra{margin-top:8px}.live-extra summary{padding:6px 0}.live-impact-link{padding:7px}
}
