.network-health-page, .nh-view { display: grid; gap: 20px; min-width: 0; }
.network-health-page .panel { margin: 0; min-width: 0; }
.network-health-page .card-toolbar { gap: 16px; flex-wrap: wrap; }
.nh-controls, .nh-period { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nh-period .ghost-button.is-active { background: #d8ece9 !important; color: #09574e !important; box-shadow: inset 0 0 0 1px #649e95; }
.nh-tabs { display: flex; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid var(--line); margin-top: 14px; }
.nh-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 12px 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.nh-tabs button.is-active { color: var(--text); border-bottom-color: #168477; font-weight: 600; }
.nh-tabs button:focus-visible, .nh-trend-chart circle:focus-visible { outline: 2px solid #123e50; outline-offset: 3px; }
.nh-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 20px 0 0; }
.nh-kpi { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #f7faf9; min-width: 0; }
.nh-kpi > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.nh-kpi > strong { display: block; color: var(--text); font-size: clamp(25px,3vw,38px); margin: 8px 0; line-height: 1.2; font-variant-numeric: tabular-nums; }
.nh-kpi p, .nh-history-note { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.nh-history-note { margin-top: 16px; }
.nh-trend-chart { display: block; width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.nh-trend-chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.nh-svg-grid { stroke: var(--line); stroke-width: 1; }
.nh-chart-empty { display: grid; place-items: center; min-height: 180px; margin-top: 18px; border-radius: 10px; background: #f7faf9; color: var(--muted); font-size: 14px; line-height: 1.6; padding: 24px; text-align: center; }
.nh-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.nh-legend > span { display: flex; align-items: center; gap: 7px; }
.nh-legend i { width: 14px; height: 3px; display: inline-block; border-radius: 2px; }
.nh-notice { border-left: 3px solid #d19d38; padding: 12px 16px; background: #fff5df; color: #674811; font-size: 14px; line-height: 1.6; margin: 0; }
.network-health-page .section-copy + .nh-notice { margin-top: 16px; }
.nh-overview-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 20px; }
.nh-two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.nh-facts { margin: 14px 0 0; }
.nh-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nh-facts dt { color: var(--muted); font-size: 13px; }
.nh-facts dd { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nh-feeders-link { margin-top: 20px; }
.nh-definitions { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.nh-definitions summary { cursor: pointer; font-weight: 600; color: var(--text); }
.nh-page-purpose { border-top: 1px solid var(--line); padding-top: 18px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
@media (max-width: 900px) { .nh-overview-grid, .nh-two-columns { grid-template-columns: 1fr; } .nh-kpi { padding: 15px; } }
@media (max-width: 600px) { .nh-kpis { grid-template-columns: 1fr; gap: 10px; } .nh-kpi > strong { font-size: 30px; } .nh-facts > div { flex-wrap: wrap; } .nh-tabs { gap: 18px; } }
.nh-scope-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-top: 18px; }
.nh-filter { display: grid; gap: 7px; flex: 1 1 240px; min-width: 0; max-width: 420px; }
.nh-filter > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.nh-filter select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: white; color: var(--text); font: inherit; font-size: 14px; }
.nh-monitoring { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; }
.nh-monitoring-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.nh-monitoring-copy strong { color: var(--text); font-weight: 600; }
.nh-coverage-strip { display: flex; gap: 3px; height: 10px; margin-top: 10px; }
.nh-coverage-mark { display: block; flex-basis: 0; min-width: 1px; border-radius: 2px; }
.nh-coverage-mark.is-complete { background: #168477; }
.nh-coverage-mark.is-partial { background: #ba7a18; }
.nh-coverage-mark.is-missing { background: #d9e0e4; }
.nh-coverage-mark:focus-visible, .nh-group-link:focus-visible, .nh-filter select:focus-visible { outline: 2px solid #123e50; outline-offset: 3px; }
.nh-monitoring .nh-history-note { font-size: 12px; margin-top: 8px; }
.nh-disruption-kpis .nh-kpi { background: white; }
.nh-disruption-kpis .nh-kpi > strong { font-size: clamp(24px,2.5vw,32px); }
.nh-count-bad { color: #a13f38 !important; }
.nh-count-warning { color: #8b6016 !important; }
.nh-delivery-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 20px 0 0; }
.nh-delivery-facts > div { padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; }
.nh-delivery-facts dt { color: var(--muted); font-size: 13px; }
.nh-delivery-facts dd { margin: 8px 0 0; font-size: 23px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nh-delivery-facts dd span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.nh-group-scroll { overflow-x: auto; margin-top: 16px; }
.nh-group-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.5; }
.nh-group-table th, .nh-group-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: right; vertical-align: top; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nh-group-table th:first-child { text-align: left; padding-left: 0; min-width: 130px; }
.nh-group-table thead th { color: var(--muted); font-size: 11px; font-weight: 600; }
.nh-group-link { border: 0; background: transparent; padding: 0; color: #146c62; text-align: left; font: inherit; font-weight: 600; cursor: pointer; white-space: normal; max-width: 200px; overflow-wrap: anywhere; }
.nh-group-link:hover { text-decoration: underline; }
@media (max-width: 600px) { .nh-delivery-facts { grid-template-columns: 1fr; gap: 14px; } .nh-filter { max-width: none; } }

.nh-coverage-key { display: flex; gap: 14px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.nh-coverage-key span { display: flex; align-items: center; gap: 5px; }
.nh-coverage-key i { width: 7px; height: 7px; border-radius: 1px; }
.nh-coverage-key .is-complete { background: #168477; }
.nh-coverage-key .is-partial { background: #ba7a18; }
.nh-coverage-key .is-missing { background: #d9e0e4; }
.nh-map-panel { scroll-margin-top: 24px; }
.nh-map-resolution { color: var(--muted); font-size: 12px; }
.nh-map-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 22px 0; }
.nh-map-kpis > div { border-left: 3px solid #d5e7e4; padding-left: 14px; }
.nh-map-kpis strong { display: block; color: var(--text); font-size: 27px; font-variant-numeric: tabular-nums; }
.nh-map-kpis span { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 4px; }
.nh-map-toolbar, .nh-map-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0; }
.nh-map-layers, .nh-map-navigation > div { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nh-map-layers label { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 13px; cursor: pointer; }
.nh-map-layers input { width: 16px; height: 16px; accent-color: #168477; }
.nh-map-navigation label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.nh-map-navigation select { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 9px; color: var(--text); font: inherit; }
.nh-map-navigation > div { gap: 6px; }
.nh-map-frame { overflow: hidden; border: 1px solid #c4d7e0; border-radius: 12px; background: #edf4f8; }
.nh-world-map { display: block; width: 100%; aspect-ratio: 2; touch-action: none; cursor: grab; user-select: none; }
.nh-world-map[data-dragging] { cursor: grabbing; }
.nh-world-map:focus-visible { outline: 3px solid #123e50; outline-offset: -4px; }
.nh-map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 14px; }
.nh-map-legend span { display: flex; align-items: center; gap: 6px; }
.nh-map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 1px; }
.nh-map-legend i.nh-map-dot { border-radius: 50%; }
.nh-map-detail { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 18px 0; background: #f7faf9; font-size: 13px; line-height: 1.6; }
.nh-map-detail strong { color: var(--text); }
.nh-map-detail p { color: var(--muted); margin: 5px 0 0; }
.nh-map-table th:first-child { min-width: 210px; }
.nh-map-table .nh-group-link { max-width: none; }
@media (max-width: 600px) { .nh-map-kpis { grid-template-columns: 1fr; gap: 12px; } .nh-map-kpis > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .nh-map-kpis strong { font-size: 24px; } .nh-map-kpis span { margin: 0; } .nh-map-navigation, .nh-map-toolbar { align-items: flex-start; } .nh-map-toolbar .nh-period { width: 100%; } .nh-map-navigation .ghost-button { padding: 9px 12px; } .nh-map-layers { gap: 10px; } }
