
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eeeef9;background:#0c1023;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{border:1px solid #343b59;background:#1c2239;color:#e6e9fa;cursor:pointer;border-radius:10px;padding:9px 13px;transition:background .15s,transform .15s}button:hover{background:#303858;border-color:#69769f}button:focus-visible,canvas:focus-visible,a:focus-visible{outline:2px solid #8ddfcf;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}button.primary{background:#a8e7d5;color:#172d31;border:0;font-weight:650}button span{margin-left:8px;font-size:11px;opacity:.7}header{height:88px;display:flex;align-items:center;gap:24px;padding:0 30px;border-bottom:1px solid #262d47;background:#11162ae8;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:19px;font-weight:650}.brand small{display:block;font-weight:400;font-size:11px;color:#939dbb;margin-top:5px}.logo{display:grid;place-items:center;width:43px;height:43px;border:1px solid #98dfc4;border-radius:15px;color:#a8e7d5;font-size:24px;box-shadow:0 0 28px #58d7c020}.top-status{margin-left:auto;color:#bfc9dd;font-size:12px;display:flex;gap:9px;align-items:center}.top-status button{border:0;padding:4px;background:none;font-size:12px;color:#8995b4}.sep{color:#414b6b}.pulse,.dot{display:inline-block;width:7px;height:7px;background:#95dfc1;border-radius:100%;flex-shrink:0;box-shadow:0 0 12px #95dfc144}.dot.offline{background:#77819b;box-shadow:none}#clock{font-size:13px;font-variant-numeric:tabular-nums;color:#b9c1d9}main{height:calc(100dvh - 166px);position:relative;background:radial-gradient(ellipse at 55% 44%,#252a49 0%,#0b1023 76%);overflow:hidden}canvas{width:100%;height:100%;display:block;cursor:crosshair;outline:none}.scene-caption{pointer-events:none;position:absolute;top:26px;left:32px;text-shadow:0 2px 14px #090d20}.eyebrow{font-size:9px;letter-spacing:2.1px;color:#a9d6d4;font-weight:650}.scene-caption h1{font-size:24px;letter-spacing:-.5px;margin:8px 0;font-weight:500}.scene-caption p{font-size:11px;color:#a9b3ce;margin:0}.world-tools{position:absolute;right:26px;top:23px;display:flex;gap:5px}.world-tools button{background:#161d33d9;font-size:11px;padding:7px 10px}.walk-hint{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);font-size:10px;color:#bec4d7;white-space:nowrap;background:#0c1325b8;padding:9px 15px;border:1px solid #59618440;border-radius:30px}.walk-hint span{padding:0 9px;color:#637192}footer{height:78px;padding:0 25px;display:flex;align-items:center;gap:18px;border-top:1px solid #272f49;background:#12182c}.footer-copy{font-size:10px;min-width:180px;position:relative;padding-left:16px}.footer-copy .pulse{position:absolute;left:0;top:3px}.footer-copy strong{font-weight:500}.footer-copy small{display:block;color:#7f8cae;font-size:9px;margin-top:6px}footer nav{display:flex;flex:1;justify-content:center;gap:3px}footer nav button{background:none;border:0;font-size:11px;padding:10px 9px;color:#aab6d0}footer nav button:hover{color:#a8e7d5;background:#252e47}#outboxButton{font-size:11px;white-space:nowrap}.panel{position:absolute;z-index:5;top:105px;bottom:94px;width:340px;background:#151c30f5;backdrop-filter:blur(22px);border:1px solid #4f5e7f66;border-radius:19px;padding:22px;box-shadow:0 18px 60px #0007;overflow:auto}.left{left:22px}.right{right:22px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.panel h2,dialog h2{font-size:21px;font-weight:550;letter-spacing:-.6px;margin:8px 0 15px}.close{background:none;border:0;font-size:23px;line-height:1;padding:0 4px;color:#929fbd}.muted{font-size:11px;line-height:1.7;color:#9eabc7}input,select,textarea{border:1px solid #3b4767;border-radius:10px;background:#0f1629;color:#e7edf9;padding:11px;font-size:12px;width:100%;outline:none}input:focus,textarea:focus{border-color:#9bdcc9}select{margin:9px 0 12px}textarea{resize:vertical;min-height:110px}.employee-row{display:block;text-align:left;padding:12px 10px;width:100%;margin-bottom:7px;background:#20283d;border-color:#303b55}.employee-row strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-row small{font-size:10px;display:block;color:#a2b0ce;margin-top:6px}.employee-row i{display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:6px;background:#7786a4}.employee-row i.working{background:#8bdbc7}.employee-row i.idle{background:#e5bb7e}.notice{font-size:11px;line-height:1.7;border:1px solid #79704b77;background:#75613d22;color:#e8d19f;border-radius:11px;padding:12px}.detail-avatar{width:70px;height:112px;margin:6px auto;background-image:url('coworkers.png');background-repeat:no-repeat;background-size:800% 100%;filter:drop-shadow(0 3px 9px #5ccbb23d)}.detail-name{font-size:22px;text-align:center;letter-spacing:-.5px;margin:4px 0 8px}.detail-project{font-size:11px;color:#b7c6df;text-align:center;margin-bottom:17px}.badge{display:inline-block;padding:6px 9px;font-size:10px;background:#34405a;border-radius:6px;color:#c5d0e6}.badge.working{color:#a3e3cc;background:#224238}.badge.idle{color:#efcf96;background:#493d2a}.evidence{font-size:11px;color:#b4c0d8;line-height:1.7}.meta{font:9px/1.7 ui-monospace,monospace;color:#8593b2;overflow-wrap:anywhere}.job{border-left:2px solid #607d9a;padding-left:12px;margin:17px 0;font-size:11px;line-height:1.75;color:#c3cde0}.field-label{display:block;font-size:11px;margin:22px 0 9px}#assignmentForm .primary{width:100%;margin:10px 0 5px}#formResult{font-size:11px;line-height:1.6;color:#b1e7d4}.draft-card{padding:13px;background:#202a40;border:1px solid #36425b;border-radius:12px;margin:12px 0}.draft-card strong{font-size:12px}.draft-card p{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.draft-card small{font-size:10px;color:#91a1bf}#toast{position:absolute;bottom:60px;left:50%;transform:translateX(-50%);padding:12px 20px;border:1px solid #567d83;background:#162735f5;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90%}#toast.visible{opacity:1}#loading{position:absolute;inset:40%;white-space:nowrap;text-align:center;font-size:15px;color:#c7ddd8}#connectionBanner{position:absolute;bottom:58px;left:25px;background:#4d342af2;border:1px solid #b27f5c;border-radius:9px;font-size:11px;max-width:340px;padding:12px}dialog{background:#171e33;color:#e8eafb;border:1px solid #52617b;border-radius:22px;max-width:470px;padding:32px;box-shadow:0 25px 100px #000b}dialog::backdrop{background:#070d1dbb;backdrop-filter:blur(8px)}dialog .close{float:right}dialog p{font-size:12px;line-height:1.8;color:#bbc5dd}.host-card{padding:16px 0;border-bottom:1px solid #333d56;display:grid;grid-template-columns:14px 1fr;gap:7px;align-items:center}.host-card strong{font-size:12px}.host-card small{grid-column:2;font-size:10px;color:#8d9bb8}[hidden]{display:none!important}@media(max-width:1000px){header{padding:0 17px;gap:15px}.brand small,.top-status .sep,.top-status button,#clock{display:none}footer{padding:0 12px;gap:6px}.footer-copy{min-width:140px}footer nav{overflow:auto;justify-content:flex-start}footer nav button{font-size:10px;white-space:nowrap;padding:9px 7px}.scene-caption h1{font-size:20px}.scene-caption{left:22px;top:20px}.world-tools{right:15px;top:85px}#sound{display:none}}@media(max-width:600px){header{height:72px}.brand{font-size:16px}.top-status{display:none}#catalogButton{margin-left:auto}main{height:calc(100dvh - 142px)}footer{height:70px}.footer-copy{display:none}footer nav button{padding:8px}#outboxButton{padding:8px}.panel{top:82px;bottom:80px;width:calc(100% - 24px);left:12px;right:12px}.walk-hint{font-size:9px;padding:9px}.walk-hint span{padding:0 3px}.scene-caption h1{font-size:17px}.scene-caption p{font-size:10px}.world-tools{top:90px}dialog{margin:16px;width:calc(100% - 32px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.header-documents,#logoutButton{font-size:11px;white-space:nowrap}.login-page{overflow:auto}.login-scene{min-height:100dvh;height:auto;display:grid;place-items:center;background:linear-gradient(90deg,#0b1228dd,#111a2c77),url('office.png') center/cover}.login-card{width:min(410px,calc(100% - 32px));margin:50px 0;padding:35px;border:1px solid #5566836b;background:#131e31ed;backdrop-filter:blur(18px);border-radius:24px;box-shadow:0 30px 100px #0008}.login-card .logo{margin-bottom:25px}.login-card h1{font-size:29px;font-weight:500;margin:11px 0}.login-card p{font-size:12px;color:#afbdd6;line-height:1.8}.login-card label{display:block;font-size:12px;margin:25px 0 10px}.login-card button{width:100%;margin:15px 0}.login-card small{display:block;font-size:10px;color:#8194b6;line-height:1.7}.login-card #loginError,.form-error{color:#f0b4a9;font-size:12px;line-height:1.6}.cabinet-panel{width:380px}.cabinet-panel h3,.research-panel h3{font-size:16px;font-weight:500;letter-spacing:-.2px;margin-top:25px}.cabinet-choice{width:100%;display:grid;grid-template-columns:38px 1fr;gap:5px;text-align:left;margin:9px 0;padding:14px}.cabinet-choice>span{grid-row:1/3;font-size:29px;color:#99d9c9}.cabinet-choice strong{font-size:12px;font-weight:500}.cabinet-choice small{font-size:10px;color:#8da1bd}.lock-emblem{margin:25px auto 20px;width:96px;height:96px;display:grid;place-items:center;font-size:54px;background:linear-gradient(140deg,#32504e,#202d45);border-radius:25px;color:#a3e6cb;position:relative}.lock-emblem span{position:absolute;font-size:24px;background:#d5bf8c;color:#283642;right:-5px;bottom:-3px;border-radius:10px;width:32px;text-align:center}#vaultUnlock .primary{width:100%;margin-top:20px}.quiet{background:none;border:0;font-size:10px;color:#a5b8cc;padding:7px}.vault-open-line{font-size:10px;color:#b0cdbf;display:flex;gap:6px;align-items:center}.vault-open-line button{margin-left:auto}.document-row{display:flex;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #35435e}.document-icon{color:#cfc69f;border:1px solid #55617c;font-size:12px;padding:7px;border-radius:5px}.document-row>div{min-width:0;flex:1}.document-row strong{display:block;font-size:11px;overflow-wrap:anywhere;line-height:1.5;font-weight:500}.document-row small{font-size:9px;display:block;color:#8396b2;margin-top:5px}.document-row button{padding:7px;font-size:9px}.upload-box{background:#202c43;border:1px dashed #576b86;padding:17px;border-radius:13px;margin:25px 0 15px}.upload-box label{display:block}.upload-box strong{font-size:12px;font-weight:500;display:block}.upload-box small{display:block;font-size:10px;color:#94a7c1;margin:7px 0 15px;line-height:1.7}.upload-box input{font-size:10px;padding:8px}.upload-box button{width:100%;margin:12px 0 0}.upload-box p{font-size:11px;color:#b7d8ca;line-height:1.7;margin-bottom:0}.empty-library{text-align:center;padding:30px 10px}.empty-library span{font-size:40px;color:#657b94}.empty-library p{font-size:12px;color:#b7c6d9}.empty-library small{font-size:10px;color:#7d92b1}#documentPreview{position:fixed;z-index:9;inset:25px;background:#111b30f9;border:1px solid #64779388;border-radius:20px;padding:25px;display:flex;flex-direction:column;box-shadow:0 30px 100px #0009;backdrop-filter:blur(20px)}.preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.preview-head h2{font-size:21px;margin:8px 0 18px;font-weight:500;overflow-wrap:anywhere}#previewBody{flex:1;min-height:0;overflow:auto;border:1px solid #3d4e68;border-radius:12px;padding:20px;background:#0e172a;color:#cdd8eb;font-size:13px;line-height:1.8}#previewBody pre{white-space:pre-wrap;word-break:break-word;font:13px/1.9 ui-monospace,monospace}#previewBody iframe{border:0;width:100%;height:100%;min-height:400px;background:#fff}#previewBody img{display:block;max-width:100%;max-height:100%;margin:auto;object-fit:contain}#downloadOriginal{align-self:flex-end;margin-top:16px;font-size:12px}#roomBadge{position:absolute;top:20px;left:25px;display:flex;gap:8px;align-items:center}#roomBadge>span{font-size:10px;letter-spacing:2px;color:#b6e8db;margin-right:10px}#roomBadge button{font-size:10px;background:#172238e8;padding:8px}.research-panel{width:370px}.reference-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:20px 0}.reference-tabs button{font-size:10px;padding:7px 10px}.reference-tabs .selected{background:#afdccb;color:#17362f;border-color:#afdccb}.reference-cover{height:155px;border:1px solid #8a7a9466;border-radius:12px;display:flex;flex-direction:column;justify-content:flex-end;padding:20px;background:linear-gradient(150deg,#183f5c,#5e365e 55%,#161b32);overflow:hidden;position:relative}.reference-cover:before{content:'';position:absolute;width:220px;height:1px;background:#9bdad699;transform:rotate(-25deg);top:43px;box-shadow:0 18px #9bdad633,0 36px #9bdad622;right:-15px}.reference-cover span{font-size:8px;letter-spacing:2px;color:#c4dfdf}.reference-cover strong{font-size:27px;font-weight:550;margin:8px 0}.reference-cover small{font-size:10px;color:#c0b7d0}.reference-cover.road-rash{background:linear-gradient(140deg,#38535a,#653c5c,#1b2339)}.reference-cover.carmageddon{background:linear-gradient(140deg,#75413f,#4f365a,#1c2538)}.reference-cover.crossroad{background:linear-gradient(140deg,#225451,#38496a,#182239)}.research-prompts{padding-left:18px;font-size:11px;line-height:1.9;color:#b8c6dd}#saveResearch button{width:100%;margin-top:12px}#researchResult{font-size:11px;line-height:1.7;color:#a5d5c1}.research-play{width:100%;font-size:11px;margin-top:20px}#raceDialog{max-width:900px;width:calc(100vw - 40px);max-height:calc(100dvh - 30px);overflow:auto}#raceCanvas{width:100%;display:block;border:1px solid #4c617d;border-radius:12px;background:#10172d;max-height:60dvh;object-fit:contain}#raceHud{font-size:12px;color:#b2d4ca;margin-top:0;font-variant-numeric:tabular-nums}.race-controls{display:flex;gap:6px;justify-content:center;margin:15px 0}.race-controls button{touch-action:none;min-width:42px}.race-controls .primary{margin-left:auto}.race-controls button:active{background:#759c92;color:#122d28}@media(max-width:1100px){header{gap:10px;padding:0 18px}.top-status{font-size:10px;gap:6px}.brand{font-size:17px}.brand small{display:none}.header-documents{padding:9px}.cabinet-panel,.research-panel{width:340px}#roomBadge{top:10px;left:15px;flex-wrap:wrap;max-width:90%}#roomBadge>span{width:100%;margin-bottom:2px}#roomBadge button{font-size:9px}}@media(max-width:600px){.header-documents{font-size:0;padding:10px}.header-documents:first-letter{font-size:18px}#logoutButton{font-size:9px;padding:8px}.cabinet-panel,.research-panel{width:calc(100% - 24px)}#documentPreview{inset:8px;padding:15px}.preview-head h2{font-size:17px}.scene-caption h1{font-size:17px}#raceDialog{padding:18px}.race-controls{flex-wrap:wrap}.race-controls .primary{margin-left:0;flex:1}#roomBadge{max-width:calc(100% - 30px)}#roomBadge>span{display:none}}
#passwordSettings{border-top:1px solid #40516a;padding-top:20px;margin-top:20px}#passwordSettings input{margin:8px 0}#passwordSettings button{width:100%;margin-top:10px}#passwordSettings label{display:block;font-size:11px;margin-top:12px}#passwordResult{font-size:11px;line-height:1.7;color:#b0d7ca}.device-entry{display:flex;justify-content:space-between;gap:10px;border:1px solid #3e506a;border-radius:12px;padding:13px;margin:10px 0}.device-entry h3{font-size:12px;margin:0 0 6px}.device-entry small{font-size:10px;color:#8fa3bf}.device-entry button{font-size:10px;align-self:center}.pair-code{font:12px/1.7 ui-monospace,monospace;word-break:break-all;background:#0e172a;border:1px solid #3f566e;padding:15px;border-radius:12px;user-select:all}
@media(max-height:850px){.cabinet-panel .lock-emblem{width:62px;height:62px;font-size:35px;margin:12px auto}.cabinet-panel h3{margin:14px 0 10px}.cabinet-panel .field-label{margin:14px 0 8px}#vaultUnlock .primary{margin-top:15px}}dialog:not(#raceDialog){max-height:calc(100dvh - 36px);overflow:auto}

.project-group h3,.related-chats h3{font-size:12px;color:#a8e7d5;margin:16px 0 9px}.project-group h3 small{color:#9daac4;font-weight:400}.related-chats button{display:block;width:100%;text-align:left;font-size:11px;margin:6px 0}.related-chats button small{display:block;font-size:10px;color:#a1aec7;margin-top:5px}.related-chats button[aria-current=true]{border-color:#9bdcc9;background:#233f44}
.furniture-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:20px 0}.furniture-catalog article{border:1px solid #526379;border-radius:10px;padding:14px}.furniture-catalog button{margin-top:6px}
/* Keep account controls and every room reachable on tablets. */
:root{--office-header-height:88px;--office-footer-height:78px}header{height:var(--office-header-height)}main{height:calc(100dvh - var(--office-header-height) - var(--office-footer-height))}footer{height:var(--office-footer-height)}#accountButton{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){:root{--office-header-height:110px;--office-footer-height:110px}header{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-rows:44px 36px;gap:6px 8px;padding:10px 18px}.brand{grid-column:1/3;grid-row:1;min-width:0}.top-status,#clock{display:none}#documentsButton{grid-column:3;grid-row:1}#catalogButton{grid-column:4;grid-row:1}#accountButton{grid-column:1/3;grid-row:2;max-width:100%;justify-self:start}#ownerLoginButton,#logoutButton{grid-column:3/5;grid-row:2;justify-self:end}footer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:44px 38px;gap:4px 8px;padding:10px 18px}.footer-copy{min-width:0}.footer-copy strong,.footer-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}footer nav{grid-row:2;grid-column:1/-1;width:100%;max-width:100%;overflow-x:auto;display:flex;gap:4px;touch-action:pan-x;scrollbar-width:thin}footer nav button{flex:0 0 auto;white-space:nowrap}#exchangeButton{grid-column:2;grid-row:1}#outboxButton{grid-column:3;grid-row:1}.world-tools{top:70px;right:15px}.scene-caption{top:10px;left:16px}.walk-hint{font-size:9px;max-width:95%;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:600px){header,footer{padding-left:12px;padding-right:12px}.brand{font-size:14px}.brand .logo{width:34px;height:34px;font-size:20px}#catalogButton{font-size:11px;padding:9px}#accountButton,#ownerLoginButton{font-size:11px;padding:8px}.footer-copy strong{font-size:9px}#exchangeButton,#outboxButton{font-size:10px;padding:8px}}

.personal-office-dialog .game-toggle{display:flex;align-items:flex-start;gap:10px;line-height:1.6;margin:18px 0}.personal-office-dialog .game-toggle input{width:18px;height:18px;flex:0 0 18px;margin:4px 0;padding:0}.personal-office-dialog .account-logout{display:block;margin-top:24px}.personal-office-dialog .decor-room-field{display:block;margin:16px 0 8px}.personal-office-dialog .decor-room-field select{display:block;width:100%;margin-top:8px}
/* Additional cabinets keep navigation scrollable instead of squeezing the action buttons. */
footer nav{min-width:0;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}footer nav button{flex:0 0 auto;white-space:nowrap}#exchangeButton,#outboxButton{flex:0 0 auto;white-space:nowrap}

.plant-care-panel form{display:grid;gap:10px;margin:18px 0}.plant-care-panel form button{width:100%}.plant-care-panel label{display:block;line-height:1.5}.plant-care-panel .plant-care-confirm{display:flex;align-items:flex-start;gap:10px}.plant-care-panel input[type=checkbox]{width:auto;flex:none;margin-top:5px}.plant-care-panel h2{margin-top:38px}
@media(max-width:1100px){#accountButton{grid-column:1}#careButton{grid-column:2;grid-row:2;justify-self:start;padding:8px 12px}}
.personal-office-dialog a.primary{display:inline-block;padding:11px 14px;border-radius:10px;background:#a8e7d5;color:#172d31;text-decoration:none;font-weight:600;margin:12px 0}

.shop-steps{padding:14px 18px 14px 36px;margin:14px 0;background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;color:#d7d0c9;font-size:13px;line-height:1.6}.furniture-catalog article p{line-height:1.45}.personal-office-dialog h3{margin-top:22px}
/* A non-modal buy/build dock keeps the live office visible and clickable. */
.shop-dock{position:fixed;inset:auto 12px 12px;margin:0;width:calc(100% - 24px);max-width:none;height:370px;max-height:56dvh;padding:12px 18px;border:1px solid #9e8bc088;border-radius:20px;background:linear-gradient(125deg,#19283af5,#26253cf5);box-shadow:0 -12px 60px #090d2477;color:#ece6dc;z-index:90;overflow:auto}.shop-dock::backdrop{background:none;backdrop-filter:none}.shop-dock>h2{display:inline;font-size:15px;margin:0 16px}.shop-dock>button:first-child{float:right}.shop-dock>p{display:inline;font-size:11px;color:#b6c5d0}.shop-dock .account-logout{font-size:10px;margin-top:8px}.shop-toolbar{display:flex;gap:9px;align-items:center;margin:12px 0 6px;flex-wrap:wrap}.shop-toolbar>strong{color:#f5d397;font-size:18px;margin-right:12px}.shop-toolbar .game-toggle{margin:0 0 0 auto;font-size:12px}.shop-dock button[aria-pressed=true]{border-color:#e3c78b;background:#846e4844;color:#ffe4ab}.shop-hint{font-size:11px;color:#aec4cd;margin:4px 0 8px;line-height:1.4}.shop-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.shop-gallery{min-width:0}.shop-categories{display:flex;gap:5px;overflow:auto;margin-bottom:8px}.shop-categories button{white-space:nowrap;font-size:11px;padding:6px 10px}.shop-grid{display:flex;gap:9px;overflow:auto;padding:3px 3px 10px;min-height:166px;scroll-snap-type:x proximity}.shop-tile{flex:0 0 116px;display:flex;align-items:center;flex-direction:column;gap:4px;background:#ffffff05;border:1px solid #acb2c52b;border-radius:12px;padding:4px 5px 10px;scroll-snap-align:start}.shop-tile canvas{width:92px;height:82px;image-rendering:pixelated;pointer-events:none}.shop-tile strong{font-size:11px;line-height:1.25;min-height:28px}.shop-tile small{color:#f0d28f;font-size:11px}.shop-details{background:#0d192a88;border-radius:12px;padding:12px;font-size:11px;min-width:0}.shop-details h3{font-size:16px;margin:0 0 5px}.shop-details p{font-size:11px;margin:5px 0;line-height:1.4;color:#b9cbd4}.shop-details select{width:100%;margin:8px 0 2px;font-size:11px}.shop-details>button{display:block;width:100%;margin-top:7px}.shop-details>strong{color:#f5d397}.shop-info{font-size:10px;margin-top:8px;color:#adbac8}.shop-info p{font-size:11px}.shop-pending{padding:6px;border:1px solid #e4b77b;font-size:11px}.shop-dock~#teamBoard{pointer-events:none}@media(max-width:700px){.shop-dock{inset:auto 5px 5px;width:calc(100% - 10px);padding:10px;height:410px;max-height:64dvh;border-radius:14px}.shop-body{grid-template-columns:minmax(0,1fr) 190px;gap:8px}.shop-toolbar{gap:5px}.shop-toolbar>strong{font-size:15px}.shop-toolbar .game-toggle{margin-left:0}.shop-tile{flex-basis:100px}.shop-details{padding:8px}.shop-dock>h2{font-size:14px}.shop-dock>p{display:none}}@media(max-width:440px){.shop-body{grid-template-columns:minmax(0,1fr)}.shop-details{display:grid;grid-template-columns:1fr 1fr;gap:5px}.shop-details>p{grid-column:1/-1}.shop-details select{grid-column:1/-1}.shop-grid{min-height:140px}.shop-tile canvas{height:62px}.shop-tile{flex-basis:90px}.shop-info{display:none}}
body.shop-open main{height:max(200px,calc(100dvh - var(--office-header-height) - 398px))}body.shop-open footer{visibility:hidden}body.shop-open #teamBoard{max-height:140px;overflow:auto;bottom:auto}.shop-dock .shop-info p{margin-bottom:0}@media(max-width:700px){body.shop-open main{height:max(180px,calc(100dvh - var(--office-header-height) - 435px))}}
body.shop-open .walk-hint{display:none}
#world{touch-action:none;cursor:grab;user-select:none}

/* Clear game-style controls; room names are destinations for Dima, not tabs. */
:root{--office-footer-height:76px}header{gap:12px;background:linear-gradient(110deg,#19263a,#1b2035);border-bottom:1px solid #8ca4b133;box-shadow:0 5px 25px #080f2026}button{border-radius:12px}#accountButton{background:linear-gradient(135deg,#566354,#3c514f);border-color:#a4c6a56b;color:#f3e7c3}#catalogButton{box-shadow:0 3px 14px #95dfc126}.logo{background:#b9e4d00a}.world-tools{padding:5px;border-radius:16px;background:#111a2ad9;border:1px solid #aec1c22b}.world-tools button{border-color:transparent}.world-tools button:hover{border-color:#9ed4c288}.footer-actions{display:flex;gap:8px;margin-right:auto}footer{height:var(--office-footer-height);display:flex;gap:10px;padding:10px 20px;background:linear-gradient(110deg,#182335,#1d2135)}footer button{font-size:11px;white-space:nowrap}#roomNavButton{background:#a9d8c6;color:#183d38;border-color:#a9d8c6;font-weight:650}#outboxButton{color:#a9b8cd;background:transparent}#exchangeButton{background:transparent;border-color:#65758d66}#roomNavDialog{width:min(760px,calc(100vw - 28px));padding:24px;background:linear-gradient(135deg,#253448,#24263e);border:1px solid #91b9b077;border-radius:22px;box-shadow:0 24px 90px #0008}#roomNavDialog::backdrop{background:#080f23b3;backdrop-filter:blur(5px)}.room-nav-heading{display:flex;justify-content:space-between;align-items:center}.room-nav-heading button{font-size:25px;background:none;border:0;padding:0 5px}#roomNavDialog h2{margin:8px 0 10px;font-size:25px}#roomNavDialog p{font-size:13px;line-height:1.65;color:#c2d0db;max-width:620px}#roomNavDialog nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}#roomNavDialog nav button{min-height:52px;white-space:normal;text-align:left;padding:12px 15px;background:#d5e7df0a;border-color:#b9cdd52b;font-size:12px;line-height:1.4}#roomNavDialog nav button:hover{background:#a4d4bf22;border-color:#a4d4bf}#roomNavDialog nav button:first-child{background:#9fc9b333;color:#d6f5e4;border-color:#92c8ad77}#roomNavDialog small{display:block;color:#9fb0c6;font-size:11px;line-height:1.65}#teamBoard{background:linear-gradient(180deg,#182238f5,#151e32f5)}.team-row{border-radius:12px;background:#c2d5ee08} .team-row:hover{background:#a7ccb81c}.team-owner{background:#98d2b80a}.walk-hint{background:#152335e0;color:#bdcdd6}
@media(max-width:1100px){:root{--office-footer-height:90px}footer{display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px}.footer-copy{flex:1 0 100%;font-size:9px}.footer-copy small{display:inline;margin-left:10px}.footer-actions{margin-right:auto}#exchangeButton,#outboxButton{font-size:10px;padding:8px}.world-tools{top:14px}}
@media(max-width:600px){:root{--office-footer-height:124px}footer{justify-content:flex-start;align-content:center}.footer-actions{flex:1 0 100%;margin:0}.footer-actions button{flex:1}#roomNavDialog{padding:18px}#roomNavDialog nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#roomNavDialog nav button{min-height:46px;padding:10px;font-size:11px}#roomNavDialog h2{font-size:22px}#roomNavDialog p{font-size:12px}#roomNavDialog small{font-size:10px}#roomNavDialog{max-height:85dvh!important}.walk-hint{font-size:9px}.brand small{display:none}}

.shop-details>canvas{width:112px;height:88px;display:block;margin:0 auto 8px;image-rendering:pixelated;pointer-events:none}.shop-gallery>select{margin:0 0 7px;width:100%;font-size:12px}.shop-gallery>.shop-grid+.shop-page{font-size:11px}

.office-object-menu{position:fixed;z-index:140;min-width:215px;max-width:calc(100vw - 16px);padding:10px;border:1px solid #a9d4c977;border-radius:17px;background:#16283af7;box-shadow:0 12px 40px #0009;color:#f1eadc}.office-object-menu[hidden]{display:none}.office-object-menu>strong{display:block;padding:5px 9px 9px;font-size:13px}.office-object-menu>button{display:block;width:100%;text-align:left;padding:10px 12px;margin:3px 0;border-radius:10px;background:#ffffff08;border:1px solid #ffffff16;color:inherit}.office-object-menu>button:hover,.office-object-menu>button:focus-visible{background:#a9d4c922;border-color:#a9d4c9}.office-object-menu>button:disabled{opacity:.5}
