#module-dashboard .dashboard-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;}
#module-dashboard .dashboard-heading h1 {margin:0;font-size:23px;}
#module-dashboard .dashboard-heading-actions {display:flex;align-items:center;gap:12px;min-width:0;}
#module-dashboard #dashboardUpdatedAt {color:var(--muted);font-size:11px;line-height:1.5;}
#module-dashboard .dashboard-summary-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
#module-dashboard .dashboard-kpi {display:flex;flex-direction:row;align-items:flex-start;gap:12px;min-width:0;padding:18px 16px;border:1px solid var(--line);border-radius:13px;background:var(--panel);}
#module-dashboard .dashboard-kpi>div {min-width:0;}
#module-dashboard .dashboard-kpi[role=button] {cursor:pointer;}
#module-dashboard .dashboard-kpi[role=button]:hover {border-color:var(--primary);}
#module-dashboard .dashboard-kpi[role=button]:focus-visible {outline:2px solid var(--primary);outline-offset:3px;}
#module-dashboard .dashboard-icon {display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;color:var(--muted);background:color-mix(in srgb,var(--muted) 10%,transparent);font-size:18px;}
#module-dashboard .metric-label {display:block;color:var(--muted);font-size:12px;line-height:1.5;}
#module-dashboard .dashboard-kpi strong {display:block;font-size:32px;line-height:1.5;letter-spacing:-.6px;font-variant-numeric:tabular-nums;}
#module-dashboard .dashboard-kpi small {display:block;font-size:11px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere;}
#module-dashboard .connected strong,#module-dashboard .connected .dashboard-icon {color:#10b981;}
#module-dashboard .disconnected strong,#module-dashboard .disconnected .dashboard-icon {color:#ef4444;}
@media(max-width:1100px) {#module-dashboard .dashboard-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px) {#module-dashboard .dashboard-heading {align-items:flex-start;flex-direction:column;gap:10px;} #module-dashboard .dashboard-heading-actions {width:100%;justify-content:space-between;gap:8px;} #module-dashboard .dashboard-heading h1 {font-size:21px;} #module-dashboard .dashboard-summary-grid {gap:8px;} #module-dashboard .dashboard-kpi {padding:12px 10px;gap:7px;} #module-dashboard .dashboard-icon {width:21px;height:21px;font-size:14px;} #module-dashboard .dashboard-kpi strong {font-size:27px;} #module-dashboard .metric-label {font-size:11px;}}
@media(max-width:360px) {#module-dashboard .dashboard-summary-grid {grid-template-columns:1fr;}}

#module-dashboard .dashboard-icon svg {width:18px;height:18px;}

#module-dashboard {--dashboard-total:#8bd5e5;--dashboard-online:#10b981;--dashboard-offline:#ef4444;}
#module-dashboard .dashboard-kpi:not(.connected):not(.disconnected) strong {color:var(--primary);}
html[data-theme="dark"] #module-dashboard .dashboard-kpi:not(.connected):not(.disconnected) strong,
body[data-theme="dark"] #module-dashboard .dashboard-kpi:not(.connected):not(.disconnected) strong {color:var(--dashboard-total);}
html[data-theme="dark"] #module-dashboard :is(.dashboard-kpi,.dashboard-panel) {background:#1d2a3a;border-color:#2a3949;}
#module-dashboard .dashboard-charts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;}
#module-dashboard .dashboard-panel {min-width:0;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--panel);}
#module-dashboard .dashboard-panel h2 {margin:0 0 16px;font-size:15px;line-height:1.5;}
#module-dashboard .dashboard-onu-layout {display:flex;align-items:center;gap:18px;min-width:0;}
#module-dashboard .dashboard-donut {display:block;width:clamp(96px,12vw,160px);height:auto;flex:none;}
#module-dashboard .dashboard-legend {flex:1;list-style:none;padding:0;margin:8px 0;min-width:0;}
#module-dashboard .dashboard-legend li {display:grid;grid-template-columns:minmax(0,1fr) auto 54px;gap:10px;align-items:center;padding:8px 0;font-size:12px;font-variant-numeric:tabular-nums;}
#module-dashboard .dashboard-legend li>strong,#module-dashboard .dashboard-legend li>span:last-child {text-align:right;}
#module-dashboard .dashboard-legend-label {display:flex;align-items:baseline;gap:8px;overflow-wrap:anywhere;min-width:0;}
#module-dashboard .dashboard-legend-label i {display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;}
#module-dashboard .dashboard-pon-total {margin:0 0 12px;font-size:14px;}
#module-dashboard .dashboard-pon-bar {display:flex;width:100%;height:26px;overflow:hidden;border-radius:4px;}
#module-dashboard .dashboard-pon-bar>span {display:flex;min-width:0;align-items:center;justify-content:center;color:#102029;font-size:12px;overflow:hidden;}
#module-dashboard .dashboard-pon-bar b {min-width:0;overflow:hidden;font-weight:600;}
#module-dashboard .dashboard-muted {color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0 0;}
#module-dashboard .dashboard-olts {margin-top:16px;}
#module-inconsistencies .dashboard-inconsistencies {margin-top:16px;}
#module-inconsistencies .inconsistency-count {display:inline-block;min-width:22px;padding:1px 7px;margin-left:6px;border-radius:999px;background:var(--dashboard-offline,#ef4444);color:#fff;font-size:12px;text-align:center;}
#module-inconsistencies .inconsistency-group {border:1px solid var(--line);border-radius:9px;padding:8px 12px;margin-top:10px;}
#module-inconsistencies .inconsistency-group summary {cursor:pointer;font-size:13px;font-weight:600;}
#module-inconsistencies .inconsistency-group > ul {list-style:none;margin:8px 0 0;padding:0;}
#module-inconsistencies .inconsistency-item {padding:8px 0;border-top:1px solid var(--line);font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
#module-inconsistencies .inconsistency-item ul {margin:4px 0;padding-left:18px;color:var(--muted);font-size:12px;}
#module-inconsistencies .inconsistency-action {margin:4px 0 0;color:var(--muted);font-size:12px;}
#module-dashboard #dashboardOltReadings {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
#module-dashboard .dashboard-olt-reading {min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;overflow-wrap:anywhere;}
#module-dashboard .dashboard-olt-reading h3 {font-size:14px;margin:0 0 10px;}
#module-dashboard .dashboard-olt-reading p {font-size:12px;line-height:1.6;margin:4px 0;color:var(--muted);}
#module-dashboard .dashboard-error {border-left:3px solid var(--dashboard-offline);padding:10px 12px;font-size:13px;overflow-wrap:anywhere;}
#module-dashboard .dashboard-loading {color:var(--muted);font-size:12px;margin-top:12px;}
@media(max-width:1000px) {#module-dashboard #dashboardOltReadings {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px) {#module-dashboard .dashboard-charts {grid-template-columns:1fr;} #module-dashboard .dashboard-panel {padding:14px;} #module-dashboard #dashboardOltReadings {grid-template-columns:1fr;}}
@media(max-width:400px) {#module-dashboard .dashboard-onu-layout {gap:8px;} #module-dashboard .dashboard-donut {width:92px;} #module-dashboard .dashboard-legend li {font-size:11px;gap:5px;grid-template-columns:minmax(0,1fr) auto 45px;}}
#module-inconsistencies .dashboard-muted {color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0 0;}
