:root{--bg:#0b0b0c;--card:#16171a;--line:#2a2c31;--tx:#f2f0ea;--mut:#a9a69d;--gold:#e8b04a;--teal:#4fb3a9;--open:#22d074;--rent:#8a6a6a}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--tx);font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
header{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#0b0b0c;z-index:30}
header img{width:auto;height:auto;max-height:92px;object-fit:contain;background:transparent;border:0;padding:0;box-shadow:none}
header h1{font-size:clamp(.86rem,3.7vw,1.05rem);margin:0;line-height:1.15;font-weight:700}header h1 .hdr-brand{display:block;font-weight:800;font-size:1.08em}header h1 .hdr-place{display:block;font-weight:600;font-size:.92em}header h1 .hdr-city{display:block;font-weight:500;font-size:.82em;color:var(--mut)}header small{color:var(--mut);display:block;font-weight:400;font-size:.78em;margin-top:1px}
main{max-width:1100px;margin:0 auto;padding:0 14px 64px}
.hero{margin:0 -14px 0;background:#070b14;overflow:visible}
.hero-frame{position:relative;width:100%;line-height:0;overflow:hidden;background:#070b14}
.hero-photo{width:100%;height:auto;display:block;object-fit:contain;object-position:center center;vertical-align:middle;max-width:100%}
.hero-jet{position:absolute;left:11.5%;top:23.5%;width:5.2%;transform:translate(-50%,-50%);pointer-events:none;z-index:3;animation:jetfly 16s linear infinite}
.hero-jet img{width:100%;height:auto;display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
@keyframes jetfly{
  0%{left:11.5%;top:23.5%;transform:translate(-50%,-50%) scale(.88) rotate(0deg);opacity:0}
  8%{opacity:1}
  50%{left:18.0%;top:23.1%;transform:translate(-50%,-50%) scale(.90) rotate(0deg)}
  82%{left:24.0%;top:22.7%;transform:translate(-50%,-50%) scale(.92) rotate(0deg);opacity:1}
  90%{opacity:1}
  100%{left:27.0%;top:22.45%;transform:translate(-50%,-50%) scale(.93) rotate(0deg);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .hero-jet{animation:none;left:18%;top:23.1%;transform:translate(-50%,-50%) scale(.9) rotate(0deg);opacity:1}
}
.banner{background:linear-gradient(180deg,#2a2110,#1a1608);border:2px solid var(--gold);border-radius:16px;padding:14px 14px 12px;text-align:center;margin:12px 0 14px}
.banner .kicker{color:var(--gold);letter-spacing:.12em;font-size:.75rem;font-weight:700;text-transform:uppercase}
.banner .price{font-size:clamp(1.45rem,6.2vw,2.5rem);font-weight:800;line-height:1.05;margin:2px 0 4px;color:#fff}
.banner .price em{color:var(--gold);font-style:normal}
.banner .deal{font-size:.98rem;color:#f3dca3;margin:0}
.banner .fine{font-size:.78rem;color:var(--mut);margin:6px 0 0}
.asof{background:#141414;border:1px solid var(--line);color:var(--mut);border-radius:10px;padding:10px 12px;font-size:.88rem;margin:0 0 14px}
.asof b{color:var(--tx)}
.sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
.sum div{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px;text-align:center}
.sum b{display:block;font-size:1.6rem;color:var(--gold)}.sum span{font-size:.78rem;color:var(--mut)}
h2{font-size:1.15rem;margin:22px 0 8px;color:var(--gold)}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.chip{border:1px solid var(--line);background:var(--card);color:var(--tx);border-radius:999px;padding:9px 14px;font-size:.92rem;cursor:pointer;min-height:40px}
.chip[aria-pressed=true]{background:var(--gold);color:#111;border-color:var(--gold);font-weight:600}
.mapbox{position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#121314}
.mapview{height:auto;aspect-ratio:1.68/1;max-height:min(72vh,720px);overflow:hidden;touch-action:none;cursor:grab}
.mapview:active{cursor:grabbing}
#mapsvg{display:block;width:100%;height:100%;transform-origin:0 0}
#mapsvg .unit{stroke:#3a3d42;stroke-width:1.2;cursor:pointer}
#mapsvg .unit.rented,#mapsvg .unit.unknown{fill:#5a4a4a;stroke:#6a5a5a}
#mapsvg .unit.open{fill:#1a5a38;stroke:var(--open);stroke-width:3.5}
#mapsvg .unit.electric,#mapsvg .unit.rented.electric,#mapsvg .unit.open.electric{
  fill:#0f4c81;stroke:#f5d76a;stroke-width:4.2
}
#mapsvg .unit:hover,#mapsvg .unit.sel{stroke:var(--gold);stroke-width:3.2}
#mapsvg .unit.electric:hover,#mapsvg .unit.electric.sel{stroke:#ffe58a;stroke-width:4.5}
#mapsvg .unit.dim,#mapsvg .wall.dim,#mapsvg .ulabel.dim{opacity:.18}
#mapsvg .ulabel{fill:#fff;font:700 20px system-ui;paint-order:stroke;stroke:#000;stroke-width:3.5px;pointer-events:none;text-anchor:middle;dominant-baseline:middle}
#mapsvg .blabel{fill:var(--gold);font:800 40px system-ui;paint-order:stroke;stroke:#000;stroke-width:6px;text-anchor:middle}
#mapsvg .bprice{fill:#f3dca3;font:600 26px system-ui;paint-order:stroke;stroke:#000;stroke-width:4px;text-anchor:middle}
#mapsvg .bopen{fill:var(--open);font:700 24px system-ui;paint-order:stroke;stroke:#000;stroke-width:4px;text-anchor:middle}
#mapsvg .mark{fill:var(--gold);font:600 13px system-ui;paint-order:stroke;stroke:#000;stroke-width:3px;text-anchor:middle}
#mapsvg .grass{fill:#1d2a1c}
#mapsvg .pave{fill:#6d675f}
#mapsvg .island{fill:#2a3b28}
#mapsvg .curb{stroke:#8e877d;stroke-width:3.5;fill:none}
#mapsvg .fence{stroke:#d2c7b0;stroke-width:4;stroke-linecap:round}
#mapsvg .fence-post{fill:#efe6d2;stroke:#3a342c;stroke-width:1.4}
#mapsvg .gate-post{fill:#1a1a1a;stroke:#e8b04a;stroke-width:3}
#mapsvg .gate-bar{fill:#2a2a2a;stroke:#e8b04a;stroke-width:3}
#mapsvg .gate-slat{stroke:#e8b04a;stroke-width:2.2}
#mapsvg .ent-shaft{stroke:#e8b04a;stroke-width:10;stroke-linecap:round}
#mapsvg .ent-head{fill:#e8b04a;stroke:#000;stroke-width:2}
#mapsvg .ent-label{fill:var(--gold);font:800 72px system-ui;paint-order:stroke;stroke:#000;stroke-width:9px;text-anchor:middle;dominant-baseline:middle;pointer-events:none}
#mapsvg .gate-label{fill:var(--gold);font:800 60px system-ui;paint-order:stroke;stroke:#000;stroke-width:8px;dominant-baseline:middle;pointer-events:none}
@media (max-width:700px){
  #mapsvg .ent-label{font-size:72px;stroke-width:9px}
  #mapsvg .gate-label{font-size:56px;stroke-width:8px}
  #mapsvg .ulabel{font-size:24px;stroke-width:4.5px}
  #mapsvg .blabel{font-size:36px;stroke-width:6px}
  #mapsvg .bprice{font-size:24px;stroke-width:4.5px}
  #mapsvg .bopen{font-size:22px;stroke-width:4.5px}
}
#mapsvg .wall{stroke:#2a2c31;stroke-width:0.8;cursor:pointer}
#mapsvg .wall-s.open{fill:#0c3320}
#mapsvg .wall-e.open{fill:#154a2e}
#mapsvg .wall-s.rented,#mapsvg .wall-s.unknown{fill:#3a2e2e}
#mapsvg .wall-e.rented,#mapsvg .wall-e.unknown{fill:#4d3d3d}
#mapsvg .wall-s.electric,#mapsvg .wall-s.rented.electric,#mapsvg .wall-s.open.electric{fill:#0a3260}
#mapsvg .wall-e.electric,#mapsvg .wall-e.rented.electric,#mapsvg .wall-e.open.electric{fill:#0d3d73}
#mapsvg .wall:hover{stroke:var(--gold);stroke-width:2}
.legend i.lg-open{background:#1a5a38;border:2px solid #22d074}
.legend i.lg-rent{background:#5a4a4a;border:2px solid #6a5a5a}
.legend i.lg-el{background:#0f4c81;border:2px solid #f5d76a}
.mctl{position:absolute;left:10px;bottom:10px;display:flex;flex-direction:column;gap:6px}
.mctl button{width:44px;height:44px;border:0;border-radius:10px;background:var(--gold);color:#111;font-size:1.4rem;font-weight:800;cursor:pointer}
.legend{display:flex;flex-wrap:wrap;gap:12px;font-size:.82rem;color:var(--mut);margin:8px 2px}
.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px;box-sizing:border-box}
.mapnote{font-size:.88rem;color:var(--mut);margin:4px 2px 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;margin:12px 0;scroll-margin-top:84px}
.card h3{margin:0 0 6px;font-size:1.15rem}
.badges{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;margin:0 0 8px}
.badge{display:inline-block;border-radius:999px;font-size:.78rem;padding:3px 9px;font-weight:600;white-space:normal;max-width:100%;line-height:1.25}
.b-open{background:rgba(34,208,116,.18);color:var(--open)}.b-rent{background:rgba(180,100,100,.2);color:#e8a0a0}
.b-el{background:rgba(232,176,74,.18);color:var(--gold)}.b-sp{background:var(--gold);color:#111}.b-pend{background:#2a2c31;color:var(--mut)}
.pics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0}
.pics button{padding:0;border:0;background:#000;border-radius:10px;overflow:hidden;cursor:pointer;aspect-ratio:4/5;min-height:120px}
.pics.wide button{aspect-ratio:16/10}
.pics img{width:100%;height:100%;object-fit:contain;display:block;background:#000}
dl{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:10px 0;font-size:.92rem}dt{color:var(--mut)}dd{margin:0;overflow-wrap:anywhere}
.flag{color:#f0b46a;font-size:.82rem}
.btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:10px;font-weight:700;text-decoration:none;font-size:1rem;flex:1;min-width:140px;border:0;cursor:pointer;font-family:inherit}
.btn.go{background:var(--gold);color:#111}.btn.alt{border:1px solid var(--teal);color:var(--teal);background:transparent}.btn.off{opacity:.5;border:1px solid var(--line);color:var(--mut)}
.types{display:grid;gap:12px;grid-template-columns:1fr}
@media(min-width:760px){.types{grid-template-columns:1fr 1fr}.sum b{font-size:2rem}.pics{grid-template-columns:repeat(3,1fr)}}
.gal{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}@media(min-width:760px){.gal{grid-template-columns:repeat(4,1fr)}}
.gal button{padding:0;border:0;background:#000;border-radius:10px;overflow:hidden;cursor:pointer;aspect-ratio:16/10}
.gal img{width:100%;height:100%;object-fit:cover;display:block}
.gh{margin:14px 0 6px;color:var(--mut);font-size:.9rem;text-transform:uppercase;letter-spacing:.06em}
#lb{position:fixed;inset:0;background:rgba(0,0,0,.96);display:none;align-items:center;justify-content:center;z-index:80;flex-direction:column;gap:10px}
#lb.on{display:flex}#lb img{max-width:96vw;max-height:82vh;border-radius:8px;object-fit:contain}#lb button{background:var(--gold);border:0;border-radius:10px;padding:12px 22px;font-weight:700;font-size:1rem}
footer{color:var(--mut);font-size:.82rem;padding:18px 14px 22px;border-top:1px solid var(--line);max-width:1100px;margin:0 auto}footer .dc-approved{display:block;margin:16px auto 0;width:80px;height:auto;background:transparent;border:0;padding:0;box-shadow:none}
.iso{position:relative;background:#000;border-radius:12px;overflow:hidden}
.iso img{width:100%;height:auto;display:block}
.doorsign{position:absolute;font-weight:800;font-size:clamp(1rem,4.2vw,1.35rem);background:#111;color:#fff;border:2px solid var(--gold);padding:.15em .45em;border-radius:5px;letter-spacing:.01em;white-space:nowrap;line-height:1.1;box-shadow:0 2px 8px #000a}
.iso[data-size="10x20"] .doorsign{left:70%;top:57%;transform:translate(-50%,-50%)}
.iso[data-size="10x30"] .doorsign,.iso[data-size="10x30-electric"] .doorsign{left:68%;top:64%;transform:translate(-50%,-50%)}
.iso[data-size="14x40"] .doorsign,.iso[data-size="14x40-electric"] .doorsign{left:81%;top:49%;transform:translate(-50%,-50%)}
.compare{display:flex;gap:10px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 0 10px;scroll-snap-type:x mandatory}
.compare .cc{flex:0 0 min(80vw,320px);scroll-snap-align:start;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px;min-width:240px}
.compare .cc h3{margin:8px 0 2px;font-size:1.05rem}
.compare .cc .pr{color:var(--gold);font-weight:800;font-size:1.2rem}
.compare .cc p{margin:4px 0 0;font-size:.85rem;color:var(--mut)}
.howkey ol{margin:8px 0 10px;padding:0 0 0 1.2rem}
.howkey li{margin:0 0 8px}
.howkey .fine{color:var(--mut);font-size:.85rem;margin:0}
.lead label{display:block;margin:0 0 10px;font-size:.9rem;color:var(--mut)}
.lead input,.lead select,.lead textarea{display:block;width:100%;margin-top:4px;background:#111;border:1px solid var(--line);color:var(--tx);border-radius:10px;padding:12px;font:1rem/1.3 system-ui;min-height:46px}
.lead .two{display:grid;gap:8px;grid-template-columns:1fr}@media(min-width:520px){.lead .two{grid-template-columns:1fr 1fr}}
.lead .hp{position:absolute;left:-9999px;height:0;width:0;opacity:0}
.lead .ok{color:var(--open);font-weight:600}
.keyline{margin:10px 0 0;font-size:.92rem;color:var(--mut)}
.movechk{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;padding:10px;border:1px solid var(--line);border-radius:10px;background:#121314}
.movechk input{width:20px;height:20px;margin-top:2px;flex:none}

.share{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.share-label{width:100%;font-size:.82rem;color:var(--mut);margin:0 0 2px}
.share a,.share button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--tx);font:600 .88rem/1 system-ui;text-decoration:none;cursor:pointer;flex:1 1 auto;min-width:92px}
.share a:hover,.share button:hover{border-color:var(--gold);color:var(--gold)}
.share .copied{border-color:var(--open);color:var(--open)}
.gmap{position:relative;width:100%;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#1a1c1e;height:420px;min-height:320px}
@media(min-width:760px){.gmap{height:520px}}
.gmap .leaflet-container{width:100%;height:100%;background:#0e1114;font:12px/1.3 system-ui}
.wxstrip{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;margin:0 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#121416;font-size:.9rem;color:var(--tx)}
.wxstrip .wxk{color:var(--mut);font-size:.78rem;margin-right:6px;text-transform:uppercase;letter-spacing:.03em}
.wxstrip .wxday{color:var(--mut)}
.mapfilters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px;align-items:center}
.mapfilters .share-label{width:auto;margin:0 4px 0 0}
.mapbar{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0;align-items:center}
.mapbar .btn{margin:0;flex:1 1 auto;text-align:center}
.pin{width:22px;height:22px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.55)}
.pin.facility{background:#e8b04a}
.pin.property{background:#4fb3a9}
.pin-wrap{width:28px;height:36px}
.leaflet-popup-content-wrapper{background:#16171a;color:#f2f0ea;border-radius:12px;border:1px solid #2a2c31;box-shadow:0 8px 24px rgba(0,0,0,.45)}
.leaflet-popup-tip{background:#16171a}
.leaflet-popup-content{margin:10px 12px;min-width:200px}
.leaflet-popup-content .pp img{width:100%;height:120px;object-fit:cover;border-radius:8px;display:block;margin:0 0 8px}
.leaflet-popup-content .pp b{display:block;font-size:1rem;margin:0 0 2px}
.leaflet-popup-content .pp .addr,.leaflet-popup-content .pp .note{margin:0 0 6px;color:#a9a69d;font-size:.85rem}
.leaflet-popup-content .pp .pbtns{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.leaflet-popup-content .pp a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 12px;border-radius:10px;font:600 .85rem/1 system-ui;text-decoration:none}
.leaflet-popup-content .pp a.go{background:#e8b04a;color:#111}
.leaflet-popup-content .pp a.ghost{border:1px solid #2a2c31;color:#f2f0ea}
.leaflet-control-attribution{font-size:9px;background:rgba(0,0,0,.55);color:#bbb}
.leaflet-control-attribution a{color:#ddd}
.you-dot{width:16px;height:16px;background:#3b82f6;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 6px rgba(59,130,246,.28)}

header h1{flex:1;min-width:0}
.langswitch{margin-left:auto;display:inline-flex;flex:none;border:1px solid var(--line);border-radius:999px;overflow:hidden;align-self:center}
.langswitch button{appearance:none;border:0;background:transparent;color:var(--mut);font:700 .72rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;padding:0 10px;min-height:40px;cursor:pointer;letter-spacing:.02em}
.langswitch button[aria-pressed="true"]{background:var(--gold);color:#111}
.faq details{border-top:1px solid var(--line);padding:8px 0}
.faq details:first-of-type{border-top:0}
.faq summary{cursor:pointer;font-weight:700;list-style:none;padding:8px 0;color:var(--tx)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::marker{content:''}
.faq summary::after{content:'+';float:right;color:var(--gold);font-weight:800}
.faq details[open] summary::after{content:'–'}
.faq details p{margin:0 0 8px;color:var(--mut)}
.faq a{color:var(--gold)}
#howkey,#faq,#movehelp,#compare-sizes{scroll-margin-top:88px}

.parkbar{background:#16120a;border-bottom:1px solid var(--gold);padding:8px 16px;text-align:center}
.parkbar a{color:var(--gold);font-weight:800;text-decoration:none;font-size:.95rem;display:inline-block;line-height:1.35;padding:8px 4px}
.parkbar a:hover,.parkbar a:focus{text-decoration:underline}
.foot-park{display:block;margin:0 0 12px;color:var(--gold);font-weight:800;text-decoration:none;line-height:1.35}
.foot-park:hover,.foot-park:focus{text-decoration:underline}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.gate{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.72);display:flex;align-items:flex-start;justify-content:center;padding:24px 14px;overflow:auto}
.gate[hidden]{display:none}
.gate .lead{width:min(520px,100%);margin:48px auto 24px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px}
.gate h2{margin:0 0 8px;font-size:1.15rem;color:var(--gold)}
.gate p.lead-copy{color:var(--mut);margin:0 0 14px}
#doorFx{position:fixed;inset:0;z-index:120;pointer-events:none;opacity:0;visibility:hidden}
#doorFx.show{opacity:1;visibility:visible;pointer-events:auto}
#doorFx .door-panel{position:absolute;inset:0;background:repeating-linear-gradient(#1a1712 0 18px,#0f0d0a 18px 20px);border-bottom:3px solid var(--gold);box-shadow:inset 0 -8px 0 rgba(201,162,74,.35);transform:translateY(0);transform-origin:top center}
#doorFx.show.open .door-panel{transform:translateY(-101%);transition:transform .7s cubic-bezier(.7,0,.2,1)}
@media(prefers-reduced-motion:reduce){
  #doorFx.show.open .door-panel{transition:none;transform:translateY(-101%)}
}



/* Dedicated facility map page — unit layout is the star */
body.facility-page{height:100dvh;min-height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body.facility-page header{padding:8px 12px}
body.facility-page .parkbar{padding:4px 12px}
body.facility-page .parkbar a{padding:4px 4px;font-size:.88rem}
body.facility-page footer{display:none}
body.facility-page main.facility-main{flex:1 1 auto;display:flex;flex-direction:column;max-width:none;width:100%;padding:6px 10px 8px;min-height:0}
body.facility-page .facility-toolbar{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 6px}
body.facility-page .facility-title{margin:0;font-size:clamp(1.05rem,2.4vw,1.45rem);color:var(--gold);font-weight:800;line-height:1.2}
body.facility-page .facility-back{color:var(--gold);font-weight:700;text-decoration:none;font-size:.9rem;margin-left:auto}
body.facility-page .facility-back:hover{text-decoration:underline}
body.facility-page .facility-toolbar .filters{margin:0;flex:1 1 100%}
body.facility-page .mapbox{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;border-radius:12px}
body.facility-page .mapview{flex:1 1 auto;width:100%;height:100%;aspect-ratio:auto;max-height:none;min-height:0}
body.facility-page .map-meta{flex:0 0 auto}
body.facility-page #detail{margin-top:8px}
@media(max-width:899px){
  body.facility-page #detail.has-unit{position:fixed;left:0;right:0;bottom:0;z-index:25;max-height:46dvh;overflow:auto;margin:0;border-radius:16px 16px 0 0;border:1px solid var(--line);box-shadow:0 -8px 28px rgba(0,0,0,.45)}
  body.facility-page #detail:not(.has-unit){display:none}
}
@media(min-width:900px){
  body.facility-page main.facility-main{padding:8px 14px 10px}
  body.facility-page #detail:not(.has-unit){display:none}
  body.facility-page #detail.has-unit{position:fixed;top:auto;right:14px;bottom:14px;width:min(380px,34vw);max-height:calc(100dvh - 160px);overflow:auto;margin:0;z-index:25;box-shadow:0 8px 28px rgba(0,0,0,.45)}
}

/* Main-page CTA to the facility map */
.map-cta{display:block;margin:14px 0;padding:18px 16px;text-align:center;background:#16120a;border:2px solid var(--gold);border-radius:16px;color:var(--gold);text-decoration:none}
.map-cta:hover,.map-cta:focus{background:#1e180c}
.map-cta strong{display:block;font-size:clamp(1.15rem,3.4vw,1.7rem);font-weight:800;line-height:1.2}
.map-cta span{display:block;margin-top:4px;color:#f3dca3;font-weight:600;font-size:.95rem}

.hdr-logo-link{display:flex;flex-shrink:0;line-height:0;background:transparent}
.hdr-logo-link img{width:auto;height:80px;max-width:80px;object-fit:contain;background:transparent;border:0;padding:0;box-shadow:none}

.home-facility{padding:14px}
.home-facility-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px}
.home-facility-head a{color:var(--gold);font-weight:700;text-decoration:none;margin-left:auto}
.home-facility-head a:hover{text-decoration:underline}
.home-facility .mapview{aspect-ratio:1.68/1;max-height:min(75vh,900px);height:auto}
@media (max-width:699px){
  .home-facility .mapview{aspect-ratio:auto;height:min(70vh,620px);min-height:420px;max-height:min(70vh,620px)}
}
@media (min-width:900px){
  .home-facility .mapview{max-height:min(75vh,820px)}
}
.wait-count{margin:8px 0 0;color:var(--gold);font-weight:700}
#waitSizeSel option[value="14x40"],#waitSizeSel option[value="14x40-electric"]{font-weight:700}
.gate select{display:block;width:100%;margin-top:4px;background:#111;border:1px solid var(--line);color:var(--text,#f2f0ea);border-radius:10px;padding:12px;font:1rem/1.3 system-ui;min-height:46px}
#mapsvg .north text{fill:var(--gold);font:700 28px system-ui;paint-order:stroke;stroke:#000;stroke-width:3.5px}

/* Waterloo / Cedar Crossing preview */
header img{width:auto;height:52px;max-width:148px;object-fit:contain;background:transparent;border:0;box-shadow:none;padding:0}
#mapsvg .unit.waitlist{fill:#5a4a1c;stroke:#e8b04a;stroke-width:2.6}
#mapsvg .unit.parking{fill:#1c3d4a;stroke:#4fb3a9;stroke-width:3}
#mapsvg .unit.mapped{fill:#3a3d42;stroke:#6a6d72}
#mapsvg .wall-s.waitlist{fill:#3a3010}
#mapsvg .wall-e.waitlist{fill:#4a4018}
#mapsvg .wall-s.mapped{fill:#2a2c31}
#mapsvg .wall-e.mapped{fill:#3a3d42}
#mapsvg .plabel{fill:#d9f3ef;font:800 80px system-ui;paint-order:stroke;stroke:#000;stroke-width:8px;text-anchor:middle;dominant-baseline:middle;pointer-events:none}
#mapsvg .office-bldg{fill:#c8c3b8;stroke:#2a2a2a;stroke-width:2}
#mapsvg .office-label{fill:#f2f0ea;font:700 22px system-ui;paint-order:stroke;stroke:#000;stroke-width:4px;text-anchor:middle;dominant-baseline:middle;pointer-events:none}
.legend i.lg-wait{background:#5a4a1c;border:2px solid #e8b04a}
.legend i.lg-park{background:#1c3d4a;border:2px solid #4fb3a9}
.preview-flag{background:#2a2110;border-bottom:1px solid var(--gold);color:#f3dca3;text-align:center;padding:8px 14px;font-size:.9rem;font-weight:600}
body.facility-page .mapview{aspect-ratio:0.52/1;max-height:min(78vh,860px)}
.home-facility .mapview{aspect-ratio:0.52/1;max-height:min(78vh,860px)}
.pnin{height:60vh;max-height:640px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;background:#070b14;border-bottom:1px solid var(--line)}
.pnin img{height:100%;width:auto;max-width:none!important;display:block}
@media (min-width:900px){
  .pnin{height:min(62vh,680px)}
}
.layout-note{font-size:.88rem;color:var(--mut);margin:8px 0 0}
@media (min-width:900px){
  .pnin{height:auto;max-height:none;overflow:hidden}
  .pnin img{width:100%!important;height:auto!important;max-width:100%!important}
}

/* Phone map: tall box, whole facility visible on load */
@media (max-width:899px){
  body.facility-page{
    height:auto !important;
    min-height:100dvh;
    overflow:auto !important;
    overflow-x:hidden !important;
    display:flex;
    flex-direction:column;
  }
  body.facility-page main.facility-main{
    flex:0 0 auto;
    min-height:0;
    overflow:visible;
  }
  body.facility-page .mapbox{
    flex:none;
    height:65vh;
    min-height:65vh;
    max-height:70vh;
  }
  body.facility-page .mapview{
    flex:none !important;
    width:100%;
    height:100% !important;
    min-height:0;
    aspect-ratio:auto !important;
    max-height:none !important;
  }
  .home-facility .mapview{
    aspect-ratio:auto !important;
    height:65vh !important;
    min-height:65vh;
    max-height:70vh !important;
  }
}
