.dashboard-layout .chart-panel{box-sizing:border-box;min-width:0}
.ops-panel,.ops-metric{background:var(--card-bg,#fff);border:1px solid var(--glass-border,#dce3eb);border-radius:14px;color:var(--text-main,#172b4d)}
.ops-panel{padding:0;min-width:0;min-height:0;flex:1;overflow:auto;border:0;border-radius:0;background:transparent}
.ops-panel-header{display:flex;justify-content:space-between;gap:10px;align-items:start}
.ops-panel h2{font-size:21px;margin:5px 0 0}.ops-eyebrow{font-size:10px;font-weight:800;letter-spacing:.09em;color:#52647a}
.ops-live{font-size:11px;color:#176348;background:#e8f6ef;padding:6px 8px;border-radius:20px;white-space:nowrap}
#opsStatus{font-size:12px;color:var(--text-muted,#52647a);line-height:1.5;min-height:36px;margin:12px 0}
.ops-tabs{display:flex;gap:4px;background:#edf1f6;border-radius:9px;padding:4px}.ops-tabs button{flex:1;border:0;background:transparent;border-radius:7px;padding:9px 6px;color:#44546b;font-weight:700;cursor:pointer}
.ops-tabs button[aria-pressed=true]{background:#fff;color:#173f77;box-shadow:0 1px 4px #173f7720}
.ops-search{display:block;font-size:11px;color:#52647a;margin:14px 0 10px}.ops-search input{box-sizing:border-box;width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px;margin-top:5px;color:#172b4d;background:#fff}
.ops-list{max-height:360px;overflow:auto;overscroll-behavior:contain}.ops-item{display:grid;grid-template-columns:155px minmax(160px,1.3fr) minmax(160px,1fr) 190px;gap:14px;align-items:center;text-align:left;width:100%;border:0;border-bottom:1px solid #e4e9f0;background:transparent;padding:12px 4px;cursor:pointer;color:inherit}
.ops-item:hover,.ops-item[aria-pressed=true]{background:#eef5ff}.ops-item strong{font-size:13px;display:block;margin:6px 0;line-height:1.4}.ops-item small{color:#52647a;line-height:1.6;display:block}
.ops-tag{font-size:10px;font-weight:800;letter-spacing:.03em;border-radius:5px;padding:4px 6px;background:#fff2dd;color:#825000;display:inline-block}
.ops-tag.critical{background:#ffe7e7;color:#991b1b}.ops-tag.context{background:#edf2f7;color:#44546b}
.ops-overview{display:flex;flex-wrap:wrap;gap:8px 24px;margin:14px 0 0}.ops-metric{padding:0;border:0;border-radius:0;background:transparent;display:flex;gap:6px;align-items:baseline}.ops-metric strong{font-size:18px}.ops-metric span{font-size:12px;color:#52647a}
.ops-empty{font-size:13px;color:#52647a;line-height:1.6;padding:24px 4px}

.ops-detail{background:#f0f5fc;border-radius:10px;padding:14px;margin-top:12px;font-size:12px;line-height:1.7;color:#172b4d}.ops-detail h3{font-size:14px;margin:0 0 8px}.ops-detail p{margin:5px 0;overflow-wrap:anywhere}
.ops-panel a,.ops-detail button{color:#174c9a;font-weight:700}.ops-detail button{border:1px solid #b8c8df;background:#fff;border-radius:7px;padding:8px;cursor:pointer;margin:6px 0}
.ops-marker{border:2px solid #fff;border-radius:50%;background:#b45309;width:16px;height:16px;box-shadow:0 0 0 2px #b4530950}
.ops-panel button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
#opsControls{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:12px}.ops-tabs{min-width:280px}.ops-search{margin:0;flex:1;max-width:420px}.ops-item .ops-tag{justify-self:start}.ops-item>*{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.ops-item{grid-template-columns:150px minmax(140px,1fr)}.ops-item small{grid-column:auto}}
@media(max-width:560px){.ops-item{grid-template-columns:1fr;gap:4px}.ops-tabs{min-width:0;width:100%}.ops-search{flex-basis:100%}.ops-metric strong{font-size:16px}}
[hidden]{display:none!important}
.ops-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:center;border-bottom:1px solid #e4e9f0}
.ops-row .ops-item{border-bottom:0}
.ops-map-shortcut{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#f0f5fc;color:#174c9a;cursor:pointer}
.ops-map-shortcut:hover:not(:disabled){background:#dbeafe;border-color:#2563eb}
.ops-map-shortcut:disabled{color:#94a3b8;background:transparent;border-color:transparent;cursor:default}
.ops-tag.alarm{background:#fee2e2;color:#991b1b}.ops-tag.critical{background:#ede9fe;color:#6d28d9}
.ops-map-controls{flex-shrink:0;padding:10px 0;border-top:1px solid var(--glass-border,#dce3eb)}
.ops-map-check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;cursor:pointer;color:var(--text-main,#172b4d)}
.ops-map-check input{width:17px;height:17px;accent-color:#2563eb}
.ops-map-legend{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:12px;margin:10px 0;color:var(--text-muted,#52647a)}
.ops-map-legend span{display:flex;align-items:center;gap:6px}.ops-map-legend i{display:inline-block;width:10px;height:10px;border-radius:50%}
.ops-map-legend small{flex-basis:100%;font-size:11px}
.ops-event-tooltip{white-space:normal;min-width:180px;max-width:340px;line-height:1.6;padding:9px 12px}

.sector-panel-tabs{display:flex;gap:6px;flex-shrink:0;border-bottom:1px solid var(--glass-border,#dce3eb);padding-bottom:12px;margin-bottom:16px}
.sector-panel-tabs button{border:0;border-radius:8px;background:transparent;color:var(--text-muted,#52647a);font:inherit;font-weight:700;padding:10px 14px;cursor:pointer}
.sector-panel-tabs button[aria-pressed=true]{background:var(--accent,#2563eb);color:#fff}
.sector-panel-tabs button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.sector-performance{display:flex;flex-direction:column;flex:1;min-height:0}
.sector-performance #mapArea{min-height:240px;flex:1}
.dashboard-layout.has-map-view{height:auto;overflow:visible}
.has-map-view .chart-panel{overflow:visible}
.has-map-view .sector-performance{flex:none}
.has-map-view #mapArea{height:clamp(520px,72vh,960px);min-height:520px;flex:none}
@media(max-width:560px){.has-map-view #mapArea{height:70vh;min-height:420px}}
#sectorOccurrences .ops-list{max-height:none}
@media(max-width:560px){.sector-panel-tabs button{padding:9px 10px;font-size:13px}}
.sector-vehicle-marker{background:transparent;border:0}.sector-vehicle-marker>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:2px solid white;border-radius:9px;box-shadow:0 2px 6px #0f172a80;box-sizing:border-box}
