/* A quiet source-plan overlay inside the existing apartment viewport. */
#floor-layout-switch[hidden],#floor-layout-panel[hidden],#floor-layout-three-card[hidden]{display:none!important}
#floor-layout-switch{position:absolute;z-index:6;left:20px;top:76px;display:flex;gap:2px;padding:3px;background:#fffef9f5;border:1px solid #d9e0d4;border-radius:11px;box-shadow:0 4px 18px #173d2d13}
#floor-layout-switch button{min-height:38px;padding:8px 14px;border:0;border-radius:7px;background:transparent;color:#46645b;font:11px/1.3 'Gotham Pro',sans-serif;white-space:nowrap}
#floor-layout-switch button[aria-pressed=true]{background:#005a5a;color:#fffef6}
#floor-layout-switch button:focus-visible,#floor-layout-enter:focus-visible{outline:2px solid #ad8452;outline-offset:2px}
#floor-layout-panel{position:absolute;inset:0;z-index:2;padding:130px 28px 112px;background:#f6f5ee;display:grid;grid-template-rows:auto minmax(100px,1fr) auto auto auto;gap:10px;overflow:auto;overscroll-behavior:contain;color:#21483e}
.floor-layout-open .apartment-toolbar,.floor-layout-open .apartment-bottom{z-index:7}
.floor-layout-open .apartment-instructions,.floor-layout-open .apartment-disclaimer,.floor-layout-open #apartment-room-chip{visibility:hidden}
.floor-layout-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;max-width:1080px;width:100%;margin:0 auto}
.floor-layout-heading h2{margin:0;font:500 16px/1.3 'Gotham Pro',sans-serif;color:#174c42}.floor-layout-heading p{margin:0;font-size:11px;line-height:1.5;color:#6d7f73}
.floor-layout-canvas{min-width:0;min-height:100px;max-width:1080px;width:100%;height:100%;margin:0 auto;display:flex;align-items:center;justify-content:center;background:#faf9f4;border:1px solid #e2e5da;border-radius:14px;overflow:hidden}
.floor-layout-map{display:block;width:100%;height:100%;min-height:100px;max-height:100%;overflow:visible;touch-action:pan-y}
.floor-layout-map path{stroke-linejoin:round;stroke-linecap:round}.floor-common{fill:#dce7e1;stroke:#7e9283;stroke-width:1.2}.floor-common-lift{fill:#b6c8c6}.floor-common-stairs{fill:#c9d5bd}.floor-unit{cursor:pointer;outline:none}.floor-unit-fill{fill:#e8e6da;stroke:#899286;stroke-width:1.4}.floor-unit-current .floor-unit-fill{fill:#005a5a;stroke:#004b4b;stroke-width:1.7}.floor-room-line{fill:none;stroke:#b4b9ad;stroke-width:.8;pointer-events:none}.floor-unit-current .floor-room-line{stroke:#79a39b}.floor-unit-selected .floor-unit-fill{stroke:#b58b55;stroke-width:2.8}.floor-unit:focus-visible .floor-unit-fill{stroke:#b58b55;stroke-width:4}.floor-unit-label,.floor-unit-area,.floor-common-label{font-family:'Gotham Pro',sans-serif;fill:#365648;pointer-events:none;paint-order:stroke;stroke:#e8e6da;stroke-width:.05}.floor-unit-label{font-weight:500}.floor-unit-current text{fill:#fffef4;stroke:#005a5a}.floor-common-label{fill:#416054;stroke:#dce7e1}
.floor-layout-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;font-size:10px;line-height:1.4}.floor-layout-legend>span{display:inline-flex;align-items:center;gap:6px}.floor-layout-legend>span:before{content:'';width:10px;height:10px;flex:0 0 10px;border-radius:3px;background:#005a5a}.floor-layout-legend .floor-legend-neighbor:before{background:#e8e6da;border:1px solid #a4afa1}.floor-layout-legend .floor-legend-common:before{background:#c9dbd2}
.floor-layout-selection{max-width:1080px;width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 13px;background:#eeeee4;border:1px solid #dce1d4;border-radius:10px}.floor-layout-selection-copy{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:baseline;min-width:0}.floor-layout-selection strong{font-size:12px;font-weight:500}.floor-layout-selection span{font-size:11px;color:#617568}#floor-layout-enter{min-height:44px;padding:10px 14px;font:11px/1.4 'Gotham Pro',sans-serif;background:#005a5a;color:#fffef4;border:0;border-radius:7px;white-space:nowrap}#floor-layout-enter[hidden]{display:none}#floor-layout-enter:disabled{background:#d9ded3;color:#617267;cursor:default}
.floor-layout-note{max-width:1080px;width:100%;margin:0 auto;max-height:3em;overflow:auto;font-size:10px;line-height:1.45;color:#718074}
@media(max-width:900px){
 #floor-layout-switch{top:calc(64px + var(--mobile-safe-top,0px));left:calc(10px + var(--mobile-safe-left,0px));right:calc(10px + var(--mobile-safe-right,0px));width:max-content;max-width:calc(100% - 20px);z-index:54;padding:2px;border-radius:10px}
 #floor-layout-switch button{min-height:40px;padding:8px 14px;font-size:11px}
 #floor-layout-panel{padding:calc(118px + var(--mobile-safe-top,0px)) calc(10px + var(--mobile-safe-right,0px)) calc(76px + var(--mobile-safe-bottom,0px)) calc(10px + var(--mobile-safe-left,0px));grid-template-rows:auto minmax(135px,1fr) auto auto auto;gap:8px}
 .floor-layout-heading{display:block}.floor-layout-heading h2{font-size:13px}.floor-layout-heading p{font-size:10px;margin-top:3px}.floor-layout-legend{gap:5px 10px;font-size:9px}.floor-layout-selection{padding:6px 9px;gap:8px}.floor-layout-selection-copy{display:block}.floor-layout-selection strong,.floor-layout-selection span{display:block;font-size:10px;line-height:1.5}#floor-layout-enter{font-size:10px;padding:8px 10px;max-width:50%;white-space:normal}.floor-layout-note{font-size:9px;line-height:1.4}
}
@media(max-width:900px) and (max-height:500px){
 #floor-layout-switch{top:calc(8px + var(--mobile-safe-top,0px));left:auto;right:calc(10px + var(--mobile-safe-right,0px));max-width:calc(100% - 468px);min-width:228px}#floor-layout-switch button{min-height:38px;padding:7px 10px;font-size:10px}
 #floor-layout-panel{padding-top:calc(61px + var(--mobile-safe-top,0px));padding-bottom:calc(65px + var(--mobile-safe-bottom,0px));grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:auto minmax(105px,1fr) auto;gap:6px 12px}
 .floor-layout-heading{display:none}.floor-layout-canvas{grid-column:1;grid-row:1/4}.floor-layout-legend{grid-column:2;grid-row:1;justify-content:flex-start}.floor-layout-selection{grid-column:2;grid-row:2;align-self:start;display:block;min-height:0}.floor-layout-selection-copy{margin-bottom:6px}#floor-layout-enter{max-width:100%;width:100%;min-height:40px}.floor-layout-note{grid-column:2;grid-row:3;align-self:start;font-size:8px}
}
@media(max-width:700px) and (max-height:500px){#floor-layout-switch{top:58px;left:10px;right:auto;min-width:0;max-width:calc(100% - 20px)}#floor-layout-panel{padding-top:105px;grid-template-columns:minmax(0,1fr) 150px}.floor-layout-heading p{display:none}}

.floor-door-gap{fill:none;stroke:#faf9f4;stroke-width:3.5;pointer-events:none}.floor-entry-mark{fill:none;stroke:#b58b55;stroke-width:2.1;pointer-events:none}.floor-window-mark{fill:none;stroke:#7ca1b2;stroke-width:2;pointer-events:none}.floor-layout-map .floor-column{fill:#7e8b80;stroke:none;pointer-events:none}
@media(min-width:901px){
 #floor-layout-panel{padding:70px 24px 102px;grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:44px auto auto minmax(0,1fr);gap:10px 16px}
 .floor-layout-heading{grid-column:1/-1;grid-row:1;padding-left:350px;justify-content:flex-start;align-items:center;min-width:0}.floor-layout-heading h2{font-size:15px}.floor-layout-heading p{font-size:10px}
 .floor-layout-canvas{grid-column:1;grid-row:2/5}.floor-layout-legend{grid-column:2;grid-row:2;display:grid;justify-content:start;gap:9px;font-size:10px;padding-top:8px}
 .floor-layout-selection{grid-column:2;grid-row:3;display:block;align-self:start;padding:12px}.floor-layout-selection-copy{display:block}.floor-layout-selection strong,.floor-layout-selection span{display:block;line-height:1.6}.floor-layout-selection span{font-size:10px}#floor-layout-enter{width:100%;margin-top:8px;padding:10px;font-size:10px}
 .floor-layout-note{grid-column:2;grid-row:4;max-height:100%;font-size:10px;align-self:start}
}

.floor-layout-legend .floor-legend-entry:before{height:3px;background:#b58b55;border-radius:0}

.floor-layout-legend>span[hidden]{display:none}
.floor-layout-note{display:flex;align-items:center;gap:6px;max-height:none!important;overflow:visible;min-height:32px}.floor-layout-note>span{flex:1;min-width:0}.floor-layout-note[hidden]{display:none}#floor-layout-info{flex:0 0 44px;width:44px;min-height:44px;padding:0;border:0;background:transparent;color:#597767;font-size:18px;border-radius:6px}#floor-layout-info:focus-visible{outline:2px solid #ad8452;outline-offset:-3px}

/* The 3D floor remains an interactive canvas; only its selection card is UI. */
#floor-layout-three-card{position:absolute;z-index:6;right:24px;bottom:102px;width:min(400px,calc(100% - 48px));padding:11px 13px;background:#fffef9f2;border:1px solid #d9e0d4;border-radius:12px;box-shadow:0 4px 22px #173d2d19;color:#21483e}
.floor-layout-three-label{margin:0 0 7px;font:10px/1.4 'Gotham Pro',sans-serif;color:#637b6e}
.floor-layout-three-selection{display:flex;justify-content:space-between;align-items:center;gap:12px}.floor-layout-three-selection strong{font-size:12px;font-weight:500}.floor-layout-three-selection span{font-size:11px;color:#617568}
#floor-layout-three-enter{min-height:44px;padding:9px 12px;border:0;border-radius:7px;background:#005a5a;color:#fffef4;font:11px/1.35 'Gotham Pro',sans-serif;max-width:48%}#floor-layout-three-enter[hidden]{display:none}#floor-layout-three-enter:disabled{background:#d9ded3;color:#617267;cursor:default}#floor-layout-three-enter:focus-visible{outline:2px solid #ad8452;outline-offset:2px}
.floor-layout-three-open .apartment-instructions,.floor-layout-three-open .apartment-disclaimer,.floor-layout-three-open #apartment-room-chip{visibility:hidden}
@media(max-width:900px){
 #floor-layout-switch button{min-height:44px;padding:8px 11px;font-size:10px}
 #floor-layout-three-card{z-index:54;left:calc(10px + var(--mobile-safe-left,0px));right:calc(10px + var(--mobile-safe-right,0px));bottom:calc(76px + var(--mobile-safe-bottom,0px));width:auto;padding:8px 10px}
 .floor-layout-three-label{font-size:9px;margin-bottom:4px}.floor-layout-three-selection{gap:8px}.floor-layout-three-selection strong,.floor-layout-three-selection span{font-size:10px;line-height:1.5}#floor-layout-three-enter{font-size:10px;padding:8px 10px}
}
@media(max-width:900px) and (max-height:500px){#floor-layout-switch{min-width:274px}#floor-layout-switch button{padding:7px 9px}#floor-layout-three-card{left:auto;right:calc(10px + var(--mobile-safe-right,0px));width:270px;bottom:calc(68px + var(--mobile-safe-bottom,0px));padding:6px 9px}.floor-layout-three-label{font-size:8px}.floor-layout-three-selection{gap:6px}}
@media(max-width:700px) and (max-height:500px){#floor-layout-switch{min-width:0}}

.floor-layout-three-source{margin:6px 0 0;font:9px/1.4 'Gotham Pro',sans-serif;color:#718074}.floor-layout-three-source[hidden]{display:none}

.floor-layout-three-selection .floor-layout-selection-copy{display:block;flex:1;min-width:0}.floor-layout-select-label{display:block;margin-bottom:3px;font:9px/1.3 'Gotham Pro',sans-serif;color:#637b6e}
#floor-layout-three-unit{width:100%;min-width:0;min-height:44px;padding:8px 28px 8px 9px;border:1px solid #ced9cc;border-radius:7px;background:#fffef9;color:#21483e;font:11px/1.35 'Gotham Pro',sans-serif;text-overflow:ellipsis;cursor:pointer}#floor-layout-three-unit:focus-visible{outline:2px solid #ad8452;outline-offset:2px}.floor-layout-three-selection{align-items:flex-end}
@media(max-width:900px){#floor-layout-three-unit{font-size:10px}.floor-layout-select-label{font-size:9px;margin-bottom:2px}#floor-layout-three-enter{flex:0 0 auto;max-width:39%}}

/* Camera presets are momentary actions; free orbit never leaves a stale preset. */
#floor-layout-three-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}.floor-layout-three-label{grid-column:1;grid-row:1;align-self:center;margin:0}.floor-layout-three-views{grid-column:2;grid-row:1;display:flex;gap:3px;align-items:center}.floor-layout-three-views button{min-height:44px;padding:7px 8px;border:1px solid #d8e0d3;border-radius:6px;background:#f2f4ed;color:#365e51;font:10px/1.25 'Gotham Pro',sans-serif;white-space:nowrap;cursor:pointer}.floor-layout-three-views button:hover{background:#e5ede2}.floor-layout-three-views button:focus-visible{outline:2px solid #ad8452;outline-offset:2px}.floor-layout-three-views button:disabled{opacity:.5;cursor:default}.floor-layout-three-selection{grid-column:1/-1;grid-row:2}.floor-layout-three-source{grid-column:1/-1;grid-row:3;margin:0}
.floor-layout-three-active #interior-style-trigger,.floor-layout-three-active [data-mobile-command="style"]{display:none!important}
@media(min-width:901px){body.floor-layout-three-active #viewer-help{top:76px;right:20px;bottom:auto;min-width:44px;min-height:44px}}
@media(max-width:900px){#floor-layout-three-card{gap:4px 7px}.floor-layout-three-views{gap:3px}.floor-layout-three-views button{font-size:10px;padding:6px 7px}.floor-layout-select-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.floor-layout-three-source{font-size:8px}}
@media(max-width:900px) and (max-height:500px){#floor-layout-three-card{left:calc(10px + var(--mobile-safe-left,0px));right:auto;width:270px;max-width:calc(100% - 20px - var(--mobile-safe-left,0px) - var(--mobile-safe-right,0px))}.floor-layout-three-label{display:none}.floor-layout-three-views{grid-column:1/-1;justify-content:space-between}.floor-layout-three-views button{flex:1;padding:6px;font-size:9px}}

/* Flat customer plans follow the supplied brochure's visual language. */
#floor-layout-panel{background:#fffefb}
.floor-layout-canvas{position:relative;background:#fff;border-color:#e3e5df}
.floor-layout-map{overflow:hidden}
.floor-layout-map path{stroke-linejoin:miter;stroke-linecap:butt}
.floor-layout-map .floor-unit-fill,.floor-layout-map .floor-unit-current .floor-unit-fill{fill:var(--floor-unit-color,#fff5ad);stroke:#005a5a;stroke-width:3.6}
.floor-layout-map .floor-unit-selected .floor-unit-fill{stroke:#b58b55;stroke-width:5}
.floor-layout-map .floor-unit-current .floor-unit-fill{stroke-dasharray:7 3}
.floor-layout-map g.floor-unit:focus-visible{outline:none!important}
.floor-layout-map .floor-unit:focus-visible .floor-unit-fill{stroke:#b58b55;stroke-width:5.5}
.floor-layout-map .floor-room-line,.floor-layout-map .floor-unit-current .floor-room-line{stroke:#005a5a;stroke-width:1.7}
.floor-layout-map .floor-common{fill:#eff0ed;stroke:#005a5a;stroke-width:2}
.floor-layout-map .floor-common-lift{fill:#dce2de}.floor-layout-map .floor-common-stairs{fill:#e1e3df}
.floor-layout-map .floor-column{fill:#cdb58e}
.floor-layout-map .floor-door-gap{stroke:#fffefb;stroke-width:6}
.floor-layout-map .floor-entry-mark{stroke:#005a5a;stroke-width:2.5}
.floor-layout-map .floor-entry-mark{stroke:#b58b55;stroke-width:5}
.floor-layout-map .floor-entry-arrow{fill:none;stroke:#005a5a;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.floor-layout-map .floor-window-mark{stroke:#9bd7ed;stroke-width:4.8}
.floor-unit-badge{fill:#817568;fill-opacity:.94;stroke:none;pointer-events:none}
.floor-layout-map .floor-unit-label,.floor-layout-map .floor-unit-area{fill:#fff;stroke:none;font-weight:600;pointer-events:none}
.floor-layout-map .floor-room-name,.floor-layout-map .floor-room-area{font-family:'Gotham Pro',sans-serif;fill:#005a5a;stroke:none;pointer-events:none}
.floor-room-area{font-weight:600}
.floor-layout-map .floor-common-label{fill:#005a5a;stroke:none;font-weight:500}
.floor-layout-legend .floor-legend-neighbor:before{background:linear-gradient(135deg,#fff5ad 0 33%,#f1b7d2 33% 66%,#cce6d5 66%);border-color:#005a5a}
.floor-layout-legend .floor-legend-common:before{background:#e1e3df}
.floor-layout-legend .floor-legend-current:before{background:transparent;border:2px dashed #005a5a}
.floor-map-tools{position:absolute;right:12px;bottom:12px;display:flex;gap:4px;padding:4px;background:#fffef9f2;border:1px solid #d9e0d4;border-radius:12px;box-shadow:0 4px 18px #173d2d10}
.floor-map-tools button{min-width:44px;min-height:44px;padding:8px 12px;border:0;border-radius:8px;background:#f0f4ed;color:#005a5a;font:12px/1.2 'Gotham Pro',sans-serif;cursor:pointer}
.floor-map-tools button:first-child,.floor-map-tools button:nth-child(2){font-size:21px}.floor-map-tools button:disabled{opacity:.4;cursor:default}.floor-map-tools button:focus-visible{outline:2px solid #ad8452;outline-offset:1px}
.floor-layout-open #interior-action{visibility:hidden}
.floor-layout-open #building-overview-controls,.floor-layout-open #building-overview-selection{display:none!important}
@media(max-width:900px){.floor-map-tools{right:6px;bottom:6px;padding:3px;gap:2px}.floor-map-tools button{padding:6px 9px;font-size:10px}}
