/* Named interior cameras and their same-frame static views. */
.v42-toggle,.v42-summary button,.v42-close,.v42-tabs button,.v42-card{font-family:inherit;cursor:pointer;touch-action:manipulation}
.v42-toggle{position:absolute;top:clamp(16px,5.6vh,49px);right:clamp(16px,4.9vw,70px);z-index:16;display:flex;align-items:center;gap:9px;padding:0 17px;height:47px;border:1px solid #ffffff64;background:#16211ff5;color:#fff;border-radius:8px;box-shadow:0 2px 9px #0003;font-size:15px;font-weight:650}
.v42-toggle svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.55}
.v42-dialog{box-sizing:border-box;width:min(455px,calc(100vw - 28px));max-width:none;max-height:min(760px,calc(100dvh - 32px));margin:auto 18px auto auto;padding:0;color:#172c28;background:#f8f8f3;border:1px solid #aab5aa;border-radius:12px;box-shadow:0 15px 65px #10201ed0;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;overflow:hidden}
.v42-dialog[open]{display:flex;flex-direction:column}
.v42-dialog::backdrop{background:#13272355}
.v42-head{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 16px}
.v42-head h2{margin:0;font-weight:650;font-size:24px;line-height:1.25}
.v42-close{width:42px;height:42px;border:1px solid #c3cec4;border-radius:50%;color:#24443c;background:transparent;font-size:25px;line-height:1}
.v42-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:0 22px 14px;border-bottom:1px solid #cdd4cd}
.v42-tabs button{border:1px solid #bccac1;color:#324e42;background:transparent;padding:7px 12px;min-height:39px;border-radius:5px;font-size:14px}
.v42-tabs button[aria-pressed="true"]{color:#fff;background:#254d42;border-color:#254d42}
.v42-list{padding:14px 15px 20px;overflow-y:auto;overscroll-behavior:contain}
.v42-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v42-card{display:block;overflow:hidden;border:1px solid #d2d9d0;border-radius:6px;background:#fff;color:#1c332d;text-decoration:none}
.v42-card img{display:block;width:100%;aspect-ratio:8/5;object-fit:cover;background:#d4ded4}
.v42-card span{display:block;padding:9px 9px 11px;font-size:15px;font-weight:600;line-height:1.35}
.v42-card[aria-current="true"]{outline:2px solid #31644f;outline-offset:-2px}
.v42-card:hover,.v42-card:focus-visible{border-color:#49745d}
.v42-dialog button:focus-visible,.v42-card:focus-visible,.v42-toggle:focus-visible,.v42-summary button:focus-visible{outline:3px solid #c28f34;outline-offset:-3px}
.v42-poster{position:absolute;z-index:7;inset:0;background:#202a27;pointer-events:none;display:grid;place-items:center}
.v42-poster img{display:block;width:100%;height:100%;object-fit:contain;color:#fff}
.v42-summary{position:absolute;z-index:13;left:50%;bottom:max(21px,env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100% - 155px);display:flex;align-items:center;gap:15px;background:#152520ef;border:1px solid #acb6ac95;color:#f3f6ef;border-radius:8px;padding:8px 9px 8px 14px}
.v42-summary strong,.v42-summary small{display:block}.v42-summary strong{font-size:15px}.v42-summary small{font-size:12px;color:#cbdacf;margin-top:2px}
.v42-summary button{border:1px solid #a6b6a9;border-radius:5px;min-height:38px;padding:5px 11px;background:transparent;color:#fff;white-space:nowrap}
.v42-toggle[hidden],.v42-summary[hidden],.v42-poster[hidden],.v42-group[hidden]{display:none!important}
html[data-v42-selected] .scene-entry,html[data-v42-selected] .viewer-shell footer{display:none}
html[data-v42-cover] .viewport #state,html[data-v42-cover] .viewport .zoom-toolbar,html[data-v42-cover] #hotspots{visibility:hidden}
.viewer-shell:has(#project-panel:not([hidden])) .v42-toggle,.viewer-shell:has(#inspect-panel:not([hidden])) .v42-toggle,.viewer-shell:has(#doors-panel:not([hidden])) .v42-toggle,.viewer-shell:has(#help:not([hidden])) .v42-toggle{visibility:hidden}
@media(max-width:720px){.v42-toggle{top:max(13px,env(safe-area-inset-top));right:13px;height:41px;padding:0 12px}.v42-dialog{margin:auto auto max(10px,env(safe-area-inset-bottom));width:calc(100vw - 20px);max-height:82dvh}.v42-summary{left:58px;right:58px;transform:none;max-width:none;width:auto;justify-content:space-between;bottom:max(14px,env(safe-area-inset-bottom));gap:6px;padding:6px 7px 6px 10px}.v42-summary strong{font-size:14px}.v42-tabs{padding:0 14px 12px}.v42-head{padding:14px 16px 10px}.v42-list{padding:12px}.v42-tabs button{min-height:42px}.v42-summary button{min-height:40px;padding:4px 8px}}
@media(max-height:480px){.v42-dialog{max-height:94dvh}.v42-head{padding:7px 15px}.v42-list{padding-top:8px}.v42-card img{max-height:95px}}

/* Keep preview navigation independent of the full model and avoid decoding hidden imagery up front. */
.v42-poster::before{content:"";position:absolute;width:min(100%,160dvh);max-height:100%;aspect-ratio:8/5;background:var(--v42-thumb,none) center/contain no-repeat;opacity:.75}
.v42-poster img{position:relative}
.v42-poster img[hidden],.v42-summary button[hidden]{display:none!important}
.v42-actions{display:flex;align-items:center;gap:6px}
#v42-live,#v42-fixed{background:#e4f0e8;color:#17382e;border-color:#e4f0e8;font-weight:650}
#v42-live:disabled{opacity:.7;cursor:progress}
html[data-v42-cover] .render{visibility:hidden}
@media(max-width:720px){.v42-summary{left:12px;right:12px;bottom:max(68px,calc(env(safe-area-inset-bottom) + 56px));width:auto}.v42-summary small{line-height:1.2}.v42-actions{gap:5px}}
.v42-poster:has(img:not([hidden]))::before{display:none}
html[data-v42-cover] .floating-tools button:disabled,html[data-v42-cover] .floating-tools input:disabled{display:none}
