/* Shared click-through panels and the policy reading page. */
html.sv-detail-panel header.wave-only-header,html.sv-detail-panel footer.site-footer,html.sv-detail-panel body>.skip{display:none!important}
html.sv-detail-panel main{min-height:0}
html.sv-detail-panel .privacy-return,html.sv-embedded .privacy-return{display:none}
html.sv-page-panel-open{overflow:hidden}
body dialog.sv-page-panel{box-sizing:border-box;padding:0;border:0;border-radius:0;width:min(1180px,calc(100vw - 40px));max-width:100vw;height:94dvh;max-height:94dvh;background:#fff;color:#50514D;overflow:hidden}
.sv-page-panel::backdrop{background:rgba(52,54,50,.68)}
.sv-page-panel-toolbar{box-sizing:border-box;height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;border-bottom:1px solid #ededed}
.sv-page-panel-label{font:400 10px/1.5 Argentum,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.sv-page-panel-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #d9dcd9;border-radius:50%;background:#fff;font:400 26px/1 Argentum,Arial,sans-serif;color:#50514D;cursor:pointer}.sv-page-panel-close:focus-visible{outline:2px solid #50514D;outline-offset:3px}
.sv-page-panel-frame{display:block;width:100%;height:calc(100% - 48px);border:0;background:#fff}
.privacy-page{background:#fff;color:#50514D}
.privacy-main{width:min(100%,860px);margin:auto;padding:20px 42px 64px}
.privacy-return{display:inline-block;padding:12px 0;font:400 10px/1.6 Argentum,Arial,sans-serif;letter-spacing:.12em;text-decoration:underline;text-underline-offset:4px}
body.privacy-page .sv-page-heading{padding:32px 0 26px;text-align:left}
body.privacy-page .sv-page-opening{margin-left:0}
.privacy-index{margin:0 0 32px;padding:16px 20px;background:#F5F7F7}
.privacy-index summary{font:500 10px/1.6 Argentum,Arial,sans-serif;letter-spacing:.16em;cursor:pointer;min-height:24px}
.privacy-index nav{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;padding-top:18px}
.privacy-index nav a,.privacy-index nav a:last-child{font:400 12px/1.5 Argentum,Arial,sans-serif;letter-spacing:0;padding:0;border:0;text-decoration:underline;text-underline-offset:3px}
.privacy-copy{font:400 15px/1.85 Argentum,Arial,sans-serif;overflow-wrap:break-word}
.privacy-copy h2{font-size:29px;font-weight:400;line-height:1.35;letter-spacing:0;margin:38px 0 16px;scroll-margin-top:24px}
.privacy-copy p{margin:0 0 18px}
.privacy-copy ul{margin:0 0 20px;padding-left:23px}
.privacy-copy li{padding-left:3px;margin:5px 0}
.privacy-copy a{text-decoration:underline;text-underline-offset:3px}
.privacy-copy strong{font-weight:600}
.privacy-contact{font-style:normal;line-height:1.9;margin-top:20px;padding-top:20px;border-top:1px solid #ededed}
@media(max-width:650px){body dialog.sv-page-panel{width:100vw;height:100dvh;max-height:100dvh;margin:0}.sv-page-panel-toolbar{padding:0 12px}.privacy-main{padding:18px 24px 42px}.privacy-index nav{grid-template-columns:1fr}.privacy-copy{font-size:14px}.privacy-copy h2{font-size:26px}body.privacy-page .sv-page-heading{padding-top:24px}}

/* Gallery detail destinations use the existing outer panel, without a nested dialog. */
html.sv-inline-amenity-page body>*:not(.sv-inline-amenity){display:none!important}
html.sv-inline-amenity-page body .sv-inline-amenity{display:block;position:static;box-sizing:border-box;width:100%;max-width:1000px;max-height:none;margin:0 auto;padding:0;border:0;box-shadow:none;overflow:visible;background:#fff}

/* Floor-plan details fill the existing page panel and retain the card browser underneath. */
html.sv-inline-plan-active body>*:not(#plan-viewer):not(#sv-approved-tour){display:none!important}
html.sv-inline-plan-active body #plan-viewer[open]{display:flex;flex-direction:column;position:static;box-sizing:border-box;width:100%;max-width:760px;height:100dvh;max-height:none;margin:0 auto;border:0;padding:0}
html.sv-inline-plan-active #plan-viewer .plan-toolbar{flex-shrink:0}
html.sv-inline-plan-active #detail-close{display:none}
html.sv-inline-plan-active #plan-viewer .detail-scroll{flex:1;min-height:0;max-height:none}

/* Enlarged Gallery photos reuse the outer panel and preserve the photo grid. */
html.sv-inline-photo-active body>*:not(#photo-viewer){display:none!important}
html.sv-inline-photo-active body #photo-viewer[open]{display:block;position:static;box-sizing:border-box;width:100%;max-width:1180px;max-height:none;min-height:100dvh;margin:0 auto;padding:0;border:0;background:#fff}
html.sv-inline-photo-active #photo-viewer .viewer-close{display:none}
html.sv-inline-photo-active #viewer-image{max-height:calc(100dvh - 160px)}

/* The site map fills the existing Floor Plans panel, with the outer close control. */
html.sv-inline-map-active body>*:not(#village-map-dialog){display:none!important}
html.sv-inline-map-active body #village-map-dialog[open]{display:block;position:static;box-sizing:border-box;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;outline:none}
html.sv-inline-map-active #village-map-dialog .map-dialog-toolbar{display:none}
html.sv-inline-map-active body #village-map-frame{height:100%}

/* Keep the close control visible and give short landscape screens the full panel. */
body dialog.sv-page-panel[open]{display:flex;flex-direction:column}
.sv-page-panel-toolbar{flex:0 0 48px}
.sv-page-panel-frame{flex:1;min-height:0;height:0}
.sv-page-panel-close:focus-visible{outline-offset:-4px}
@media(max-width:650px),(max-height:500px) and (max-width:1100px){
 body dialog.sv-page-panel{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0}
 .sv-page-panel-toolbar{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
}
/* Back returns one level; Close leaves the section. */
.sv-page-panel-back{border:0;background:transparent;color:#50514D;font:400 12px/1.35 Argentum,Arial,sans-serif;min-height:44px;max-width:65%;padding:8px 4px;text-align:left;cursor:pointer}
.sv-page-panel-back[hidden]{display:none}
.sv-page-panel-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.sv-page-panel-close{margin-left:auto}
.sv-page-panel-back:not([hidden])~.sv-page-panel-label{display:none}
.sv-page-panel-back:focus-visible{outline:2px solid #50514D;outline-offset:-2px}

/* A quiet close control; retain one clear ring for keyboard focus. */
body .sv-page-panel .sv-page-panel-close{border:0;background:transparent;box-shadow:none;font-size:24px}
body .sv-page-panel .sv-page-panel-close:focus-visible{outline:2px solid #50514D;outline-offset:-6px}
