@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(assets/manrope-400.ttf) format("truetype")}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(assets/manrope-600.ttf) format("truetype")}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(assets/manrope-700.ttf) format("truetype")}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(assets/manrope-800.ttf) format("truetype")}
:root{--ink:#191c1e;--muted:#778294;--paper:#ffffff;--green:#0052cc;--lime:#d9e7ff;--line:#e1e6ef;--coral:#0066ed}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:#edf0f4;overflow:hidden;font-size:14px}button{font:inherit;cursor:pointer;border:0;color:inherit;transition:background .15s,transform .15s}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #6ca1ee;outline-offset:3px}button:disabled{opacity:.4;cursor:not-allowed}#game{position:fixed;inset:0}canvas{display:block;touch-action:none}header{height:94px;position:fixed;top:0;left:0;right:0;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(#f5f7fae8,#f5f7faaa);border-bottom:1px solid #ffffff80;z-index:3}.brand{display:flex;align-items:center;gap:12px}.brand-mark{background:var(--green);color:#f8f5df;border-radius:14px;width:47px;height:47px;display:flex;align-items:center;justify-content:center;font:bold 35px Georgia;letter-spacing:-7px;padding-right:6px}.brand-mark span{font-size:27px;margin-top:8px}.brand strong{font:600 26px Georgia,serif;letter-spacing:-1px}.dot{color:var(--coral)}small{display:block;font-size:10px;letter-spacing:1.1px;color:var(--muted);font-weight:600}.brand small{font-size:8px;letter-spacing:2px;margin-top:5px}.metrics{display:flex;gap:42px;margin-left:auto}.metrics>div{min-width:104px}.metrics b{font-weight:550;display:block;font-size:23px;letter-spacing:-.7px;margin-top:5px}.metrics em{font-style:normal;font-size:12px;color:var(--muted);margin-left:5px;letter-spacing:0}.icon-button{height:38px;width:38px;background:#fff8;border:1px solid var(--line);border-radius:11px;margin-left:10px}.day-card{position:fixed;top:116px;left:32px;display:flex;align-items:center;gap:11px;padding:14px 15px;background:var(--paper);border-radius:13px;box-shadow:0 3px 15px #3d423607;z-index:3}.day-card strong{font-size:12px}.day-card small{font-size:10px;letter-spacing:0;margin-top:5px}.live-dot{height:8px;width:8px;background:#2d7cdd;border-radius:50%;box-shadow:0 0 0 4px #e8f1ff}.speed-controls{display:flex;gap:3px;margin-left:18px}.speed-controls button{width:30px;height:29px;background:transparent;border-radius:6px;font-size:11px}.speed-controls button.active{background:var(--green);color:white}#panel{position:fixed;right:26px;top:116px;bottom:119px;width:294px;z-index:4;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7cbb9 transparent;background:#ffffffed;backdrop-filter:blur(18px);border:1px solid #fff9;border-radius:17px;padding:22px;box-shadow:0 8px 30px #18376308}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#8a8e7d;text-transform:uppercase}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.panel-head h2{font:normal 25px Georgia;margin:6px 0 0;letter-spacing:-.6px}.tag{font-size:9px;text-transform:uppercase;letter-spacing:.7px;background:#e7effb;padding:6px 8px;border-radius:6px;color:#2b5795}.lead{line-height:1.6;color:#708094;font-size:12px;margin:0 0 20px}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;text-transform:uppercase;margin:23px 0 11px;color:#778294;font-weight:600}.card{border:1px solid var(--line);background:#ffffffaa;border-radius:11px;padding:14px;margin-bottom:10px}.card h3{font-size:13px;margin:0 0 5px;font-weight:600}.card p{font-size:11px;line-height:1.6;color:#6b778b;margin:6px 0}.card-top{display:flex;justify-content:space-between;gap:8px}.money{font-size:13px;font-weight:650;color:#0052cc;white-space:nowrap}.bar{height:5px;border-radius:5px;background:#e1e9f5;overflow:hidden;margin:9px 0 6px}.bar>i{display:block;height:100%;border-radius:5px;background:#387bdc;transition:width .25s}.bar.warn>i{background:#c9865c}.split{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#78859a;gap:8px}.primary,.secondary,.danger{padding:11px 14px;border-radius:8px;font-size:11px;font-weight:600}.primary{background:var(--green);color:#fffef5}.secondary{background:#e9eff8;color:#35577e}.danger{background:#f3e3d9;color:#9f573d}.wide{width:100%;margin-top:8px}.row{display:flex;gap:8px;margin-top:10px}.row>*{flex:1}.task{display:flex;gap:10px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #e1e6ef;font-size:12px;line-height:1.45}.task:last-child{border:0}.check{border:1px solid #c7cdb9;width:17px;height:17px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-size:10px}.task.done{color:#969e86}.task.done .check{background:#879a63;color:white;border:0}.task small{letter-spacing:0;font-size:10px;margin-top:3px;font-weight:400}.note{background:#e7f0ff;border-radius:11px;padding:14px;font-size:11px;line-height:1.7;color:#315e99}.feed-item{font-size:11px;line-height:1.6;padding:8px 0;border-bottom:1px solid #e1e6ef;color:#6d7b8f}.feed-item small{font-size:8px;letter-spacing:0;color:#a1a590}.person{display:flex;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);cursor:pointer}.person:hover{background:#edf2f9}.avatar{width:38px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:14px;font-weight:600;color:white;flex-shrink:0}.person strong{font-size:12px}.person small{letter-spacing:0;font-size:10px;font-weight:400;margin-top:5px}.person .chevron{margin-left:auto;color:#9da28f}.trait{font-size:10px;background:#f1f4f8;padding:6px 8px;border-radius:5px;display:inline-block;margin:6px 4px 8px 0}.stat{margin:14px 0}.stat .split{color:#687d9b}.mini-skills{display:flex;gap:4px;font-size:9px;margin:9px 0}.mini-skills span{flex:1;background:#edf2f9;padding:7px 3px;border-radius:5px;text-align:center}select{font:inherit;font-size:11px;border:1px solid var(--line);border-radius:7px;padding:9px 6px;background:#fffdf6;color:var(--ink);width:100%;margin-top:5px}.scene-caption{position:fixed;left:34px;bottom:146px;pointer-events:none}.scene-caption>span{display:block;font-size:9px;letter-spacing:2px;color:#8b96a8;margin-bottom:12px}.scene-caption strong{font:italic 27px/1.2 Georgia;color:#304d76}.scene-caption p{font-size:10px;color:#72839b;margin-top:12px}.camera-controls{display:flex;position:fixed;right:340px;bottom:132px;gap:5px}.camera-controls button{width:34px;height:34px;background:#ffffffdd;border:1px solid #ffffffaa;border-radius:9px;font-size:19px}.camera-controls button:nth-child(3){font-size:20px}#nav{position:fixed;bottom:43px;left:50%;transform:translateX(-50%);display:flex;gap:5px;padding:8px;border:1px solid #fff;background:#fffffff5;box-shadow:0 5px 25px #15376210;border-radius:17px;z-index:6;white-space:nowrap}#nav button{background:transparent;padding:12px 18px;border-radius:10px;font-size:11px;display:flex;align-items:center;gap:8px}#nav button>span{font-size:19px;line-height:17px}#nav button.active{background:var(--green);color:#ffffff}#nav i{font-style:normal;background:#e7effb;color:#375d99;border-radius:5px;padding:2px 5px;font-size:9px}.nav-divider{width:1px;background:var(--line);margin:9px 4px}.bottom-note{position:fixed;bottom:17px;left:34px;right:30px;display:flex;justify-content:space-between;font-size:9px;color:#7e8a9b;letter-spacing:.2px}#toast{position:fixed;left:50%;top:108px;transform:translateX(-50%) translateY(-10px);opacity:0;pointer-events:none;z-index:30;background:#163963;color:#ffffff;font-size:12px;padding:14px 22px;border-radius:10px;box-shadow:0 6px 25px #303c2820;transition:.2s;max-width:450px}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#labels{position:fixed;inset:0;pointer-events:none;overflow:hidden}.person-label{position:absolute;transform:translate(-50%,-100%);white-space:nowrap;background:#ffffffeb;border:1px solid #ffffff;border-radius:7px;padding:4px 7px;font-size:9px;box-shadow:0 2px 8px #39402b12;color:#24446b}.person-label.active{background:#0052cc;color:white}.person-label .activity{opacity:.75;font-size:8px;margin-left:4px}.modal-backdrop{position:fixed;inset:0;background:#14233a44;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:20;padding:24px}.modal{background:#fbfcff;border-radius:24px;padding:36px;max-width:470px;width:100%;box-shadow:0 24px 100px #10254130;max-height:90vh;overflow:auto}.modal h1{font:normal 45px/.99 Georgia;letter-spacing:-1.6px;margin:17px 0 18px}.modal h2{font:normal 30px Georgia;margin:13px 0}.modal p{font-size:13px;color:#6f7c91;line-height:1.75}.modal .intro-art{display:flex;gap:7px;margin:25px 0}.intro-art div{flex:1;border:1px solid #e0e7f1;padding:15px 10px;border-radius:10px;font-size:11px;line-height:1.4}.intro-art b{display:block;font-size:23px;font-weight:400;margin-bottom:7px;color:#0052cc}.modal .primary{font-size:13px;padding:14px}.close{float:right;background:#e9eff8;border-radius:50%;width:27px;height:27px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.stat-grid>div{background:#edf2fa;padding:14px;border-radius:10px}.stat-grid strong{font-size:20px;display:block;margin-top:8px}.modal .foot{font-size:10px;margin-bottom:0}#hover-tip{position:fixed;background:#fff;padding:8px;border-radius:6px;pointer-events:none}.empty{padding:15px 0;font-size:12px;color:#8b917e;line-height:1.7}.back{background:none;color:#8b927b;font-size:10px;padding:0 0 17px}.upgrade-icon{font-size:26px;color:#889d68;line-height:1;margin-bottom:12px}.negative{color:#b96e4e!important}@media(max-width:1000px){header{padding:20px}.metrics{gap:17px}.metrics>div{min-width:80px}#panel{right:16px;width:260px;padding:17px}.camera-controls{right:289px}.day-card{left:20px}.scene-caption{left:22px}.brand strong{font-size:23px}#nav button{padding:12px 13px}}@media(max-width:700px){header{height:80px;padding:13px;gap:8px}.brand-mark{width:34px;height:38px;font-size:29px;border-radius:10px}.brand strong{font-size:19px}.brand small{display:none}.brand{gap:7px}.metrics{gap:10px}.metrics>div{min-width:0}.metrics small{font-size:7px;letter-spacing:.4px}.metrics b{font-size:16px}.metrics em{font-size:8px}.metrics>div:last-child{display:none}.icon-button{margin:0;width:30px;height:32px}.day-card{top:93px;left:12px;padding:10px;gap:8px}.day-card strong{font-size:10px}.speed-controls{margin-left:8px}.speed-controls button{width:27px}#panel{top:auto;bottom:109px;left:12px;right:12px;width:auto;max-height:31vh;padding:16px}.panel-head{margin-bottom:9px}.panel-head h2{font-size:22px}.lead{margin-bottom:11px}.scene-caption{display:none}#nav{bottom:39px;gap:0;padding:5px;width:calc(100% - 24px);justify-content:space-around}#nav button{font-size:9px;padding:9px 7px;gap:5px;flex-direction:column}#nav button>span{font-size:17px}#nav i{display:none}.nav-divider{margin:6px 2px}.bottom-note{left:15px;right:15px;bottom:15px;font-size:8px}.bottom-note span:last-child{display:none}.camera-controls{bottom:auto;top:150px;right:12px;gap:3px}.camera-controls button{width:29px;height:29px}.person-label{font-size:8px;padding:3px 5px}.person-label .activity{display:none}.modal{padding:26px}.modal h1{font-size:38px}#toast{top:145px;max-width:90%;width:max-content}.section-label{margin-top:17px}}
/* Agency Builders: Manrope, charcoal, cool white and the live brand's blue. */
body{font-family:Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}header{background:#121820;color:#fff;border-bottom:1px solid #26313f;height:90px;padding:20px 28px}.brand{min-width:0}.brand-mark{width:39px;height:42px;object-fit:contain;background:transparent;border-radius:0;padding:0;letter-spacing:0}.brand strong{font:800 22px/1.3 Manrope,sans-serif;letter-spacing:-.8px;max-width:330px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.brand small{color:#8d9db3;letter-spacing:1.65px;font-size:8px}.metrics{gap:28px}.metrics small{color:#8c9bb1;font-size:9px}.metrics b{font-size:21px;font-weight:700}.metrics em{color:#93a2b8}.icon-button{background:#222e3e;color:#dae3f0;border-color:#354155}.fullscreen-button{display:flex;align-items:center;gap:7px;background:#f5f7fc;color:#182337;padding:11px 14px;border-radius:8px;font-size:11px;font-weight:700;white-space:nowrap;margin-left:10px}.fullscreen-button:first-letter{font-size:18px}#panel{width:358px;right:24px;top:112px;bottom:118px;padding:23px;border-color:#fff;background:#ffffffed;box-shadow:0 10px 40px #253b5910;border-radius:16px}.panel-head h2{font:800 24px/1.2 Manrope,sans-serif;letter-spacing:-1px}.tag{font-size:8px;white-space:nowrap}.lead{font-size:11px}.card h3{font-weight:800}.eyebrow{font-size:9px;letter-spacing:1.5px;color:#74859d}.day-card{top:112px;left:24px;border:1px solid #fff;box-shadow:0 4px 25px #27426308}.scene-caption strong{font:800 27px/1.15 Manrope,sans-serif;letter-spacing:-1.2px}.scene-caption>span{color:#7b8da4}.scene-caption p{max-width:220px;line-height:1.5}.camera-controls{right:403px}.camera-controls button{color:#355783}.primary{font-weight:700;background:#0052cc}.secondary{font-weight:700}.note b{font-weight:800}#nav{border-radius:13px;box-shadow:0 8px 35px #1234620d}#nav button{padding:12px 13px;font-size:10px;font-weight:600;gap:7px}#nav button.active{background:#152b49}.person-label{border:1px solid #dbe5f3;color:#28486f}.person-label.active{background:#0052cc;color:white}#toast{background:#16355f}.modal-backdrop{background:#11203777;backdrop-filter:blur(6px)}.modal{max-width:510px;padding:37px;border-radius:20px;background:#fff;box-shadow:0 24px 100px #09142655}.modal h1{font:800 42px/1.08 Manrope,sans-serif;letter-spacing:-1.9px;color:#151e2d}.modal h1 em{font-style:normal;color:#0052cc}.modal h2{font:800 27px/1.2 Manrope,sans-serif;letter-spacing:-1px}.modal p{font-size:12px;line-height:1.8}.welcome-brand{display:flex;align-items:center;gap:10px;margin:-37px -37px 30px;padding:20px 35px;background:#121820;border-radius:20px 20px 0 0;color:white}.welcome-brand img{width:30px;height:32px;object-fit:contain}.welcome-brand>span{font-size:11px;font-weight:800;letter-spacing:.3px}.welcome-brand i{font-size:8px;font-style:normal;display:block;letter-spacing:2px;margin-top:4px;color:#9cacc4}.name-label{display:block;font-size:11px;font-weight:800;color:#253d5d;margin:19px 0 8px}.agency-input{font:600 15px Manrope,sans-serif;padding:13px 14px;border:1px solid #d4deec;border-radius:9px;width:100%;color:#162f55;background:#f7f9fd;outline-offset:3px}.agency-input:focus{outline:2px solid #82aeef;border-color:#5a91df}#name-error,#rename-error{letter-spacing:0;font-size:9px;font-weight:400;line-height:1.5;margin:7px 0 15px;color:#7788a2}.welcome-pills{display:flex;gap:8px;margin-top:20px;justify-content:space-between}.welcome-pills span{font-size:9px;color:#567197;background:#eef3fb;padding:7px 9px;border-radius:5px}.modal .foot{font-size:9px;text-align:center;color:#8a96a8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#panel.advisor-panel{display:flex;flex-direction:column;padding:0;overflow:hidden}.advisor-head{padding:22px 23px 17px;border-bottom:1px solid #e8edf5;background:linear-gradient(120deg,#fff,#f2f6fd)}.advisor-head h2{font-size:26px;font-weight:800;letter-spacing:-1px;margin:7px 0 5px}.advisor-head p{font-size:10px;color:#78889f;margin:0}.conversation-person{padding:14px 18px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5ecf6;flex-shrink:0}.coach-avatar{width:34px;height:37px;border-radius:10px;background:#0052cc;color:white;display:grid;place-items:center;font-weight:800;font-size:16px;flex-shrink:0}.conversation-person>div{flex:1;min-width:0}.conversation-person select{font-size:11px;font-weight:700;padding:0;background:transparent;border:0;margin:0;width:100%;color:#253957}.conversation-person small{font-size:8px;letter-spacing:0;font-weight:400;margin-top:5px;color:#7e8ba0;display:flex;gap:5px;align-items:center}.conversation-person small i{width:5px;height:5px;background:#5ca47f;border-radius:50%}#chat-messages{flex:1;min-height:100px;overflow:auto;padding:18px;scrollbar-width:thin;scrollbar-color:#d0dceb transparent}.chat-message{padding:13px 14px;border-radius:0 12px 12px 12px;background:#f0f4fa;margin-bottom:15px;max-width:95%}.chat-message.user{background:#173966;color:white;margin-left:auto;border-radius:12px 0 12px 12px}.message-meta{font-size:9px;font-weight:800;color:#3c5b85}.message-meta i{font-size:7px;font-style:normal;color:#97a7bd;margin-left:6px;font-weight:400}.user .message-meta{color:#d2e1fa}.user .message-meta i{color:#8dadd7}.chat-message p{font-size:11px;line-height:1.8;white-space:normal;overflow-wrap:anywhere;margin:7px 0 0;color:#455b78}.chat-message.user p{color:#f0f5ff}.chat-actions{margin-top:12px;display:flex;gap:6px;flex-direction:column}.chat-actions button{background:#fff;color:#0052cc;border:1px solid #d5e3f6;font-size:10px;font-weight:700;border-radius:7px;padding:9px 10px;text-align:left;line-height:1.45;display:flex;align-items:center;justify-content:space-between;gap:6px}.chat-actions button span{font-size:14px}.chat-actions button:hover{background:#e6f0ff}#chat-form{padding:13px 15px 11px;background:#fff;border-top:1px solid #e2eaf6;flex-shrink:0}.composer{display:flex;align-items:center;gap:7px;border:1px solid #cad9ef;border-radius:11px;background:#f7faff;padding:6px}.composer:focus-within{border-color:#6b9ddd;box-shadow:0 0 0 2px #e7f0fc}.composer input{min-width:0;flex:1;border:0;outline:none;font:400 11px Manrope,sans-serif;background:transparent;color:#273f60;padding:7px 5px}.composer input:focus-visible{outline:none}.composer button{width:32px;height:32px;border-radius:8px;background:#0052cc;color:white;font-size:20px;flex-shrink:0}.composer-hint{font-size:8px;color:#8d9bb0;text-align:center;margin-top:8px}#focus-hud,#focus-chat{display:none}.office-mode header,.office-mode #nav,.office-mode .day-card,.office-mode .scene-caption,.office-mode .bottom-note,.office-mode #panel{display:none}.office-mode #focus-hud{position:fixed;top:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;z-index:8;gap:15px}.office-mode #focus-hud>div{padding:14px 19px;background:#152337ef;border-radius:12px;color:white;box-shadow:0 5px 30px #13283a12}.office-mode #focus-hud small{font-size:8px;color:#88a3c6;letter-spacing:1.7px}.office-mode #focus-name{display:block;font-size:18px;font-weight:800;margin-top:5px;max-width:360px;overflow-wrap:anywhere}.office-mode #focus-stats{display:block;font-size:10px;color:#a8bedc;margin-top:5px}.office-mode #exit-office{pointer-events:auto;background:#fff;color:#2c4b74;padding:12px 17px;font-size:11px;font-weight:700;border-radius:10px;box-shadow:0 5px 25px #263b5912}.office-mode #focus-chat{position:fixed;right:25px;bottom:24px;display:block;padding:15px 20px;background:#0052cc;color:#fff;border-radius:12px;font-size:12px;font-weight:700;z-index:8;box-shadow:0 5px 25px #21468e25}.office-mode .camera-controls{left:24px;right:auto;bottom:24px;z-index:8}.office-mode.chat-open #panel{display:block;top:110px;bottom:85px}.office-mode.chat-open #panel.advisor-panel{display:flex}.office-mode #toast{top:24px}.office-mode .person-label{font-size:10px}
@media(max-width:1150px){header{padding:17px 20px;gap:14px}.metrics{gap:16px}.metrics>div{min-width:80px}.brand strong{max-width:230px;font-size:20px}.fullscreen-button span{display:none}.fullscreen-button{padding:10px;font-size:19px}.metrics b{font-size:19px}.brand small{font-size:7px}#nav button{padding:12px 10px}}
@media(max-width:1000px){#panel{right:16px;width:294px;padding:18px}.camera-controls{right:330px}.advisor-head{padding:19px 18px 15px}.advisor-head h2{font-size:24px}.conversation-person{padding:12px 14px}#chat-messages{padding:13px}.chat-message{padding:12px;font-size:10px}.brand strong{max-width:190px}}
@media(max-width:700px){header{height:80px;padding:12px;gap:7px}.brand-mark{width:26px;height:30px}.brand strong{font-size:15px;max-width:155px;letter-spacing:-.5px}.brand small{display:block;font-size:5px;letter-spacing:.7px;margin-top:4px}.brand{gap:7px}.metrics{gap:8px}.metrics>div{min-width:0}.metrics>div:nth-child(2){display:none}.metrics small{font-size:6px;letter-spacing:.5px}.metrics b{font-size:14px}.fullscreen-button{font-size:18px;padding:7px;background:#25384f;color:white;margin:0}.icon-button{width:28px;height:30px;margin:0}.day-card{top:92px;left:12px;padding:9px}.camera-controls{right:12px;top:148px}.scene-caption{display:none}#panel{top:auto;bottom:108px;left:12px;right:12px;width:auto;max-height:35vh;padding:16px}#panel.advisor-panel{height:35vh;max-height:none}.advisor-head{display:none}.conversation-person{padding:9px 12px}.coach-avatar{width:28px;height:30px;font-size:13px}.conversation-person select{font-size:10px}.conversation-person small{font-size:7px}#chat-messages{min-height:45px;padding:10px}.chat-message{margin-bottom:10px;padding:10px;max-width:94%}.chat-message p{font-size:10px;line-height:1.65}.chat-actions button{font-size:9px;padding:7px}.chat-actions{margin-top:8px}#chat-form{padding:8px 10px}.composer input{font-size:11px;padding:5px 3px}.composer button{height:28px;width:28px}.composer-hint{display:none}#nav{bottom:40px;gap:0;padding:5px;justify-content:space-around}#nav button{font-size:8px;padding:8px 4px;gap:5px}#nav button:first-child{font-size:7px}#nav .nav-divider{display:none}#nav button>span{font-size:16px}.modal{padding:26px;max-width:440px}.modal h1{font-size:33px;letter-spacing:-1.4px}.welcome-brand{margin:-26px -26px 23px;padding:17px 25px}.welcome-pills{gap:5px}.welcome-pills span{font-size:8px;padding:7px 5px}.agency-input{font-size:14px}.office-mode #focus-hud{top:13px;left:12px;right:12px}.office-mode #focus-hud>div{padding:11px 12px}.office-mode #focus-name{max-width:195px;font-size:14px}.office-mode #focus-hud small{font-size:6px}.office-mode #focus-stats{font-size:8px}.office-mode #exit-office{font-size:8px;padding:10px;max-width:115px}.office-mode #focus-chat{bottom:17px;right:12px;padding:12px;font-size:10px}.office-mode .camera-controls{top:auto;left:12px;bottom:18px;gap:3px}.office-mode .camera-controls button{width:27px;height:30px}.office-mode.chat-open #panel{top:auto;bottom:70px;max-height:42vh;height:42vh}.office-mode #toast{top:115px;font-size:10px}.office-mode .person-label{font-size:8px}}
.focus-speeds{display:flex;gap:5px;pointer-events:auto;margin-top:10px}.focus-speeds button{font-size:10px;padding:5px 9px;border-radius:5px;color:#b9d1f0;background:#2c405e}.focus-speeds button.active{background:#0052cc;color:white}
/* Usability pass: reserve space for the work, and size by height as well as width. */
:root{--app-height:100dvh;--view-top:0px;--header-h:70px;--panel-w:clamp(320px,29vw,390px);--panel-top:84px;--panel-bottom:82px;--panel-gap:16px;--drawer-h:42vh}
#app-shell{position:fixed;top:var(--view-top);left:0;width:100%;height:var(--app-height);overflow:hidden}
#game,header,.day-card,#panel,#labels,#toast,.scene-caption,.camera-controls,#nav,.bottom-note,.modal-backdrop{position:absolute}
header{height:var(--header-h);padding:13px 22px;gap:16px}.brand strong{font-size:20px;max-width:280px}.brand small{font-size:8px;letter-spacing:1.2px}.brand-mark{height:34px;width:32px}.metrics{gap:24px}.metrics b{font-size:20px;margin-top:3px}.metrics small{font-size:9px}.metrics>div{min-width:84px}.icon-button{margin:0;min-width:36px;height:36px}.fullscreen-button{margin-left:0;min-height:36px;padding:9px 11px}
#game{top:var(--header-h);bottom:70px;left:0;right:calc(var(--panel-w) + var(--panel-gap) * 2)}
#panel{top:var(--panel-top);bottom:var(--panel-bottom);right:var(--panel-gap);left:auto;width:var(--panel-w);height:auto;max-height:none;border-radius:13px;padding:18px;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;min-height:0}
#panel.advisor-panel{padding:0;display:flex;flex-direction:column;scrollbar-gutter:auto;min-height:0}.advisor-head{display:none}
.conversation-person{padding:10px 12px;gap:9px;min-height:60px;flex:0 0 auto}.conversation-person>div{min-width:0;flex:1}.conversation-person select{font-size:12px;line-height:1.4;min-height:21px;max-width:100%;padding-right:3px}.conversation-person small{font-size:9px;margin-top:3px;line-height:1.25}.coach-avatar{width:30px;height:32px;font-size:14px;border-radius:8px;flex-shrink:0}.panel-expand{flex:0 0 auto;font-size:10px;font-weight:700;color:#365d92;background:#edf3fc;border:1px solid #e0e9f6;border-radius:7px;min-height:32px;padding:6px 8px;white-space:nowrap}.panel-expand:hover{background:#dceafd}
.chat-body{position:relative;flex:1 1 0;min-height:0;overflow:hidden}#chat-messages{position:absolute;inset:0;min-height:0;height:100%;padding:14px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;outline-offset:-3px;scroll-padding-block:12px}.chat-message{padding:12px 13px;margin-bottom:12px;max-width:98%}.chat-message p{font-size:12px;line-height:1.65;margin-top:6px}.message-meta{font-size:9px}.message-meta i{font-size:8px}.chat-actions{gap:6px;margin-top:10px}.chat-actions button{font-size:11px;line-height:1.4;padding:8px 10px;min-height:35px}.chat-actions button span{font-size:14px}#chat-latest{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);background:#163963;color:#fff;font-size:10px;border-radius:18px;padding:8px 14px;box-shadow:0 3px 12px #1b355533;white-space:nowrap;z-index:2}#chat-latest[hidden]{display:none}
#chat-form{padding:8px 10px;border-top:1px solid #e1e8f3;flex:0 0 auto}.composer{padding:3px 4px;gap:4px;align-items:flex-end;border-radius:9px}.composer textarea{display:block;min-width:0;flex:1;border:0;outline:none;background:transparent;color:#263e61;font:400 12px/1.5 Manrope,sans-serif;padding:10px 7px;resize:none;max-height:90px;min-height:38px;scrollbar-width:thin}.composer textarea:focus-visible{outline:none}.composer button{width:36px;height:36px;margin-bottom:1px;border-radius:7px;flex-shrink:0}.composer button:disabled{opacity:.35}.composer-hint{display:none}
.panel-head{gap:9px;align-items:center;margin-bottom:13px}.panel-head>div{min-width:0;flex:1}.panel-head h2{font-size:22px;letter-spacing:-.65px}.panel-head .tag{font-size:8px}.panel-head .eyebrow{font-size:8px}.lead{font-size:12px;line-height:1.6;margin-bottom:16px}.card{padding:14px}.card h3{font-size:14px}.card p,.person small{font-size:12px}.card .split{font-size:11px}.primary,.secondary,.danger{min-height:36px;font-size:12px;padding:9px 11px}.person{padding:12px 0}.person strong{font-size:13px}.mini-skills{font-size:10px}.stat .split{font-size:12px}.person[role=button]:focus-visible{outline:2px solid #6c9edf;outline-offset:2px;border-radius:8px}.note{font-size:12px}.task{font-size:12px}.task small{font-size:11px}.feed-item{font-size:12px}.section-label{margin:19px 0 10px}.back{min-height:32px;font-size:11px;padding-bottom:8px}select{font-size:12px;min-height:36px}
.day-card{top:calc(var(--header-h) + 12px);left:20px;padding:11px 12px;border-radius:10px;gap:9px}.day-card strong{font-size:11px}.day-card small{font-size:10px}.speed-controls{margin-left:11px}.speed-controls button{height:30px;width:30px}.scene-caption{left:25px;bottom:100px}.scene-caption strong{font-size:24px}.scene-caption p{font-size:11px}.camera-controls{left:auto;right:calc(var(--panel-w) + var(--panel-gap) * 2 + 6px);top:auto;bottom:88px;gap:4px}.camera-controls button{width:34px;height:34px;min-height:34px}
#nav{bottom:12px;max-width:calc(100% - 24px);padding:6px;border-radius:12px;gap:3px}#nav button{min-height:42px;font-size:11px;padding:10px 13px;gap:7px}#nav button>span{font-size:17px}.nav-divider{margin:7px 3px}.bottom-note{display:none}
.panel-expanded{--panel-w:min(530px,49vw)}
.modal-backdrop{padding:18px}.modal{max-height:calc(var(--app-height) - 36px);scrollbar-width:thin;overscroll-behavior:contain}.modal h1{font-size:36px}.modal h2{font-size:25px}.modal p{font-size:13px}.modal .primary{min-height:42px}.close{width:34px;height:34px;font-size:20px}.agency-input{min-height:44px;font-size:16px}.modal .foot{font-size:10px}.welcome-brand{margin-bottom:24px}.name-label{font-size:12px}#toast{top:calc(var(--header-h) + 12px);max-width:min(440px,calc(100% - 24px));font-size:12px}
/* The office and its conversation drawer each get their own space. */
.office-mode #game{inset:0}.office-mode.chat-open #game{right:calc(var(--panel-w) + 28px)}
.office-mode #focus-hud,.office-mode #focus-chat{position:absolute}.office-mode #focus-hud{top:16px;left:16px;right:16px}.office-mode #focus-hud>div{padding:11px 14px}.office-mode #focus-name{font-size:16px}.office-mode #focus-stats{font-size:11px}.office-mode #focus-hud small{font-size:8px}.office-mode #exit-office{min-height:36px;font-size:11px}.office-mode #focus-chat{bottom:16px;right:16px;min-height:40px;padding:11px 15px;font-size:12px}.office-mode .camera-controls{left:16px;bottom:18px;right:auto;top:auto}.office-mode.chat-open #panel{top:72px;bottom:72px;right:16px;left:auto;width:var(--panel-w);height:auto;max-height:none}.office-mode #toast{top:16px}.focus-speeds{margin-top:7px}.focus-speeds button{min-height:28px;font-size:11px}
@media(max-height:760px){:root{--header-h:60px;--panel-top:72px;--panel-bottom:76px}header{padding:9px 18px}.brand strong{font-size:18px}.metrics b{font-size:18px}.brand-mark{height:31px;width:29px}.scene-caption{display:none}.day-card{padding:8px 10px;gap:8px}.camera-controls{bottom:83px}.panel-head h2{font-size:20px}.conversation-person{min-height:55px;padding:8px 11px}#nav{bottom:10px}#nav button{min-height:38px;padding:8px 12px}.modal{padding:25px}.welcome-brand{margin:-25px -25px 19px;padding:15px 24px}.modal h1{font-size:30px;margin:14px 0}.modal p{margin:10px 0}.welcome-pills{margin-top:13px}.name-label{margin-top:13px}.modal .foot{margin-top:12px}.stat-grid{margin:14px 0}}
@media(max-width:1100px){.brand strong{max-width:220px}.metrics{gap:17px}.fullscreen-button span{display:none}.fullscreen-button{padding:7px 10px;font-size:19px}#nav button{padding:9px 11px}.panel-head .tag{display:none}}
@media(min-width:701px) and (max-width:900px){:root{--panel-w:320px}.panel-expanded{--panel-w:min(490px,58vw)}header{gap:12px}.metrics>div:last-child{display:none}.brand strong{max-width:210px}.brand small{font-size:7px}.camera-controls{gap:2px}.camera-controls button{width:31px}#nav button{padding:8px 9px}}
@media(min-width:701px) and (max-height:480px){:root{--header-h:52px;--panel-top:62px;--panel-bottom:64px;--panel-w:330px}header{padding:7px 16px}.brand small{display:none}.metrics small{font-size:8px}.brand strong{font-size:17px}.metrics b{font-size:16px}.day-card{top:62px;padding:7px 10px}.day-card small{font-size:9px}.camera-controls{bottom:70px}.camera-controls button{height:30px;min-height:30px;width:30px}#nav{padding:4px;bottom:8px}#nav button{min-height:34px;padding:6px 10px;font-size:10px}.conversation-person{min-height:48px;padding:5px 10px}.conversation-person small{display:none}.coach-avatar{width:27px;height:28px}.panel-expand{font-size:9px;min-height:30px}.chat-message{padding:10px;margin-bottom:10px}#chat-messages{padding:10px}.chat-message p{font-size:12px}.composer textarea{min-height:36px;padding:8px 6px}#chat-form{padding:6px 8px}.modal-backdrop{padding:10px}.modal{max-height:calc(var(--app-height) - 20px)}.office-mode #focus-hud>div{padding:8px 11px}.office-mode #focus-name{font-size:14px}.office-mode #focus-hud small{display:none}.office-mode.chat-open #panel{top:59px;bottom:62px}}
/* Small screens use a readable sheet, with an explicit expansion option. */
@media(max-width:700px){:root{--header-h:60px;--panel-gap:10px;--drawer-h:clamp(248px,calc(var(--app-height) * .44),460px)}.panel-expanded{--drawer-h:calc(var(--app-height) - var(--header-h) - 88px)}header{padding:10px 12px;gap:8px}.brand{gap:6px;flex:1;min-width:0}.brand>div{min-width:0}.brand strong{font-size:15px;max-width:none;overflow:hidden;white-space:nowrap}.brand small{display:none}.brand-mark{width:24px;height:28px}.metrics{margin-left:auto;gap:0;flex-shrink:0}.metrics>div{min-width:0}.metrics>div:nth-child(2),.metrics>div:last-child{display:none}.metrics small{font-size:7px;letter-spacing:.5px}.metrics b{font-size:14px}.fullscreen-button{margin:0;min-height:34px;padding:5px 7px;font-size:18px}.icon-button{height:34px;min-width:32px;width:32px}.day-card{top:70px;left:12px;padding:7px 9px;gap:8px}.day-card strong{font-size:10px}.day-card small{font-size:9px;margin-top:3px}.speed-controls{margin-left:8px;gap:2px}.speed-controls button{width:29px;height:30px}.day-card .live-dot{height:6px;width:6px}.camera-controls{right:12px;top:auto;bottom:calc(var(--drawer-h) + 84px);left:auto;gap:3px}.camera-controls button{width:31px;height:32px;min-height:32px}#game{top:110px;right:0;left:0;bottom:calc(var(--drawer-h) + 91px)}
#panel,#panel.advisor-panel{left:10px;right:10px;bottom:76px;top:auto;width:auto;height:var(--drawer-h);max-height:none;min-height:0;border-radius:12px;padding:15px}.panel-expanded #panel{height:var(--drawer-h)}#panel.advisor-panel{padding:0}.panel-expanded #game,.panel-expanded .day-card,.panel-expanded .camera-controls,.panel-expanded #labels{visibility:hidden}.panel-expanded #panel .panel-head{margin-bottom:15px}.conversation-person{min-height:55px;padding:8px 10px;gap:8px}.conversation-person select{font-size:12px;min-height:22px}.conversation-person small{font-size:9px}.coach-avatar{width:29px;height:31px;font-size:14px}.panel-expand{font-size:10px;padding:6px 8px;min-height:33px}.chat-message{padding:11px;margin-bottom:11px}.chat-message p{font-size:13px;line-height:1.6}.message-meta{font-size:10px}.chat-actions button{font-size:12px;min-height:40px;padding:8px 10px}#chat-messages{padding:12px;min-height:0}.composer textarea{font-size:16px;line-height:1.4;min-height:40px;padding:9px 6px}.composer button{width:38px;height:38px}#chat-form{padding:7px 9px}.primary,.secondary,.danger{font-size:12px;min-height:42px}.person{min-height:58px}.panel-head h2{font-size:21px}.panel-head .tag{display:none}select{font-size:14px;min-height:40px}.card p{font-size:12px}.modal{padding:23px}.welcome-brand{margin:-23px -23px 20px;padding:15px 22px}.modal h1{font-size:30px}.modal h2{font-size:24px}.welcome-pills{gap:4px}.welcome-pills span{font-size:8px}.agency-input{font-size:16px}.scene-caption{display:none}#nav{left:10px;right:10px;bottom:9px;width:auto;max-width:none;transform:none;padding:4px;gap:1px;justify-content:stretch}#nav button,#nav button:first-child{font-size:10px;min-height:49px;flex:1;min-width:0;padding:7px 2px;flex-direction:column;gap:5px}#nav button>span{font-size:17px;line-height:17px}#nav .nav-divider,#nav i{display:none}#toast{top:68px;width:max-content;max-width:calc(100% - 24px);font-size:11px}
.office-mode #game{inset:0;visibility:visible}.office-mode.chat-open #game{right:0;bottom:calc(var(--drawer-h) + 90px);top:70px}.office-mode.chat-open #panel{left:10px;right:10px;bottom:75px;top:auto;width:auto;height:var(--drawer-h);max-height:none}.office-mode #focus-hud{top:10px;left:10px;right:10px;gap:8px}.office-mode #focus-hud>div{padding:9px 11px}.office-mode #focus-name{font-size:14px;max-width:180px}.office-mode #focus-stats{font-size:9px}.office-mode #focus-hud small{display:none}.office-mode #exit-office{font-size:10px;min-height:34px;max-width:135px;padding:9px}.office-mode #focus-chat{right:10px;bottom:13px;font-size:11px;padding:10px;min-height:39px}.office-mode .camera-controls{bottom:15px;left:10px;right:auto;top:auto}.office-mode .camera-controls button{width:29px;height:34px;min-height:34px}.office-mode.panel-expanded.chat-open #game,.office-mode.panel-expanded.chat-open #labels{visibility:hidden}.office-mode.panel-expanded .camera-controls{visibility:visible}.office-mode #toast{top:118px}
}
@media(max-width:700px) and (max-height:600px){:root{--header-h:52px;--drawer-h:calc(var(--app-height) - 130px)}header{padding:7px 10px}.brand strong{font-size:14px}#panel,#panel.advisor-panel{bottom:70px}.day-card,.camera-controls,#labels{visibility:hidden}#game{opacity:.2;top:60px;bottom:75px}.panel-expanded{--drawer-h:calc(var(--app-height) - 124px)}#nav{bottom:7px}#nav button,#nav button:first-child{min-height:46px;font-size:9px}.conversation-person{min-height:49px;padding:6px 9px}.conversation-person small{display:none}#chat-form{padding:6px 8px}.chat-message p{font-size:12px}.office-mode #game{opacity:1;visibility:visible;inset:0}.office-mode #labels,.office-mode .camera-controls{visibility:visible}.office-mode.chat-open #panel{top:60px;bottom:64px;height:auto}.office-mode.chat-open #game{visibility:hidden}.office-mode #focus-hud>div{padding:7px 10px}.office-mode .focus-speeds{display:none}.office-mode #focus-stats{margin-top:3px}.office-mode #toast{top:58px}}
#panel:not(.advisor-panel) .panel-head{position:sticky;top:-18px;z-index:3;background:#fff;padding:10px 0 11px;border-bottom:1px solid #e7edf6;margin-top:-8px;margin-bottom:14px}
@media(max-width:700px){#panel:not(.advisor-panel) .panel-head{top:-15px;padding-top:10px}}
#header-pause{display:none}
@media(max-width:700px){.panel-expanded #header-pause{display:block}}
@media(max-width:700px) and (max-height:600px){#header-pause{display:block}.office-mode #focus-hud>div{display:flex;align-items:center;gap:7px}.office-mode #focus-name{font-size:11px;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.office-mode #focus-stats{display:none}.office-mode .focus-speeds{display:flex;margin:0;gap:3px}.office-mode .focus-speeds button{min-height:27px;padding:4px 6px;font-size:10px}.office-mode #exit-office{max-width:128px;font-size:9px;padding:8px}}
/* Keep the office unobstructed until its drawer is explicitly opened. */
.office-mode #panel{display:none}
.office-mode.chat-open #panel{display:block}
.office-mode.chat-open #panel.advisor-panel{display:flex}

/* Office growth stays within the existing compact management layout. */
.office-summary{display:grid;gap:8px;padding:16px;background:#eaf1fc;border-radius:12px}.office-summary strong{font-size:18px;color:#263f70}.office-summary small{font-size:11px;letter-spacing:0;line-height:1.6}.expansion-number{font-size:24px;font-weight:800;color:#0052cc}.expansion-card h3{margin-top:10px;font-size:16px}.expansion-card p{font-size:12px}.expansion-card .split{margin:8px 0;font-size:11px}.expansion-specs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.expansion-specs b{padding:6px 8px;background:#eef3fb;border-radius:6px;font-size:10px;color:#315e99}.expansion-unlock{padding:9px 0;color:#526888!important}.expansion-card.completed{background:#f4f7fb}.expansion-card.completed p{margin-bottom:0}#floor-control{position:absolute;bottom:46px;right:0;width:190px;padding:8px 10px;background:#fff;border:1px solid #e1e6ef;border-radius:10px;box-shadow:0 3px 12px #18376308;z-index:4}#floor-control[hidden]{display:none}#floor-control>span{font-size:8px;letter-spacing:1px;font-weight:700;color:#778294}#floor-select{font-size:11px;background:white;margin:2px 0 0;padding:5px 2px;border:0;min-height:28px}.camera-controls{z-index:3}@media(max-width:700px){#floor-control{width:172px;bottom:42px;padding:5px 8px}#floor-control>span{display:none}.expansion-card p{font-size:13px}}@media(max-width:700px) and (max-height:600px){.office-mode #floor-control{bottom:40px}}.modal h2{overflow-wrap:anywhere}

/* Player account access and save health. */
.account-modal{max-width:490px}.account-modal h1{font-size:36px;line-height:1.12}.account-modal .agency-input{font-size:15px;margin-bottom:14px}.account-modal .name-label{margin-top:10px}.account-help{font-size:11px;letter-spacing:0;line-height:1.6;font-weight:400}.account-link{display:block;background:none;padding:9px 0;color:#0052cc;font-size:12px;text-align:left;text-decoration:underline;text-underline-offset:3px}.account-foot{font-size:11px!important;line-height:1.5!important;margin-bottom:0;color:#738299!important}#account-error,#account-settings-error,#conflict-error{color:#b23b3b;font-size:12px;margin:8px 0}.account-summary{background:#eaf1fc;border-radius:12px;padding:13px 15px;margin:16px 0}.account-summary strong{display:block;font-size:14px;overflow-wrap:anywhere;margin:6px 0}.account-summary>span{font-size:11px;color:#536f96}.account-summary .account-link{padding-bottom:0}.account-check{display:flex;gap:10px;align-items:center;font-size:12px;margin:18px 0;cursor:pointer}.account-check input{width:18px;height:18px}.recovery-key{display:block;overflow-wrap:anywhere;user-select:all;background:#eaf1fc;color:#263f70;border:1px solid #d4e0f2;border-radius:10px;padding:16px;font-size:16px;line-height:1.8;letter-spacing:1px}#save-status[data-status="pending"]{color:#a36520}#save-status[data-status="conflict"],#save-status[data-status="expired"]{color:#b23b3b}.account-gate #nav,.account-gate .day-card,.account-gate #panel,.account-gate .camera-controls,.account-gate .scene-caption,.account-gate .bottom-note,.account-gate .metrics,.account-gate #menu-btn,.account-gate #fullscreen-btn,.account-gate #header-pause{visibility:hidden}.account-gate .modal-backdrop{background:#edf0f4aa;backdrop-filter:blur(12px)}@media(max-width:700px){.account-modal{padding:23px;max-height:calc(var(--app-height,100dvh) - 24px)}.account-modal h1{font-size:29px}.account-modal p{font-size:12px}.account-modal .welcome-brand{margin-bottom:16px}.account-modal .agency-input{min-height:45px;font-size:16px}.account-modal .primary{min-height:46px}.account-gate .modal-backdrop{padding:12px}.account-modal .account-link{min-height:40px}}

/* Nonblocking evening controls stay reachable in management and office views. */
#night-card{position:absolute;z-index:18;left:24px;top:156px;width:min(350px,calc(100% - 48px));padding:13px 15px;border:1px solid #8ba5d655;border-radius:16px;background:#14233eea;color:#eef4ff;box-shadow:0 8px 30px #07132925;display:flex;align-items:center;gap:12px}#night-card[hidden]{display:none}#night-card strong{font-size:13px}#night-card small,#night-card span{display:block;font-size:11px;line-height:1.45;margin-top:5px;color:#c4d2e8}#night-card button{font-size:11px;flex-shrink:0;padding:10px;min-height:40px}.office-mode #night-card{top:112px;left:24px}.office-mode.chat-open #night-card{max-width:calc(100% - 430px)}
@media(max-width:700px){#night-card{top:112px;left:12px;width:calc(100% - 24px);padding:9px 12px}#night-card small{display:none}#night-card span{margin-top:2px}#night-card button{margin-left:auto}.office-mode #night-card{left:12px;top:115px}.office-mode.chat-open #night-card{max-width:calc(100% - 24px)}}
@media(max-height:600px){#night-card{top:90px;left:12px;max-width:calc(100% - 370px);padding:8px 10px}#night-card small,#night-card span{display:none}.office-mode #night-card{top:106px;max-width:350px}}

@media(max-width:700px) and (max-height:600px){#night-card,.office-mode #night-card{max-width:calc(100% - 24px);top:92px}#night-card strong{font-size:11px}}
.panel-expanded:not(.office-mode) #night-card{width:180px;flex-wrap:wrap}.panel-expanded:not(.office-mode) #night-card small,.panel-expanded:not(.office-mode) #night-card span{display:none}@media(max-width:700px){.panel-expanded:not(.office-mode) #night-card{display:none}}

.office-mode #night-card{top:148px}@media(max-height:600px){.office-mode #night-card{top:140px}}

.demo-entry{border-top:1px solid #dde5f0;margin-top:12px;padding-top:14px}.demo-entry small{display:block;font-size:11px;line-height:1.5;color:#687d9b;margin-top:8px}#demo-banner{position:absolute;z-index:19;left:24px;bottom:86px;display:flex;align-items:center;gap:14px;max-width:calc(100% - 48px);padding:11px 14px;background:#fff9e9;border:1px solid #ebd9a9;border-radius:12px;box-shadow:0 5px 20px #162c4315}#demo-banner[hidden]{display:none}#demo-banner strong{display:block;font-size:12px;color:#534727}#demo-banner small{display:block;font-size:10px;color:#796947;margin-top:3px}#demo-save{background:#0052cc;color:white;font-size:11px;padding:10px 12px;min-height:40px;border-radius:9px;white-space:nowrap}.office-mode #demo-banner{bottom:68px}.account-gate #demo-banner{visibility:hidden}@media(max-width:700px){#demo-banner{top:96px;bottom:auto;left:12px;right:12px;max-width:none;padding:6px 10px;gap:6px}#demo-banner small{display:none}#demo-banner strong{font-size:11px}#demo-save{margin-left:auto;font-size:10px;min-height:34px;padding:8px}.demo-mode #night-card{top:148px}.office-mode #demo-banner{top:auto;bottom:68px}.panel-expanded:not(.office-mode) #demo-banner{display:none}}@media(max-height:600px) and (min-width:701px){#demo-banner{left:12px;bottom:65px;padding:7px 10px;gap:8px;max-width:calc(100% - 370px)}#demo-banner small{display:none}#demo-banner strong{font-size:10px}}

.demo-entry{border-top:0;border-bottom:1px solid #dde5f0;margin:0 0 16px;padding:0 0 14px}.demo-entry .secondary{background:#eaf2ff;border-color:#b7cef3;color:#0052cc;font-weight:750}

/* Community entry points stay compact in the office and account screens. */
.community-nav{display:flex;align-items:center;gap:6px;flex-shrink:0;border-radius:10px;padding:10px 12px;min-height:40px;background:#eef4ff;color:#0054cc;text-decoration:none;font-size:12px;font-weight:800}.community-entry{display:flex;flex-wrap:wrap;gap:10px 18px;margin:16px 0;font-size:12px;line-height:1.5}.community-entry a{color:#0054cc;text-underline-offset:3px}.community-nav:focus-visible,.community-entry a:focus-visible{outline:3px solid #82b8ff;outline-offset:3px}@media(max-width:1100px){.community-nav span{display:none}.community-nav{padding:9px;font-size:19px}}@media(max-width:480px){.community-nav{min-width:34px;min-height:34px;padding:5px;font-size:17px}.community-entry{font-size:11px;gap:10px}}

.account-gate header .community-nav{display:none}

.decision-options{display:grid;gap:9px;margin:13px 0}.decision-option{display:block;width:100%;text-align:left;border:1px solid #cbdcf5;border-radius:10px;padding:12px;background:#f6f9ff;color:#0052cc;white-space:normal}.decision-option strong{display:block;font-size:12px;line-height:1.5}.decision-option small{display:block;font-size:10px;line-height:1.5;letter-spacing:0;font-weight:400;margin-top:5px;color:#687d9b}.decision-option:disabled{opacity:.5;cursor:not-allowed}.decision-option:not(:disabled):hover{background:#e8f1ff;border-color:#0052cc}.decision-deadline{font-size:11px!important;color:#97642e!important}.sales-quote{padding:12px;border-left:3px solid #87ace7;background:#f3f7ff;border-radius:0 8px 8px 0}.sales-stage-track{display:flex;flex-wrap:wrap;gap:4px;margin:12px 0}.sales-stage-track span{font-size:9px;padding:5px 6px;background:#eef1f5;border-radius:6px;color:#75849a}.sales-stage-track .current{background:#0052cc;color:white}.sales-wait{font-size:11px!important;min-height:18px}.crisis-card details{font-size:11px;color:#8d6032;margin-top:12px}.crisis-card summary{cursor:pointer}.urgent{background:#fff0d9!important;color:#8b5817!important}#inbox-count:empty{display:none}@media(max-width:700px){#nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;width:calc(100% - 16px);padding:5px}#nav>button{min-width:0;padding:8px 2px;font-size:9px;gap:3px}#nav .nav-divider{display:none}#nav>button i{padding:1px 3px;font-size:8px}.decision-option strong{font-size:13px}.decision-option small{font-size:11px}}

/* Illustrated, interactive welcome screen. */
.home-modal{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,1fr);width:min(1120px,100%);max-width:1120px;padding:0;overflow:auto;border:1px solid #fff;border-radius:24px;background:#fff}.home-modal .account-content{padding:28px 34px;min-width:0}.home-modal .welcome-brand{margin:-28px -34px 24px;padding:18px 34px}.home-modal .account-content h1{font-size:32px;line-height:1.13;margin:12px 0}.home-modal .account-content>p{font-size:13px;line-height:1.65;margin-bottom:16px}.home-modal .account-content .agency-input{margin-bottom:6px;min-height:42px}.home-modal .account-content .demo-entry{padding:0 0 16px;margin:0 0 12px;border-top:0;border-bottom:1px solid #e1e6ef}.home-modal #try-demo{margin:0;font-size:14px;min-height:50px;box-shadow:0 5px 18px #0052cc20}.home-modal #account-form .primary{background:#edf3fd;color:#16477f}.home-modal .community-entry{font-size:11px;margin:10px 0;gap:7px 16px}.home-modal .account-foot{font-size:10px!important}.home-modal .account-link{min-height:38px}.home-visual{position:relative;min-width:0;overflow:hidden;background:#dfebfd;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate;transition:background .8s,color .8s}.home-title{position:relative;padding:34px 32px 0;z-index:2}.home-title .eyebrow{color:#416087;font-size:9px;letter-spacing:1.7px}.home-title h2{font:800 clamp(38px,4vw,54px)/1.03 Manrope,sans-serif;letter-spacing:-2.5px;margin:18px 0 14px;color:#172e4d}.home-title h2 em{font-style:normal;color:#0052cc}.home-title p{font-size:13px;line-height:1.65;color:#4f6787;margin:0}.home-art{position:relative;margin:0 0 8px;min-height:270px;flex:1;display:flex;align-items:center}.home-art>img{width:100%;height:auto;display:block;mix-blend-mode:multiply;transition:filter 1s,opacity 1s;animation:office-float 7s ease-in-out infinite}.home-moment{position:absolute;z-index:2;background:#fffffff2;box-shadow:0 8px 25px #24446d15;border:1px solid #fff;border-radius:13px;display:flex;align-items:center;gap:8px;padding:10px 12px;animation:moment-float 5s ease-in-out infinite;color:#193756;max-width:85%}.home-moment strong{display:block;font-size:12px}.home-moment small{font-size:8px;letter-spacing:0;font-weight:400;color:#6c7e93;margin-top:3px}.moment-icon{display:grid;place-items:center;width:31px;height:31px;background:#e5f5ec;border-radius:10px;color:#227b59;font-size:18px;font-weight:800}.moment-deal{top:5%;right:6%;transform:rotate(3deg)}.moment-coffee{bottom:19%;left:4%;animation-delay:-1.5s}.moment-coffee .moment-icon{background:#fff2d7}.moment-grow{bottom:0;right:6%;animation-delay:-3s}.moment-grow .moment-icon{color:#0052cc;background:#e8f0ff}.home-spark{position:absolute;color:#0052cc;font-size:34px;animation:spark-turn 8s ease-in-out infinite}.spark-one{top:15%;left:8%}.spark-two{bottom:13%;right:4%;font-size:23px;animation-delay:-4s}.home-visual-footer{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:2}.home-visual-footer>span{font-size:9px;color:#536f94;max-width:130px;line-height:1.5}.home-visual-footer>div{display:flex;gap:5px}.home-visual-footer button{font-size:10px;border:1px solid #b8cce8;border-radius:20px;background:#ffffffb3;color:#234c81;min-height:36px;padding:7px 12px}.home-visual-footer #home-motion{min-width:36px;padding:6px}.home-night{background:#132b50}.home-night .home-title h2,.home-night .home-title .eyebrow{color:#edf5ff}.home-night .home-title h2 em{color:#a5c9ff}.home-night .home-title p,.home-night .home-visual-footer>span{color:#adc4e4}.home-night .home-art>img{mix-blend-mode:normal;filter:brightness(.58) saturate(.7) sepia(.15);border-radius:48%;opacity:.88}.home-night .home-spark{color:#ffdd83}.home-night .home-visual-footer button{background:#244269;border-color:#486389;color:#e4efff}.motion-paused .home-art *{animation-play-state:paused!important}
@keyframes office-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes moment-float{0%,100%{translate:0 0}50%{translate:0 -9px}}@keyframes spark-turn{0%,100%{transform:rotate(0) scale(.85)}50%{transform:rotate(30deg) scale(1.05)}}
@media(min-width:801px) and (max-height:760px){.home-modal .account-content{padding:22px 28px}.home-modal .welcome-brand{margin:-22px -28px 16px;padding:14px 28px}.home-modal .account-content h1{font-size:29px}.home-modal .account-content>p{font-size:12px;margin-bottom:10px}.home-modal .account-content .demo-entry{padding-bottom:11px;margin-bottom:8px}.home-modal .account-content .agency-input{min-height:38px;padding:9px 12px}.home-modal .account-help{font-size:10px}.home-modal .account-content .name-label{margin-top:8px}.home-modal .account-content .account-link{min-height:32px;padding:7px 0}.home-modal .account-content .community-entry{font-size:10px}.home-title{padding-top:28px}.home-title h2{font-size:46px}.home-visual-footer{padding:20px}}
@media(max-width:800px){.home-modal{display:block;max-width:540px}.home-modal .account-content{padding:22px}.home-modal .welcome-brand{margin:-22px -22px 18px;padding:15px 22px}.home-visual{display:grid;grid-template-columns:1fr 1.2fr;min-height:260px}.home-title{padding:25px 0 18px 22px}.home-title .eyebrow{font-size:7px;letter-spacing:1px}.home-title h2{font-size:32px;letter-spacing:-1.5px;margin:12px 0}.home-title p{font-size:10px;line-height:1.6}.home-art{align-self:center;min-height:170px;margin:0}.home-art>img{width:130%;max-width:none;margin-left:-15%}.home-moment{padding:7px;gap:5px}.home-moment strong{font-size:9px}.home-moment small{display:none}.moment-icon{width:23px;height:23px;font-size:14px;border-radius:7px}.moment-deal{top:0;right:9%}.moment-coffee{bottom:1%;left:5%}.moment-grow{display:none}.home-spark{font-size:20px}.home-visual-footer{grid-column:1/-1;padding:0 20px 14px;margin-top:-4px}.home-visual-footer>span{font-size:8px;max-width:140px}.home-visual-footer button{font-size:9px;min-height:34px}.home-modal .account-content h1{font-size:27px}.home-modal .account-content .agency-input{font-size:16px;min-height:44px}.home-modal .account-content .account-help{font-size:10px}.home-modal #try-demo{font-size:13px}.home-modal .account-content .eyebrow{font-size:8px}.home-modal .account-content .welcome-brand{display:none}.home-modal .account-content>p{font-size:12px}.home-modal .community-entry{font-size:11px}.home-modal .account-content .account-link{min-height:42px}}
@media(max-width:380px){.home-title h2{font-size:28px}.home-title{padding-left:17px}.home-title p{font-size:9px}.home-visual{grid-template-columns:1fr 1fr}.home-visual-footer{padding-left:17px;padding-right:17px}.home-visual-footer>span{display:none}}
@media(prefers-reduced-motion:reduce){.home-art *{animation:none!important;transition:none!important}.home-visual{transition:none}.home-visual #home-motion{display:none}}
.home-modal .home-art{min-height:260px}.home-art>img{position:absolute;inset:0;height:100%;object-fit:contain;mask-image:linear-gradient(to bottom,transparent,black 9%,black 91%,transparent)}.home-modal .demo-entry small{letter-spacing:0;font-weight:400}.home-night .home-art>img{border-radius:0}.home-visual-footer{flex-shrink:0}@media(max-width:800px){.home-modal .home-art{min-height:170px}.home-art>img{height:auto;top:50%;translate:0 -50%;inset-inline:0}.home-visual-footer{margin-top:0}}
.home-art>img{mask-image:radial-gradient(ellipse 60% 68% at 50% 50%,#000 57%,transparent 86%)}
