.fp-editor,.fp-viewer,.fp-presentation{--fp-height:68vh;--fp-line:#3981b5;font:inherit;max-width:100%}
.fp-stage{height:var(--fp-height);max-height:var(--fp-max-height,720px);min-height:240px;position:relative;overflow:hidden;background:#f1f4f6;border:1px solid #d5dfe6;touch-action:none}
.fp-surface{position:absolute;transform-origin:0 0;left:0;top:0;width:1px;height:1px}
.fp-surface img{display:block;position:absolute;inset:0;width:100%;height:100%;user-select:none;pointer-events:none}
.fp-surface svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.fp-surface polygon{fill:rgba(34,126,192,.06);stroke:rgba(34,126,192,.42);stroke-width:1.25;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s,stroke .12s}
.fp-surface polygon:hover,.fp-surface polygon.fp-active,.fp-surface polygon:focus{fill:rgba(34,126,192,.16);stroke:#227ec0;stroke-width:2}
.fp-editor .fp-surface polygon{fill:rgba(34,126,192,.10);stroke:rgba(34,126,192,.5);stroke-width:1.4}
.fp-editor .fp-surface polygon.fp-active{fill:rgba(21,106,177,.24);stroke:#12538c;stroke-width:2.2}
.fp-surface circle{fill:#fff;stroke:#156ab1;stroke-width:2;vector-effect:non-scaling-stroke;cursor:grab}
.fp-surface path[data-fp-id]{fill:rgba(34,126,192,.06);stroke:rgba(34,126,192,.42);stroke-width:1.25;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s,stroke .12s}
.fp-surface path[data-fp-id]:hover,.fp-surface path.fp-active,.fp-surface path[data-fp-id]:focus{fill:rgba(34,126,192,.16);stroke:#227ec0;stroke-width:2}
.fp-editor .fp-surface path[data-fp-id]{fill:rgba(34,126,192,.10);stroke:rgba(34,126,192,.5);stroke-width:1.4}
.fp-editor .fp-surface path.fp-active{fill:rgba(21,106,177,.24);stroke:#12538c;stroke-width:2.2}
.fp-editor .fp-surface .fp-curve-handle{fill:#ffc54a;stroke:#865200;stroke-width:3;cursor:move}
.fp-presentation .fp-stage path[data-fp-id]:hover,.fp-presentation .fp-stage path.fp-active,.fp-presentation .fp-stage path[data-fp-id]:focus{fill:var(--fp-hover-color,#2563eb);fill-opacity:var(--fp-hover-opacity,.28);stroke:var(--fp-hover-color,#2563eb);stroke-width:1.7}
.fp-toolbar{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:8px 0}
.fp-toolbar button,.fp-toolbar select{border:1px solid #c5d2dc;background:#fff;color:#1f374b;padding:6px 11px;border-radius:20px;cursor:pointer}
.fp-toolbar button:hover,.fp-toolbar button:focus-visible{background:#eaf4fb}
.fp-toolbar button:disabled{opacity:.5;cursor:not-allowed}
.fp-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(180px,1fr);gap:18px}
.fp-list{padding:0;margin:8px 0;list-style:none;max-height:min(var(--fp-height,68vh),var(--fp-max-height,720px));overflow:auto}
.fp-list li{padding:9px 12px;border:1px solid #e2e7ec;margin-bottom:5px;border-radius:5px;cursor:pointer}
.fp-list li.fp-active,.fp-list li:hover{background:#ebf4fa;border-color:#9dc8e5}
.fp-list li[data-fp-status=Available]{border-left:3px solid #259d62}
.fp-list li[data-fp-status=Hold]{border-left:3px solid #e5ad26}
.fp-list li[data-fp-status=Booked]{border-left:3px solid #377ac6}
.fp-list li[data-fp-status=Sold],.fp-list li[data-fp-status="Not for Sale"]{border-left:3px solid #c84e4e}
.fp-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}
.fp-breadcrumbs button{border:0;background:transparent;text-decoration:underline;cursor:pointer}
.fp-hint{font-size:.9em;color:#637486}
@media(max-width:700px){.fp-layout{grid-template-columns:1fr}.fp-stage{min-height:230px}.fp-list{max-height:210px}.fp-toolbar button{min-height:36px}}

/* Guided map editor: isolated from CouchCMS admin styles. */
.fp-editor .fp-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px;max-width:100%;}
.fp-editor .fp-steps span{position:relative;text-align:center;border:1px solid #d4dce5;background:#f4f6f8;color:#637184;border-radius:18px;padding:9px 5px;font-size:12px;line-height:1.4;user-select:none;cursor:default;}
.fp-editor .fp-steps span.fp-current{background:#2563eb;color:#fff;border-color:#2563eb;font-weight:600;}
.fp-editor .fp-steps span.fp-complete{background:#18815a;color:#fff;border-color:#18815a;}
.fp-editor .fp-toolbar [hidden],.fp-editor .fp-toolbar select[hidden]{display:none!important;}
.fp-editor .fp-hint{margin:6px 0 12px;min-height:24px;font-size:14px;line-height:1.5;font-weight:600;color:#264967;}
.fp-editor .fp-map-label{margin:8px 0 4px;font-weight:600;}
.fp-editor textarea[readonly]{display:block;box-sizing:border-box;resize:vertical;margin:10px 0 0;}
@media(max-width:600px){.fp-editor .fp-steps{gap:4px}.fp-editor .fp-steps span{font-size:10px;padding:7px 3px;border-radius:10px}}

/* Public presentation: image-first, scoped to the reusable component. */
.fp-presentation{position:relative;color:#27313a;--fp-height:min(68vh,720px)}
.fp-public-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.fp-presentation .fp-navigation{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.fp-presentation .fp-navigation>button{background:#fff;color:#264967;border:1px solid #c5d2dc;border-radius:20px;padding:7px 14px;font-size:13px;cursor:pointer}
.fp-presentation .fp-navigation>button:disabled{opacity:.45;cursor:not-allowed}
.fp-presentation .fp-breadcrumbs button:not(:disabled):hover{text-decoration:underline;color:#155a9a}
.fp-presentation.fp-hide-heading .fp-public-heading{display:flex;justify-content:flex-end}
.fp-presentation.fp-hide-heading .fp-public-heading>div:first-child{display:none}
.fp-presentation .fp-title{font-size:clamp(1.3rem,2.5vw,2rem);font-weight:600;line-height:1.2;margin:0}
.fp-presentation .fp-subtitle{font-size:.9rem;color:#71808b;margin:5px 0 0}
.fp-presentation .fp-layout{grid-template-columns:minmax(0,1fr) minmax(160px,225px);gap:16px;align-items:start;background:#fff;border:1px dashed #dce2e5;border-radius:20px;padding:clamp(12px,2vw,25px)}
.fp-presentation .fp-stage{background:#fff;border:0;border-radius:12px;min-height:min(340px,var(--fp-max-height,720px))}
.fp-presentation .fp-stage .fp-surface polygon:hover,.fp-presentation .fp-stage .fp-surface polygon.fp-active,.fp-presentation .fp-stage .fp-surface polygon:focus{fill:var(--fp-hover-color,#2563eb);fill-opacity:var(--fp-hover-opacity,.28);stroke:var(--fp-hover-color,#2563eb);stroke-width:1.7}
.fp-presentation .fp-overview{position:absolute;top:12px;left:12px;z-index:5}
.fp-presentation .fp-level-select{background:#fff;border:1px solid #c5cdd2;box-shadow:0 2px 6px #0001;border-radius:8px;padding:10px 24px 10px 12px;max-width:205px;font-size:13px;color:#17232d;cursor:pointer}
.fp-presentation .fp-tooltip{position:absolute;z-index:6;pointer-events:none;max-width:190px;min-width:145px;padding:12px 14px;background:#15171b;color:#fff;border-radius:9px;box-shadow:0 6px 18px #0003;font-size:13px}
.fp-presentation .fp-tooltip[hidden]{display:none}
.fp-presentation .fp-tooltip-facts{display:grid;grid-template-columns:auto 1fr;gap:3px 9px;margin:9px 0 0;font-size:12px}.fp-presentation .fp-tooltip-facts dt{font-weight:400;color:#bbc8d6}.fp-presentation .fp-tooltip-facts dd{margin:0;font-weight:600;text-align:right}
.fp-presentation .fp-tooltip-content{margin-top:8px;max-height:160px;overflow:hidden;line-height:1.5;font-size:12px;color:inherit}
.fp-presentation .fp-tooltip-facts{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;border-top:1px solid #ffffff30;padding-top:8px;margin:8px 0 0;font-size:11px}
.fp-presentation .fp-tooltip-facts dt{font-weight:400;color:#b2c3d0}.fp-presentation .fp-tooltip-facts dd{margin:0;text-align:right;font-weight:600}
.fp-presentation .fp-tooltip-content p{margin:0 0 6px}.fp-presentation .fp-tooltip-content p:last-child{margin-bottom:0}
.fp-presentation .fp-tooltip-content ul,.fp-presentation .fp-tooltip-content ol{padding-left:17px;margin:5px 0}
.fp-presentation .fp-tooltip-content a{color:#a9d7ff;text-decoration:underline}
.fp-presentation .fp-tooltip strong,.fp-presentation .fp-tooltip span,.fp-presentation .fp-tooltip small{display:block;line-height:1.45}
.fp-presentation .fp-tooltip span{margin-top:5px;color:#e5edf4}
.fp-presentation .fp-tooltip small{margin-top:6px;color:#aeb9c7}
.fp-presentation .fp-list{margin:10px 0;max-height:min(var(--fp-height,68vh),var(--fp-max-height,720px))}
.fp-presentation .fp-list li{border:1px solid #aeb7bd;border-radius:24px;padding:8px 14px;background:#fff;box-shadow:0 2px 4px #00000012;color:#202831;font-size:13px;transition:background .15s,border-color .15s}
.fp-presentation .fp-list li:hover,.fp-presentation .fp-list li.fp-active{background:#e3edff;border-color:#547ee4;box-shadow:0 2px 8px #286ff72b}
.fp-presentation .fp-side-back{display:block;width:100%;text-align:left;background:#f0f6fc;border:1px solid #b9cddd;color:#174e77;border-radius:18px;padding:9px 14px;margin:0 0 12px;font-size:13px;font-weight:600;cursor:pointer}
.fp-presentation .fp-side-back:hover,.fp-presentation .fp-side-back:focus-visible{background:#e0eefb;border-color:#709cc5}
.fp-presentation .fp-side-back[hidden]{display:none}
.fp-presentation .fp-list-title{font-size:.92rem;margin:10px 0;color:#53616b}
.fp-presentation .fp-list li.fp-room-item{padding:0;overflow:hidden}
.fp-presentation .fp-room-toggle{display:block;width:100%;padding:9px 14px;text-align:left;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.fp-presentation .fp-room-item.fp-expanded{border-color:var(--fp-hover-color,#2563eb);background:#f6f9ff}
.fp-presentation .fp-room-item.fp-expanded .fp-room-toggle{font-weight:600}
.fp-presentation .fp-room-details{padding:4px 14px 12px;border-top:1px solid #dce5f2;background:#fff}
.fp-presentation .fp-room-detail-row{display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:12px}
.fp-presentation .fp-room-detail-row span{color:#617283}
.fp-presentation .fp-room-description{font-size:12px;line-height:1.5;margin-top:8px;color:#4b5966}
.fp-presentation .fp-toolbar{justify-content:center}
.fp-presentation .fp-toolbar button{border-radius:24px;font-size:12px}
.fp-presentation .fp-breadcrumbs{margin:0;gap:5px;align-items:center}
.fp-presentation .fp-breadcrumbs button{font-size:12px;text-decoration:none;color:#53616b;padding:4px 6px}
.fp-presentation .fp-breadcrumbs button:disabled{font-weight:700;color:#263b50}
.fp-presentation .fp-description{max-width:850px;color:#596570;line-height:1.55}
.fp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Public styling controls; isolated from the host website. */
.fp-presentation .fp-surface polygon.fp-active,.fp-presentation .fp-surface polygon:hover,.fp-presentation .fp-surface polygon:focus{fill:var(--fp-hover-color,#2563eb);fill-opacity:var(--fp-hover-opacity,.28);stroke:var(--fp-hover-color,#2563eb)}
.fp-presentation .fp-tooltip{max-width:min(290px,calc(100% - 24px));overflow-wrap:anywhere}
.fp-presentation .fp-list li:focus-visible{outline:2px solid var(--fp-hover-color,#2563eb);outline-offset:2px}
.fp-stage:fullscreen{width:100vw;height:100vh;max-height:none;min-height:0;border:0;border-radius:0}
.fp-presentation .fp-stage:fullscreen{max-height:none;height:100vh;border-radius:0}
.fp-presentation .fp-stage:fullscreen .fp-overview{z-index:7}
@media(max-width:700px){.fp-presentation .fp-layout{grid-template-columns:1fr}.fp-presentation .fp-stage{min-height:min(280px,var(--fp-max-height,720px));height:min(60vh,560px)}.fp-presentation .fp-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:210px}.fp-presentation .fp-list li{margin:0}.fp-presentation .fp-overview{top:8px;left:8px}}


.fp-editor.fp-no-targets .fp-steps,.fp-editor.fp-no-targets .fp-toolbar,.fp-editor.fp-no-targets .fp-map-label,.fp-editor.fp-no-targets .fp-stage,.fp-editor.fp-no-targets textarea{display:none}
.fp-editor.fp-no-targets .fp-hint{margin:0;padding:12px 16px;border:1px solid #ced4da;border-radius:8px;background:#f8f9fa;color:#495057}

/* vNext: map-first interaction, not a four-step wizard. Keeps the mapping field embeddable. */
.fp-editor .fp-steps{display:none}
.fp-editor .fp-toolbar{gap:8px;align-items:center}
.fp-editor .fp-toolbar .fp-search{min-width:180px;max-width:100%;flex:1 1 180px;border:1px solid #c5d2dc;background:#fff;border-radius:22px;padding:7px 12px}
.fp-editor .fp-toolbar [data-fp-target]{max-width:280px;flex:1 1 160px}
.fp-editor .fp-toolbar [data-fp-reassign]{max-width:240px}
.fp-editor.fp-no-targets .fp-toolbar,.fp-editor.fp-no-targets .fp-map-label,.fp-editor.fp-no-targets .fp-stage,.fp-editor.fp-no-targets textarea{display:initial}
.fp-editor.fp-no-targets .fp-toolbar{display:flex}
.fp-editor.fp-no-targets .fp-stage{display:block}
.fp-editor.fp-no-targets .fp-hint{padding:8px 12px}
/* These colours reflect host-provided inventory status, never editable addon fields. */
.fp-presentation .fp-surface [data-fp-status="Available"],.fp-viewer .fp-surface [data-fp-status="Available"]{fill:#259d62;fill-opacity:.10;stroke:#259d62;stroke-width:1.6}
.fp-presentation .fp-surface [data-fp-status="Hold"],.fp-viewer .fp-surface [data-fp-status="Hold"]{fill:#dba11d;fill-opacity:.12;stroke:#dba11d;stroke-width:1.6}
.fp-presentation .fp-surface [data-fp-status="Booked"],.fp-viewer .fp-surface [data-fp-status="Booked"]{fill:#377ac6;fill-opacity:.10;stroke:#377ac6;stroke-width:1.6}
.fp-presentation .fp-surface [data-fp-status="Sold"],.fp-presentation .fp-surface [data-fp-status="Not for Sale"],.fp-viewer .fp-surface [data-fp-status="Sold"],.fp-viewer .fp-surface [data-fp-status="Not for Sale"]{fill:#c84e4e;fill-opacity:.10;stroke:#c84e4e;stroke-width:1.6}
.fp-presentation .fp-surface [data-fp-id].fp-active,.fp-presentation .fp-surface [data-fp-id]:hover,.fp-presentation .fp-surface [data-fp-id]:focus{fill:var(--fp-hover-color,#2563eb);fill-opacity:var(--fp-hover-opacity,.28);stroke:var(--fp-hover-color,#2563eb)}

.fp-editor .fp-stage.fp-pan-mode{cursor:grab}
.fp-editor .fp-toolbar [data-fp-action="pan"][aria-pressed="true"]{background:#d9ebfc;color:#114c82;border-color:#4a8cc5;font-weight:600}

.fp-editor textarea[readonly][name]{display:none!important}
.fp-editor .fp-map-count{font-size:12px;color:#5b6b7b;white-space:nowrap}

/* Host inventory statuses are rendered, not maintained, by the graphical addon. */
.fp-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#526273;margin:9px 0}
.fp-legend-item{display:inline-flex;gap:5px;align-items:center;white-space:nowrap}
.fp-legend-dot{display:inline-block;height:10px;width:10px;border-radius:100%;border:1px solid #b6c0cc;background:#b6c0cc}
.fp-legend-item[data-fp-status="Available"] .fp-legend-dot{background:#259d62;border-color:#259d62}
.fp-legend-item[data-fp-status="Hold"] .fp-legend-dot{background:#dba11d;border-color:#dba11d}
.fp-legend-item[data-fp-status="Booked"] .fp-legend-dot{background:#377ac6;border-color:#377ac6}
.fp-legend-item[data-fp-status="Sold"] .fp-legend-dot,.fp-legend-item[data-fp-status="Not for Sale"] .fp-legend-dot{background:#c84e4e;border-color:#c84e4e}
.fp-empty-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:22px;color:#526273;text-align:center;font-size:14px}
.fp-empty-message[hidden]{display:none}

/* Real Bootstrap 5 accordion markup and Collapse API when available; standalone fallback. */
.fp-presentation .fp-room-accordion{display:block}
.fp-presentation .fp-room-accordion .accordion-header{margin:0}
.fp-presentation .fp-room-accordion .accordion-collapse:not(.show){display:none}
.fp-presentation .fp-room-accordion .accordion-collapse.show{display:block}
.fp-presentation .fp-room-accordion .accordion-button{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center}
.fp-presentation.fp-fallback-accordion .accordion-button::after{content:'▾';font-size:16px;transition:transform .15s;display:inline-block;margin-left:auto}
.fp-presentation.fp-fallback-accordion .accordion-button:not(.collapsed)::after{transform:rotate(180deg)}
.fp-presentation .fp-tooltip{max-width:min(180px,calc(100% - 20px));padding:8px 11px;font-size:12px}

.fp-editor .fp-toolbar .fp-area-label{flex:1 1 145px;min-width:130px;max-width:240px;background:#fff;border:1px solid #c5d2dc;border-radius:22px;padding:7px 12px}

/* Map loading never requires a full page refresh; previous context remains until the new data arrives. */
.fp-presentation.fp-loading .fp-stage::after{content:'Loading map…';position:absolute;bottom:12px;left:12px;z-index:7;background:rgba(255,255,255,.92);border:1px solid #d7e0eb;border-radius:999px;padding:6px 14px;color:#294760;font-size:12px;pointer-events:none}
.fp-presentation.fp-loading .fp-stage{cursor:progress}

/* Status, shape and button styles remain graceful without a global Bootstrap stylesheet. */
.fp-editor .fp-toolbar .btn.btn-primary{color:#fff;background:#2563eb;border-color:#2563eb}
.fp-editor .fp-toolbar .btn.btn-primary:hover{background:#174bb3}
.fp-editor .fp-toolbar .btn.btn-outline-danger{color:#ae3535;border-color:#d8a5a5}
.fp-editor .fp-toolbar .btn.btn-outline-danger:hover{background:#fff0f0}
.fp-editor .fp-toolbar select.form-select{width:auto;min-width:150px;max-width:310px}
.fp-editor .fp-toolbar .form-control{width:auto}

/* Drawing or panning a crowded plan must not accidentally select existing shapes. */
.fp-editor.fp-ignore-mapped-clicks .fp-surface svg [data-fp-id]{pointer-events:none!important}

.fp-wa{display:inline-block;margin-top:.6rem;padding:.4rem .9rem;border-radius:2rem;background:#128c4a;color:#fff!important;font-weight:600;font-size:.85em;text-decoration:none}
