:root{--navy:#000b58;--blue:#0434f4;--lime:#cdff29;--ink:#17233c;--muted:#64738a;--line:#dfe5ee;--paper:#f2f4f8;--white:#fff;--green:#267c60;--red:#b94847;--amber:#a36a22;--radius:16px;font-family:'TT Interphases Pro','Helvetica Neue',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #7898ff;outline-offset:4px}button{border:0}button svg{flex-shrink:0}svg{display:block}h1,h2,h3,p{margin:0}button{color:inherit}small{font-size:12px}button[hidden],[hidden]{display:none!important}.mono,.eyebrow{font-family:'JetBrains Mono',monospace}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:600;text-transform:uppercase}.muted{color:var(--muted)}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:13px 19px;border-radius:10px;font-weight:750;font-size:13px;background:var(--navy);color:white;text-decoration:none;transition:transform .16s,background .16s}.btn:hover:not(:disabled){transform:translateY(-2px);background:#142c83}.btn.lime{background:var(--lime);color:var(--navy)}.btn.lime:hover{background:#defe7a}.btn.blue{background:var(--blue);color:#fff}.btn.ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn.ghost:hover{background:#eff3ff}.btn.small{padding:9px 12px;font-size:12px}.btn.full{width:100%}.icon-btn{background:transparent;padding:9px;border-radius:9px;color:var(--muted);display:inline-flex;align-items:center}.icon-btn:hover{background:#e9edf6}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:6px;font:500 12px 'JetBrains Mono',monospace;letter-spacing:.4px;background:#edf1f7;color:#52617a}.pill.green{background:#e9f5ee;color:#267c60}.pill.blue{background:#eaf0ff;color:var(--blue)}.pill.amber{background:#fff2dc;color:#9a641c}.pill.red{background:#fae9e8;color:#b94847}.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}
/* The opening screen is an invitation into the office. */
.landing{min-height:100svh;background:#000b42;color:#fff;overflow:hidden;position:relative;display:flex;flex-direction:column}.landing::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 75% 38%,#17387a99,transparent 55%),radial-gradient(circle at 15% 95%,#0434f42b,transparent 40%);pointer-events:none}.landing-header{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:28px 5vw;border-bottom:1px solid #ffffff15}.brand-note{display:flex;gap:13px;align-items:center}.vaas-word{font-size:22px;font-weight:800;letter-spacing:1px}.brand-note .divider{height:22px;width:1px;background:#ffffff30}.brand-note .eyebrow{color:#a3b5d6;font-size:12px}.landing-header .pill{background:#ffffff0c;color:#c5d3ec;border:1px solid #ffffff20}.hero{position:relative;display:grid;grid-template-columns:47% 53%;align-items:center;flex:1;max-width:1540px;width:100%;margin:0 auto;padding:58px 5vw 42px}.hero-copy{position:relative;z-index:2}.hero-tag{color:var(--lime);display:flex;gap:9px;align-items:center;margin-bottom:25px;font-size:12px}.hero h1{font-size:clamp(44px,5.1vw,78px);line-height:.98;letter-spacing:-3.6px;font-weight:850}.hero h1 em{font-style:normal;color:#a8bfff}.hero-subtitle{font-size:19px;line-height:1.55;color:#c6d2e7;max-width:420px;margin:25px 0 29px}.hero-subtitle strong{color:white;font-weight:650}.hero .btn{padding:17px 27px;font-size:15px}.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero-actions .btn.ghost{background:#ffffff08;color:white;border-color:#ffffff25}.hero-facts{display:flex;gap:25px;margin:31px 0;color:#9eaeca;font-size:12px}.hero-facts strong{color:#fff;font-size:16px;display:block;margin-bottom:5px}.hero-scene{position:relative;width:122%;margin-left:-13%;margin-top:12px}.hero-scene .office-svg{width:100%;filter:drop-shadow(0 20px 35px #00032366)}.scene-label{position:absolute;top:4%;left:39%;color:#9fb8df;display:flex;align-items:center;gap:9px;font-size:12px}.scene-label::before{content:'';width:22px;height:1px;background:#496a9d}.floating-note{position:absolute;bottom:8%;left:29%;display:flex;align-items:center;gap:12px;background:#172c57d9;border:1px solid #9abbf82e;padding:13px 18px;border-radius:12px;backdrop-filter:blur(12px);box-shadow:0 15px 35px #0003;font-size:12px;color:#d7e4fc}.floating-note .avatar{width:34px;height:34px;background:#cdff29;color:#122642}.floating-note strong{display:block;font-weight:650;margin-bottom:4px}.floating-note small{color:#a4bbdc;font-size:12px}.landing-footer{position:relative;display:flex;justify-content:space-between;gap:24px;padding:21px 5vw;border-top:1px solid #ffffff13;color:#8198bd;font-size:12px;line-height:1.6}.landing-footer a{color:#b7c9e7;text-decoration:none}.landing .record-note{font-size:12px;color:#c0cde6;margin-top:20px}.landing .record-note strong{color:var(--lime)}
/* Main play surface. */
.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:20px}.game-brand{display:flex;align-items:center;gap:12px}.brand-mark{width:37px;height:42px;border-radius:10px;background:var(--navy);color:var(--lime);display:grid;place-items:center}.brand-mark .icon{width:22px;height:22px}.game-brand strong{font-size:15px;letter-spacing:-.3px;display:block}.game-brand span{font-size:12px;color:var(--muted);letter-spacing:2px;font-weight:600}.top-actions{display:flex;align-items:center;gap:8px}.top-actions .scenario{margin-right:15px}.game-shell{max-width:1510px;margin:auto;padding:25px 30px 16px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px}.page-heading h1{font-size:27px;letter-spacing:-1px;font-weight:800}.page-heading p{color:var(--muted);font-size:12px;margin-top:6px}.week-badge{text-align:right}.week-badge strong{display:block;font-size:25px;letter-spacing:-1px}.week-badge strong span{color:#9ba6b9;font-size:17px;font-weight:400}.week-badge small{font-size:12px;letter-spacing:1.2px;color:var(--muted)}.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-bottom:22px}.phase-step{display:flex;gap:9px;align-items:center;padding:9px 11px;border-radius:8px;background:#e9edf3;color:#7b879a;font-size:12px}.phase-step .step-number{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;border:1px solid #cbd3e0;font:12px 'JetBrains Mono',monospace}.phase-step.current{background:var(--navy);color:#fff}.phase-step.current .step-number{background:var(--lime);border-color:var(--lime);color:var(--navy)}.phase-step.done{color:#427b68;background:#e4eee9}.phase-step.done .step-number{border-color:#9abbad}.metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:23px}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 16px;min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:600;margin-bottom:10px}.metric-top .icon{width:16px;height:16px;color:#8295b1}.metric-value{font-size:25px;font-weight:800;letter-spacing:-1px;line-height:1.1}.metric-value small{font-weight:500;letter-spacing:0;color:#8a96aa;font-size:12px}.metric-bottom{font-size:12px;color:var(--muted);margin-top:8px}.metric.alert .metric-value{color:var(--red)}.metric .mini-track{height:3px;border-radius:3px;background:#edf0f5;margin-top:10px;overflow:hidden}.mini-track span{display:block;height:100%;border-radius:3px;background:var(--blue)}.metric.alert .mini-track span{background:var(--red)}.work-area{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.main-panel{min-width:0}.tabs{display:flex;gap:4px;margin-bottom:14px;border-bottom:1px solid var(--line);overflow:auto}.tab{display:flex;gap:7px;align-items:center;padding:11px 14px 13px;background:transparent;font-size:12px;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap;font-weight:650}.tab .icon{height:16px;width:16px}.tab.active{color:var(--blue);border-bottom-color:var(--blue)}.tab:hover{color:var(--blue)}.office-panel{background:#e9eef3;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;position:relative;min-height:390px;background-image:radial-gradient(#b9c9dc70 .7px,transparent .7px);background-size:14px 14px}.office-topline{position:absolute;top:19px;left:21px;right:21px;display:flex;justify-content:space-between;align-items:center;z-index:1}.office-topline .eyebrow{font-size:12px;color:#637b97}.office-svg{width:100%;height:auto;max-height:525px}.office-panel .office-svg{margin-top:-7px;margin-bottom:-15px}.office-status{position:absolute;bottom:20px;left:22px;display:flex;align-items:center;gap:7px;font:12px 'JetBrains Mono',monospace;color:#657e94}.office-capacity{position:absolute;bottom:16px;right:20px;padding:9px 12px;background:#ffffffdd;border:1px solid #ffffff;border-radius:8px;font-size:12px;line-height:1.6}.office-capacity strong{font-family:'JetBrains Mono',monospace;font-size:14px}.people-strip{display:flex;gap:8px;padding:13px 0;flex-wrap:wrap}.person-pill{display:flex;align-items:center;gap:7px;padding:5px 9px 5px 5px;border:1px solid var(--line);border-radius:30px;background:#fff;font-size:12px}.avatar{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e4eafa;color:#284d9d;font-size:12px;font-weight:750}.person-pill .dot{width:5px;height:5px;background:#5d9c7d}.person-pill small{font-size:12px;color:var(--muted)}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;text-align:left;transition:.15s;position:relative}.quick-card:hover:not(:disabled){border-color:#99b1ff;transform:translateY(-2px)}.quick-card .icon{color:var(--blue);margin-bottom:12px;width:21px;height:21px}.quick-card strong{display:block;font-size:12px;margin-bottom:5px}.quick-card small{font-size:12px;color:var(--muted);line-height:1.5;display:block}.quick-card .arrow{position:absolute;right:13px;top:15px;color:#a5b1c4}.side-panel{display:flex;flex-direction:column;gap:14px}.brief-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.brief-header{padding:18px 19px 0;display:flex;align-items:center;justify-content:space-between}.brief-header .eyebrow{font-size:12px;color:var(--muted)}.brief-content{padding:18px 19px}.brief-content h2{font-size:21px;letter-spacing:-.65px;line-height:1.15;margin:9px 0 11px}.brief-content p{color:var(--muted);font-size:12px;line-height:1.65}.brief-content .speaker{display:flex;gap:8px;align-items:center;margin:17px 0 13px;font-size:12px;color:var(--muted)}.brief-content .speaker .avatar{width:28px;height:28px;background:#edf0f5;color:#607086}.event-options{display:flex;flex-direction:column;gap:8px;margin-top:17px}.event-choice{background:#f8f9fc;border:1px solid var(--line);border-radius:9px;padding:12px;text-align:left;transition:.16s}.event-choice:hover:not(:disabled){border-color:#779aff;background:#f0f4ff}.event-choice strong{font-size:12px;display:block;line-height:1.45}.event-choice small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px}.decision-done{background:#edf6f0;color:#2e7558;border-radius:9px;padding:12px;margin-top:15px;font-size:12px;line-height:1.6}.forecast{border-top:1px solid var(--line);padding:16px 19px}.forecast h3{font-size:12px;color:var(--muted);font-weight:600;margin-bottom:12px}.forecast-row{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:9px 0}.forecast-row strong{font-family:'JetBrains Mono',monospace;font-size:12px}.forecast .warning{font-size:12px;line-height:1.5;background:#fff2dc;padding:10px;border-radius:7px;color:#99661d;margin-top:13px}.advance-wrap{padding:0 19px 18px}.advance-wrap .btn{padding:14px 10px}.advance-wrap small{display:block;text-align:center;font-size:12px;color:var(--muted);margin-top:9px}.tip-card{padding:16px 18px;background:#e5ebfb;border:1px solid #d6dff6;border-radius:12px;font-size:12px;line-height:1.65;color:#526887}.tip-card strong{display:block;font-size:12px;color:#1c4298;margin-bottom:5px}.game-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:13px;border-top:1px solid var(--line);color:#8994a6;font-size:12px}.game-footer a{text-decoration:none}.panel-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-height:430px}.panel-title{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:22px}.panel-title h2{font-size:22px;letter-spacing:-.6px}.panel-title p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:7px}.roster{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:23px}.employee{border:1px solid var(--line);border-radius:12px;padding:18px 15px;text-align:center;background:#fbfcfe}.employee .avatar{margin:0 auto 10px;width:43px;height:43px;font-size:15px}.employee strong{display:block;font-size:13px;margin-bottom:5px}.employee small{font-size:12px;color:var(--muted)}.employee .pill{margin-top:12px;font-size:12px}.action-list{display:flex;flex-direction:column;gap:9px}.action-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid var(--line);border-radius:11px}.action-row h3{font-size:12px;margin-bottom:5px}.action-row p{font-size:12px;color:var(--muted);line-height:1.6;max-width:470px}.action-row .btn{flex-shrink:0;font-size:12px;min-width:105px}.section-label{font-size:12px;color:var(--muted);letter-spacing:1px;margin:23px 0 13px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.source-card{border:1px solid var(--line);padding:17px;border-radius:11px;background:#fbfcfe}.source-card h3{font-size:13px;margin-bottom:7px;display:flex;gap:8px;align-items:center}.source-card h3 .icon{width:17px;height:17px;color:var(--blue)}.source-card p{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:13px;min-height:34px}.source-card label{font-size:12px;color:var(--muted);display:block;margin-bottom:6px}select{width:100%;padding:10px 8px;border-radius:7px;background:#fff;color:var(--ink);border:1px solid #d6deeb;font-size:12px}.policy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.policy{border:1px solid var(--line);border-radius:10px;padding:15px;background:#fff;text-align:left}.policy.selected{border:2px solid var(--blue);padding:14px;background:#f1f5ff}.policy strong{font-size:12px;display:block;margin-bottom:7px}.policy p{font-size:12px;color:var(--muted);line-height:1.6}.data-summary{display:flex;justify-content:space-between;gap:12px;padding:15px;background:#eaf0ff;border-radius:10px;font-size:12px;margin-top:18px}.data-summary strong{color:var(--blue)}.tech-card{position:relative;padding:22px;border:1px solid var(--line);border-radius:13px;margin-bottom:13px;overflow:hidden}.tech-card.installed{border-color:#b4d9c4;background:#f6faf7}.tech-card h3{font-size:19px;margin:13px 0 8px;letter-spacing:-.5px}.tech-card p{font-size:12px;line-height:1.6;color:var(--muted);max-width:430px}.tech-card .feature-tags{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}.tech-card .feature-tags span{background:#edf1f6;border-radius:5px;padding:6px 8px;font-size:12px;color:#62728a}.tech-card .tech-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;font-size:12px}.tech-card .tech-bottom small{display:block;color:var(--muted);margin-top:5px;font-size:12px}.tech-note{font-size:12px;color:var(--muted);line-height:1.6;margin:18px 0 0}.log-list{display:flex;flex-direction:column;gap:0}.log-item{display:grid;grid-template-columns:54px 1fr;gap:15px;padding:15px 0;border-bottom:1px solid #edf0f5}.log-item:last-child{border:0}.log-item .log-week{font:12px 'JetBrains Mono',monospace;color:#8190a8;padding-top:2px}.log-item strong{font-size:12px;display:block;margin-bottom:5px}.log-item p{font-size:12px;color:var(--muted);line-height:1.6}.log-item.warning strong{color:var(--amber)}.log-item.good strong{color:var(--green)}
/* Reports and results. */
dialog{border:1px solid #dce4ef;border-radius:20px;padding:0;width:min(550px,calc(100vw - 32px));max-height:88svh;box-shadow:0 35px 110px #000b5840;color:var(--ink);background:#fff}dialog::backdrop{background:#07123799;backdrop-filter:blur(5px)}.modal-inner{padding:30px}.modal-eyebrow{font-size:12px;color:var(--blue);margin-bottom:14px}.modal-inner h2{font-size:30px;letter-spacing:-1px;line-height:1.15}.modal-inner .intro{font-size:13px;line-height:1.7;color:var(--muted);margin:13px 0 22px}.modal-inner .btn{margin-top:12px}.modal-steps{display:flex;flex-direction:column;gap:11px;margin:20px 0}.modal-step{display:flex;gap:12px;align-items:start;padding:13px;background:#f4f6fb;border-radius:10px;font-size:12px;line-height:1.6}.modal-step .icon{color:var(--blue);flex-shrink:0}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:23px 0}.report-stat{background:#f2f5fb;border-radius:10px;padding:16px}.report-stat small{font-size:12px;color:var(--muted);display:block;margin-bottom:8px}.report-stat strong{font-size:25px;letter-spacing:-1px}.report-note{font-size:12px;line-height:1.7;color:var(--muted);margin:13px 0;padding-left:12px;border-left:2px solid #a5b8e9}.result-screen{min-height:100svh;background:var(--paper)}.result-container{max-width:1060px;margin:auto;padding:35px 25px}.result-heading{text-align:center;margin:8px 0 30px}.result-heading .pill{margin-bottom:16px}.result-heading h1{font-size:39px;letter-spacing:-1.5px;line-height:1.15}.result-heading p{color:var(--muted);font-size:13px;line-height:1.7;margin:12px auto;max-width:580px}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;align-items:start}.score-card{border-radius:20px;background:var(--navy);color:#fff;overflow:hidden;position:relative;padding:28px}.score-card::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 95% 15%,#315afc66,transparent 65%);pointer-events:none}.score-card>*{position:relative}.score-card .eyebrow{color:#a9bbeb;font-size:12px}.score-top{display:flex;justify-content:space-between;align-items:center}.score-top .pill{color:var(--lime);background:#ffffff12}.score-number{font-size:94px;letter-spacing:-7px;font-weight:800;line-height:1.12;margin-top:17px}.score-number small{font-size:18px;color:#93a6d6;letter-spacing:0;font-weight:400;margin-left:9px}.score-profile{font-size:18px;color:var(--lime);margin:8px 0 0;font-weight:650}.score-card .office-svg{width:112%;margin:-15px -6% -41px;max-height:285px}.score-data{display:flex;gap:28px;padding-top:18px;border-top:1px solid #ffffff24}.score-data strong{font-family:'JetBrains Mono',monospace;font-size:18px;display:block}.score-data small{color:#9fb2de;display:block;font-size:12px;margin-top:7px}.score-footer{margin-top:24px;display:flex;justify-content:space-between;align-items:center;color:#91a5d8;font-size:12px}.score-footer strong{color:white;font-size:14px}.breakdown{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.breakdown h2{font-size:17px;margin-bottom:21px}.score-row{margin-bottom:17px}.score-row-top{display:flex;justify-content:space-between;font-size:12px;gap:15px;margin-bottom:9px}.score-row-top strong{font-family:'JetBrains Mono',monospace;font-size:12px}.score-track{height:6px;border-radius:8px;background:#edf1f8;overflow:hidden}.score-track span{height:100%;display:block;background:var(--blue);border-radius:8px}.medals{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}.medals .pill{font-size:12px}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.result-actions .btn{font-size:12px;padding:12px 10px}.result-story{margin-top:23px;background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.result-story h2{font-size:17px;margin-bottom:16px}.story-item{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:13px;padding-left:13px;border-left:2px solid #b7c9fe}.cta-card{padding:23px;background:#e5ecfc;border:1px solid #d1dffa;border-radius:14px;margin-top:23px;display:flex;gap:20px;align-items:center;justify-content:space-between}.cta-card h3{font-size:16px;margin-bottom:6px}.cta-card p{font-size:12px;color:#53698f;line-height:1.6;max-width:580px}.cta-card .btn{flex-shrink:0}.loss-card{text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:40px;max-width:650px;margin:0 auto}.loss-card .big-week{font-size:80px;font-weight:800;color:var(--navy);letter-spacing:-5px}.loss-card .big-week small{font-size:20px;letter-spacing:0;color:var(--muted)}.loss-card p{font-size:13px;color:var(--muted);line-height:1.7;margin:16px 0}.loss-card .office-svg{max-height:290px;margin:-25px 0}.share-input{width:100%;padding:13px;border:1px solid var(--line);border-radius:8px;font-size:12px;margin:17px 0;color:var(--ink)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;transition:.2s;background:#142647;color:#fff;padding:13px 20px;border-radius:11px;box-shadow:0 8px 30px #0003;font-size:12px;z-index:99;pointer-events:none;max-width:calc(100vw - 35px);text-align:center;line-height:1.6}#toast.show{opacity:1;transform:translate(-50%,0)}.work-dot{animation:pulse 2.5s ease-in-out infinite;animation-delay:var(--delay)}.server-light{animation:pulse 1.4s ease-in-out infinite}.turning .office-svg{animation:week-pass .7s ease-in-out}.floating-note{animation:float 5s ease-in-out infinite}@keyframes pulse{50%{opacity:.25}}@keyframes float{50%{transform:translateY(-7px)}}@keyframes week-pass{50%{filter:brightness(1.12);transform:translateY(-2px)}}
@media(min-width:1500px){.game-shell{padding-top:30px}.office-panel{min-height:455px}.work-area{grid-template-columns:minmax(0,1fr) 350px}.office-svg{max-height:550px}}
@media(max-width:1100px){.game-shell{padding:22px 20px}.work-area{grid-template-columns:minmax(0,1fr) 295px;gap:15px}.metric{padding:13px 12px}.metric-value{font-size:22px}.tab{padding:10px 10px 12px;font-size:12px}.tab .icon{display:none}.office-panel{min-height:330px}.office-panel .office-svg{min-height:330px;object-fit:contain}.quick-card{padding:12px}.quick-card strong{font-size:12px}.quick-card small{font-size:12px}.hero h1{font-size:57px}.hero-subtitle{font-size:16px}.hero-scene{width:136%;margin-left:-20%}.hero-facts{gap:21px}.roster{grid-template-columns:repeat(2,1fr)}.action-row{flex-wrap:wrap}.source-grid{grid-template-columns:1fr}.top-actions .scenario{display:none}}
@media(max-width:820px){.hero{grid-template-columns:1fr;padding:40px 7vw 15px}.hero-copy{max-width:560px}.hero h1{font-size:clamp(43px,9vw,68px);letter-spacing:-2.8px}.hero-subtitle{max-width:440px}.hero-scene{width:95%;max-width:640px;margin:-15px auto 0}.landing-header{padding:21px 7vw}.landing-footer{padding:20px 7vw}.hero-facts{margin-bottom:8px}.floating-note{bottom:6%;left:26%}.work-area{grid-template-columns:1fr}.side-panel{display:grid;grid-template-columns:1fr}.tip-card{display:none}.brief-content{padding-top:11px}.brief-content h2{font-size:23px}.brief-content .speaker{display:none}.brief-card{display:grid;grid-template-columns:1fr 1fr;align-items:start}.brief-header{grid-column:1/-1}.brief-content{grid-row:2/4}.forecast{border:0;padding-top:15px}.advance-wrap{grid-column:2}.brief-card.has-event{display:block}.brief-card.has-event .event-options{display:grid;grid-template-columns:repeat(3,1fr)}.brief-card.has-event .forecast{border-top:1px solid var(--line)}.brief-card.has-event .advance-wrap{padding-bottom:18px}.metrics{gap:8px}.metric-top{font-size:12px}.metric-top .icon{display:none}.metric-bottom{font-size:12px}.metric-value{font-size:21px}.phase-step{font-size:12px;padding:8px}.phase-step .step-number{width:18px;height:18px;flex-shrink:0}.office-panel{min-height:360px}.office-panel .office-svg{max-height:450px}.quick-actions{margin-bottom:3px}.tabs{justify-content:space-between}.tab .icon{display:inline-block}.source-grid{grid-template-columns:1fr 1fr}.roster{grid-template-columns:repeat(3,1fr)}.result-grid{gap:16px}.score-card{padding:22px}.score-number{font-size:77px}.score-profile{font-size:16px}.score-data{gap:18px}.cta-card{align-items:start;flex-direction:column}}
@media(max-width:540px){.topbar{height:65px;padding:0 16px;gap:8px}.game-brand{gap:8px}.game-brand strong{font-size:12px}.game-brand span{font-size:12px}.brand-mark{width:31px;height:35px}.top-actions{gap:1px}.top-actions .help-label{display:none}.game-shell{padding:18px 14px 14px}.page-heading{margin-bottom:17px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px;max-width:240px}.week-badge strong{font-size:23px}.timeline{gap:4px;margin-bottom:16px}.phase-step{flex-direction:column;gap:5px;font-size:12px;padding:7px 3px;border-radius:7px}.phase-step .step-number{width:17px;height:17px;font-size:12px}.metrics{grid-template-columns:repeat(6,1fr);gap:7px;margin-bottom:15px}.metric{grid-column:span 2;padding:10px}.metric:nth-child(4),.metric:nth-child(5){grid-column:span 3}.metric-top{font-size:12px;margin-bottom:7px}.metric-value{font-size:21px}.metric-bottom{font-size:12px;min-height:10px}.metric .mini-track{margin-top:8px}.tab{padding:10px 7px;font-size:12px}.tab .icon{display:none}.office-panel{min-height:280px}.office-panel .office-svg{min-height:290px;width:112%;margin-left:-6%;margin-top:9px;margin-bottom:-10px}.office-topline{top:13px;left:13px;right:13px}.office-topline .eyebrow{font-size:12px}.office-topline .pill{font-size:12px;padding:5px 7px}.office-status{bottom:13px;left:13px;font-size:12px}.office-capacity{bottom:10px;right:12px;padding:5px 8px;font-size:12px}.office-capacity strong{font-size:12px}.people-strip{gap:5px;padding:10px 0}.person-pill{font-size:12px;padding-right:7px}.person-pill .avatar{width:22px;height:22px;font-size:12px}.person-pill small{display:none}.quick-actions{gap:7px}.quick-card{padding:12px 9px}.quick-card .icon{width:18px;height:18px;margin-bottom:8px}.quick-card strong{font-size:12px;line-height:1.4}.quick-card small{font-size:12px}.quick-card .arrow{right:7px;top:10px}.brief-card{display:block}.brief-content{padding:12px 17px 15px}.brief-header{padding:16px 17px 0}.forecast{padding:0 17px 12px}.brief-card.has-event .event-options{display:flex}.brief-card.has-event .forecast{padding-top:14px}.advance-wrap{padding:0 17px 17px}.panel-box{padding:17px}.panel-title h2{font-size:20px}.panel-title p{font-size:12px}.panel-title .pill{font-size:12px;white-space:nowrap}.source-grid{grid-template-columns:1fr;gap:10px}.policy-grid{gap:8px}.source-card p{min-height:0}.data-summary{font-size:12px;line-height:1.6;flex-direction:column;gap:6px}.roster{grid-template-columns:repeat(2,1fr)}.tech-card{padding:17px}.tech-card .tech-bottom{flex-direction:column;align-items:start;gap:14px}.action-row{padding:13px;gap:12px}.action-row .btn{width:100%}.game-footer{font-size:12px;align-items:start;line-height:1.7;gap:10px}.game-footer span:last-child{white-space:nowrap}.landing-header .pill{font-size:12px}.brand-note{gap:10px}.vaas-word{font-size:19px}.brand-note .eyebrow{font-size:12px;letter-spacing:1px}.hero{padding-top:35px}.hero-tag{font-size:12px;letter-spacing:1.2px;margin-bottom:20px}.hero-subtitle{font-size:15px;margin-top:22px}.hero .btn{font-size:13px;padding:15px 20px}.hero-facts{gap:26px;font-size:12px}.hero-facts strong{font-size:14px}.hero-scene{width:120%;margin-left:-10%;margin-top:5px}.scene-label{font-size:12px}.floating-note{font-size:12px;padding:10px 13px;bottom:7%;left:24%}.floating-note small{font-size:12px}.floating-note .avatar{width:27px;height:27px}.landing-footer{font-size:12px;flex-direction:column;gap:9px}.modal-inner{padding:23px}.modal-inner h2{font-size:26px}.modal-inner .intro{font-size:12px}.modal-step{font-size:12px}.result-container{padding:28px 15px}.result-heading h1{font-size:30px}.result-heading p{font-size:12px}.result-grid{grid-template-columns:1fr}.score-card{padding:25px}.score-number{font-size:90px}.score-card .office-svg{max-height:260px;margin-top:-24px;margin-bottom:-40px}.score-data strong{font-size:17px}.score-data{gap:30px}.result-story{padding:20px}.loss-card{padding:25px}.loss-card .office-svg{max-height:230px}.loss-card .btn{width:100%;margin-top:9px}.result-heading{margin-top:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Pressure mode: the decision is the focal point of the week. */
.metrics{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.metric{padding:15px 12px}.metric-top{font-size:12px;min-height:25px;align-items:start}.metric-top .icon{width:15px;height:15px}.metric-value{font-size:25px}.metric-bottom{font-size:12px;line-height:1.4;min-height:25px}.mission-panel{border-radius:16px;background:var(--navy);color:#fff;padding:23px 26px;margin:0 0 18px;box-shadow:0 8px 25px #000b5812;position:relative;overflow:hidden}.mission-panel::before{content:'';position:absolute;width:260px;height:260px;right:-100px;top:-160px;background:#0434f4;filter:blur(80px);pointer-events:none}.mission-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px;position:relative}.mission-heading .eyebrow{color:var(--lime);font-size:12px}.mission-heading .pill{background:#ffffff12;color:#c2d2ff;font-size:12px}.mission-body{display:grid;grid-template-columns:1fr 1.3fr;gap:30px;align-items:center;position:relative}.mission-body h2{font-size:28px;line-height:1.1;letter-spacing:-.8px;margin-bottom:12px;max-width:440px}.mission-body p{font-size:12px;line-height:1.65;color:#beccec;max-width:490px}.mission-choices{display:flex;flex-direction:column;gap:7px}.mission-choices button{display:flex;text-align:left;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;background:#ffffff0b;color:#fff;border:1px solid #ffffff25;transition:.15s}.mission-choices button:hover{background:#0434f4;border-color:#7397ff;transform:translateX(3px)}.mission-choices button>span{font:12px monospace;color:#91a9dc}.mission-choices button strong{font-size:12px;flex:1}.mission-choices button .icon{width:16px;height:16px;color:var(--lime)}.mission-choices small{font-size:12px;color:#92a8d3;margin-top:2px}.mission-outcome{background:#ffffff0b;border:1px solid #ffffff16;border-radius:10px;padding:17px}.mission-outcome>strong{font-size:13px;display:block;color:#d6f9a0;margin-bottom:7px}.mission-outcome .text-link{color:#b8d1ff;padding-left:0}.mission-panel.resolved{background:#142951}.text-link{background:none;color:var(--blue);font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:12px 5px;display:inline-block}.mandate-strip{display:flex;gap:9px;align-items:center;margin:0 0 20px;flex-wrap:wrap}.mandate-strip>.eyebrow{font-size:12px;color:var(--muted);margin-right:4px}.mandate-strip .icon{width:15px;height:15px}.deadline{background:#fff8e9;border:1px solid #ecddbd;border-radius:9px;display:grid;grid-template-columns:auto 1fr;text-align:left;gap:4px 12px;padding:10px 13px;flex:1;min-width:220px}.deadline strong{font-size:12px;grid-row:span 2;align-self:center;color:#895823}.deadline span{font-size:12px;color:#705c3a}.deadline small{font-size:12px;color:#9c7f56}.deadline.urgent{background:#fff0ed;border-color:#f1c2b6}.deadline.urgent strong{color:#a74536}.office-management{display:grid;grid-template-columns:1.15fr 1fr;gap:12px;margin:12px 0}.office-management article{border:1px solid var(--line);background:#fff;border-radius:11px;padding:17px}.office-management .eyebrow{font-size:12px;color:var(--muted)}.office-management h3{font-size:16px;margin:9px 0}.office-management p{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:12px}.office-levels{display:flex;gap:8px;margin:12px 0}.office-levels>span{border:1px solid #e2e7f0;background:#f4f6fa;border-radius:7px;flex:1;text-align:center;padding:7px;font:bold 15px monospace;color:#9da9be}.office-levels small{font:12px Arial;display:block;margin-top:3px}.office-levels>span.reached{background:#eaf0ff;border-color:#b3c5ff;color:var(--blue)}.office-management .btn{font-size:12px}.roster{max-height:340px;overflow:auto;padding:2px}.fire-btn{display:block;border:0;background:none;font-size:12px;text-decoration:underline;color:#9b4c49;margin:12px auto 0;padding:4px}.hiring-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;padding:14px;background:#f2f5fb;border-radius:10px}.hiring-controls label{font-size:12px;font-weight:600}.hiring-controls select{width:125px}.hiring-controls p{font-size:12px;color:var(--muted);width:100%}.flow-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.flow-card{border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:14px}.flow-card.active{border-color:#b9dccc;background:#f8fcf9}.flow-card.building{border-color:#b3c6ff;background:#f7f9ff}.flow-card h3{font-size:25px;letter-spacing:-.5px;margin:15px 0 6px}.flow-card>div>strong{font-size:12px}.flow-card p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:7px}.flow-card .pill{font-size:12px}.flow-deadline{font-size:12px;line-height:1.65;border-left:2px solid #dfb965;padding-left:9px;color:#8e6b30;margin-top:auto}.flow-deadline.overdue{border-color:#d65c4f;color:#a7473b}.flow-optional{margin-top:auto!important}.flow-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:13px}.flow-bottom>span{font-size:12px;font-weight:650}.flow-bottom small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:5px}.flow-bottom .btn{font-size:12px;white-space:nowrap}.implementation-banner{background:#eaf0ff;border:1px solid #c6d4ff;border-radius:10px;padding:15px;font-size:12px;color:#244aab;margin-bottom:17px}.implementation-banner .icon{margin-right:7px}.outcome-effects{display:flex;flex-wrap:wrap;gap:8px}.outcome-effects span{font-size:12px;padding:9px 11px;background:#eff3fb;border-radius:7px;line-height:1.5}.side-panel .forecast{margin-top:12px}.side-panel .advance-wrap>.btn{margin-top:8px}.side-panel .brief-card{display:block}.tabs{overflow-x:auto;white-space:nowrap;justify-content:flex-start}.tab{font-size:12px;padding:11px 12px}.tab .icon{width:15px;height:15px}.case-modal{width:min(990px,calc(100vw - 32px));max-height:92svh}.case-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.case-heading .pill{font-size:12px;white-space:nowrap}.case-heading h2{font-size:27px}.case-modal .intro{margin-bottom:18px}.simulated-browser{border:1px solid #cbd5e3;border-radius:11px;overflow:hidden;box-shadow:0 5px 20px #11224a0a}.browser-chrome{background:#e4e8f0;display:flex;gap:20px;align-items:center;padding:10px 14px;font:12px monospace;color:#6f7e94}.window-dots{letter-spacing:3px;color:#9ba8bb;font-size:12px}.browser-tabs{display:flex;background:#e4e8f0;padding:0 8px;gap:4px}.browser-tabs button{flex:1;padding:12px 9px;background:#d4dce8;color:#566783;font-size:12px;border-radius:8px 8px 0 0;text-align:left}.browser-tabs button.selected{background:#fff;color:#203c78;font-weight:700}.browser-address{display:flex;gap:8px;align-items:center;background:#f5f7fa;margin:10px;border:1px solid #e4e8ee;border-radius:6px;padding:8px 11px;font:12px monospace;color:#64738a;overflow-wrap:anywhere}.browser-address .icon{width:13px;height:13px;flex-shrink:0}.source-document{background:#fff;padding:22px 25px 28px;min-height:215px}.source-masthead{display:flex;justify-content:space-between;gap:10px;border-bottom:2px solid #233753;color:#283c57;padding-bottom:12px;margin-bottom:18px;font-family:Georgia,serif;font-size:20px;font-weight:bold}.source-masthead span{font:12px monospace;letter-spacing:1px;color:#8b96a6;white-space:nowrap;align-self:center}.source-document h3{font-family:Georgia,serif;font-size:22px;line-height:1.25;margin-bottom:13px;letter-spacing:-.3px}.source-document p{font-family:Georgia,serif;font-size:15px;line-height:1.8;color:#465367;max-width:760px}.case-decision{margin-top:20px;background:#f3f6fb;border:1px solid #e0e7f3;padding:17px;border-radius:10px}.case-decision>.eyebrow{font-size:12px;color:#617494}.case-decision>div{display:flex;gap:10px;margin:12px 0}.case-decision .btn{flex:1;margin:0;font-size:12px}.case-decision small{font-size:12px;line-height:1.5;color:var(--muted)}.unified-dossier{border:1px solid #afc3ff;border-radius:11px;overflow:hidden}.dossier-bar{display:flex;gap:12px;justify-content:space-between;padding:16px 20px;background:var(--blue);color:#fff}.dossier-bar strong{font-size:13px}.dossier-bar span{font-size:12px;color:#cfdbff}.dossier-sources{display:grid;grid-template-columns:repeat(3,1fr);background:#f0f4ff;gap:1px}.dossier-sources .source-document{padding:18px;font-family:inherit}.dossier-sources .source-masthead{font-family:inherit;font-size:12px;display:block;border-color:#e1e8f6;margin-bottom:14px}.dossier-sources .source-masthead span{display:block;margin-top:6px}.dossier-sources .source-document h3{font-family:inherit;font-size:15px}.dossier-sources .source-document p{font-family:inherit;font-size:12px;line-height:1.75}.case-modal .text-link{margin-top:5px}.btn.amber{background:#ffebbd;color:#875f24}
@media(max-width:1200px){.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-top{min-height:14px}.metric-bottom{min-height:14px}.mission-body{gap:22px}.mission-body h2{font-size:25px}.flow-grid{grid-template-columns:1fr}.tab{padding:11px 9px}.office-topline{flex-wrap:wrap;gap:7px}.office-topline .eyebrow{font-size:12px}}
@media(max-width:820px){.mission-body{grid-template-columns:1fr}.mission-body p{max-width:none}.mission-heading .pill{font-size:12px}.mission-panel{padding:21px}.mission-choices{gap:8px}.mission-body h2{font-size:27px}.flow-grid{grid-template-columns:1fr 1fr}.tab .icon{display:none}.dossier-sources{grid-template-columns:1fr}.dossier-sources .source-document{min-height:0}.case-heading{align-items:start;flex-direction:column}.case-heading .pill{margin-top:-3px}.dossier-bar{flex-direction:column}.case-modal .modal-inner{padding:22px}}
@media(max-width:540px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric,.metric:nth-child(4),.metric:nth-child(5){grid-column:auto}.metric:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.metric:first-child .metric-top{grid-column:1/-1;min-height:0}.metric:first-child .metric-value{font-size:25px}.metric:first-child .metric-bottom{text-align:right}.metric-top{font-size:12px;min-height:13px}.metric-top .icon{display:block}.metric-value{font-size:23px}.metric-bottom{font-size:12px;min-height:22px}.mission-panel{padding:18px;margin-top:6px}.mission-heading{align-items:start;flex-direction:column;gap:10px;margin-bottom:15px}.mission-heading .eyebrow{font-size:12px;line-height:1.7}.mission-heading .pill{font-size:12px}.mission-body{gap:18px}.mission-body h2{font-size:25px}.mission-choices button{padding:13px 11px}.mission-choices button strong{font-size:12px;line-height:1.5}.mission-choices button>span{font-size:12px}.mission-body p{font-size:12px}.mandate-strip{gap:7px}.mandate-strip>.eyebrow{width:100%;margin:3px 0}.deadline{min-width:0;flex-basis:100%}.office-management{grid-template-columns:1fr}.office-management article{padding:15px}.office-panel .office-svg{min-height:260px;margin-top:35px}.office-topline{align-items:start}.office-topline .pill{font-size:12px}.office-panel{min-height:320px}.flow-grid{grid-template-columns:1fr}.flow-bottom .btn{font-size:12px}.case-modal{width:calc(100vw - 18px)}.case-modal .modal-inner{padding:18px 13px}.case-heading h2{font-size:25px}.browser-tabs button{font-size:12px;line-height:1.4;padding:11px 7px}.browser-address{font-size:12px;padding:8px}.source-document{padding:18px 15px;min-height:280px}.source-masthead{font-size:16px;display:block}.source-masthead span{display:block;margin-top:5px}.source-document h3{font-size:20px}.source-document p{font-size:14px;line-height:1.7}.case-decision{padding:14px}.case-decision>div{flex-direction:column}.case-decision .btn{padding:12px}.browser-chrome{gap:10px;font-size:12px}.case-modal .intro{font-size:12px}.outcome-effects{flex-direction:column}.tabs{gap:0;justify-content:space-between}.tab{padding:11px 8px;font-size:12px}}
.source-document.official .source-masthead{font:700 14px Arial,sans-serif;background:#173b62;color:#fff;margin:-22px -25px 20px;padding:17px 25px;border:0}.source-document.official .source-masthead span{color:#b4cbe5}.source-document.official h3,.source-document.official p{font-family:Arial,sans-serif}.source-document.official p{font-size:14px;line-height:1.8;border-left:3px solid #c8d7e9;padding-left:14px}.source-document.bureau{background:#f6f8f6}.source-document.bureau .source-masthead{font:700 14px Arial,sans-serif;color:#35664f;border-color:#c8d5cd}.source-document.bureau h3{font:700 17px Arial,sans-serif}.bureau-sheet{border-collapse:collapse;width:100%;font:12px/1.7 Arial,sans-serif;background:white}.bureau-sheet th,.bureau-sheet td{border:1px solid #ccd7ce;padding:8px 10px;text-align:left;vertical-align:top}.bureau-sheet thead th{background:#e3ece5;color:#3d604a;font-size:12px}.bureau-sheet tbody th{background:#eff4f0;color:#789081;width:36px;font:12px monospace}.dossier-sources .source-document.official .source-masthead{margin:0 0 14px;padding:0 0 12px;color:#283c57;background:none;border-bottom:2px solid #e1e8f6}.dossier-sources .source-document.official .source-masthead span{color:#8b96a6}.dossier-sources .source-document.official p{border:0;padding:0;font-size:12px}.dossier-sources .bureau-sheet{font-size:12px}.dossier-sources .source-document.bureau{background:#fff}.dossier-sources .bureau-sheet td{padding:6px 8px}.dossier-sources .bureau-sheet th{padding:6px}.dossier-sources .source-document.bureau h3{font-size:15px}
@media(max-width:540px){.source-document.official .source-masthead{margin:-18px -15px 20px;padding:17px 15px}.bureau-sheet{font-size:12px}}
/* Version 3: independent flows and the unreviewed base. */
.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metrics .metric:first-child,.metrics .metric:nth-child(2){border-color:#b6c8f2;background:#f9fbff}.metrics .metric:nth-child(7){border-color:#eed6ae}.metric-bottom{min-height:16px}.metric-top{min-height:16px}.mandate-strip>.eyebrow{width:100%;margin:0 0 2px}.deadline{min-width:180px;flex-basis:26%;padding:9px 12px}.deadline span,.deadline small{font-size:12px}.mandates-clear{font-size:12px;color:#34715a;background:#e9f5ed;padding:12px 16px;border:1px solid #d0e6d8;border-radius:9px;margin:0 0 17px}.queues-board{margin:18px 0;border:1px solid var(--line);border-radius:14px;padding:20px;background:#fff}.queues-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:18px}.queues-heading h2{font-size:18px;line-height:1.25;letter-spacing:-.4px;margin-top:8px}.queues-heading .eyebrow{font-size:12px;color:var(--muted)}.queue-legend{display:flex;gap:10px;font-size:12px;white-space:nowrap}.queue-legend span{display:flex;align-items:center;gap:5px}.queue-legend i{width:7px;height:7px;display:inline-block;border-radius:2px}.queue-key{background:var(--blue)}.passive-key{background:#dfa353}.queue-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.queue-lane{text-align:left;border:1px solid #dfe6f0;background:#fbfcfe;border-radius:10px;padding:14px;transition:.15s;min-width:0}.queue-lane:hover{border-color:#9db5fb;background:#f4f7ff;transform:translateY(-2px)}.lane-title{display:flex;gap:8px;justify-content:space-between;align-items:start}.lane-title strong{font-size:12px;line-height:1.35}.lane-title>span{font:12px monospace;color:#8291aa;padding-top:2px;white-space:nowrap}.lane-numbers{display:flex;gap:18px;margin:17px 0 12px}.lane-numbers span{font-size:12px;color:#687b98}.lane-numbers b{display:block;font:600 22px monospace;color:var(--blue);margin-bottom:6px;letter-spacing:-.8px}.lane-numbers span:nth-child(2) b{color:#b3782c}.lane-bar{display:flex;width:100%;height:7px;border-radius:5px;background:#eaf0f8;overflow:hidden;margin-bottom:12px}.lane-bar i{background:var(--blue);height:100%;display:block}.lane-bar em{background:#dfa353;height:100%;display:block}.queue-lane>small{display:flex;justify-content:space-between;gap:7px;font-size:12px;line-height:1.5;color:#708097;min-height:24px}.queue-lane>small>span{font-size:14px;color:var(--blue)}.queues-board>p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:16px}.flow-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f2f6ff;padding:12px;border-radius:9px}.flow-counts>span{font-size:12px;color:#6e809c}.flow-counts strong{display:block;font:600 21px monospace;color:var(--blue);margin-bottom:4px}.flow-counts .passive-count strong{color:#ad7428}.flow-detail>.text-link{padding-left:0;margin:-9px 0 12px}.flow-detail .panel-title h2{font-size:25px;line-height:1.2;margin-top:7px}.flow-detail .panel-title .eyebrow{font-size:12px;color:var(--muted)}.flow-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:21px}.flow-detail-summary>div{background:#f1f5fb;border-radius:8px;padding:13px;min-width:0}.flow-detail-summary small{font:12px/1.5 monospace;display:block;color:#7788a0;margin-bottom:9px}.flow-detail-summary strong{font:600 22px monospace;letter-spacing:-.6px}.flow-detail-summary>div:nth-child(2) strong{color:#ab722a}.flow-mode-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:20px 0}.flow-mode-track>div{border-radius:8px;background:#eef2f7;padding:10px 6px;display:flex;align-items:center;gap:7px;color:#8696ac;min-width:0}.flow-mode-track span{display:grid;place-items:center;flex-shrink:0;width:20px;height:20px;background:#dfe5ef;border-radius:50%;font:12px monospace}.flow-mode-track strong{font-size:12px;line-height:1.3}.flow-mode-track .reached{background:#e8f0ff;color:#244fbb}.flow-mode-track .reached span{background:#cedcff;color:var(--blue)}.flow-mode-track .in-progress{box-shadow:inset 0 0 0 1px #91aaf0;background:#edf2fe;color:#4265b2}.flow-start-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.flow-start-options article{padding:20px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;align-items:start}.flow-start-options article:last-child{background:#f5f8ff;border-color:#bdcef9}.flow-start-options h3{font-size:18px;margin:14px 0 10px;letter-spacing:-.3px}.flow-start-options p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:17px}.flow-start-options strong{font-size:20px;color:var(--navy);margin-top:auto}.flow-start-options small{font-size:12px;color:#71819b;line-height:1.6;margin:8px 0 15px}.flow-start-options .btn{font-size:12px;padding:12px}.flow-start-options .pill{font-size:12px}.flow-start-options .tech-note{font-size:12px;margin-top:12px;margin-bottom:0}.no-data-yet{padding:17px 19px;background:#f2f5fa;border:1px dashed #cfd8e6;color:#62728c;font-size:12px;line-height:1.7;border-radius:10px;margin:18px 0}.no-data-yet .icon{width:17px;height:17px;margin-right:7px}.no-data-yet.warning{background:#fff8e9;border-color:#ead5af;color:#8e6832}.flow-upgrade{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:19px;border:1px solid #ccd9f3;background:#f5f8ff;border-radius:12px;margin-bottom:26px}.flow-upgrade .eyebrow{font-size:12px;color:#627cad}.flow-upgrade h3{font-size:18px;letter-spacing:-.4px;margin:8px 0}.flow-upgrade p{font-size:12px;line-height:1.7;color:#647895;margin:7px 0 12px}.flow-upgrade small{display:block;font-size:12px;line-height:1.6;color:#7589aa;margin-top:10px}.flow-upgrade>div:nth-child(2){border-left:1px solid #d6e0f3;padding-left:22px}.flow-upgrade>div>strong{font-size:12px}.source-section-heading h3{font-size:19px;margin:0 0 9px;letter-spacing:-.4px}.source-section-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:17px}.flow-sources{display:grid;grid-template-columns:1fr 1fr;gap:11px}.flow-source{background:#fbfcfe;border:1px solid var(--line);border-radius:10px;padding:16px;display:flex;flex-direction:column}.flow-source h4{font-size:12px;margin:0 0 8px}.flow-source p{font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:13px}.flow-source label{font-size:12px;color:#6f819d;margin-top:auto;display:block;margin-bottom:7px}.flow-source select{font-size:12px}.flow-policy{background:#f3f6fb;border-radius:10px;padding:16px;margin:16px 0}.flow-policy label{font-size:12px;font-weight:650;display:block;margin-bottom:9px}.flow-policy p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:10px}.flow-policy select{max-width:310px}.retro-panel{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;border:1px solid #e5c998;background:#fffbf1;border-radius:12px;padding:20px;margin-top:20px}.retro-panel .eyebrow{font-size:12px;color:#9c702d}.retro-panel h3{font-size:20px;line-height:1.25;margin:10px 0;letter-spacing:-.4px}.retro-panel p{font-size:12px;color:#927b59;line-height:1.7}.retro-panel>div:nth-child(2){align-self:center}.retro-panel>div>strong{display:block;font-size:20px;letter-spacing:-.4px}.retro-panel small{display:block;font-size:12px;line-height:1.6;margin:8px 0 12px;color:#927b59}.retro-progress{height:7px;background:#efdfc4;border-radius:5px;overflow:hidden;margin-top:14px}.retro-progress span{height:100%;background:#d39a42;display:block}.report-flow-list{border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:20px 0}.report-flow-list>div{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--line);font-size:12px}.report-flow-list>div:last-child{border-bottom:0}.report-flow-list strong{font-size:12px;min-width:50px}.report-flow-list span{color:var(--muted);font-size:12px;line-height:1.5}.incident-callout{background:#fff1ed;border:1px solid #edc6bb;border-radius:11px;padding:17px;margin:15px 0;color:#8f4237}.incident-callout strong{font-size:15px;display:block;margin-bottom:9px}.incident-callout p{font-size:12px;line-height:1.7}.incident-callout small{display:block;font-size:12px;margin-top:12px;font-weight:700}
@media(max-width:1100px){.queue-lanes{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-detail-summary{grid-template-columns:repeat(2,1fr)}.flow-mode-track>div{flex-direction:column;text-align:center}.flow-mode-track strong{font-size:12px}.flow-start-options{grid-template-columns:1fr}.flow-start-options article{padding:18px}.flow-sources{grid-template-columns:1fr}.flow-upgrade{grid-template-columns:1fr;gap:15px}.flow-upgrade>div:nth-child(2){border-left:0;border-top:1px solid #d6e0f3;padding:15px 0 0}.retro-panel{grid-template-columns:1fr}.queues-heading{align-items:start;flex-direction:column;gap:12px}}
@media(max-width:820px){.flow-start-options,.flow-sources{grid-template-columns:1fr 1fr}.flow-detail-summary{grid-template-columns:repeat(4,1fr)}.flow-mode-track>div{flex-direction:row;text-align:left}.flow-mode-track strong{font-size:12px}.queue-lanes{grid-template-columns:repeat(3,minmax(0,1fr))}.deadline{flex-basis:28%;min-width:160px}}
@media(max-width:540px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics .metric:first-child{grid-column:auto;display:block}.metric:first-child .metric-top{grid-column:auto;min-height:13px}.metric:first-child .metric-value{font-size:23px}.metric:first-child .metric-bottom{text-align:left}.metric-bottom{min-height:25px}.metric-top{min-height:25px;line-height:1.4}.metric-top .icon{display:none}.flow-detail .panel-title{flex-direction:column;gap:12px}.flow-detail .panel-title h2{font-size:23px}.flow-detail-summary{grid-template-columns:repeat(2,1fr)}.flow-start-options,.flow-sources{grid-template-columns:1fr}.flow-mode-track>div{flex-direction:column;text-align:center;padding:10px 4px}.flow-mode-track strong{font-size:12px}.queues-board{padding:16px}.queue-lanes{grid-template-columns:1fr 1fr;gap:8px}.queue-lane{padding:12px 10px}.lane-title{flex-direction:column;gap:5px;min-height:43px}.lane-title strong{font-size:12px}.lane-title>span{font-size:12px}.lane-numbers{gap:12px;margin-top:10px}.lane-numbers b{font-size:20px}.lane-numbers span{font-size:12px}.queue-lane>small{font-size:12px}.queues-heading h2{font-size:18px}.deadline{flex-basis:42%;min-width:135px;grid-template-columns:1fr;gap:4px;padding:10px}.deadline strong{grid-row:auto}.deadline span,.deadline small{font-size:12px}.mandate-strip>.eyebrow{font-size:12px;line-height:1.6}.report-flow-list>div{gap:8px}.report-flow-list span{font-size:12px}.retro-panel{padding:17px}.flow-detail-summary strong{font-size:21px}.flow-policy select{max-width:none}}
/* Game command deck: the office stays on the playfield, controls stay in reach. */
html{scroll-padding-bottom:190px}.playfield{padding-bottom:190px}.playfield .work-area{grid-template-columns:minmax(0,1fr)}.playfield .office-panel{min-height:370px}.playfield .office-panel .office-svg{max-height:510px}.playfield .flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.playfield .roster{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.playfield .panel-box{min-height:350px}.playfield .mission-panel{margin-bottom:12px}.playfield .mission-body h2{font-size:27px}.playfield .mission-body p{max-width:620px}.playfield .page-heading{margin-bottom:15px}.playfield .timeline{margin-bottom:17px}.playfield .queue-lanes{grid-template-columns:repeat(3,minmax(0,1fr))}.playfield .game-footer{padding-bottom:15px}
.deadlines-drawer,.planning-forecast{border:1px solid #dce3ed;background:#fff;border-radius:10px;margin:10px 0;color:#63738b}.deadlines-drawer summary,.planning-forecast summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:650;padding:13px 16px}.deadlines-drawer summary::-webkit-details-marker,.planning-forecast summary::-webkit-details-marker{display:none}.deadlines-drawer summary>.icon,.planning-forecast summary>.icon{width:16px;height:16px;color:var(--blue)}.deadlines-drawer summary>span,.planning-forecast summary>span{margin-left:auto;font-size:12px;font-weight:400;color:#8492a6}.deadlines-drawer summary::after,.planning-forecast summary::after{content:'+';font-size:16px;color:#8c9bb1;margin-left:8px}.deadlines-drawer[open] summary::after,.planning-forecast[open] summary::after{content:'−'}.planning-forecast summary>span>.icon{display:none}.deadlines-drawer.urgent{border-color:#e7b7a4;background:#fff8f3}.deadlines-drawer.urgent summary>span{color:#a6573e}.deadlines-drawer .mandate-strip{border-top:1px solid #e9edf4;padding:14px;margin:0}.deadlines-drawer .deadline{flex-basis:26%}.forecast-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:18px 16px;border-top:1px solid #e9edf4}.forecast-grid small{display:block;font-size:12px;color:#7a8ba3;margin-bottom:8px}.forecast-grid strong{font-size:13px;color:#233c63}.planning-forecast>p{font-size:12px;line-height:1.5;padding:0 16px 15px;color:#8592a6}.office-growth{display:flex;align-items:center;gap:18px;background:#e7ecf3;border:1px solid #dce4ee;border-radius:0 0 12px 12px;margin:-4px 10px 0;padding:11px 14px}.office-growth>span{display:flex;gap:7px;align-items:center;white-space:nowrap;color:#647895;font-size:12px}.office-growth .icon{width:14px;height:14px}.office-growth .office-levels{display:flex;gap:5px;flex:1;margin:0;max-width:220px}.office-growth .office-levels span{padding:5px 8px;flex:1;font-size:12px;min-width:0;border-radius:5px;background:#dce4ef;color:#9cabc0;text-align:center}.office-growth .office-levels .reached{background:#d1ddf6;color:var(--blue)}.office-growth>small{margin-left:auto;font-size:12px;color:#7f90a9}.game-hud{position:fixed;z-index:20;left:12px;right:12px;bottom:0;max-width:1500px;margin:auto;border:1px solid #607ed0;border-bottom:0;border-radius:22px 22px 0 0;background:linear-gradient(115deg,#142b80 0%,#071453 60%,#172b77 100%);color:#fff;box-shadow:0 -8px 38px #07134435,inset 0 1px #d0deff66;padding:12px 17px 9px;isolation:isolate}.game-hud::before{content:'';position:absolute;left:25px;right:25px;top:0;height:2px;background:linear-gradient(90deg,transparent,#92b2ff99,transparent);pointer-events:none}.hud-body{display:grid;grid-template-columns:220px minmax(0,1fr) 320px;align-items:center;gap:16px}.hud-command{border-right:1px solid #6d8aca55;padding-right:15px}.chief-badge{display:flex;align-items:center;gap:10px;margin-bottom:9px}.chief-avatar{background:linear-gradient(160deg,#447bce,#162f83);border:2px solid #a9caff;border-radius:50%;width:43px;height:43px;box-shadow:0 0 0 3px #182966,inset 0 2px 10px #a6ceff66;display:grid;place-items:center;color:#d4ff65}.chief-avatar .icon{width:23px;height:23px}.chief-badge>div:last-child{min-width:0}.chief-badge span{font:12px monospace;color:#a3b9e9;letter-spacing:1px;white-space:nowrap}.chief-badge strong{font-size:12px;display:block;margin-top:5px;font-weight:650}.hud-nav{display:flex;gap:7px;justify-content:space-between}.hud-nav>button{position:relative;background:transparent;color:#b0c2ec;display:flex;flex-direction:column;align-items:center;gap:5px;padding:0;min-width:38px;transition:.15s}.hud-nav>button>.icon{border:1px solid #7c9eea88;border-radius:50%;width:32px;height:32px;padding:7px;background:linear-gradient(#254d9e,#172b70);box-shadow:0 2px 5px #0003}.hud-nav>button>span{font-size:12px}.hud-nav>button.active{color:#dbff83}.hud-nav>button.active>.icon{border-color:#d6ff76;background:linear-gradient(#52789b,#1e4777);box-shadow:0 0 9px #d1ff4233}.hud-nav>button:hover>.icon{border-color:#fff;background:#365ba3}.hud-nav>button:focus-visible{outline-offset:3px}.hud-resources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.hud-stat{min-width:0;text-align:left;background:#06134277;border:1px solid #839fdf33;border-radius:10px;padding:12px 10px;color:#edf5ff;transition:.15s}.hud-stat:hover{background:#213e85;border-color:#9dbbf5}.hud-stat>span{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;color:#a9bde9}.hud-stat .icon{width:14px;height:14px;color:#8aaeff}.hud-stat>strong{display:block;font-size:22px;font-weight:750;letter-spacing:-.8px;margin:10px 0 7px;white-space:nowrap}.hud-stat>small{display:block;font-size:12px;color:#839fcf;white-space:nowrap}.hud-stat.danger>strong{color:#ffa18f}.hud-stat.amber>strong{color:#f4c582}.hud-trusts{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;border-left:1px solid #6d8aca55;padding-left:16px}.hud-gauge{background:transparent;min-width:0;padding:0;color:#ccddff;text-align:left}.hud-gauge>span{display:flex;align-items:center;gap:5px;font-size:12px}.hud-gauge>span>.icon{width:13px;height:13px;color:#8faee9}.hud-gauge strong{margin-left:auto;color:#e8ffbc;font:600 13px monospace}.hud-meter{position:relative;height:8px;margin-top:8px;display:block;background:#040d33;box-shadow:0 1px 0 #6e8bc266,inset 0 1px 3px #000a;border-radius:4px;overflow:hidden}.hud-meter::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#06174688 calc(10% - 1px),#06174688 10%)}.hud-meter b{display:block;height:100%;border-radius:3px;background:linear-gradient(#ddfb9d,#8bc959);box-shadow:0 0 7px #a2df55aa;transition:width .25s}.hud-gauge.caution .hud-meter b{background:linear-gradient(#ffe3a1,#d59d43)}.hud-gauge.danger .hud-meter b{background:linear-gradient(#ffb39b,#e56556)}.hud-gauge.danger strong{color:#ffac99}.hud-gauge:hover>span{color:#fff}.hud-footer{display:flex;align-items:center;gap:20px;margin-top:10px;padding-top:9px;border-top:1px solid #7894d238;min-height:39px}.hud-week{display:flex;align-items:center;gap:8px;white-space:nowrap}.hud-play-dot{height:7px;width:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 8px #cdff2966}.hud-week>strong{font:600 12px monospace;letter-spacing:.6px}.hud-week small{font-size:12px;color:#93abd7}.hud-phase{font-size:12px;color:#90a9d7;border-left:1px solid #466098;padding-left:12px;margin-left:4px}.hud-team{display:flex;align-items:center;background:transparent;padding:0 7px;color:#a9bee8}.hud-team>span{margin-left:-5px;display:grid;place-items:center;width:24px;height:27px;font-size:12px;font-weight:700;border:1px solid #9bb6ed;border-radius:5px;background:linear-gradient(var(--person-color),#385988);color:#122651;box-shadow:0 1px 4px #0003}.hud-team>small{font-size:12px;margin-left:9px;white-space:nowrap}.hud-actions{display:flex;gap:4px;align-items:center;margin-left:auto;white-space:nowrap}.hud-actions>i{width:6px;height:9px;transform:skewX(-15deg);border:1px solid #91a9d455;background:#112758}.hud-actions>i.available{background:#cdff29;border-color:#e3ff8c;box-shadow:0 0 4px #cdff2922}.hud-actions>span{font-size:12px;color:#a0b6de;margin-left:5px}.hud-turn{display:flex;align-items:center;gap:8px}.hud-turn>.btn{font-size:12px;padding:9px 14px;border-radius:7px;min-width:170px}.hud-turn>.btn:disabled{opacity:1;background:#304675;color:#869bc5;border:1px solid #5470a0;cursor:not-allowed}.hud-turn>.btn .icon{width:15px;height:15px}.hud-case{background:#eec983;color:#5f411a;display:flex;align-items:center;gap:5px;padding:9px;border-radius:6px;font-size:12px}.hud-case .icon{height:13px;width:13px}body:has(.game-hud) #toast{bottom:190px}.queues-board{scroll-margin-top:18px}.game-hud button:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
@media(min-width:1101px){.playfield .flow-start-options,.playfield .flow-sources{grid-template-columns:1fr 1fr}.playfield .flow-upgrade{grid-template-columns:1fr 1fr}.playfield .flow-detail-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.hud-body{grid-template-columns:180px minmax(0,1fr) 240px;gap:12px}.hud-command{padding-right:10px}.chief-badge>div:last-child>span{font-size:12px;letter-spacing:.3px}.chief-badge strong{font-size:12px}.chief-avatar{width:36px;height:36px;flex-shrink:0}.hud-nav{gap:3px}.hud-stat{padding:12px 8px}.hud-stat>span{font-size:12px;gap:4px}.hud-stat>span .icon{display:none}.hud-stat>strong{font-size:19px}.hud-stat>small{font-size:12px}.hud-trusts{gap:15px 12px;padding-left:12px}.hud-gauge>span{font-size:12px}.hud-gauge>span>.icon{display:none}.hud-footer{gap:12px}.hud-phase{display:none}.hud-team>span:nth-child(n+4){display:none}.playfield .flow-grid{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.game-hud{left:7px;right:7px;padding:10px 12px 8px;border-radius:17px 17px 0 0}.hud-body{grid-template-columns:145px minmax(0,1fr);gap:9px 12px}.hud-command{grid-row:1/3;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.chief-badge{justify-content:center}.chief-badge>div:last-child{display:none}.chief-avatar{width:39px;height:39px}.hud-nav{flex-wrap:wrap;gap:8px}.hud-nav>button{width:44%;gap:3px}.hud-nav>button>.icon{height:29px;width:29px;padding:6px}.hud-resources{grid-column:2;grid-row:1}.hud-stat{padding:8px}.hud-stat>strong{font-size:18px;margin:7px 0 4px}.hud-trusts{grid-column:2;grid-row:2;border:0;padding:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hud-gauge>span{font-size:12px;gap:2px}.hud-gauge strong{font-size:12px}.hud-meter{height:6px;margin-top:5px}.hud-team{display:none}.hud-footer{margin-top:9px}.hud-turn>.btn{min-width:155px}.playfield{padding-bottom:210px}html{scroll-padding-bottom:210px}body:has(.game-hud) #toast{bottom:210px}.forecast-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.game-hud{left:0;right:0;padding:7px 10px calc(7px + env(safe-area-inset-bottom));border-radius:17px 17px 0 0}.hud-body{display:flex;flex-wrap:wrap;gap:8px}.hud-command{width:100%;padding:0;border:0;display:block}.chief-badge{display:none}.hud-nav{flex-wrap:nowrap;gap:3px;justify-content:space-around}.hud-nav>button{width:auto;min-height:29px;flex:1;flex-direction:row;justify-content:center;gap:6px}.hud-nav>button>.icon{height:26px;width:26px;padding:5px}.hud-nav>button>span{font-size:12px}.hud-resources{width:100%;gap:5px}.hud-stat{padding:6px 8px;border-radius:7px}.hud-stat>span{font-size:12px}.hud-stat>strong{font-size:17px;margin:5px 0 0;letter-spacing:-.6px}.hud-stat>small{display:none}.hud-trusts{width:100%;gap:12px;padding:0 2px}.hud-gauge>span{font-size:12px;gap:3px}.hud-gauge strong{font-size:12px}.hud-meter{height:5px;margin-top:4px}.hud-footer{padding-top:7px;margin-top:8px;gap:8px;flex-wrap:nowrap;min-height:35px}.hud-week{gap:5px}.hud-play-dot{width:5px;height:5px}.hud-week>strong{font-size:12px;letter-spacing:0}.hud-week small{font-size:12px}.hud-actions{gap:3px}.hud-actions>i{width:4px;height:7px}.hud-actions>span{font-size:12px;margin-left:2px}.hud-turn{gap:5px}.hud-turn>.btn{font-size:12px;padding:8px 9px;min-width:0;white-space:nowrap;gap:5px}.hud-turn>.btn>.icon{width:12px;height:12px}.hud-case{padding:8px 6px}.hud-case>span{display:none}.playfield{padding-bottom:225px}html{scroll-padding-bottom:225px}body:has(.game-hud) #toast{bottom:220px}.playfield .flow-grid{grid-template-columns:1fr}.playfield .queue-lanes{grid-template-columns:1fr 1fr}.playfield .office-panel{min-height:300px}.playfield .office-panel .office-svg{min-height:240px;margin-top:25px}.playfield .mission-body h2{font-size:23px}.playfield .page-heading h1{font-size:24px}.deadlines-drawer summary,.planning-forecast summary{padding:12px;font-size:12px;flex-wrap:wrap;gap:7px}.deadlines-drawer summary>span,.planning-forecast summary>span{font-size:12px;margin-left:auto}.deadlines-drawer summary::after,.planning-forecast summary::after{margin-left:0;font-size:12px}.deadlines-drawer .mandate-strip{padding:9px}.deadlines-drawer .deadline{flex-basis:45%;min-width:125px}.forecast-grid{grid-template-columns:1fr 1fr;padding:14px 12px}.forecast-grid strong{font-size:12px}.office-growth{padding:9px;gap:8px;flex-wrap:wrap}.office-growth>span{font-size:12px}.office-growth .office-levels{max-width:none}.office-growth .office-levels span{font-size:12px;padding:4px}.office-growth>small{width:100%;margin:0;font-size:12px}.playfield .quick-actions{grid-template-columns:1fr}.playfield .quick-card{display:flex;align-items:center;gap:10px;padding:12px}.playfield .quick-card>.icon{margin:0;width:18px}.playfield .quick-card>strong{margin:0;font-size:12px}.playfield .quick-card>small{display:none}.playfield .quick-card>.arrow{top:12px}}
@media(prefers-reduced-motion:reduce){.hud-meter b{transition:none}.hud-nav>button,.hud-stat{transition:none}}
/* Version 4: one fixed office, management in accessible dialogs. */
:root{--hud-height:175px}body.is-playing{height:100dvh;overflow:hidden}body.is-playing #app{height:100dvh;overflow:hidden}body.is-playing .topbar{height:60px;padding:0 22px}body.is-playing .fixed-playfield{height:calc(100dvh - 60px - var(--hud-height));max-width:1600px;padding:13px 20px 12px;display:flex;flex-direction:column;gap:12px;overflow:hidden}html:has(body.is-playing){scroll-padding:0;overflow:hidden}.fixed-playfield .scene-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;min-height:39px}.scene-header .eyebrow{font-size:12px;color:#8292a8;letter-spacing:1.4px}.scene-header h1{font-size:23px;letter-spacing:-.7px;margin-top:4px}.fixed-playfield .timeline{margin:0;gap:5px;max-width:620px;flex:1}.fixed-playfield .phase-step{padding:8px;font-size:12px;gap:6px}.fixed-playfield .phase-step .step-number{width:18px;height:18px;flex-shrink:0;font-size:12px}.command-scene{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:14px;flex:1;min-height:0}.fixed-playfield .scene-office{min-height:0;height:100%;display:flex;align-items:center;justify-content:center;background-color:#e8eef4}.fixed-playfield .scene-office .office-svg{height:100%;width:100%;max-height:none;min-height:0;margin:0;padding:8px 0}.scene-office .office-topline{top:16px;left:18px;right:18px}.scene-office .office-topline .pill{cursor:pointer;font-size:12px}.scene-office .office-topline .pill .icon{height:12px;width:12px}.scene-office .office-status{font-size:12px;bottom:17px;left:18px}.scene-office .office-capacity{text-align:left;cursor:pointer;color:var(--ink);font-size:12px;right:16px;bottom:13px}.scene-office .office-capacity>.icon{width:11px;height:11px;margin-left:6px}.scene-sidebar{display:flex;flex-direction:column;gap:10px;min-height:0}.scene-sidebar>button{text-align:left;border-radius:13px;border:1px solid #d9e2ef;padding:18px;min-height:0}.scene-sidebar>button>.eyebrow{font-size:12px;letter-spacing:1.1px;display:flex;gap:6px;align-items:center}.scene-sidebar .eyebrow .icon{height:15px;width:15px;flex-shrink:0}.scene-sidebar>button>strong{display:block;line-height:1.2;margin:14px 0 10px}.scene-sidebar>button>small{display:block;font-size:12px;line-height:1.55}.scene-sidebar .scene-mission{background:linear-gradient(145deg,#001051,#10258d);color:#fff;border-color:#1e399b;flex:1;display:flex;flex-direction:column;justify-content:center;box-shadow:0 6px 20px #00135215}.scene-mission>.eyebrow{color:var(--lime)}.scene-mission>strong{font-size:25px;letter-spacing:-.7px}.scene-mission>small{color:#a6b7df}.scene-card-action{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;border-top:1px solid #879dd94d;margin-top:22px;padding-top:14px;color:#d8ff6d}.scene-card-action .icon{height:16px;width:16px}.scene-mission:hover{filter:brightness(1.08)}.scene-mission.resolved>.eyebrow{color:#b7d4ff}.scene-sidebar .scene-obligation{background:#fff9e9;border-color:#e8d9b6;color:#8c6b2e;flex-shrink:0}.scene-obligation>strong{font-size:17px;margin:9px 0!important;letter-spacing:-.2px}.scene-obligation>small{font-size:12px!important;color:#9a855e}.scene-obligation.urgent{background:#fff0e9;border-color:#e7bcaa;color:#a34d36}.scene-sidebar .scene-forecast{background:#fff;color:#536a8d;flex-shrink:0;padding:15px 18px}.scene-forecast>div{display:flex;gap:25px;margin:14px 0}.scene-forecast>div>span>strong{display:block;font:600 24px monospace;color:#264baf;letter-spacing:-1px}.scene-forecast>div>span>small{font-size:12px;color:#8190a6;display:block;margin-top:5px}.scene-forecast>small{font-size:12px!important;display:flex!important;align-items:center;justify-content:space-between}.scene-forecast>small .icon{height:12px;width:12px}.game-hud{max-width:none}.game-hud button[aria-current=page]{cursor:pointer}
.management-modal{width:min(1100px,calc(100vw - 36px));height:auto;max-height:calc(100dvh - 36px);overflow:hidden;border-radius:18px;padding:0;background:#f5f7fb}.management-modal>.modal-inner{padding:0;display:flex;flex-direction:column;max-height:calc(100dvh - 38px);min-height:0}.panel-modal-header{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dce4f0;background:#fff;flex-shrink:0}.panel-modal-header .eyebrow{font-size:12px;color:#7a8ea9;letter-spacing:1.4px}.panel-modal-header h2{font-size:24px;letter-spacing:-.7px;margin-top:7px}.panel-close{background:#edf2fa;width:34px;height:34px;flex-shrink:0;border-radius:50%;font-size:25px;color:#657e9d;display:grid;place-items:center;line-height:1}.panel-close:hover{background:#dae5f7;color:#1d4188}.panel-scroll{padding:22px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable;scroll-padding-block:15px}.management-modal .panel-box{min-height:0;background:transparent;border:0;padding:0}.management-modal .panel-title{margin-bottom:18px}.management-modal .panel-title h2{font-size:23px;letter-spacing:-.5px}.management-modal .panel-title p{max-width:780px}.management-modal .btn{margin-top:0}.management-modal .mission-panel{margin:0 0 16px}.management-modal .mission-body{grid-template-columns:1fr 1fr}.management-modal .mission-body h2{font-size:25px}.management-modal .mission-body p{font-size:12px}.management-modal .flow-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.management-modal .flow-card{padding:15px;gap:12px;background:#fff;border-color:#dbe4ef}.management-modal .flow-card h3{margin:9px 0 5px;font-size:23px}.management-modal .flow-card .pill{font-size:12px;line-height:1.4}.management-modal .flow-counts{padding:10px;gap:10px}.management-modal .flow-counts strong{font-size:20px}.management-modal .flow-deadline{font-size:12px;min-height:33px;line-height:1.5}.management-modal .flow-bottom{padding-top:11px}.management-modal .flow-bottom .btn{padding:9px;font-size:12px}.management-modal .flow-mode-track{grid-template-columns:repeat(3,minmax(0,1fr))}.management-modal .flow-mode-track>div{flex-direction:row;justify-content:center;padding:11px}.management-modal .flow-mode-track strong{font-size:12px}.management-modal .flow-detail-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.management-modal .flow-start-options,.management-modal .flow-sources{grid-template-columns:1fr 1fr}.management-modal .flow-upgrade{grid-template-columns:1fr 1fr;gap:20px;background:#eaf0fc;margin-bottom:20px}.management-modal .flow-upgrade>div:nth-child(2){border:0;border-left:1px solid #cedbf2;padding:0 0 0 20px}.management-modal .retro-panel{grid-template-columns:1.3fr 1fr;margin-top:18px;background:#fffbef}.management-modal .roster{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.management-modal .employee{background:#fff;padding:14px}.management-modal .action-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.management-modal .action-row{background:#fff;padding:14px;gap:12px}.management-modal .action-row .btn{min-width:92px}.management-modal .action-row p{font-size:12px}.management-modal .hiring-controls{background:#eaf0fa;border-radius:10px;padding:13px;margin-bottom:13px}.operations-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}.operations-shortcuts .btn{font-size:12px;padding:10px 12px}.operations-shortcuts .icon{height:15px;width:15px}.management-modal .planning-forecast{background:#fff}.management-modal .planning-forecast summary{font-size:12px}.operation-deadlines{margin:18px 0;background:#fff;border:1px solid #dde4ef;border-radius:12px;padding:17px}.operation-deadlines h3{font-size:16px;margin-bottom:7px}.operation-deadlines>p{font-size:12px;color:#7385a0}.operation-deadlines .mandate-strip{margin:14px 0 0;padding:0;gap:8px}.operation-deadlines .deadline{flex-basis:28%;min-width:0;padding:11px}.operation-end{margin-top:15px!important}.internet-explainer{display:flex;align-items:start;gap:14px;background:#fff7e4;border:1px solid #e7d4a6;border-radius:12px;padding:20px;margin:16px 0}.internet-explainer>.icon{color:#b28b3e;flex-shrink:0;margin-top:2px}.internet-explainer h3{font-size:16px;color:#85672e;margin-bottom:8px}.internet-explainer p{font-size:12px;line-height:1.7;color:#96805b}.management-modal .queues-board{margin:0;border:0;background:transparent;padding:0}.management-modal .queues-heading{flex-direction:row;align-items:center}.management-modal .queue-lanes{grid-template-columns:repeat(3,minmax(0,1fr))}.management-modal .queue-lane{background:#fff;padding:18px}.management-modal .lane-title{flex-direction:row;min-height:0}.management-modal .lane-title strong{font-size:13px}.management-modal .lane-numbers{margin-top:20px;gap:25px}.management-modal .lane-numbers b{font-size:27px}.management-modal .lane-numbers span{font-size:12px}.management-modal .queue-lane>small{font-size:12px}.management-modal .log-item{background:#fff;border:1px solid #e1e7ef;border-radius:9px;padding:13px;margin-bottom:7px}.budget-summary{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}.budget-summary>div{border:1px solid #dce4ef;background:#fff;border-radius:12px;padding:18px}.budget-summary small{font-size:12px;letter-spacing:.8px;color:#7e8da4;display:block;margin-bottom:10px}.budget-summary strong{font-size:25px;letter-spacing:-.7px;color:#263c68}.negative{color:#b25043!important}.positive{color:#2d8464!important}.budget-request{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#eaf0fc;border-radius:10px;padding:16px 18px;margin:14px 0 22px}.budget-request p{font-size:12px;line-height:1.7;color:#62779b;max-width:520px}.budget-request .btn{white-space:nowrap;font-size:12px}.finance-tabs{display:flex;gap:10px;border-bottom:1px solid #cdd8e9;margin:20px 0 17px}.finance-tabs>button{background:transparent;font-size:12px;color:#7c8ba4;padding:12px 5px;border-bottom:2px solid transparent}.finance-tabs>button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue);font-weight:700}.forecast-assumptions strong{font-size:14px;color:#3c5277}.forecast-assumptions p{font-size:12px;line-height:1.7;color:#7d8da7;margin:9px 0 18px;max-width:810px}.finance-table-wrap{overflow-x:auto;border:1px solid #dce4f0;border-radius:10px;background:#fff}.finance-table{width:100%;border-collapse:collapse;font-size:12px}.finance-table th,.finance-table td{text-align:left;padding:13px 12px;border-bottom:1px solid #e6ebf3;line-height:1.5;white-space:nowrap}.finance-table thead th{background:#edf2fa;color:#657e9f;font-size:12px;font-weight:600}.finance-table tbody th{color:#637797;font-size:12px}.finance-table tbody tr:last-child>*{border-bottom:0}.ledger-table td:nth-child(3){white-space:normal;min-width:190px}.panel-budget .tech-note{margin-top:16px}.panel-flows .flow-detail>.text-link{margin:0 0 13px}.panel-flow .panel-close{position:sticky}.management-modal .forecast-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1101px){.management-modal .flow-detail-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.command-scene{grid-template-columns:minmax(0,1fr) 245px;gap:12px}.scene-sidebar>button{padding:15px}.scene-mission>strong{font-size:23px}.scene-header h1{font-size:21px}.fixed-playfield .timeline{max-width:450px}.fixed-playfield .phase-step>span:last-child{display:none}.fixed-playfield .phase-step{justify-content:center}.management-modal .flow-detail-summary strong{font-size:20px}.management-modal .budget-summary strong{font-size:21px}.management-modal .roster{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:760px) and (min-width:701px){body.is-playing .topbar{height:54px}body.is-playing .fixed-playfield{height:calc(100dvh - 54px - var(--hud-height));padding-block:9px;gap:9px}.scene-header h1{font-size:20px;margin-top:3px}.scene-header .eyebrow{font-size:12px}.fixed-playfield .scene-header{min-height:34px}.scene-sidebar{gap:8px}.scene-sidebar>button{padding:13px 16px}.scene-mission>strong{font-size:21px;margin:10px 0!important}.scene-mission>small{font-size:12px!important}.scene-card-action{margin-top:12px;padding-top:10px}.scene-obligation>strong{font-size:15px;margin:8px 0!important}.scene-obligation>small{font-size:12px!important}.scene-forecast>div{margin:9px 0}.scene-forecast>div>span>strong{font-size:20px}.scene-forecast>small{display:none!important}.scene-office .office-topline{top:11px}.scene-office .office-topline .eyebrow{font-size:12px}.scene-office .office-status{bottom:12px;font-size:12px}.scene-office .office-capacity{font-size:12px;padding:7px}}
@media(max-width:700px){body.is-playing .topbar{height:54px;padding-inline:13px}body.is-playing .fixed-playfield{height:calc(100dvh - 54px - var(--hud-height));padding:10px 12px;gap:10px}.scene-header h1{font-size:20px}.scene-header .eyebrow{font-size:12px}.fixed-playfield .timeline{flex:0;gap:3px}.fixed-playfield .phase-step{padding:5px;background:transparent}.fixed-playfield .phase-step .step-number{width:16px;height:16px;font-size:12px}.fixed-playfield .phase-step.current{background:#e3eaff}.command-scene{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:8px}.scene-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 135px;gap:8px}.scene-sidebar .scene-forecast{display:none}.scene-sidebar>button{padding:11px 13px;border-radius:11px}.scene-sidebar .scene-mission{min-height:116px;display:block}.scene-mission>strong{font-size:18px;line-height:1.15;margin:9px 0 7px!important;letter-spacing:-.4px}.scene-mission>small{display:none!important}.scene-sidebar>button>.eyebrow{font-size:12px;letter-spacing:.5px}.scene-sidebar .eyebrow .icon{width:12px;height:12px}.scene-card-action{margin-top:9px;padding-top:0;border:0;font-size:12px}.scene-card-action>.icon{width:12px;height:12px}.scene-obligation>strong{font-size:14px;line-height:1.3;margin:9px 0 7px!important}.scene-obligation>small{font-size:12px!important;line-height:1.5!important}.fixed-playfield .scene-office{min-height:0}.fixed-playfield .scene-office .office-svg{margin:0;padding:0;min-height:0;height:100%}.scene-office .office-topline{top:10px;left:12px;right:12px;flex-wrap:nowrap}.scene-office .office-topline .eyebrow{font-size:12px}.scene-office .office-topline .pill{font-size:12px;padding:5px}.scene-office .office-status{font-size:12px;left:12px;bottom:12px;max-width:47%}.scene-office .office-capacity{font-size:12px;right:10px;bottom:9px;padding:6px 8px}.scene-office .office-capacity strong{font-size:12px}.management-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:14px}.management-modal>.modal-inner{max-height:calc(100dvh - 22px)}.panel-modal-header{padding:15px;gap:12px}.panel-modal-header .eyebrow{font-size:12px;letter-spacing:.7px;line-height:1.5}.panel-modal-header h2{font-size:21px;margin-top:6px}.panel-scroll{padding:14px;scrollbar-gutter:auto}.panel-close{width:30px;height:30px;font-size:23px}.management-modal .mission-body{grid-template-columns:1fr}.management-modal .mission-body h2{font-size:23px}.management-modal .flow-grid{grid-template-columns:1fr 1fr;gap:9px}.management-modal .flow-card{padding:12px;gap:10px}.management-modal .flow-card h3{font-size:22px}.management-modal .flow-card .pill{font-size:12px}.management-modal .flow-bottom{flex-direction:column;align-items:stretch;gap:9px}.management-modal .flow-bottom .btn{font-size:12px;white-space:nowrap}.management-modal .flow-counts{gap:6px;padding:8px}.management-modal .flow-counts strong{font-size:18px}.management-modal .flow-counts>span{font-size:12px}.management-modal .flow-deadline{font-size:12px;min-height:40px}.management-modal .flow-detail-summary{grid-template-columns:1fr 1fr}.management-modal .flow-sources{grid-template-columns:1fr}.management-modal .flow-upgrade{grid-template-columns:1fr}.management-modal .flow-upgrade>div:nth-child(2){border-left:0;border-top:1px solid #cedbf2;padding:15px 0 0}.management-modal .retro-panel{grid-template-columns:1fr}.management-modal .flow-mode-track>div{padding:9px 4px;gap:5px}.management-modal .flow-mode-track strong{font-size:12px}.management-modal .flow-mode-track span{width:18px;height:18px}.management-modal .action-list{grid-template-columns:1fr}.management-modal .roster{grid-template-columns:1fr 1fr;gap:8px}.management-modal .employee{padding:12px 8px}.management-modal .employee small{font-size:12px}.management-modal .queue-lanes{grid-template-columns:1fr 1fr;gap:8px}.management-modal .queue-lane{padding:13px}.management-modal .lane-title{flex-direction:column;gap:4px;min-height:40px}.management-modal .lane-title strong{font-size:12px}.management-modal .lane-numbers{gap:12px;margin-top:13px}.management-modal .lane-numbers b{font-size:22px}.management-modal .lane-numbers span{font-size:12px}.management-modal .queue-lane>small{font-size:12px}.management-modal .queues-heading{flex-direction:column;align-items:start;gap:10px}.budget-summary{grid-template-columns:1fr 1fr;gap:8px}.budget-summary>div:first-child{grid-column:1/-1}.budget-summary>div{padding:13px}.budget-summary strong{font-size:20px}.budget-summary small{font-size:12px}.budget-request{flex-direction:column;gap:12px;align-items:stretch;padding:13px}.budget-request p{font-size:12px}.finance-tabs{gap:15px}.finance-tabs>button{font-size:12px;padding:10px 0;text-align:left}.finance-table th,.finance-table td{padding:11px 9px;font-size:12px}.forecast-assumptions p{font-size:12px}.operations-shortcuts{gap:7px}.operations-shortcuts>.btn{font-size:12px;padding:9px}.operation-deadlines .deadline{flex-basis:45%;min-width:0}.management-modal .forecast-grid{grid-template-columns:1fr 1fr}.internet-explainer{padding:15px}.internet-explainer p{font-size:12px}}
@media(max-height:670px) and (max-width:700px){.scene-header h1{font-size:17px}.scene-header .eyebrow{display:none}.fixed-playfield .scene-header{min-height:27px}.scene-sidebar .scene-mission{min-height:83px}.scene-mission>strong{font-size:15px;margin-block:6px!important}.scene-card-action{margin-top:5px;font-size:12px}.scene-obligation>strong{font-size:12px}.scene-obligation>small{display:none!important}.scene-sidebar>button{padding:9px}.scene-office .office-status{display:none}}
/* v5: separate automated decisions, human review and cost cadence. */
.workflow-policies{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0 14px}.policy-control{padding:20px;border:1px solid #d5def3;border-radius:12px;background:#f5f7fd;min-width:0}.policy-control>.eyebrow{color:#4e629a;font-size:12px}.policy-control label{display:block;font-size:14px;font-weight:750;margin:12px 0 9px}.policy-control select{width:100%;background:white;border:1px solid #cbd5e7;padding:11px;border-radius:8px;font-size:12px;color:var(--navy)}.policy-control p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:11px;min-height:35px}.policy-result{display:flex;gap:14px;align-items:center;border-top:1px solid #dce3f1;margin-top:16px;padding-top:13px}.policy-result strong{color:var(--blue);font-size:27px;white-space:nowrap}.policy-result span{font-size:12px;color:var(--muted);line-height:1.7}.locked-policy{background:#f2f3f5}.locked-policy .policy-result strong{color:#8d98ac}.workflow-outcomes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.workflow-outcomes>div{background:white;border:1px solid var(--line);border-radius:10px;padding:14px}.workflow-outcomes small{font-size:12px;letter-spacing:.6px;color:var(--muted);display:block}.workflow-outcomes strong{display:block;font-size:24px;margin:8px 0;color:var(--navy)}.workflow-outcomes span{font-size:12px;color:var(--muted);line-height:1.6}.vaas-addons{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}.vaas-addons article{padding:20px;border:1px solid #cdd8ef;border-radius:12px;background:#f7f9ff;min-width:0}.vaas-addons h3{font-size:17px;margin:13px 0 9px}.vaas-addons p{font-size:12px;line-height:1.6;color:var(--muted)}.vaas-addons .btn{margin-top:15px}.vaas-addons article>small{display:block;margin-top:8px;font-size:12px;color:var(--muted)}.upgrade-prices{margin-top:18px;display:flex;justify-content:space-between;gap:12px;align-items:center}.upgrade-prices strong{font-size:15px}.upgrade-prices small{display:block;font-size:12px;color:var(--muted);margin-top:5px;font-weight:500}.upgrade-prices span{font-size:12px;line-height:1.7;text-align:right;color:var(--muted)}.cost-explainer{padding:14px 16px;border:1px solid #d5dff0;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0;background:#f5f7fc}.cost-explainer span{font-size:12px;line-height:1.7;color:var(--muted)}.cost-explainer span:last-child{grid-column:1/-1;border-top:1px solid #dfe5f0;padding-top:10px}.cost-explainer b{display:block;font-size:12px;letter-spacing:.6px;color:var(--navy)}.cost-cadence{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}.finance-table thead small{font-size:12px;font-weight:400;text-transform:none}.employee-training{display:block;margin-top:8px}.flow-automation-note{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0}.report-flow-list>div>span{line-height:1.6;text-align:right}.management-modal .flow-upgrade small{line-height:1.8}.management-modal .action-row .btn{max-width:180px;flex-shrink:0}.hud-actions>i{max-width:8px}
@media(max-width:700px){.workflow-policies,.vaas-addons{grid-template-columns:1fr}.workflow-outcomes{grid-template-columns:1fr 1fr}.workflow-outcomes>div:last-child{grid-column:1/-1}.policy-control,.vaas-addons article{padding:15px}.policy-control p{min-height:0}.cost-explainer{grid-template-columns:1fr}.workflow-outcomes strong{font-size:20px}.management-modal .action-row .btn{max-width:130px}.hud-actions>i{max-width:6px}.flow-automation-note{font-size:12px}.report-flow-list>div{align-items:start}}

.workflow-outcomes+.tech-note{margin:14px 0 24px}

/* v6 — three-flow radar and one-screen command center */
.hud-resources{grid-template-columns:repeat(5,minmax(0,1fr))}
.hud-stat{min-width:0}.hud-stat>span{font-size:12px}.hud-stat>small{font-size:12px}
.command-scene{grid-template-columns:200px minmax(0,1fr) 245px;gap:12px}
.flow-overview{display:flex;flex-direction:column;gap:10px;min-height:0;min-width:0}
.overview-title{padding:1px 4px 2px}.overview-title .eyebrow{font-size:12px;color:#7789a5}.overview-title>strong{display:block;font-size:17px;margin-top:4px;letter-spacing:-.4px}
.overview-flow{background:#fff;border:1px solid #dce4ee;border-radius:13px;padding:14px;text-align:left;color:var(--ink);box-shadow:0 3px 9px #1e3c6510;transition:border-color .15s,transform .15s}
.overview-flow:hover{border-color:#809cdb;transform:translateX(2px)}.overview-flow:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.overview-flow-head{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:12px}.overview-flow-head>strong{font-size:15px}.mode-tag{border-radius:5px;padding:4px 6px;background:#edf1f6;color:#64768e;font-size:12px;font-weight:700}.mode-1{background:#e8efff;color:#2855aa}.mode-2{background:#e5f6dc;color:#42752b}
.overview-numbers{display:flex;justify-content:space-between;gap:9px}.overview-numbers>span{font-size:12px;color:#7a889b}.overview-numbers b{display:block;font-size:20px;color:#203a66;margin-top:3px;font-variant-numeric:tabular-nums}.overview-numbers b.warning-text{color:#be6b35}
.overview-quality{display:flex;justify-content:space-between;gap:4px;margin-top:12px;font-size:12px;color:#667c98}.overview-quality b{color:#314f81}.overview-quality small{font-weight:400;font-size:12px}
.overview-meter{display:block;height:4px;background:#edf1f7;border-radius:5px;margin-top:6px;overflow:hidden}.overview-meter>b{display:block;height:100%;background:#8aabc8;border-radius:5px}.overview-project{display:block;margin-top:8px;font-size:12px;color:#456ac0}
.streak-card{padding:12px 10px;background:#e5edfa;border:1px solid #d6e2f5;border-radius:11px;margin-top:auto;color:#314e7a}.streak-card>span{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700}.streak-card .icon{width:13px;height:13px}.streak-card>small{font-size:12px;line-height:1.5;display:block}.streak-dots{display:flex;gap:4px;margin:9px 0}.streak-dots i{display:block;height:5px;flex:1;border-radius:4px;background:#cad7ec}.streak-dots .done{background:#4c8f65}
.upgrade-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:20px 0}.upgrade-choice{border:1px solid #dbe4f1;padding:18px;border-radius:12px;background:#f9fbfe}.upgrade-choice h3{font-size:16px}.upgrade-choice p{font-size:12px;line-height:1.6;color:#61728a;margin:9px 0 14px}.upgrade-choice small{display:block;font-size:12px;color:#647992;line-height:1.7;margin-top:9px}.current-process{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}.current-process>span:last-child{font-size:12px;color:#647992}
.quality-picker{display:grid;grid-template-columns:1fr 280px;gap:24px;align-items:center;padding:20px;border:1px solid #cbdcf2;background:#eff5fd;border-radius:12px;margin:22px 0}.quality-picker h3{font-size:16px}.quality-picker p{font-size:12px;color:#60728c;line-height:1.6;margin-top:8px}.quality-picker label{font-size:12px;color:#415c85;font-weight:600}.quality-picker select{display:block;width:100%;padding:11px;margin-top:7px;border:1px solid #bacde6;border-radius:7px;background:white;color:var(--ink)}
.report-subtitle{font-size:16px;margin:25px 0 12px}.metric-explanations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-explanation{border:1px solid #dce5ef;border-radius:10px;background:#f8fafc;align-self:start;overflow:hidden}.metric-explanation>summary{padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:13px;font-weight:700}.metric-explanation summary small{display:block;font-size:12px;font-weight:400;margin-top:5px;color:#728399}.metric-explanation summary>span:before{content:'＋';margin-right:6px;color:#6e82a2}.metric-explanation[open] summary>span:before{content:'−'}.metric-explanation>ul{margin:0;padding:0 14px 12px;list-style:none}.metric-explanation li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;line-height:1.5;border-top:1px solid #e0e7ef;padding:9px 0}.metric-explanation li b{white-space:nowrap;font-size:12px}.metric-explanation .positive{color:#2d8054}.metric-explanation .negative{color:#bd4f47}.reward-callout{border:1px solid #cbe5cc;background:#f0f9ee;color:#3a6e3d;padding:14px 16px;border-radius:10px;margin:12px 0;font-size:12px;line-height:1.6}.reward-callout>.icon{width:18px;height:18px;float:left;margin:3px 8px 0 0}.reward-callout p{margin:0}.reward-callout strong{display:block;margin-bottom:5px}.weekly-report{width:min(900px,calc(100vw - 32px));max-width:900px}.report-archive{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.case-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#eef3fa;border-radius:8px;padding:11px 13px;margin:15px 0;font-size:12px;color:#60718d}
@media(max-width:1200px) and (min-width:701px){.command-scene{grid-template-columns:175px minmax(0,1fr) 215px;gap:10px}.overview-flow{padding:11px}.hud-body{grid-template-columns:165px minmax(0,1fr) 230px;gap:9px}.hud-stat{padding:9px 7px}.hud-stat>span{font-size:12px}.hud-stat>span>.icon{width:12px;height:12px}.hud-stat>strong{font-size:21px}}
@media(max-height:800px) and (min-width:701px){.flow-overview{gap:8px}.overview-flow{padding:11px}.overview-flow-head{margin-bottom:7px}.overview-numbers b{font-size:18px}.overview-quality{margin-top:8px}.streak-card{padding:10px}.overview-title>strong{font-size:14px}.overview-project{margin-top:5px}.scene-sidebar>button>strong{margin:9px 0 7px}}
@media(max-width:900px) and (min-width:701px){.command-scene{grid-template-columns:155px minmax(0,1fr) 175px;gap:8px}.hud-body{grid-template-columns:135px minmax(0,1fr)}.hud-trusts{grid-column:1/-1}.scene-sidebar>button{padding:12px}.overview-quality small{display:none}.hud-resources{grid-column:2}.hud-stat>strong{font-size:18px}}
@media(max-width:700px){.command-scene{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto}.flow-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.overview-title,.streak-card{display:none}.overview-flow{padding:9px;border-radius:9px}.overview-flow-head{margin-bottom:7px;gap:3px}.overview-flow-head>strong{font-size:12px}.mode-tag{padding:3px 4px;font-size:12px}.overview-numbers{gap:5px}.overview-numbers>span{font-size:12px}.overview-numbers b{font-size:14px}.overview-quality{margin-top:7px;font-size:12px}.overview-quality small{display:none}.overview-meter{height:3px;margin-top:4px}.overview-project{font-size:12px;margin-top:4px}.hud-stat{padding:6px 5px}.hud-stat>span{font-size:12px}.hud-stat>span>.icon{display:none}.hud-stat>strong{font-size:17px}.hud-stat>small{font-size:12px}.quality-picker{grid-template-columns:1fr;gap:14px}.metric-explanations{grid-template-columns:1fr}.upgrade-choices{grid-template-columns:1fr}}
@media(max-width:700px) and (max-height:700px){.overview-flow{padding:6px}.overview-quality{margin-top:5px}.scene-sidebar .scene-mission{min-height:80px}.scene-sidebar>button>strong{margin:5px 0}.scene-sidebar>button>small{font-size:12px}.overview-meter{display:none}}
@media(max-height:820px) and (min-width:701px){
 .flow-overview{gap:7px}.overview-title{padding:0 3px}.overview-title .eyebrow{display:none}.overview-title>strong{font-size:13px;margin:0}
 .overview-flow{padding:9px 11px;border-radius:10px}.overview-flow-head{margin-bottom:5px}.overview-flow-head>strong{font-size:12px}.mode-tag{padding:3px 5px;font-size:12px}
 .overview-numbers>span{font-size:12px;display:flex;align-items:baseline;gap:4px}.overview-numbers b{display:inline;font-size:14px;margin:0}.overview-quality{margin-top:6px;font-size:12px}.overview-meter{height:3px;margin-top:4px}.overview-project{font-size:12px;margin-top:4px}
 .streak-card{padding:8px 9px}.streak-card>span{font-size:12px}.streak-card>small{font-size:12px}.streak-dots{margin:6px 0;height:4px}
 .scene-sidebar .scene-forecast{display:none}.scene-sidebar .scene-mission{justify-content:center}.scene-mission>strong{font-size:20px}
}
@media(max-height:700px) and (min-width:701px){.flow-overview{gap:6px}.overview-title{display:none}.overview-flow{padding:7px 10px}.streak-card{padding:6px 9px}}

/* v7 — an inhabited office and clearer decisions */
.worker-motion{animation:office-walk var(--cycle) ease-in-out var(--delay) infinite;will-change:transform}
.worker-body{animation:office-breathe 1.8s ease-in-out infinite;animation-delay:var(--delay)}
.worker-arm{transform-box:view-box}.arm-left{transform-origin:-10px -40px;animation:office-type 2.3s ease-in-out infinite;animation-delay:var(--delay)}.arm-right{transform-origin:10px -40px;animation:office-gesture var(--cycle) ease-in-out var(--delay) infinite}
.worker-head{animation:office-look var(--cycle) ease-in-out var(--delay) infinite}
.worker-leg{transform-origin:0 -22px;animation:office-step var(--cycle) linear var(--delay) infinite}.leg-right{animation-direction:reverse}
.worker-talk{opacity:0;animation:office-talk var(--cycle) ease-in-out var(--delay) infinite}
@keyframes office-walk{0%,18%,86%,100%{transform:translate(0,0)}26%,76%{transform:translate(-24.75px,12.375px)}40%,62%{transform:translate(var(--walk-x),var(--walk-y))}}
@keyframes office-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.4px)}}
@keyframes office-type{0%,100%{transform:rotate(0)}35%{transform:rotate(9deg)}60%{transform:rotate(-5deg)}}
@keyframes office-gesture{0%,30%,70%,100%{transform:rotate(0)}42%,54%{transform:rotate(-28deg)}48%,60%{transform:rotate(8deg)}}
@keyframes office-look{0%,30%,70%,100%{transform:translateX(0)}42%,62%{transform:translateX(2px)}}
@keyframes office-step{0%,18%,40%,62%,86%,100%{transform:rotate(0)}22%,32%,68%,78%{transform:rotate(13deg)}27%,36%,72%,82%{transform:rotate(-13deg)}}
@keyframes office-talk{0%,37%,65%,100%{opacity:0;transform:translateY(3px)}42%,60%{opacity:1;transform:translateY(0)}}
.office-conversations{position:absolute;top:66px;left:8%;width:min(290px,62%);z-index:3;pointer-events:none}
.office-speech{position:absolute;inset:0 0 auto;opacity:0;padding:13px 15px;background:#fff;border:1px solid #d2deeb;border-radius:14px 14px 14px 3px;box-shadow:0 5px 22px #29496d20;animation:office-speech var(--speech-cycle) ease-in-out var(--speech-delay) infinite}
.office-speech:after{content:'';position:absolute;bottom:-9px;left:23px;width:14px;height:14px;background:inherit;border-right:1px solid #d2deeb;border-bottom:1px solid #d2deeb;transform:rotate(45deg)}
.speech-person{font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:#7186a2;font-weight:700}.office-speech p{font-size:12px;line-height:1.5;margin:5px 0 0;color:#263c60}.office-speech.warning{background:#fffbef}.office-speech.danger{background:#fff0eb}.office-speech.good{background:#f0f8ed}
@keyframes office-speech{0%,25%,100%{opacity:0;transform:translateY(8px)}4%,21%{opacity:1;transform:translateY(0)}}
.office-empty{position:absolute;top:75px;left:8%;right:8%;padding:16px;border:1px solid #e8c9ba;background:#fff2eb;border-radius:12px;font-size:12px;color:#8a513d;z-index:3}
body:has(dialog[open]) .worker-motion,body:has(dialog[open]) .worker-body,body:has(dialog[open]) .worker-arm,body:has(dialog[open]) .worker-head,body:has(dialog[open]) .worker-leg,body:has(dialog[open]) .worker-talk,body:has(dialog[open]) .office-speech{animation-play-state:paused}
.team-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.team-summary>span{padding:13px;border:1px solid #dfe7f1;border-radius:10px;font-size:12px;color:#657a98}.team-summary b{display:block;font-size:21px;color:#143c79;margin-bottom:5px}
.flow-detail>.workflow-outcomes{margin:18px 0}.flow-detail>.flow-detail-summary{margin-top:10px}
.decision-consequence h2{font-size:19px;line-height:1.55;letter-spacing:-.2px}.decision-consequence .outcome-effects{margin-top:20px}
.closing-warning{border:2px solid #d5a65e}.closing-warning .modal-eyebrow{color:#ab7028}.closing-warning h2{color:#8e431f}.closing-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.closing-metrics>span{padding:14px;border-radius:10px;background:#fff4e8;font-size:12px;color:#8d6744}.closing-metrics b{display:block;font-size:25px;margin-top:5px}
.locked-wrap{display:inline-flex;position:relative;max-width:100%;cursor:help;outline-offset:3px;vertical-align:middle}.locked-wrap>button,.locked-wrap>select{pointer-events:none}.locked-select{display:block;width:100%}.locked-wrap:focus-visible{outline:2px solid #567bd1;border-radius:7px}
.lock-tip{display:none;position:absolute;z-index:8;right:0;bottom:calc(100% + 6px);padding:10px 12px;min-width:180px;max-width:min(300px,78vw);background:#182c52;color:#fff;font-size:12px;line-height:1.5;border-radius:9px;box-shadow:0 5px 18px #12295230;font-weight:400;pointer-events:none;text-align:left}.locked-wrap:hover>.lock-tip,.locked-wrap:focus-visible>.lock-tip{display:block}.locked-select>.lock-tip{left:0;right:auto;width:280px}.roster .locked-wrap{justify-content:center}.upgrade-choice .locked-wrap{display:flex;max-width:100%}
@media(max-width:700px){.office-conversations{top:43px;left:6%;width:78%}.office-speech{padding:9px 11px}.office-speech p{font-size:12px;line-height:1.4}.speech-person{font-size:12px}.team-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.closing-metrics{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.worker-motion,.worker-body,.worker-arm,.worker-head,.worker-leg,.worker-talk,.office-speech{animation:none!important}.office-speech{display:none}.office-speech:first-child{display:block;opacity:1}.worker-talk{opacity:0}}
/* Events and illustrated endings, kept over the living office. */
.notifications-button{position:relative;color:var(--navy,#111e50)}
.notification-badge{position:absolute;right:-4px;top:-4px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:12px;background:#f2b981;color:#172551;font-size:12px;font-weight:800;border:2px solid #fff}
.notification-list{display:flex;flex-direction:column;gap:10px}
.notification-item{display:flex;gap:12px;background:#f6f8fc;border:1px solid #e1e7f2;border-radius:12px;padding:15px}
.notification-item.unread{border-left:4px solid #486bf0;background:#eff4ff}
.notification-icon{display:grid;place-items:center;background:#e1e9fa;border-radius:50%;width:32px;height:32px;flex:none;color:#263e7d}
.notification-item.good .notification-icon{background:#e1f2c7;color:#46671f}.notification-item.warning .notification-icon{background:#fbe5d2;color:#9d562d}
.notification-item small{display:block;font-size:12px;letter-spacing:.7px;color:#7082a0;margin-bottom:5px}.notification-item strong{display:block;font-size:14px}.notification-item p{font-size:12px;line-height:1.55;margin:5px 0 0;color:#586986}
.game-ended .office-svg *,.game-ended .office-conversation{animation-play-state:paused!important}.game-ended .game-hud button:disabled{opacity:.72;cursor:default}
.gameover-modal{width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 40px)}
.gameover-modal::backdrop{background:#060e2d88;backdrop-filter:blur(3px)}
.ending-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.ending-top .eyebrow{color:#6a7898}
.ending-illustration{width:100%;height:auto;max-height:210px;display:block;margin-bottom:22px;border-radius:14px}.ending-label{display:block;color:#8c503d;font-size:12px;letter-spacing:1.3px;font-weight:800;margin-bottom:9px}.gameover-modal h2{font-size:29px;line-height:1.12;margin:0}.gameover-modal .intro{font-size:14px;line-height:1.5;margin:14px 0}.gameover-modal .report-note{font-size:12px;line-height:1.5}.ending-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.gameover-modal .tech-note{font-size:12px;margin-bottom:0}.precision-note{font-size:12px;line-height:1.6;padding:13px 16px;border:1px solid #dce6ce;background:#f2f8eb;border-radius:12px;color:#425c35;margin:12px 0 20px}.closing-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-height:800px){.gameover-modal .modal-inner{padding:22px 28px}.ending-illustration{max-height:155px;margin-bottom:14px}.gameover-modal h2{font-size:25px}.gameover-modal .intro{margin:10px 0}.gameover-modal .report-note{margin:10px 0}}
@media(max-width:600px){.notification-badge{right:0}.ending-actions .btn{flex:1;font-size:12px}.gameover-modal .modal-inner{padding:20px}.gameover-modal h2{font-size:25px}.closing-metrics{grid-template-columns:1fr}.game-ended .timeline{display:none}}
/* Quick workflow controls and manual/automatic capacity, without leaving the office. */
.overview-flow{padding:11px 12px}.overview-flow:hover{transform:none}.overview-flow-head{width:100%;border:0;background:none;padding:0;text-align:left;cursor:pointer;color:inherit;margin-bottom:8px}.overview-flow-head:hover strong{color:var(--blue)}
.overview-numbers>span{display:flex;align-items:baseline;gap:4px;font-size:12px}.overview-numbers b{display:inline;margin:0;font-size:17px}
.quick-settings{border-top:1px solid #e7edf5;margin-top:8px;padding-top:7px;display:grid;gap:5px}.quick-setting{display:grid;grid-template-columns:41px minmax(0,1fr);align-items:center;gap:6px;font-size:12px;color:#65758d}.quick-setting select{width:100%;min-width:0;height:24px;border:1px solid #d7e1ef;background:#f8fafd;color:#1e3868;border-radius:5px;font-size:12px;padding:2px 3px;font-family:inherit;cursor:pointer}.quick-setting select:disabled{color:#8691a3;background:#f1f3f6;cursor:help}.quick-setting .locked-wrap{display:block;min-width:0}.quick-setting .lock-tip{left:0;right:auto;bottom:calc(100% + 6px);width:230px;z-index:30}.overview-flow:focus-within{position:relative;z-index:5}
.hud-capacity>strong{font-size:23px;margin-bottom:3px}.hud-capacity em{font-style:normal;font-weight:400;font-size:12px;color:#9db5e7}.hud-capacity .hud-auto{display:block;color:#d2e1ff;font-size:16px;font-weight:700;line-height:1.2;white-space:nowrap}.hud-capacity>small{margin-top:5px;font-size:12px}.hud-capacity .capacity-short{color:#f5bf8b}.hud-capacity .capacity-good{color:#d3fb8f}
.office-conversations .office-speech{display:none;animation:none!important;opacity:1;transform:none}.office-conversations .office-speech.is-speaking{display:block}
.gameover-modal h2:focus{outline:none}
@media(max-height:820px) and (min-width:701px){.overview-flow{padding:7px 10px}.overview-flow-head{margin-bottom:4px}.overview-numbers b{font-size:13px}.quick-settings{margin-top:5px;padding-top:4px;gap:3px}.quick-setting{font-size:12px;grid-template-columns:35px minmax(0,1fr)}.quick-setting select{height:20px;font-size:12px}.overview-project{font-size:12px}.flow-overview{gap:6px}.streak-card{padding:6px 9px}.streak-card>small{font-size:12px}.streak-dots{margin:4px 0}.hud-capacity>strong{font-size:21px}.hud-capacity .hud-auto{font-size:14px}.hud-capacity>small{margin-top:2px}}
@media(max-width:700px){.overview-flow{padding:7px}.overview-flow-head{margin-bottom:4px}.overview-numbers>span{display:block;font-size:12px}.overview-numbers b{display:block;font-size:12px}.quick-settings{margin-top:4px;padding-top:4px;gap:3px}.quick-setting{grid-template-columns:27px minmax(0,1fr);gap:2px;font-size:12px}.quick-setting select{height:21px;font-size:12px;padding-inline:0}.quick-setting .lock-tip{width:170px;font-size:12px}.overview-flow:last-of-type .lock-tip{right:0;left:auto}.hud-capacity>strong{font-size:16px;margin:3px 0}.hud-capacity em{font-size:12px}.hud-capacity .hud-auto{font-size:12px}.hud-capacity>small{font-size:12px;margin-top:3px}}
/* Keep the whole radar, including streak rewards, above the command bar. */
.overview-flow{padding:8px 10px;flex-shrink:0}.overview-flow-head{margin-bottom:4px}.overview-flow-head>strong{font-size:13px}.mode-tag{padding:3px 5px;font-size:12px}.overview-numbers b{font-size:15px}.quick-settings{margin-top:4px;padding-top:4px;gap:3px}.quick-setting select{height:20px}.streak-card{padding:8px 9px;flex-shrink:0}.streak-dots{margin:5px 0}.overview-title .eyebrow{font-size:12px}.overview-title>strong{font-size:14px}.flow-overview{gap:8px}
@media(max-height:820px) and (min-width:701px){.overview-flow{padding:6px 9px}.overview-flow-head{margin-bottom:3px}.overview-flow-head>strong{font-size:12px}.overview-numbers b{font-size:12px}.quick-settings{gap:2px;margin-top:3px;padding-top:3px}.quick-setting select{height:18px;font-size:12px}.quick-setting{font-size:12px}.overview-title{display:none}.flow-overview{gap:6px}.streak-card{padding:6px 8px}.streak-dots{margin:4px 0}.overview-project{line-height:1.2}}
@media(max-width:700px){.overview-flow{padding:6px}.overview-flow-head>strong{font-size:12px}.mode-tag{font-size:12px;padding:3px}.flow-overview{gap:5px}.quick-setting select{height:20px;font-size:12px}.overview-numbers b{font-size:12px}}
.worker-talk{display:none}

.hud-capacity>small{display:block!important}

/* Scores grow with performance; digits must fit without a fixed maximum. */
.score-number{font-size:clamp(38px,4.6vw,66px);letter-spacing:-2.5px;overflow-wrap:anywhere}.score-number small{display:block;font-size:13px;margin:8px 0 0;letter-spacing:.5px}.score-player{font-size:12px;color:#c1ceec;margin-top:8px}.score-calculation{padding:15px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;font-size:13px}.score-calculation strong{font-size:22px}.score-row-top strong{white-space:nowrap}.ending-score{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f1f5ff;border:1px solid #d9e2f3;padding:15px;border-radius:12px;margin:14px 0}.ending-score>div>small{display:block;font-size:12px;letter-spacing:1px}.ending-score strong{display:block;font-size:30px;overflow-wrap:anywhere}.ending-score strong small{font-size:12px}.ending-score span{display:block;font-size:12px;color:var(--muted)}.ending-score .btn{margin:0;flex-shrink:0}.ranking-identity{margin-bottom:24px;padding:16px;background:#f2f5fb;border-radius:12px}.ranking-identity label{font-size:12px;font-weight:700}.ranking-identity>div{display:flex;gap:10px;margin:8px 0}.ranking-identity input{min-width:0;flex:1;padding:10px;border:1px solid #bdcbea;border-radius:8px;font:inherit}.ranking-identity .btn{margin:0}.ranking-identity p{font-size:12px;line-height:1.6;color:var(--muted)}.leaderboard{list-style:none;margin:16px 0;padding:0}.leaderboard li{display:flex;gap:12px;padding:13px 10px;align-items:center;border-bottom:1px solid var(--line);font-size:12px}.leaderboard li.current{background:#edf5db;border-radius:8px}.leaderboard li>div{flex:1;min-width:0;overflow-wrap:anywhere}.leaderboard small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.leaderboard b{white-space:nowrap}.ranking-position{font-weight:800;color:var(--blue);min-width:15px}.ranking-modal{width:min(760px,calc(100vw - 24px))}.gameover-modal .ending-illustration{max-height:130px;margin-bottom:12px}.gameover-modal .ending-actions .btn{font-size:12px;padding:11px 14px}
@media(max-width:600px){.score-number{font-size:clamp(36px,12vw,64px)}.ending-score{align-items:flex-start;flex-direction:column}.ending-score .btn{align-self:stretch}.ranking-identity>div{flex-wrap:wrap}.leaderboard li{gap:8px;font-size:12px}.gameover-modal .ending-illustration{max-height:110px}}

/* Inline workflow help stays above the office without changing its layout. */
.overview-flow-heading{display:flex;align-items:center;gap:4px;margin-bottom:4px}.overview-flow-heading .overview-flow-head{flex:1;min-width:0;margin-bottom:0}.flow-tip-trigger{display:inline-flex;align-items:center;gap:3px;padding:0;border:0;border-radius:3px;background:none;color:inherit;font:inherit;text-align:left;cursor:help;white-space:nowrap;min-height:18px}.flow-tip-trigger i{display:inline-grid;place-items:center;flex:none;width:11px;height:11px;border:1px solid #8c9db7;border-radius:50%;font:700 12px/1 Arial,sans-serif;color:#506b95;font-style:normal}.flow-tip-trigger:hover,.flow-tip-trigger:focus-visible{color:var(--blue)}.flow-tip-trigger:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.flow-tip-icon{justify-content:center;min-width:18px}.quick-setting{grid-template-columns:48px minmax(0,1fr)}.overview-numbers .flow-tip-trigger{font-size:inherit}.flow-help-tooltip{position:fixed;z-index:1100;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:16px 18px;border:1px solid #38518a;border-radius:12px;background:#0b1c4b;color:#e5edff;box-shadow:0 12px 38px #07123738;font-size:12px;line-height:1.6;text-align:left}.flow-help-tooltip[hidden]{display:none}.flow-help-tooltip>small{display:block;color:#a3b8e6;font-size:12px;letter-spacing:1px;margin-bottom:7px}.flow-help-tooltip>strong{display:block;color:#fff;font-size:15px;line-height:1.3}.flow-help-tooltip p{margin:9px 0 0}.flow-help-tooltip .flow-tip-current{padding-top:10px;border-top:1px solid #ffffff24;color:#daefb6}.flow-tip-dismiss{display:block;margin-top:10px;font-size:12px;color:#a3b8e6}
@media(max-height:820px) and (min-width:701px){.quick-setting{grid-template-columns:44px minmax(0,1fr)}.overview-flow-heading{margin-bottom:3px}.flow-tip-trigger{min-height:16px}}
@media(max-width:700px){.quick-setting{grid-template-columns:36px minmax(0,1fr)}.flow-tip-trigger{gap:2px;min-height:20px}.flow-tip-trigger i{width:9px;height:9px;font-size:12px}.overview-flow-heading{gap:2px}.flow-tip-icon{min-width:13px}.overview-numbers .flow-tip-trigger{min-height:14px}.flow-help-tooltip{font-size:12px;padding:14px 16px}}

/* Show the three mutually exclusive outcomes of the current queue. */
.hud-resources{grid-template-columns:1.05fr .7fr 1.8fr .85fr .85fr}.hud-forecast{padding:10px 12px}.hud-forecast>span{font-size:12px;gap:5px}.hud-forecast .forecast-scope{display:block;font-size:12px;margin:5px 0 8px;color:#b7c9ee;white-space:normal}.hud-outcome-rows{display:grid;gap:4px}.hud-outcome-rows>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px;color:#d8e4fc;white-space:nowrap}.hud-outcome-rows em{font-style:normal}.hud-outcome-rows b{font:700 15px/1.2 'JetBrains Mono',monospace;letter-spacing:-.5px}.hud-outcome-rows .automatic{color:#b9ddff}.hud-outcome-rows .unreviewed{color:#ffd29c}.hud-outcome-rows .cleared{color:#d6fa9f}.hud-forecast .forecast-link{display:block;font-size:12px;margin-top:7px;color:#9eb8e8}.forecast-modal{width:min(850px,calc(100vw - 24px))}.forecast-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.forecast-outcomes>div{padding:17px;border-radius:12px;background:#f0f4fc;border:1px solid #d9e2f2;min-width:0}.forecast-outcomes small{font-size:12px;font-weight:700;line-height:1.5;display:block;color:#5f7395}.forecast-outcomes strong{display:block;font-size:31px;letter-spacing:-1px;margin:8px 0;overflow-wrap:anywhere}.forecast-outcomes span{font-size:12px;color:#687a94;line-height:1.5;display:block}.forecast-outcomes .automatic{background:#edf6ff}.forecast-outcomes .unreviewed{background:#fff3e3;border-color:#f0d6b1;color:#97561d}.forecast-outcomes .cleared{background:#f0f8e6;border-color:#d4e3bd;color:#446728}.forecast-equation{font-size:12px;line-height:1.6;text-align:center;color:#647896;margin:12px 0 23px}.forecast-subtitle,.forecast-base h3{font-size:15px;margin-bottom:12px}.forecast-flows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.forecast-flows article{border:1px solid #dbe3f0;border-radius:12px;padding:13px;min-width:0}.forecast-flows header{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:13px}.forecast-flows header strong{font-size:13px}.forecast-flows header span{font-size:12px;color:#7082a0}.forecast-flows dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}.forecast-flows dt{font-size:12px;color:#7082a0;line-height:1.5}.forecast-flows dd{margin:5px 0 0;font-size:16px;font-weight:750;overflow-wrap:anywhere}.forecast-flows .unreviewed dd{color:#a75d23}.forecast-flows .cleared dd{color:#50712c}.forecast-base{padding:17px;border:1px solid #dbe3ef;border-radius:12px;background:#f7f9fc;margin-top:18px}.forecast-base p,.forecast-capacity-details p{font-size:12px;line-height:1.7;color:#64738a}.forecast-base>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;margin-top:13px;padding-top:13px;border-top:1px solid #dde5f1;font-size:12px;color:#63748f}.forecast-base>div>strong{color:#233a65}.forecast-capacity-details{font-size:12px;line-height:1.6;margin:14px 0}.forecast-capacity-details summary{cursor:pointer;color:#31599c}.forecast-capacity-details p{margin:10px 0}
@media(max-width:1200px){.hud-forecast{padding:8px}.hud-forecast>span{font-size:12px}.hud-forecast>span>.icon{display:none}.hud-outcome-rows>span{font-size:12px;gap:5px}.hud-outcome-rows b{font-size:13px}.hud-forecast .forecast-scope{font-size:12px;margin:4px 0 6px}}
@media(max-width:700px){.hud-forecast{padding:6px}.hud-forecast>span{font-size:12px}.hud-outcome-rows{gap:3px}.hud-outcome-rows>span{font-size:12px;gap:3px}.hud-outcome-rows b{font-size:12px}.hud-forecast .forecast-scope{font-size:12px;margin:3px 0 5px}.hud-forecast .forecast-link{display:none}.forecast-outcomes{gap:6px}.forecast-outcomes>div{padding:12px 9px}.forecast-outcomes small{font-size:12px;min-height:24px}.forecast-outcomes strong{font-size:24px}.forecast-outcomes span{font-size:12px}.forecast-flows{grid-template-columns:1fr}.forecast-flows header{margin-bottom:8px}.forecast-flows dt{font-size:12px}.forecast-equation{font-size:12px}}

/* A working office, with visual signals driven by the operation. */
.worker-motion{animation:office-workday var(--cycle) ease-in-out var(--delay) infinite}.worker-body{animation:office-breathe 2.6s ease-in-out infinite}.worker-seated-legs{animation:office-sitting var(--cycle) steps(1,end) var(--delay) infinite}.worker-walking-legs{animation:office-standing var(--cycle) steps(1,end) var(--delay) infinite}.worker-leg{animation:office-footstep .6s ease-in-out infinite}.arm-left{animation:office-type .8s ease-in-out infinite}.arm-right{animation:office-type 1.1s ease-in-out -.4s infinite;transform-origin:10px -40px}.worker-head{animation:office-focus 7s ease-in-out infinite}.mood-sad .worker-head,.mood-angry .worker-head{animation:none;transform:translateY(3px) rotate(7deg);transform-origin:0 -59px}.mood-sad .worker-body,.mood-angry .worker-body{animation-duration:4s}.monitor-work .screen-line{animation:office-screen 3.5s ease-in-out var(--delay) infinite}.monitor-work.tech-bureau .screen-line{animation-duration:2.5s}.monitor-work.tech-vaas .screen-line{animation-duration:1.8s}.monitor-work.tech-ai .screen-line{animation-duration:1.2s}.monitor-work .screen-line:nth-child(2){animation-delay:-.5s}.monitor-work .screen-line:nth-child(3){animation-delay:-1s}.visitor-motion{animation:office-patrol 47s linear var(--patrol-delay) infinite;opacity:0}.fire-flicker{animation:office-flame .9s ease-in-out infinite;transform-origin:0 0}.board-at-window{animation:board-observe 8s ease-in-out infinite}.office-conversations .thought{border-radius:20px;background:#f3f8ff;border-color:#c9d8ec}.office-speech.thought:after{border-radius:50%;width:9px;height:9px;bottom:-15px;left:27px;box-shadow:-9px 11px 0 -2px #f3f8ff}.thought-start{animation:thought-first 5s steps(1,end) both}.thought-finish{display:none}.is-speaking .thought-finish{display:block;animation:thought-second 5s steps(1,end) both}.thought-caption{display:block;font-size:12px;color:#7b8ca3;margin-top:7px}.office-conversations{top:58px;max-width:calc(100% - 35px)}
@keyframes office-workday{0%,82%,100%{transform:translate(0,0)}87%,95%{transform:translate(var(--walk-x),var(--walk-y))}}
@keyframes office-sitting{0%,82%,100%{opacity:1}83%,97%{opacity:0}}
@keyframes office-standing{0%,82%,100%{opacity:0}83%,97%{opacity:1}}
@keyframes office-footstep{0%,100%{transform:rotate(-9deg)}50%{transform:rotate(9deg)}}
@keyframes office-focus{0%,35%,100%{transform:translate(0,0)}45%,55%{transform:translate(1px,2px)}}
@keyframes office-screen{0%,100%{opacity:.5}45%{opacity:1}}
@keyframes office-patrol{0%,55%,100%{opacity:0;transform:translate(-95px,-45px)}60%{opacity:1;transform:translate(-80px,-40px)}79%{opacity:1;transform:translate(80px,40px)}84%,99%{opacity:0;transform:translate(95px,45px)}}
@keyframes office-flame{0%,100%{transform:scale(1,.96)}50%{transform:scale(.93,1.1)}}
@keyframes board-observe{0%,100%{opacity:.9}50%{opacity:1}}
@keyframes thought-first{0%,52%{display:block}53%,100%{display:none}}
@keyframes thought-second{0%,52%{display:none}53%,100%{display:block}}
@keyframes close-week-pulse{0%,100%{box-shadow:0 0 0 0 #cdff2900;filter:brightness(1)}50%{box-shadow:0 0 0 5px #cdff2933;filter:brightness(1.15)}}
.ready-to-close{animation:close-week-pulse 1.7s ease-in-out infinite;outline:2px solid #ffffff66;outline-offset:3px}
body:has(dialog[open]) .office-svg *,body:has(dialog[open]) .ready-to-close{animation-play-state:paused!important}

/* Company identity remains cosmetic; VAAS keeps its own brand. */
body[data-company-palette] .game-hud{background:linear-gradient(115deg,color-mix(in srgb,var(--company-main),white 12%),var(--company-main) 65%,color-mix(in srgb,var(--company-main),white 7%))}
body[data-company-palette] .game-hud .btn.lime{background:var(--company-accent)}
body[data-company-palette] .scene-office{background:linear-gradient(135deg,var(--company-soft),#e7edf0)}
.company-modal{width:min(980px,calc(100vw - 32px))}.company-setup{display:grid;grid-template-columns:1.3fr 1fr;gap:25px}.company-options fieldset{border:0;padding:0;margin:0 0 22px}.company-options legend{font-size:14px;font-weight:750;margin-bottom:10px}.company-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.company-choice{position:relative;cursor:pointer;min-width:0}.company-choice input{position:absolute;top:13px;left:11px;accent-color:#15387d}.company-choice>span{display:flex;flex-direction:column;height:100%;min-height:65px;padding:13px 10px 13px 30px;border:1px solid #d5dfec;background:#fff;border-radius:10px;gap:7px}.company-choice input:checked+span{border-color:#173f87;box-shadow:0 0 0 1px #173f87;background:#f0f5ff}.company-choice input:focus-visible+span{outline:3px solid #7cafff;outline-offset:3px}.company-choice strong{font-size:12px}.company-choice small{font-size:12px;line-height:1.6;color:#60738b}.palette-swatch{display:block;width:35px;height:17px;border-radius:4px;background:linear-gradient(110deg,var(--swatch-main) 65%,var(--swatch-accent) 65%);border:1px solid #0001}.company-preview{align-self:center;border:1px solid #d5dfec;border-radius:18px;padding:18px;background:#eef3f5;text-align:center}.company-preview .eyebrow{font-size:12px}.company-preview .office-svg{width:100%;height:auto;margin:10px 0;display:block}.company-preview p{font-weight:750;font-size:17px}.company-preview>small{display:block;font-size:12px;color:#62758b;margin-top:9px}

/* Mission stays one click away; the right radar is dedicated to people. */
.fixed-playfield .scene-header{display:grid;grid-template-columns:minmax(200px,1fr) auto 240px;gap:18px}.scene-header .timeline{width:auto;min-width:0;gap:5px}.scene-header .phase-step{padding:8px 9px}.scene-header .phase-step>span:last-child{font-size:12px;max-width:78px;line-height:1.4}.mission-launch{display:grid;grid-template-columns:1fr 18px;gap:6px 10px;background:var(--company-main,#101b58);color:#fff;border:1px solid #ffffff33;border-radius:12px;padding:11px 14px;text-align:left;min-width:0}.mission-launch>span{display:flex;gap:5px;align-items:center;font:12px 'JetBrains Mono',monospace;letter-spacing:.4px;color:var(--company-accent,#cdff29)}.mission-launch>span .icon{width:13px;height:13px}.mission-launch strong{font-size:12px;font-weight:650;grid-column:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mission-launch>.icon{grid-row:1/3;grid-column:2;align-self:center;width:15px;height:15px}.mission-launch.resolved{background:#edf5ed;color:#2e6054;border-color:#c7decd}.mission-launch.resolved>span{color:#407565}.staff-overview.scene-sidebar{display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid #d9e2ed;border-radius:14px;overflow:hidden;min-width:0;box-shadow:0 3px 9px #1e3c6510}.staff-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 13px 11px;gap:8px}.staff-heading .eyebrow{font-size:12px;letter-spacing:.9px;color:#7f90a5}.staff-heading strong{display:block;font-size:16px;margin-top:4px}.staff-heading>button{font-size:12px;border:1px solid #d9e3ee;background:#f4f7fc;padding:7px 5px;border-radius:7px;color:#546c86;white-space:nowrap}.staff-heading .icon{width:12px;height:12px;vertical-align:middle}.staff-totals{display:flex;gap:7px;padding:10px 13px;background:#f1f5fb;border-block:1px solid #e1e8f2}.staff-totals>span{flex:1;font-size:12px;color:#65778f;line-height:1.6}.staff-totals b{display:block;font-size:18px;line-height:1.2;color:#243e65;margin-bottom:3px}.staff-roster{min-height:0;overflow:auto;flex:1;padding:6px 8px;scrollbar-width:thin;scrollbar-color:#b9c9d8 transparent}.staff-row{display:flex;gap:9px;width:100%;align-items:center;padding:10px 5px;border:0;border-bottom:1px solid #edf0f5;background:transparent;text-align:left}.staff-row:hover{background:#f2f6fc}.staff-face{flex:0 0 28px}.mood-icon{width:28px;height:28px;fill:#edf6df;stroke:#68894a;stroke-width:1.4;stroke-linecap:round}.mood-icon path{fill:none}.mood-icon .mood-eye{stroke:none;fill:currentColor}.mood-icon.mood-neutral{fill:#fff5d8;stroke:#b49647}.mood-icon.mood-sad{fill:#e7eef9;stroke:#7890b4}.mood-icon.mood-angry{fill:#ffe6d9;stroke:#c77e64}.staff-info{flex:1;min-width:0}.staff-info>span{display:flex;align-items:center;justify-content:space-between;gap:5px}.staff-info strong{font-size:12px}.staff-info small{font-size:12px;color:#6f8097;line-height:1.5}.staff-info>small{display:block;margin:4px 0}.staff-load{display:block;height:3px;border-radius:3px;background:linear-gradient(to right,#8fba82 var(--staff-load),#e8eef4 var(--staff-load))}.staff-load.overloaded{background:linear-gradient(to right,#d8a26c var(--staff-load),#f0e7de var(--staff-load))}.staff-note{font-size:12px;line-height:1.65;color:#7b8b9e;padding:9px 13px;background:#fbfcfe;border-top:1px solid #edf1f6}.staff-empty{font-size:12px;line-height:1.7;padding:10px;color:#78879d}.staff-overview.scene-sidebar>.staff-deadline{display:flex;align-items:center;gap:6px;border:0;border-top:1px solid #e5dfd1;border-radius:0;background:#fff9ec;color:#8b6c35;font-size:12px;line-height:1.5;padding:11px 12px;flex-shrink:0}.staff-deadline .icon{width:13px;height:13px;flex-shrink:0}.staff-deadline>span{flex:1}.staff-overview.scene-sidebar>.staff-deadline.urgent{background:#fff0e6;color:#a3512a}
@media(max-width:1200px){.fixed-playfield .scene-header{grid-template-columns:minmax(160px,1fr) auto 190px;gap:12px}.scene-header .phase-step{padding:6px}.scene-header .phase-step>span:last-child{font-size:12px;max-width:64px}.scene-header h1{font-size:20px}.staff-heading{padding:10px}.staff-heading strong{font-size:14px}.staff-heading .eyebrow{font-size:12px}.staff-totals{padding:8px 10px}.staff-row{gap:6px}.staff-note{padding:7px 10px;font-size:12px}.staff-heading>button{font-size:12px}.mission-launch strong{font-size:12px}}
@media(max-width:900px) and (min-width:701px){.fixed-playfield .scene-header{grid-template-columns:1fr 190px}.scene-header .timeline{display:none}.staff-heading .eyebrow{display:none}.staff-totals b{font-size:16px}.staff-info strong{font-size:12px}.staff-face{flex-basis:23px}.mood-icon{width:23px;height:23px}}
@media(max-width:700px){.fixed-playfield .scene-header{grid-template-columns:1fr auto;gap:7px}.scene-header .timeline{gap:3px}.scene-header .phase-step>span:last-child{display:none}.scene-header .phase-step{padding:3px}.scene-header h1{font-size:18px}.mission-launch{grid-column:1/-1;grid-template-columns:auto 1fr 16px;padding:8px 10px;border-radius:9px;align-items:center;gap:8px}.mission-launch>span{font-size:12px;white-space:nowrap}.mission-launch strong{grid-column:2;font-size:12px}.mission-launch>.icon{grid-column:3;grid-row:1;width:12px}.staff-overview.scene-sidebar{height:113px;display:grid;grid-template-columns:95px minmax(0,1fr);grid-template-rows:auto 1fr auto;border-radius:10px}.staff-heading{padding:7px;grid-column:1;grid-row:1}.staff-heading .eyebrow,.staff-heading>button{display:none}.staff-heading strong{font-size:12px;margin:0}.staff-totals{grid-row:2;grid-column:1;padding:3px 7px;gap:4px;border:0;display:flex;flex-direction:column;background:transparent}.staff-totals>span{font-size:12px;line-height:1.3}.staff-totals b{display:inline;font-size:12px;margin-right:3px}.staff-roster{grid-column:2;grid-row:1/4;padding:3px 7px;border-left:1px solid #e5ebf3}.staff-row{padding:6px 3px;gap:6px}.staff-info>small{margin:2px 0;font-size:12px}.staff-info strong{font-size:12px}.staff-face{flex-basis:24px}.mood-icon{width:24px;height:24px}.staff-note{display:none}.staff-overview.scene-sidebar>.staff-deadline{grid-column:1;grid-row:3;padding:5px;font-size:12px;gap:3px}.staff-deadline .icon{width:10px;height:10px}.staff-deadline>.icon:last-child{display:none}.office-conversations{top:36px;left:5%;width:88%}.office-speech{padding:8px 10px}.office-speech p{font-size:12px}.thought-caption{font-size:12px;margin-top:4px}.company-setup{grid-template-columns:1fr;gap:5px}.company-preview{display:none}.company-choice>span{padding-left:25px;min-height:60px}.company-choice input{left:8px}.company-choice strong{font-size:12px}.company-choice small{font-size:12px}.company-options fieldset{margin-bottom:15px}.company-modal .panel-scroll{padding:16px}.company-options legend{font-size:12px}}
@media(prefers-reduced-motion:reduce){.office-svg *,.ready-to-close{animation:none!important}.worker-walking-legs{display:none}.worker-seated-legs{opacity:1}.visitor-motion{opacity:1}.thought-finish{display:none!important}.thought-start{display:block!important}.ready-to-close{outline:3px solid var(--company-accent,#cdff29)}}
body[data-company-palette] .hud-stat{background:color-mix(in srgb,var(--company-main),black 12%)}body[data-company-palette] .hud-stat:hover{background:color-mix(in srgb,var(--company-main),white 9%)}body[data-company-palette] .hud-forecast{border-color:color-mix(in srgb,var(--company-accent),transparent 55%)}
.office-inbox{position:absolute;bottom:43px;left:18px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e3bfa5;border-radius:11px;background:#fff5e9;color:#805436;text-align:left;box-shadow:0 4px 16px #54412a14;z-index:2}.office-inbox>span:nth-child(2){font-size:12px;font-weight:700}.office-inbox small{display:block;font-size:12px;font-weight:400;margin-top:4px;color:#9a7356}.office-inbox .icon{width:13px;height:13px}.inbox-envelope{font-size:23px}.complaints-modal{width:min(670px,calc(100vw - 24px))}.complaint-message{padding:20px;border:1px solid #e2d7c7;background:#fffaf1;border-radius:12px;margin-bottom:14px}.complaint-message>span{font-size:12px;font-weight:700;letter-spacing:.5px;color:#9b7553}.complaint-message h3{font-size:17px;margin:12px 0}.complaint-message p{font-size:13px;line-height:1.7;color:#687688}
@media(max-width:700px){.office-inbox{bottom:35px;left:10px;padding:5px 7px;gap:5px}.inbox-envelope{font-size:16px}.office-inbox>span:nth-child(2){font-size:12px}.office-inbox small{font-size:12px;margin-top:2px}.office-inbox>.icon{display:none}}
/* v11: compact decision surfaces and contextual guidance. */
.flow-help-tooltip{inset:auto;margin:0;white-space:normal}.help-dot{display:inline-grid;place-items:center;width:17px;height:17px;min-width:17px;padding:0;border:1px solid #9aabc7;border-radius:50%;background:transparent;color:#60799e;font:700 12px/1 Arial;cursor:help;vertical-align:middle}.help-dot:hover{background:#e2eaff;color:#1233a4}.flow-tip-current{white-space:pre-line}[data-help-title]{cursor:help}button[data-help-title]:not([data-help-only]){cursor:pointer}.hud-resources{grid-template-columns:1fr 1.05fr 1.65fr .8fr}.hud-queue>div{display:flex;justify-content:space-between;align-items:baseline;gap:6px;margin-top:10px}.hud-queue b{font-size:19px;letter-spacing:-.7px}.hud-queue div small{font-size:12px;color:#a8bce0}.hud-queue .passive b{color:#ffcf95}
.office-conversations{position:absolute;inset:0;width:auto;max-width:none;height:100%;z-index:5;pointer-events:none}.office-conversations .office-speech{inset:auto;width:min(245px,calc(100% - 16px));max-width:calc(100% - 16px);padding:10px 12px;border-radius:13px}.office-speech:after,.office-speech.thought:after{left:var(--tail-x,50%)}.office-speech p{font-size:12px;line-height:1.45}.office-speech .speech-person{font-size:12px}.thought-caption{font-size:12px}
.management-modal{width:min(1030px,calc(100vw - 32px))}.panel-modal-header{padding:16px 20px}.panel-modal-header h2{font-size:23px;margin-top:5px}.panel-scroll{padding:18px 20px;scrollbar-gutter:auto}.management-modal .panel-title{margin-bottom:12px}.management-modal .panel-title h2{font-size:20px}.management-modal .panel-title p{font-size:12px;line-height:1.5}.management-modal .intro{font-size:13px;line-height:1.55;margin:12px 0}.management-modal .btn{padding:10px 15px}.management-modal .btn.small{padding:9px 12px;font-size:12px}.management-modal .btn.full{margin-top:15px}.compact-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 9px}.compact-section-heading h3{font-size:13px}.compact-section-heading>small{font-size:12px;color:var(--muted)}
.compact-flow{display:grid;gap:13px}.flow-switch{display:flex;align-items:center;gap:6px}.flow-switch>button{background:#e6ebf5;border-radius:7px;padding:8px 16px;font-size:12px;font-weight:700}.flow-switch>button.active{background:var(--navy);color:#fff}.flow-switch>.pill{margin-left:auto;font-size:12px}.compact-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.compact-kpis>div{padding:12px 14px;background:#fff;border:1px solid #dde5ef;border-radius:10px}.compact-kpis>div>span,.compact-kpis .flow-tip-trigger{font-size:12px;color:#667c9e}.compact-kpis strong{display:block;margin-top:7px;font-size:27px;line-height:1.1;color:var(--navy)}.compact-kpis strong small{font-size:12px;font-weight:400;color:var(--muted)}.compact-process{display:flex;align-items:center;gap:11px;font-size:12px;padding:11px 14px;background:#e8eef9;border-radius:9px}.compact-process>small{margin-left:auto;font-size:12px;color:#536d93}.compact-process>span:not(.pill){color:#667b9c}.compact-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;background:white;padding:14px;border:1px solid #dde5ef;border-radius:10px}.compact-control>div{margin-bottom:8px;font-weight:650}.compact-control .flow-tip-trigger{font-size:12px;gap:6px}.compact-control select{width:100%;min-width:0;padding:10px;border:1px solid #ccd7e8;border-radius:7px;background:#f8faff;color:#253c60;font-size:12px}.compact-control .locked-wrap{display:block;width:100%}.compact-flow .compact-section-heading{margin:1px 0 -3px}.compact-upgrades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-upgrade{display:grid;gap:12px;background:#fff;border:1px solid #cedaee;border-radius:11px;padding:14px}.compact-upgrade h3{font-size:16px;display:flex;gap:7px;align-items:center}.compact-upgrade>div>span{display:block;font-size:12px;color:#627997;margin-top:5px}.compact-prices{display:flex;align-items:center;justify-content:space-between;gap:8px}.compact-prices>b{font-size:13px}.compact-prices small{font-size:12px;font-weight:400}.compact-prices>span{font-size:12px!important;text-align:right;margin:0!important}.compact-upgrade>.locked-wrap,.compact-upgrade>button{width:100%}.compact-upgrade>.locked-wrap>button{width:100%}.compact-retro{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf1f7;border-radius:8px;padding:11px 14px;font-size:12px;color:#627897}.compact-retro b{color:#334f77;margin-left:7px}.compact-implementation{font-size:12px;color:#89632e;background:#fff4de;border-radius:8px;padding:9px 12px}.compact-implementation .icon{width:14px;height:14px;margin-right:6px}
.budget-summary>div{padding:13px 16px}.budget-summary strong{font-size:24px}.budget-summary small{margin-bottom:7px}.compact-costs{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0;font-size:12px;color:#69809d}.compact-costs b{color:#314b70;margin-left:6px}.funding-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.funding-option{width:100%;display:flex;flex-direction:column;gap:7px;background:#eef3ff;border:1px solid #c9d7ef;border-radius:10px;padding:13px;text-align:left}.funding-option:hover:not(:disabled){background:#dfe9ff;border-color:#8ba8ed}.funding-option>span{font-size:12px;color:#466899}.funding-option>strong{font-size:21px;color:#143779}.funding-option>small{font-size:12px;color:#92623c}.funding-options>.locked-wrap{min-width:0}.finance-tabs{margin:14px 0 10px;align-items:center}.finance-tabs>button{font-size:12px;padding:9px 5px}.finance-tabs .help-dot{padding:0;margin-left:auto}.finance-table th,.finance-table td{padding:9px 10px;font-size:12px}.compact-ledger{max-height:260px;overflow:auto}.compact-ledger thead{position:sticky;top:0}.funding-modal{width:min(730px,calc(100vw - 24px))}
.weekly-report{width:min(960px,calc(100vw - 32px))}.compact-report-stats{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#e9eef8;border-radius:9px;padding:12px;font-size:12px;color:#5b7396}.compact-report-stats b{font-size:20px;color:#203c6f;margin-right:5px}.report-metric-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.report-metric-tabs button{display:grid;gap:7px;text-align:left;padding:12px 14px;background:white;border:1px solid #d6e0ee;border-radius:10px}.report-metric-tabs button[aria-selected=true]{border-color:#4161d3;box-shadow:0 0 0 1px #4161d3;background:#f3f6ff}.report-metric-tabs span{font-size:12px;color:#506b92}.report-metric-tabs strong{font-size:25px}.report-metric-tabs small{font-size:12px;color:#687f9f}.report-causes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-causes h4{font-size:12px;letter-spacing:1px;color:#8a9ab0;margin:3px 0 8px}.report-cause{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e0e7f0;border-radius:8px;padding:9px 12px;margin:6px 0;font-size:12px;text-align:left}.report-cause i{font:700 12px Arial;border:1px solid currentColor;border-radius:50%;padding:0 3px;opacity:.5}.report-cause:hover{background:#eaf0fc}.report-cause span{color:#466285}.report-empty{font-size:12px;color:#8798ad;padding:10px 0}.compact-reward,.compact-alert{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-top:12px;border-radius:8px;background:#edf6e9;font-size:12px;color:#487739}.compact-alert{background:#fff0e9;color:#a55136}.compact-reward .icon{width:15px;height:15px}.forecast-flows{margin-top:15px}.forecast-outcomes>div{padding:14px}.forecast-outcomes strong{font-size:30px;margin:7px 0 0}.forecast-modal .compact-retro{margin-top:15px}
.compact-team .team-summary{margin:0 0 14px;padding:12px}.compact-team-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.compact-team-grid .compact-section-heading{margin-top:0}.compact-roster{max-height:350px;overflow:auto;padding-right:5px}.compact-employee{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e1e7f1;border-radius:9px;padding:10px;margin-bottom:7px}.compact-employee>div:nth-child(2){flex:1;min-width:0}.compact-employee strong{display:block;font-size:12px}.compact-employee small{display:block;font-size:12px;color:#6c819f;line-height:1.6}.compact-employee .fire-btn{font-size:12px;padding:6px;margin:0;flex-shrink:0}.compact-team .hiring-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:10px 12px}.compact-team .hiring-controls label{font-size:12px}.compact-team .hiring-controls select{max-width:65px;padding:7px}.compact-team .action-list{grid-template-columns:1fr;gap:8px}.compact-team .action-row{padding:11px 12px}.compact-team .action-row h3{font-size:12px}.compact-team .action-row small{font-size:12px;color:#7185a0;display:block;margin-top:4px}.compact-team .action-row .btn{font-size:12px;min-width:105px}.management-modal .mission-body{padding:18px;gap:20px}.management-modal .mission-body h2{font-size:23px;margin-bottom:10px}.management-modal .mission-body p{font-size:12px;line-height:1.6}.management-modal .mission-choice{padding:12px}.management-modal .mission-panel{margin-bottom:12px}.operation-deadlines{padding:13px;margin:12px 0}.operation-deadlines h3{font-size:13px}.operation-deadlines .mandate-strip{margin-top:10px}.operation-deadlines .deadline{padding:10px}.operations-shortcuts{margin-bottom:12px}.management-modal .log-list{max-height:410px;overflow:auto;padding-right:5px}.management-modal .report-archive{margin-bottom:13px;gap:6px}.management-modal .log-item p{font-size:12px;line-height:1.5}.management-modal .log-item strong{font-size:12px}.decision-consequence h2{font-size:22px;line-height:1.4}.case-modal{width:min(1060px,calc(100vw - 28px))}.case-modal .modal-inner{padding:22px}.case-modal .intro{font-size:13px;line-height:1.55;margin:12px 0}.case-modal .source-document{padding:15px}.case-modal .source-document p{font-size:12px;line-height:1.6}.case-modal .source-document h3{font-size:17px;margin:12px 0}.case-modal .case-decision{margin-top:15px}.case-modal .case-decision .btn{padding:10px 13px}.case-modal h2{font-size:24px}
@media(max-width:700px){.hud-resources{grid-template-columns:1fr 1.1fr 1.6fr .8fr}.hud-queue b{font-size:13px}.hud-queue>div{margin-top:5px;gap:3px;flex-wrap:wrap}.hud-queue div small{font-size:12px}.hud-queue>span{font-size:12px}.hud-queue>span>.icon{display:none}.office-conversations{inset:0;width:auto;max-width:none}.office-conversations .office-speech{width:min(210px,calc(100% - 16px));padding:8px 10px}.office-speech p{font-size:12px}.management-modal{width:calc(100vw - 20px)}.panel-modal-header{padding:14px 16px}.panel-modal-header h2{font-size:20px}.panel-scroll{padding:14px}.compact-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compact-kpis strong{font-size:24px}.compact-controls{grid-template-columns:1fr;gap:11px}.compact-control{display:grid;grid-template-columns:1fr 1.2fr;align-items:center;gap:8px}.compact-control>div{margin:0}.compact-control .flow-tip-trigger{font-size:12px}.compact-control select{font-size:12px;padding:8px}.compact-upgrades{grid-template-columns:1fr}.compact-process{flex-wrap:wrap;gap:8px}.flow-switch{flex-wrap:wrap}.flow-switch>button{font-size:12px;padding:8px 12px}.flow-switch>.pill{font-size:12px}.compact-retro{flex-wrap:wrap;font-size:12px}.compact-retro b{display:block;margin:3px 0 0}.budget-summary{gap:7px}.budget-summary>div{padding:10px}.budget-summary strong{font-size:17px!important;overflow-wrap:anywhere}.budget-summary small{font-size:12px}.compact-costs{font-size:12px;align-items:start}.compact-costs b{display:block;margin:3px 0}.funding-options{gap:6px}.funding-option{padding:10px 8px}.funding-option strong{font-size:16px}.funding-option small{font-size:12px}.compact-section-heading>small{font-size:12px}.compact-team-grid{grid-template-columns:1fr}.compact-roster{max-height:200px}.compact-report-stats{gap:8px;align-items:start;font-size:12px}.compact-report-stats b{display:block;font-size:20px}.report-metric-tabs{gap:6px}.report-metric-tabs button{padding:10px 8px}.report-metric-tabs span{font-size:12px}.report-metric-tabs strong{font-size:21px}.report-causes{gap:10px}.report-cause{font-size:12px;padding:9px 7px;gap:5px}.report-cause i{display:none}.forecast-outcomes{gap:6px}.forecast-outcomes>div{padding:11px 9px}.forecast-outcomes small{font-size:12px}.forecast-flows{grid-template-columns:1fr}.compact-control .locked-wrap{min-width:0}.compact-team .action-row .btn{max-width:130px}}
/* Explanatory choices remain readable without opening help. */
@media(min-width:1101px){.command-scene{grid-template-columns:335px minmax(0,1fr) 220px;gap:12px}}
@media(min-width:701px) and (max-width:1100px){.command-scene{grid-template-columns:300px minmax(0,1fr) 180px;gap:9px}}
.quick-setting{grid-template-columns:81px minmax(0,1fr);gap:6px}.quick-setting .flow-tip-trigger{white-space:normal;font-size:12px;line-height:1.25}.quick-setting select{font-size:12px;padding:5px 20px 5px 6px;height:28px}.quick-settings{gap:5px}.compact-control .flow-tip-trigger{font-size:12px;white-space:normal}.compact-control select{font-size:12px;padding:10px 6px}.management-modal{height:fit-content;inset:0}.management-modal>.modal-inner{height:auto}
@media(max-width:700px){.flow-overview{grid-template-columns:1fr!important;max-height:188px;overflow:auto;gap:8px;padding-right:4px}.flow-overview .overview-flow{width:100%;display:block}.quick-setting{grid-template-columns:85px minmax(0,1fr)}.quick-setting .flow-tip-trigger{font-size:12px}.quick-setting select{font-size:12px;height:27px}.flow-overview .overview-title{position:sticky;top:0;background:#f2f4f8;z-index:2}.flow-overview .streak-note{display:none}.compact-control .flow-tip-trigger{font-size:12px}}
@media(min-width:701px){.flow-overview{gap:6px}.flow-overview .overview-flow{padding:6px 9px}.quick-setting{grid-template-columns:95px minmax(0,1fr);gap:5px}.quick-setting .flow-tip-trigger{white-space:nowrap;font-size:12px}.quick-setting select{height:20px;min-height:20px;padding:1px 18px 1px 5px;line-height:16px;font-size:12px}.quick-settings{gap:3px;padding-top:3px;margin-top:3px}}
@media(min-width:701px){.flow-overview .streak-card{padding:5px 7px;display:flex;justify-content:space-between;align-items:center;gap:5px;min-height:20px;border:0;background:transparent}.streak-card>span{font-size:12px;white-space:nowrap}.streak-card .icon{width:11px;height:11px}.streak-card .streak-dots{display:none}.streak-card>small{font-size:12px;line-height:1.2;margin:0;text-align:right}.flow-overview:has(.overview-project){overflow-y:auto;padding-right:3px}.overview-project{font-size:12px;line-height:1.2;margin-top:3px}}
/* v12: a deliberate inbox and a compact VAAS decision desk. */
.inbox-launch{display:flex;align-items:center;gap:7px;background:#eaf0ff;border:1px solid #b9caff;color:#254986;border-radius:8px;padding:9px 11px;white-space:nowrap}.inbox-launch b{background:#1541ff;color:white;padding:3px 6px;border-radius:5px;font-size:12px}.inbox-shortcut{display:flex;align-items:center;justify-content:center;gap:9px;margin:10px 0}.inbox-shortcut b{background:#e5edff;padding:4px 8px;border-radius:6px}.chief-inbox{display:grid;gap:18px}.inbox-intro{display:flex;justify-content:space-between;align-items:center;gap:15px}.inbox-intro h3{font-size:24px;margin:7px 0}.inbox-intro p{font-size:12px;color:#637590;line-height:1.5}.inbox-intro .eyebrow{font-size:12px;color:#43618e}.inbox-cases{display:grid;gap:11px}.inbox-case{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:19px}.inbox-case.pending{border-left:4px solid #1748ff}.inbox-case.resolved{background:#f5faf7}.inbox-number{color:#9cafc8;font:20px monospace}.inbox-subject{flex:1;min-width:0}.inbox-subject .eyebrow{font-size:12px;color:#697f9c;letter-spacing:.4px}.inbox-subject h3{font-size:19px;margin:6px 0}.inbox-subject p{font-size:12px;color:#6c7f99;line-height:1.5}.inbox-consequences{display:grid;gap:6px;padding:14px 17px;border:1px solid #ead6bb;border-radius:9px;background:#fff9ee;color:#896232;font-size:12px;line-height:1.6}.inbox-consequences strong{font-size:12px}.inbox-footer{display:flex;align-items:center;gap:25px}.inbox-footer small{font-size:12px;line-height:1.6;color:#647894;flex:1}.inbox-footer .btn{flex-shrink:0}.vaas-addons{gap:9px}.vaas-addons .compact-upgrade{grid-template-columns:1fr auto;gap:7px 10px;padding:11px 12px}.vaas-addons .compact-upgrade>div:first-child{grid-column:1/-1}.vaas-addons .compact-upgrade h3{font-size:14px}.vaas-addons .compact-upgrade>div>span{font-size:12px}.vaas-addons .compact-prices{display:block}.vaas-addons .compact-prices b{font-size:12px}.vaas-addons .compact-prices>span{margin-top:3px!important;text-align:left;font-size:12px!important}.vaas-addons .compact-upgrade>button,.vaas-addons .compact-upgrade>.locked-wrap{align-self:end;width:auto;min-width:100px}.vaas-addons .btn{padding:8px 10px;font-size:12px}
.vaas-case-modal{width:min(1170px,calc(100vw - 32px));max-height:calc(100dvh - 36px);border-radius:15px;background:#fff;color:#1c2639}.vaas-case-modal>.modal-inner{padding:0;display:flex;flex-direction:column;max-height:calc(100dvh - 38px);overflow:hidden}.vaas-case-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px 17px;border-bottom:1px solid #e1e5ec;gap:15px}.vaas-case-header .eyebrow{color:#6b7791;font-size:12px;letter-spacing:.5px}.vaas-case-header h2{font-size:27px;margin:8px 0 5px;letter-spacing:-.5px}.case-reference{font-size:12px;color:#7b879a}.vaas-case-scroll{padding:17px 24px;overflow:auto;min-height:0}.vaas-case-question{font-size:12px;line-height:1.65;color:#576479;margin-bottom:15px}.vaas-risk-overview{display:grid;grid-template-columns:190px 1fr 230px;border:1px solid #dce2ea;border-radius:10px;padding:17px 0;margin-bottom:18px;align-items:center}.vaas-score{text-align:center}.vaas-score>span{font-size:12px;color:#63718b;display:flex;gap:4px;align-items:center;justify-content:center}.vaas-gauge{width:126px;height:68px;overflow:hidden;position:relative;margin:0 auto 6px}.vaas-gauge:before{content:'';position:absolute;inset:0;width:126px;height:126px;box-sizing:border-box;border:11px solid #adc986;border-right-color:#ec9bb7;border-top-color:#ff9c35;border-bottom-color:transparent;border-radius:50%;transform:rotate(-45deg)}.vaas-gauge b{position:absolute;bottom:-2px;left:0;right:0;font-size:34px;letter-spacing:-1px;color:#192131}.vaas-score-composition{border-inline:1px solid #dfe3ea;padding:4px 25px;display:grid;gap:6px;font-size:12px}.vaas-score-composition>strong{font-size:12px;color:#5c6679}.vaas-score-bar{display:flex;height:7px;border-radius:6px;overflow:hidden;margin:4px 0}.vaas-score-bar i:nth-child(1){background:#b53232;flex:5}.vaas-score-bar i:nth-child(2){background:#ffaa00;flex:3}.vaas-score-bar i:nth-child(3){background:#98b96d;flex:2}.vaas-score-composition>span{display:flex;justify-content:space-between;color:#626d82}.vaas-status{padding:4px 24px;display:flex;flex-direction:column;gap:7px}.vaas-status>span:first-child{font-size:12px;color:#707d95;letter-spacing:.5px}.vaas-status strong{font-size:16px;color:#e08723}.vaas-status small{font-size:12px;color:#748096}.vaas-status .pill{align-self:start;font-size:12px;margin-top:4px}.vaas-dossier-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px}.vaas-dossier-main{min-width:0}.vaas-dossier-tabs{display:flex;gap:5px;margin-bottom:13px}.vaas-dossier-tabs button{font-size:12px;padding:9px 15px;border:1px solid #d3dce9;border-radius:6px;background:white;color:#333f55}.vaas-dossier-tabs button.active{background:#103aff;border-color:#103aff;color:#fff}.findings-heading{display:flex;justify-content:space-between;font-size:12px;color:#6e7b91;margin:12px 0}.vaas-finding{border:1px solid #e0e5ec;border-left:4px solid #bc4140;border-radius:9px;margin-bottom:9px;overflow:hidden}.vaas-finding.severity-1{border-left-color:#f2aa00}.vaas-finding.severity-2{border-left-color:#7ea955}.vaas-finding summary{display:flex;align-items:center;gap:11px;padding:13px;cursor:pointer;list-style:none}.vaas-finding summary::-webkit-details-marker{display:none}.vaas-finding summary>span:first-child{flex:1;min-width:0}.vaas-finding summary small{display:block;font-size:12px;color:#69778e;margin-bottom:5px}.vaas-finding summary strong{display:block;font-size:12px;line-height:1.4;font-weight:550}.finding-category{font-size:12px;color:#8b5b53;border:1px solid #e6cbc4;border-radius:15px;padding:4px 6px}.vaas-finding summary>b{font-size:16px;color:#25304a}.vaas-finding summary i{font-style:normal;font-size:18px;color:#8390a3;transition:transform .15s}.vaas-finding[open] summary i{transform:rotate(180deg)}.vaas-finding>div{border-top:1px solid #e6e9ef;padding:14px 16px}.vaas-finding>div>small{font-size:12px;color:#76839a;letter-spacing:.2px}.vaas-finding p,.vaas-data p,.vaas-history li{font-size:12px;line-height:1.7;color:#56657d;margin:9px 0 0}.agent-area-heading{font-size:12px;color:#6779a1;margin:6px 0 12px;letter-spacing:.8px}.vaas-ai-card{border:1px solid #c7d4ff;background:#f2f5ff;border-radius:10px;padding:15px;margin-bottom:10px}.ai-eyebrow{font-size:12px;color:#2856ef;letter-spacing:.2px}.vaas-ai-card h3{font-size:17px;line-height:1.25;margin:8px 0;color:#183ba9}.vaas-ai-card p{font-size:12px;line-height:1.7;color:#4b6188}.vaas-ai-card small{display:block;font-size:12px;color:#7386a7;line-height:1.5;margin-top:10px}.vaas-ai-card details{margin-top:10px}.vaas-ai-card summary{font-size:12px;color:#4265b6;cursor:pointer}.vaas-ai-locked{border:1px dashed #d9e1ed;background:#f8fafc;border-radius:9px;padding:15px;margin-bottom:10px}.vaas-ai-locked strong{font-size:12px;color:#7485a0}.vaas-ai-locked p{font-size:12px;line-height:1.6;color:#8794aa;margin-top:6px}.vaas-ai-locked .text-link{font-size:12px;padding:7px 0 0;margin:0}.vaas-data,.vaas-history{border:1px solid #e0e5ee;border-radius:10px;padding:17px}.vaas-data h3,.vaas-history h3{font-size:15px;margin-bottom:14px}.vaas-data dl{display:flex;gap:25px;margin-bottom:17px}.vaas-data dt{font-size:12px;color:#7a88a0;margin-bottom:5px}.vaas-data dd{font-size:12px}.vaas-data details{padding:10px 0;border-top:1px solid #e6eaf1}.vaas-data summary{font-size:12px;cursor:pointer;color:#536787}.vaas-history ol{list-style:none;padding:0;border-left:1px solid #ccd9f2}.vaas-history li{padding-left:15px;position:relative;margin:0 0 17px}.vaas-history li:before{content:'';width:7px;height:7px;position:absolute;left:-4px;top:7px;border-radius:50%;background:#2453e7}.vaas-history b,.vaas-history span{display:block}.vaas-history b{font-size:12px;color:#334969}.vaas-history span{font-size:12px;color:#7384a0}.case-modal .case-decision{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px}.case-modal .case-decision>div{display:flex;gap:8px;margin:0}.case-modal .case-decision>div:first-child{display:grid;gap:5px}.case-modal .case-decision .btn{white-space:nowrap;min-width:110px;font-size:12px}.vaas-case-modal .case-decision{flex-shrink:0;margin:0;border:0;border-top:1px solid #dfe5ee;border-radius:0;background:#fafbfe}.case-decision .eyebrow{font-size:12px;color:#526a90}.manual-case-modal .case-decision{padding:13px;margin-top:14px}.manual-case-modal .source-document{min-height:180px}.manual-case-modal .source-document h3{font-size:20px}.manual-case-modal .source-document p{font-size:13px;line-height:1.8}.manual-case-modal .case-heading h2{margin:5px 0}
@media(max-width:800px){.vaas-dossier-grid{grid-template-columns:1fr}.vaas-agents{display:grid;grid-template-columns:1fr 1fr;gap:10px}.agent-area-heading{grid-column:1/-1;margin-bottom:0}.vaas-risk-overview{grid-template-columns:150px 1fr}.vaas-status{display:none}.vaas-score-composition{border-right:0}.vaas-addons .compact-upgrade{grid-template-columns:1fr auto}.inbox-launch>span{display:none}}
@media(max-width:540px){.inbox-intro{align-items:start}.inbox-intro h3{font-size:20px}.inbox-intro .pill{font-size:12px;white-space:nowrap}.inbox-case{flex-wrap:wrap;padding:13px;gap:10px}.inbox-number{display:none}.inbox-subject h3{font-size:17px}.inbox-subject .eyebrow{font-size:12px}.inbox-subject{flex-basis:100%}.inbox-case .btn{width:100%}.inbox-footer{flex-direction:column;align-items:stretch;gap:12px}.inbox-consequences{font-size:12px}.vaas-case-modal{width:calc(100vw - 16px)}.vaas-case-header{padding:17px}.vaas-case-header h2{font-size:23px}.vaas-case-header .eyebrow{font-size:12px}.vaas-case-scroll{padding:13px}.vaas-risk-overview{grid-template-columns:125px 1fr;padding:14px 0;margin-bottom:15px}.vaas-score-composition{padding:3px 16px}.vaas-gauge{transform:scale(.8);transform-origin:bottom center;margin-top:-10px}.vaas-score>span{font-size:12px}.vaas-dossier-tabs{gap:4px}.vaas-dossier-tabs button{flex:1;padding:9px;font-size:12px}.vaas-finding summary{gap:7px;padding:11px}.finding-category{display:none}.vaas-finding summary strong{font-size:12px}.vaas-agents{grid-template-columns:1fr}.vaas-data dl{gap:12px;flex-wrap:wrap}.case-modal .case-decision{display:block;padding:13px}.case-modal .case-decision>div:first-child{display:flex;justify-content:space-between;margin-bottom:10px}.case-modal .case-decision small{font-size:12px}.case-modal .case-decision>div{gap:5px}.case-modal .case-decision .btn{min-width:0;padding:10px 8px;font-size:12px;white-space:normal}.manual-case-modal .case-heading{flex-direction:row}.manual-case-modal .case-heading h2{font-size:21px}.manual-case-modal .case-heading .eyebrow{font-size:12px}.manual-case-modal .modal-inner{padding:15px}.manual-case-modal .browser-tabs button{font-size:12px;padding:10px 7px}.manual-case-modal .source-document h3{font-size:17px}.manual-case-modal .source-document p{font-size:12px}.manual-case-modal .source-masthead{font-size:14px;flex-direction:column;gap:5px}.manual-case-modal .source-masthead span{align-self:start}}
@media(min-width:801px){.vaas-case-header{padding:17px 24px 12px}.vaas-case-header h2{margin:5px 0 4px;font-size:25px}.vaas-case-scroll{padding:12px 24px}.vaas-case-question{margin-bottom:10px}.vaas-risk-overview{padding:12px 0;margin-bottom:12px}.vaas-finding summary{padding:10px 12px}.vaas-finding>div{padding:10px 13px}.vaas-ai-card{padding:12px}.vaas-ai-card p{line-height:1.55}.vaas-ai-card small{margin-top:7px}.vaas-ai-card h3{margin:6px 0}.vaas-dossier-tabs{margin-bottom:9px}.findings-heading{margin:9px 0}}
.flow-live-impact{display:flex;justify-content:space-between;gap:6px;border-top:1px solid #e5ebf4;margin-top:5px;padding-top:5px;color:#657c9c;font-size:12px;cursor:help}.flow-live-impact b{color:#244a86;font-size:12px}.overview-flow{padding-block:9px}.overview-project{font-size:12px!important;margin-top:3px!important}
@media(max-width:700px){.flow-live-impact{font-size:12px}.flow-live-impact b{font-size:12px}}
@media(min-width:701px){.flow-overview .overview-flow{position:relative;padding:4px 9px}.flow-live-impact{position:absolute;top:7px;left:70px;right:89px;margin:0;padding:0;border:0;font-size:12px;gap:5px}.flow-live-impact b{font-size:12px}.quick-settings{gap:1px}.flow-live-impact span{white-space:nowrap}.flow-overview .overview-flow:has(.mode-tag:only-child){min-height:0}}
@media(min-width:701px){.panel-flows .compact-flow{gap:9px}.panel-flows .compact-kpis>div{padding:9px 12px}.panel-flows .compact-kpis strong{font-size:24px;margin-top:5px}.panel-flows .compact-controls{padding:11px}.panel-flows .compact-process{padding:8px 12px}.panel-flows .vaas-addons .compact-upgrade{padding:9px 11px;gap:5px 10px}.panel-flows .vaas-addons .compact-upgrade h3{margin:0;font-size:13px}.panel-flows .vaas-addons .compact-upgrade>div>span{margin-top:3px}.panel-flows .vaas-addons .compact-prices{margin:0}.panel-flows .compact-retro{padding:8px 12px}}
.hud-budget>strong{margin:5px 0 1px;font-size:24px}.hud-budget>small{font-size:12px}.hud-budget-estimate{display:grid;gap:3px;margin:8px 0 0;font-size:12px;color:#b6c9eb}.hud-budget-estimate>div{display:flex;justify-content:space-between;gap:7px;align-items:baseline}.hud-budget-estimate dd{font:600 12px 'JetBrains Mono',monospace;margin:0;color:#e5edff;white-space:nowrap}.hud-budget-estimate dt{white-space:nowrap}.hud-budget-estimate .budget-estimate-total{border-top:1px solid #ffffff24;padding-top:4px}.hud-budget-estimate .negative dd{color:#ffba96}.hud-budget-estimate .positive dd{color:#d6fa9f}.hud-resources{grid-template-columns:1.25fr 1fr 1.6fr .7fr}
@media(max-width:700px){.hud-budget{padding:6px}.hud-budget>strong{font-size:17px;margin:4px 0 1px}.hud-budget>small{font-size:12px}.hud-budget-estimate{gap:2px;margin-top:5px;font-size:12px}.hud-budget-estimate dd{font-size:12px}.hud-budget-estimate>div{gap:3px}.hud-resources{grid-template-columns:1.3fr .95fr 1.45fr .65fr}}

/* Supplied brand artwork is displayed through a window; the source image stays untouched. */
.vaas-logo{display:inline-block;position:relative;width:4.7em;height:.95em;overflow:hidden;vertical-align:-.13em;background:#fff;border-radius:2px;line-height:1;isolation:isolate}.vaas-logo img{position:absolute;max-width:none;width:128%;height:auto;left:-14%;top:-270%;pointer-events:none}.brand-note .vaas-logo{font-size:25px;height:1.05em;padding:2px}.vaas-word{font-size:25px!important;letter-spacing:0!important}.game-brand>div>span .vaas-logo{font-size:12px}.mode-tag .vaas-logo{width:38px;height:8px}.vaas-logo img{display:block}

@media(min-width:701px){.flow-live-impact{pointer-events:none}}

.office-upgrade-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #dbe4f3;background:#f0f4fc;border-radius:10px;margin-bottom:12px}.office-upgrade-card strong{display:block;font-size:12px}.office-upgrade-card small{display:block;color:#627694;font-size:12px;margin-top:5px}.office-upgrade-card .btn{font-size:12px;padding:9px 12px}.dev-global select{width:100%;border:1px solid #d8e2f2;border-radius:6px;padding:7px;background:#fff;color:#102657;font-size:12px}

.vaas-logo{background:transparent}.landing .vaas-logo,.score-card .vaas-logo,.result-screen .score-footer .vaas-logo{background:#fff;border-radius:3px}
/* A compact, illustrated welcome to every new campaign. */
.welcome-modal{width:min(1040px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden;background:#f5f7fc;border-radius:22px}
.welcome-modal>.modal-inner{padding:0;display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}
.welcome-heading{padding:26px 30px 22px;display:flex;gap:20px;justify-content:space-between;align-items:start;background:#fff;border-bottom:1px solid #e0e7f2;flex-shrink:0}
.welcome-heading .eyebrow{color:#0434f4;font-size:12px;letter-spacing:1.7px}
.welcome-heading h2{margin:9px 0 8px;font-size:29px;letter-spacing:-.8px;color:#000b58}
.welcome-heading p{font-size:12px;color:#64728b;line-height:1.5}
.welcome-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:22px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.welcome-panel{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:16px;padding:18px;background:#fff;border:1px solid #e0e7f2;border-radius:15px;min-width:0}
.welcome-picture{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;background:#f0f5ff;border-radius:11px;min-height:140px}
.welcome-number{position:absolute;top:10px;left:12px;color:#8ba1ce;font-size:12px;font-weight:800;letter-spacing:1px}
.welcome-art{width:118px;max-width:120%;height:auto;display:block;margin-top:17px;flex-shrink:0}
.welcome-copy h3{font-size:16px;line-height:1.3;letter-spacing:-.3px;margin:0 0 9px;color:#000b58}
.welcome-copy>p{font-size:12px;line-height:1.65;color:#53627c;margin:0}
.welcome-note{display:block;font-size:12px;line-height:1.55;color:#63779a;margin-top:12px;padding-top:10px;border-top:1px solid #edf1f8}
.welcome-tradeoffs{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:6px}
.welcome-tradeoffs li{font-size:12px;line-height:1.55;color:#586985;padding-left:10px;position:relative}
.welcome-tradeoffs li:before{content:'';width:4px;height:4px;position:absolute;left:0;top:6px;border-radius:50%;background:#0434f4}
.welcome-tradeoffs strong{font-weight:700;color:#1b335c}
.welcome-trust .welcome-picture{background:#f1f3fa}.welcome-decisions .welcome-picture{background:#f3f7e9}
.welcome-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 24px;background:#fff;border-top:1px solid #e0e7f2;flex-shrink:0}
.welcome-footer>span{display:flex;align-items:center;gap:8px;color:#6c7b94;font-size:12px;line-height:1.5;max-width:400px}
.welcome-footer .icon{flex-shrink:0}.welcome-footer>.btn{margin:0;white-space:nowrap;padding:13px 22px;font-size:12px}
@media(max-width:780px){.welcome-modal{width:calc(100vw - 24px)}.welcome-panel{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:14px}.welcome-panels{padding:14px;gap:10px}.welcome-art{width:95px}.welcome-copy h3{font-size:14px}.welcome-copy>p{font-size:12px}.welcome-tradeoffs li{font-size:12px}}
@media(max-width:620px){.welcome-modal{border-radius:16px;max-height:calc(100dvh - 20px);width:calc(100vw - 20px)}.welcome-modal>.modal-inner{max-height:calc(100dvh - 22px)}.welcome-heading{padding:18px;gap:10px}.welcome-heading .eyebrow{font-size:12px;letter-spacing:1px}.welcome-heading h2{font-size:23px;margin:8px 0}.welcome-heading p{font-size:12px}.welcome-panels{grid-template-columns:1fr;padding:12px}.welcome-panel{grid-template-columns:76px minmax(0,1fr);padding:13px;gap:13px}.welcome-picture{min-height:100px}.welcome-number{top:8px;left:9px;font-size:12px}.welcome-art{width:88px}.welcome-copy h3{font-size:14px;margin-bottom:7px}.welcome-copy>p{font-size:12px;line-height:1.6}.welcome-note{font-size:12px;margin-top:8px;padding-top:7px}.welcome-tradeoffs{gap:5px;margin-top:8px}.welcome-tradeoffs li{font-size:12px}.welcome-footer{padding:13px 16px;gap:12px}.welcome-footer>span{font-size:12px}.welcome-footer>span>.icon{display:none}.welcome-footer>.btn{padding:12px 15px;font-size:12px}}
/* Keep the supplied PNG's full mark visible, at its original proportions. */
.vaas-logo{width:4.95em;height:1em;padding:0;background:transparent}
.vaas-logo img{width:127.922%;left:-13.997%;top:-266.429%}
.brand-note .vaas-logo{height:1em;padding:0}
.mode-tag .vaas-logo{width:59.4px;height:12px}
.landing .vaas-logo{background:transparent;border-radius:0}
.landing .vaas-word{display:inline-flex;align-items:center;background:#fff;border-radius:8px;padding:12px 16px;line-height:1}
.landing-credit-logo{display:inline-flex;align-items:center;vertical-align:middle;background:#fff;padding:6px 9px;border-radius:5px;margin:0 4px;font-size:16px;line-height:1}
.landing-how{position:relative;background:#f2f5fc;color:#17233c;padding:52px max(5vw,20px);scroll-margin-top:20px}
.landing-how>header,.landing-how-panels,.landing-how-action{max-width:1200px;margin-inline:auto}
.landing-how>header{margin-bottom:25px}.landing-how .eyebrow{color:#0434f4;font-size:12px;letter-spacing:1.3px}
.landing-how h2{font-size:34px;color:#000b58;letter-spacing:-1px;margin:12px 0}
.landing-how>header>p{color:#5b6d89;font-size:14px;line-height:1.6}
.landing-how-panels{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.landing-how .welcome-panel{grid-template-columns:124px minmax(0,1fr);padding:22px;gap:20px}
.landing-how .welcome-copy h3{font-size:19px}.landing-how .welcome-copy>p{font-size:14px}.landing-how .welcome-note,.landing-how .welcome-tradeoffs li{font-size:12px}
.landing-how-action{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:25px}
.landing-how-action>span{font-size:13px;color:#5b6d89;line-height:1.6}.landing-how-action .btn{flex-shrink:0}
.landing-footer{align-items:center}.landing-footer>span{line-height:2}
/* Give twelve-pixel labels enough room without shrinking the text again. */
.chief-badge span{white-space:normal;letter-spacing:.5px;line-height:1.35;display:block}
.chief-avatar{flex-shrink:0}.hud-stat>small{white-space:normal;line-height:1.3}
.hud-budget-estimate{line-height:1.25;gap:2px;margin-top:6px}.hud-budget-estimate .budget-estimate-total{padding-top:3px}
.hud-stat{padding-block:9px}.hud-footer{gap:15px}
.quick-setting{grid-template-columns:112px minmax(0,1fr)}
.quick-setting .flow-tip-trigger{white-space:normal;line-height:1.25}
.quick-setting select{min-height:24px;height:24px;line-height:18px;padding-block:2px}
.quick-settings{gap:3px}
.flow-live-impact{position:static;margin-top:5px;padding-top:5px;border-top:1px solid #e5ebf4;gap:8px;pointer-events:none}
.flow-overview{overflow-y:auto;scrollbar-width:thin;padding-right:3px}
.staff-heading .eyebrow{display:none}.staff-note{line-height:1.5;padding:10px}.staff-totals{padding-block:10px}
.staff-info>small{white-space:normal;line-height:1.4}.staff-row{min-height:58px}
.welcome-modal{max-width:calc(100vw - 20px)}
@media(min-width:1100px){.command-scene{grid-template-columns:386px minmax(0,1fr) 230px}}
@media(min-width:701px) and (max-height:800px){.flow-overview .overview-flow{padding:6px 9px}.overview-title,.flow-overview .streak-card{display:none}.flow-live-impact{margin-top:3px;padding-top:3px}.quick-settings{gap:2px}.quick-setting select{height:22px;min-height:22px}.staff-heading{padding:10px}}
@media(max-width:780px){.landing-how{padding:35px 20px}.landing-how-panels{grid-template-columns:1fr}.landing-how .welcome-panel{grid-template-columns:90px minmax(0,1fr);padding:17px;gap:15px}.landing-how .welcome-copy h3{font-size:17px}.landing-how h2{font-size:28px}.landing-how-action{align-items:start;flex-direction:column;gap:16px}}
@media(max-width:620px){.landing-header{padding:18px 20px;gap:16px}.landing-header>.pill{display:none}.landing .vaas-word{padding:10px 13px}.brand-note .vaas-logo{font-size:22px}.landing-how .welcome-panel{grid-template-columns:72px minmax(0,1fr);padding:14px;gap:13px}.landing-how .welcome-copy>p{font-size:12px}.landing-how .welcome-copy h3{font-size:16px}.landing-how-action .btn{width:100%}.quick-setting{grid-template-columns:112px minmax(0,1fr)}.hud-stat>span{white-space:normal;line-height:1.3}.hud-nav{gap:5px}.hud-footer{gap:9px;flex-wrap:wrap}.hud-resources{display:flex;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:4px}.hud-resources>.hud-stat{flex:0 0 150px}.hud-resources>.hud-forecast{flex-basis:190px}.hud-turn>.btn{min-width:0}.staff-overview.scene-sidebar{height:132px;grid-template-columns:112px minmax(0,1fr)}.staff-row{min-height:54px}.staff-totals>span{line-height:1.4}.staff-info>small{font-size:12px}.staff-heading strong{font-size:14px}.staff-note{display:none}.welcome-footer>span{max-width:50%}}

@media(min-width:1100px) and (max-height:800px){.flow-overview .overview-flow{padding:5px 9px}.flow-live-impact{position:absolute;top:8px;left:75px;right:100px;margin:0;padding:0;border:0;line-height:15px}.quick-setting select{height:20px;min-height:20px;line-height:16px;padding-block:1px}.quick-settings{gap:2px}.staff-note{padding:7px 10px}.staff-totals{padding-block:8px}}
@media(max-width:620px){body.is-playing{height:auto;overflow-y:auto}body.is-playing .fixed-playfield{height:auto;min-height:calc(100dvh - 54px);padding-bottom:calc(var(--hud-height) + 16px)}.command-scene{grid-template-rows:188px 260px 145px;flex:none;height:auto}.fixed-playfield .scene-office{min-height:260px}.staff-overview.scene-sidebar{height:145px}.hud-resources{scrollbar-width:thin;scrollbar-color:#7187bd #14204f}.game-brand>div>span{letter-spacing:.4px}}
/* The downloadable card is part of the ending, not a second destination. */
.gameover-modal{width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
.gameover-modal>.modal-inner{padding:24px}
.ending-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);grid-template-areas:'summary card' 'actions card';gap:12px 26px;align-items:start}
.ending-summary{grid-area:summary;min-width:0}.ending-bottom{grid-area:actions;min-width:0}
.result-card-panel{grid-area:card;min-width:0;background:#f3f6fc;border:1px solid #dce5f4;border-radius:15px;padding:16px}
.result-card-panel h3{color:#000b58;font-size:18px;line-height:1.3}.result-card-panel>p{font-size:12px;line-height:1.6;color:#657590;margin:7px 0 14px}
.result-card-content>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:10px}
.result-card-content>.btn{margin-top:12px;font-size:13px}.result-card-loading{aspect-ratio:1;display:grid;place-items:center;background:#e5ebf7;border-radius:10px;font-size:13px;color:#5b6f95}
.gameover-modal .ending-score{flex-wrap:wrap;gap:10px}.gameover-modal .ending-actions .btn{margin-top:0}.gameover-modal .ending-actions{gap:8px}.gameover-modal .ending-bottom .tech-note{margin-top:14px;line-height:1.6}
.download-card-modal .result-card-content{margin-top:20px}
@media(max-width:720px){.gameover-modal{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.gameover-modal>.modal-inner{padding:18px}.ending-layout{grid-template-columns:1fr;grid-template-areas:'summary' 'card' 'actions';gap:18px}.gameover-modal .ending-illustration{max-height:90px}.gameover-modal .ending-score{flex-direction:row;align-items:center;margin-bottom:0}.gameover-modal .ending-score .btn{align-self:auto}.result-card-panel{padding:13px}.ending-bottom .ending-actions .btn{flex:1;white-space:normal}}
@media(max-width:620px){.hero-scene .floating-note{left:12%;right:10%;bottom:3%;padding:10px;gap:9px}.floating-note>div:last-child{min-width:0}.floating-note strong,.floating-note small{white-space:normal;overflow-wrap:break-word;line-height:1.5}.hero-scene .scene-label{left:26%;right:12%;line-height:1.5;top:0}.scene-label:before{flex-shrink:0}}
@media(max-width:620px){html:has(body.is-playing){overflow-y:auto}body.is-playing #app{height:auto;overflow:visible}}

/* Discrete quick sliders keep the chosen level and its effect in view. */
.quick-slider-setting{grid-template-columns:108px minmax(0,1fr);align-items:center;gap:6px;min-height:30px}
.quick-slider-control{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:9px;min-width:0;width:100%}
.quick-slider-control output{display:block;font-size:12px;line-height:1.2;color:#183768;min-width:0;overflow-wrap:break-word}
.quick-slider-control input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:28px;margin:0;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer;accent-color:#0434f4;touch-action:pan-y}
.quick-slider-control input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:4px;background:linear-gradient(to right,#0434f4 0 var(--slider-fill),#dce5f5 var(--slider-fill) 100%)}
.quick-slider-control input[type=range]::-moz-range-track{height:5px;border-radius:4px;background:#dce5f5}.quick-slider-control input[type=range]::-moz-range-progress{height:5px;background:#0434f4;border-radius:4px}
.quick-slider-control input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:15px;height:15px;border-radius:50%;background:#0434f4;border:2px solid white;box-shadow:0 0 0 1px #0434f4;margin-top:-5px}
.quick-slider-control input[type=range]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#0434f4;border:2px solid white;box-shadow:0 0 0 1px #0434f4}
.quick-slider-control input[type=range]:focus-visible{outline:2px solid #0434f4;outline-offset:3px}
.locked-slider{min-width:0;width:100%}.locked-slider input{pointer-events:none}.locked-slider .quick-slider-control{opacity:.55}.locked-slider .quick-slider-control input[type=range]::-webkit-slider-runnable-track{background:#ccd6e6}.locked-slider .quick-slider-control input[type=range]::-webkit-slider-thumb{background:#8493ae;box-shadow:0 0 0 1px #8493ae}

/* Primary decisions live above the office; the bottom desk is dedicated to stats. */
.header-phases{display:flex;gap:5px;align-items:center;flex:1;max-width:600px;justify-content:center;min-width:0}
.header-phase{display:flex;align-items:center;gap:5px;padding:7px 8px;border-radius:7px;color:#7b89a1;font-size:12px;line-height:1.15;min-width:0}
.header-phase>b{border:1px solid #cad5e6;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px;flex-shrink:0}
.header-phase.current{background:#000b58;color:white}.header-phase.current>b{color:#000b58;background:#cdff29;border-color:#cdff29}.header-phase.done{color:#267c60}.header-phase.done>b{background:#e5f4ed;border-color:#c4e4d4}
body.is-playing .topbar{gap:14px}.topbar .scenario{display:none}
.weekly-command{display:grid;grid-template-columns:82px 178px minmax(200px,1.3fr) minmax(200px,1fr) minmax(200px,1fr);gap:12px;align-items:stretch;flex-shrink:0}
.command-week{align-self:center}.command-week>span{font:600 12px monospace;color:#7183a4;letter-spacing:1px}.command-week>strong{display:block;font-size:30px;letter-spacing:-1px;color:#000b58;line-height:1.2}.command-week small{font-size:12px;color:#7183a4;letter-spacing:0}
.weekly-action-budget{border:1px solid #c6d5f5;background:#e8efff;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;gap:7px;color:#000b58}
.weekly-action-budget>div:first-child{display:flex;align-items:center;gap:9px}.weekly-action-budget strong{font-size:28px;line-height:1;white-space:nowrap}.weekly-action-budget strong small{font-size:14px;color:#7183a4}.weekly-action-budget span{font-size:12px;line-height:1.2;max-width:70px}.action-tokens{display:flex;gap:5px}.action-tokens i{flex:1;height:8px;border-radius:3px;background:#cad5ea}.action-tokens i.available{background:#0434f4}.weekly-action-budget.exhausted{background:#fff4e8;border-color:#e8ccaa}
.weekly-command-card{display:flex;align-items:center;gap:11px;min-width:0;min-height:76px;padding:12px 14px;border:1px solid #d7e1f2;border-radius:12px;background:white;color:#172a52;text-align:left;transition:background .15s,border-color .15s}
.weekly-command-card:hover{background:#f8faff;border-color:#89a6ec}.weekly-command-card>span:not(.command-card-icon):not(.command-status){min-width:0;flex:1}.weekly-command-card strong{display:block;font-size:16px;line-height:1.2}.weekly-command-card small{display:block;font-size:12px;line-height:1.3;color:#70809d;margin-top:5px}.command-card-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#edf2ff;color:#0434f4;flex-shrink:0}.command-card-icon .icon{width:20px;height:20px}.command-status{font-size:13px;font-weight:700;padding:5px 7px;border-radius:7px;background:#edf2ff;color:#0434f4;flex-shrink:0}.weekly-mission.resolved .command-card-icon,.weekly-mission.resolved .command-status{background:#e3f3e9;color:#28734e}.weekly-next{background:#cdff29;color:#000b58;border-color:#b3e61c}.weekly-next:hover{background:#dcff6c;border-color:#9acb00}.weekly-next small{color:#495d1d}.weekly-next>.icon{width:23px;height:23px;flex-shrink:0}
.game-hud .hud-body{grid-template-columns:150px minmax(0,1fr) 300px;gap:18px;align-items:stretch}.game-hud .hud-command{display:flex;flex-direction:column;justify-content:center;padding-right:14px}.game-hud .chief-avatar{display:none}.game-hud .chief-badge span{display:none}.game-hud .chief-badge strong{font-size:14px;line-height:1.4;margin:0}.game-hud .hud-nav{gap:8px}.game-hud .hud-resources{grid-template-columns:1.2fr .9fr 1.3fr .75fr}.game-hud .hud-trusts{align-content:center;gap:20px 18px}.game-hud .hud-gauge>span{font-size:14px}.game-hud .hud-gauge strong{font-size:18px}.game-hud .hud-meter{height:11px;margin-top:10px}.game-hud .hud-stat>strong{font-size:28px}.game-hud .hud-outcome-rows b{font-size:17px}
@media(max-width:1150px){.header-phase{padding:5px}.header-phase:not(.current)>span{display:none}.weekly-command{grid-template-columns:65px 145px minmax(170px,1.2fr) minmax(160px,1fr) minmax(175px,1fr);gap:8px}.weekly-command-card{padding:10px;gap:7px}.weekly-command-card strong{font-size:14px}.weekly-command-card .command-card-icon{display:none}.game-hud .hud-body{grid-template-columns:125px minmax(0,1fr) 250px;gap:12px}.game-hud .hud-gauge>span{font-size:12px}.game-hud .hud-gauge strong{font-size:16px}}
@media(max-width:900px){.weekly-command{grid-template-columns:70px 1fr 1.3fr}.weekly-action-budget{flex-direction:row;align-items:center;justify-content:space-between}.action-tokens{min-width:70px}.weekly-mission{grid-column:1/3;grid-row:2}.weekly-cases{grid-column:3;grid-row:2}.weekly-next{grid-column:3;grid-row:1}.weekly-command-card{min-height:65px}.game-hud .hud-body{grid-template-columns:100px minmax(0,1fr)}.game-hud .hud-trusts{grid-column:2;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.game-hud .hud-command{grid-row:1/3}.game-hud .hud-nav{flex-direction:column;align-items:center}.game-hud .hud-nav>button{width:auto;flex-direction:row}.game-hud .hud-resources{grid-column:2;grid-row:1}}
@media(max-width:620px){body.is-playing .topbar{height:96px;flex-wrap:wrap;gap:6px;padding:8px 12px}.header-phases{flex-basis:100%;order:3;max-width:none;justify-content:space-between}.header-phase{padding:4px}.header-phase.current>span{display:inline}.game-brand strong{font-size:13px}.game-brand span{font-size:12px;letter-spacing:0}.top-actions{margin-left:auto}.weekly-command{grid-template-columns:65px minmax(0,1fr);gap:7px}.command-week>strong{font-size:26px}.weekly-action-budget{grid-column:2;flex-direction:row}.weekly-command-card{padding:11px;min-height:62px}.weekly-mission{grid-column:1/3;grid-row:2}.weekly-cases{grid-column:1/3;grid-row:3}.weekly-next{grid-column:1/3;grid-row:4}.weekly-command-card .command-card-icon{display:grid}.weekly-command-card strong{font-size:15px}.game-hud .hud-body{display:flex;gap:8px}.game-hud .hud-command{width:100%;padding:0}.game-hud .chief-badge{display:none}.game-hud .hud-nav{flex-direction:row;justify-content:space-around}.game-hud .hud-resources{width:100%;display:flex}.game-hud .hud-trusts{width:100%;gap:12px}.game-hud .hud-meter{height:7px;margin-top:6px}.game-hud .hud-gauge strong{font-size:14px}.game-hud .hud-gauge>span{font-size:12px}.game-hud .hud-stat>strong{font-size:22px}}

@media(min-width:1100px){.command-scene{grid-template-columns:420px minmax(0,1fr) 230px}.quick-slider-setting{grid-template-columns:104px minmax(0,1fr);min-height:24px}.quick-slider-control{grid-template-columns:60px minmax(0,1fr);gap:8px}.quick-slider-control input[type=range]{height:24px}.quick-slider-control output{line-height:1.15}.flow-live-impact{justify-content:flex-start}.flow-overview .overview-flow{padding-block:5px}.flow-overview .overview-flow-heading{margin-bottom:2px}.flow-overview .quick-settings{padding-top:2px;margin-top:2px;gap:1px}}
@media(min-width:1100px) and (max-height:800px){.flow-live-impact{right:115px}}
.game-hud .hud-nav{gap:6px}.game-hud .hud-nav>button{min-width:0}.game-hud .hud-nav>button>span{font-size:12px}

.case-verdict{text-align:center}.verdict-emblem{width:108px;height:108px;margin:0 auto 16px;animation:verdict-pop .5s cubic-bezier(.18,.8,.32,1.3)}.verdict-emblem svg{width:100%;height:100%;overflow:visible}.verdict-emblem circle:first-child{fill:#e5f8ec;stroke:#26a261;stroke-width:3}.verdict-emblem path{fill:none;stroke:#16924f;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:0;animation:verdict-check .65s ease-out}.case-verdict.correct h2{color:#137a43}.case-verdict.incorrect h2{color:#a9493d}.case-verdict.incorrect circle:first-child{fill:#fff0e9;stroke:#db8c70}.case-verdict.incorrect path{stroke:#b65e44;stroke-width:5;animation:none}.sad-eye{fill:#b65e44;stroke:none}.case-verdict h2{font-size:30px;margin:10px 0}.case-verdict p{font-size:15px;line-height:1.6;color:#5d6f8b;margin:12px 0 22px}.case-verdict-modal .outcome-effects{justify-content:center}.verdict-success .outcome-effects>span{background:#e8f6ed;color:#26724b}.case-verdict-modal .modal-inner{padding:26px}.case-verdict-modal .eyebrow{font-size:12px;color:#6d7f9c}
@keyframes verdict-pop{from{transform:scale(.65);opacity:0}to{transform:scale(1);opacity:1}}@keyframes verdict-check{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.verdict-emblem,.verdict-emblem path{animation:none}}

.home-nav{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:#3d5277;padding-inline:9px;border:1px solid #dce5f3;border-radius:8px}.home-nav:hover{background:#edf2ff;color:#0434f4}.home-nav .icon{width:17px;height:17px}.hero-actions{flex-wrap:wrap;gap:12px}.hero-actions .new-game-button{border-color:#6e88bc;color:white}.hero-actions .new-game-button:hover{background:#183877}.landing-how-link{color:#b8caee;font-size:14px;text-decoration:underline;text-underline-offset:4px;padding:8px 0}.landing-how-link:hover{color:white}.hero h1:focus{outline:none}
@media(max-width:620px){.home-nav>span{display:none}.home-nav{padding:7px}.hero-actions .landing-how-link{flex-basis:100%}.hero-actions>.btn{font-size:14px;padding:13px 16px}}

@media(max-width:620px){body.is-playing .topbar{height:auto;min-height:96px;row-gap:6px}}

/* Navigation lives beside the resources it manages; the command desk is for metrics. */
.game-hud .hud-body{grid-template-columns:minmax(0,1fr) 300px}
.game-hud .hud-resources{grid-column:1;grid-row:1}
.game-hud .hud-trusts{grid-column:2;grid-row:1}
.staff-heading>.team-manage{display:flex;align-items:center;justify-content:center;gap:5px;color:var(--blue);background:#edf2ff;border-color:#cdd9fb;padding:8px;font-weight:650;flex-shrink:0}
.flow-overview>.flow-manage{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:36px;padding:8px 12px;background:#edf2ff;border:1px solid #cdd9fb;border-radius:9px;color:var(--blue);font-size:12px;font-weight:650;position:sticky;bottom:0;z-index:2}
.flow-manage>.icon{width:15px;height:15px}.flow-manage>span{flex:1;text-align:left}
.flow-manage:hover,.staff-heading>.team-manage:hover{background:#dfe8ff;border-color:#8faafa}
@media(max-width:1150px){.game-hud .hud-body{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:900px){.game-hud .hud-body{grid-template-columns:minmax(0,1fr)}.game-hud .hud-trusts{grid-column:1;grid-row:2;border:0;padding:0;grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.staff-heading{flex-direction:column;align-items:flex-start;gap:5px;padding:6px 7px}.staff-heading>.team-manage{display:flex;font-size:12px;padding:5px 6px}.staff-heading>.team-manage .icon{display:none}.flow-overview>.flow-manage{min-height:34px}.staff-overview.scene-sidebar>.staff-deadline{padding:4px 6px;line-height:1.2}.staff-totals{padding-block:2px}}

@media(max-width:700px){.staff-overview.scene-sidebar{grid-template-rows:auto 1fr}.staff-roster{grid-row:1/3}}

@media(min-width:1100px){.quick-slider-setting{grid-template-columns:118px minmax(0,1fr)}.flow-overview .flow-live-impact{position:absolute;top:8px;left:80px;right:100px;margin:0;padding:0;border:0;line-height:15px}}

.report-next-week{display:grid;grid-template-columns:1fr 1.2fr;gap:8px 18px;padding:12px 14px;border:1px solid #cdd9fb;background:#f0f4ff;border-radius:10px;margin-bottom:12px}.report-next-week>div>span{display:flex;align-items:center;gap:5px;font-size:12px;letter-spacing:.5px;color:#526b94}.report-next-week strong{display:block;font-size:26px;color:#091b60;line-height:1.2;margin:5px 0}.report-next-week small{font-size:12px;color:#566c8f;line-height:1.4}.report-next-week p{grid-column:1/-1;border-top:1px solid #d9e3f6;padding-top:7px;font-size:12px;line-height:1.4;margin:0}.report-next-week .positive{color:#2b7850}@media(max-width:540px){.report-next-week{gap:8px;padding:10px}.report-next-week strong{font-size:22px}.report-next-week>div>span{letter-spacing:0}}

/* Make the case question the primary reading element in both dossier modes. */
.vaas-case-question,.manual-case-modal .modal-inner>.intro{font-size:18px;line-height:1.6;font-weight:550;color:#172746;background:#f1f5ff;border:1px solid #d9e3f6;border-left:4px solid var(--blue);border-radius:9px;padding:14px 18px;margin:0 0 18px;max-width:none}
@media(max-width:620px){.vaas-case-question,.manual-case-modal .modal-inner>.intro{font-size:18px;line-height:1.5;padding:12px 14px;margin-bottom:14px}}

/* Keep the operational verdict beside the controls that change it. */
.flow-overview{overflow:hidden;gap:7px;padding-right:0}
.flow-cards{display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;scrollbar-width:thin;padding-right:3px;flex:0 1 auto}
.flow-overview>.overview-title{flex-shrink:0}.flow-overview>.flow-manage{position:static}
.operation-scoreboard{flex-shrink:0;border:1px solid;border-radius:13px;padding:10px 13px;box-shadow:0 3px 10px #1339550b}
.operation-scoreboard.is-covered{color:#166443;background:#eaf8ef;border-color:#8dccaa}
.operation-scoreboard.is-overloaded{color:#a52f2b;background:#fff0ec;border-color:#efaaa0}
.operation-scoreboard>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.operation-scoreboard>header>strong{font-size:15px;line-height:1.3}.operation-scoreboard .help-dot{color:inherit;border-color:currentColor}
.operation-score-numbers{display:flex;align-items:center;width:100%;padding:7px 0 8px;border:0;background:none;color:inherit;text-align:left;gap:10px;cursor:pointer;border-radius:5px}
.operation-score-numbers>span{flex:1;min-width:0}.operation-score-numbers b{display:block;font-size:32px;letter-spacing:-1px;line-height:1.1;font-variant-numeric:tabular-nums}
.operation-score-numbers small{display:block;font-size:14px;line-height:1.25;margin-top:4px}.operation-score-numbers>i{font-size:22px;font-style:normal;opacity:.4;margin-right:6px}.operation-score-numbers>.icon{width:17px;height:17px;flex-shrink:0}
.operation-score-numbers:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.operation-score-result{border-top:1px solid #17452c25;padding-top:6px;display:flex;flex-direction:column;gap:2px;line-height:1.3}.operation-score-result strong{font-size:14px}.operation-score-result span{font-size:12px}
@media(min-width:1100px){.command-scene{grid-template-columns:440px minmax(0,1fr) 230px}}
@media(min-width:701px) and (max-height:850px){.flow-overview>.overview-title,.flow-overview>.streak-card{display:none}.operation-scoreboard{padding:8px 12px}.operation-score-numbers{padding:5px 0}.operation-score-numbers b{font-size:30px}.operation-score-numbers small{font-size:13px}.operation-score-result{padding-top:5px}}
@media(max-width:1099px) and (min-width:701px){.operation-score-numbers{gap:7px}.operation-score-numbers b{font-size:27px}.operation-score-numbers small{font-size:12px}}
@media(max-width:700px){.flow-overview{max-height:none;overflow:visible;display:flex}.flow-cards{max-height:230px;flex:none}.flow-overview>.overview-title{position:static}.flow-overview>.streak-card{display:none}.command-scene{grid-template-rows:auto 260px 145px}.operation-scoreboard{padding:10px 12px}.staff-heading{grid-row:1/3;justify-content:center}}

.flow-benefits{margin-top:4px;padding-top:4px;border-top:1px solid #e4ebf5;color:#355b86}.flow-automation{display:flex;align-items:center;gap:8px;line-height:1.3;font-size:12px}.flow-automation>strong{margin-left:auto;color:#163c75;font-size:13px}.flow-automation>span{font-size:12px;color:#64738a}.flow-benefit-tags{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px}.flow-benefit-tags>span{font-size:12px;line-height:1.25;padding:2px 5px;background:#eef3fb;border-radius:4px}.compact-flow>.flow-benefits{margin:10px 0;padding:9px 12px;border:1px solid #dae4f4;border-radius:9px}.compact-flow .compact-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-flow .flow-automation>strong{margin-left:4px}.compact-flow .flow-benefit-tags{margin-top:6px}

/* Three flow cards plus the verdict fit together on a standard desktop. */
.flow-benefits{margin-top:3px;padding-top:3px}.flow-boost{background:#edf3fc;border-radius:4px;padding:2px 5px;color:#254b7d!important;white-space:nowrap}.flow-benefit-tags>span{font-size:12px;padding:1px 4px}.flow-manage>small{font-size:12px;color:#536b92;font-weight:400}.operation-scoreboard{padding:8px 12px}.operation-score-numbers{padding:5px 0}.operation-score-result{padding-top:5px}.flow-overview>.overview-title .eyebrow{display:none}.flow-overview>.overview-title>strong{margin:0;font-size:15px}.flow-overview>.overview-title{padding:0 3px}
@media(min-width:1100px){.flow-overview .overview-flow{padding:4px 9px}.flow-overview .overview-flow-heading{height:21px;margin-bottom:1px}.flow-overview .mode-tag{padding:2px 5px}.flow-overview .overview-numbers{line-height:17px}.flow-overview .quick-slider-setting{min-height:22px}.flow-overview .quick-slider-control input[type=range]{height:22px}.flow-overview .flow-benefits{margin-top:2px;padding-top:3px}.flow-overview .flow-live-impact{top:6px}}
@media(min-width:701px) and (max-height:950px){.flow-overview>.overview-title{display:none}.flow-overview{gap:5px}.flow-cards{gap:5px}.flow-overview>.flow-manage{min-height:32px;padding:6px 10px}.operation-scoreboard>header>strong{font-size:14px}.operation-score-numbers b{font-size:30px}.operation-score-numbers small{font-size:13px}.operation-score-result strong{font-size:13px}}
@media(min-width:1100px){.flow-overview .overview-flow{padding-block:2px}.flow-cards{gap:4px}}
@media(max-width:700px){.compact-flow .compact-controls{grid-template-columns:1fr}.compact-flow .flow-automation{flex-wrap:wrap}}
/* Closing preview: causes, before/after and a recoverable last chance. */
.closing-warning{width:min(1080px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;border-color:#e3ae68}.closing-warning .modal-inner{padding:26px}.closing-heading .eyebrow{color:#996026;font-size:12px}.closing-heading h2{font-size:28px;margin:10px 0;line-height:1.2}.closing-heading>p{font-size:14px;line-height:1.5;color:#52617a;margin:0 0 18px}.closing-warning .closing-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px}.closing-metric{background:#f0f4fa;border:1px solid #dce4ef;border-radius:12px;padding:12px;color:#384b6b}.closing-metric>span{font-size:13px;font-weight:700}.closing-metric b{display:flex;align-items:baseline;gap:8px;font-size:28px;margin:6px 0}.closing-metric b i{font-size:19px;font-style:normal;font-weight:400;color:#8e9ab0}.closing-metric small{font-size:12px;font-weight:400;line-height:1.35;display:block}.closing-metric.protected{background:#fff6e8;border-color:#efc57e;color:#935915}.closing-metric.fatal{background:#fff0ed;border-color:#efa395;color:#a23c31}.closing-details{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.closing-details h3{font-size:15px;margin:0 0 7px}.closing-details section>p{font-size:13px;line-height:1.5;color:#62718a;margin:0 0 12px}.closing-flow-risk{border-top:1px solid #e0e6ef;padding:10px 0}.closing-flow-risk strong{display:block;font-size:14px;margin-bottom:5px}.closing-flow-risk strong small{font-size:12px;font-weight:400;color:#62718a;margin-left:5px}.closing-flow-risk>span{display:block;font-size:12px;line-height:1.55;color:#52617a}.closing-cause-row{padding:10px 12px;background:#fff2ee;border-radius:9px;margin-bottom:8px}.closing-cause-row>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.closing-cause-row strong{font-size:13px;color:#9a4334}.closing-cause-row p{font-size:12px;line-height:1.6;color:#934f42;margin:5px 0 0}.closing-more summary{font-size:12px;cursor:pointer;padding:7px 0;color:#52617a}.closing-rule{font-size:12px;line-height:1.5;background:#f1f5fc;color:#506484;padding:12px 14px;border-radius:10px;margin:12px 0 16px}.closing-rule strong{margin-right:7px}.closing-actions{display:flex;gap:12px}.closing-actions .btn{flex:1;margin:0}.closing-not-committed{font-size:12px;color:#728096;text-align:center;margin:12px 0 0}.survival-notice{padding:12px 15px;background:#fff4df;color:#895820;border:1px solid #efd09b;border-radius:10px;margin-bottom:14px;font-size:12px;line-height:1.5}.survival-notice strong,.survival-notice span{display:block}
@media(max-width:700px){.closing-warning .modal-inner{padding:18px}.closing-heading h2{font-size:24px}.closing-warning .closing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.closing-details{grid-template-columns:1fr;gap:16px}.closing-actions{flex-direction:column}}
@media(min-width:701px){.closing-warning{overflow:hidden}.closing-warning .modal-inner{display:flex;flex-direction:column;max-height:calc(100dvh - 36px);overflow:hidden}.closing-heading,.closing-warning .closing-metrics,.closing-rule,.closing-actions,.closing-not-committed{flex-shrink:0}.closing-details{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:3px}}
@media(min-width:701px) and (max-height:820px){.closing-warning .modal-inner{padding:18px 22px}.closing-heading h2{font-size:24px;margin:7px 0}.closing-heading>p{font-size:13px;margin-bottom:12px}.closing-warning .closing-metrics{margin-bottom:12px}.closing-metric{padding:9px 11px}.closing-metric b{font-size:25px;margin:4px 0}.closing-details{gap:20px}.closing-details section>p{font-size:12px;line-height:1.4;margin-bottom:8px}.closing-flow-risk{padding:7px 0}.closing-flow-risk strong{margin-bottom:3px}.closing-flow-risk>span{line-height:1.4}.closing-cause-row{padding:8px 10px;margin-bottom:6px}.closing-cause-row p{line-height:1.4}.closing-rule{padding:8px 12px;margin:8px 0 10px}.closing-actions .btn{padding:12px}.closing-not-committed{margin-top:8px}}

/* Phase pricing and a legible brand signature in shared results. */
.investment-note{font-size:12px;color:#596f91;margin:8px 0;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.score-card .score-footer{align-items:center;gap:16px;flex-wrap:wrap}
.score-brand{padding:12px 16px;background:#fff;border-radius:12px;display:grid;gap:8px;flex-shrink:0}
.score-brand>span{font-size:12px;color:#526785;font-weight:700;letter-spacing:1.2px}
.score-card .score-brand .vaas-logo{font-size:32px;background:transparent;border-radius:0;vertical-align:0}
.score-brand>strong{line-height:1;display:block}
/* First-session guide: the real operation remains visible beneath the spotlight. */
dialog.guided-tour{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;color:#17243d}
dialog.guided-tour::backdrop{background:transparent;backdrop-filter:none}
.guided-tour.tour-no-target{background:rgba(4,11,42,.75)}
.tour-spotlight{position:fixed;border:3px solid #cdff29;border-radius:14px;box-shadow:0 0 0 9999px rgba(4,11,42,.75);pointer-events:none}
.tour-card{position:fixed;width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #d4def0;border-radius:20px;padding:22px;box-shadow:0 18px 60px #0005;text-align:left}
.tour-header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.tour-progress{font:700 12px/1.3 monospace;letter-spacing:1.1px;color:#617396}
.tour-skip,.tour-explore{font:inherit;font-size:12px;color:#526484;background:none;border:0;cursor:pointer;padding:6px;border-radius:5px}
.tour-track{height:4px;margin:12px 0 20px;background:#e8edf7;border-radius:4px;overflow:hidden}
.tour-track span{display:block;height:100%;background:#0035ff;border-radius:4px}
.tour-topic{display:flex;gap:10px;align-items:center;color:#0035ff;font-size:13px;font-weight:700}
.tour-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eef2ff}
.tour-card h2{font-size:25px;line-height:1.15;letter-spacing:-.7px;margin:12px 0;outline:none;color:#17243d}
.tour-body p{font-size:15px;line-height:1.55;margin:0 0 14px;color:#4c5f7c}
.tour-body b{color:#17243d;font-weight:700}
.tour-body p.tour-tip{font-size:13px;line-height:1.5;padding:12px;background:#f1f5fc;border-radius:10px;margin-bottom:18px}
.tour-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tour-footer .btn{font-size:13px;min-height:42px;padding:10px 14px;white-space:normal}
.tour-footer .btn:disabled{opacity:.35}
.tour-explore{display:block;margin:12px auto 0;text-decoration:underline;text-underline-offset:3px}
.tour-card button:focus-visible{outline:3px solid #0035ff;outline-offset:3px}
.tutorial-hire-note{padding:12px;border-radius:10px;background:#eef8da;color:#315d28;font-size:13px;line-height:1.5;margin:0 0 12px}
.tutorial-hire-note b{display:block;font-size:14px}
.tutorial-hire-target{outline:3px solid #8cbe20;outline-offset:4px}
body.is-touring .office-panel *{animation-play-state:paused!important}
@media(max-width:620px){.tour-card{padding:16px}.tour-card h2{font-size:23px}.tour-body p{font-size:14px}.tour-track{margin-bottom:12px}.tour-body p.tour-tip{padding:10px;margin-bottom:12px}}
.bureau-report{padding:20px;background:#f6f8fc;color:#253751}
.bureau-report>header{display:flex;flex-direction:column;gap:6px;padding-bottom:16px;border-bottom:1px solid #dce3f0}
.bureau-report>header strong{font-size:20px}.bureau-report>header small{font-size:13px;color:#5c6e89}
.bureau-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:16px}
.bureau-report h3{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 12px}
.bureau-report p{font-size:14px;line-height:1.6;margin:10px 0}
.bureau-report details{font-size:13px}.bureau-report summary{cursor:pointer;color:#0035ff}
.bureau-legal-status{display:inline-block;padding:6px 9px;background:#e7ecf6;border-radius:6px;font-size:12px;font-weight:700}
.bureau-report p.bureau-report-note{font-size:12px;color:#5c6e89;margin:14px 0 0}
.browser-tabs{overflow-x:auto}.browser-tabs button{flex-shrink:0}
@media(max-width:700px){.bureau-report-grid{grid-template-columns:1fr}.bureau-report{padding:14px}}
/* Give the flow controls the height actually available beside the office. */
@media(min-width:701px){
 .flow-overview{container-type:size;container-name:flows}
 .flow-overview .flow-cards{flex:1 1 0;display:grid;grid-template-rows:repeat(3,minmax(min-content,1fr));align-content:stretch;gap:8px}
 .flow-cards>.overview-flow{display:flex;flex-direction:column;justify-content:space-between;flex-shrink:0}
}
@container flows (min-height:700px){
 .flow-cards>.overview-flow{padding:12px 13px}
 .flow-cards .overview-flow-heading{height:auto;min-height:25px;margin-bottom:5px}
 .flow-cards .overview-flow-head>strong{font-size:17px}
 .flow-cards .overview-numbers{line-height:23px;font-size:13px}
 .flow-cards .overview-numbers b{font-size:18px}
 .flow-cards .quick-settings{margin-top:7px;padding-top:7px;gap:8px}
 .flow-cards .quick-slider-setting{min-height:30px}
 .flow-cards .quick-slider-control input[type=range]{height:30px}
 .flow-cards .quick-slider-control output,.flow-cards .flow-tip-trigger{font-size:13px;line-height:1.4}
 .flow-cards .flow-benefits{margin-top:9px;padding-top:8px}
 .flow-cards .flow-automation{min-height:24px}
 .flow-cards .flow-automation>strong{font-size:14px}
 .flow-cards .flow-benefit-tags{gap:5px;margin-top:6px}
 .flow-cards .flow-live-impact{top:16px;left:91px}
}

/* Final score emphasizes management quality and keeps the operational detail optional. */
.score-confidence{padding:16px;border:1px solid #cbd9ff;border-radius:14px;background:#eef3ff;margin-bottom:18px}.score-section-title{display:flex;justify-content:space-between;gap:12px;font-size:15px;color:#102b76}.score-confidence>p,.score-confidence>small{display:block;font-size:12px;line-height:1.5;color:#526784;margin:7px 0}.score-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0}.score-trust-grid>div{display:grid;gap:5px;min-width:0;padding:10px 8px;background:#fff;border-radius:9px}.score-trust-grid span{font-size:12px;color:#526784}.score-trust-grid strong{font-size:26px;color:#122c70;letter-spacing:-1px}.score-trust-grid strong small{font-size:12px;margin-left:2px}.score-trust-grid b{font-size:12px;color:#1d784e;white-space:nowrap}.score-rewards .score-row,.score-operation .score-row{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:9px 0;margin:0;border-bottom:1px solid #e9eef7;font-size:13px}.score-row>strong{font-family:'JetBrains Mono',monospace;font-size:13px;white-space:nowrap}.score-formula{min-width:0}.score-formula summary{cursor:pointer;list-style:none;line-height:1.5}.score-formula summary::-webkit-details-marker{display:none}.score-formula summary span{color:#657fae}.score-formula p{font-size:12px;line-height:1.5;margin:6px 0;color:#526784}.score-operation{margin:15px 0}.score-operation>summary{cursor:pointer;padding:12px;background:#f3f6fb;border-radius:9px;font-size:13px}.score-operation>summary strong{float:right}.score-calculation{gap:12px;flex-wrap:wrap}.breakdown .score-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:550px){.score-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.score-section-title{font-size:14px}.score-confidence{padding:12px}.score-rewards .score-row,.score-operation .score-row{font-size:12px}.score-row>strong{font-size:12px}}

.office-is-idle .worker-motion,.office-is-idle .worker-body,.office-is-idle .worker-arm,.office-is-idle .worker-head,.office-is-idle .worker-leg,.office-is-idle .worker-seated-legs,.office-is-idle .worker-walking-legs{animation:none!important;transform:none}.office-is-idle .worker-walking-legs,.office-is-idle .worker-eyes{opacity:0!important}.office-is-idle .worker-seated-legs,.office-is-idle .worker-sleep-eyes,.office-is-idle .worker-sleep{opacity:1!important}.office-is-idle .worker-head{transform-origin:0 -59px;animation:office-doze 4s ease-in-out var(--delay) infinite!important}.office-is-idle .worker-arm{transform:translateY(4px)}.office-is-idle .sleep-z{animation:office-zzz 3s ease-in-out var(--delay) infinite}.office-is-idle .z-two{animation-delay:calc(var(--delay) + .5s)}.office-is-idle .z-three{animation-delay:calc(var(--delay) + 1s)}.office-is-idle .office-speech{display:none!important}.office-is-idle .monitor-work .screen-line{animation-play-state:paused}@keyframes office-doze{0%,100%{transform:translateY(4px) rotate(13deg)}50%{transform:translateY(6px) rotate(18deg)}}@keyframes office-zzz{0%{opacity:.35;transform:translateY(0)}60%{opacity:1}100%{opacity:.15;transform:translateY(-8px)}}@media(prefers-reduced-motion:reduce){.office-is-idle .worker-head{animation:none!important;transform:translateY(5px) rotate(15deg)}.office-is-idle .sleep-z{animation:none!important;opacity:1}}

/* The office is also a people-management surface. */
.scene-office .office-svg{cursor:pointer}.worker[role="button"]{outline:none;cursor:pointer}.worker.is-inspected .worker-motion,.worker.is-inspected .worker-head,.worker.is-inspected .worker-body{animation-play-state:paused}.worker.is-inspected .worker-focus-ring,.worker:focus-visible .worker-focus-ring{opacity:1}.office-people-hint{position:absolute;top:46px;left:18px;padding:5px 8px;border:0;border-radius:6px;background:#ffffffa6;color:#546f83;font-size:12px;cursor:pointer}.worker-menu{position:fixed;z-index:90;width:min(300px,calc(100vw - 24px));background:#fff;border:1px solid #bccde8;box-shadow:0 12px 42px #122f5a38;border-radius:15px;padding:16px;color:#182944;font-size:12px}.worker-menu[hidden]{display:none}.worker-menu header{display:flex;align-items:center;justify-content:space-between;gap:12px}.worker-menu header strong{display:block;font-size:19px}.worker-menu header span{display:block;margin-top:4px;color:#526e8b}.worker-menu .worker-mood{font-size:28px;color:#55955c}.worker-workload{display:grid;grid-template-columns:1fr 1fr;background:#f1f5fb;border-radius:10px;padding:12px;margin:14px 0;gap:10px}.worker-workload strong{display:block;font-size:27px;line-height:1.2}.worker-workload span{display:block;font-size:12px;margin-top:4px}.worker-workload.enough{background:#edf8f1;color:#216448}.worker-workload.overloaded{background:#fff0ed;color:#a7392c}.manager-workload{grid-template-columns:auto 1fr;align-items:center}.employee-actions{display:flex;gap:7px;align-items:center}.employee-actions button{font-size:12px;padding:7px 10px;border:1px solid #d6e0f0;border-radius:7px;background:#fff;cursor:pointer;white-space:nowrap;margin:0}.employee-actions .promote-btn{color:#073eff;background:#eff3ff}.employee-actions .fire-btn{color:#ad4939}.employee-actions button:disabled{opacity:.45;cursor:not-allowed}.worker-menu .employee-actions>span{flex:1}.worker-menu .employee-actions button{width:100%;min-height:36px}.worker-menu-note{display:block;color:#697e98;font-size:12px;line-height:1.5;margin:10px 0}.worker-manage{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 0 0;margin-top:12px;border:0;border-top:1px solid #e0e7f2;background:transparent;color:#1444d5;font-size:12px;cursor:pointer}.compact-employee .employee-actions{flex-direction:column;align-items:stretch}.promotion-price{background:#f0f5ff;border:1px solid #dae4ff;border-radius:12px;padding:16px;margin:18px 0}.promotion-price strong{font-size:27px;display:block}.promotion-price span{display:block;font-size:12px;color:#54729a;margin-top:5px}

.player-name-label{display:grid;gap:7px;margin-bottom:18px;font-weight:700;font-size:15px}.player-name-label input{padding:11px 13px;border:1px solid #bccce8;border-radius:9px;font:inherit;color:#172641;background:white}.player-name-label small{font-size:12px;font-weight:400;color:#58708d}.player-name-label [role=alert]{font-size:13px;color:#b32929}.ranking-own{padding:14px;background:#edf3ff;border-radius:10px}.ranking-empty{padding:32px 10px;text-align:center;line-height:1.6;color:#60728b}

/* The office brings people, trust and resources into one management surface. */
body.is-playing{height:100dvh;overflow:hidden;padding-bottom:0}
body.is-playing .fixed-playfield{height:calc(100dvh - 60px);max-width:1920px;margin:0 auto;padding:12px 18px;gap:12px;overflow:hidden}
.command-scene{grid-template-columns:minmax(350px,26%) minmax(0,1fr) 224px;grid-template-rows:minmax(0,1fr);gap:12px;flex:1;min-height:0;height:auto}
.command-scene .flow-overview{display:flex;flex-direction:column;container-type:normal;max-height:none;min-height:0;gap:8px;overflow:hidden;padding:0}
.flow-overview>.overview-title{display:block;position:static;padding:0 3px}
.flow-overview>.overview-title .eyebrow{display:none}
.flow-overview>.overview-title>strong{font-size:16px}
.flow-overview .operation-scoreboard{flex-shrink:0;padding:10px 12px}
.flow-overview .operation-score-numbers{padding:6px 0;gap:10px}
.flow-overview .operation-score-numbers b{font-size:31px;line-height:1.05}
.flow-overview .operation-score-numbers small{font-size:12px;line-height:1.25;margin-top:5px}
.flow-overview .operation-score-result{padding-top:6px;font-size:12px}
.flow-overview .flow-cards{display:grid;grid-template-rows:repeat(3,minmax(min-content,1fr));flex:1 1 0;min-height:0;max-height:none;gap:8px;padding-right:0;overflow-y:auto}
.flow-overview .flow-cards>.overview-flow{display:flex;flex-direction:column;justify-content:space-between;padding:9px 11px;min-height:162px}
.flow-overview .overview-flow-heading{height:auto;min-height:24px;margin-bottom:3px;gap:5px}
.flow-overview .overview-flow-head{gap:6px;align-items:center}
.flow-overview .overview-flow-head>strong{font-size:15px;line-height:1.2;white-space:normal;text-align:left;letter-spacing:-.3px}
.flow-overview .mode-tag{padding:3px 5px;max-width:108px;line-height:1.2;white-space:normal;text-align:right;flex-shrink:0;font-size:12px}
.flow-overview .overview-numbers{line-height:20px;font-size:12px}
.flow-overview .overview-numbers b{font-size:16px}
.flow-overview .quick-settings{margin-top:4px;padding-top:5px;gap:3px}
.flow-overview .quick-slider-setting{grid-template-columns:112px minmax(0,1fr);min-height:25px}
.flow-overview .quick-slider-control{grid-template-columns:64px minmax(0,1fr);gap:8px}
.flow-overview .quick-slider-control input[type=range]{height:25px}
.flow-overview .quick-slider-control output,.flow-overview .flow-tip-trigger{font-size:12px;line-height:1.25;white-space:normal}
.flow-overview .flow-benefits{padding-top:5px;margin-top:4px}
.flow-overview .flow-automation{min-height:20px;gap:5px}
.flow-overview .flow-automation>strong{font-size:12px}
.flow-overview .flow-boost{font-size:12px;padding:2px 4px}
.flow-overview .flow-benefit-tags{margin-top:4px;gap:4px}
.flow-overview .flow-live-impact{position:static;display:flex;justify-content:space-between;align-items:center;pointer-events:auto;margin:5px 0 0;padding:5px 0 0;border:0;border-top:1px solid #e5ebf4;font-size:12px;line-height:1.2;color:#617592}
.flow-overview .flow-live-impact b{font-size:14px}
.flow-overview>.flow-manage{min-height:36px;padding:8px 10px;font-size:12px}
.flow-overview>.flow-manage small{margin-left:auto;white-space:nowrap;font-size:12px}
.office-workspace{display:flex;flex-direction:column;min-width:0;min-height:0;gap:10px}
.office-trusts.hud-trusts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border:0;padding:0;flex-shrink:0}
.office-trusts .hud-gauge{background:white;border:1px solid #d8e2ed;border-radius:12px;padding:12px 10px;min-width:0;box-shadow:0 2px 6px #102d5010;color:#415471}
.office-trusts .hud-gauge>span{display:flex;flex-wrap:wrap;align-items:center;column-gap:5px;row-gap:4px;color:#415471;font-size:13px;font-weight:600}
.office-trusts .hud-gauge>span>.icon{display:none}
.office-trusts .hud-gauge strong{color:#176947;font:750 26px/1.1 'TT Interphases Pro','Helvetica Neue',sans-serif;margin-left:auto}
.office-trusts .hud-meter{display:block;height:7px;border-radius:5px;margin-top:10px;background:#e5eee8;overflow:hidden}
.office-trusts .hud-meter b{display:block;height:100%;background:#44a27c;border:0;border-radius:5px}
.office-trusts .hud-meter:after{display:none}
.office-trusts .hud-gauge.caution strong{color:#9a650e}
.office-trusts .hud-gauge.caution .hud-meter b{background:#d9a233}
.office-trusts .hud-gauge.danger{border-color:#e8b7b0;background:#fff7f5}
.office-trusts .hud-gauge.danger strong{color:#b3342a}
.office-trusts .hud-gauge.danger .hud-meter b{background:#d25745}
.office-trusts .hud-gauge:hover{border-color:#8da6cd;box-shadow:0 3px 9px #102d5018}
.fixed-playfield .office-workspace .scene-office{display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;flex:1;min-height:0;height:auto;isolation:isolate}
.office-heading{padding:14px 14px 0;z-index:1;flex-shrink:0}
.office-workspace .scene-office .office-topline{position:static;display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px;color:#52736d;font-size:12px}
.office-workspace .office-topline .eyebrow{font-size:12px;letter-spacing:.8px}
.office-topline>span:last-child{white-space:nowrap}
.office-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.office-action-wrap{display:block;min-width:0;border-radius:8px}
.office-action{display:flex;align-items:center;gap:8px;width:100%;height:100%;min-height:55px;padding:9px;background:#ffffffd9;border:1px solid #c8d8d6;border-radius:9px;text-align:left;color:#203f43}
.office-action>.icon{width:17px;height:17px;color:#476c65}
.office-action b{display:block;font-size:12px;font-weight:700;line-height:1.3}
.office-action small{display:block;font-size:12px;color:#667c81;margin-top:4px;line-height:1.2}
.office-action:hover:not(:disabled){background:white;border-color:#6a9990}
.office-action:disabled{opacity:.5}
.office-canvas{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}
.office-workspace .scene-office .office-canvas>.office-svg{width:100%;height:100%;min-height:0;max-height:none;margin:0;padding:0;cursor:default}
.office-bottom{flex-shrink:0;padding:0 12px 12px;z-index:1}
.office-context{display:flex;justify-content:space-between;gap:10px;margin:0 2px 8px;color:#65807e;font-size:12px;line-height:1.3}
.office-context>span:last-child{white-space:nowrap;opacity:.75}
.office-summary{display:grid;grid-template-columns:1.15fr 1.25fr .85fr;gap:7px}
.office-stat{min-width:0;padding:11px 10px;background:#ffffffef;border:1px solid #d5e1df;border-radius:10px;text-align:left;display:flex;flex-direction:column;gap:5px;color:#20364d}
.office-stat>span{display:flex;gap:5px;align-items:center;font-size:12px;font-weight:600;color:#647c8b;line-height:1.2}
.office-stat>span .icon{width:14px;height:14px}
.office-stat>strong{font-size:23px;font-weight:750;line-height:1.1;letter-spacing:-.6px}
.office-stat>strong small{font-size:13px;font-weight:500;letter-spacing:0;color:#6e8094}
.office-stat>small{font-size:12px;color:#5f768a;line-height:1.25}
.office-stat .negative{color:#b24332}
.office-stat.forecast-good>strong{color:#177454}
.office-stat.forecast-warning>strong,.office-stat.forecast-warning>small{color:#ab482d}
.office-stat:hover{background:#fff;border-color:#8ca9c3;box-shadow:0 3px 10px #102d5012}
.office-workspace .office-inbox{top:calc(50% - 22px);bottom:auto;left:12px;padding:8px;font-size:12px;max-width:190px;opacity:.95}
.staff-overview.scene-sidebar{height:auto;min-height:0;display:flex;flex-direction:column;grid-column:auto;grid-row:auto;border-radius:14px}
.staff-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:14px 12px;grid-column:auto;grid-row:auto}
.staff-heading>strong{font-size:16px}
.staff-seats{color:#667e99;font-size:12px;white-space:nowrap}
.staff-indicators{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 10px 11px;border-bottom:1px solid #e5ebf3}
.staff-indicators>div{min-width:0;background:#f4f7fb;border:1px solid #e5ebf3;border-radius:8px;padding:8px}
.staff-indicators b{display:block;font-size:18px;color:#315b89;line-height:1.1}
.staff-indicators>div.negative b{color:#b24332}
.staff-indicators span{display:flex;align-items:center;gap:4px;color:#6b809a;font-size:12px;line-height:1.25;margin-top:4px}
.staff-indicators .help-icon{margin:0}
.staff-roster{display:block;flex:1;min-height:0;overflow:auto;padding:5px 8px;grid-column:auto;grid-row:auto;border-left:0}
.staff-row{width:100%;padding:12px 3px;gap:8px}
.staff-row:hover{background:#f4f7ff}
.staff-info>span>strong{font-size:13px}
.staff-info small{font-size:12px;line-height:1.5}
.team-hire{display:flex;align-items:center;justify-content:center;gap:7px;margin:8px 10px 0;padding:10px 6px;background:#edf2ff;border:1px solid #d6e0ff;color:#1548d3;border-radius:8px;font-size:12px;font-weight:650;flex-shrink:0}
.team-hire>.icon{width:15px;height:15px}
.staff-note{padding:9px 12px;font-size:12px;line-height:1.4;border:0;flex-shrink:0}
.scene-office .empty-seat,.scene-office .empty-seat-hit{cursor:pointer}
.scene-office .empty-seat:is(:hover,:focus-visible,.is-inspected){filter:drop-shadow(0 0 6px #4973ff);outline:none}
.scene-office .empty-seat-hit.is-inspected rect,.scene-office .empty-seat-hit:hover rect{fill:#0434f414;stroke:#0434f4;stroke-width:1;stroke-dasharray:3 3}
.worker-menu{max-height:calc(100dvh - 24px);overflow:auto}
.seat-hire-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.seat-hire-option{display:block;min-width:0}
.seat-hire-option button{display:flex;flex-direction:column;gap:7px;width:100%;height:100%;text-align:left;padding:12px 9px;border:1px solid #cfdcfa;background:#f1f5ff;border-radius:9px;color:#234b97}
.seat-hire-option button b{font-size:13px;line-height:1.3}
.seat-hire-option button>span{font-size:15px;font-weight:700}
.seat-hire-option button small{display:block;font-size:12px;font-weight:400;line-height:1.3;color:#657da0}
.seat-hire-option button:hover:not(:disabled){background:#e4edff;border-color:#91afe9}
.hiring-modal{width:min(500px,calc(100vw - 24px))}
.hiring-modal .modal-inner{padding:25px}
.hiring-modal h2{font-size:27px}
.hiring-prompt{margin-top:18px}
.hire-role-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#f0f3f8;padding:5px;border-radius:10px;margin-bottom:22px}
.hire-role-tabs button{padding:10px;border-radius:7px;background:transparent;color:#637892;font-size:14px}
.hire-role-tabs button[aria-pressed=true]{background:white;box-shadow:0 1px 5px #20365d20;color:#153bd9;font-weight:700}
.hire-quantity{border:0;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.hire-quantity legend{margin-bottom:10px;font-size:15px;font-weight:700}
.hire-quantity button{padding:12px;background:#f5f7fc;border:1px solid #d5dfed;border-radius:8px;font-size:20px;font-weight:700}
.hire-quantity button[aria-pressed=true]{background:#edf2ff;border-color:#0434f4;color:#0434f4;box-shadow:0 0 0 1px #0434f4}
.hire-price{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;padding:14px;background:#f3f7fc;border:1px solid #e2e9f2;border-radius:10px}
.hire-price small{font-size:12px;color:#697f98}
.hire-price strong{display:block;font-size:23px;margin-top:5px;color:#204675}
.hire-blocked{padding:12px;background:#fff3e5;color:#975c24;border:1px solid #f1d9b4;border-radius:9px;font-size:13px;line-height:1.4;margin:12px 0}
.hiring-prompt>p{font-size:13px;line-height:1.5;margin:12px 0;color:#607492}
body.is-playing .toast{bottom:20px}
@media(min-width:1600px){
 .office-trusts .hud-gauge{padding:15px 16px}
 .office-trusts .hud-gauge strong{font-size:32px}
 .office-trusts .hud-gauge>span{font-size:15px}
 .office-action{min-height:62px;padding:11px}
 .office-action b{font-size:14px}
 .office-stat{padding:14px}
 .office-stat>strong{font-size:28px}
 .flow-overview .flow-cards>.overview-flow{padding:13px 14px}
 .flow-overview .quick-settings{gap:8px}
 .flow-overview .quick-slider-setting{min-height:30px}
 .flow-overview .overview-flow-head>strong{font-size:17px}
}
@media(min-width:1151px) and (max-height:820px){
 body.is-playing .fixed-playfield{padding:9px 12px;gap:9px}
 .command-scene{gap:9px}
 .flow-overview>.overview-title{display:none}
 .flow-overview .operation-scoreboard{padding:8px 11px}
 .flow-overview .operation-score-numbers b{font-size:28px}
 .flow-overview .operation-score-result{padding-top:4px}
 .flow-overview .flow-cards{gap:6px}
 .flow-overview .flow-cards>.overview-flow{min-height:0;padding:6px 9px}
 .flow-overview .flow-live-impact{display:none}
 .flow-overview .overview-flow-heading{min-height:20px;margin:0}
 .flow-overview .flow-benefit-tags{max-height:34px;overflow:auto}
 .office-heading{padding:11px 11px 0}
 .office-workspace .office-topline{margin-bottom:8px}
 .office-context>span:last-child{display:none}
 .office-trusts .hud-gauge{padding:9px 8px}
 .office-trusts .hud-gauge>span{font-size:12px}
 .office-action{padding:8px 7px;gap:4px}
 .office-action>.icon{display:none}
 .office-stat{padding:9px 8px}
 .office-stat>strong{font-size:21px}
 .office-stat>span .icon{display:none}
}
@media(max-width:1150px){
 body.is-playing{height:auto;overflow:auto}
 body.is-playing .fixed-playfield{height:auto;min-height:calc(100dvh - 54px);overflow:visible;padding:12px}
 .command-scene{grid-template-columns:minmax(320px,37%) minmax(0,1fr);grid-template-rows:auto auto;gap:12px;flex:none;min-height:660px}
 .command-scene .flow-overview{grid-column:1;grid-row:1;overflow:visible;min-height:620px}
 .flow-overview .flow-cards{max-height:none;overflow:visible;flex:1;gap:8px}
 .office-workspace{grid-column:2;grid-row:1;min-height:620px}
 .staff-overview.scene-sidebar{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:210px minmax(0,1fr) 190px;grid-template-rows:auto 1fr;min-height:170px}
 .staff-heading{grid-column:1;grid-row:1;padding:12px 10px}
 .staff-indicators{grid-column:1;grid-row:2;border-bottom:0;padding:0 10px 10px}
 .staff-roster{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:0 9px;align-content:start;max-height:250px;overflow:auto;border-left:1px solid #e5ebf3}
 .team-hire{grid-column:3;grid-row:1;align-self:end}
 .staff-note{grid-column:3;grid-row:2}
 .office-trusts.hud-trusts{gap:5px}
 .office-trusts .hud-gauge{padding:10px 8px}
 .office-trusts .hud-gauge strong{font-size:24px}
 .office-trusts .hud-gauge>span{display:grid;gap:5px;font-size:12px}
 .office-trusts .hud-gauge strong{margin:0}
 .office-action>.icon{display:none}
 .office-context>span:last-child{display:none}
 .office-stat{padding:10px 8px}
 .office-stat>strong{font-size:22px}
 .office-stat>span .icon{display:none}
}
@media(max-width:800px){
 .command-scene{display:flex;flex-direction:column;min-height:0}
 .command-scene .flow-overview{min-height:0;order:1}
 .office-workspace{order:0;min-height:570px}
 .office-workspace .scene-office{min-height:490px}
 .office-canvas{min-height:270px}
 .office-workspace .scene-office .office-canvas>.office-svg{height:300px}
 .flow-overview .flow-cards{grid-template-columns:1fr;grid-template-rows:none}
 .flow-overview>.overview-title{display:block}
 .flow-overview .flow-cards>.overview-flow{min-height:180px;padding:12px}
 .staff-overview.scene-sidebar{order:2;display:flex;min-height:280px}
 .staff-indicators{grid-template-columns:repeat(4,1fr)}
 .staff-roster{max-height:350px;border:0}
 .office-trusts .hud-gauge>span{display:flex;flex-wrap:wrap;font-size:12px}
 .office-trusts .hud-gauge strong{margin-left:auto}
 .office-heading{padding:12px 10px 0}
 .office-toolbar{gap:5px}
 .office-action{padding:8px;min-height:65px}
 .office-topline .eyebrow{letter-spacing:0!important}
 .office-bottom{padding:0 8px 8px}
 .office-summary{gap:5px;grid-template-columns:1.1fr 1.2fr .75fr}
 .office-stat{padding:10px 7px}
 .office-stat>strong{font-size:20px;letter-spacing:-.5px}
 .office-stat>strong small{font-size:12px}
 .office-context{font-size:12px}
 .hiring-modal .modal-inner{padding:20px}
 .hire-price strong{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.empty-seat,.empty-seat-hit{transition:none}}
@media(min-width:1151px) and (max-width:1599px){.command-scene{grid-template-columns:380px minmax(0,1fr) 220px}}
@media(min-width:1151px) and (max-height:820px){
 .flow-overview .operation-scoreboard>header{font-size:13px;line-height:18px}
 .flow-overview .operation-score-numbers{padding:4px 0}
 .flow-overview .operation-score-numbers small{margin-top:3px}
 .flow-overview .quick-slider-setting{min-height:22px}
 .flow-overview .quick-slider-control input[type=range]{height:22px}
 .flow-overview .quick-settings{padding-top:3px;margin-top:3px;gap:1px}
 .flow-overview .flow-benefits{padding-top:3px;margin-top:3px}
 .flow-overview .flow-automation{min-height:18px}
 .office-workspace .scene-office .office-canvas>.office-svg{transform:scale(1.08)}
}
@media(min-width:1151px) and (max-height:820px){
 .command-scene .flow-overview{gap:6px}
 .flow-overview .operation-scoreboard{padding-block:6px}
 .flow-overview .operation-score-numbers{padding-block:2px}
 .flow-overview .flow-cards>.overview-flow{padding-block:5px}
 .flow-overview>.flow-manage{min-height:32px;padding-block:6px}
}

/* Flow controls stay on the desk; contextual details open beside their card. */
.weekly-command{padding:10px;background:#dfe7ff;border:1px solid #c4d1f8;border-radius:16px;box-shadow:0 3px 12px #132e8110}
.weekly-command .command-week{padding-left:5px;color:#172b68}
.weekly-command .command-week>span{color:#516699}
.weekly-command .weekly-action-budget{background:#eef2ff;border-color:#b7c9ff}
.flow-overview>.overview-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px}
.flow-overview>.overview-title small{font-size:12px;color:#6b809c;white-space:nowrap}
.flow-overview .flow-cards>.overview-flow{padding:12px;gap:5px;min-height:205px}
.flow-overview .overview-flow-heading{display:flex;gap:6px;align-items:center;margin:0;min-height:32px}
.flow-identity{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.flow-identity>strong{font-size:15px;line-height:1.2;letter-spacing:-.3px}
.flow-symbol{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:9px;background:#e9efff;color:#254bf5}
.flow-symbol .icon{width:19px;height:19px}
.flow-symbol-kyb{color:#7756a5;background:#f0eafa}
.flow-symbol-pld{color:#177e6b;background:#e0f3ed}
.flow-overview .mode-tag{max-width:66px;padding:3px 5px;white-space:nowrap}
.flow-overview .overview-numbers{padding-bottom:4px}
.flow-overview .quick-settings{border-top:0;margin:0;padding:0;gap:5px}
.flow-overview .quick-slider-setting{min-height:27px}
.flow-overview .quick-slider-control input[type=range]{height:27px}
.flow-overview .flow-benefits{margin-top:0;padding-top:5px}
.flow-overview .flow-benefit-tags{max-height:36px;overflow:auto}
.flow-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #e2e9f5;padding-top:7px;margin-top:3px;flex-shrink:0}
.flow-card-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 9px;min-height:33px;border:1px solid #d6e1f2;border-radius:8px;background:#f7f9fd;color:#365582;font-size:13px;font-weight:650;line-height:1}
.flow-card-actions>button .icon{width:15px;height:15px}
.flow-card-actions>button small{font-size:12px;font-weight:500}
.flow-card-actions .flow-upgrade-trigger{background:#edf2ff;border-color:#cbd8ff;color:#103cf4}
.flow-card-actions>button:hover,.flow-card-actions>button[aria-expanded=true]{background:#e0e9ff;border-color:#7597f1;color:#0737df}
.flow-card-actions>button:focus-visible{outline:2px solid #0434f4;outline-offset:2px}
.flow-action-menu{width:min(440px,calc(100vw - 24px));padding:15px;margin:0;max-height:calc(100dvh - 24px);overscroll-behavior:contain;z-index:91}
.flow-action-menu>header{gap:10px;padding-bottom:11px;border-bottom:1px solid #e1e8f2;align-items:center}
.flow-action-menu>header>div{flex:1;min-width:0}
.flow-action-menu>header strong{font-size:18px;line-height:1.15}
.flow-action-menu>header>div>span{font-size:12px;color:#72829b;margin-top:4px}
.flow-action-menu>header>.flow-symbol{display:grid;margin:0}
.flow-menu-close{align-self:flex-start;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#edf2fa;color:#536e94;font-size:22px;line-height:1}
.flow-menu-close:hover{background:#dce6f5}
.flow-menu-intro{font-size:12px;color:#607697;margin:10px 0}
.flow-project-status{display:flex;align-items:center;gap:6px;padding:8px 10px;margin:9px 0;background:#eef5ff;border-radius:7px;color:#315c97;font-size:12px;line-height:1.35}
.flow-project-status>.icon{width:15px;height:15px;flex-shrink:0}
.flow-upgrade-list{display:grid;gap:7px}
.flow-upgrade-option{display:flex;align-items:center;gap:10px;padding:10px;background:#f7f9fd;border:1px solid #e0e7f2;border-radius:9px}
.flow-upgrade-copy{min-width:0;flex:1}
.flow-upgrade-copy>strong{display:flex;gap:4px;align-items:center;font-size:14px;line-height:1.25}
.flow-upgrade-copy .help-icon{margin:0}
.flow-upgrade-copy>p{font-size:12px;line-height:1.4;color:#40577b;margin:4px 0}
.flow-upgrade-copy>small{display:block;font-size:12px;line-height:1.35;color:#6b7d96}
.flow-upgrade-purchase{flex-shrink:0;max-width:90px;border-radius:7px}
.flow-upgrade-purchase>button{padding:9px 10px;background:#0434f4;border:1px solid #0434f4;border-radius:7px;color:white;font-size:12px;font-weight:650;line-height:1.1}
.flow-upgrade-purchase>button:disabled{background:#e6ecf6;color:#637898;border-color:#d8e2f0;opacity:1;cursor:default}
.flow-upgrade-purchase>button:hover:not(:disabled){background:#0025c9}
.flow-upgrade-option.is-active{background:#f1f8f4;border-color:#d7eade}
.flow-upgrade-option.is-active button:disabled{background:#e0f1e6;color:#26724f;border-color:#c8e3d2}
.flow-menu-cost{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:12px;line-height:1.4;color:#607697;border-top:1px solid #e1e8f2;padding-top:10px;margin-top:12px}
.flow-stat-section{margin-top:12px}
.flow-stat-section h4,.flow-risk-table h4{display:flex;align-items:center;justify-content:space-between;font-size:13px;line-height:1.3;margin:0 0 7px;color:#3b5477}
.flow-stat-section h4>b{font-size:17px;color:#143c7d}
.flow-stat-section h4>small{font-size:12px;font-weight:400;color:#77869d}
.flow-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.flow-stat-grid>div{padding:9px 11px;background:#f2f6fc;border-radius:8px}
.flow-stat-grid span{display:block;font-size:12px;color:#677d9c}
.flow-stat-grid strong{display:block;font-size:23px;color:#204b83;line-height:1.2;margin-top:3px}
.flow-stat-grid small{font-size:12px}
.flow-stat-outcome{font-size:12px;line-height:1.5;margin:7px 0 12px}
.flow-stat-outcome.negative{color:#b44032}.flow-stat-outcome.positive{color:#257451}
.flow-quality-grid strong{font-size:19px}
.flow-risk-table{margin-top:13px}
.flow-risk-table table{width:100%;border-collapse:collapse;font-size:12px;color:#536b8c}
.flow-risk-table th,.flow-risk-table td{padding:6px 5px;text-align:right;border-bottom:1px solid #e8edf5}
.flow-risk-table th:first-child{text-align:left;font-weight:400;padding-left:0}
.flow-risk-table td{font-weight:650;color:#2b4c7b}
@media(min-width:1600px){
 .flow-overview .flow-cards>.overview-flow{padding:15px;gap:9px}
 .flow-identity>strong{font-size:17px}
 .flow-symbol{width:34px;height:34px}
 .flow-overview .quick-settings{gap:10px}
 .flow-overview .quick-slider-setting{min-height:32px}
 .flow-card-actions>button{min-height:39px;font-size:14px}
}
@media(min-width:1151px) and (max-height:820px){
 .weekly-command{padding:7px;gap:8px}
 .weekly-command-card{min-height:66px;padding:10px}
 .flow-overview .flow-cards>.overview-flow{padding:8px 10px;min-height:172px;gap:2px}
 .flow-overview>.overview-title{min-height:17px}
 .flow-overview>.overview-title>strong{font-size:14px}
 .flow-overview .overview-flow-heading{min-height:27px}
 .flow-symbol{width:26px;height:26px;border-radius:7px}
 .flow-symbol>.icon{width:17px;height:17px}
 .flow-identity{gap:6px}
 .flow-identity>strong{font-size:14px}
 .flow-overview .quick-settings{gap:1px}
 .flow-overview .quick-slider-setting{min-height:23px}
 .flow-overview .quick-slider-control input[type=range]{height:23px}
 .flow-card-actions{padding-top:5px;margin-top:2px;gap:6px}
 .flow-card-actions>button{min-height:30px;padding:6px 8px}
}
@media(max-width:800px){
 .weekly-command{padding:10px}
 .flow-overview .flow-cards>.overview-flow{min-height:235px;padding:14px;gap:7px}
 .flow-card-actions>button{min-height:40px}
 .flow-action-menu{padding:12px}
 .flow-upgrade-option{padding:9px;gap:7px}
 .flow-upgrade-purchase>button{padding:9px 7px}
}

/* Full-width, discrete game controls: color signals decision safety, not free capacity. */
.flow-overview .game-slider-setting{display:block;min-height:0;width:100%;padding:0;gap:0}
.game-slider-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:18px;margin-bottom:2px}
.flow-overview .game-slider-heading>.flow-tip-trigger{font-weight:600;font-size:12px;white-space:nowrap;color:#526a8b}
.game-slider-heading output{font-size:12px;line-height:1.25;color:#73839b;text-align:right;min-width:0}
.game-slider-control{width:100%;min-width:0;--level-color:#b7801b}
.game-slider-rail{position:relative;margin:0 23px;height:24px}
.game-slider-rail input[type=range]{appearance:none;-webkit-appearance:none;display:block;position:relative;width:100%;height:24px;margin:0;padding:0;border:0;background:transparent;cursor:grab;touch-action:pan-y;z-index:1;accent-color:var(--level-color)}
.game-slider-rail input[type=range]:active{cursor:grabbing}
.game-slider-rail input[type=range]::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:linear-gradient(90deg,#ee737a 0%,#efb16b 25%,#e9cd65 50%,#b4cc68 75%,#55b38b 100%);box-shadow:inset 0 1px 2px #233f5620}
.game-slider-rail input[type=range]::-moz-range-track{height:8px;border-radius:8px;background:linear-gradient(90deg,#ee737a 0%,#efb16b 25%,#e9cd65 50%,#b4cc68 75%,#55b38b 100%);box-shadow:inset 0 1px 2px #233f5620}
.game-slider-rail input[type=range]::-moz-range-progress{background:transparent}
.game-slider-rail input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin-top:-6px;border-radius:7px;border:3px solid #fff;background:var(--level-color);box-shadow:0 0 0 2px var(--level-color),0 3px 7px #21394e26;transition:box-shadow .15s}
.game-slider-rail input[type=range]::-moz-range-thumb{box-sizing:border-box;width:20px;height:20px;border-radius:7px;border:3px solid #fff;background:var(--level-color);box-shadow:0 0 0 2px var(--level-color),0 3px 7px #21394e26}
.game-slider-rail input[type=range]:focus-visible{outline:2px solid #1747ed;outline-offset:3px;border-radius:7px}
.game-slider-ticks{position:absolute;inset:0 10px;pointer-events:none;z-index:2}
.game-slider-ticks i{position:absolute;top:10px;width:4px;height:4px;transform:translateX(-50%);border-radius:50%;background:#ffffffb3}
.game-slider-ticks i.selected{visibility:hidden}
.game-slider-stops{position:relative;margin:1px 33px 0;height:37px}
.game-slider-stop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;position:absolute;top:0;transform:translateX(-50%);min-width:53px;padding:2px 5px;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;color:#79869a;line-height:1.1;transition:background .15s,border-color .15s}
.game-slider-stop>span{display:block;font-size:16px;line-height:18px;filter:grayscale(.45);opacity:.7}
.game-slider-stop>small{font-size:12px;line-height:14px;font-weight:500}
.game-slider-stop.selected{border-color:color-mix(in srgb,var(--stop-color) 28%,white);background:color-mix(in srgb,var(--stop-color) 9%,white);color:var(--stop-color)}
.game-slider-stop.selected>span{filter:none;opacity:1}
.game-slider-stop.selected>small{font-weight:750}
.game-slider-stop:hover:not(:disabled){background:#edf2fc;border-color:#cedbf3;color:#204775}
.game-slider-stop:hover:not(:disabled)>span{filter:none;opacity:1}
.game-slider-stop:focus-visible{outline:2px solid #1747ed;outline-offset:2px}
.game-slider-control.is-locked .game-slider-rail{opacity:.45}
.game-slider-control.is-locked input[type=range]{cursor:not-allowed}
.game-slider-control.is-locked input[type=range]::-webkit-slider-runnable-track{background:#dce3ed}
.game-slider-control.is-locked input[type=range]::-moz-range-track{background:#dce3ed}
.game-slider-control.is-locked input[type=range]::-webkit-slider-thumb{background:#9baac0;box-shadow:0 0 0 2px #bdc8d9}
.game-slider-control.is-locked input[type=range]::-moz-range-thumb{background:#9baac0;box-shadow:0 0 0 2px #bdc8d9}
.game-slider-control.is-locked .game-slider-stop{cursor:not-allowed;opacity:.5}
.game-slider-control.is-locked .game-slider-stop.selected{color:#76869e;background:#f0f3f8;border-color:#dce4ef;opacity:.8}
.flow-overview .quick-settings:has(.game-slider-setting){display:grid;grid-template-columns:1fr;gap:10px;margin:5px 0;padding:0}
.flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){min-height:285px;padding:13px;gap:6px}
@media(min-width:1600px){
 .game-slider-heading output,.flow-overview .game-slider-heading>.flow-tip-trigger{font-size:13px}
 .game-slider-rail{height:29px}
 .game-slider-rail input[type=range]{height:29px}
 .game-slider-ticks i{top:12.5px}
 .game-slider-stops{height:41px}
 .game-slider-stop>span{font-size:18px;line-height:21px}
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){padding:15px;min-height:315px}
}
@media(min-width:1151px) and (max-height:820px){
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){min-height:259px;padding:9px 11px;gap:3px}
 .flow-overview .quick-settings:has(.game-slider-setting){gap:7px;margin:3px 0}
 .game-slider-heading{gap:5px}
 .game-slider-heading output{max-width:190px}
 .game-slider-stops{height:34px;margin-top:0}
 .game-slider-stop{padding:1px 4px}
}
@media(max-width:800px){
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){min-height:310px;padding:15px;gap:8px}
 .game-slider-heading{align-items:start;gap:8px}
 .game-slider-heading output{max-width:50%}
 .game-slider-rail{height:30px}
 .game-slider-rail input[type=range]{height:30px}
 .game-slider-ticks i{top:13px}
 .game-slider-stops{height:42px}
 .game-slider-stop{min-height:40px;min-width:49px;padding:2px 3px}
 .game-slider-stop>span{font-size:18px;line-height:20px}
}
@media(prefers-reduced-motion:reduce){.game-slider-stop,.game-slider-rail input[type=range]{transition:none}}

/* Fixed bureau contracts and first VAAS launch. */
.bureau-remove{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #dce5f3;font-size:12px;color:#586d8d}.bureau-remove small{font-size:12px}.bureau-remove .btn{font-size:12px;padding:9px}
.vaas-celebration{max-width:720px;width:calc(100% - 32px);border:1px solid #b8ccff;background:radial-gradient(ellipse at top,#e6efff,white 65%)}
.vaas-celebration .modal-inner{padding:30px}.vaas-celebration h2{font-size:clamp(25px,3vw,34px);line-height:1.15;margin:12px 0}.vaas-celebration h2 .vaas-logo{font-size:.75em;width:4.95em;height:1em}
.vaas-celebration-badge{width:64px;height:64px;border-radius:20px;background:#dcfce8;color:#15794b;border:2px solid #b0edc8;font-size:42px;font-weight:800;display:grid;place-items:center;margin-bottom:20px;box-shadow:0 8px 25px #15794b15;animation:vaas-celebrate .45s ease-out}
.vaas-celebration-lead{font-size:16px;line-height:1.55;color:#52658a}.vaas-celebration-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.vaas-celebration-benefits article{background:#fff;border:1px solid #d9e4fa;border-radius:16px;padding:16px}.vaas-celebration-benefits b{display:block;font-size:30px;color:#124cff;margin-bottom:12px}.vaas-celebration-benefits strong{font-size:15px}.vaas-celebration-benefits p{font-size:13px;line-height:1.5;color:#52658a;margin:8px 0 0}.vaas-celebration-replacement{font-size:13px;line-height:1.5;color:#52658a;margin:0 0 20px}
@keyframes vaas-celebrate{from{transform:scale(.5) rotate(-12deg);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:600px){.vaas-celebration .modal-inner{padding:22px}.vaas-celebration-benefits{grid-template-columns:1fr}.vaas-celebration-benefits article{padding:14px}.vaas-celebration-benefits b{font-size:24px;margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){.vaas-celebration-badge{animation:none}}

/* Compact flow cards: labels stay visible, the active emoji floats above the thumb. */
.flow-overview .flow-cards{gap:6px}
.flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){container-type:inline-size;min-height:0;padding:9px 11px;gap:3px;justify-content:flex-start}
.flow-compact-header{display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px}
.flow-overview .flow-compact-header .overview-flow-heading{flex:1 1 210px;min-width:0;min-height:26px;gap:5px}
.flow-overview .flow-compact-header .flow-identity{gap:6px}
.flow-overview .flow-compact-header .flow-symbol{width:25px;height:25px;border-radius:7px}
.flow-overview .flow-compact-header .flow-symbol .icon{width:17px;height:17px}
.flow-overview .flow-compact-header .flow-identity>strong{font-size:14px;line-height:1.15}
.flow-overview .flow-compact-header .overview-numbers{flex:1 1 140px;gap:8px;padding:0;margin:0;border:0;line-height:18px;white-space:nowrap}
.flow-overview .flow-compact-header .overview-numbers b{font-size:14px}
.flow-overview .quick-settings:has(.game-slider-setting){gap:4px;margin:2px 0}
.flow-overview .game-slider-heading{min-height:16px;margin:0;gap:6px;align-items:center}
.flow-overview .game-slider-heading output,.flow-overview .game-slider-heading>.flow-tip-trigger{font-size:12px}
.game-slider-rail,.game-slider-rail input[type=range]{height:22px}
.game-slider-rail{margin-inline:20px}
.game-slider-ticks{inset-inline:10px}
.game-slider-ticks i{top:9px}
.game-slider-stops{height:20px;margin:0 30px}
.game-slider-stop{min-height:20px;min-width:48px;padding:2px 4px;border-radius:5px}
.game-slider-stop>small{font-size:12px;line-height:14px}
.game-slider-emoji{position:absolute;bottom:calc(100% + 3px);left:clamp(10px,var(--level-position),calc(100% - 10px));transform:translate(-50%,4px);opacity:0;visibility:hidden;pointer-events:none;font-size:21px;line-height:28px;width:32px;text-align:center;background:white;border:1px solid #d7e1ee;border-radius:9px;box-shadow:0 3px 10px #17334c1f;z-index:5;transition:opacity .12s,transform .12s}
.game-slider-control:not(.is-locked):has(input:hover,input:active,input:focus-visible,.game-slider-stop:hover,.game-slider-stop:focus-visible) .game-slider-emoji{opacity:1;visibility:visible;transform:translate(-50%,0)}
.flow-overview .flow-benefits{padding-top:3px;margin:0}
.flow-overview .flow-benefit-tags{margin-top:2px;gap:2px 4px}
.flow-overview .flow-card-actions{margin-top:auto;padding-top:4px;gap:6px}
.flow-overview .flow-card-actions>button{min-height:29px;padding:6px 8px;font-size:12px}
.office-stat>.forecast-split{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:12px;font-weight:400;color:#526b80;line-height:1.3}
.forecast-split>span{white-space:nowrap}.forecast-split b{font-weight:750;color:#234b70}
.budget-warning-modal{width:min(550px,calc(100vw - 24px));border:1px solid #efc99e}.budget-warning-modal .modal-inner{padding:28px}.budget-warning-modal h2{font-size:30px;margin:12px 0 18px;line-height:1.15}.budget-warning-modal p{font-size:15px;line-height:1.55;margin:15px 0;color:#526887}.budget-warning-balance{padding:16px;border-radius:12px;background:#fff2e9;color:#a33b20}.budget-warning-balance span{display:block;font-size:13px}.budget-warning-balance strong{display:block;font-size:32px;margin-top:5px}.budget-warning-modal .budget-warning-example{font-size:14px;background:#f3f6fc;padding:13px;border-radius:9px}.budget-warning-actions{display:grid;gap:9px;margin-top:20px}.budget-warning-modal .modal-inner>small{display:block;font-size:12px;line-height:1.5;color:#6b7f97;margin-top:14px}.budget-warning-limit{font-size:13px!important;color:#9a4d29!important}
@media(min-width:1151px) and (max-height:820px){
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){padding:6px 9px;gap:2px}
 .flow-overview .quick-settings:has(.game-slider-setting){gap:2px;margin:0}
 .flow-overview .flow-compact-header .overview-flow-heading{min-height:23px}
 .flow-overview .flow-compact-header .flow-symbol{width:22px;height:22px}
 .game-slider-rail,.game-slider-rail input[type=range]{height:20px}
 .game-slider-ticks i{top:8px}
 .game-slider-stops{height:18px}.game-slider-stop{min-height:18px;padding-block:1px}
 .flow-overview .flow-card-actions>button{min-height:27px;padding-block:5px}
}
@media(max-width:800px){
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){padding:12px;gap:5px}
 .flow-overview .flow-card-actions>button{min-height:36px}
 .game-slider-rail,.game-slider-rail input[type=range]{height:28px}
 .game-slider-ticks i{top:12px}.game-slider-stops{height:25px}.game-slider-stop{min-height:25px}
 .game-slider-heading output{max-width:55%}
}
@media(prefers-reduced-motion:reduce){.game-slider-emoji{transition:none}}
.flow-overview .flow-compact-header{gap:2px 6px}
.flow-overview .flow-compact-header .overview-flow-heading{flex-basis:200px}
.flow-overview .flow-compact-header .overview-numbers{flex:1 1 130px}
.flow-overview .fixed-data-setting{padding:3px 0}
@media(min-width:1151px){
 html:has(body.is-playing){overflow:auto}
 body.is-playing,body.is-playing #app{height:auto;min-height:100dvh;overflow:visible}
 body.is-playing .fixed-playfield{height:auto;min-height:calc(100dvh - 54px);overflow:visible}
 .command-scene{min-height:0;grid-template-rows:auto}
 .command-scene .flow-overview{overflow:visible}
 .flow-overview .flow-cards{overflow:visible;flex:1;grid-template-rows:repeat(3,minmax(min-content,1fr))}
}
@media(min-width:1151px){
 body.is-playing .fixed-playfield{min-height:calc(100dvh - 60px)}
 .command-scene{grid-template-columns:minmax(390px,28%) minmax(0,1fr)}
 .flow-overview .flow-cards{grid-template-rows:repeat(3,minmax(min-content,1fr));align-content:stretch}
}
@container(max-width:380px){.flow-compact-header .overview-flow-heading{flex-basis:100%!important}.flow-compact-header .overview-numbers{flex-basis:100%!important}}


/* The month bar prioritizes trust; decisions arrive in the Chief's inbox. */
.weekly-command{grid-template-columns:70px 155px minmax(0,1fr) minmax(195px,230px);align-items:stretch;background:#e8edf8;border-color:#d5deee}
.weekly-command>.office-trusts{align-items:stretch}
.weekly-command .office-trusts .hud-gauge{padding:10px 13px;box-shadow:none}
.weekly-command .office-trusts .hud-gauge>span{display:flex;flex-wrap:wrap;font-size:13px}
.weekly-command .office-trusts .hud-gauge strong{font-size:28px;margin-left:auto}
.weekly-command .weekly-next{grid-column:auto;grid-row:auto}
.office-stage{display:flex;flex:1;min-height:0;gap:4px;align-items:stretch}
.chief-inbox{flex:0 0 178px;align-self:center;display:flex;flex-direction:column;gap:8px;padding:12px 0 12px 12px;z-index:2;min-width:0}
.chief-inbox>header{display:flex;gap:6px;align-items:center;margin:0 2px 2px;font-size:12px;font-weight:600;color:#697f87}
.chief-mail{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left;background:#ffffffde;border:1px solid #d7e1e5;border-radius:11px;padding:11px;color:#324a60;box-shadow:0 4px 12px #203d5410;transition:background .15s,border-color .15s,box-shadow .15s;grid-column:auto;grid-row:auto;min-width:0}
.chief-mail:hover,.chief-mail:focus-visible{background:#fff;border-color:#8ca6cd;box-shadow:0 5px 16px #203d5420}
.chief-mail:focus-visible{outline:2px solid #153aff;outline-offset:3px}
.mail-heading{display:flex;gap:5px;align-items:center;justify-content:space-between}
.mail-heading strong{font-size:13px;line-height:1.25}
.mail-count{display:grid;place-items:center;flex-shrink:0;min-width:21px;height:21px;padding:0 4px;font-size:12px;color:#2547a5;background:#eaf0ff;border-radius:6px}
.mail-subject{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.chief-mail>small{font-size:12px;line-height:1.3;color:#718395}
.chief-mail.is-read{background:#ffffff80;box-shadow:none;color:#667e81}
.chief-mail.is-read .mail-count{background:#e1efe8;color:#3b8067}
.mail-complaint{border-color:#e4d2bc;background:#fffaf2}
.office-stage>.office-canvas{flex:1;min-width:0;width:auto}
@media(min-width:1750px){.chief-inbox{flex-basis:205px;padding-left:16px}.chief-mail{padding:13px}.mail-heading strong{font-size:14px}}
@media(max-width:1150px){
 .weekly-command{grid-template-columns:65px 145px minmax(0,1fr) 190px;gap:7px}
 .weekly-command .office-trusts .hud-gauge{padding:9px 8px}
 .weekly-command .office-trusts .hud-gauge>span{font-size:12px}
 .weekly-command .office-trusts .hud-gauge strong{font-size:23px}
 .office-stage{flex-direction:column}
 .chief-inbox{flex:none;align-self:stretch;display:grid;grid-template-columns:1fr 1fr;padding:12px;gap:7px}
 .chief-inbox>header{grid-column:1/-1}
 .chief-mail.mail-complaint{grid-column:1/-1}
 .office-stage>.office-canvas{min-height:240px}
}
@media(max-width:900px){
 .weekly-command{grid-template-columns:65px minmax(120px,1fr) minmax(170px,1fr)}
 .weekly-command>.office-trusts{grid-column:1/-1;grid-row:2}
 .weekly-command>.weekly-next{grid-column:3;grid-row:1}
 .weekly-command>.weekly-action-budget{grid-column:2;grid-row:1}
}
@media(max-width:620px){
 .weekly-command{grid-template-columns:55px minmax(105px,1fr) minmax(130px,1.1fr);padding:8px;gap:6px}
 .weekly-command>.weekly-next{padding:9px;min-height:60px}
 .weekly-command>.weekly-next strong{font-size:14px}
 .weekly-command>.weekly-next small{font-size:12px}
 .weekly-command>.weekly-next>.icon{display:none}
 .weekly-command .weekly-action-budget{padding:9px;display:flex;flex-direction:column;align-items:stretch;gap:5px}
 .weekly-command .weekly-action-budget>div{gap:5px}
 .weekly-command .weekly-action-budget strong{font-size:24px}
 .weekly-command .office-trusts .hud-gauge{padding:9px 7px}
 .weekly-command .office-trusts .hud-gauge>span{display:grid;gap:4px}
 .weekly-command .office-trusts .hud-gauge strong{margin:0;font-size:24px}
 .weekly-command .office-trusts .hud-meter{margin-top:7px}
 .chief-inbox{padding:10px;gap:7px}
 .chief-mail{padding:10px}
}
@media(min-width:1151px){
 .flow-overview .flow-benefits{display:flex;flex-wrap:wrap;align-items:center;gap:3px 7px}
 .flow-overview .flow-automation{flex:1 1 215px}
 .flow-overview .flow-benefit-tags{margin:0;gap:3px}
 .weekly-command .office-trusts .hud-gauge{align-self:stretch}
}
@media(max-width:620px){.weekly-command{grid-template-columns:60px minmax(100px,1fr) minmax(130px,1.1fr)}.command-week>strong{white-space:nowrap}.command-week>strong small{font-size:12px}}

/* The landing scene uses the same dialogue and characters as the game. */
.hero-scene .office-conversations{z-index:3}
.hero-scene .office-speech{width:min(255px,calc(100% - 32px));padding:13px 15px;box-shadow:0 10px 28px #0003}
.hero-scene .office-speech p{font-size:14px;line-height:1.45}
.hero-scene .speech-person{color:#64798d;font-weight:700}
.hero-scene .thought-caption{display:none}
@media(max-width:540px){.hero-scene .office-speech{width:205px;padding:10px 12px}.hero-scene .office-speech p{font-size:12px}}

/* Make the queue outcome the strongest signal among office resources. */
.office-summary .hud-forecast{border-width:2px;padding:12px;gap:7px;box-shadow:0 3px 10px #132e8110}
.office-summary .hud-forecast.forecast-warning{background:#fff0ed;border-color:#df6257;color:#a52523}
.office-summary .hud-forecast.forecast-good{background:#e6f6ec;border-color:#65b58d;color:#146541}
.office-summary .hud-forecast.forecast-warning:hover{background:#ffe4df;border-color:#b92f2a}
.office-summary .hud-forecast.forecast-good:hover{background:#d7f1e1;border-color:#28875b}
.office-summary .hud-forecast>span,.office-summary .hud-forecast>small{color:inherit}
.office-summary .hud-forecast>.forecast-status{font-size:15px;font-weight:800;line-height:1.2}
.office-summary .hud-forecast>strong{color:inherit;font-size:34px;line-height:1.05}
.office-summary .hud-forecast>strong small{color:inherit;opacity:.8;font-size:15px}
.office-summary .hud-forecast .forecast-split{font-size:12px;gap:4px 9px}
.office-summary .hud-forecast>.forecast-verdict{border-top:1px solid currentColor;padding-top:7px;font-size:13px;font-weight:750;line-height:1.35}
@media(max-width:620px){
 .office-summary{grid-template-columns:1fr 1fr}
 .office-summary .hud-forecast{grid-column:1/-1;grid-row:1}
 .office-summary .hud-forecast>strong{font-size:36px}
}
.office-summary .hud-budget.budget-warning{background:#fff0ed;border:2px solid #df6257;color:#a52523;box-shadow:0 3px 10px #b92f2a16}
.office-summary .hud-budget.budget-warning:hover{background:#ffe4df;border-color:#b92f2a}
.office-summary .hud-budget.budget-warning>span,.office-summary .hud-budget.budget-warning>strong,.office-summary .hud-budget.budget-warning>small{color:inherit}
.office-summary .hud-budget>.budget-status{font-size:15px;font-weight:800;line-height:1.2}
.office-summary .hud-budget.budget-warning>small{font-weight:750;font-size:13px;line-height:1.35}

/* Office controls share the same compact popover pattern as the flows. */
.office-toolbar.office-menu-triggers{display:flex;gap:8px;justify-content:flex-end}
.office-menu-triggers>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 20px;border:1px solid #cdd9ef;border-radius:10px;background:#f7f9ff;color:#315783;font-weight:750;font-size:13px;cursor:pointer}
.office-menu-triggers>.office-upgrade-trigger{background:#edf1ff;color:#123cff;border-color:#c5d2ff}
.office-menu-triggers>button:hover,.office-menu-triggers>button[aria-expanded=true]{background:#dfe7ff;border-color:#688dff}
.office-menu-triggers .icon{width:18px;height:18px}
.office-upgrade-actions{display:grid;gap:8px}
.office-upgrade-actions .office-action{width:100%;min-height:62px}
.office-upgrade-actions .office-action small{display:block}
.office-team-stats .staff-heading{padding:12px 0}
.office-team-stats .staff-indicators{padding:0 0 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.office-team-stats .staff-indicators>div{padding:10px}
.office-team-stats .staff-indicators b{font-size:22px}
.office-team-stats .staff-roster{max-height: min(360px,40dvh);overflow-y:auto;padding:0}
.office-team-stats .staff-note{padding:10px 0 0;margin:0}
.worker-menu:not(.flow-action-menu){z-index:92}
.bureau-quality-choices{display:grid;gap:10px}
.bureau-choice-reason{display:block;color:#9d512b;margin-top:5px}
@media(min-width:801px) and (max-width:1150px){.command-scene{grid-template-rows:auto}}
@media(max-width:800px){.office-menu-triggers>button{flex:1}.bureau-quality-choices .flow-upgrade-option{flex-wrap:wrap}.bureau-quality-choices .flow-upgrade-purchase{margin-left:auto}}

.office-stat.budget-good{background:#e3f7ec;border:2px solid #46ab7a;color:#156b49}
.office-stat.budget-good>span,.office-stat.budget-good>strong,.office-stat.budget-good>small{color:#156b49}
.office-stat.budget-good:hover{background:#d5f2e2;border-color:#23885b}
.office-stat .budget-status{font-size:16px;font-weight:800;line-height:1.25}

.flow-auto-summary{display:flex;align-items:center;gap:6px;font-size:13px;color:#284c86;padding-top:5px;border-top:1px solid #e0e7f1}
.flow-auto-summary .icon{width:15px;height:15px}
.overview-flow .game-slider-stops .game-slider-stop small{opacity:0;transition:opacity .15s}
.overview-flow .game-slider-stops .game-slider-stop:first-child small,.overview-flow .game-slider-stops .game-slider-stop:last-child small,.overview-flow .game-slider-control:hover .game-slider-stop small,.overview-flow .game-slider-control:focus-within .game-slider-stop small{opacity:1}
.overview-flow .game-slider-stop.selected:not(:first-child):not(:last-child){background:transparent;border-color:transparent}
.overview-flow .game-slider-heading output{font-weight:700;color:#315783}

.office-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:800px){.office-summary .hud-budget,.office-summary .hud-forecast{grid-column:auto}}
@media(max-width:460px){.office-summary{grid-template-columns:minmax(0,1fr)}}


.ending-trusts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}
.ending-trusts>span{display:flex;justify-content:space-between;gap:10px;padding:10px;border-radius:9px;background:#f0f4fa;color:#45617f;font-size:13px}
.ending-trusts .depleted{background:#ffebe6;color:#b42520;border:1px solid #ef887b;font-weight:750}

.flow-overview .flow-compact-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.flow-overview .flow-compact-header .overview-flow-heading{flex-wrap:wrap}
.flow-queue-number{border:0;background:transparent;padding:3px 2px 3px 8px;font-size:clamp(28px,2.2vw,38px);font-weight:850;line-height:1;letter-spacing:-1px;cursor:pointer;font-variant-numeric:tabular-nums}
.flow-queue-number.queue-covered{color:#16764d}
.flow-queue-number.queue-overloaded{color:#bb2925}
.flow-queue-number:hover,.flow-queue-number:focus-visible{background:#eef2f8;border-radius:9px;outline:2px solid currentColor;outline-offset:2px}
.flow-queue-stats{margin:12px 0}

/* Size all three cards from the space left below the command bar, not viewport height. */
@media(min-width:1151px){
 body.is-playing .fixed-playfield{height:calc(100dvh - 60px);min-height:0;overflow:visible}
 .command-scene{grid-template-rows:minmax(0,1fr);min-height:600px}
 .command-scene .flow-overview{container-type:size;container-name:flow-stack;min-height:0;overflow:visible}
 .flow-overview .flow-cards{grid-template-rows:repeat(3,minmax(0,1fr));min-height:0;gap:8px;overflow:visible}
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){min-height:0;padding:8px 12px;gap:4px;justify-content:space-between}
 .flow-overview .flow-compact-header .overview-flow-heading{margin-bottom:0}
 .flow-overview .quick-settings:has(.game-slider-setting){gap:3px;margin:0;padding:0;flex-shrink:0}
 .flow-overview .game-slider-heading{min-height:16px;margin:0}
 .flow-overview .game-slider-heading output,.flow-overview .game-slider-heading>.flow-tip-trigger{font-size:12px;line-height:16px}
 .flow-overview .game-slider-rail,.flow-overview .game-slider-rail input[type=range]{height:22px}
 .flow-overview .game-slider-ticks i{top:9px}
 .flow-overview .game-slider-stops{height:18px;display:block}
 .flow-overview .game-slider-stop{min-height:18px;padding-block:1px}
 .flow-overview .flow-card-actions{margin-top:0;padding-top:4px}
 .flow-overview .flow-card-actions>button{min-height:29px;padding-block:6px}
 .flow-overview .flow-auto-summary{padding-top:3px;flex-shrink:0}
}
@container flow-stack (max-height:760px){
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){padding:6px 10px;gap:2px}
 .flow-overview .game-slider-stops{display:none}
 .flow-overview .game-slider-rail,.flow-overview .game-slider-rail input[type=range]{height:20px}
 .flow-overview .game-slider-ticks i{top:8px}
 .flow-overview .flow-queue-number{font-size:28px}
 .flow-overview .flow-card-actions>button{min-height:27px;padding-block:5px}
}
@container flow-stack (min-height:1050px){
 .flow-overview .flow-cards{gap:10px}
 .flow-overview .flow-cards>.overview-flow:has(.game-slider-setting){padding:14px 16px;gap:8px}
 .flow-overview .quick-settings:has(.game-slider-setting){gap:10px}
 .flow-overview .flow-compact-header .flow-identity>strong{font-size:16px}
 .flow-overview .game-slider-heading{min-height:21px}
 .flow-overview .game-slider-heading output,.flow-overview .game-slider-heading>.flow-tip-trigger{font-size:13px}
 .flow-overview .game-slider-rail,.flow-overview .game-slider-rail input[type=range]{height:28px}
 .flow-overview .game-slider-ticks i{top:12px}
 .flow-overview .game-slider-stops{height:23px}
 .flow-overview .game-slider-stop{min-height:23px;padding-block:3px}
 .flow-overview .flow-card-actions>button{min-height:34px;font-size:13px}
}
