:root{--cimalpes-ink:#172521;--cimalpes-ivory:#f5f1e8;--cimalpes-forest:#314c43;--cimalpes-gold:#b89452;--cimalpes-clay:#bd4a2a}
#panel{bottom:auto;max-height:calc(100% - 44px);background:rgba(245,241,232,.92);border-radius:4px 22px 22px 4px;box-shadow:0 18px 55px rgba(16,35,30,.18)}
.label-marker{width:auto;min-width:34px;height:auto;min-height:34px;display:grid;grid-template-columns:24px auto;grid-template-rows:auto auto;gap:0 7px;padding:5px 10px 5px 5px;border:1px solid rgba(23,37,33,.2);border-radius:999px;background:rgba(245,241,232,.94);color:var(--cimalpes-ink);white-space:nowrap;transition:transform .25s,opacity .25s,box-shadow .25s}
.label-marker>span{grid-row:1/3;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--cimalpes-forest);color:#fff;font-size:10px}.label-marker strong{align-self:end;font:700 11px/1.1 Inter,system-ui}.label-marker small{align-self:start;font:9px/1.2 Inter,system-ui;color:#61716c}.label-marker:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 8px 20px rgba(16,35,30,.2)}
.label-marker.project{padding:7px 13px 7px 6px;border:1px solid var(--cimalpes-gold);box-shadow:0 0 0 7px rgba(184,148,82,.16),0 10px 26px rgba(16,35,30,.22);animation:propertyPulse 2.8s ease-in-out infinite}.label-marker.project>span{background:var(--cimalpes-clay)}
.maplibregl-marker.label-marker.project{z-index:1000!important;padding:9px 16px 9px 7px;min-height:44px}.label-marker.project strong{font-size:12px}.label-marker.project small{font-size:10px}.label-marker.project>span{width:28px;height:28px}
@keyframes propertyPulse{50%{box-shadow:0 0 0 13px rgba(184,148,82,.05),0 10px 26px rgba(16,35,30,.22)}}
#terrainBadge{background:rgba(23,37,33,.9);color:#ead7ad;letter-spacing:.06em;text-transform:uppercase}
.region-modes{display:flex;gap:6px;margin:16px 0 12px}.region-modes button{flex:1;padding:9px;border:1px solid rgba(23,37,33,.16);border-radius:999px;background:transparent;color:var(--cimalpes-forest)}.region-modes button.active{background:var(--cimalpes-forest);color:var(--cimalpes-ivory)}
.resort-categories{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 12px}.resort-categories button{padding:8px 11px;border:1px solid rgba(23,37,33,.16);border-radius:999px;background:rgba(255,255,255,.55);color:var(--cimalpes-forest);font-size:11px}.resort-categories button.active{background:var(--cimalpes-forest);color:var(--cimalpes-ivory)}
.subcategories{display:flex;gap:7px;margin:-3px 0 12px;padding-left:9px;border-left:2px solid var(--cimalpes-clay)}.subcategories button{padding:6px 10px;border:0;border-radius:999px;background:#ebe6dc;color:var(--cimalpes-forest);font-size:11px}.subcategories button.active{background:var(--cimalpes-clay);color:#fff}.card-icon{display:grid;place-items:center;min-width:27px;height:27px;border-radius:50%;background:var(--cimalpes-forest);color:var(--cimalpes-ivory);font-size:12px}
.construction-card{position:absolute;left:8%;top:14%;width:min(560px,84%);padding:42px;background:rgba(245,241,232,.94);border-radius:24px;box-shadow:0 24px 70px rgba(16,35,30,.24)}.construction-card>span{font-size:10px;letter-spacing:.16em;color:var(--cimalpes-clay);font-weight:800}.construction-card button{margin-top:16px;padding:12px 18px;border:0;border-radius:999px;background:var(--cimalpes-forest);color:#fff}
.card.selected{border-color:var(--cimalpes-clay);box-shadow:0 0 0 2px rgba(189,74,42,.12)}
body[data-season="winter"] .maplibregl-canvas{filter:saturate(.68) brightness(1.08)}body[data-season="summer"] .maplibregl-canvas{filter:saturate(.9) sepia(.035)}
.maplibregl-ctrl-group{border-radius:12px;overflow:hidden}.maplibregl-ctrl-attrib{opacity:.6}
@media(max-width:720px){
header{height:94px;padding:8px 14px;align-items:flex-start}.brand{padding:0}.brand span{width:42px;height:42px}.season{margin-left:auto}nav{bottom:5px;gap:10px}header button{font-size:13px;padding:7px 11px}.shell{inset:94px 0 0}
#panel{position:absolute;top:auto;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:auto;height:var(--sheet-height,30dvh);max-height:none;padding:12px 20px calc(18px + env(safe-area-inset-bottom));border-radius:22px;overflow:auto;transition:height .28s cubic-bezier(.2,.8,.2,1);overscroll-behavior:contain}#panel.dragging{transition:none;user-select:none;overflow:hidden}
#panel[data-sheet="compact"]{height:12dvh;min-height:94px;overflow:hidden}#panel[data-sheet="half"]{height:30dvh;min-height:210px}#panel[data-sheet="full"]{height:88dvh;max-height:calc(100dvh - 104px)}
.sheet-handle{position:sticky;z-index:30;top:0;display:grid;place-items:center;width:calc(100% + 40px);height:38px;margin:-12px -20px 0;border:0;background:linear-gradient(rgba(245,241,232,.99) 72%,transparent);cursor:ns-resize;touch-action:none}.sheet-handle span{width:54px;height:5px;border-radius:99px;background:#71817a;pointer-events:none}.sheet-handle:active span{background:var(--cimalpes-forest)}
#panel .eyebrow{font-size:9px}#panel h1{margin:5px 0 7px;font-size:27px}#panel p{margin:0 0 10px;line-height:1.35;font-size:13px}
.resort-categories,.region-modes{flex-wrap:nowrap;overflow-x:auto;margin:10px -4px;padding:0 4px 5px;scrollbar-width:none}.resort-categories::-webkit-scrollbar,.region-modes::-webkit-scrollbar{display:none}.resort-categories button,.region-modes button{flex:0 0 auto;white-space:nowrap}
#panel[data-sheet="compact"] p,#panel[data-sheet="compact"] .cards,#panel[data-sheet="compact"] .primary,#panel[data-sheet="compact"] .subcategories{display:none}#panel[data-sheet="compact"] h1{font-size:21px;margin:1px 0 6px}#panel[data-sheet="compact"] .resort-categories,#panel[data-sheet="compact"] .region-modes{margin:2px -4px}
.cards{margin:10px 0}.card{padding:10px}.primary{position:sticky;bottom:0;box-shadow:0 -8px 18px rgba(245,241,232,.9)}
.label-marker strong,.label-marker small{display:none}.label-marker{padding:5px}.maplibregl-marker.label-marker.project{padding:7px;min-height:40px}.maplibregl-marker.label-marker.project strong,.maplibregl-marker.label-marker.project small{display:block}
#terrainBadge{top:10px;bottom:auto;padding:6px 9px;font-size:9px}.maplibregl-ctrl-bottom-right{bottom:112px}.maplibregl-ctrl-bottom-left{bottom:112px}#releaseBadge{display:none!important}
}
#panel{z-index:12;pointer-events:auto}.maplibregl-canvas-container{z-index:0}
.maplibregl-marker{z-index:4}
.maplibregl-marker[hidden]{display:none!important}
#panel{z-index:10}
