/* Architectural detail lens; drawings retain their original geometry. */
.plan-explore-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;color:var(--muted)}
.plan-explore-bar p{font-size:13px;line-height:1.5;margin:0;max-width:65ch}
.plan-explore-bar select{max-width:100%;min-height:44px;padding:8px 32px 8px 12px;border:1px solid var(--border);border-radius:0;background:var(--bg);color:var(--fg);font:14px/1.5 system-ui,sans-serif}
.plan-lens{position:fixed;z-index:9000;pointer-events:none;background-color:var(--paper);background-image:var(--site-texture);background-repeat:repeat;color:#292d2a;border:1px solid #a4aaa5;box-shadow:none;contain:layout paint}
.plan-lens[hidden]{display:none}
.plan-lens-view{height:200px;overflow:hidden;background:transparent}
.plan-lens-view>svg{display:block;width:100%;height:100%;max-width:none;shape-rendering:geometricPrecision;text-rendering:geometricPrecision}
.plan-explore-bar select:focus-visible{outline:2px solid #258bb8;outline-offset:2px}
@media(max-width:650px){.plan-explore-bar{align-items:stretch;flex-direction:column;gap:8px}}

/* The detail lens replaces the pointer only over the drawing. */
html.plan-lens-active .archon-pointer,html.plan-lens-active .archon-pointer-trail{visibility:hidden!important;opacity:0!important}
html.plan-lens-active .pf-drawing,html.plan-lens-active .pf-drawing *{cursor:none!important}

/* Labels stay anchored in the SVG and are visible only inside the lens. */
.plan-room-names text{font:500 3.2px/1.25 'Segoe UI',system-ui,sans-serif;text-anchor:middle;dominant-baseline:middle;fill:#292d2a;stroke:var(--paper,#f5f4ef);stroke-width:1.15px;stroke-linejoin:round;paint-order:stroke fill;letter-spacing:0;pointer-events:none}

/* Both floors use the same vector line hierarchy at normal viewing size. */
.project-floorplan .pf-drawing>svg{shape-rendering:geometricPrecision;isolation:isolate}
