@font-face{font-family:Manrope;src:url(assets/manrope-400.ttf) format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url(assets/manrope-600.ttf) format('truetype');font-weight:600;font-display:swap}
:root{color-scheme:light;--ink:#223e35;--muted:#6c7f75;--line:#dce5dd;--green:#14785b;--soft:#f1f5ef;--paper:#fff}*{box-sizing:border-box}body{margin:0;background:#f4f6f1;color:var(--ink);font:14px/20px Manrope,system-ui,sans-serif}button,input,select{font:inherit;color:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;padding:8px 12px;background:white;border:1px solid var(--line);border-radius:8px;transition:background-color .3s cubic-bezier(.22,1,.36,1),transform .3s cubic-bezier(.22,1,.36,1)}button:hover{background:#e9f2e9}button:active{transform:scale(.98)}button:disabled{opacity:.45;cursor:default}button[aria-pressed=true]{background:#244f3e;border-color:#244f3e;color:white}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #168663;outline-offset:3px}a{color:var(--green)}main{max-width:1600px;margin:auto;padding:32px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.page-label{font-size:12px;line-height:16px;letter-spacing:2px;color:var(--muted);margin:0 0 8px}h1{font-size:36px;line-height:40px;font-weight:600;letter-spacing:-1px;margin:0 0 8px;text-wrap:balance}.heading p:not(.page-label){font-size:14px;line-height:20px;color:var(--muted);margin:0;text-wrap:pretty}.back-link{font-size:14px;text-decoration:none;white-space:nowrap}.model-card{background:white;border:1px solid var(--line);border-radius:16px;padding:16px}.catalog-date{font-size:12px;line-height:16px;color:var(--muted);margin:0 0 12px}.mode-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.view-tabs{display:flex;gap:4px;background:var(--soft);padding:4px;border-radius:12px}.view-tabs button{border-color:transparent;background:transparent}.view-tabs button[aria-pressed=true]{background:#fff;color:var(--ink);border-color:var(--line);box-shadow:0 2px 8px #12332208}.scope-pill{font-size:12px;line-height:16px;color:var(--muted)}.breadcrumb{display:none}.advanced{margin-bottom:12px;font-size:12px;line-height:16px;color:var(--muted)}summary{cursor:pointer;min-height:32px;padding:8px 0}.toolbar{display:flex;gap:16px;flex-wrap:wrap;padding:12px;background:var(--soft);border-radius:8px}.toolbar label{display:grid;gap:4px}.toolbar .checkbox{display:flex;align-items:center;gap:8px}.toolbar input[type=range]{width:128px;accent-color:var(--green)}.toolbar select{min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px}.range-label span{display:flex;justify-content:space-between;gap:12px}
.model-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:stretch}.stage{position:relative;min-width:0;height:640px;border-radius:12px;overflow:hidden;background:#edf2eb;scroll-margin-top:16px}canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.scene-heading{position:absolute;top:16px;left:16px;pointer-events:none;font-size:16px;line-height:24px}.scene-heading strong{font-weight:600}.scene-heading span{display:block;font-size:12px;line-height:16px;color:var(--muted)}.camera-tools{position:absolute;right:16px;top:16px;display:flex;gap:4px;z-index:6;max-width:62%;flex-wrap:wrap;justify-content:flex-end}.camera-tools button{background:#ffffffed;font-size:12px;line-height:16px;min-width:44px}.route-view-tools{position:absolute;top:80px;left:16px;display:flex;gap:4px;z-index:6}.route-view-tools button{font-size:12px;line-height:16px;box-shadow:0 2px 8px #12332208}.floor-dock{position:absolute;bottom:16px;left:16px;padding:8px;background:#ffffffed;border:1px solid var(--line);border-radius:12px;z-index:5}.floor-dock>span{display:block;font-size:12px;line-height:16px;color:var(--muted);margin-bottom:8px}.floor-dock>div{display:flex;gap:4px}.floor-dock button{min-width:44px;padding:8px}.fullscreen{position:absolute;bottom:16px;right:16px;min-width:44px;background:#fff;font-size:20px;line-height:28px}.standalone{position:absolute;right:16px;bottom:72px;font-size:12px;line-height:16px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 12px;text-decoration:none}#return-shell{display:none}.watermark{display:none}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#edf2eb;font-size:14px}#facade-floors{display:none!important}
#route-hint{padding:12px 16px;margin-bottom:12px;border:1px solid #c9ded0;border-radius:8px;background:#f0f7ef;color:#28573f;font-size:14px;line-height:20px}#route-hint b{font-weight:600}#route-hint span{display:block;font-size:12px;line-height:16px;margin-top:4px}#route-hint.limited{background:#faf4e5;border-color:#e5d5b3;color:#7b5a23}
aside{height:640px;max-height:640px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff;scrollbar-width:thin}h2{font-size:18px;line-height:28px;font-weight:600;margin:0 0 12px}.directory-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.directory-heading h2{font-size:18px;margin:0 0 12px}#catalog-toggle{display:none}#search,#tenant-choice,#tenant-floor{display:block;width:100%;min-width:0;min-height:44px;font-size:14px;line-height:20px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}#search{margin-bottom:8px}#tenant-choice{background:#fff;margin-bottom:8px}#tenant-floor{display:none}#count{font-size:12px;line-height:16px;color:var(--muted);margin:8px 0}#list{display:none;max-height:192px;overflow:auto;border:1px solid var(--line);border-radius:8px}.directory-open #list{display:grid}.tenant{display:block;width:100%;background:white;border:0;border-radius:0;padding:12px;text-align:left;font-size:14px;line-height:20px;min-height:64px}.tenant small{display:block;font-size:12px;line-height:16px;color:var(--muted);margin-top:4px}.tenant.active{background:#eaf3e8;color:var(--green)}#details{margin-top:16px;padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:8px}.eyebrow{font-size:12px;line-height:16px;letter-spacing:1px;color:var(--muted)}#selected-title{font-size:20px;line-height:28px;margin:8px 0;font-weight:600}#room-meta{font-size:12px;line-height:20px;color:var(--muted);white-space:pre-line;margin:0}#locations{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}#locations:empty{display:none}#locations button{font-size:12px;line-height:16px}#go-route{display:none}.status-pill{display:inline-block;font-size:12px;line-height:16px;padding:8px;margin-top:12px;border:1px solid #dfcfaa;border-radius:8px;background:#fbf4e4;color:#7b5a23}#entry-route{padding-top:16px;margin-top:16px}#entry-route h2{font-size:16px;line-height:24px;margin:0 0 8px}#visitor-route{width:100%;background:#245b43;color:white;border-color:#245b43;font-size:14px}#visitor-route:disabled{background:#e8ede6;color:#6a7b6c;border-color:var(--line);opacity:1}#route-note{font-size:12px;line-height:20px;color:var(--muted);margin:12px 0}#steps{padding-left:20px;font-size:12px;line-height:20px;color:var(--ink);margin:12px 0}#steps li{margin:8px 0}#entry-route .soft-note,.route-actions{display:none}.sharing{display:flex;gap:8px;margin-top:16px}.sharing button{font-size:12px;line-height:16px}.soft-note{font-size:12px;line-height:16px;color:var(--muted)}#open-room{font-size:12px;line-height:20px}#share-status{font-size:12px;line-height:16px}#qr-panel{background:var(--soft);border-radius:8px;padding:12px;margin-top:12px;text-align:center}#qr-panel img{display:block;background:white;margin:0 auto 12px;max-width:100%}#qr-panel a,#qr-panel small{display:block;font-size:12px;line-height:16px;margin-top:8px}
#labels,#route-landmarks,#entrance-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none}.room-label{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;display:flex;align-items:center;gap:4px;min-height:32px;max-width:144px;padding:4px 8px;border:1px solid #c0d1c1;background:#fffffff0;border-radius:8px;box-shadow:0 2px 8px #264b3510;font-size:12px;line-height:16px;white-space:nowrap}.room-label b{font-weight:600;font-size:12px}.room-label span{font-size:12px;line-height:16px;overflow:hidden;text-overflow:ellipsis}.room-label.selected{background:#fff2cf;border:2px solid #bd8b32;z-index:4;box-shadow:0 0 0 4px #c8984030}.room-label.route-blocked:not(.selected){border-color:#c3a66f}.room-label.route-blocked b:after{content:' ?';color:#a57a29}#route-landmarks span,.entrance-tag{position:absolute;transform:translate(-50%,-100%);font-size:12px;line-height:16px;background:#fff;border:1px solid #aecbb9;border-radius:8px;padding:8px 12px;color:#24533b;white-space:nowrap;box-shadow:0 2px 8px #264b3510}.entrance-tag{transform:translate(-50%,-50%)}#route-landmarks span.stop{border-color:#d6bd8d;color:#896222;background:#fff9eb}
.buttons{display:none}.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;line-height:16px;color:var(--muted);margin:16px 0}.legend span{display:flex;align-items:center;gap:8px}.legend i{display:inline-block;width:12px;height:12px;border-radius:4px;background:var(--c)}details.accuracy{margin-top:16px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:20px;color:var(--muted)}.accuracy p{max-width:960px}.photo-reference{font-size:12px;line-height:20px;padding:16px;color:var(--muted)}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.photos figure{margin:0}.photos img{width:100%;height:240px;object-fit:cover;border-radius:8px}.photos figcaption{font-size:12px;line-height:20px;margin-top:8px}footer{font-size:12px;line-height:16px;color:var(--muted);margin:16px}label[for=tenant-floor]{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}.stage:fullscreen,.stage.is-expanded{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:none!important;z-index:10000;border-radius:0}.viewer-expanded{overflow:hidden}.embed main{padding:8px}.embed .heading,.embed footer,.embed .photo-reference{display:none}.embed .catalog-date{display:none}.embed .model-card{padding:12px}.embed .stage,.embed aside{height:640px}
@media(max-width:1000px){main{padding:16px}.model-layout{grid-template-columns:minmax(0,1fr) 288px}.stage,aside{height:600px;max-height:600px}.camera-tools{max-width:54%}.camera-tools #courtyard-view,.camera-tools #street-view{display:none}body[data-p09-mode=facade] .camera-tools #courtyard-view,body[data-p09-mode=facade] .camera-tools #street-view{display:block}.scope-pill{display:none}}
@media(max-width:800px){main{padding:12px}.heading{margin-bottom:16px;gap:12px}h1{font-size:30px;line-height:36px}.page-label{font-size:12px;letter-spacing:1px}.heading .back-link{display:none}.model-card{padding:8px;border-radius:12px}.catalog-date{font-size:12px;line-height:16px;padding:4px}.view-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.view-tabs button{font-size:12px;line-height:16px;padding:8px 4px}.model-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'directory' 'details' 'stage' 'route';gap:12px}.model-layout>aside{display:contents}.tenant-directory{grid-area:directory;padding:8px}.directory-heading h2{font-size:16px;line-height:24px;margin-bottom:8px}#search,#tenant-choice{font-size:16px;line-height:24px;min-height:48px}#count{display:none}#details{grid-area:details;margin:0;padding:12px}#details .eyebrow,#room-meta{font-size:12px;line-height:16px}#selected-title{font-size:18px;line-height:28px;margin:4px 0}#details:not(:has(.status-pill:not([hidden]))){display:none}#details .status-pill{margin-top:8px}.stage,.embed .stage{grid-area:stage;height:520px;max-height:none}.scene-heading{top:12px;left:12px;font-size:14px;line-height:20px;max-width:50%}.scene-heading span{font-size:12px;line-height:16px}.camera-tools{top:12px;right:12px;max-width:46%;gap:4px}.camera-tools button{min-width:44px;padding:8px}.camera-tools #fit-view{font-size:12px;padding:8px}.route-view-tools{top:96px;left:12px;right:12px}.route-view-tools button{font-size:12px;line-height:16px}.floor-dock{left:12px;bottom:12px;padding:8px;max-width:calc(100% - 76px)}.floor-dock>span{font-size:12px;line-height:16px;margin-bottom:4px}.floor-dock button{min-width:36px;min-height:44px;padding:8px}.floor-dock>div{gap:4px}.fullscreen{bottom:12px;right:12px}.standalone{display:none}.room-label{min-width:44px;min-height:44px;max-width:160px}.room-label.selected span{font-size:12px}#entry-route{grid-area:route;margin:0;padding:12px;border:1px solid var(--line);border-radius:8px}#route-note,#steps{font-size:14px;line-height:20px}#route-hint{font-size:14px;line-height:20px;padding:12px}#route-hint span{font-size:12px;line-height:16px}.sharing button{min-height:44px}.photos{grid-template-columns:1fr}.photos img{height:auto}.advanced{padding:0 8px}.legend{padding:0 8px;gap:12px}details.accuracy{padding:12px}.embed main{padding:8px}.embed .model-card{padding:8px}.camera-tools #courtyard-view,.camera-tools #street-view{display:none}body[data-p09-mode=facade] .route-view-tools{display:none}}
@media(max-width:370px){main{padding:8px}.stage,.embed .stage{height:480px}.floor-dock{left:8px;max-width:calc(100% - 64px);padding:4px}.floor-dock button{min-width:32px;padding:4px}.camera-tools{right:8px}.scene-heading{left:8px}.fullscreen{right:8px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Keep the model and its route in the first desktop viewport. */
.catalog-date,.scope-pill{display:none}.heading{margin-bottom:16px}main{padding:24px}h1{font-size:30px;line-height:36px}.stage,aside,.embed .stage,.embed aside{height:clamp(360px,calc(100dvh - 280px),700px);max-height:none}.advanced{margin:16px 0 0}.model-layout #entry-route h2{font-size:14px;line-height:20px}.stage .scene-heading{font-size:14px;line-height:20px}.camera-tools #courtyard-view,.camera-tools #street-view{display:none}body[data-p09-mode=facade] .camera-tools #courtyard-view,body[data-p09-mode=facade] .camera-tools #street-view{display:block}.room-label:not(.selected){background:#ffffffe0}.stage .route-view-tools{top:64px}
@media(max-width:800px){main{padding:12px}.stage,.embed .stage{height:480px;max-height:none}.heading{margin-bottom:16px}.model-card{padding:8px}.stage .route-view-tools{top:96px}.camera-tools #courtyard-view,.camera-tools #street-view{font-size:12px;line-height:16px}}

/* P13: compact visitor UI; keep one visible passage-status message. */
.heading .page-label,.heading p:not(.page-label),.scene-heading strong,.floor-dock>span,.legend,.photo-reference,footer,#count,#details .eyebrow,#selected-title,#room-meta,#route-status,#entry-route>h2,#visitor-route,#route-note,#steps,#entry-route .soft-note,#entry-route>p:has(#open-room),.standalone{display:none!important}
.heading{margin-bottom:16px}.heading h1{margin:0;font-size:24px;line-height:32px}.model-card{padding:12px}.mode-bar{margin-bottom:8px}.view-tabs button{font-size:14px;line-height:20px}.model-layout{gap:12px}.stage,aside,.embed .stage,.embed aside{height:clamp(400px,calc(100dvh - 208px),760px)}
#details{border:0;background:transparent;padding:0;margin:0}#locations{margin-top:8px}#entry-route{padding-top:0;margin-top:12px}.sharing{margin-top:0}.sharing button{flex:1}#route-hint{margin-bottom:12px;padding:8px 12px;font-size:12px;line-height:20px}#route-hint b{font-weight:400}#route-hint span{display:none}.scene-heading{top:16px}.scene-heading span{font-size:14px;line-height:20px}.route-view-tools{top:56px!important}.tenant-directory{padding:0}.directory-heading h2{font-size:16px;line-height:24px;margin-bottom:8px}#tenant-choice{font-size:14px;line-height:20px}.floor-dock{padding:4px}.advanced{font-size:12px;line-height:16px;margin-top:8px}.accuracy{font-size:12px;line-height:20px}.model-card>details.accuracy{margin-top:8px}.embed .standalone{display:block!important}
@media(max-width:800px){.heading h1{font-size:24px;line-height:32px}.model-layout{gap:8px}.stage,.embed .stage{height:440px}.model-card{padding:8px}.tenant-directory{padding:4px}.sharing button{min-height:44px}#tenant-choice{font-size:16px;line-height:24px}#details{display:contents}#locations{grid-area:details;margin-top:0}.model-layout #entry-route{padding:8px;border:0;margin:0}.route-view-tools{top:96px!important}.scene-heading{top:12px}.view-tabs button{font-size:12px;line-height:16px}}

aside,.embed aside{height:auto;align-self:start;max-height:760px}
/* Royal navigation reference: neutral paper, compact controls, 250px directory. */
:root{--ink:#1a1c1f;--muted:#767676;--line:#ededed;--soft:#f5f7f4;--green:#315744}body{background:#fafafa;color:#1a1c1f;font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;font-size:14px}main{padding:12px;max-width:1700px}.heading{margin-bottom:8px}.heading h1{font-size:18px;line-height:28px;font-weight:600}.back-link{font-size:12px;line-height:16px}.model-card{border-radius:12px;padding:8px 10px}.model-layout{grid-template-columns:minmax(0,1fr) 250px;gap:10px}.stage,.embed .stage{height:clamp(480px,calc(100dvh - 180px),680px);background:#f1f5ef;border-radius:12px}.view-tabs{background:#f5f7f4;padding:5px}.view-tabs button{font-size:11px;line-height:16px;min-height:36px;padding:8px 10px}.view-tabs button[aria-pressed=true]{color:#29483b;background:#fff;border-color:#e3e8e1}.camera-tools button{min-height:36px;min-width:36px;font-size:11px;line-height:16px;padding:6px 10px}.route-view-tools{padding:4px;background:#ffffffed;border:1px solid #e0e8df;border-radius:9px;gap:4px}.route-view-tools button{font-size:11px;line-height:16px;min-height:36px;padding:6px 9px;box-shadow:none;border-color:transparent;background:transparent}.route-view-tools button[aria-pressed=true]{color:#315744;background:#edf5ef;border-color:#9cbdaa}.scene-heading{background:#ffffffed;border-radius:7px;padding:8px 10px;top:12px;left:12px}.scene-heading span{font-size:11px;line-height:16px;margin:0}.floor-dock{border-radius:9px;padding:7px;background:#fffffff0;left:12px;bottom:12px}.floor-dock button{min-height:34px;min-width:36px;font-size:11px;line-height:16px;padding:6px 10px;border-radius:6px}.floor-dock button[aria-pressed=true]{background:#304e3f;border-color:#304e3f;color:white}aside{padding:12px;border-radius:12px;font-size:13px}.directory-heading h2{font-size:18px;line-height:24px;font-weight:600}#search,#tenant-choice{font-size:12px;line-height:20px;background:#fafcf9;min-height:44px;padding:8px 10px;border-color:#dce7dd}#search{font-size:14px}#route-hint{padding:4px 8px;font-size:11px;line-height:16px;background:#fafbf7;border-color:#e4e9df;color:#6f796e}#route-hint.limited{background:#faf7ef;border-color:#eee5d2;color:#8c7449}.sharing button{font-size:11px;line-height:16px;min-height:36px;padding:6px 8px}.advanced,.accuracy{color:#767676}.room-label{font-size:10px;line-height:16px;padding:4px 6px;min-height:28px}.room-label b,.room-label span{font-size:10px;line-height:16px}.fullscreen{font-size:18px;line-height:24px;min-height:36px;min-width:36px}.embed .model-card{padding:8px 10px}
@media(max-width:800px){main{padding:8px}.heading h1{font-size:18px;line-height:28px}.model-layout{grid-template-columns:minmax(0,1fr)}.stage,.embed .stage{height:440px}.view-tabs button{min-height:44px}.floor-dock button{min-height:44px;min-width:36px}.camera-tools button{min-height:44px;min-width:44px}.route-view-tools button{min-height:44px}#search,#tenant-choice{font-size:16px;line-height:24px;min-height:48px}.sharing button,.fullscreen{min-height:44px;min-width:44px}.room-label{min-width:44px;min-height:44px}.room-label b,.room-label.selected span{font-size:12px;line-height:16px}.directory-heading h2{font-size:16px;line-height:24px}}

/* One field combines tenant search, name and location. */
#tenant-choice{display:none!important}.tenant-directory{position:relative}.tenant-directory:after{content:'⌄';position:absolute;right:12px;top:48px;color:#64766b;pointer-events:none;font-size:14px;line-height:20px}#search{margin:0;padding-right:28px;background:#fafcf9;cursor:text;width:100%;font-size:12px;line-height:20px}#list{position:absolute;left:0;right:0;top:100%;z-index:40;max-height:288px;margin-top:4px;background:#fff;border:1px solid #dce7dd;border-radius:8px;box-shadow:0 8px 24px #23473518;overflow:auto}.tenant{font-size:12px;line-height:20px;min-height:44px;padding:8px 12px}.tenant.keyboard-active,.tenant:hover{background:#edf5ef;color:#315744}aside{overflow:visible}.directory-open #search{border-color:#9cbdaa}
@media(max-width:800px){#search{font-size:16px;line-height:24px;min-height:48px}.tenant{font-size:14px;line-height:20px;min-height:48px}.tenant-directory:after{top:48px}#list{max-height:240px}}

/* Public destination picker: no sharing tools in visitor flow. */
#entry-route .sharing,#entry-route #qr-panel,#entry-route #share-status,#entry-route>p:has(#open-room){display:none!important}
/* W04 preview integration: warm paper and legible compact controls. */
@font-face{font-family:WarmManrope;src:url('../assets/manrope-400.woff');font-weight:400;font-display:swap}@font-face{font-family:WarmManrope;src:url('../assets/manrope-600.woff');font-weight:600;font-display:swap}
body{font-family:WarmManrope,sans-serif;background:#fbf8f0;color:#0c0622}.embed .heading{display:none}.embed main{padding:8px}.model-card{background:#fbf8f0}.view-tabs{background:#f3eee3}.view-tabs button[aria-pressed=true]{color:#0c0622;border-color:#d4c8b5}.floor-dock button[aria-pressed=true]{background:#0c0622;border-color:#0c0622}.route-view-tools button[aria-pressed=true]{background:#f3eee3;color:#0c0622;border-color:#b9ad98}#search{background:#fffdf8;color:#0c0622;border-color:#b9ad98}.tenant.keyboard-active,.tenant:hover{background:#f3eee3;color:#0c0622}.room-label.selected{border-color:#b9ad98;background:#f3eee3;color:#0c0622}

/* W22: keep the embedded scene inside the available frame. */
.embed .stage{height:clamp(300px,calc(100dvh - 220px),600px)}
@media(max-width:800px){.embed .stage{height:clamp(280px,calc(100dvh - 328px),560px)}}
.embed .model-card>.advanced,.embed .model-card>.accuracy{display:inline-block;vertical-align:top;width:calc(50% - 4px);margin:8px 0 0;padding:8px;border:1px solid #d9ded7;border-radius:8px}
.embed .model-card>.advanced summary,.embed .model-card>.accuracy summary{min-height:28px;display:flex;align-items:center}
.embed .model-card>.advanced[open],.embed .model-card>.accuracy[open]{display:block;width:100%}
@media(max-width:800px){.embed .camera-tools{top:48px;left:8px;right:8px;display:grid;grid-template-columns:1fr 1fr 1.2fr 44px 44px;gap:4px;max-width:none}.embed .camera-tools button{min-width:0;min-height:44px;padding:4px;font-size:12px;line-height:16px}.embed .standalone{display:none!important}}
@media(max-width:370px){.embed .scene-heading{display:none}.embed .camera-tools{top:8px;grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Full destination stays readable when the input clips a long name. */
#destination-summary{font:400 14px/20px Manrope,sans-serif;color:#514b42;margin:8px 0 0;overflow-wrap:anywhere;text-wrap:pretty}#destination-summary[hidden]{display:none}

/* W25.18: optional route modes belong to settings, not over the building. */
.advanced .route-view-tools{position:static;inset:auto;display:flex;max-width:none;width:100%;margin:8px 0;padding:4px;gap:8px}.advanced .route-view-tools button{flex:1;min-height:44px;font-size:14px;line-height:20px}.route-choice-label{margin:12px 0 8px;font:14px/20px WarmManrope,sans-serif;color:#514b42}
@media(max-width:800px){.embed .scene-heading{display:none}.embed .camera-tools{top:8px}}

body[data-p09-mode=facade] .route-choice-label{display:none}

/* Keep floor and fullscreen targets separate on narrow phones. */
@media(max-width:400px){.floor-dock{bottom:64px;left:8px;right:8px}.floor-dock>div{display:flex;gap:4px}.floor-dock button{flex:1;min-width:0;padding:8px 4px}.fullscreen{bottom:8px;right:8px}}

/* W28.4: parent toolbar already shows the full destination; retain accessible description without a third visible repetition. */
.embed #destination-summary{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* W28.5: show the building first on embedded mobile; picker below, results open over the scene. */
@media(max-width:800px){.embed .model-layout{grid-template-areas:"stage" "directory" "details" "route"}.embed #list{top:auto;bottom:calc(100% + 8px);margin-top:0;max-height:min(240px,50dvh)}}

/* W29.1: short landscape embed keeps scene and destination side by side. */
@media(min-width:500px) and (max-width:800px) and (max-height:360px){.embed .model-layout{grid-template-columns:minmax(0,1fr) 208px;grid-template-areas:none;align-items:start}.embed .stage{grid-area:auto}.embed .model-layout>aside{display:block;height:auto;padding:8px}.embed .tenant-directory,.embed #locations{grid-area:auto}.embed #list{top:100%;bottom:auto;max-height:min(128px,calc(100dvh - 184px))}.embed .directory-heading h2{font-size:16px;line-height:24px}}

@media(min-width:500px) and (max-width:800px) and (max-height:360px){.embed .mode-bar{margin-right:88px}}

/* W29.3: public embedded controls use the minimum12px type scale. */
.embed .view-tabs button,.embed .camera-tools button,.embed .floor-dock button{font-size:12px;line-height:16px}
