.home-dashboard{margin:27px 0 34px}.dashboard-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-bottom:19px}.dashboard-stat{min-width:0;display:flex;align-items:center;gap:17px;padding:22px 24px;background:linear-gradient(145deg,#fff,#fff8f9);border:1px solid #f0dce2;border-top:3px solid #e92849;border-radius:18px;box-shadow:0 8px 24px #7e17320d}.dashboard-stat-icon{flex:0 0 50px;width:50px;height:50px;display:grid;place-items:center;border-radius:13px;background:#ffe5eb;color:#bd1937}.dashboard-stat-icon svg,.dashboard-map-heading svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dashboard-stat h2{font-size:14px;font-weight:700;color:#78636f;margin:0 0 6px}.dashboard-stat strong{display:block;font-size:clamp(27px,3vw,38px);line-height:1.05;color:#a71734;letter-spacing:-1px}.dashboard-map-panel{overflow:hidden;background:#fff;border:1px solid #f0dce2;border-top:3px solid #e92849;border-radius:19px;box-shadow:0 8px 24px #7e17320d}.dashboard-map-heading{padding:20px 23px 15px}.dashboard-map-heading h2{display:flex;align-items:center;gap:8px;margin:0;font-size:20px;color:#a91432}.dashboard-map-heading svg{width:19px;height:19px}.dashboard-map-heading p{font-size:14px;color:#756773;margin:7px 0 0}.dashboard-map{height:390px;background:#e5eef0;z-index:0}.dashboard-map-fallback{display:grid;place-items:center;text-align:center;height:100%;padding:24px;color:#76636d}.dashboard-district-legend{display:flex;flex-wrap:wrap;gap:7px 13px;align-items:center;padding:11px 19px 0;color:#795b65;font-size:12px}.dashboard-district-legend:empty{display:none}.dashboard-district-item{display:inline-flex;gap:6px;align-items:center}.dashboard-district-item i{width:12px;height:12px;border-radius:3px;border:1px solid #0002;display:inline-block}.dashboard-district-item strong{color:#a71734}.dashboard-units{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px 19px}.dashboard-unit{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 11px;border:1px solid #f2dce2;border-radius:10px;background:#fff9fa;color:#6c3445;text-align:left;font-family:inherit;font-size:12px;font-weight:600;line-height:1.35;cursor:pointer}.dashboard-unit:hover,.dashboard-unit.selected{border-color:#db3151;background:#fff0f3}.dashboard-unit strong{font-size:13px;color:#bd1d3a}.dashboard-unit-detail{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:0 19px 10px;padding:12px 15px;background:#fff0f3;border-radius:11px;color:#793447;font-size:14px}.dashboard-unit-detail strong{color:#a91432}.dashboard-map-note{font-size:12px;color:#846f79;margin:0;padding:0 20px 17px}.dashboard-map-note a{text-decoration:underline;text-underline-offset:2px}.dashboard-popup{display:grid;gap:5px;min-width:200px;font-size:13px;color:#5b3541}.dashboard-popup strong{font-size:14px;color:#ae1736}.dashboard-map .leaflet-popup-content{margin:12px 15px}.dashboard-map .leaflet-container{font:inherit}@media(max-width:1250px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stat{padding:18px;gap:10px}.dashboard-unit{font-size:11px}.dashboard-units{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.home-dashboard{margin:22px 0 29px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-stat{padding:16px 18px}.dashboard-stat strong{font-size:30px}.dashboard-map-heading{padding:17px}.dashboard-map-heading h2{font-size:17px;line-height:1.35}.dashboard-map{height:330px}.dashboard-units{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:7px}.dashboard-unit{font-size:12px}.dashboard-unit-detail{margin:0 12px 10px;font-size:13px}.dashboard-map-note{padding:0 13px 15px}}
@media(max-width:440px){.dashboard-stat{gap:10px;padding:13px}.dashboard-stat-icon{flex-basis:39px;width:39px;height:39px}.dashboard-stat-icon svg{width:21px;height:21px}.dashboard-stat h2{font-size:12px}.dashboard-stat strong{font-size:27px}}
.dashboard-person-icon{background:transparent;border:0}.dashboard-person-marker{width:24px;height:24px;display:grid;place-items:center;border:1.5px solid #79152b;border-radius:50%;background:#a91d38;box-shadow:0 1.5px 0 #641124,0 2px 7px #5c182155}.dashboard-person-marker svg{width:16px;height:16px;display:block;fill:none;stroke:#ffda71;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:none}.dashboard-person-icon:hover .dashboard-person-marker,.dashboard-person-icon:focus .dashboard-person-marker{background:#c32543;box-shadow:0 1.5px 0 #641124,0 3px 9px #5c182188}
.dashboard-map .leaflet-overlay-pane svg{width:auto;height:auto;stroke:none;fill:initial}
.dashboard-map-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.dashboard-map-heading .btn{flex-shrink:0}.dashboard-point-form{padding:18px 20px;background:#fff8f9;border-bottom:1px solid #f0dce2}.dashboard-point-form[hidden]{display:none}.dashboard-point-form h3{font-size:16px;color:#a91432;margin:0 0 4px}.dashboard-point-form p{font-size:13px;color:#756773;margin:0 0 12px}.dashboard-point-fields{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.dashboard-point-fields label{font-size:12px;font-weight:700;color:#6c3445;flex:1 1 190px}.dashboard-point-fields select,.dashboard-point-fields input{margin-top:5px;width:100%;min-height:42px}.dashboard-point-fields .btn{min-height:42px}.dashboard-point-form .form-message{margin:9px 0 0;min-height:1.3em}.dashboard-map:has(+ .dashboard-point-form:not([hidden])) .leaflet-container{cursor:crosshair}@media(max-width:760px){.dashboard-map-heading{align-items:flex-start;flex-direction:column}.dashboard-map-heading .btn{width:100%}}
.dashboard-map-heading button[hidden]{display:none}
@media(min-width:1024px){.dashboard-units{grid-template-columns:repeat(12,minmax(104px,1fr));gap:4px;padding:12px;overflow-x:auto}.dashboard-unit{min-height:38px;gap:2px;padding:6px 5px;font-size:10px;white-space:nowrap}.dashboard-unit strong{font-size:11px}}
.dashboard-unit{background:linear-gradient(145deg,#fff,#fff2f5 55%,#fbdce4);border-color:#df8da0;color:#84243a;box-shadow:inset 0 1px 0 #fff,0 3px 0 #b9536b,0 5px 12px #bf31504a,0 0 8px #e9284933;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.dashboard-unit strong{color:#ad1735;text-shadow:0 0 8px #e9284966}
.dashboard-unit:hover,.dashboard-unit:focus-visible,.dashboard-unit.selected{background:linear-gradient(145deg,#fff5f7,#ffd2dc);border-color:#d83253;transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,0 5px 0 #9c2943,0 9px 17px #a9193b5c,0 0 15px #e9284980}
.dashboard-unit:focus-visible{outline:2px solid #9c2943;outline-offset:3px}
.dashboard-unit:active{transform:translateY(2px);box-shadow:inset 0 2px 4px #8d20333b,0 1px 0 #9c2943,0 0 9px #e9284966}
@media(prefers-reduced-motion:reduce){.dashboard-unit{transition:none}}
.dashboard-unit[style*="--unit-color"]{background:linear-gradient(145deg,#fff 0%,color-mix(in srgb,var(--unit-color) 32%,white) 55%,color-mix(in srgb,var(--unit-color) 62%,white));border-color:var(--unit-color);box-shadow:inset 0 1px 0 #fff,0 3px 0 var(--unit-color),0 5px 12px color-mix(in srgb,var(--unit-color) 35%,transparent);color:#20202a}
.dashboard-unit[style*="--unit-color"] strong{color:#20202a;text-shadow:none}
.dashboard-unit[style*="--unit-color"]:hover,.dashboard-unit[style*="--unit-color"]:focus-visible,.dashboard-unit[style*="--unit-color"].selected{background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--unit-color) 46%,white));border-color:var(--unit-color);box-shadow:inset 0 1px 0 #fff,0 5px 0 var(--unit-color),0 9px 17px color-mix(in srgb,var(--unit-color) 40%,transparent)}
.dashboard-stat{background:linear-gradient(150deg,#fff,#fff7f9 65%,#ffeef2);border-color:#e8bcc7;box-shadow:inset 0 1px 0 #fff,0 3px 0 #cc8192,0 8px 22px #ba315047,0 0 14px #e9284940;transition:transform .18s ease,box-shadow .18s ease}
.dashboard-stat-icon{box-shadow:0 0 12px #e9284959,inset 0 1px 0 #fff9}
.dashboard-stat:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,0 5px 0 #b3546b,0 11px 26px #a91f405c,0 0 19px #e928496e}
@media(prefers-reduced-motion:reduce){.dashboard-stat{transition:none}.dashboard-stat:hover{transform:none}}

.dashboard-stat small{display:block;font-size:12px;color:#737782;margin-top:4px}@media(min-width:1251px){.dashboard-stat{padding:18px;gap:10px;align-items:flex-start;flex-direction:column}}@media(max-width:360px){.dashboard-stats{grid-template-columns:1fr}}
