/* Layout uses the approved dragon asset; no third-party replacement imagery. */
body.public-mode{background:#080a0b;position:relative;isolation:isolate;padding-bottom:170px}
body.public-mode::before{content:"";position:fixed;inset:0;z-index:-1;background:url('/assets/brand/dragon-frame.webp') center/100% 100% no-repeat;pointer-events:none}
body.public-mode::after{content:"";position:fixed;bottom:0;left:0;right:0;height:clamp(100px,14vw,210px);z-index:-1;pointer-events:none;background:url('/assets/brand/dragon-frame.webp') center bottom/100% auto no-repeat;mask-image:linear-gradient(transparent,#000 35%)}
.public-mode #public-header{max-width:none;padding:clamp(100px,9.4vw,150px) 3% 18px 8%;min-height:0;background:transparent;gap:24px}
.public-mode #public-header .brand{flex-basis:260px;max-width:26%}
.public-mode #public-nav{gap:24px}.public-mode #public-nav a{font-size:14px}
.public-mode main{width:auto;max-width:none;margin:0 6.5%;padding:30px 28px 70px;border-radius:28px;background:linear-gradient(115deg,#fffdf9f7,#fffdf9f2);box-shadow:0 0 36px #ffd87e55;border:1px solid #f5c67477}
.public-mode .public-identity{float:right;width:29%;max-width:360px;padding:10px 8px 20px 25px;display:flex;flex-direction:column;gap:18px;align-items:center;background:radial-gradient(ellipse,#ffca5b33,transparent 70%)}
.public-identity img{width:100%;height:auto;filter:brightness(0)}
.public-mode .public-identity>a{background:#101416;color:#ffdb8b;text-decoration:none;padding:12px 25px;border-radius:11px;font-weight:650}
.public-mode #catalogue{clear:both;margin-top:20px}.public-mode #public-quick{position:relative;z-index:9;margin-left:8%}
.public-mode #public-bottom{z-index:20;left:30px;transform:none;bottom:28px;width:auto;border-radius:40px;padding:13px 20px;gap:25px}
.public-mode #public-bottom a{min-width:65px}.public-mode #filters{margin-top:18px}.public-mode #filters>label:first-child{min-width:150px}
.public-mode #public-catalogue>.public-heading h1{margin:10px 0 15px}.public-mode #public-catalogue>p{font-size:14px;max-width:780px}
.public-mode #public-catalogue>.public-heading{padding-top:6px}.public-mode #freshness-warning{font-size:12px;margin:8px 0}
.public-mode #advanced-filters{padding:5px 0}.public-mode #filters>label{font-size:13px}
.indoor-carousel{position:relative;margin:0;overflow:hidden;touch-action:pan-y}.indoor-carousel>a{display:block}
.public-mode .carousel-arrow{position:absolute;top:42%;width:34px;min-height:34px;height:34px;border-radius:50%;padding:0;background:#101416d9;color:#fff;font-size:27px;border:1px solid #fff8;z-index:2}
.carousel-arrow.prev{left:7px}.carousel-arrow.next{right:7px}.carousel-count{position:absolute;bottom:7px;right:7px;padding:2px 8px;border-radius:12px;color:#fff;background:#101416d9;font-size:12px}
.inquiry-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
#security-panel{border:1px solid #b68732;border-radius:12px;padding:18px;margin:15px 0;background:#fffdf8;overflow-wrap:anywhere}#security-panel form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}#security-panel code{user-select:all;font-size:18px}#security-panel pre{user-select:all;white-space:pre-wrap}
/* CRM gets a restrained edge treatment without taking table width away. */
body:not(.public-mode){background:#111519 url('/assets/brand/dragon-frame.webp') center top/100% auto fixed no-repeat;padding:0 0 25px}
body:not(.public-mode) #legacy-header{background:#101416ed;color:#ffdb89;border-bottom:2px solid #b78b3d}
body:not(.public-mode) main{background:#fffdf9f7;max-width:none;margin:14px 12px;padding:20px;border-radius:16px;box-shadow:0 0 20px #ffac251c}
body:not(.public-mode) .public-identity{display:none}body:not(.public-mode) #legacy-header>a{background:#332a1a;color:#ffdb89}
@media(min-width:1600px){.public-mode main{max-width:none}}
@media(max-width:1150px) and (min-width:801px){.public-mode #public-header{gap:14px;padding-top:10vw}.public-mode #public-nav{gap:12px}.public-mode #public-nav a{font-size:12px}.public-mode .header-phone{font-size:12px;padding:12px}.public-mode #public-copy-phone{display:none}.public-mode #public-header .brand{flex-basis:220px}.public-mode #catalogue{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){
 body.public-mode{padding-bottom:105px}
 body.public-mode::before{background-position:left top;background-size:auto 650px;background-attachment:scroll;position:absolute;height:650px;bottom:auto}
 body.public-mode::after{display:none}
 .public-mode #public-header{padding:65px 16px 10px;min-height:145px;gap:12px}
 .public-mode #public-header .brand{max-width:74%;flex-basis:240px}
 .public-mode #public-nav{top:135px}.public-mode #public-menu-toggle{position:relative;z-index:2}
 .public-mode main{margin:0 9px;padding:16px 12px 24px;border-radius:20px;max-width:none;min-height:50vh;background:#fffdf9fa}
 .public-mode .public-identity{display:none}
 .public-mode #public-catalogue>.public-heading{padding:0}.public-mode .eyebrow{display:none}
 .public-mode #public-catalogue h1{font-size:23px;letter-spacing:-.5px;margin:0 0 9px}
 .public-mode #public-catalogue>p{font-size:12px;line-height:1.4;margin:5px 0 9px}
 .public-mode #filters{gap:7px;margin-top:10px;display:grid;grid-template-columns:1fr 1fr}
 .public-mode #filters>label:first-child{grid-column:1/-1;min-width:0}
 .public-mode #filters>label{font-size:11px;min-width:0}.public-mode #filters input,.public-mode #filters select{min-height:38px;padding:8px;font-size:13px;width:100%}
 .public-mode #filters>button{grid-column:1/-1;min-height:36px;padding:7px;font-size:13px}
 .public-mode #advanced-filters{grid-column:1/-1;font-size:12px;padding:3px 0}.public-mode #freshness-warning{font-size:10px;line-height:1.35}
 .public-mode #catalogue{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
 .public-mode #catalogue .construction-card h3{font-size:13px}.public-mode #public-bottom{left:0;bottom:0;width:100%;border-radius:18px 18px 0 0;transform:none;padding:9px 4px calc(9px + env(safe-area-inset-bottom));gap:0}
 .public-mode #public-bottom a{min-width:0;flex:1}.public-mode #public-quick{margin:14px 5px 20px;padding:0 8px}
 body:not(.public-mode){background:#171b1d}body:not(.public-mode) main{margin:8px 4px;padding:12px 8px}
}
.view-switch{display:flex;gap:9px;margin:14px 0;clear:both}.inventory-map-canvas{width:100%;height:min(62vh,650px);min-height:340px;border-radius:14px;overflow:hidden}.inventory-map-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:15px 0}.map-object{border:1px solid #d8c99f!important;border-radius:12px!important;padding:14px!important;background:#fffdf9!important}.map-object img{max-width:100%;max-height:220px;object-fit:cover}.map-object button,.map-object a{margin:6px 8px 6px 0}#inventory-map fieldset{display:flex;gap:14px;flex-wrap:wrap}#inventory-map fieldset label{display:flex;align-items:center;gap:7px}.map-dot{display:inline-block;width:13px;height:13px;border-radius:50%}#inventory-map input[type=checkbox]{width:18px;min-height:18px}.public-mode #inventory-map .indoor-carousel .carousel-arrow{min-height:34px}
@media(max-width:800px){.inventory-map-canvas{height:52vh;min-height:300px}.inventory-map-details{grid-template-columns:1fr}.view-switch button{flex:1}#inventory-map fieldset{font-size:12px;gap:9px}}

body.public-mode.map-mode::after{display:none}body.public-mode.map-mode #public-bottom{position:relative;bottom:auto;left:auto;transform:none;margin:20px 5%;width:auto}body.public-mode.map-mode{padding-bottom:25px}

.remember-device{display:flex;align-items:center;gap:.65rem}.remember-device input{width:auto;min-height:auto}.remember-device+p{font-size:.9rem}

.leaflet-inventory-marker span{display:block;width:18px;height:18px;border:2px solid white;border-radius:50%;box-shadow:0 1px 4px #0008}
