/* Furnished floorplans: readable modal, stable imagery and clear source links. */
.furnished-preview{appearance:none;display:block;width:100%;padding:0;text-align:left;color:var(--ink);border:1px solid var(--line);border-radius:10px;background:#f3f4ee;cursor:pointer;overflow:hidden;transition:border-color .18s,box-shadow .18s}
.furnished-preview:hover{border-color:var(--olive);box-shadow:0 6px 20px #253a3210}
.furnished-preview:focus-visible{outline:3px solid var(--olive);outline-offset:4px}
.furnished-preview-media{position:relative;display:block;overflow:hidden;background:#f3f4ee}
.furnished-preview-media img{display:block;width:100%;height:auto;object-fit:contain;transition:transform .25s}
@media(hover:hover){.furnished-preview:hover .furnished-preview-media img{transform:scale(1.02)}}
.furnished-preview-mark{position:absolute;left:12px;top:12px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #82977c;border-radius:50%;background:var(--surface,#fffefa);color:var(--ink);font:600 12px/1 var(--sans)}
.furnished-preview-caption{display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding:16px!important;margin:0!important;border-top:1px solid var(--line);font-size:13px!important;line-height:1.5;color:var(--muted)!important}
.furnished-preview-caption strong{font-weight:600;color:var(--ink)}
.furnished-preview-caption span{display:inline!important;margin:0!important;font-size:inherit!important;color:inherit!important}
.map-card-plan.furnished-preview{padding:0}.map-card-plan.furnished-preview .furnished-preview-media{margin:0}
.map-card-plan.furnished-preview img{height:auto;width:100%;max-height:260px;aspect-ratio:1.15;object-fit:contain}
.map-card-plan.furnished-preview .furnished-preview-mark{display:grid;margin:0;color:var(--ink);font-size:12px}
.unit-plan.furnished-preview{display:block;padding:0;min-height:0;max-height:none}
.unit-plan.furnished-preview img{height:auto;max-height:none;aspect-ratio:1.1;object-fit:contain}
.unit-plan.furnished-preview .furnished-preview-caption{font-size:14px!important;padding:16px 20px!important}
html:has(.furnished-plan-dialog[open]){overflow:hidden}
.furnished-plan-dialog{width:calc(100% - 48px);max-width:1240px;max-height:calc(100dvh - 48px);margin:auto;padding:28px 32px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fffefa);color:var(--ink);overscroll-behavior:contain;overflow:auto;scroll-padding-block:72px 24px;box-shadow:0 24px 80px #12251e40}
.furnished-plan-dialog::backdrop{background:#13271ed1}
.furnished-plan-dialog .dialog-close{position:sticky;display:grid;place-items:center;top:0;right:auto;z-index:5;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;margin:0 0 -48px auto;border:1px solid #aab7aa;border-radius:6px;background:var(--surface,#fffefa);color:var(--ink);font:30px/1 var(--sans);box-shadow:0 2px 6px #253a3210}
.furnished-plan-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;padding-right:64px}
.furnished-plan-header>div{min-width:0}
.furnished-plan-header .eyebrow{margin-bottom:12px;font-size:12px;line-height:1.5;color:var(--muted);letter-spacing:.08em}
.furnished-plan-header h2{font:400 48px/1.1 var(--serif);letter-spacing:-.03em;color:var(--ink)}
.furnished-plan-meta{font-size:15px;line-height:1.6;color:var(--muted);margin-top:12px}
.furnished-plan-summary{text-align:right}
.furnished-plan-summary>span{display:block;font-size:14px;line-height:1.5;color:var(--muted)}
.furnished-plan-summary>strong{display:block;font:400 30px/1.2 var(--serif);font-variant-numeric:tabular-nums;color:var(--ink);margin-top:8px}
.furnished-plan-summary>small{display:block;font-size:13px;line-height:1.5;color:var(--muted);margin-top:6px}
.furnished-plan-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:28px;padding:20px 0;border-top:1px solid var(--line)}
.furnished-view-switch{display:flex;flex-shrink:0;background:var(--cream);padding:4px;gap:8px;border-radius:8px}
.furnished-view-switch button{min-height:48px;background:none;border:1px solid transparent;border-radius:6px;padding:10px 16px;font-size:14px;font-weight:500;line-height:1.4;color:var(--muted)}
.furnished-view-switch button[aria-pressed=true]{background:var(--surface,#fffefa);color:var(--ink);border-color:#b0c0ad}
.furnished-plan-toolbar>p{max-width:420px;font-size:13px;line-height:1.65;color:var(--muted);text-align:right}
.furnished-plan-workbench{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:32px;align-items:start}
.furnished-plan-workbench[data-view=source]{grid-template-columns:1fr}
.furnished-plan-canvas{position:relative;min-width:0;min-height:220px;background:transparent}
.furnished-image-plane{position:relative;width:min(100%,max(320px,calc((100dvh - 320px) * var(--plan-ratio,1))));margin-inline:auto;line-height:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#f2f3ec}
.furnished-image-plane>img{display:block;width:100%;height:auto;max-width:100%}
.furnished-room-pin{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fffefaed;border:1px solid var(--olive);box-shadow:0 2px 6px #253a3220;font:600 12px/1 var(--sans);color:var(--ink);pointer-events:none}
.furnished-zoom{position:absolute;right:12px;bottom:12px;display:flex;gap:16px;align-items:center;min-height:48px;padding:12px 16px;border:1px solid #95a58e;border-radius:6px;background:var(--surface,#fffefa);color:var(--ink);font:500 14px/1.4 var(--sans);box-shadow:0 2px 6px #253a3210}
.furnished-zoom:hover{background:var(--cream)}
.furnished-source-sheet{display:block;position:relative;background:#fff;padding:16px;border:1px solid var(--line);border-radius:10px}
.furnished-source-sheet>img{height:auto;width:100%;max-height:max(320px,calc(100dvh - 330px));object-fit:contain}
.furnished-source-sheet>span{display:flex;justify-content:center;align-items:center;gap:8px;min-height:48px;text-align:center;font-size:14px;color:var(--ink);margin-top:12px}
.furnished-load-status{position:absolute;inset:0;display:grid;place-items:center;background:var(--surface,#fffefa);font:14px/1.6 var(--sans);color:var(--muted);text-align:center;z-index:2}
.furnished-load-status[hidden],.furnished-image-plane[hidden],.furnished-image-error[hidden],.furnished-room-legend[hidden]{display:none}
.furnished-image-error{padding:48px 24px;text-align:center;font-size:16px;line-height:1.65;color:var(--muted);background:var(--cream);border-radius:10px}
.furnished-image-error button{display:inline-flex;align-items:center;min-height:48px;background:var(--surface,#fffefa);border:1px solid #9caf9e;border-radius:6px;margin-top:20px;padding:12px 16px;color:var(--ink);font-size:14px}
.furnished-room-legend{padding-top:4px;color:var(--ink)}
.furnished-legend-title{font-size:12px;line-height:1.5;letter-spacing:.08em;color:var(--muted);font-weight:600}
.furnished-room-legend ol{display:flex;flex-direction:column;gap:16px;margin:20px 0 0;padding:0;list-style:none}
.furnished-room-legend li{display:flex;align-items:start;gap:12px;color:var(--ink);font-size:15px;line-height:1.5}
.furnished-legend-number{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #9eaf98;border-radius:50%;font-size:13px;color:var(--ink)}
.furnished-legend-note{margin-top:24px;font-size:13px;line-height:1.65;color:var(--muted)}
.furnished-plan-footer{display:flex;align-items:start;justify-content:space-between;gap:32px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.furnished-plan-links{display:flex;flex-wrap:wrap;gap:8px 16px;max-width:460px}
.furnished-plan-links a{display:inline-flex;align-items:center;min-height:48px;padding:12px 14px;border:1px solid #9cad98;border-radius:6px;font-size:14px;line-height:1.5;color:var(--ink)}
.furnished-plan-links a:hover{background:var(--cream)}
.furnished-plan-caveat{font-size:13px;line-height:1.65;color:var(--muted);max-width:540px;flex:1}
.furnished-plan-dialog :is(button,a){touch-action:manipulation;scroll-margin-block:72px 24px}
.furnished-plan-dialog :is(button,a):focus-visible{outline:3px solid var(--olive);outline-offset:4px}
.furnished-plan-dialog button{cursor:pointer}.furnished-plan-dialog button:active{filter:brightness(.94)}
@media(max-width:900px){
 .furnished-plan-dialog{padding:24px;width:calc(100% - 32px);max-height:calc(100dvh - 32px)}
 .furnished-plan-header{grid-template-columns:1fr;gap:20px;align-items:start}
 .furnished-plan-header h2{font-size:42px}.furnished-plan-summary{text-align:left}
 .furnished-plan-toolbar{display:block;margin-top:24px}
 .furnished-view-switch{width:100%}.furnished-view-switch button{flex:1}
 .furnished-plan-toolbar>p{max-width:none;text-align:left;margin-top:16px;font-size:14px}
 .furnished-plan-workbench{display:block}
 .furnished-image-plane{width:100%;max-width:680px}
 .furnished-room-legend{margin-top:24px}
 .furnished-room-legend ol{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}
 .furnished-plan-footer{display:block}
 .furnished-plan-links{max-width:none}
 .furnished-plan-caveat{max-width:none;margin-top:20px}
 .furnished-source-sheet>img{max-height:none}
 .map-card-plan.furnished-preview img{max-height:400px;aspect-ratio:1.3}
}
@media(max-width:600px){
 .furnished-plan-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:20px 16px;border-radius:12px;scroll-padding-top:76px}
 .furnished-plan-header{padding-right:56px}
 .furnished-plan-header h2{font-size:36px}
 .furnished-plan-meta{font-size:14px}
 .furnished-plan-summary>strong{font-size:30px}
 .furnished-plan-summary>small{font-size:13px}
 .furnished-view-switch button{padding:10px 8px;font-size:14px}
 .furnished-plan-toolbar{padding:16px 0}
 .furnished-plan-toolbar>p{font-size:13px}
 .furnished-room-pin{width:26px;height:26px;font-size:12px}
 .furnished-zoom{right:8px;bottom:8px;padding:10px 12px;font-size:14px}
 .furnished-preview-caption{flex-wrap:wrap;gap:4px;font-size:14px!important}
 .furnished-room-legend ol{grid-template-columns:1fr;gap:12px}
 .furnished-plan-links{display:grid;grid-template-columns:1fr;width:100%}
 .furnished-plan-links a{justify-content:center;font-size:14px}
 .furnished-plan-caveat{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.furnished-preview,.furnished-preview-media img{transition:none}}
