:root{--cyan:#90d9ef;--glass:rgba(24,35,53,.9)}
#nav{gap:8px;scrollbar-width:thin}#nav button{flex-shrink:0}#nav button[data-page=manage]{color:var(--cyan)}
.quiz-avatar{width:180px;height:210px;float:right;margin:-22px -18px 0 12px}.quiz-avatar iframe,#companion iframe{width:100%;height:100%;border:0;background:transparent;pointer-events:none}.companion-choices{border:0;padding:0;margin:0 0 22px}.companion-choices legend{font-size:13px;color:#b4c2d3;margin-bottom:10px}.companion-choices>div{display:flex;gap:8px}.companion-choices button{flex:1;padding:10px 8px;text-align:left;min-width:0}.companion-choices small,[data-companion] small{display:block;font-size:10px;font-weight:400;line-height:1.3;margin-top:4px;color:#a9b8c9}.companion-choices [aria-pressed=true],[data-companion][aria-pressed=true]{border-color:var(--cyan);background:#284653;color:#effbff}#welcome{width:min(780px,calc(100vw - 32px));padding:32px;max-height:92dvh;overflow:auto}#welcome h2{font-size:38px;line-height:1.12}#welcome .welcome-choices{clear:both}
#companion{position:fixed;z-index:25;bottom:52px;left:22px;width:124px;padding:0;border:0;background:transparent;overflow:visible;filter:drop-shadow(0 10px 18px #0005)}#companion iframe{height:178px;display:block}#companion-chat{font-size:11px;padding:7px 9px;max-width:160px;width:100%;background:#182d38ed;border-color:#7399a8;border-radius:12px}#companion-options{position:relative;font-size:10px;margin-top:5px;text-align:center;color:#a3c9d4}#companion-options summary{cursor:pointer;background:#152231d9;border-radius:8px;padding:5px;list-style:none}#companion-options[open]{background:#172538f5;border:1px solid #507787;border-radius:12px;padding:8px;width:208px}#companion-options[open] iframe{display:none}#companion-options button{font-size:11px;padding:6px;display:inline-block;margin:3px}#companion-options label{display:flex;font-size:11px;gap:5px;align-items:center;justify-content:center}#companion-options input{width:auto;margin:0}#companion[hidden]{display:none}
#walk-settings{position:absolute;z-index:7;top:82px;right:20px;width:250px;background:rgba(245,248,239,.94);color:#183c36;padding:14px;border-radius:16px;border:1px solid #bed0c7;box-shadow:0 12px 40px #102c2818;backdrop-filter:blur(12px)}#walk-settings[hidden]{display:none}#walk-settings label{font-size:12px;margin-bottom:9px}#walk-settings select{background:#fff;color:#173e35;border-color:#c5d4ce;padding:9px}#walk-settings small{font-size:10px;line-height:1.5;color:#46605a;display:block}.key-walking .scene-heading{display:none}.key-walking #architecture-panel{max-width:190px}.key-walking #architecture-panel>summary{font-size:12px}
.resident-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}.resident-heading h2{margin:7px 0}.resident-heading small{letter-spacing:2px;font-size:10px;color:var(--cyan)}.resident-tabs{display:flex;gap:8px;overflow:auto;flex-wrap:wrap;margin:0 0 28px;padding-bottom:8px}.resident-tabs button{padding:10px 14px;font-size:13px;white-space:nowrap}.resident-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 32px}.resident-metrics button{min-height:150px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;padding:20px;background:linear-gradient(145deg,#264958,#1c2a3f);border-radius:18px}.resident-metrics small{color:#a3c0c9}.resident-metrics b{font-size:23px;line-height:1.2;font-weight:500}.resident-metrics span{font-size:11px;color:var(--cyan)}.meter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.meter-card,.bill-card,.ticket-card,.community-feature{padding:24px;background:#1b293d;border:1px solid #33435b;border-radius:18px;margin-bottom:18px}.meter-card>p strong{font-size:32px;font-weight:500;color:#e9f7fa}.meter-card>small{font-size:14px;color:#afc4d1}.data-source{display:inline-block;font-size:10px;color:#bfe6ee;background:#2b4656;border-radius:6px;padding:5px 7px}.meter-card form{margin-top:20px}.meter-card input{font-size:18px}.form-feedback{color:#ffc1a8;font-size:13px;min-height:16px}.meter-card details{margin-bottom:0}.ticket-card img{max-width:220px;max-height:180px;border-radius:10px;display:block;margin-bottom:12px}#resident-ticket{max-width:650px;padding:24px;border:1px solid #3b5364;background:#1b2c3d;border-radius:18px}.link-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:12px;text-decoration:none!important;margin:6px 8px 6px 0;border:1px solid #8dd2e3}.phone-services{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.phone-services button{padding:7px 3px;font-size:10px;color:#334d62;background:#edf3f5;border-color:#c6d5dc}
.business-preview{margin:16px 0;border:1px solid #385166;padding:16px;border-radius:14px}.business-preview p{display:flex;gap:6px;flex-wrap:wrap}.business-preview p button{font-size:11px;padding:7px}.business-preview output{font-size:18px;color:var(--cyan)}.business-metrics{display:grid;gap:12px;grid-template-columns:1fr 1fr;margin:18px 0}.business-metrics p{padding:13px;background:#1d2e42;border-radius:12px;margin:0;font-size:11px}.business-metrics b{display:block;font-size:17px;margin-top:6px;color:#b6e4ef;font-weight:500}.business-metrics .negative{color:#ffb79e}
.event-hero{position:relative;min-height:460px;display:flex;align-items:end;border-radius:22px;overflow:hidden;background:#21354a;margin-bottom:26px}.event-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.event-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b172ae6,transparent),linear-gradient(0deg,#0b172a9e,transparent)}.event-hero>div{position:relative;z-index:1;padding:36px;max-width:620px}.event-hero h2{font-size:48px;line-height:1.05;font-weight:450;margin:14px 0}.event-hero small{font-size:11px;letter-spacing:2px;color:#e6c795}.event-hero p{max-width:480px;line-height:1.6;color:#e2e9ed}.event-hero button{background:#273b46d9;color:#fff;border-color:#8cb4c4}.event-program .card{background:linear-gradient(150deg,#213e49,#19263b);padding:24px}.event-program .card>small:first-child{letter-spacing:2px;color:#e8c692}.event-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:40px}.event-gallery figure{margin:0;border:1px solid #3b5060;border-radius:17px;overflow:hidden;background:#1a2a3e}.event-gallery figure:first-child{grid-row:span 2}.event-gallery img{width:100%;height:240px;object-fit:cover;display:block}.event-gallery figure:first-child img{height:calc(100% - 65px);min-height:480px}.event-gallery figcaption{padding:15px;font-size:14px}.event-gallery figcaption a{display:block;font-size:11px;color:#a6c9d7;margin-top:6px}.scene-bottom>div{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}#season-toggle[aria-pressed=true]{background:#325746;color:#fff;border-color:#8fba9f}
@media(min-width:1101px){#content-layer{padding-bottom:120px}#assistant{max-height:66dvh}#messages{min-height:110px}}
@media(max-width:1100px){#companion{bottom:44px;left:12px;width:90px}#companion iframe{height:130px}#companion-chat{font-size:10px;padding:6px}#companion-options summary{font-size:9px}#walk-settings{width:205px}#content-layer{padding-bottom:145px}.resident-metrics{gap:10px}.resident-metrics button{padding:15px}.resident-metrics b{font-size:18px}}
@media(max-width:650px){#welcome{padding:24px 20px}#welcome h2{font-size:29px}.quiz-avatar{width:115px;height:160px;margin:-12px -12px 0 6px}.companion-choices{clear:both}.companion-choices button{padding:9px 6px}.companion-choices small{font-size:9px}#companion{width:70px;left:6px;bottom:45px}#companion iframe{height:98px}#companion-chat{font-size:9px}#companion-options summary{font-size:8px;padding:4px}#companion-options[open]{width:180px}#assistant{width:calc(100vw - 24px);right:12px;bottom:100px;max-height:66dvh}#assistant-open{max-width:calc(100vw - 115px);font-size:11px;right:10px;padding:12px}#walk-settings{top:76px;right:10px;width:177px;padding:10px}#walk-settings small{display:none}.resident-heading{display:block}.resident-heading .badge{margin-top:8px}.resident-tabs{gap:6px}.resident-tabs button{font-size:11px;padding:9px}.resident-metrics,.meter-grid{grid-template-columns:1fr}.resident-metrics{gap:8px}.resident-metrics button{min-height:110px}.meter-card,.bill-card,.ticket-card{padding:18px}.event-hero{min-height:450px}.event-hero>div{padding:24px}.event-hero h2{font-size:37px}.event-gallery{grid-template-columns:1fr}.event-gallery figure:first-child{grid-row:auto}.event-gallery figure:first-child img{height:380px;min-height:0}.event-gallery img{height:230px}.scene-bottom>div{gap:6px;max-width:100%}.scene-bottom button{padding:8px;font-size:10px}.key-walking #architecture-panel{max-width:135px}#content-layer{padding:22px 18px 140px}#resident-ticket{padding:16px}}
.resident-tabs{height:auto;padding:0 0 12px;border-bottom:1px solid #33465a}.resident-tabs button.active:after{display:none}body.portal-studio #companion{padding:0;overflow:visible}body.portal-studio .resident-tabs{height:auto;padding:0 0 12px}body.embedded #companion{display:none}
#content-layer{z-index:16}.key-content .view-tabs,.key-content #walk-settings,.key-content .architecture-tools,.key-content .scene-bottom,.key-content #object-actions,.key-content .interior-pad,.key-content .interior-minimap{display:none!important}
header.key-header{height:82px;padding:0 22px;gap:20px}.key-brands{display:flex;align-items:center;gap:20px;flex-shrink:0}.key-uds{color:white;text-decoration:none;display:flex;align-items:center}.key-uds b{font-size:35px;letter-spacing:-2px}.brand-family{display:flex;align-items:center;gap:15px;padding-left:17px;border-left:1px solid #536174}.brand-family a{display:flex;align-items:center}.brand-family img{display:block;object-fit:contain}.ivcorp-logo{width:75px;height:35px}.urban-logo{width:92px;height:35px}.brand-family .rt-logo{width:116px;height:37px;background:white;padding:7px 9px;border-radius:6px}.key-header .project{font-size:11px;line-height:1.4;min-width:85px;white-space:nowrap}.key-header .project small{display:block;font-size:9px}.key-header-actions{display:flex;gap:8px;align-items:center;margin-left:auto}.collection-button{display:flex;align-items:center;gap:7px;padding:9px 10px;min-height:42px;background:#152537;color:#d7ebf3;border-color:#344d61}.collection-name{font-size:10px}.collection-count{font-size:10px;min-width:17px;height:17px;display:grid;place-items:center;background:#36515c;border-radius:50%;color:#d2f5ff}.key-header #save{white-space:nowrap;padding:11px 14px;font-size:12px}.key-header .avatar{width:36px;height:36px;flex-shrink:0}#collection-dialog{width:min(760px,94vw)}.collection-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.collection-head h2{font-size:28px;margin:0}.collection-list{display:grid;gap:12px}.collection-list article{display:flex;justify-content:space-between;align-items:center;padding:18px;background:#1c3045;border-radius:14px;gap:20px}.collection-list h3{font-size:21px;margin:7px 0}.collection-list p{margin:0;font-size:12px}.collection-empty{padding:25px 0}.key-header+nav+main{height:calc(100dvh - 189px)}
@media(max-width:1250px){.collection-name{display:none}.key-header .project small{display:none}.key-header .project{min-width:0}.brand-family{gap:11px;padding-left:12px}.key-brands{gap:12px}}
@media(max-width:1050px){header.key-header{height:108px;padding:10px 16px;display:grid;grid-template-columns:1fr auto;gap:7px 14px}.key-brands{grid-column:1/-1;justify-content:center}.key-header .project{grid-column:1;grid-row:2;font-size:10px;display:block}.key-header-actions{grid-column:2;grid-row:2}.key-header #save{padding:9px 12px;font-size:11px}.collection-button{min-height:35px;padding:7px 9px}.key-header+nav+main{height:calc(100dvh - 215px)}}
@media(max-width:740px){header.key-header{height:108px;padding:9px 12px;gap:6px 8px}.key-brands{gap:11px;justify-content:flex-start}.key-uds b{font-size:30px}.ivcorp-logo{width:64px;height:29px}.urban-logo{width:80px;height:29px}.brand-family .rt-logo{width:105px;height:32px;padding:5px 7px}.brand-family{gap:10px;padding-left:11px}.key-header #save{font-size:10px;padding:9px 10px}.key-header-actions{gap:6px}.key-header .avatar{width:32px;height:32px;font-size:10px}.key-header .project{font-size:9px}.collection-button{padding:7px;gap:5px}.collection-button svg{width:17px;height:17px}.collection-count{width:15px;min-width:15px;height:15px;font-size:9px}.key-header+nav+main{height:auto}.collection-list article{display:block}.collection-list button{margin-top:12px}}
@media(max-width:380px){.brand-family{gap:7px;padding-left:8px}.key-brands{gap:8px}.ivcorp-logo{width:55px}.urban-logo{width:70px}.brand-family .rt-logo{width:95px}.key-header .project{font-size:8px}.key-header #save{font-size:9px;padding:8px}.key-header-actions{gap:4px}}
body.portal-studio header.key-header{height:auto;min-height:80px}body.portal-studio .key-brands{display:flex}body.portal-studio .key-header+nav+main{height:calc(100dvh - 158px)}
.brand-family .rt-logo{background:transparent;padding:0;border-radius:0}
.resident-inline{display:none}
@media(max-width:740px){.key-content #panel{display:none}.key-content #viewport{height:auto;min-height:calc(100dvh - 200px);overflow:visible}.key-content #scene,.key-content .scene-heading{display:none}.key-content #content-layer{position:relative;inset:auto;overflow:visible;min-height:calc(100dvh - 200px);padding-bottom:150px}.key-content main{min-height:0}.resident-inline{display:block;max-width:360px;margin-top:18px}.resident-inline select{margin-top:6px}.event-hero{min-height:500px}.event-hero h2{font-size:37px}}
@media(max-width:340px){.key-brands{gap:7px}.key-uds b{font-size:28px}.brand-family{gap:6px;padding-left:7px}.ivcorp-logo{width:50px}.urban-logo{width:64px}.brand-family .rt-logo{width:88px}}
/* Companion shares the chat dock; it never sits over the design sidebar. */
#companion{left:auto!important;right:24px;bottom:76px;width:100px}#companion iframe{height:150px}.chat-open #companion{right:410px;bottom:80px}#companion-options{position:relative}#companion-options[open]{position:absolute;right:0;bottom:0;width:220px;padding:12px;z-index:4;background:#172538fa}#companion-options[open]>div{display:flex;flex-wrap:wrap;gap:4px}#companion-options[open] [data-companion]{flex:1;min-width:55px}#companion.in-chat{position:absolute;top:44px;right:8px!important;bottom:auto;width:85px;filter:none}#companion.in-chat iframe{height:122px}#companion.in-chat #companion-chat{display:none}#companion.in-chat #companion-options summary{font-size:8px}#companion.in-chat #companion-options[open]{bottom:auto;top:80px;right:0}.chat-open #assistant:has(#companion.in-chat) #messages{padding-top:130px}#companion.in-chat #companion-options [data-companion] small{font-size:8px}
.business-features{font-size:12px;color:#b8d4d5;border-top:1px solid #385166;padding-top:12px}.traffic-panel{padding:16px;border:1px solid #3c5866;border-radius:14px;margin-top:20px;background:#152d3b}.traffic-panel h3{margin-top:0}.traffic-legend{display:flex;gap:14px;align-items:center;font-size:11px}.traffic-legend span{display:flex;gap:6px;align-items:center}.traffic-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.client-dot{background:#39a9cf}.staff-dot{background:#df9d43}#traffic-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}#traffic-metrics span{padding:7px;background:#203e4c;font-size:10px;border-radius:8px}#traffic-metrics b{font-size:17px;display:block;color:#e6f3f3}#traffic-hud{position:absolute;z-index:8;right:20px;top:86px;bottom:auto;padding:14px 16px;overflow:visible;background:#f4f7eee8;border:1px solid #cfdbce;color:#26443c;border-radius:14px;backdrop-filter:blur(12px);width:260px}#traffic-hud p{font-size:10px;color:#49665a;margin:9px 0}#traffic-hud button{font-size:10px;padding:6px 12px;background:#e6eee4;color:#23443a;border-color:#c3d2c5}body:not([data-key-page=business]) #traffic-hud{display:none}#clay-mode[aria-pressed=true]{background:#7a8583;color:white;border-color:#eef3ee}
@media(max-width:1100px){#companion{width:88px;right:20px}#companion iframe{height:125px}.chat-open #companion{right:400px}#traffic-hud{width:210px}}
@media(max-width:650px){#companion{right:18px;bottom:63px;width:72px}#companion iframe{height:100px}.chat-open #companion{right:10px}#companion-chat{font-size:9px}#companion-options summary{font-size:8px}#traffic-hud{top:12px;right:10px;width:175px;padding:10px}.traffic-legend{gap:8px;font-size:9px}#traffic-hud p{font-size:9px}.scene-bottom>div{max-width:70%}.key-walking #traffic-hud{display:none}}
.key-walking #traffic-hud{display:none}
.smart-brand{margin:0 0 18px;padding:4px 0}.smart-brand img{width:150px;height:auto;display:block}

#companion.in-chat{position:fixed;top:var(--buddy-top);right:var(--buddy-right)!important;z-index:43}
@media(max-width:650px){.chat-open #assistant #messages{padding-top:130px}}
/* Every chat section owns its row; message backgrounds cannot extend under buttons. */
#assistant{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:12px;height:min(620px,calc(100dvh - 140px));max-height:calc(100dvh - 110px);overflow:hidden;padding:18px;isolation:isolate}#assistant[hidden]{display:none}#assistant .assistant-head{min-width:0;gap:10px;position:relative;z-index:2}.assistant-head b{flex-shrink:0}.assistant-head span{min-width:0;line-height:1.4}#messages{display:flex;flex-direction:column;align-items:stretch;gap:10px;height:auto!important;min-height:0!important;max-height:none;overflow-y:auto;overflow-x:hidden;padding:4px 4px 14px 0!important;margin:0;scroll-padding-block:12px;overscroll-behavior:contain;border-bottom:1px solid #34465a}#messages>p{flex:0 0 auto;margin:0;padding:12px;border-radius:10px;font-size:13px;line-height:1.6;overflow-wrap:anywhere;max-width:100%}#messages>p.user{margin-left:24px}#assistant .suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;margin:0;position:relative;z-index:2;background:inherit}#assistant .suggestions button{min-width:0;white-space:normal;overflow-wrap:normal;line-height:1.3;font-size:10px;padding:8px 6px;margin:0;min-height:34px;align-self:stretch}#chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;padding:0;margin:0;position:relative;z-index:2;background:inherit}#chat-form textarea{height:72px;max-height:140px;min-width:0;margin:0;padding:10px;resize:vertical}#chat-form button{margin:0;min-height:42px;align-self:end;white-space:normal}#chat-status{display:block;min-width:0;margin:0;line-height:1.4;font-size:10px;max-height:44px;overflow:auto;overflow-wrap:anywhere}
#object-actions{display:flex;gap:7px;flex-wrap:wrap;max-width:calc(100% - 28px);white-space:normal;z-index:12}#object-actions>span{flex-basis:100%;font-size:11px;line-height:1.4}#object-actions[hidden]{display:none}.chat-open #object-actions,.chat-open #traffic-hud{display:none!important}body.key-content #architecture-tools{display:none!important}#panel-body{min-width:0}.row>button{min-width:0;white-space:normal}#architecture-tools{max-height:calc(100% - 248px);overflow-y:auto;overflow-x:hidden}.traffic-legend{flex-wrap:wrap}
@media(min-width:1101px){.chat-open .scene-bottom{right:540px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.chat-open .scene-bottom>div{justify-content:flex-start;max-width:100%}}
@media(max-width:1100px){.chat-open .view-tabs,.chat-open #walk-settings,.chat-open #architecture-tools,.chat-open .scene-bottom{display:none!important}}
@media(max-width:740px){body:not(.key-content) #viewport{height:68dvh;min-height:480px}.scene-heading{top:16px;left:14px;right:14px}.scene-heading h1{font-size:22px;line-height:1.15;margin:6px 0}.scene-heading p{display:none}#architecture-tools{top:106px;left:12px;width:174px;max-height:calc(100% - 265px);padding:10px;z-index:8}#architecture-tools>summary{font-size:12px}.scene-bottom{left:12px;right:12px;bottom:12px;display:flex;flex-direction:column;align-items:stretch;gap:6px}.scene-bottom>span{display:none}.scene-bottom>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;max-width:none}.scene-bottom button{min-width:0;min-height:32px;margin:0;padding:7px 5px;line-height:1.2;white-space:normal}.view-tabs{left:12px;right:12px;top:auto;bottom:96px;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:6px;padding:6px}.view-tabs button{min-width:0;white-space:normal;font-size:10px;line-height:1.2;padding:8px 6px;min-height:38px}#traffic-hud{top:106px;right:12px;width:min(210px,calc(100% - 210px));padding:10px}#object-actions{left:12px;right:12px;bottom:160px;transform:none;max-width:none}.has-selection #architecture-tools{display:none}.key-walking #walk-settings{top:12px;right:12px}}
@media(max-width:650px){#assistant{right:12px;bottom:68px;width:calc(100vw - 24px);height:min(620px,calc(100dvh - 235px));max-height:calc(100dvh - 180px);gap:10px;padding:16px}#assistant .assistant-head{min-height:168px;align-items:flex-start}#messages{padding-top:4px!important;padding-bottom:12px!important}#chat-form textarea{height:64px;max-height:96px;resize:none}#companion.in-chat iframe{height:106px}#companion.in-chat{width:85px}#companion.in-chat #companion-options summary{line-height:1.2;padding:5px}#chat-status{max-height:42px}.chat-open #assistant:has(#companion.in-chat) #messages,.chat-open #assistant #messages{padding-top:4px!important}}
@media(max-width:650px) and (max-height:740px){#assistant{height:calc(100dvh - 225px);padding:14px;gap:8px}#assistant .assistant-head{min-height:120px}#companion.in-chat iframe{height:64px}#chat-form textarea{height:58px}#assistant .suggestions button{font-size:9px;padding:6px 4px;min-height:30px}}
#viewport:fullscreen .scene-bottom{right:24px}
#assistant{height:min(620px,calc(100dvh - 270px));max-height:calc(100dvh - 200px)}.chat-open .view-tabs,.chat-open #walk-settings{display:none!important}.has-selection #architecture-tools{display:none!important}
@media(min-width:1101px){.scene-heading{max-width:calc(100% - 420px)}#assistant{height:min(620px,calc(100dvh - 240px));max-height:calc(100dvh - 200px)}.chat-open #architecture-tools{max-height:calc(100% - 360px)}}
@media(max-width:740px){.scene-heading{max-width:calc(100% - 28px)}}
@media(max-width:650px){#assistant{height:min(620px,calc(100dvh - 235px));max-height:calc(100dvh - 180px)}}
@media(max-width:650px) and (max-height:740px){#assistant{height:calc(100dvh - 225px)}}
@media(min-width:741px){body:not(.chat-open) #companion{bottom:150px}.scene-bottom{bottom:34px}#architecture-tools{max-height:calc(100% - 270px)}#object-actions{left:calc(50% - 60px);max-width:calc(100% - 190px)}footer{padding-right:280px}}
@media(max-width:740px){.scene-bottom{right:130px}.scene-bottom>div{grid-template-columns:repeat(2,minmax(0,1fr))}.view-tabs{right:130px;bottom:132px;grid-template-columns:repeat(2,minmax(0,1fr))}#architecture-tools{max-height:calc(100% - 370px)}footer{padding-right:210px}}
.key-content:not(.chat-open) #companion{display:none}.catalog button,#sensor-list button{min-width:0;overflow-wrap:anywhere;white-space:normal}
@media(max-width:450px){.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.key-header .project{display:none}.key-header-actions{grid-column:1/-1;justify-self:end}}
.chat-open .interior-pad,.chat-open #walk-pad,.has-selection .interior-pad,.has-selection #traffic-hud{display:none!important}
@media(max-width:740px){#object-actions{bottom:250px}.has-selection .scene-heading{display:none}.key-walking .scene-bottom{display:none}.key-walking .view-tabs{bottom:82px}.key-walking .interior-pad{bottom:20px;left:12px;right:108px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.key-walking .interior-pad button{padding:10px;min-width:0}}
@media(max-width:650px) and (max-height:740px){#assistant{height:calc(100dvh - 240px)}}
/* UOS layout audit 9.2 complete 20261104 */

@media(max-width:740px){body:not(.chat-open) #companion{bottom:var(--buddy-closed-bottom,63px)}}
/* UOS companion clamp 9.2.1 */
