main{max-width:1700px;padding:24px 32px}.heading{margin-bottom:24px}h1{font-size:30px;font-weight:550;letter-spacing:-1px}.model-card{padding:22px}.mode-bar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:16px 0}.mode-bar label{display:grid;gap:6px;color:#767676;font-size:12px}.mode-bar select{padding:10px;border:1px solid #ededed;border-radius:8px;background:white}.view-tabs{display:flex;gap:6px;background:#f5f7f4;padding:5px;border-radius:12px}.view-tabs button{background:transparent;border-color:transparent}.view-tabs button[aria-pressed=true]{background:#fff;border-color:#e3e9e2;box-shadow:0 2px 8px #243e3908}.soft-note{font-size:11px;line-height:1.65;color:#7b8580}.breadcrumb{font-size:12px;color:#50675e;margin:14px 0 18px}.model-layout{grid-template-columns:minmax(0,1fr) 310px}.viewport{height:650px;background:radial-gradient(ellipse at center,#fcfdfa,#edf3ef)}aside{max-height:760px;overflow:auto;background:#fff;border-color:#edf0eb;padding:16px}.toolbar{gap:12px}.toolbar label{font-size:11px}.buttons button{min-height:34px;font-size:11px;padding:6px 10px}.tenant-directory h2{font-size:18px;font-weight:500}#tenant-search{width:100%;padding:12px;border:1px solid #e4e9e2;border-radius:10px;background:#fafcf9}#tenant-results{max-height:196px;overflow:auto;display:grid;gap:4px;margin:10px 0 18px}.tenant-result{width:100%;display:grid;text-align:left;border:0;border-bottom:1px solid #f1f3ef;border-radius:0;background:transparent;padding:10px 4px;gap:5px}.tenant-result strong{font-size:12px;font-weight:550}.tenant-result span{font-size:10px;color:#8a928b}#tenant-choices{font-size:11px;line-height:1.7;color:#7d6b4a}#tenant-choices button{font-size:11px}#details{padding-top:16px;border-top:1px solid #edf0eb}#details h2{font-size:22px;font-weight:500}#details code{font-size:9px}#details dl{margin:12px 0}#routing{margin-top:18px;padding-top:14px;border-top:1px solid #edf0eb}#routing h2{font-size:15px;margin-bottom:6px}#route-build{background:#eef4ef;color:#29483b;border-color:#bed2c3;font-size:11px;width:100%;margin-top:8px}#route-clear{margin-top:5px;font-size:10px}#route-message{font-size:10px;color:#65796e;line-height:1.6}#plan-panel,#photo-panel{position:absolute;inset:60px 12px 12px}#plan-panel svg{width:100%;height:100%;display:block}#plan-panel g[role=button]{cursor:pointer}#plan-panel g:focus{outline:none;filter:drop-shadow(0 0 .08px #fa8c21)}#photo-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:12px}#facade-photo{object-fit:contain;width:100%;height:calc(100% - 50px);border-radius:8px}#photo-caption{font-size:12px;line-height:1.6;color:#62776b;text-align:center;max-width:600px}.view-badge{position:absolute;bottom:14px;left:14px;background:#ffffffdf;padding:8px 10px;font-size:10px;color:#65796e;border-radius:6px;max-width:70%}[hidden]{display:none!important}.room-tenants{font-weight:550;color:#29483b}.scope{margin-bottom:12px;max-width:900px}.model-note{font-size:10px}.page-label{letter-spacing:1px;text-transform:uppercase}
@media(max-width:1050px){.mode-bar{align-items:start;flex-direction:column}.model-layout{grid-template-columns:minmax(0,1fr) 280px}.viewport{height:550px}.view-tabs{flex-wrap:wrap}}
@media(max-width:800px){main{padding:18px 12px}.model-card{padding:14px}.model-layout{grid-template-columns:1fr}.viewport{height:470px}aside{max-height:none}.heading h1{font-size:25px}.view-tabs{width:100%}.view-tabs button{flex:1;font-size:11px;padding:6px}.toolbar{display:grid;grid-template-columns:1fr 1fr}.toolbar select,#room-select,#level-select{width:100%;max-width:100%}.toolbar .spread{width:auto}.tenant-result{padding:12px 6px}.tenant-directory{margin-top:8px}.viewport:fullscreen,.viewport.is-expanded{height:100dvh}}
@media(max-width:450px){.viewport{height:385px}.toolbar{grid-template-columns:1fr}.view-tabs{display:grid;grid-template-columns:1fr 1fr}.view-badge{font-size:9px;max-width:90%}.heading h1{font-size:23px}}
.page-label{margin-bottom:8px;font-size:10px}.heading{margin-bottom:14px}.heading h1{font-size:26px;margin-bottom:4px}.heading p{font-size:12px}.model-title,.scope{display:none}.mode-bar{margin:0 0 8px}.soft-note{margin:5px 0}.breadcrumb{margin:8px 0 12px}.toolbar{margin-bottom:12px}.buttons{margin-top:14px}.model-card{padding:18px 22px}
@media(min-width:801px){.heading{flex-direction:row;align-items:center;gap:12px}.mode-bar{flex-direction:row;align-items:end;gap:10px}.view-tabs{gap:2px}.view-tabs button{font-size:11px;padding:7px}.toolbar .checkbox{font-size:10px}.toolbar{gap:8px}.toolbar #room-select{width:250px}.toolbar .spread{width:130px}.toolbar #level-select{width:150px}}
#details details{margin-top:14px;font-size:11px;color:#7b8580;line-height:1.7}#details details a{display:inline-block;margin-top:8px}#details .focus-room{margin-top:2px}#details .room-tenants{font-size:13px;line-height:1.6;color:#29483b}#tenant-results{max-height:150px}.model-layout{grid-template-columns:minmax(0,1fr) 270px}#tenant-choices p{margin:8px 0}@media(max-width:800px){.model-layout{grid-template-columns:1fr}.model-card{padding:14px}}

#facade-floors{position:absolute;right:15px;top:65px;display:grid;gap:7px;max-width:170px}#facade-floors span{font-size:10px;color:#65796e;line-height:1.5;background:#ffffffd9;padding:7px;border-radius:6px}#facade-floors button{background:#ffffffea;font-size:12px;text-align:left;border-color:#dfe8df;box-shadow:0 2px 12px #34523b08}#return-exterior{position:absolute;bottom:15px;left:15px;background:#ffffffeb;font-size:11px;z-index:5}#tenant-pins{position:absolute;inset:0;pointer-events:none;overflow:hidden}.tenant-pin{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:25px;padding:4px 7px;border-radius:5px;font-size:10px;background:#fffffff0;color:#29483b;border:1px solid #bfcfc2;box-shadow:0 2px 7px #29483b0c}#entry-route{margin-top:16px;padding:14px;background:#f7f9f5;border:1px solid #e7ede2;border-radius:10px}#entry-route h2{font-size:14px}#entry-route ol{padding-left:18px;font-size:12px;line-height:1.9;color:#42584b}#entry-route-status{font-size:11px;line-height:1.65;color:#8a704a}@media(max-width:600px){#facade-floors{max-width:130px;right:10px;top:55px}#facade-floors button{min-height:33px;padding:6px 10px}.tenant-pin{font-size:10px}}

#pilot-badge{position:absolute;top:14px;right:15px;max-width:45%;padding:8px 10px;background:#fffefaef;color:#55705b;border:1px solid #dce4d3;border-radius:7px;font-size:10px;line-height:1.5;pointer-events:none}#pilot-overview,#route-fullscreen{width:100%;font-size:11px;background:#edf5ef;color:#287d67;border-color:#bad4c3}#route-fullscreen{margin-top:6px;background:#29483b;color:#fff}#pilot-evidence{display:block;font-size:11px;margin-top:10px}

/* Compact embedded presentation: show the building before secondary controls. */
.embed main{padding:10px 12px;max-width:none}
.embed .page-label,.embed .heading>div:first-child,.embed .model-title,.embed .scope,.embed #basis-note,.embed .breadcrumb,.embed .toolbar{display:none}
.embed .heading{margin:0 0 8px;justify-content:flex-end}
.embed .buildings button{min-height:36px;padding:6px 12px}
.embed .model-card{padding:8px 10px;border-radius:12px}
.embed .mode-bar{margin:0 0 8px}
.embed .mode-bar>label{display:none}
.embed .model-layout{gap:8px;grid-template-columns:minmax(0,1fr) 250px}
.embed .viewport{height:520px;min-height:520px}
.embed aside{padding:12px;max-height:520px;overflow:auto}
.embed .buttons,.embed .legend,.embed details,.embed .footer,.embed .model-note{display:none}
.embed #tenant-results{max-height:132px}
@media(max-width:800px){
  .embed main{padding:8px}
  .embed .page-label,.embed .heading>div:first-child,.embed .model-title,.embed .scope,.embed #basis-note,.embed .breadcrumb,.embed .toolbar{display:none}
  .embed .heading{margin:0 0 8px;display:block}
  .embed .buildings{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .embed .buildings button{min-height:36px;padding:6px 8px}
  .embed .model-card{padding:8px;border-radius:12px}
  .embed .mode-bar{margin:0 0 8px}
  .embed .mode-bar>label{display:none}
  .embed .view-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}
  .embed .view-tabs button{min-height:34px;padding:5px 4px;font-size:10px}
  .embed .model-layout{gap:8px}
  .embed .viewport{height:430px;min-height:430px}
  .embed aside{padding:12px;max-height:210px;overflow:auto}
  .embed .buttons{margin:8px 0 0;display:grid;grid-template-columns:repeat(5,1fr);gap:5px}
  .embed .buttons button{min-height:34px;padding:4px;font-size:10px}
  .embed #facade-floors{top:52px;right:8px;gap:4px;max-width:110px}
  .embed #facade-floors span{display:none}
  .embed #facade-floors button{font-size:10px;min-height:30px;padding:4px 7px}
}

.embed .viewport{height:480px;min-height:480px}.embed aside{max-height:480px}@media(max-width:800px){.embed .viewport{height:350px;min-height:350px}.embed aside{max-height:125px}.embed .buttons{display:none}}

/* Mobile audit 22.10.2026: keep the model full-width and fullscreen reachable. */
#expand-view,#standalone-view{position:absolute;z-index:30;right:10px;min-height:44px;background:#fffffff0;color:#29483b;border:1px solid #dce7df;border-radius:8px;font-size:11px;padding:10px;touch-action:manipulation}
#expand-view{bottom:12px}#standalone-view{bottom:60px;text-decoration:none;display:flex;align-items:center}
.viewport:fullscreen #expand-view,.viewport.is-expanded #expand-view,.viewport:fullscreen #standalone-view,.viewport.is-expanded #standalone-view{display:none}
#exit-expanded{z-index:50;min-width:88px;min-height:44px}
.embed .viewport:fullscreen,.embed .viewport.is-expanded{width:100vw;height:100dvh;min-height:100dvh;max-height:none}
@media(max-width:800px){.embed .model-layout{grid-template-columns:minmax(0,1fr)}.embed .viewport{width:100%;height:390px;min-height:390px}.embed aside{max-height:none;overflow:visible}.embed #tenant-results{max-height:180px}.embed .view-tabs button,.embed .buildings button,#facade-floors button,.tenant-result,#route-fullscreen,#pilot-overview{min-height:44px}.embed #pilot-badge{top:70px;right:10px;max-width:58%}.embed .scene-heading{max-width:70%}.embed #return-exterior{max-width:58%}}

/* Floor selection remains visible in the embedded and full-screen 3D views. */
.floor-controls{position:absolute;z-index:35;left:12px;bottom:12px;display:grid;gap:5px;padding:7px;background:#fffffff0;border:1px solid #dce7df;border-radius:10px;box-shadow:0 4px 18px #112b2020;max-width:calc(100% - 140px)}
.floor-controls>span{font-size:10px;color:#40594b;letter-spacing:.02em;white-space:nowrap}
.floor-controls button{min-width:39px;min-height:39px;padding:6px;border-radius:7px;font-size:12px;font-weight:650}
.floor-controls button[aria-pressed=true]{background:#29483b;color:#fff;border-color:#29483b}
.floor-controls button:focus-visible{outline:3px solid #fa8c21;outline-offset:2px}
.floor-controls .floor-control-buttons{display:flex;gap:4px}
@media(max-width:500px){.floor-controls{left:8px;bottom:8px;max-width:calc(100% - 122px);padding:5px}.floor-controls>span{font-size:9px}.floor-controls button{min-width:34px;min-height:36px;padding:3px;font-size:11px}}

/* One floor control: the facade shortcut and level dropdown duplicated it. */
#facade-floors,.toolbar label:has(#level-select){display:none!important}

/* Topaz floor stages; existing floor and wall palette preserved. */
#project-directory{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #edf0eb}#project-directory h2{font-size:17px;font-weight:500;margin:0 0 8px}#project-room-select{width:100%;min-width:0;max-width:100%;min-height:44px;padding:9px 6px;border:1px solid #dce7dd;border-radius:8px;background:#fafcf9;color:#29483b;font-size:11px}.route-stage{width:100%;text-align:left;font-size:11px;line-height:1.5;min-height:44px;padding:8px;border:1px solid #dfe8df;background:#fff;margin:4px 0}.route-stage[aria-pressed=true]{border-color:#8ab3a0;background:#edf5ef}.stair-transfer{font-size:10px;color:#7b7768;list-style:none;margin:6px 0;line-height:1.5}#entry-route-steps{padding-left:18px}

#project-stage-switch{position:absolute;top:62px;left:12px;z-index:8;display:flex;gap:4px;max-width:calc(100% - 24px);padding:4px;background:#ffffffed;border:1px solid #e0e8df;border-radius:9px}#project-stage-switch button{min-height:44px;padding:6px 9px;font-size:10px;background:transparent;border:1px solid transparent;border-radius:6px;color:#466153}#project-stage-switch button[aria-pressed=true]{background:#edf5ef;border-color:#9cbdaa}#project-room-select:disabled{opacity:.55;cursor:wait}@media(max-width:800px){#project-stage-switch{top:104px;left:10px;max-width:calc(100% - 20px)}#project-stage-switch button{padding:6px 8px}}
