.amb{color:var(--amber)}
/* hero */
.phero{position:relative;min-height:520px;background:#222 center/cover no-repeat;display:flex;align-items:flex-end;color:#fff}
.phero::before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(10,10,10,.8),rgba(10,10,10,.35))}
.phero-in{position:relative;padding:0 5vw 48px;width:100%}
.back{display:inline-block;color:#fff;opacity:.9;margin-bottom:34px}
.back:hover{opacity:1}
.meta-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.tag-o{border:1px solid #f59a0c;color:#f59a0c;border-radius:999px;padding:4px 14px;font-size:14.9px}
.yr{color:#f59a0c}
.phero h1{font-size:clamp(40px,7vw,88px);line-height:1;letter-spacing:-2px;font-weight:700;margin-bottom:26px}
.facts{display:flex;gap:26px;flex-wrap:wrap;font-size:18.4px}
.facts span{display:flex;align-items:center;gap:8px}
.facts svg{color:#f59a0c}

/* tabs */
.pmain{padding:40px 5vw 80px}
.tabs{display:inline-flex;flex-wrap:wrap;gap:4px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;margin-bottom:36px}
.tabs button{font:inherit;font-size:17.2px;background:none;border:0;padding:10px 18px;border-radius:10px;color:var(--muted);cursor:pointer}
.tabs button.on{background:#f1efe8;color:var(--ink);font-weight:500}
.panel{display:none}.panel.on{display:block}
.panel h2{margin:4px 0 14px}

/* overview */
.ov-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.ov-img{width:100%;border-radius:18px;border:1px solid var(--line)}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:26px}
.stats div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.stats b{display:block;font-size:24px}
.stats span{font-size:14.9px;color:var(--muted)}
@media(max-width:860px){.ov-grid{grid-template-columns:1fr}}

/* gallery */
.gal{columns:3 280px;column-gap:18px}
.gal figure{break-inside:avoid;margin-bottom:18px;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--line);cursor:zoom-in}
.gal img{width:100%;display:block;transition:transform .3s}
.gal figure:hover img{transform:scale(1.03)}
.gal figcaption{padding:10px 14px;font-size:14.9px;color:var(--muted)}

/* filters */
.filterbar{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.fg{display:flex;align-items:center;gap:10px}
.fg label{font-family:'JetBrains Mono',monospace;font-size:12.6px;letter-spacing:2px;color:var(--muted)}
.pills{display:flex;gap:6px;flex-wrap:wrap}
.pills .p{font:inherit;font-size:14.9px;padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.pills .p:hover{border-color:#bbb}
.pills .p.on{background:#111;border-color:#111;color:#fff}
.pills .p.accent.on{background:var(--orange);border-color:var(--orange);color:#111;font-weight:600}
.pills i{width:9px;height:9px;border-radius:50%;display:inline-block}
.pills em{font-style:normal;opacity:.65}
.count{margin-left:auto;font-size:14.9px;color:var(--muted)}
.hint{color:var(--muted);font-size:14.9px;margin-top:14px}

/* plan */
.planwrap{position:relative;max-width:860px;margin:0 auto}
.plan{position:relative;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#eef0e6}
.plan img{display:block;width:100%;height:auto}
.plan svg{position:absolute;inset:0;width:100%;height:100%}
.hs{cursor:pointer}
.hs rect{fill-opacity:.3;stroke-width:5;stroke-opacity:.9;transition:fill-opacity .15s}
.hs:hover rect{fill-opacity:.55}
.hs text{font:700 54px 'Space Grotesk',sans-serif;fill:#111;paint-order:stroke;stroke:#fff;stroke-width:8;stroke-linejoin:round;pointer-events:none}
.hs.dim{opacity:.12;pointer-events:none;cursor:default}
.tip{position:absolute;z-index:5;width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;box-shadow:0 10px 30px rgba(0,0,0,.15);pointer-events:none;font-size:14.9px}
.tip-h{display:flex;justify-content:space-between;margin-bottom:8px;font-size:17.2px}
.tip-h span{display:flex;align-items:center;gap:6px;font-size:13.8px}
.tip-h i{width:8px;height:8px;border-radius:50%}
.tip-r{display:flex;justify-content:space-between;padding:2px 0}.tip-r span{color:var(--muted)}

/* inventory */
.tablewrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:14px}
.inv{width:100%;border-collapse:collapse;font-size:16.1px;min-width:640px}
.inv th{text-align:left;font-family:'JetBrains Mono',monospace;font-size:12.6px;letter-spacing:1.5px;color:var(--muted);padding:14px 16px;border-bottom:1px solid var(--line);font-weight:500;text-transform:uppercase}
.inv td{padding:12px 16px;border-bottom:1px solid #f0eee8}
.inv tbody tr{cursor:pointer}.inv tbody tr:hover{background:#faf8f3}

/* status pill */
.st-pill{display:inline-block;--c:#10b981;font-size:13.8px;padding:4px 12px;border-radius:999px;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff);border:1px solid color-mix(in srgb,var(--c) 35%,#fff)}
.st-pill.sm{font-size:12.6px;padding:2px 10px}

/* viewer */
.viewer{position:relative;overflow:hidden;background:#eef0e6;border:1px solid var(--line);border-radius:14px;touch-action:none;cursor:grab;user-select:none}
.viewer.grab{cursor:grabbing}
.viewer.big{height:78vh;min-height:420px;max-width:980px}
.viewer.small{height:250px}
.viewer.full{width:min(1400px,96vw);height:92vh;background:#8a8579;border-color:#555}
.vstage{position:absolute;left:0;top:0;transform-origin:0 0}
.vstage img{display:block;width:100%;height:100%;pointer-events:none}
.bay-hl{position:absolute;border:4px solid #f5b83d;background:rgba(255,196,120,.5);border-radius:4px;box-shadow:0 0 0 5px rgba(245,184,61,.3);animation:pulse 1.8s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 14px rgba(245,184,61,0)}}
.vlabel{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.92);border-radius:999px;padding:5px 14px;font:500 13.8px 'JetBrains Mono',monospace;color:#333;pointer-events:none}
.vhint{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);background:rgba(255,255,255,.85);border-radius:999px;padding:4px 14px;font-size:12.6px;color:#555;pointer-events:none;white-space:nowrap}
@media(max-width:560px){.vhint{white-space:normal;width:80%;text-align:center}}
.vctl{position:absolute;right:10px;bottom:10px;display:flex;flex-direction:column;gap:8px}
.vctl button,.vfull{font:inherit;border:0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.2);cursor:pointer}
.vctl button{width:36px;height:36px;border-radius:50%;font-size:19.5px}
.vfull{position:absolute;top:10px;right:10px;border-radius:999px;padding:6px 14px;font-size:13.8px;display:inline-flex;align-items:center;gap:6px}
.vctl button{display:flex;align-items:center;justify-content:center;padding:0}

/* modal */
.modal,.lightbox{position:fixed;inset:0;z-index:100;background:rgba(15,15,15,.55);display:flex;align-items:center;justify-content:center;padding:3vh 3vw}
.modal[hidden],.lightbox[hidden]{display:none}
.lightbox{background:rgba(10,10,10,.85)}
.modal-box{position:relative;background:var(--bg);border-radius:18px;width:min(1000px,100%);max-height:94vh;overflow-y:auto;display:grid;grid-template-columns:1.1fr 1fr;gap:26px;padding:26px}
.x{position:absolute;top:14px;right:16px;z-index:3;border:0;background:none;font-size:18px;cursor:pointer;color:#333}
.x.light{color:#fff;top:18px;right:24px;font-size:24px}
.m-img{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;min-height:200px}
.m-img img{width:100%;display:block;border-radius:8px}
.m-tag{position:absolute;top:12px;left:12px;z-index:1;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 12px;font-size:13.8px;color:var(--muted)}
.m-thumbs{display:flex;gap:10px;margin-top:12px}
.m-thumbs button{width:84px;height:62px;border:2px solid transparent;border-radius:8px;padding:0;background:#fff;overflow:hidden;cursor:pointer}
.m-thumbs button.on{border-color:var(--orange)}
.m-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.m-right h3{font-size:34px;margin:10px 0 4px}
.m-sub{color:#333;margin-bottom:18px}
.m-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}
.m-grid div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 14px}
.m-grid span{display:block;font-size:11.5px;letter-spacing:1.5px;color:var(--muted);margin-bottom:3px}
.m-grid b{font-weight:500;font-size:18.4px}
.m-park-h{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.m-park-h .mono{font-size:13.8px;color:var(--muted)}
.m-desc{margin:18px 0 22px;color:#444}
.m-right h4{margin-bottom:10px}
.specs{list-style:none;display:grid;gap:8px;margin-bottom:22px}
.specs li::before{content:"✓";color:var(--green);margin-right:10px}
.btn-pdf{display:inline-block;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 20px;font-size:16.1px}
.btn-pdf:hover{border-color:var(--orange)}
.lb-img{max-width:94vw;max-height:90vh;border-radius:10px}
@media(max-width:820px){.modal-box{grid-template-columns:1fr}.count{margin-left:0}}

/* inventory (v2) */
.filterbar.plain{border-bottom:0;padding-bottom:0;margin-bottom:22px}
.sel{font:inherit;font-size:16.1px;padding:10px 38px 10px 16px;border-radius:12px;border:1px solid var(--line);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.500'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;appearance:none;-webkit-appearance:none;color:var(--ink);cursor:pointer}
.sel:hover{border-color:#bbb}
.tablewrap{border-radius:18px}
.inv thead th{background:#f4f1e9;padding:18px 20px}
.inv td{padding:16px 20px;border-bottom:1px solid #f0eee8}
.inv tbody tr:last-child td{border-bottom:0}
.unit{font-family:'JetBrains Mono',monospace;font-weight:600;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
.pdfcell{text-align:right}
.pdf-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 14px;font-size:14.9px}
.pdf-btn:hover{border-color:var(--orange)}

/* parking tab (v2) */
.parkbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin-bottom:18px}
.pk-title{display:flex;align-items:center;gap:10px;font-weight:600;font-size:17.2px}
.pk-title svg{color:var(--amber)}
.legend{display:flex;flex-wrap:wrap;gap:16px;font-size:14.9px;color:var(--muted)}
.legend span{display:inline-flex;align-items:center;gap:7px}
.legend i{width:10px;height:10px;border-radius:50%;display:inline-block}
.legend em{font-style:normal;opacity:.7}
.find{margin-left:auto;display:flex;gap:8px}
.find-in{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 14px;color:var(--muted)}
.find-in input{font:inherit;font-size:16.1px;border:0;outline:0;background:none;padding:10px 0;width:190px;color:var(--ink)}
.find-btn{font:inherit;font-size:16.1px;font-weight:500;background:#111;color:#fff;border:0;border-radius:12px;padding:0 20px;cursor:pointer}
.find-btn:hover{background:#333}
.viewer.parkview{height:80vh;min-height:460px;background:#f1eee6;border-radius:18px}
.hsb{position:absolute;background:color-mix(in srgb,var(--c) 38%,transparent);border:2px solid color-mix(in srgb,var(--c) 85%,transparent);border-radius:3px;cursor:pointer}
.hsb:hover{background:color-mix(in srgb,var(--c) 62%,transparent)}
.vtip{position:absolute;z-index:6;width:190px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 14px;box-shadow:0 10px 30px rgba(0,0,0,.15);pointer-events:none;font-size:14.9px;line-height:1.5}
.vtip b{font-size:16.1px}
.vt-s{display:flex;align-items:center;gap:7px}
.vt-s i{width:8px;height:8px;border-radius:50%;display:inline-block}
@media(max-width:760px){.find{margin-left:0;width:100%}.find-in{flex:1}.find-in input{width:100%}}

/* global hidden fix + master-sheet additions */
[hidden]{display:none!important}
.btn-wa{display:inline-block;background:#25d366;color:#07351a;border-radius:999px;padding:9px 20px;font-size:16.1px;font-weight:600;margin-right:10px}
.btn-wa:hover{background:#1fbd5a}
.amen{margin-top:48px}
.amen ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.amen li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 18px;font-size:16.1px}
.amen li::before{content:"✓";color:var(--green);margin-right:8px}
/* SCB Patia: unit outlines on the floor plan */
.hs polygon{fill:var(--c);fill-opacity:.3;stroke:var(--c);stroke-opacity:.95;stroke-width:5;stroke-linejoin:round;transition:fill-opacity .15s}
.hs:hover polygon{fill-opacity:.55}
.hs text{font-size:46px}
.fg.lvl{margin:0 0 14px}
/* location links */
.loc-link{color:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:4px}
.loc-link::after{content:" ↗";font-size:.85em;opacity:.8}
.loc-link:hover{text-decoration-color:#f59a0c;color:#f5b83d}
.ov-loc{margin-top:48px}
.ov-loc .lead{margin-bottom:14px}

/* nearby places (Overview) */
.near-eyebrow{margin-top:44px}
.near{list-style:none;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.near li{display:flex;justify-content:space-between;gap:14px;padding:13px 20px;border-bottom:1px solid #f0eee8;font-size:17.2px}
.near b{font-weight:500;color:var(--amber);font-family:'JetBrains Mono',monospace;font-size:14.9px;white-space:nowrap}
.near-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-top:6px}
.near-grid li:last-child{border-bottom:1px solid #f0eee8}
.near-note{margin-top:12px;font-size:14px;color:var(--muted)}
