.plan-toolbar{display:grid;grid-template-columns:1.25fr repeat(2,minmax(150px,.8fr)) auto auto;gap:12px;align-items:end;margin-bottom:28px}.plan-toolbar label,.plot-search label{font-weight:700}.plan-toolbar .input-field,.plot-search .input-field{margin-top:6px}.plan-result-count{margin-bottom:18px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.plan-card{display:flex;flex-direction:column;min-width:0;overflow:hidden}.plan-card__image{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.plan-card .component-card__body{display:flex;flex:1;flex-direction:column}.plan-card .btn{margin-top:auto;align-self:flex-start}.plan-card__project{font-size:.92rem}.plan-card__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.plan-card__stats div{padding:10px 7px;border-radius:10px;background:#f4f7f6;text-align:center}.plan-card__stats dt{font-size:.75rem;color:#667}.plan-card__stats dd{margin:3px 0 0;font-weight:800}.plan-overview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.65fr);gap:28px;margin-bottom:36px;align-items:start}.plan-media,.plan-facts{border-radius:18px;overflow:hidden}.plan-media{margin:0;background:#e9efed}.plan-media a{position:relative;display:flex;align-items:center;justify-content:center;min-height:320px;max-height:72vh}.plan-media img{display:block;width:100%;height:auto;max-height:72vh;object-fit:contain}.plan-media__hint{position:absolute;inset:auto auto 16px 16px;padding:8px 12px;border-radius:999px;background:rgba(16,42,37,.86);color:#fff;font-size:.85rem}.plan-facts{padding:24px;background:#f4f7f6}.plan-facts dl{display:grid;gap:12px;margin:0}.plan-facts dl div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #d7e0dd;padding-bottom:10px}.plan-facts dd{margin:0;font-weight:800}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:18px}.section-heading-row h2{margin:0}.plot-search{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto auto;gap:10px;align-items:end;margin:22px 0}.plot-table-wrap{overflow-x:auto;border:1px solid #d7e0dd;border-radius:16px;background:#fff}.plot-table{width:100%;border-collapse:collapse;table-layout:fixed}.plot-table th,.plot-table td{padding:15px 12px;border-bottom:1px solid #e4eae8;text-align:right;vertical-align:middle;overflow-wrap:anywhere}.plot-table thead th{background:#f4f7f6;font-size:.82rem}.plot-table tbody tr:last-child>*{border-bottom:0}.plot-table th:first-child{width:12%}.plot-table td:nth-child(2),.plot-table td:nth-child(3){width:16%}.plot-table td:nth-child(4){width:14%}.plot-table td:nth-child(5){width:27%}.plot-table__action{width:12%;text-align:left!important}.btn-sm{padding:9px 13px;font-size:.86rem}.pagination.plan-pagination{margin-top:24px}.pagination.plan-pagination .page-numbers{display:inline-flex;padding:8px 12px;border:1px solid #d7e0dd;border-radius:8px}.plan-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.plan-contact-card{margin-top:32px}.plan-dialog[hidden]{display:none}.plan-dialog{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:24px}.plan-dialog__backdrop{position:absolute;inset:0;background:rgba(8,25,22,.78);backdrop-filter:blur(4px)}.plan-dialog__panel,.plan-image-dialog__panel{position:relative;z-index:1;width:min(100%,560px);max-height:90vh;overflow:auto;border-radius:20px;background:#fff;padding:30px;box-shadow:0 26px 70px rgba(0,0,0,.3)}.plan-dialog__close{position:absolute;top:12px;left:12px;width:38px;height:38px;border:0;border-radius:50%;background:#e9efed;font-size:1.5rem;cursor:pointer}.plan-dialog__panel dl{display:grid;gap:10px}.plan-dialog__panel dl div{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:11px 0;border-bottom:1px solid #e4eae8}.plan-dialog__panel dd{margin:0;font-weight:700}.plan-image-dialog__panel{width:min(96vw,1500px);padding:12px;background:#102a25}.plan-image-dialog__panel img{display:block;width:100%;max-height:86vh;object-fit:contain}.has-plan-dialog{overflow:hidden}@media(min-width:1800px){.plan-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.plan-toolbar,.plot-search{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-overview{grid-template-columns:1fr}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.plan-grid{grid-template-columns:1fr}.plot-table-wrap{overflow:visible;border:0;background:transparent}.plot-table,.plot-table tbody{display:grid;gap:14px}.plot-table thead{display:none}.plot-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px;border:1px solid #d7e0dd;border-radius:16px;background:#fff}.plot-table th,.plot-table td{display:grid;grid-template-columns:100px 1fr;gap:8px;width:auto!important;padding:0;border:0;text-align:right!important}.plot-table th:before,.plot-table td:before{content:attr(data-label);font-size:.78rem;color:#667;font-weight:600}.plot-table__action{display:block!important}.plot-table__action:before{display:none}.plot-table__action .btn{width:100%}.section-heading-row{align-items:start}.plan-card__stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.plan-toolbar,.plot-search,.plot-table tr{grid-template-columns:1fr}.plan-actions .btn,.plan-toolbar .btn,.plot-search .btn{width:100%;text-align:center}.plan-dialog{padding:12px}.plan-dialog__panel{padding:24px 18px}.plan-dialog__panel dl div{grid-template-columns:1fr;gap:3px}}

.plan-regions{display:grid;gap:34px}.plan-region{padding:24px;border:1px solid var(--ui-border);border-radius:22px;background:#fff;box-shadow:0 12px 36px rgba(10,22,40,.05)}.plan-region__heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.plan-region__heading h2{margin:0}.plan-region__heading span{font-weight:800;color:var(--ui-teal-dark)}@media(max-width:560px){.plan-region{padding:18px}.plan-region__heading{align-items:flex-start;flex-direction:column;gap:8px;padding-inline-start:6.3rem}}

.plan-finder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-bottom:14px}.plan-finder label{font-weight:800}.plan-finder .input-field{margin-top:6px}.plan-finder .btn:disabled,.plan-finder select:disabled{opacity:.55;cursor:not-allowed}.plan-finder-help{margin:0 0 22px;color:var(--ui-muted,#667)}.plan-selected-results{display:grid}.plan-selected{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.92fr);gap:28px;align-items:start;padding:24px;border:1px solid var(--ui-border);border-radius:24px;background:#fff;box-shadow:0 16px 42px rgba(10,22,40,.06)}.plan-selected[hidden]{display:none}.plan-selected__body{order:1}.plan-selected__media{order:2;margin:0;border-radius:18px;overflow:hidden;background:#edf3f1}.plan-selected__media a{position:relative;display:block;color:#fff}.plan-selected__media img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}.plan-selected__media span{position:absolute;inset:auto 14px 14px auto;padding:7px 12px;border-radius:999px;background:rgba(16,42,37,.86);font-size:.82rem;font-weight:800}.plan-selected h2{margin:.2rem 0 1rem;font-size:clamp(1.6rem,3vw,2.4rem)}.plan-selected__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}.plan-selected__facts div{padding:12px;border-radius:14px;background:#f4f7f6}.plan-selected__facts dt{color:var(--ui-muted,#667);font-size:.8rem}.plan-selected__facts dd{margin:4px 0 0;font-weight:900}.plan-selected__content{margin-top:12px;color:#4b5c66;line-height:1.9}@media(max-width:760px){.plan-finder{grid-template-columns:1fr}.plan-selected{grid-template-columns:1fr;padding:18px}.plan-selected__media{order:1}.plan-selected__body{order:2}.plan-selected__facts{grid-template-columns:1fr}}
.plan-region__heading{padding-inline-start:0}

.plan-pdf-dialog__viewer{display:block;direction:ltr;width:100%;height:82vh;overflow:auto;padding:12px;background:#525659;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}.plan-pdf-dialog__viewer canvas{display:block;margin:0 auto;max-width:none;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.35)}.plan-pdf-dialog__status{color:#fff;font-weight:800}.plan-pdf-dialog__controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:10px;background:#102a25;color:#fff}.plan-pdf-dialog__controls button{border:0;border-radius:999px;padding:7px 15px;font-weight:800;cursor:pointer}.plan-pdf-dialog__controls button:focus-visible{outline:2px solid #7fd0b8}.plan-pdf-dialog__controls [data-plan-pdf-zoom-in],.plan-pdf-dialog__controls [data-plan-pdf-zoom-out]{background:#e9efed;color:#14322c}@media(max-width:760px){.plan-pdf-dialog__viewer{height:72vh;padding:8px}}

.plan-media-wrap{display:grid;gap:14px}.plan-media__button{display:flex;align-items:center;justify-content:center;width:100%;min-height:320px;max-height:72vh;padding:0;border:0;background:#e9efed;border-radius:18px;overflow:hidden;cursor:zoom-in}.plan-media__button img{display:block;width:100%;height:auto;max-height:72vh;object-fit:contain}.plan-media__hint{position:absolute;inset:auto auto 16px 16px;padding:8px 12px;border-radius:999px;background:rgba(16,42,37,.86);color:#fff;font-size:.85rem}.plan-thumbs{display:flex;flex-wrap:wrap;gap:10px}.plan-thumbs__item{width:88px;height:88px;padding:0;border:2px solid transparent;border-radius:14px;overflow:hidden;background:#e9efed;cursor:zoom-in}.plan-thumbs__item img{display:block;width:100%;height:100%;object-fit:cover}.plan-thumbs__item.is-active{border-color:#1e6b57}.plan-media--empty{display:flex;align-items:center;justify-content:center;min-height:240px;padding:24px;color:#667}.plan-media--empty .plan-media__placeholder{font-weight:700}.plan-plan-actions{margin-top:18px}.plan-zoom-dialog__panel,.plan-pdf-dialog__panel{position:relative;z-index:1;border-radius:20px;background:#102a25;padding:12px;box-shadow:0 26px 70px rgba(0,0,0,.3)}.plan-zoom-dialog__panel{width:min(96vw,1500px);max-height:92vh}.plan-zoom-dialog__stage{display:flex;align-items:center;justify-content:center;min-height:55vh;max-height:72vh;overflow:hidden;border-radius:14px;background:#0b1f1a;cursor:zoom-out}.plan-zoom-dialog__stage img{display:block;max-width:100%;max-height:72vh;object-fit:contain;transition:transform .18s ease;transform-origin:center center}.plan-zoom-dialog__controls{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}.plan-zoom-dialog__controls button{border:0;border-radius:999px;padding:9px 16px;background:#e9efed;color:#14322c;font-weight:800;cursor:pointer}.plan-zoom-dialog__controls button:focus-visible{outline:2px solid #7fd0b8}.plan-zoom-dialog__counter{display:inline-flex;align-items:center;margin:0 6px;color:#c8dfd8;font-weight:800}.plan-pdf-dialog__panel{width:min(96vw,1400px);padding:0;background:#fff}.plan-pdf-dialog__frame{display:block;width:100%;height:90vh;border:0;border-radius:0 0 18px 18px}.plan-dialog[hidden]{display:none}.has-plan-dialog{overflow:hidden}.plan-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.plan-actions .btn,.plan-actions button.btn{margin:0}.plan-facts .plan-actions{margin-top:18px}@media(max-width:760px){.plan-overview{grid-template-columns:1fr;gap:20px}.plan-media__button{min-height:240px}.plan-thumbs__item{width:72px;height:72px}.plan-zoom-dialog__stage{min-height:44vh}.plan-zoom-dialog__controls button{padding:8px 12px;font-size:.9rem}.plan-pdf-dialog__frame{height:80vh}}

/* Keep the PDF viewer above all fixed site chrome without changing PDF behavior. */
.plan-dialog[data-plan-pdf-dialog]{position:fixed!important;inset:0!important;z-index:2147483000!important;isolation:isolate}
html.has-plan-dialog:has(.plan-dialog[data-plan-pdf-dialog]:not([hidden])) #alsakan-main{position:relative;z-index:2147482000}
.plan-dialog[data-plan-pdf-dialog] .plan-dialog__backdrop{position:fixed;inset:0;z-index:2147483000!important}
.plan-dialog[data-plan-pdf-dialog] .plan-pdf-dialog__panel{z-index:2147483001!important}
.plan-dialog[data-plan-pdf-dialog] .plan-dialog__close{z-index:2147483002!important}

.plan-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}

/* Single plan preview: keep the tall media clear of the fixed navbar when it is scrolled or focused into view. */
.single-alsakan_plan .plan-media-wrap,.single-alsakan_plan .plan-media,.single-alsakan_plan .plan-media__button{scroll-margin-top:calc(var(--ui-header,4.75rem) + 1.5rem)}
.single-alsakan_plan .plan-media__button{position:relative;max-height:min(72vh,calc(100vh - var(--ui-header,4.75rem) - 2.5rem))}
.single-alsakan_plan .plan-media__button img{max-height:min(72vh,calc(100vh - var(--ui-header,4.75rem) - 2.5rem))}
@supports(height:100dvh){.single-alsakan_plan .plan-media__button,.single-alsakan_plan .plan-media__button img{max-height:min(72vh,calc(100dvh - var(--ui-header,4.75rem) - 2.5rem))}}
.single-alsakan_plan .plan-overview{padding-top:clamp(16px,2vw,24px)}
/* Single plan: put the header back in normal flow so the tall preview can never scroll underneath an overlay.
   A sticky header still lets later content scroll beneath it, so it cannot satisfy "image never covered"; an
   in-flow header occupies layout space and scrolls with the page, leaving no overlay for the image to pass under. */
body.single-alsakan_plan #alsakan-navbar{position:relative;top:0!important;background:linear-gradient(135deg,var(--ui-navy),var(--ui-navy-2));border-bottom-color:transparent;box-shadow:none}
body.single-alsakan_plan #alsakan-topscrim{display:none}
body.single-alsakan_plan.alsakan-scrolled #alsakan-navbar{background:linear-gradient(135deg,var(--ui-navy),var(--ui-navy-2));-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
body.single-alsakan_plan .page-hero{padding-top:clamp(3rem,4.5vw,4.5rem)}
