.map-main{padding:0!important}.map-filters{display:flex;align-items:center;gap:12px;padding:12px 30px;background:#fff;border-top:1px solid #f1f4f6;border-bottom:1px solid #e3e9ec}.map-filters .toolbar{padding:0;flex:1;min-width:150px}.map-filters .search{width:100%}.map-filters select{padding:9px 10px;font-size:10px;border:1px solid #e1e7eb;background:#fdfefe;border-radius:6px;color:#526b79;max-width:220px}.map-refresh{display:flex;gap:6px;align-items:center;font-size:10px;color:#8c9ca5;white-space:nowrap}.map-refresh .icon{width:13px;height:13px}.map-workspace{display:grid;grid-template-columns:minmax(0,1fr);height:calc(100dvh - 138px);min-height:510px}.map-stage{position:relative;background:#c9e1e8;min-width:0;isolation:isolate}#operation-map{height:100%;width:100%;background:#c8e1e6}.leaflet-container{font-family:"Segoe UI",Arial,sans-serif}.map-summary{position:absolute;z-index:500;left:18px;right:18px;top:18px;display:flex;background:#fff;border:1px solid #e3e9e9;border-radius:11px;box-shadow:0 5px 22px #243e4c13;overflow:hidden}.map-summary-item{display:flex;gap:10px;align-items:center;flex:1;min-width:0;padding:13px 12px;border:0;border-right:1px solid #edf0f2;background:#fff;text-align:left;color:#06a778}.map-summary-item:last-child{border:0}.map-summary-item:hover{background:#f7fbf9}.map-summary-item.incident{color:#e65c61}.map-summary-item .icon{width:18px;height:18px}.map-summary-item strong{display:block;font-size:23px;font-weight:400;line-height:1.1;letter-spacing:-.5px}.map-summary-item small{display:block;color:#7d8b93;font-size:9px;margin-top:4px;white-space:nowrap}.map-point{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 7px #193e4440,0 0 0 5px #fff5;background:#16b77e;color:white;font-size:12px;font-weight:700}.map-point i{width:9px;height:9px;background:white;border-radius:50%;box-shadow:0 0 0 4px #ffffff20}.map-point.incident{background:#edae39}.map-point.offline{background:#de5a67}.map-point.unknown{background:#899da6}.operation-marker:focus-visible{outline:3px solid #1b5e58;outline-offset:7px;border-radius:50%}.map-small-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#94a5ae;flex-shrink:0}.map-small-dot.online{background:#14b27c}.map-small-dot.incident{background:#e9ab34}.map-small-dot.offline{background:#dd5c69}.map-small-dot.unknown{background:#8e9fa9}.map-legend{position:absolute;z-index:500;left:18px;bottom:28px;display:flex;gap:8px 15px;flex-wrap:wrap;max-width:calc(100% - 100px);padding:11px 13px;background:#ffffffed;border:1px solid #e4eaed;border-radius:7px;box-shadow:0 2px 10px #28484c0c;font-size:8px;color:#667e88;pointer-events:none}.map-legend>span{display:flex;align-items:center;gap:6px}.map-fit{position:absolute;z-index:500;right:10px;bottom:108px;width:34px;height:34px;border:1px solid #c8d1d2;border-radius:5px;background:white;color:#537780;display:grid;place-items:center;box-shadow:0 1px 5px #0002}.map-fit .icon{width:17px;height:17px}.map-tile-error{position:absolute;z-index:501;left:18px;right:60px;top:100px;font-size:10px;padding:10px 12px;background:#fff6e4;color:#94712c;border-radius:6px}.map-tile-error[hidden]{display:none}.map-popup-kicker{font-size:8px;color:#829c9f;letter-spacing:1px;font-weight:700}.map-popup h3{font-size:15px;color:#284d55;margin-top:8px}.map-popup>p{color:#84969b;font-size:10px;margin:6px 0 12px}.map-popup-devices{max-height:235px;overflow:auto}.map-popup-devices button{display:flex;align-items:center;gap:10px;border:0;border-top:1px solid #edf2f1;background:#fff;padding:12px 0;text-align:left;width:100%}.map-popup-devices button:hover{background:#f7fbf9}.map-popup-devices button>span:nth-child(2){flex:1}.map-popup-devices strong{display:block;font-size:11px;color:#3a5d64}.map-popup-devices small{display:block;font-size:9px;color:#8a9c9e;margin-top:3px}.map-popup .text-button{font-size:10px;margin-top:7px}.leaflet-popup-content-wrapper{border-radius:10px;box-shadow:0 8px 35px #1b404326}.leaflet-popup-content{margin:18px 20px}.leaflet-control-attribution{font-size:9px!important}.main-shell:has(.map-main) .footer{display:none}#location-picker{height:245px;margin-top:12px;border:1px solid #dce6e7;border-radius:7px;overflow:hidden;background:#cee0e5}.location-search-row{display:flex;gap:12px;align-items:center;margin-top:14px}.location-search-row>span{font-size:9px;color:#92a1a9}.coordinate-details{margin-top:17px;padding:12px;background:#f7faf9;border:1px solid #e5ece9;border-radius:6px}.coordinate-details summary{font-size:10px;cursor:pointer;color:#5c8179}.location-result{display:block;text-align:left;width:100%;background:#f6faf8;border:1px solid #dfe9e5;border-radius:5px;padding:10px 12px;margin:7px 0;color:#486e63;font-size:10px;line-height:1.6}.location-result:hover{background:#eaf4ef}.location-results{max-height:180px;overflow:auto}
.sidebar{overflow-y:auto}
.device-location-heading{margin:24px 0 12px;padding-top:20px;border-top:1px solid var(--line);font-size:14px}
.dashboard-devices{margin-top:24px}
.mapbox-logo{width:88px;height:23px;vertical-align:middle;display:inline-block}
.map-stage,#operation-map,#location-picker{background:#edf1f0}
.operation-marker{display:grid;place-items:center}
.map-point{box-shadow:0 1px 4px #233e4229}
.map-point.single{width:19px;height:19px;border-width:2px}
.map-point.single i{display:none}
.map-point.grouped{width:29px;height:29px;font-size:11px;border-width:2px}
@media(min-width:1600px){.map-workspace{grid-template-columns:minmax(0,1fr)}.map-summary-item{padding:15px 22px;gap:15px}.map-summary-item strong{font-size:27px}.map-summary-item small{font-size:11px}.map-legend{font-size:9px}}
@media(max-width:1200px){.map-workspace{grid-template-columns:minmax(0,1fr)}.map-summary{left:12px;right:12px;top:12px}.map-summary-item{padding:12px 9px;gap:7px}.map-summary-item .icon{display:none}.map-summary-item strong{font-size:21px}.map-summary-item small{font-size:8px}.map-filters{padding:12px 24px;gap:8px}.map-filters select{max-width:175px;font-size:9px}.map-refresh{display:none}.map-legend{left:12px;font-size:7px;gap:8px}}
@media(max-width:850px){.map-workspace{height:calc(100dvh - 123px);min-height:490px}.map-filters select{max-width:165px}.map-filters .search input{font-size:10px}.map-summary-item strong{font-size:20px}}
@media(max-width:650px){.map-filters{padding:9px 14px;flex-wrap:wrap}.map-filters .toolbar{flex-basis:100%}.map-filters select{flex:1;max-width:none;min-width:0;padding:9px 6px}.map-workspace{display:flex;flex-direction:column-reverse;height:auto;min-height:0}.map-stage{height:490px}.map-summary{left:9px;right:9px;top:10px;border-radius:8px}.map-summary-item{padding:11px 5px;text-align:center;justify-content:center}.map-summary-item strong{font-size:20px}.map-summary-item small{font-size:7px}.map-legend{bottom:28px;max-width:calc(100% - 65px);gap:8px 10px;font-size:7px;padding:9px}.map-tile-error{top:85px;font-size:9px}#location-picker{height:235px}.location-search-row{align-items:flex-start;flex-direction:column;gap:6px}.location-search-row .button{font-size:10px}}
.equipment-popup .leaflet-popup-content{margin:0}.equipment-popup .leaflet-popup-content-wrapper{padding:0;border:1px solid #e2eae8;border-radius:14px;overflow:hidden;box-shadow:0 10px 35px #173f4324}.equipment-popup .leaflet-popup-close-button{top:9px!important;right:9px!important;color:#8b9c9b!important}.equipment-popup .map-popup{max-height:370px;overflow:auto}.map-popup-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.map-equipment-column{min-width:0}.map-equipment-column+.map-equipment-column{border-left:1px solid #e4ece8}.map-equipment-column>h4{font-size:9px;font-weight:650;letter-spacing:1px;text-transform:uppercase;color:#6a8b82;margin:0;padding:17px 22px 11px;background:#f5faf7;border-bottom:1px solid #e8efeb}.map-device-card{padding:12px 22px 16px;min-width:0;display:flex;flex-direction:column}.map-device-card+.map-device-card{border-top:1px solid #e4ece8}.map-device-card header h3{margin:0!important;font-size:20px!important;line-height:1.25;letter-spacing:-.4px}.map-device-card header button{border:0;background:transparent;color:#284d55;font:inherit;font-weight:650;padding:0;text-align:left;cursor:pointer;overflow-wrap:anywhere}.map-device-card header button:hover{color:#078773}.map-last-occurrence{border-top:1px solid #e8efeb;margin-top:10px;padding-top:10px;flex:1}.map-event-label{font-size:8px;font-weight:650;letter-spacing:1px;text-transform:uppercase;color:#7e9792}.map-device-card .map-event-title{font-size:12px;line-height:1.55;font-weight:550;color:#405e61;margin:8px 0 0;overflow-wrap:anywhere}.map-device-card .map-event-channel{font-size:10px;color:#829590;margin:5px 0 0;line-height:1.4}.map-last-occurrence time{display:block;font-size:10px;color:#8b9b99;margin-top:8px}.map-device-card .map-event-more{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;padding:10px 0 0;margin-top:14px;border:0;background:transparent;color:#098572;font:600 11px 'Segoe UI',Arial,sans-serif;text-align:left;cursor:pointer}.map-event-more:hover{color:#045e51}.map-event-more span{font-size:16px}.map-device-card button:focus-visible{outline:2px solid #098572;outline-offset:4px;border-radius:3px}.map-popup-columns .map-device-card{padding:12px 20px 16px}.map-popup-columns .map-device-card header h3{font-size:18px!important}@media(max-width:520px){.map-popup-columns .map-device-card{padding:12px 13px 14px}.map-equipment-column>h4{padding:15px 13px 10px}.map-popup-columns .map-device-card header h3{font-size:16px!important}.map-popup-columns .map-event-title{font-size:11px}.map-popup-columns .map-event-more{font-size:10px}}
.map-popup-columns .map-equipment-column{display:flex;flex-direction:column}.map-popup-columns .map-device-card{flex:1}

.map-point.email-active,.map-small-dot.email-active{background:#3987d5}.map-point.email-error,.map-small-dot.email-error{background:#d47c20}

.map-point.attention,.map-small-dot.attention{background:#8b60b5}

.map-event-status{display:inline-block;margin-top:8px;padding:3px 7px;border-radius:4px;font-size:9px;font-weight:600}.map-event-status.resolved{color:#267458;background:#eaf6ee}.map-event-status.active{color:#8e671f;background:#fff4d9}

.map-legend-control{position:absolute;z-index:500;left:18px;bottom:28px;pointer-events:auto}
.map-legend-toggle{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid #e0e8e7;border-radius:8px;background:#ffffffed;color:#536c70;box-shadow:0 2px 10px #28484c15;font:600 11px "Segoe UI",Arial,sans-serif}
.map-legend-toggle:hover{background:#fff;color:#267b6a}
.map-legend-toggle:focus-visible{outline:3px solid #0d7a7355;outline-offset:2px}
.map-legend-toggle-dot{width:8px;height:8px;border-radius:50%;background:#14b27c;box-shadow:0 0 0 3px #14b27c20}
.map-legend-chevron{width:7px;height:7px;margin:0 1px 3px 3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}
.map-legend-toggle[aria-expanded=true] .map-legend-chevron{transform:rotate(225deg);margin-bottom:-3px}
.map-legend-panel{position:absolute;left:0;bottom:calc(100% + 8px);width:min(270px,calc(100vw - 32px));max-height:min(65dvh,360px);overflow:auto;padding:14px 15px;background:#fff;border:1px solid #e1e9e7;border-radius:10px;box-shadow:0 8px 26px #173f4326;color:#536c70}
.map-legend-panel[hidden]{display:none}
.map-legend-panel section+section{margin-top:12px;padding-top:11px;border-top:1px solid #edf1ef}
.map-legend-panel h3{margin:0 0 7px;color:#77908a;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.map-legend-panel section>span{display:flex;align-items:center;gap:8px;min-height:23px;font-size:10px}
.map-legend-panel .map-small-dot{width:8px;height:8px}
@media(max-width:650px){.map-legend-control{left:10px;bottom:18px}.map-legend-panel{width:min(270px,calc(100vw - 20px));max-height:58dvh}}

.map-summary-panel{position:absolute;z-index:500;top:12px;left:12px;right:12px;display:flex;align-items:stretch;gap:0;justify-content:flex-start;max-width:680px;pointer-events:none}
.map-summary-panel .map-summary{position:static;flex:1;min-width:0;max-width:640px;border-left:0;border-radius:0 8px 8px 0;pointer-events:auto;box-shadow:0 2px 12px #243e4c10}
.map-summary-panel .map-summary[hidden]{display:none}
.map-summary-panel .map-summary-item{padding:8px 11px;gap:8px}
.map-summary-panel .map-summary-item .icon{display:block;width:14px;height:14px;flex-shrink:0}
.map-summary-panel .map-summary-item strong{font-size:18px;line-height:1.1}
.map-summary-panel .map-summary-item small{font-size:8px;margin-top:3px}
.map-summary-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-height:40px;height:auto;padding:0;border:1px solid #e0e8e6;border-radius:8px 0 0 8px;background:#fff;color:#587a73;box-shadow:0 2px 12px #243e4c10;cursor:pointer;pointer-events:auto}
.map-summary-panel.is-collapsed .map-summary-toggle{height:40px;border-radius:7px}
.map-summary-toggle>.icon{display:block;width:18px;height:18px}
.map-summary-toggle:hover{background:#f2f8f5;color:#08775f}
.map-summary-toggle:focus-visible{outline:2px solid #098572;outline-offset:3px}
@media(max-width:850px){.map-summary-panel{gap:0}.map-summary-panel .map-summary-item{padding:8px;gap:5px}.map-summary-panel .map-summary-item .icon{display:none}}
@media(max-width:650px){.map-summary-panel{left:9px;right:9px;top:10px}.map-summary-panel .map-summary-item{padding:8px 4px}.map-summary-panel .map-summary-item strong{font-size:17px}.map-summary-panel .map-summary-item small{font-size:7px}.map-summary-toggle{height:auto;padding:0}}
