:root{font:15px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;color:#eef3fb;background:#0d1523}*{box-sizing:border-box}body{margin:0}.shell{min-height:100vh}header{height:74px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:#101c2f;border-bottom:1px solid #26354d;gap:10px}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:20px;letter-spacing:.02em;display:block}.brand small{display:block;color:#a9b9d0}.badge{background:#f3b555;color:#1b2632;font-weight:800;border-radius:8px;padding:10px 9px;letter-spacing:.08em}.header-right{display:flex;align-items:center;gap:16px}.signal{color:#b1c1d4;font-size:13px}.button{cursor:pointer;border:1px solid #dba34d;border-radius:8px;background:#ecb359;color:#172336;padding:9px 12px;font:inherit;font-weight:650}.button:hover{filter:brightness(1.09)}.button.secondary{background:#1b2d45;color:#f4f6fb;border-color:#4b6281}.layout{display:grid;grid-template-columns:294px minmax(0,1fr);height:calc(100vh - 74px)}aside{overflow:auto;background:#142137;border-right:1px solid #304158}section{padding:19px 20px;border-bottom:1px solid #283c55}h2{font-size:14px;text-transform:uppercase;letter-spacing:.1em;color:#edbb70;margin:0 0 13px}label{color:#e4ecf8;font-size:14px}select,input:not([type=checkbox]){height:38px;width:100%;background:#0e1a2b;border:1px solid #556987;border-radius:7px;padding:7px 9px;color:#fff;font:inherit}select:focus,input:focus,button:focus-visible{outline:2px solid #ecb359;outline-offset:2px}.row{display:flex;gap:7px;margin-top:7px}.row select{flex:1;min-width:0}.note{font-size:12px;color:#aebdd0;margin:10px 0 0}.toggles{display:grid;gap:12px}.toggles label{display:flex;align-items:center;gap:9px;cursor:pointer}.toggles input{accent-color:#eeb35d;width:17px;height:17px}.toggles span{margin-left:auto;color:#aebdd0;font-size:12px}.metrics{display:flex;justify-content:space-between;gap:8px}.metrics div{min-width:0}.metrics small{display:block;color:#b0c0d0;font-size:11px}.metrics strong{font-size:21px;font-variant-numeric:tabular-nums}.refresh{width:100%}main{position:relative;min-width:0;background:#172337}#map{height:100%;width:100%}.map-footer{position:absolute;bottom:12px;left:12px;right:12px;z-index:500;display:flex;justify-content:space-between;gap:10px;pointer-events:none;font-size:12px}.map-footer span{background:#111c2ddd;color:#f1f5fb;padding:6px 9px;border-radius:5px}.leaflet-container{background:#1b2b3d}.marker{width:24px;height:24px;border:3px solid white;box-shadow:0 2px 8px #0018;border-radius:50%;background:#ebac52}.marker.iss{background:#63c9f1}.marker.weather{background:#ef7159}.leaflet-popup-content{line-height:1.4}@media(max-width:740px){header{height:auto;min-height:64px;padding:9px 12px}.signal{display:none}.layout{display:flex;flex-direction:column;height:auto}main{order:0;height:55vh;min-height:330px}aside{order:1;overflow:visible}.map-footer{bottom:24px}.brand strong{font-size:17px}.button{font-size:13px}}

/* Three-column live dashboard */
header{min-height:80px;height:auto;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.layout{grid-template-columns:270px minmax(0,1fr) 302px;height:calc(100vh - 150px);min-height:400px}
.right-panel{border-right:0;border-left:1px solid #304158}
.band-header{display:flex;align-items:center;justify-content:center;flex:1;gap:12px;min-width:400px}
.band-caption{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;color:#efc481}
.band-caption small{display:block;font-weight:500;font-size:10px;letter-spacing:0;color:#b9c6d8}
.band-strip{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.band-chip{border-radius:6px;min-width:42px;padding:5px 6px;text-align:center;font-size:12px;font-weight:800;color:#152034}
.band-chip.good{background:#67d19b}.band-chip.ok{background:#f3cb6c}.band-chip.bad{background:#ef7775}.band-chip.unknown{background:#738198;color:white}
.marker.sota{background:#72daa5}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:7px}.panel-title h2{margin-bottom:0}
.pill{border-radius:999px;border:1px solid #526880;color:#cbd8e8;padding:2px 8px;font-size:11px}
.top-note{margin:8px 0 13px}.dx-list{display:grid;gap:7px}.dx-spot{width:100%;text-align:left;background:#0e1a2b;border:1px solid #334863;border-radius:8px;padding:9px 10px;color:#e9f0fa;cursor:pointer;font:inherit}.dx-spot:hover,.dx-spot:focus-visible{border-color:#edb86c}.dx-spot strong{display:block;font-size:15px;letter-spacing:.02em}.dx-spot small{display:block;color:#afc0d7;margin-top:2px;font-size:11px}.dx-spot .freq{float:right;font-variant-numeric:tabular-nums;color:#f4c77e;font-size:12px}.right-panel .metrics{justify-content:flex-start;gap:35px}
@media(max-width:1220px){.layout{grid-template-columns:235px minmax(0,1fr) 252px}.band-header{min-width:320px}.signal{display:none}.right-panel section,section{padding:16px}}
@media(max-width:900px){header{gap:8px}.band-header{order:3;flex:0 0 100%;justify-content:flex-start;min-width:0;overflow:auto;padding-top:4px}.layout{display:flex;flex-direction:column;height:auto;min-height:0}main{order:0;height:54vh;min-height:330px}aside{order:1;overflow:visible}.right-panel{order:2;border-left:0;border-top:1px solid #304158}.dx-list{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.spot-banner{position:sticky;bottom:0;height:64px}.spot-banner-heading{min-width:86px;padding:8px}.spot-banner-list{padding:6px}}
@media(max-width:550px){header{padding:9px 12px}.brand strong{font-size:17px}.header-right{margin-left:auto}.band-caption{min-width:max-content}.band-header{gap:9px}.band-strip{flex-wrap:nowrap}.band-chip{min-width:40px}}

.spot-banner{height:70px;display:flex;align-items:stretch;background:#0b1727;border-top:2px solid #c99243;color:#eff4fa;position:relative;z-index:650}
.spot-banner-heading{min-width:135px;padding:13px 15px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid #344962}
.spot-banner-heading strong{color:#e9b66a;letter-spacing:.12em;font-size:13px}.spot-banner-heading small{color:#a7bbd1;font-size:11px}
.spot-banner-list{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:7px 12px;scrollbar-color:#617791 #152638;min-width:0;flex:1}
.spot-banner-empty{color:#b5c4d4;white-space:nowrap;font-size:13px}
.spot-banner-item{flex:0 0 auto;max-width:245px;min-width:125px;border:1px solid #465973;background:#162740;color:#f0f5fb;border-radius:7px;padding:6px 9px;text-align:left;font:inherit;line-height:1.2}
button.spot-banner-item{cursor:pointer}button.spot-banner-item:hover,button.spot-banner-item:focus-visible{border-color:#f3c078}
.spot-banner-item .spot-kind{font-size:10px;font-weight:800;letter-spacing:.08em;color:#f0bf77;margin-right:6px}.spot-banner-item .spot-kind.sota{color:#7bdfac}
.spot-banner-item strong{font-size:13px}.spot-banner-item small{display:block;color:#b6c6db;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
@media(max-width:900px){.spot-banner{position:sticky;bottom:0;height:64px}.spot-banner-heading{min-width:86px;padding:8px}.spot-banner-list{padding:6px}}
.shell{display:flex;flex-direction:column;min-height:100dvh;height:100dvh}
.layout{height:auto;min-height:0;flex:1}
header,.spot-banner{flex-shrink:0}
@media(max-width:900px){.shell{height:auto}.layout{flex:none}}
.repeater-legend{display:flex;flex-wrap:wrap;gap:5px 9px;padding:0 0 3px 25px;font-size:11px;color:#b9c8da}
.repeater-legend span{display:inline-flex;align-items:center;gap:4px}
.repeater-legend i{display:inline-block;width:10px;height:10px;border:1px solid white;border-radius:50%;background:#a5aab5}
.repeater-legend .active{background:#2abb73}.repeater-legend .maintenance{background:#f4c457}.repeater-legend .degraded{background:#f18c44}.repeater-legend .offline{background:#ef5963}.repeater-legend .planned{background:#8c92ef}
.legend-note{display:block;margin:-3px 0 0 25px;color:#9fb0c6;font-size:10px}
.repeater-marker-wrap{background:transparent;border:0}
.repeater-dot{display:block;width:19px;height:19px;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 8px #0009}
.leaflet-tooltip.repeater-tooltip{background:#14243a;border:1px solid #7488a4;color:#f0f5fb;padding:8px 10px;box-shadow:0 4px 18px #0008;max-width:min(350px,85vw);white-space:normal}
.leaflet-tooltip-top.repeater-tooltip:before{border-top-color:#7488a4}
.repeater-card{min-width:190px;max-width:320px;color:#26364c;line-height:1.3}
.repeater-tooltip .repeater-card{color:#f0f5fb}
.repeater-card>strong{display:block;font-size:14px;margin-bottom:2px}
.repeater-card>small{display:block;opacity:.78;margin-bottom:7px}
.repeater-card-list{max-height:230px;overflow-y:auto}
.repeater-card-row{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;padding:5px 0;border-top:1px solid #8092a440;font-size:11px}
.repeater-card-row b{font-size:13px;white-space:nowrap}.repeater-card-row>span:not(.repeater-card-status){flex:1 1 100%;opacity:.84}
.repeater-card-status{display:inline-block;border-radius:4px;padding:1px 5px;color:#172336;font-size:10px;font-weight:700;text-transform:uppercase}
.repeater-card-status.active{background:#2abb73}.repeater-card-status.maintenance{background:#f4c457}.repeater-card-status.degraded{background:#f18c44}.repeater-card-status.offline{background:#ef5963}.repeater-card-status.planned{background:#8c92ef}.repeater-card-status.unknown{background:#a5aab5}
.marker.pota,.marker.sota{display:flex;align-items:center;justify-content:center;color:#172336;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}
.leaflet-tooltip.spot-tooltip{background:#14243a;border:1px solid #7488a4;color:#f0f5fb;padding:8px 10px;box-shadow:0 4px 18px #0008;max-width:min(350px,85vw);white-space:normal}
.leaflet-tooltip-top.spot-tooltip:before{border-top-color:#7488a4}
.spot-card{min-width:185px;max-width:320px;color:#26364c;line-height:1.35}
.spot-tooltip .spot-card{color:#f0f5fb}
.spot-card>strong{display:block;font-size:13px;margin-bottom:6px}
.spot-card-list{max-height:230px;overflow-y:auto}
.spot-card-row{padding:5px 0;border-top:1px solid #8092a440;font-size:11px}
.spot-card-row b{display:block;font-size:13px}.spot-card-row span{display:block;opacity:.85;overflow-wrap:anywhere}
