@font-face{font-family:Jakarta;src:url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');font-weight:500 800;font-display:swap}:root{--blue:#1a49ba;--brand:#1a49ba;--on-brand:#ffffff;--brand-soft:#edf1fa;--brand-line:#bac8ea;--ink:#182943;--muted:#627089;--line:#dce4ee}*{box-sizing:border-box}body{margin:0;background:#f5f7fa;color:var(--ink);font-family:Jakarta,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer;color:inherit}a{color:var(--blue)}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ecac51;outline-offset:3px}[hidden]{display:none!important}.app-header{height:78px;display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);margin:0 3.5%}.title-mark{text-decoration:none;font-size:18px;font-weight:800;letter-spacing:-.5px;color:var(--ink)}.title-mark span{display:block;font-size:6px;letter-spacing:1.3px;color:#657995;margin-top:6px}.header-note{font-size:7px;letter-spacing:1px;color:#637b9d;margin:auto}.header-actions{margin-left:auto;display:flex;gap:8px}.header-actions button{padding:9px 12px;border:1px solid var(--line);background:white;border-radius:7px;font-size:10px}#help{font-size:12px;width:34px}#app{display:grid;grid-template-columns:27% 73%;padding:26px 3.5%;max-width:1800px;margin:auto;align-items:center}.landing-copy{padding-right:15px}.eyebrow{font-size:8px;letter-spacing:1.3px;color:var(--blue);font-weight:800}h1{font-family:Georgia,serif;font-size:clamp(64px,6vw,98px);letter-spacing:-4px;font-weight:400;line-height:.99;margin:30px 0}h1 em{color:var(--blue);font-weight:400}.landing-copy>p:not(.eyebrow){font-size:13px;line-height:1.9;color:#52657f}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:8px;padding:15px 18px;font-size:12px;font-weight:700;text-decoration:none}.primary{color:var(--on-brand);background:var(--brand);border:1px solid var(--brand);box-shadow:0 5px 15px #1a49ba16,inset 0 1px 0 #ffffff20}.primary:hover{filter:brightness(.93)}.primary:disabled{opacity:.65;cursor:wait}.primary span{font-size:20px}.secondary{background:white;border:1px solid #bfcde1;color:var(--blue)}.secondary:hover{background:#f2f6ff}.text-button{border:0;background:none;padding:9px 0;font-size:11px;color:var(--blue);text-decoration:underline;text-underline-offset:3px;display:inline-block}.micro{font-size:9px!important;color:#77859a!important}#start{margin:18px 0 12px;width:205px}#skip-intro{display:block}.game-shell{min-width:0;overflow:hidden;border:1px solid #d7e0ec;border-radius:17px;background:white;box-shadow:0 20px 50px #1335670b}.hud{display:flex;align-items:center;gap:15px;padding:16px 20px;background:#fff}.day{display:flex;gap:10px;align-items:center;font-size:10px;font-weight:700}.day>span{font-size:25px;color:#cca05f}.day small{display:block;font-size:8px;margin-top:6px;color:#6a7f9d}.metrics{margin-left:auto;display:flex;gap:24px}.metrics small{font-size:7px;letter-spacing:1px;display:block;color:#63758c;margin-bottom:4px}.metrics strong{font-size:24px;line-height:1;letter-spacing:-1px;font-variant-numeric:tabular-nums}.chaos{width:95px}.chaos b{float:right}.meter{height:7px;border-radius:6px;background:#e7edf5;margin-top:10px;overflow:hidden}.meter i{display:block;width:0;height:100%;background:#d6a45b;transition:width .15s}#announcement{min-height:34px;display:flex;align-items:center;padding:8px 20px;font-size:10px;background:#f3f7ff;color:#435e82;border-top:1px solid #e2e9f2;border-bottom:1px solid #e2e9f2}.office-wrap{height:clamp(350px,35vw,560px);position:relative;background:#edf2f8}#office{position:absolute;inset:0}#office canvas{width:100%;height:100%;display:block;touch-action:none}.map-labels{position:absolute;inset:0;pointer-events:none}.map-target{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#fffffff2;border:1px solid #b6c9e3;border-radius:6px;padding:6px 8px;min-height:29px;font-size:9px;font-weight:800;white-space:nowrap;box-shadow:0 3px 8px #19375715;color:#304d75;transition:background .15s}.map-target.valid{background:var(--blue);border-color:white;color:white;box-shadow:0 0 0 3px #1a49ba35,0 4px 10px #16326025}.map-target.incident{background:#fff2d5;color:#8b4912;border-color:#e1ac5b}.map-target.incident.valid{background:#d27822;color:white}.map-target.occupied{background:#e9edf2;color:#536a88}.instruction{display:flex;align-items:center;gap:8px;min-height:47px;padding:12px 20px;border-top:1px solid #dfe8f2;font-size:10px;color:#3d5b82;line-height:1.5;background:#f8faff}.instruction>i{background:var(--blue);width:5px;height:5px;flex-shrink:0;border-radius:50%}#begin{margin-left:auto;font-size:10px;padding:10px 12px;white-space:nowrap}.operations{padding:0 0 0 20px;align-self:stretch;overflow:auto}.section-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.section-label h2{font-size:13px;margin:0}.section-label h2 b{font-size:10px;padding:3px 6px;background:var(--brand-soft);color:var(--blue);border-radius:4px;margin-left:4px}.section-label>span{font-size:5px;letter-spacing:.6px;color:#788ba5}#queue{display:grid;gap:7px}.request{display:flex;align-items:center;gap:9px;width:100%;padding:10px;border:1px solid #d6e1ef;border-radius:9px;background:white;text-align:left;min-height:62px;user-select:none;touch-action:none}.request.selected{border-color:var(--blue);box-shadow:0 0 0 2px #1a49ba25;background:var(--brand-soft)}.request .name{font-size:10px;font-weight:800;display:block}.request .need{font-size:9px;display:block;margin-top:4px;color:#617692}.request .coffee-warning{font-size:7px;color:#9b571b;display:block;margin-top:4px}.request .ring{width:37px;height:37px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:conic-gradient(#359583 var(--patience,100%),#e9eef5 0);position:relative}.ring:before{content:'';position:absolute;inset:3px;border-radius:50%;background:#f6f8fc}.ring span{position:relative;font-size:16px}.request.urgent .ring{background:conic-gradient(#c0613c var(--patience,100%),#e9eef5 0)}#empty-queue{font-size:11px;color:#7c8ca3;line-height:1.7;padding:16px 8px}.facilities{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.helper{display:flex;gap:10px;align-items:center;width:100%;background:var(--brand-soft);border:1px solid #c8d9f4;border-radius:9px;padding:12px;text-align:left}.helper.selected{background:var(--brand-soft);border-color:var(--blue);box-shadow:0 0 0 2px #1a49ba25}.helper-icon{display:flex;align-items:center;justify-content:center;width:34px;height:35px;background:var(--blue);color:#ffdaa3;border-radius:45% 45% 25% 25%;font-size:23px}.helper b{display:block;font-size:11px}.helper small{font-size:9px;display:block;margin-top:4px;color:#4f688d}.repair-meter{height:5px;background:#dbe4f1;border-radius:4px;margin-top:10px;overflow:hidden}.repair-meter i{display:block;background:var(--blue);height:100%;width:0}#cancel-repair{font-size:9px}#incidents{display:grid;gap:6px;margin-top:10px}.incident-button{padding:10px;background:#fff7e8;border:1px solid #edce9f;color:#835321;border-radius:7px;text-align:left;font-size:10px;line-height:1.5}.incident-button b{display:block}.incident-button small{font-size:8px}.incident-button.valid{border-color:#ba761e;box-shadow:0 0 0 2px #ce922830}.controls-note{font-size:9px;line-height:1.9;color:#7b8ba1;margin:18px 0}#host-tray{display:flex;gap:7px;margin-top:12px}.host-button{flex:1;padding:9px 5px;background:#fff;border:1px solid #c8d6e9;border-radius:7px;font-size:9px}.host-button.valid{border-color:var(--blue);background:var(--brand-soft)}.landing-footer{border-top:1px solid var(--line);margin:0 3.5%;padding:18px 0;display:flex;justify-content:space-between;font-size:8px;color:#74859c;letter-spacing:.7px}.landing-footer a{font-size:9px}.pause-cover{position:absolute;inset:0;z-index:20;background:#eaf1faf0;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px}.pause-cover h2{font:400 40px Georgia,serif;margin:0 0 15px}.pause-cover p{font-size:13px;max-width:340px;line-height:1.7}.pause-cover .primary{margin-top:10px}#meltdown{position:absolute;z-index:10;bottom:15px;left:50%;transform:translateX(-50%);background:#a13e28;color:white;padding:12px 18px;border-radius:8px;width:max-content;max-width:94%;font-size:12px;text-align:center;box-shadow:0 4px 14px #6b211e25}#meltdown b{font-variant-numeric:tabular-nums}.dragging{cursor:grabbing!important}.dragging .request{pointer-events:none}#webgl-error{position:absolute;inset:0;z-index:30;background:white;padding:50px;text-align:center}dialog{border:1px solid #cdd9ea;background:#fafbfe;color:var(--ink);border-radius:16px;padding:35px;max-width:600px;width:calc(100% - 30px);max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #142a4d40}dialog::backdrop{background:#11284770;backdrop-filter:blur(6px)}dialog h2{font:400 38px/1.08 Georgia,serif;letter-spacing:-1px;margin:15px 0}dialog p,dialog li{font-size:12px;line-height:1.8;color:#5c6e88}dialog li{padding-bottom:9px}.dialog-close{position:absolute;right:15px;top:12px;font-size:24px;background:none;border:0;color:#63758c}.result-top{text-align:center}.result-top .earned-title{font-size:11px;color:var(--blue);font-weight:700}.result-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:27px 0}.result-numbers strong{font-size:28px;display:block;font-variant-numeric:tabular-nums;letter-spacing:-1px}.result-numbers small{font-size:6px;letter-spacing:.7px;color:#667e9f;display:block;margin-top:5px}.recap{background:#eef3fb;border-radius:8px;padding:12px;font-style:italic}.result-actions{display:flex;gap:9px;justify-content:center;margin:20px 0}.result-actions button{font-size:10px}.report-offer{border-top:1px solid #d9e3f1;margin-top:27px;padding-top:22px}.report-offer h3{font-size:18px;margin:0 0 12px}.report-offer p{font-size:11px}details{font-size:11px;margin-top:10px}summary{color:var(--blue);cursor:pointer}details li{font-size:11px}form{margin-top:20px}form>label{font-size:11px;font-weight:700;display:block;margin:14px 0 7px}form>label small{font-size:9px;font-weight:500;color:#7890ad;margin-left:8px}input[type=email],select{width:100%;padding:12px 13px;background:white;border:1px solid #c4d3e7;border-radius:7px;font-size:12px;color:var(--ink)}.form-error{color:#a53d2c!important;margin:4px 0;min-height:0}.check-label{display:flex;gap:8px;font-size:10px;font-weight:500;line-height:1.6;align-items:flex-start;margin:18px 0}.check-label input{accent-color:var(--blue);margin-top:2px}#send-report{width:100%;font-size:11px}.privacy-note{font-size:9px!important}.bot-field{display:none}#report-status{padding:8px 0}#report-success>.primary{display:flex;font-size:11px;margin:10px 0}#share-card{width:100%;height:auto;border-radius:9px;display:block}.share-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.share-actions button{font-size:10px}
body:not([data-phase=landing]){height:100dvh;overflow:hidden}body:not([data-phase=landing]) .app-header{height:64px}body:not([data-phase=landing]) #app{height:calc(100dvh - 64px);padding:16px 2.5%;grid-template-columns:minmax(0,1fr) 270px;align-items:stretch}body:not([data-phase=landing]) .landing-copy,body:not([data-phase=landing]) .landing-footer{display:none}body:not([data-phase=landing]) .game-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}body:not([data-phase=landing]) .office-wrap{height:auto;min-height:0}body[data-phase=ready] .operations .controls-note{display:none}
@media(max-width:1100px){.header-note{display:none}.metrics{gap:17px}.hud{padding:13px}.day{font-size:9px}.day small{font-size:7px}body:not([data-phase=landing]) #app{grid-template-columns:minmax(0,1fr) 240px;padding:12px}.operations{padding-left:12px}.map-target{font-size:8px;padding:5px}.landing-copy>p:not(.eyebrow){font-size:11px}h1{font-size:62px}.instruction{padding:10px 13px;font-size:9px}.section-label>span{display:none}}
@media(max-width:900px){.app-header{height:65px;margin:0 16px;gap:10px}.title-mark{font-size:15px}.title-mark span{font-size:5px;letter-spacing:.8px}.header-actions{gap:5px}.header-actions button{font-size:8px;padding:8px}#help{width:26px;font-size:10px}#app{display:block;padding:25px 12px}.landing-copy{padding:0 8px 25px;position:relative}.landing-copy h1{font-size:49px;letter-spacing:-2.5px;margin:15px 0}.landing-copy h1 br{display:none}.landing-copy h1 em{display:block}.landing-copy>p:not(.eyebrow){font-size:10px}#start{position:absolute;right:8px;bottom:73px;width:148px;font-size:10px;padding:14px 12px}#skip-intro{position:absolute;right:8px;bottom:45px;width:148px;text-align:center;font-size:8px}.micro{font-size:8px!important}.office-wrap{height:370px}.hud{padding:12px;gap:8px}.day{font-size:8px;gap:5px}.day>span{font-size:19px}.day small{font-size:6px}.metrics{gap:14px}.metrics strong{font-size:20px}.metrics small{font-size:5px;letter-spacing:.5px}.chaos{width:61px}.meter{height:5px;margin-top:9px}#announcement{font-size:8px;padding:8px 12px;min-height:32px}.instruction{font-size:9px;padding:9px 11px}.landing-footer{font-size:6px;margin:0 20px}.map-target{font-size:7px;min-height:25px;padding:4px 5px;border-radius:4px}body:not([data-phase=landing]) .app-header{height:51px}body:not([data-phase=landing]) #app{height:calc(100dvh - 51px);padding:8px;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:8px}body:not([data-phase=landing]) .game-shell{border-radius:12px}body:not([data-phase=landing]) .hud{padding:9px 10px}body:not([data-phase=landing]) .day{max-width:140px;line-height:1.35}body:not([data-phase=landing]) #announcement{font-size:8px;min-height:30px;padding:6px 10px}body:not([data-phase=landing]) .instruction{min-height:36px;font-size:8px;line-height:1.4}#begin{font-size:8px;padding:8px}.operations{padding:0;overflow:visible;display:grid;grid-template-columns:1fr}.section-label{margin:0 0 5px}.section-label h2{font-size:10px}.section-label h2 b{font-size:8px;padding:2px 4px}.queue-section{min-height:87px}#queue{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.request{padding:5px 3px;min-height:68px;display:flex;flex-direction:column;gap:3px;text-align:center;border-radius:6px}.request .ring{width:25px;height:25px}.ring span{font-size:11px}.request .name{font-size:7px;max-width:63px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request .need{font-size:6px;margin-top:2px;line-height:1.3}.request .coffee-warning{font-size:5px;margin-top:2px}#empty-queue{font-size:10px;margin:0;padding:15px 8px}.facilities{padding:0;margin:5px 0 0;border:0;display:grid;grid-template-columns:135px 1fr;gap:5px}.helper{padding:7px;gap:6px;border-radius:6px}.helper b{font-size:8px}.helper small{font-size:7px}.helper-icon{width:24px;height:28px;font-size:18px}#incidents{display:flex;gap:4px;margin:0;grid-column:2;grid-row:1}.incident-button{padding:5px;font-size:7px;flex:1}.incident-button small{font-size:6px}#repair-progress{grid-column:1 / -1;display:flex;align-items:center;gap:8px}.repair-meter{flex:1;margin:0}#cancel-repair{padding:2px 0;font-size:8px}#host-tray{margin:4px 0 0;gap:5px}.host-button{font-size:8px;padding:6px}.controls-note{display:none}#meltdown{font-size:10px;padding:8px;bottom:7px}.pause-cover h2{font-size:30px}.pause-cover p{font-size:11px}.pause-cover .primary{font-size:11px;padding:12px}dialog{padding:25px 18px;max-height:94dvh;border-radius:12px}dialog h2{font-size:31px}dialog li{font-size:11px}.result-numbers{gap:6px;margin:22px 0}.result-numbers strong{font-size:23px}.result-numbers small{font-size:5px}.result-actions{flex-direction:column}.result-actions button{width:100%}.report-offer h3{font-size:17px}.share-actions button{font-size:9px;padding:11px}}
@media(max-height:670px) and (min-width:901px){body:not([data-phase=landing]) .app-header{height:48px}body:not([data-phase=landing]) #app{height:calc(100dvh - 48px);padding:8px}.hud{padding:10px 15px}.request{min-height:52px;padding:7px}.facilities{margin-top:10px;padding-top:10px}.controls-note{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

@media(min-width:901px) and (max-width:1100px){.landing-copy h1{font-size:5.5vw}#start{max-width:100%}}
/* Readable game UI and an actual office clock. */
.app-header .title-mark{font-size:20px}.title-mark span{font-size:10px;letter-spacing:.5px}.header-note{font-size:11px;letter-spacing:.3px}.header-actions button{font-size:13px;min-height:38px}.eyebrow{font-size:11px}.landing-copy>p:not(.eyebrow){font-size:16px}.landing-copy .micro{font-size:13px!important}.landing-footer,.landing-footer a{font-size:11px}.primary,.secondary{font-size:15px}.text-button{font-size:14px}
.hud{gap:20px;padding:14px 20px}.day{font-size:15px;max-width:190px;line-height:1.35}.office-clock{display:flex;align-items:center;gap:12px;flex-shrink:0;margin:auto}.office-clock svg{width:78px;height:78px;filter:drop-shadow(0 3px 5px #16386d10)}.clock-face{fill:white;stroke:#bfd0e8;stroke-width:2}.clock-ticks{stroke:#577399;stroke-width:1.7}.clock-numerals{fill:#39567d;font:700 12px Jakarta,Arial,sans-serif;text-anchor:middle}.hour-hand{stroke:#1a3356;stroke-width:5;stroke-linecap:round}.minute-hand{stroke:var(--blue);stroke-width:3;stroke-linecap:round}#clock{display:block;font-size:26px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.8px}#clock-caption{display:block;color:#4e6686;font-size:12px;margin-top:5px;white-space:nowrap}.metrics{margin-left:0;gap:24px}.metrics small{font-size:11px;letter-spacing:.4px}.metrics strong{font-size:32px}.chaos{width:100px}.meter{height:9px}.metrics #score{display:inline-block;transform-origin:center}
#announcement{font-size:14px;line-height:1.45;min-height:44px;padding:9px 18px}.instruction{font-size:14px;min-height:55px;line-height:1.5}.instruction>i{width:7px;height:7px}#begin{font-size:13px;padding:12px 14px}.map-target{font-size:12px;min-height:35px;padding:7px 8px;border-radius:7px;font-weight:700}.map-target.valid{box-shadow:0 0 0 3px #1a49ba45,0 5px 14px #122b6340}.operations{padding-left:18px}.section-label h2{font-size:17px}.section-label h2 b{font-size:13px}.section-label>span{display:none}#queue{gap:9px}.request{padding:12px;gap:12px;min-height:77px;position:relative}.request .name{font-size:15px}.request .need{font-size:13px;line-height:1.4}.request .coffee-warning{font-size:11px;color:#854213;line-height:1.4}.request .ring{width:42px;height:42px}.ring span{font-size:20px}.request.selected{border:2px solid var(--blue);background:var(--brand-soft);box-shadow:0 0 0 3px #1a49ba20;padding:11px}.request.selected:after{content:'✓';position:absolute;right:9px;top:7px;color:var(--blue);font-size:17px;font-weight:800}.request.selected .name{padding-right:18px}#empty-queue{font-size:14px;padding:12px 5px}.helper{padding:12px}.helper b{font-size:15px}.helper small{font-size:13px;line-height:1.4}.helper-icon{width:40px;height:40px}.helper.selected{border:2px solid var(--blue);background:var(--brand-soft)}.incident-button{font-size:13px;padding:10px;line-height:1.4}.incident-button small{font-size:12px}#cancel-repair{font-size:12px}.controls-note{font-size:12px;line-height:1.6}.host-button{font-size:13px;min-height:42px}.selected-person{position:absolute;transform:translate(-50%,-100%);pointer-events:none;background:var(--blue);color:white;padding:9px 13px;font-size:14px;font-weight:800;border:2px solid white;border-radius:8px;box-shadow:0 5px 14px #112b5e40;white-space:nowrap;z-index:3}.selected-person:after{content:'';position:absolute;left:50%;bottom:-8px;margin-left:-6px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid var(--blue)}
.score-effects{position:fixed;inset:0;pointer-events:none;z-index:1000;overflow:hidden}.score-points{position:absolute;left:0;top:0;display:block;background:#fff;color:var(--blue);border:2px solid #c5d7fa;box-shadow:0 5px 16px #133e8940;border-radius:30px;padding:6px 13px;font-size:26px;font-weight:800;will-change:transform,opacity}
.game-credit{display:flex;flex-direction:column;align-items:center;gap:9px;border-top:1px solid #d9e3f1;padding-top:21px;margin-top:24px}.game-credit img{width:160px;height:auto;display:block}.game-credit span{font-size:13px;color:#4b6385}.result-numbers strong{font-size:30px}.result-numbers #final-time{font-size:22px;line-height:1.6;white-space:nowrap}.result-numbers small{font-size:10px;letter-spacing:0;line-height:1.4}.result-top .earned-title{font-size:15px}.result-actions button{font-size:14px}dialog p,dialog li{font-size:14px}dialog h2{font-size:40px}.report-offer p,.report-offer details,.report-offer details li{font-size:14px}.report-offer h3{font-size:22px}form>label{font-size:14px}form>label small{font-size:12px}input[type=email],select{font-size:16px}.check-label{font-size:13px}.privacy-note{font-size:12px!important}#send-report,.share-actions button{font-size:14px}#meltdown{font-size:15px}
body:not([data-phase=landing]) #app{grid-template-columns:minmax(0,1fr) 320px}
@media(min-width:901px) and (max-width:1150px){body:not([data-phase=landing]) #app{grid-template-columns:minmax(0,1fr) 280px}.hud{gap:12px;padding:12px}.hud .day{display:none}.office-clock{margin-right:auto;margin-left:0}.office-clock svg{width:65px;height:65px}.metrics{gap:15px}.chaos{width:82px}.map-target{font-size:11px}.request .name{font-size:14px}.request .need{font-size:12px}}
@media(max-width:900px){.app-header .title-mark{font-size:17px}.title-mark span{font-size:8px;letter-spacing:0}.header-actions{gap:5px}.header-actions button{font-size:11px;min-height:34px;padding:7px}#help{width:28px}.header-note{display:none}.landing-copy>p:not(.eyebrow){font-size:13px}.landing-copy .micro{font-size:11px!important}#start{font-size:13px;bottom:94px}#skip-intro{font-size:11px;bottom:60px}.eyebrow{font-size:10px}.landing-footer,.landing-footer a{font-size:10px}.hud,body:not([data-phase=landing]) .hud{gap:12px;padding:10px 12px}.hud .day{display:none}.office-clock{margin:0 auto 0 0;gap:8px}.office-clock svg{width:57px;height:57px}#clock{font-size:21px}#clock-caption{font-size:10px;margin-top:3px}.metrics{gap:15px}.metrics small{font-size:9px;letter-spacing:0}.metrics strong{font-size:26px}.chaos{width:57px}.meter{height:7px;margin-top:8px}#announcement,body:not([data-phase=landing]) #announcement{font-size:12px;min-height:40px;line-height:1.4;padding:8px 11px}.instruction,body:not([data-phase=landing]) .instruction{font-size:12px;min-height:46px;padding:8px 10px}.map-target{font-size:10px;padding:6px 5px;min-height:29px;letter-spacing:-.2px}.selected-person{font-size:12px;padding:7px 10px}.score-points{font-size:23px;padding:5px 10px}.operations{padding:0}body:not([data-phase=landing]) #app{grid-template-columns:1fr}.section-label{margin-bottom:5px}.section-label h2{font-size:13px}.section-label h2 b{font-size:11px}.queue-section{min-height:98px}#queue{gap:5px}.request{padding:5px 3px;min-height:85px;gap:3px}.request .name{font-size:12px;max-width:100%;line-height:1.2}.request .need{font-size:10px;line-height:1.2;white-space:normal;margin-top:3px}.request .coffee-warning{font-size:9px}.request .ring{width:28px;height:28px}.ring span{font-size:14px}.request.selected{padding:4px 2px;box-shadow:0 0 0 1px #1a49ba20}.request.selected:after{font-size:13px;right:2px;top:2px}.request.selected .name{padding-right:0}#empty-queue{font-size:12px;padding:10px 6px}.facilities{grid-template-columns:145px 1fr;gap:6px;margin-top:7px}.helper{padding:8px;gap:7px}.helper b{font-size:12px}.helper small{font-size:11px}.helper-icon{width:26px;height:29px;flex-shrink:0}.incident-button{padding:6px;font-size:11px;line-height:1.25}.incident-button small{font-size:10px}#cancel-repair{font-size:11px;padding:4px}.host-button{font-size:11px;min-height:32px;padding:6px}.controls-note{display:none}#begin{font-size:11px;padding:9px}#meltdown{font-size:12px}dialog{padding:27px 19px}dialog h2{font-size:32px}dialog p,dialog li{font-size:14px}.result-numbers{grid-template-columns:repeat(2,1fr);gap:18px 10px}.result-numbers strong{font-size:30px}.result-numbers #final-time{font-size:23px;line-height:1.3}.result-numbers small{font-size:10px}.result-top .earned-title{font-size:13px}.result-actions button{font-size:14px}.report-offer h3{font-size:20px}.report-offer p,.report-offer details,.report-offer details li{font-size:14px}.share-actions button{font-size:12px}.game-credit span{font-size:13px}}
@media(max-width:370px){.office-clock svg{width:48px;height:48px}#clock{font-size:18px}#clock-caption{font-size:9px}.metrics{gap:10px}.metrics strong{font-size:24px}.chaos{width:48px}.title-mark span{max-width:145px;font-size:7px}.header-actions button{font-size:10px}.header-actions{gap:3px}}

.selected-person:after{top:-8px;bottom:auto;border-top:0;border-bottom:8px solid var(--blue)}

/* Company editions: preview the actual office before saving a team challenge. */
.company-offer{margin:26px -10px 0;padding:26px;background:var(--brand-soft);border:1px solid var(--brand-line);border-radius:13px;text-align:left}.company-offer h3{font:400 30px/1.12 Georgia,serif;margin:12px 0;letter-spacing:-.6px}.company-offer .primary{width:100%;font-size:15px;gap:10px}.company-offer>small{display:block;font-size:12px;color:var(--muted);margin-top:13px;line-height:1.6}.header-board{border:1px solid var(--brand-line);background:var(--brand-soft);border-radius:7px;color:var(--blue);padding:8px 11px;font-size:12px;margin-left:auto}.office-clock svg>circle:last-child{fill:var(--blue)}
#edition-dialog{max-width:640px;padding:32px}#edition-dialog.has-preview{max-width:1160px}.edition-intro h2{margin-bottom:9px}.edition-intro>p:last-child{margin-bottom:0}#domain-form{margin-top:22px}.domain-row{display:flex;gap:10px}.domain-row input{flex:1;min-width:0}.domain-row button{white-space:nowrap;font-size:14px}.domain-row+p{margin-bottom:0;min-height:24px;font-size:13px}input[type=text],.challenge-link-row input{width:100%;padding:12px 13px;background:white;border:1px solid #c4d3e7;border-radius:7px;font-size:16px;color:var(--ink)}
#edition-preview{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:24px;margin-top:20px}.edition-office-column{align-self:start;border:1px solid var(--brand-line);border-radius:13px;overflow:hidden;background:#edf2f8;position:sticky;top:0}#edition-office{height:390px;position:relative}#edition-office #office{inset:0}#edition-office .map-labels{display:none}.preview-caption{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;margin:0;background:white;font-size:12px;line-height:1.4}.preview-caption span:first-child{font-weight:800;color:var(--blue)}.preview-caption span:last-child{font-size:11px;text-align:right}.brand-edit{display:grid;grid-template-columns:1fr 100px;gap:8px 14px}.brand-edit label{font-size:12px;font-weight:700;grid-row:1}.brand-edit>input,.brand-edit>.color-row{grid-row:2}.color-row{display:flex;align-items:center;gap:7px}.color-row input{width:42px;height:43px;border:1px solid var(--brand-line);border-radius:7px;background:white;padding:3px;cursor:pointer}.color-row span{font-size:10px;color:var(--muted)}#edition-save-form{padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}#edition-save-form h3{font:400 28px Georgia,serif;margin:0}#edition-save-form>p{font-size:13px}#edition-save-form .primary{width:100%;font-size:14px;line-height:1.5;gap:5px}#edition-save-form>label{font-size:13px}#edition-save-form .check-label{font-size:11px}#edition-save-form .privacy-note{font-size:11px!important;line-height:1.65}#edition-save-status,#edition-delivery-status,#score-status{font-size:13px}.challenge-link-row{display:flex;gap:8px}.challenge-link-row input{min-width:0;font-size:13px}.challenge-link-row button{flex-shrink:0;font-size:13px}#edition-saved{padding-top:20px}#edition-saved h2{overflow-wrap:anywhere}#leaderboard{padding:0;list-style:none;margin:22px 0}#leaderboard li{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 10px;border-bottom:1px solid var(--line);font-size:15px}#leaderboard li>span:first-child{color:var(--blue);font-weight:800}#leaderboard li>span:nth-child(2){overflow-wrap:anywhere}#leaderboard li:first-child{background:var(--brand-soft);border-radius:8px}#refresh-board{margin-left:18px}.company-offer form .primary{margin-top:18px}#challenge-notice{position:fixed;bottom:12px;left:12px;right:12px;margin:0 auto;max-width:740px;padding:12px 18px;background:white;border:1px solid var(--brand-line);border-radius:8px;z-index:200;font-size:13px;box-shadow:0 4px 20px #0002;overflow-wrap:anywhere}
@media(max-width:900px){#edition-dialog,#edition-dialog.has-preview{padding:25px 18px;max-width:650px}.domain-row{flex-direction:column}.domain-row button{width:100%}#edition-preview{grid-template-columns:1fr;gap:20px}.edition-office-column{position:static}#edition-office{height:280px}.preview-caption{padding:11px}.brand-edit{grid-template-columns:1fr 110px}#edition-save-form{margin-top:16px}.company-offer{padding:20px;margin-left:0;margin-right:0}.company-offer h3{font-size:27px}.company-offer .primary{font-size:14px}.landing-footer{flex-wrap:wrap;gap:10px}.landing-footer .text-button{font-size:12px}.challenge-link-row{flex-direction:column}.company-offer .result-actions{flex-direction:column}}

.view-tools{position:absolute;right:10px;bottom:9px;z-index:4;display:flex;align-items:center;gap:10px;padding:4px 5px 4px 10px;border:1px solid #d4dfed;border-radius:8px;background:#ffffffed;box-shadow:0 2px 8px #243d6010}.view-tools span{font-size:12px;color:#526b8e;pointer-events:none}.view-tools button{font-size:12px;min-height:32px;padding:6px 9px;background:#edf3fc;color:#214b8a;border:1px solid #c6d7ee;border-radius:5px}.view-tools button:hover{background:#dfebfc}.view-tools button:disabled{opacity:.5;cursor:default}#office.rotating,#office.rotating canvas,#office.rotating .map-target{cursor:grabbing!important}#office{touch-action:none}#office canvas:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}
@media(max-width:900px){.view-tools{right:7px;bottom:7px;gap:7px;padding-left:8px}.view-tools span,.view-tools button{font-size:11px}.view-tools button{min-height:30px;padding:5px 7px}}
.begin-cover{position:absolute;inset:0;z-index:25;display:flex;align-items:center;justify-content:center;padding:18px;background:#e9f0fac9;backdrop-filter:blur(3px)}.begin-card{width:min(420px,100%);max-height:100%;overflow:auto;padding:28px 30px;text-align:center;background:#fffffffa;border:1px solid #c7d7ed;border-radius:16px;box-shadow:0 18px 50px #17396424}.begin-card .eyebrow{text-transform:uppercase;margin:0 0 12px}.begin-card h2{font:400 35px/1.08 Georgia,serif;letter-spacing:-1px;margin:0 0 14px}.begin-card>p:not(.eyebrow){font-size:14px;line-height:1.6;color:#536a8a;margin:0 0 20px}.begin-card #begin{display:flex;width:100%;justify-content:center;margin:0;padding:17px 25px;font-size:18px;min-height:58px;box-shadow:0 7px 19px #1a49ba30}.begin-card #begin span{font-size:24px}.begin-card>small{display:block;font-size:12px;color:#6b7f9b;margin-top:12px}
@media(max-width:900px){.begin-cover{padding:10px}.begin-card{padding:19px 20px;border-radius:12px}.begin-card .eyebrow{font-size:10px;margin-bottom:9px}.begin-card h2{font-size:28px;margin-bottom:10px}.begin-card>p:not(.eyebrow){font-size:12px;line-height:1.45;margin-bottom:14px}.begin-card #begin{font-size:17px;min-height:50px;padding:13px 20px}.begin-card>small{font-size:11px;margin-top:9px}}

/* Keep the championship and its standings action together. */
.header-context{display:flex;align-items:center;justify-content:center;gap:16px;flex:1;min-width:0}.header-context .header-note{margin:0}.has-championship .header-note{display:block;max-width:290px;font-size:11px;font-weight:700;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}.header-board{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;margin:0;padding:7px 11px 7px 7px;min-height:42px;border:1px solid var(--brand-line);border-radius:12px;background:white;color:var(--blue);font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 2px 5px #18294306;transition:background .15s,border-color .15s,box-shadow .15s}.leaderboard-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--brand-soft)}.leaderboard-icon svg{width:18px;height:18px}.leaderboard-arrow{width:14px;height:14px;margin-left:3px;opacity:.65}.header-board:hover{background:var(--brand-soft);border-color:var(--blue);box-shadow:0 3px 9px #18294310}.header-board:active{box-shadow:none}.has-championship .header-actions{margin-left:0}
@media(max-width:1100px) and (min-width:901px){.header-context{gap:10px}.has-championship .header-note{max-width:190px;font-size:10px}.header-board{gap:7px;font-size:11px}}
@media(max-width:900px){.header-context{flex:0}.app-header.has-championship{height:116px;flex-wrap:wrap;align-content:center;gap:10px}.has-championship .header-actions{margin-left:auto}.has-championship .header-context{flex-basis:100%;order:3;justify-content:space-between;gap:12px}.has-championship .header-note{font-size:10px;max-width:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.header-board{min-height:38px;padding:5px 9px 5px 5px;gap:7px;font-size:11px;border-radius:10px}.leaderboard-icon{width:26px;height:26px}.leaderboard-arrow{width:12px;margin-left:0}.leaderboard-team{display:none}.header-board>span:nth-child(2){text-transform:capitalize}body:not([data-phase=landing]) .app-header.has-championship{height:102px}body:not([data-phase=landing]):has(.app-header.has-championship) #app{height:calc(100dvh - 102px)}}

/* Keep the finished office explorable, with its result pinned to the map. */
body[data-phase=ended] #app{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.result-badge{position:absolute;top:17px;right:17px;z-index:6;display:flex;align-items:center;gap:12px;min-width:168px;padding:13px 18px 13px 12px;border:1px solid var(--brand-line);border-radius:15px;background:#ffffffed;backdrop-filter:blur(8px);box-shadow:0 5px 20px #18294314;color:var(--ink);text-align:left;transition:box-shadow .15s,background .15s}.result-badge:hover{background:white;box-shadow:0 7px 24px #18294325}.result-medal{width:42px;height:54px;flex-shrink:0}.result-medal svg{width:100%;height:100%;stroke:var(--blue);stroke-width:1.3;stroke-linejoin:round}.medal-ribbon{fill:var(--brand);stroke:var(--brand)}.medal-seal{fill:#fff2c9;stroke:#bc9142}.result-medal circle{fill:#fffae9;stroke:#d7af59}.medal-star{fill:#d4a03c;stroke:#b9892e}.result-badge-copy{display:flex;flex-direction:column;gap:6px}.result-badge-score{display:flex;align-items:baseline;gap:6px}.result-badge-score strong{font-size:29px;line-height:1;font-weight:800;letter-spacing:-1px;font-variant-numeric:tabular-nums}.result-badge-score>span{font-size:11px;color:var(--muted)}.result-badge-link{font-size:11px;font-weight:700;color:var(--blue)}.result-badge-link>span{margin-left:7px}
@media(max-width:900px){.result-badge{top:11px;right:11px;gap:8px;min-width:143px;padding:10px 13px 10px 8px;border-radius:12px}.result-medal{width:33px;height:43px}.result-badge-score strong{font-size:25px}.result-badge-link{font-size:10px}.result-badge-score>span{font-size:10px}}

/* Attribution links preserve the game navigation and original branding layout. */
.title-home{color:inherit;text-decoration:none}.title-mark .yarooms-link{color:inherit;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.title-mark .yarooms-link:hover{text-decoration-color:currentColor}.game-credit{text-decoration:none}.game-credit:hover span{text-decoration:underline;text-underline-offset:3px}.share-card-wrap{position:relative}.share-brand-link{position:absolute;left:72%;top:83%;width:24%;height:15%;border-radius:6px}.share-brand-link:hover{background:#1a49ba09}.share-brand-link:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* Mobile play: a large pannable map and readable swipeable request cards. */
.queue-mobile-hint{display:none}
@media(max-width:900px){
 body:not([data-phase=landing]) .app-header.has-championship{height:90px}
 body:not([data-phase=landing]):has(.app-header.has-championship) #app{height:calc(100dvh - 90px)}
 body:not([data-phase=landing]) #app{padding:6px;gap:7px;padding-bottom:max(6px,env(safe-area-inset-bottom))}
 body:not([data-phase=landing]) .hud{padding:7px 11px;gap:10px}
 body:not([data-phase=landing]) .office-clock svg{width:43px;height:43px}
 body:not([data-phase=landing]) #clock{font-size:19px}
 body:not([data-phase=landing]) #clock-caption{font-size:9px;margin-top:2px}
 body:not([data-phase=landing]) .metrics strong{font-size:25px}
 body:not([data-phase=landing]) #announcement{font-size:11px;line-height:1.3;min-height:31px;padding:6px 10px}
 body:not([data-phase=landing]) .instruction{font-size:11px;line-height:1.35;min-height:34px;padding:7px 10px}
 .view-tools{display:none!important}
 .map-labels{overflow:hidden}.map-target{min-width:42px;min-height:36px;padding:7px;font-size:11px;border-radius:10px;box-shadow:0 2px 6px #18294318}
 .map-target[data-compact=true]{width:30px;height:30px;min-width:30px;min-height:30px;padding:2px;border-radius:50%;font-size:18px;font-weight:800}
 .map-target.valid{box-shadow:0 0 0 2px #ffffff,0 3px 10px #18294325}.selected-person{display:none}
 .operations{min-width:0;overflow:hidden;gap:6px;align-self:stretch}
 .queue-section{min-width:0;min-height:110px}.section-label{margin:0 2px 5px}.section-label h2{font-size:12px}.section-label h2 b{font-size:10px}
 .section-label>.queue-mobile-hint{display:block;font-size:10px;color:var(--muted);letter-spacing:0}.section-label>.queue-desktop-hint{display:none}
 #queue{display:flex;min-width:0;gap:8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:2px 2px 6px;min-height:90px}
 #queue:empty{display:none}.request{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;flex:0 0 164px;width:164px;min-width:0;height:86px;min-height:86px;padding:9px;gap:9px;border-radius:12px;text-align:left;touch-action:pan-x;scroll-snap-align:start;box-shadow:0 2px 5px #18294305}
 .request.selected{padding:8px;border:2px solid var(--blue);box-shadow:none}.request.selected:after{font-size:11px;top:4px;right:5px}.request.selected .name{padding-right:5px}
 .request .ring{width:34px;height:34px}.request .ring span{font-size:17px}.request-copy{min-width:0;display:grid;gap:3px}
 .request .name{font-size:13px;line-height:1.2;white-space:normal;max-width:none;overflow-wrap:anywhere;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .request .need{font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;margin:0}.request .coffee-warning{font-size:10px;line-height:1.2;margin:0;white-space:nowrap}.request .coffee-warning:empty{display:none}
 #empty-queue{display:flex;align-items:center;min-height:86px;margin:0;padding:12px;background:#ffffff80;border:1px dashed var(--line);border-radius:12px;font-size:12px}
 .facilities{grid-template-columns:124px minmax(0,1fr);gap:6px;margin:0;padding:0;min-height:66px;min-width:0;align-items:stretch}
 .helper{min-width:0;min-height:64px;padding:8px;gap:6px;border-radius:10px}.helper>span:last-child{min-width:0}.helper b{font-size:11px;line-height:1.25;overflow-wrap:anywhere}.helper small{font-size:10px;line-height:1.25;margin-top:3px;overflow-wrap:anywhere}.helper-icon{width:24px;height:28px;font-size:18px}.helper.selected{padding:7px}
 #incidents{min-width:0;display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:0 1px 3px}.incident-button{flex:0 0 146px;min-width:0;min-height:64px;padding:8px;border-radius:10px;font-size:11px;line-height:1.25;scroll-snap-align:start;touch-action:pan-x;overflow-wrap:anywhere}.incident-button small{display:block;font-size:10px;line-height:1.25;margin-top:4px}
 .facilities:has(#incidents:empty){grid-template-columns:1fr}.facilities:has(#incidents:empty) #incidents{display:none}
 #repair-progress{min-width:0;margin:0}#host-tray{display:none!important}
 /* Keep the main company-edition action in the initial results viewport. */
 #result-dialog{padding:22px 16px;max-height:calc(100dvh - 24px)}
 #result-dialog .result-top>.eyebrow{display:none}#result-dialog .result-top h2{font-size:26px;line-height:1.12;margin:12px 15px 8px;letter-spacing:-.6px}
 #result-dialog .earned-title{font-size:11px;line-height:1.35;margin:8px 0}
 #result-dialog .result-numbers{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:16px 0 8px}
 #result-dialog .result-numbers strong{font-size:23px}#result-dialog .result-numbers #final-time{font-size:16px;line-height:1.7}
 #result-dialog .result-numbers small{font-size:8px;line-height:1.35;margin-top:4px}#result-dialog .recap{display:none}
 #result-dialog .company-offer{margin:18px 0 0;padding:17px}#result-dialog .company-offer h3{font-size:24px;line-height:1.15;margin:8px 0 10px}
 #result-dialog .company-offer>.eyebrow{font-size:9px;line-height:1.4;margin:0 0 7px}
 #result-dialog .company-offer>p:not(.eyebrow){font-size:12px;line-height:1.55;margin:0 0 14px}#result-dialog .company-offer>.primary{min-height:49px;font-size:13px;padding:12px 10px;gap:8px}#result-dialog .company-offer>small{display:none}
 #result-dialog .result-actions{margin:16px 0;gap:7px}#result-dialog .result-actions button{padding:12px;font-size:12px}.game-credit{margin-top:18px;padding-top:16px}
}

@media(max-width:900px) and (max-height:520px) and (orientation:landscape){
 body:not([data-phase=landing]) .app-header,body:not([data-phase=landing]) .app-header.has-championship{height:50px;flex-wrap:nowrap;gap:12px}
 .has-championship .header-context{order:0;flex-basis:auto;flex:1;justify-content:center}.has-championship .header-note{max-width:150px;font-size:9px}
 body:not([data-phase=landing]) #app,body:not([data-phase=landing]):has(.app-header.has-championship) #app{height:calc(100dvh - 50px);grid-template-columns:minmax(0,1fr) 205px;grid-template-rows:minmax(0,1fr)}
 .operations{grid-template-rows:minmax(0,1fr) auto;gap:5px}.queue-section{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}
 #queue{flex-direction:column;overflow-y:auto;overflow-x:hidden;min-height:0;scroll-snap-type:y proximity;padding:2px 3px 2px 1px}.request{width:100%;flex:0 0 78px;height:78px;min-height:78px;touch-action:pan-y}
 .facilities{grid-template-columns:1fr;min-height:42px;gap:4px}.helper{min-height:42px;padding:6px}.helper b{font-size:11px}.helper small{font-size:10px}
 #incidents{grid-column:1;grid-row:auto}.incident-button{min-height:56px;flex-basis:160px}.queue-mobile-hint{visibility:hidden}
 body[data-phase=ended] #app,body[data-phase=ended]:has(.app-header.has-championship) #app{grid-template-columns:minmax(0,1fr)}
 #result-dialog .result-top h2{font-size:23px;margin:8px 15px}#result-dialog .result-numbers,#result-dialog .earned-title{display:none}#result-dialog .company-offer{margin-top:12px;padding:14px}#result-dialog .company-offer h3{font-size:22px}#result-dialog .company-offer>p:not(.eyebrow){margin-bottom:10px}
}
@media(max-width:900px) and (max-height:650px) and (orientation:portrait){
 body:not([data-phase=landing]) #announcement{display:none}
 body:not([data-phase=landing]) .game-shell{grid-template-rows:auto minmax(0,1fr) auto}
}
