/* SmartOLT staging — dashboard rework v1.1 (covers both day and night themes; see html.smartolt-night rules) */

body.smartolt-dashboard {
  --dash-radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.smartolt-site {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

html:not(.smartolt-night) body.smartolt-dashboard {
  --dash-ink: #0f172a;
  --dash-muted: #64748b;
  --dash-line: #eef2f6;
  --dash-surface: #ffffff;
  --dash-page: #fafbfd;
  --dash-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 4px 14px rgba(15, 23, 42, 0.04);
  --smartolt-nav-offset: 68px;

  background: var(--dash-page);
}

html:not(.smartolt-night) body.smartolt-dashboard #content-wrapper {
  background: var(--dash-page);
}

html:not(.smartolt-night) body.smartolt-dashboard #content-wrapper > .container {
  padding-bottom: 40px;
  padding-top: var(--smartolt-nav-offset);
}

html:not(.smartolt-night) body.smartolt-dashboard .content-wrap {
  margin: 0 auto;
  padding: 0 15px 40px;
}

html:not(.smartolt-night) body.smartolt-dashboard .content-wrap > h2 {
  display: none;
}

/* White panels only — subtle modern card (KPI colored panels stay bootstrap/startmin) */
html:not(.smartolt-night) body.smartolt-dashboard .panel-default {
  background: var(--dash-surface);
  border: 1px solid var(--dash-line);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  overflow: hidden;
}

html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .panel-heading {
  background: #4c4b4b !important;
  border-bottom: none !important;
  border-color: #4c4b4b !important;
  border-top-left-radius: calc(var(--dash-radius) - 1px);
  border-top-right-radius: calc(var(--dash-radius) - 1px);
  color: #fff !important;
}

html:not(.smartolt-night) body.smartolt-dashboard .panel-default .panel-footer {
  background: #fcfdfe !important;
  border-top: 1px solid var(--dash-line) !important;
  border-bottom-left-radius: calc(var(--dash-radius) - 1px);
  border-bottom-right-radius: calc(var(--dash-radius) - 1px);
  color: var(--dash-muted);
}

html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .table-responsive:last-child,
html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .table-responsive {
  border-bottom-left-radius: var(--dash-radius);
  border-bottom-right-radius: var(--dash-radius);
  overflow: hidden;
}

html:not(.smartolt-night) body.smartolt-dashboard .panel-olt {
  overflow: visible;
}

/* On phones the wide dashboard tables (e.g. PON outage) must scroll horizontally.
   The rounded-corner overflow:hidden above (needed on desktop) otherwise clips the
   table instead of letting it scroll. Restore Bootstrap's responsive scroll here. */
@media (max-width: 767px) {
  html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .table-responsive,
  html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .table-responsive:last-child {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* Equal panel-heading height across the white dashboard cards: take the
   dropdown button out of flow (absolute, vertically centered) so a heading
   with a button (Network status, OLTs) is the same height as a plain text
   heading (Info, ONU authorizations per day). */
body.smartolt-dashboard .panel-default > .panel-heading {
  position: relative;
}

body.smartolt-dashboard .panel-default > .panel-heading .pon-outage-panel-info {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  opacity: 0.8;
  cursor: help;
  font-size: 15px;
  line-height: 1;
  vertical-align: middle;
}

body.smartolt-dashboard .panel-default > .panel-heading .pon-outage-panel-info:hover,
body.smartolt-dashboard .panel-default > .panel-heading .pon-outage-panel-info:focus {
  opacity: 1;
  outline: none;
}

body.smartolt-dashboard .panel-default > .panel-heading .pon-outage-heading-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* PON outage heading actions: white on the #4c4b4b heading bar (same in both
   themes), sized up from the 15px info icon for tap-ability. */
body.smartolt-dashboard .panel-default > .panel-heading .pon-outage-heading-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.85;
  font-size: 18px;
  line-height: 1;
  min-width: 20px;
  vertical-align: middle;
}

body.smartolt-dashboard .panel-default > .panel-heading .pon-outage-heading-action:hover,
body.smartolt-dashboard .panel-default > .panel-heading .pon-outage-heading-action:focus {
  color: #fff;
  opacity: 1;
  outline: none;
  text-decoration: none;
}
body.smartolt-dashboard .panel-default > .panel-heading > .panel-heading-button {
  /* Span the full heading height and flex-center the button rather than using
     transform: translateY(-50%) — transform would create a stacking context
     that traps the dropdown's z-index and paints it behind the panel body. */
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Match the caret spacing used in dark mode (Bootstrap default is 2px). */
body.smartolt-dashboard .panel-heading-dropdown-toggle .caret {
  margin-left: 3px;
}

/* Borderless minimal "More graphs" button in light mode, mirroring the dark-mode
   rule in dashboard-smartolt-night.css. Without this, light fell back to the
   default bordered .btn (2px border, weight 400), so the button was a different
   size than in dark mode — which shifted the adjacent brush toggle on theme switch. */
html:not(.smartolt-night) body.smartolt-dashboard .panel-heading-dropdown-toggle {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 500;
  padding: 2px 4px;
  text-shadow: none;
}
html:not(.smartolt-night) body.smartolt-dashboard .panel-heading-dropdown-toggle:hover,
html:not(.smartolt-night) body.smartolt-dashboard .panel-heading .btn-group.open .panel-heading-dropdown-toggle {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

/* KPI colored cards — same 10px rounding as night mode */
body.smartolt-dashboard .smartolt-kpi-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--dash-radius);
  overflow: hidden;
}

html:not(.smartolt-night) body.smartolt-dashboard .smartolt-kpi-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 5px 14px rgba(15, 23, 42, 0.07) !important;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
}

body.smartolt-dashboard .smartolt-kpi-card .panel-heading,
body.smartolt-dashboard .smartolt-kpi-card .panel-footer {
  border: 0 !important;
}

html:not(.smartolt-night) body.smartolt-dashboard .smartolt-kpi-card .panel-footer {
  background: #fff !important;
  border-bottom-left-radius: calc(var(--dash-radius) - 1px);
  border-bottom-right-radius: calc(var(--dash-radius) - 1px);
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card .panel-footer {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.65);
}

/* Offline KPI breakdown — PwrFail/LoS share the N/A (offline) color (day + night) */
html:not(.smartolt-night) body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer a {
  color: inherit;
  text-decoration: none;
}

html:not(.smartolt-night) body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer .power-fail {
  color: #4c4b4b;
}

html:not(.smartolt-night) body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer .los {
  color: #4c4b4b;
}

html:not(.smartolt-night) body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer .offline {
  color: #4c4b4b;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer a {
  color: inherit;
  text-decoration: none;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer .power-fail {
  color: #98989D;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer .los {
  color: #98989D;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer .offline {
  color: #98989D;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer a:hover .power-fail {
  color: #AEAEB2;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer a:hover .los {
  color: #AEAEB2;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-red .panel-footer a:hover .offline {
  color: #AEAEB2;
}

/* Yellow KPI card (signal warning/critical) keeps the amber link color from
   startmin.css (.panel-yellow a). Needed in night mode because the generic
   night link color would otherwise override it. */
html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-yellow .panel-footer a {
  color: #f7a127;
}

html.smartolt-night body.smartolt-dashboard .smartolt-kpi-card.panel-yellow .panel-footer a:hover {
  color: #df8a13;
}

html:not(.smartolt-night) body.smartolt-dashboard .smartolt-kpi-card:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px);
}

/* KPI row — equal height, rounded corners aligned with night mode */
body.smartolt-dashboard .content-wrap > .row:first-of-type {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

body.smartolt-dashboard .content-wrap > .row:first-of-type::before,
body.smartolt-dashboard .content-wrap > .row:first-of-type::after {
  display: none;
}

body.smartolt-dashboard .content-wrap > .row:first-of-type > [class*="col-"] {
  display: flex;
  float: none;
  padding-left: 4px;
  padding-right: 4px;
}

body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-primary,
body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-green,
body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-red,
body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-yellow,
body.smartolt-dashboard .smartolt-kpi-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px !important;
  width: 100%;
}

body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-primary > a,
body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-green > a {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-primary > a .panel-heading,
body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-green > a .panel-heading,
body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-red > a .panel-heading,
body.smartolt-dashboard .content-wrap > .row:first-of-type .panel-yellow > a .panel-heading {
  border-top-left-radius: calc(var(--dash-radius) - 1px);
  border-top-right-radius: calc(var(--dash-radius) - 1px);
  flex: 1;
}

/* Network Status + OLT sidebar — same card height as legacy layout (325px) */
body.smartolt-dashboard .content-wrap > .row + .row > .col-lg-8 > .panel-default:first-child,
body.smartolt-dashboard .content-wrap > .row + .row > .col-lg-4 > .panel-olt {
  display: flex;
  flex-direction: column;
  height: 325px;
  max-height: 325px;
}

body.smartolt-dashboard .content-wrap > .row + .row > .col-lg-8 > .panel-default:first-child {
  overflow: hidden;
}

body.smartolt-dashboard .content-wrap > .row + .row > .col-lg-4 > .panel-olt {
  overflow: visible;
}

body.smartolt-dashboard .content-wrap > .row + .row > .col-lg-8 > .panel-default:first-child > #onusStatusesGraph.panel-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

body.smartolt-dashboard .content-wrap > .row + .row > .col-lg-4 > .panel-olt > .panel-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

body.smartolt-dashboard .content-wrap > .row + .row > .col-lg-4 > .panel-olt > .panel-body.panel-body-olts {
  height: 281px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.smartolt-dashboard .panel-body-olts .list-group-item {
  display: block;
}

body.smartolt-dashboard .panel-body-olts .list-group-item > .pull-right {
  font-size: 90%;
  line-height: 1.25;
  margin-left: 8px;
}

body.smartolt-dashboard .panel-body-olts .list-group-item > .pull-right em {
  font-size: 90%;
  line-height: 1.25;
}

body.smartolt-dashboard .panel-olt .panel-body .list-group-item > .pull-right em[id^="olt-up-time-"],
body.smartolt-dashboard .panel-olt .panel-body .list-group-item > .pull-right em[id^="olt-env-temp-"] {
  font-size: 90%;
  line-height: 1.25;
}

body.smartolt-dashboard #dropdownOlts .olt_option {
  align-items: center;
  display: flex;
  gap: 8px;
}

body.smartolt-dashboard #dropdownOlts .olt_option .badge {
  margin-left: auto;
}

@media (max-width: 767px) {
  body.smartolt-dashboard #dropdownOlts {
    max-width: calc(100vw - 48px);
    width: calc(100vw - 48px);
    width: min(320px, calc(100vw - 48px));
    max-height: 320px;
    max-height: min(320px, calc(100vh - 180px));
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.smartolt-dashboard #dropdownOlts > li > a.olt_option {
    min-width: 0;
    width: 100%;
  }

  body.smartolt-dashboard #dropdownOlts .dashboard-olt-option-label {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.smartolt-dashboard #dropdownOlts .dashboard-olt-option-label > span:last-child {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.smartolt-dashboard #dropdownOlts .olt_option .badge {
    flex: 0 0 auto;
  }
}

body.smartolt-dashboard .dashboard-olt-option-label {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-width: 0;
}

body.smartolt-dashboard .olt-status-dot {
  border-radius: 50%;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
  display: inline-block;
  height: 12px;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 12px;
}

body.smartolt-dashboard .olt-status-online {
  background-color: #5cb85c;
}

body.smartolt-dashboard .olt-status-offline {
  background-color: #95a5a6;
}

body.smartolt-dashboard .dashboard-olt-status-dot {
  flex: 0 0 12px;
}

body.smartolt-dashboard .dashboard-olt-status-dot--empty {
  display: inline-block;
  height: 12px;
  width: 12px;
}

body.smartolt-dashboard .dashboard-auth-per-day-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.smartolt-dashboard .dashboard-auth-per-day-panel > .panel-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 10px 12px 12px;
}

body.smartolt-dashboard .dashboard-auth-per-day-panel > .panel-body > .row,
body.smartolt-dashboard .dashboard-auth-per-day-panel > .panel-body > .row > .col-lg-12 {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

body.smartolt-dashboard .dashboard-auth-per-day-panel #bar-chart-canvas {
  flex: 1 1 auto;
  min-height: 0;
}

body.smartolt-dashboard .network-status-chart-wrap {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  padding: 0;
  position: relative;
}

body.smartolt-dashboard #onusStatusesGraph.panel-body {
  background: transparent !important;
  padding: 10px 12px 8px;
}

body.smartolt-dashboard #onus-statuses-chart {
  background: transparent !important;
  /* No !important: Chart.js sets the canvas's inline px size to match its
     HiDPI backing store. Forcing the display size here would rescale the
     bitmap and blur the axis text. 100% is just a pre-render fallback. */
  display: block;
  height: 100%;
  width: 100%;
}

body.smartolt-dashboard .network-status-chart-loading {
  align-items: center;
  color: #64748b;
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
}

body.smartolt-dashboard .network-status-chart-empty {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: absolute;
  text-align: center;
}

/* PNG placeholder (installer) — nudge illustration down slightly in the panel */
body.smartolt-dashboard #onusStatusesGraph.panel-body.smartolt-graph-placeholder-host::before {
  margin-top: 12px;
}
body.smartolt-dashboard .network-status-chart-empty-icon {
  color: #cbd5e1;
  display: block;
  font-size: 34px;
  margin-bottom: 10px;
}
body.smartolt-dashboard .network-status-chart-empty-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
body.smartolt-dashboard .network-status-chart-empty-hint {
  color: #94a3b8;
  font-size: 12px;
  margin: 0 auto;
  max-width: 340px;
}

.network-status-chart-tooltip {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, calc(-100% - 8px));
  transition: opacity 0.08s ease;
  white-space: nowrap;
  z-index: 2000;
}

html:not(.smartolt-night) .network-status-chart-tooltip {
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

.network-status-chart-tooltip-title {
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.network-status-chart-tooltip-row {
  align-items: center;
  display: flex;
  margin-top: 4px;
}

.network-status-chart-tooltip-row:first-of-type {
  margin-top: 0;
}

.network-status-chart-tooltip-swatch {
  border: 1px solid;
  border-radius: 3px;
  flex-shrink: 0;
  height: 9px;
  margin-right: 8px;
  width: 9px;
}

.network-status-chart-tooltip-label {
  color: #334155;
}

html.smartolt-night .network-status-chart-tooltip {
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.42);
}

html.smartolt-night .network-status-chart-tooltip-title {
  color: #f1f5f9;
}

html.smartolt-night .network-status-chart-tooltip-label {
  color: #cbd5e1;
}

body.smartolt-dashboard #smartolt-night-toggle {
  align-items: center;
  display: flex;
  justify-content: center;
}

body.smartolt-dashboard #smartolt-night-toggle i {
  line-height: 1;
  width: 20px;
  text-align: center;
}

/* Secondary time labels — "hours ago", etc. */
body.smartolt-dashboard .updated-date {
  font-size: 90%;
}

body.smartolt-dashboard .panel-body .list-group-item .pull-right.small,
body.smartolt-dashboard .panel-body .list-group-item .pull-right.small em {
  font-size: 90%;
}

body.smartolt-dashboard td.date-switch {
  font-size: 90%;
}

@media (max-width: 991px) {
  html:not(.smartolt-night) body.smartolt-dashboard {
    --smartolt-nav-offset: 62px;
  }

  html:not(.smartolt-night) body.smartolt-dashboard .content-wrap {
    padding: 0 14px 28px;
  }
}

/* Config comparison — scan + auto-sync detail tables (day mode) */
html:not(.smartolt-night) body.smartolt-site .smartolt-config-comparison-table > thead > tr > th {
  background: #f5f7f8;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}

/* SNMP trap diagnostics panel (dashboard sidebar) */
#snmp-trap-diagnostics-panel .panel-heading {
  padding: 8px 10px;
}

#snmp-trap-diagnostics-panel .snmp-trap-diagnostics-scroll {
  max-height: 285px;
  overflow-y: auto;
}

#snmp-trap-diagnostics-panel .snmp-trap-diagnostic-item {
  border-top: 1px solid #f0f0f0;
  padding: 8px 10px;
}

#snmp-trap-diagnostics-panel .snmp-trap-diagnostic-item:first-child {
  border-top: 0;
}

#snmp-trap-diagnostics-panel .snmp-trap-diagnostic-meta {
  color: #777;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 5px;
  line-height: 1.3;
}

#snmp-trap-diagnostics-panel .snmp-trap-diagnostic-time {
  white-space: nowrap;
}

#snmp-trap-diagnostics-panel .snmp-trap-diagnostic-message {
  color: #333;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
  word-break: break-word;
}

#snmp-trap-diagnostics-panel .snmp-trap-diagnostic-empty {
  padding: 10px;
}

/* --- PON outage dashboard sections (day + night) --- */
.pon-outage-wrap {
  display: flex;
  flex-direction: column;
  padding: 10px 14px 14px;
}

.pon-outage-section--offline {
  order: 30;
}

.pon-signal-degradation-section {
  order: -10; /* first in the card, before the default-order outage sections */
}

.pon-outage-section--stale {
  order: 40;
}

.pon-outage-section {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.pon-outage-section + .pon-outage-section .pon-outage-section__head {
  margin-top: 2px;
}

.pon-outage-section + .pon-outage-section .pon-outage-section__head::before {
  display: block;
}

.pon-outage-section__head {
  display: grid;
  grid-template-columns: 14px 28px max-content max-content max-content max-content minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  position: relative;
  gap: 6px 8px;
  min-height: 42px;
  padding: 5px 16px;
  border-bottom: 0;
  background: transparent;
}

.pon-outage-section__head::before {
  content: "";
  position: absolute;
  display: none;
  top: -1px;
  left: 16px;
  right: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.pon-outage-section__head--toggle:hover {
  background: transparent;
}

.pon-outage-section__title {
  display: contents;
}

.pon-outage-section__icon {
  color: var(--pon-section-accent, #64748b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
}

.pon-outage-section__label {
  font-weight: 600;
  font-size: 16px;
  color: #1e293b;
  line-height: 1.3;
  white-space: nowrap;
}

.pon-outage-section__stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  min-height: 28px;
}

.pon-outage-section__hint {
  flex: 0 0 100%;
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
  margin-top: -2px;
}

.pon-outage-section__actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
}

.pon-signal-thresholds-gear {
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
}

.pon-signal-thresholds-gear:hover,
.pon-signal-thresholds-gear:focus {
  color: #4b5563;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.06);
}

.pon-outage-section__title-row {
  display: contents;
}

.pon-outage-section__caret {
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 14px;
  height: 30px;
  font-size: 13px;
  line-height: 1;
  vertical-align: middle;
}

.pon-outage-severity-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 0;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.pon-outage-severity-pill--1 {
  color: #D98A00;
  background: transparent;
  border-color: #D98A00;
}

.pon-outage-severity-pill--2 {
  color: #4C3F83;
  background: transparent;
  border-color: #4C3F83;
}

.pon-outage-severity-pill--3 {
  color: #B91C1C;
  background: transparent;
  border-color: #B91C1C;
}

.pon-signal-degradation-table .pon-outage-severity-pill {
  vertical-align: middle;
}

.pon-outage-section__body .pon-signal-degradation-table,
.pon-outage-section__body .pon-group-table {
  border-collapse: separate;
  border-spacing: 0 8px;
  padding: 0 12px 10px;
  background: #f7f9fb;
  border-radius: 6px;
}

.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th,
.pon-outage-section__body .pon-group-table > thead > tr > th {
  padding: 10px 14px 8px;
  border: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
}

.pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td,
.pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td {
  padding: 12px 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  vertical-align: middle;
}

.pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:first-child,
.pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:first-child {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background: #f7f9fb;
}

.pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:last-child,
.pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:last-child {
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pon-signal-degradation-table .psd-row .fa-caret-right,
.pon-signal-degradation-table .psd-row .fa-caret-down,
.pon-group-table .pon-group-row .fa-caret-right,
.pon-group-table .pon-group-row .fa-caret-down {
  color: #555;
  margin-right: 8px;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__caret,
html.smartolt-night body.smartolt-dashboard .pon-signal-degradation-table .psd-row .fa-caret-right,
html.smartolt-night body.smartolt-dashboard .pon-signal-degradation-table .psd-row .fa-caret-down,
html.smartolt-night body.smartolt-dashboard .pon-group-table .pon-group-row .fa-caret-right,
html.smartolt-night body.smartolt-dashboard .pon-group-table .pon-group-row .fa-caret-down {
  color: #e2e8f0;
}

.pon-outage-groupby {
  display: flex;
  align-items: center;
  grid-column: 5 / -1;
  justify-self: end;
  gap: 6px;
  flex-shrink: 0;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

.pon-outage-groupby--stale {
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

.pon-outage-section__head--toggle {
  cursor: pointer;
}

.pon-outage-section__body .pon-group-table--stale {
  margin: 0;
}

.pon-outage-groupby__label {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: #64748b;
  white-space: nowrap;
}

.pon-outage-groupby__buttons {
  display: inline-flex;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  font-family: inherit;
}

.pon-outage-groupby .pon-groupby {
  display: inline-block;
  padding: 3px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  color: #475569;
  border: none;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.pon-outage-groupby .pon-groupby:last-child {
  border-right: none;
}

.pon-outage-groupby .pon-groupby:hover,
.pon-outage-groupby .pon-groupby:focus {
  background: rgba(0, 0, 0, 0.05);
  color: #1e293b;
  text-decoration: none;
}

.pon-outage-groupby .pon-groupby.active {
  background: #e4e4e4;
  color: #1e293b;
  font-weight: 600;
}

.pon-outage-section__body {
  background: transparent;
}

.pon-outage-section__body--collapsed {
  padding-bottom: 4px;
}

.pon-outage-section__body .table {
  margin-bottom: 0;
}

/* Align PON / ONUs / Since columns across all outage section tables */
.pon-outage-section__body .pon-group-table {
  table-layout: fixed;
  width: 100%;
}

.pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(1),
.pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:nth-child(1) {
  width: 54%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(2),
.pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(2) {
  width: 15%;
  min-width: 88px;
  white-space: nowrap;
}

.pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(3),
.pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(3) {
  width: 13%;
  min-width: 64px;
  white-space: nowrap;
}

.pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(4),
.pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(4) {
  width: 18%;
  min-width: 96px;
  white-space: nowrap;
}

/* Detail rows: same grid as parent */
.pon-outage-section__body .pon-detail-row > td > .table {
  table-layout: fixed;
  width: 100%;
}

.pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(1),
.pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(1) {
  width: 54%;
  padding-left: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(2),
.pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(2) {
  width: 15%;
  min-width: 88px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(3),
.pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(3) {
  width: 13%;
  min-width: 64px;
  white-space: nowrap;
}

.pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(4),
.pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(4) {
  width: 18%;
  min-width: 96px;
  white-space: nowrap;
}



.pon-outage-section__body .table > thead:not(.detail-subhead) > tr > th {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #475569;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: #f4f4f4;
  white-space: nowrap;
}

/* Signal-variation table: 8 fixed columns. table-layout:fixed caps the table at
   100% of the panel (so the "Last scan" column can't be pushed off and clipped by
   the card) and keeps numeric column widths stable when a row expands — without it
   the wide colspan detail cell steals slack and the headers fold. The OLT-name
   column absorbs the slack and ellipsis-truncates long names. */
.pon-outage-section__body .pon-signal-degradation-table {
  table-layout: fixed;
  width: 100%;
}
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td {
  white-space: nowrap;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(1),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(1) {
  width: 6%;
  min-width: 38px;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(2),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(2) {
  width: 34%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(3),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(3) {
  width: 9%;
  min-width: 68px;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(4),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(4) {
  width: 5%;
  min-width: 40px;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(5),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(5) {
  width: 9%;
  min-width: 62px;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(6),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(6) {
  width: 11%;
  min-width: 78px;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(7),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(7) {
  width: 8%;
  min-width: 52px;
}
.pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(8),
.pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(8) {
  width: 18%;
  min-width: 96px;
}

/* Drill-down subhead: same typography as main PON table header (OLT / PONs / ONUs / Since) */
.pon-outage-section__body .pon-detail-row > td > .table > thead.detail-subhead > tr > th {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 8px;
  background: transparent;
  border-bottom: none;
  color: #475569;
}

.pon-outage-section__body .pon-detail-row > td {
  border-top: none;
}

.pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(5),
.pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(5) {
  width: auto;
  min-width: 72px;
  white-space: nowrap;
}

.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th,
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(1),
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(1) {
  width: 49%;
  min-width: 0;
}

.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(2),
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(2) {
  width: 40px;
  min-width: 40px;
}

.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(3),
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(3),
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(4),
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(4) {
  width: 52px;
  min-width: 52px;
}

.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(5),
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(5) {
  width: 44px;
  min-width: 44px;
}

.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(6),
.pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(6) {
  width: 82px;
  min-width: 82px;
  white-space: nowrap;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > thead.detail-subhead > tr > th {
  background: transparent !important;
  border-bottom: none !important;
  color: #94a3b8 !important;
  font-weight: 600;
}

body.smartolt-dashboard .pon-outage-section__body .pon-gps-icon {
  font-size: 22px !important;
  line-height: 1 !important;
  vertical-align: middle;
}

body.smartolt-dashboard .pon-outage-section__body .pon-gps-icon::before {
  font-size: 22px !important;
}

body.smartolt-dashboard .pon-outage-section__body a.pon-gps-link {
  margin-left: 12px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-gps-icon--disabled {
  margin-left: 12px;
  opacity: 0.3;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary {
  border-spacing: 0;
  background: #f6f8fa;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 7px 12px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary > tbody > tr.pon-group-row > td {
  padding: 12px 14px;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  background: transparent;
  border: 0;
  vertical-align: middle;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td {
  background: transparent;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary > tbody > tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child {
  color: #334155;
  background: transparent;
  border-left: 0;
  border-radius: 0;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary > tbody > tr.pon-group-row > td:last-child {
  border-right: 0;
  border-radius: 0;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td {
  border-top: 1px dashed rgba(100, 116, 139, 0.28);
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary .pon-detail-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary {
  background: transparent;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-table--summary > tbody > tr > td {
  padding: 6px 14px 7px;
  color: #334155;
  font-size: 14px;
  line-height: 1.35;
  background: transparent;
  border: 0;
  vertical-align: middle;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-table--summary > tbody > tr > td:first-child {
  padding-left: 36px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-branch {
  display: inline-block;
  width: 16px;
  height: 14px;
  margin-right: 8px;
  border-left: 1px solid rgba(100, 116, 139, 0.5);
  border-bottom: 1px solid rgba(100, 116, 139, 0.5);
  vertical-align: text-top;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-board-label {
  color: #64748b;
  font-weight: 600;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-olt-label {
  display: inline-block;
  margin-left: 10px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 1200px) {
  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(1),
  .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:nth-child(1),
  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(1),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(1) {
    width: 50%;
  }

  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(2),
  .pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(2),
  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(2),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(2) {
    width: 16%;
  }

  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(3),
  .pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(3),
  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(3),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(3) {
    width: 14%;
  }

  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(4),
  .pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(4),
  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(4),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(4) {
    width: 20%;
  }
}

body.smartolt-dashboard .pon-outage-section__body .table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: #fafafa;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table > thead > tr > th {
  padding: 10px 14px 8px;
  border: 0 !important;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  background: transparent !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.table-striped > tbody > tr.psd-row:nth-of-type(odd) > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td {
  padding: 12px 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff !important;
  vertical-align: middle;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background: #f7f9fb !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:last-child {
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td {
  background: #f7f9fb !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table {
  border-collapse: separate;
  border-spacing: 0 6px;
  background: #f7f9fb !important;
  border-radius: 6px;
  padding: 0 12px 8px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table.table-striped > tbody > tr:nth-of-type(odd) > td {
  padding: 10px 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff !important;
  vertical-align: middle;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:first-child {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background: #f7f9fb !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:last-child {
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:first-child {
  background: #fff !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > thead > tr > th {
  border: 0 !important;
  color: #cbd5e1;
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.table-striped > tbody > tr.psd-row:nth-of-type(odd) > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td {
  border-top-color: rgba(148, 163, 184, 0.16);
  border-bottom-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.62) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table {
  background: rgba(15, 23, 42, 0.34);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child {
  border-left-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.34) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:last-child {
  border-right-color: rgba(148, 163, 184, 0.16);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table {
  background: rgba(15, 23, 42, 0.34) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table.table-striped > tbody > tr:nth-of-type(odd) > td {
  border-top-color: rgba(148, 163, 184, 0.16);
  border-bottom-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.62) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:first-child {
  border-left-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.34) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:last-child {
  border-right-color: rgba(148, 163, 184, 0.16);
}



/* Night mode */
html.smartolt-night body.smartolt-dashboard .pon-outage-section {
  border: none;
  background: transparent;
  box-shadow: none;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section + .pon-outage-section .pon-outage-section__head::before {
  border-top-color: rgba(148, 163, 184, 0.22);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__head {
  background: transparent;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__head--toggle:hover {
  background: transparent;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__label {
  color: #e2e8f0;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__stats {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__hint,
html.smartolt-night body.smartolt-dashboard .pon-outage-groupby__label {
  color: #94a3b8;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-groupby__buttons {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.8);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-groupby .pon-groupby {
  font-family: inherit;
  font-size: 13px;
  color: #cbd5e1;
  border-right-color: rgba(148, 163, 184, 0.15);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-groupby .pon-groupby:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-groupby .pon-groupby.active {
  background: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  font-weight: 600;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body {
  background: transparent;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table > thead > tr > th {
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.55);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table > tbody > tr > td {
  color: #e2e8f0;
  border-top-color: rgba(148, 163, 184, 0.12);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table-striped > tbody > tr:nth-of-type(even) > td {
  background-color: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td {
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row .detail-subhead > tr > th,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row .text-muted,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table .text-muted {
  color: #94a3b8 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table a:not(.btn) {
  color: #93c5fd;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table a:not(.btn):hover,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .table a:not(.btn):focus {
  color: #bfdbfe;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-sort-caret,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .fa-sort {
  color: #64748b;
  opacity: 0.55 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-row > td:first-child > .fa {
  color: #94a3b8;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table {
  background: rgba(15, 23, 42, 0.34) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td {
  border-top-color: rgba(148, 163, 184, 0.16) !important;
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
  background: rgba(15, 23, 42, 0.62) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:first-child {
  border-left-color: rgba(148, 163, 184, 0.16) !important;
  background: rgba(15, 23, 42, 0.34) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:last-child {
  border-right-color: rgba(148, 163, 184, 0.16) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table.table-striped > tbody > tr:nth-of-type(odd) > td:first-child {
  background: rgba(15, 23, 42, 0.62) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table {
  table-layout: fixed !important;
  width: 100% !important;
  min-width: 100% !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(1),
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(1) {
  width: 49% !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(2),
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(2) {
  width: 40px !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(3),
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(3),
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(4),
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(4) {
  width: 52px !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(5),
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(5) {
  width: 44px !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > thead > tr > th:nth-child(6),
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .table > tbody > tr > td:nth-child(6) {
  width: 82px !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table {
  background: rgba(255, 255, 255, 0.035) !important;
  border-radius: 6px;
  padding: 0 12px 8px;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > thead > tr > th {
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table {
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row {
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > thead.detail-subhead > tr > th {
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table.table-striped > tbody > tr:nth-of-type(odd) > td:first-child {
  background: rgba(15, 23, 42, 0.62) !important;
}

/* PON outage: panel-body scroll parity with legacy table-responsive */
html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .panel-body--pon-outage:last-child,
html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .panel-body--pon-outage {
  border-bottom-left-radius: var(--dash-radius);
  border-bottom-right-radius: var(--dash-radius);
  min-height: 96px;
  overflow: hidden;
  position: relative;
}

html.smartolt-night body.smartolt-dashboard .panel-default > .panel-body--pon-outage:last-child,
html.smartolt-night body.smartolt-dashboard .panel-default > .panel-body--pon-outage {
  border-bottom-left-radius: var(--dash-radius);
  border-bottom-right-radius: var(--dash-radius);
  min-height: 96px;
  overflow: hidden;
  position: relative;
}

body.smartolt-dashboard .pon-outage-loader,
body.smartolt-dashboard .pon-outage-empty {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 13px;
  gap: 8px;
  justify-content: center;
  line-height: 1.4;
  min-height: 96px;
  padding: 16px;
  text-align: center;
}

body.smartolt-dashboard .pon-outage-loader {
  gap: 0;
  overflow: hidden;
}

.pon-outage-loader {
  color: #64748b;
}

body.smartolt-dashboard .pon-outage-loader::before,
body.smartolt-dashboard .pon-outage-loader::after {
  animation: pon-outage-loader-line 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(100, 116, 139, 0), rgba(100, 116, 139, 0.42), rgba(100, 116, 139, 0));
  content: "";
  display: none;
  flex: 1 1 90px;
  height: 1px;
  max-width: 150px;
  min-width: 42px;
}

body.smartolt-dashboard .pon-outage-loader::before {
  animation-direction: reverse;
}

.pon-outage-loader .fa,
.pon-outage-loader .fa-spinner,
body.smartolt-dashboard .pon-outage-loader .fa,
body.smartolt-dashboard .pon-outage-loader .fa-spinner {
  color: #64748b !important;
  font-size: 16px;
}

body.smartolt-dashboard .pon-outage-loader span {
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

@keyframes pon-outage-loader-line {
  0%, 100% {
    opacity: 0.35;
    transform: scaleX(0.68);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

html.smartolt-night body.smartolt-dashboard .pon-outage-loader,
html.smartolt-night body.smartolt-dashboard .pon-outage-empty {
  color: #cbd5e1;
}

html.smartolt-night .pon-outage-loader,
html.smartolt-night .pon-outage-loader .fa,
html.smartolt-night .pon-outage-loader .fa-spinner,
html.smartolt-night body.smartolt-dashboard .pon-outage-loader .fa,
html.smartolt-night body.smartolt-dashboard .pon-outage-loader .fa-spinner {
  color: #cbd5e1 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-loader::before,
html.smartolt-night body.smartolt-dashboard .pon-outage-loader::after {
  background: linear-gradient(90deg, rgba(203, 213, 225, 0), rgba(203, 213, 225, 0.34), rgba(203, 213, 225, 0));
}

@media (max-width: 767px) {
  html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .panel-body--pon-outage:last-child,
  html:not(.smartolt-night) body.smartolt-dashboard .panel-default > .panel-body--pon-outage,
  html.smartolt-night body.smartolt-dashboard .panel-default > .panel-body--pon-outage:last-child,
  html.smartolt-night body.smartolt-dashboard .panel-default > .panel-body--pon-outage {
    overflow: visible;
  }

  body.smartolt-dashboard .panel-body--pon-outage {
    overflow-x: visible;
    padding: 0;
  }

  .pon-outage-wrap {
    padding: 8px 8px 10px;
  }

  .pon-outage-section {
    margin-top: 0;
  }

  .pon-outage-section + .pon-outage-section .pon-outage-section__head {
    margin-top: 3px;
  }

  .pon-outage-section__head {
    grid-template-columns: 14px 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .pon-outage-section__head::before {
    left: 10px;
    right: 10px;
  }

  .pon-outage-section__title {
    display: contents;
  }

  .pon-outage-section__icon {
    width: 28px;
    height: 32px;
    font-size: 17px;
  }

  .pon-outage-section__label {
    font-size: 14px;
    line-height: 1.45;
    width: auto;
    white-space: normal;
    word-break: normal;
  }

  .pon-outage-section__stats,
  .pon-outage-severity-pill {
    grid-column: 3;
    justify-self: start;
    font-size: 11px;
    padding: 2px 7px;
    max-width: 100%;
    white-space: normal;
    min-height: 0;
  }

  .pon-outage-section__hint {
    order: unset;
    margin-top: 0;
    line-height: 1.4;
  }

  .pon-outage-groupby {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 2px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }

  html.smartolt-night body.smartolt-dashboard .pon-outage-groupby {
    border-top-color: rgba(148, 163, 184, 0.12);
  }

  .pon-outage-groupby__buttons {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
  }

  .pon-outage-groupby__label {
    font-size: 14px;
  }

  .pon-outage-groupby .pon-groupby {
    flex: 1 1 50%;
    text-align: center;
    padding: 8px 6px;
    font-size: 14px;
  }

  .pon-outage-groupby--stale {
    padding: 4px 8px 0;
    border-top: none;
  }

  .pon-outage-section__body {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .pon-outage-section__body .pon-group-table {
    table-layout: auto;
    width: max-content;
    min-width: 100%;
  }

  .pon-outage-section__body .pon-detail-row > td > .table {
    table-layout: auto;
    width: max-content;
    min-width: 100%;
  }

  /* Drop the fixed layout on mobile so each column sizes to its own nowrap
     content (no header overlap) and the whole table — including the colspan
     detail sub-table — scrolls inside the body's overflow-x instead of
     spilling past the card edge. */
  .pon-outage-section__body .pon-signal-degradation-table {
    table-layout: auto;
    width: max-content;
    min-width: 100%;
  }

  .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th,
  .pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td {
    width: auto;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th:nth-child(2),
  .pon-outage-section__body .pon-signal-degradation-table > tbody > tr:not(.pon-detail-row) > td:nth-child(2) {
    min-width: 120px;
  }

  .pon-outage-section__body .table > thead > tr > th {
    font-size: 15px;
    padding: 7px 4px;
    line-height: 1.35;
  }

  .pon-outage-section__body .table > tbody > tr > td {
    font-size: 14px;
    padding: 7px 4px;
    line-height: 1.35;
  }

  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(1),
  .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row > td:nth-child(1) {
    width: auto;
    min-width: 120px;
    overflow: visible;
    text-overflow: clip;
  }

  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(2),
  .pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(2) {
    width: auto;
    min-width: 72px;
    white-space: nowrap;
  }

  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(3),
  .pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(3) {
    width: auto;
    min-width: 56px;
    white-space: nowrap;
  }

  .pon-outage-section__body .pon-group-table > thead > tr > th:nth-child(4),
  .pon-outage-section__body .pon-group-table > tbody > tr > td:nth-child(4) {
    width: auto;
    min-width: 88px;
    white-space: nowrap;
  }

  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(1),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(1) {
    width: auto;
    min-width: 120px;
    padding-left: 20px;
    overflow: visible;
    text-overflow: clip;
  }

  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(2),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(2) {
    width: auto;
    min-width: 72px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }

  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(3),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(3) {
    width: auto;
    min-width: 56px;
    white-space: nowrap;
  }

  .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th:nth-child(4),
  .pon-outage-section__body .pon-detail-row > td > .table > tbody > tr > td:nth-child(4) {
    width: auto;
    min-width: 88px;
    white-space: nowrap;
  }

  .pon-outage-section__body .pon-group-row > td:first-child {
    white-space: nowrap;
    word-break: normal;
  }
}

/* Collapsible outage sections */
.pon-outage-section:not(.is-open) .pon-outage-groupby {
  display: none;
}

.pon-outage-section.is-open .pon-outage-groupby {
  display: flex;
}

.pon-outage-section:not(.is-open) .pon-outage-section__hint {
  display: none;
}

.pon-outage-section:not(.is-open) .pon-outage-section__head {
  border-bottom: 0;
}

/* Stale + desktop: tighter layout, group-by in header when open */
.pon-outage-section--stale:not(.is-open) .pon-outage-section__head {
  border-bottom: 0;
}

.pon-outage-section--stale .pon-outage-groupby--stale {
  display: none;
}

.pon-outage-section--stale.is-open .pon-outage-groupby--stale {
  display: flex;
}

.pon-outage-section--stale .pon-outage-section__body--stale {
  padding: 0;
}

.pon-outage-section--stale .pon-outage-section__label,
.pon-outage-section--stale .pon-outage-section__stats {
  color: #64748b;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section--stale .pon-outage-section__label,
html.smartolt-night body.smartolt-dashboard .pon-outage-section--stale .pon-outage-section__stats {
  color: #94a3b8;
}

@media (min-width: 768px) {
  body.smartolt-dashboard .panel-body--pon-outage {
    padding: 0;
  }

  .pon-outage-wrap {
    padding: 4px 8px 6px;
  }

  .pon-outage-section {
    margin: 0;
  }

  .pon-outage-section + .pon-outage-section {
    margin-top: 2px;
  }

  .pon-outage-section__head {
    padding: 5px 16px;
    gap: 6px 8px;
  }

  .pon-outage-section--stale .pon-outage-section__head {
    padding: 5px 16px;
  }

  .pon-outage-section--stale .pon-outage-groupby--stale {
    padding: 0;
    margin: 0;
  }
}

/* OLT details — Troubleshoot tab */
#troubleshoot .olt-troubleshoot-well {
  background: #fafafa;
  border-color: #e5e5e5;
  margin-bottom: 12px;
}
#troubleshoot .olt-troubleshoot-well.margin-bottom-0 {
  margin-bottom: 0;
}
#troubleshoot .olt-troubleshoot-code {
  background: #f7f8fa;
  color: #555;
  border: 1px solid #e3e6ea;
}
#troubleshoot .olt-troubleshoot-divider {
  margin: 15px 0;
  border-color: #e5e5e5;
}
#troubleshoot .consistency-metrics {
  margin: 8px 0 12px;
}
#troubleshoot .consistency-metric {
  display: inline-block;
  margin: 0 6px 6px 0;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 3px;
}
#troubleshoot .consistency-metric--neutral {
  background: #f7f8fa;
  border: 1px solid #e3e6ea;
  color: #555;
}
#troubleshoot .consistency-metric--ok {
  background: #f4fbf5;
  border: 1px solid #dbeee0;
  color: #2f6841;
}
#troubleshoot .consistency-metric--warn {
  background: #fff8e6;
  border: 1px solid #ead8a5;
  color: #7a5b12;
}
#troubleshoot .consistency-section {
  border: 1px solid #e5e5e5;
  border-left: 4px solid #c7d0db;
  border-radius: 3px;
  margin: 14px 0;
  padding: 12px 14px;
  background: #fff;
}
#troubleshoot .consistency-section__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
#troubleshoot .consistency-section__title .fa {
  width: 18px;
}
#troubleshoot .consistency-ok-line {
  margin: 6px 0 8px;
  color: #4f7659;
}
#troubleshoot .consistency-table-block {
  margin: 12px 0;
}
#troubleshoot .consistency-table-block__title {
  font-weight: 600;
  margin-bottom: 6px;
}
#troubleshoot .consistency-count-badge {
  display: inline-block;
  min-width: 20px;
  padding: 2px 7px;
  border-radius: 10px;
  background: #eef1f4;
  color: #555;
  text-align: center;
  font-size: 12px;
}
#troubleshoot .consistency-table {
  margin-bottom: 0;
  background: #fff;
}
#troubleshoot .consistency-banner {
  border: 1px solid #e3e6ea;
  background: #f7f9fb;
  border-radius: 3px;
  padding: 9px 11px;
  margin-bottom: 12px;
  color: #555;
}
#troubleshoot .consistency-banner--ok .fa-check-circle {
  color: #4f7659;
}
#troubleshoot .consistency-banner--running {
  margin-bottom: 0;
}
#troubleshoot .consistency-progress-bar {
  margin-top: 8px;
  background: #e9ecef;
  border-radius: 3px;
  height: 14px;
  overflow: hidden;
}
#troubleshoot .consistency-progress-bar__fill {
  height: 14px;
  background: #3c8dbc;
}
#troubleshoot .mig-wan-note {
  margin-top: 10px;
}
#troubleshoot .mig-wan-hint {
  margin-top: 4px;
}
#troubleshoot .mig-wan-hint--warn { color: #d97706; }
#troubleshoot .mig-wan-hint--ok { color: #22C55E; }
#troubleshoot .mig-wan-hint--info { color: #3c8dbc; }
#troubleshoot .mig-wan-progress-line {
  margin-top: 6px;
}

/* PON outage compact section bodies: final override because the shared table
   skin below/above this block also styles .pon-group-table rows. */
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary {
  border-spacing: 0 !important;
  background: #f8f9fa !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 5px 12px 5px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row {
  background: transparent !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:last-child {
  padding: 8px 14px !important;
  color: #334155 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td {
  border-top: 1px dashed rgba(100, 116, 139, 0.32) !important;
  background-image: repeating-linear-gradient(90deg, rgba(100, 116, 139, 0.34) 0, rgba(100, 116, 139, 0.34) 5px, transparent 5px, transparent 9px) !important;
  background-position: left top !important;
  background-repeat: repeat-x !important;
  background-size: 9px 1px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:last-child {
  border-top: 1px dashed rgba(100, 116, 139, 0.36) !important;
  background: repeating-linear-gradient(90deg, rgba(100, 116, 139, 0.42) 0, rgba(100, 116, 139, 0.42) 6px, transparent 6px, transparent 11px) left top / 11px 2px repeat-x transparent !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td:last-child {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  padding: 0 12px 4px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td {
  padding: 4px 14px 5px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td:first-child {
  padding-left: 36px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table {
  border-spacing: 0 !important;
  background: #f8f9fa !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 5px 12px 5px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th {
  padding: 7px 10px 6px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row {
  background: transparent !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.table-striped > tbody > tr.psd-row:nth-of-type(odd) > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.table-striped > tbody > tr.psd-row:nth-of-type(odd) > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:last-child {
  padding: 8px 10px !important;
  color: #334155 !important;
  font-weight: 400 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-outage-severity-pill {
  font-weight: 400 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  padding: 0 12px 4px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > thead.detail-subhead > tr > th {
  padding: 6px 10px 5px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > tbody > tr > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table-striped > tbody > tr:nth-of-type(odd) > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > tbody > tr > td:first-child {
  padding: 5px 10px !important;
  font-weight: 400 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-separator > td {
  height: 1px;
  padding: 0 14px !important;
  line-height: 0;
  background: transparent !important;
  border: 0 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-group-separator__line {
  display: block;
  width: 100%;
  border-top: 1px dashed rgba(100, 116, 139, 0.36);
}

body.smartolt-dashboard .pon-outage-section--stale .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td {
  color: #64748b !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary {
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row {
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:last-child {
  color: #e2e8f0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td {
  border-top: 1px dashed rgba(148, 163, 184, 0.3) !important;
  background-image: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.34) 0, rgba(148, 163, 184, 0.34) 5px, transparent 5px, transparent 9px) !important;
  background-position: left top !important;
  background-repeat: repeat-x !important;
  background-size: 9px 1px !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:last-child {
  border-top: 1px dashed rgba(148, 163, 184, 0.34) !important;
  background: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.38) 0, rgba(148, 163, 184, 0.38) 6px, transparent 6px, transparent 11px) left top / 11px 2px repeat-x transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td:last-child {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-group-separator__line {
  border-top-color: rgba(148, 163, 184, 0.34);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section--stale .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td {
  color: #94a3b8 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table {
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row {
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > thead.detail-subhead > tr > th {
  color: #cbd5e1 !important;
  background: transparent !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.table-striped > tbody > tr.psd-row:nth-of-type(odd) > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.table-striped > tbody > tr.psd-row:nth-of-type(odd) > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > tbody > tr > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table-striped > tbody > tr:nth-of-type(odd) > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > tbody > tr > td:first-child {
  color: #e2e8f0 !important;
  background: transparent !important;
  border: 0 !important;
  font-weight: 400 !important;
}

/* PON outage unified inner tables: lighter base, solid separators, normal expanded text. */
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table {
  background: #fbfcfd !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td {
  border-top: 1px solid rgba(100, 116, 139, 0.26) !important;
  background-image: none !important;
  background-size: auto !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-group-separator__line {
  border-top: 1px solid rgba(100, 116, 139, 0.26) !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > thead.detail-subhead > tr > th {
  border-bottom: 1px solid rgba(100, 116, 139, 0.18) !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > tbody > tr + tr > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr + tr > td {
  border-top: 1px solid rgba(100, 116, 139, 0.16) !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row th,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row td,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row a,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row span,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-board-label,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-olt-label {
  font-weight: 400 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table {
  background: rgba(255, 255, 255, 0.045) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td {
  border-top: 1px solid rgba(148, 163, 184, 0.24) !important;
  background-image: none !important;
  background-size: auto !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-group-separator__line {
  border-top: 1px solid rgba(148, 163, 184, 0.24) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > thead.detail-subhead > tr > th {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > tbody > tr + tr > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr + tr > td {
  border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table > tbody > tr + tr > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table > tbody > tr + tr > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table > tbody > tr + tr > td:last-child {
  border-top: 1px solid rgba(100, 116, 139, 0.16) !important;
  background-image: none !important;
  background-size: auto !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table > tbody > tr + tr > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table > tbody > tr + tr > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table.table > tbody > tr + tr > td:last-child {
  border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
  background-image: none !important;
  background-size: auto !important;
}

/* Specificity closure for older cell-edge and detail-heading rules. */
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:last-child {
  border-top: 1px solid rgba(100, 116, 139, 0.26) !important;
  background-image: none !important;
  background-size: auto !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > thead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .table > thead.detail-subhead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-detail-row > td > .table > thead.detail-subhead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row > td > .pon-detail-table--summary > thead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row strong,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row b {
  font-weight: 400 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row.pon-group-row--separated > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:last-child {
  border-top: 1px solid rgba(148, 163, 184, 0.24) !important;
  background-image: none !important;
  background-size: auto !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:last-child {
  border-top: 1px solid rgba(100, 116, 139, 0.26) !important;
  background-image: none !important;
  background-size: auto !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td {
  border-top: 1px solid rgba(100, 116, 139, 0.26) !important;
  background-image: none !important;
  background-size: auto !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-group-row + tr.pon-group-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.pon-group-table--summary > tbody > tr.pon-detail-row + tr.pon-group-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td:last-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td:last-child {
  border-top: 1px solid rgba(148, 163, 184, 0.24) !important;
  background-image: none !important;
  background-size: auto !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.psd-row + tr.psd-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table.pon-signal-degradation-table > tbody > tr.pon-detail-row + tr.psd-row > td {
  border-top: 1px solid rgba(148, 163, 184, 0.24) !important;
  background-image: none !important;
  background-size: auto !important;
}

/* PON outage table copy should stay regular-weight in every expanded section. */
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > thead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:last-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row a,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row span,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > thead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary a,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary span,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row a,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row span {
  font-weight: 400 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row .pon-outage-severity-pill {
  display: inline !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  line-height: inherit !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row > td.pon-signal-severity-cell {
  padding-left: 4px !important;
  padding-right: 4px !important;
  text-align: center;
  white-space: nowrap;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table > thead > tr > th.pon-signal-severity-heading {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-severity-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 0;
  border-radius: 50%;
  vertical-align: -1px;
  box-shadow: none;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-severity-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-right: 5px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-severity-marker > .fa {
  line-height: 1;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-severity-dot--1 {
  background: #D98A00;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-severity-dot--2 {
  background: #9333EA;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-severity-dot--3 {
  background: #DC2626;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-detail-table > tbody > tr > td.pon-signal-onu-label {
  padding-left: 10px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-detail-table .pon-detail-branch {
  margin-right: 8px;
}

body.smartolt-dashboard .pon-signal-degradation-section .pon-outage-section__head [data-psd-filter] {
  cursor: pointer;
}

body.smartolt-dashboard .pon-signal-degradation-section .pon-outage-section__head [data-psd-filter].is-active {
  box-shadow: 0 0 0 1px currentColor inset;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table {
  table-layout: fixed;
  width: 100%;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > thead > tr > th,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > tbody > tr > td {
  padding-left: 3px !important;
  padding-right: 3px !important;
  min-width: 0 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > thead > tr > th {
  font-size: 11px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > thead > tr > th:nth-child(2),
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > tbody > tr > td:nth-child(2) {
  width: 40px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > thead > tr > th:nth-child(3),
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > thead > tr > th:nth-child(4),
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > tbody > tr > td:nth-child(3) {
  width: 52px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > tbody > tr > td:nth-child(4) {
  width: 52px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > thead > tr > th:nth-child(5),
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > tbody > tr > td:nth-child(5) {
  width: 44px;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > thead > tr > th:nth-child(6),
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .pon-signal-detail-table > tbody > tr > td:nth-child(6) {
  width: 82px;
}

/* Keep all PON outage carets and table hovers consistent with the OLT/Info lists. */
body.smartolt-dashboard .pon-outage-section__caret,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .psd-row .fa-caret-right,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .psd-row .fa-caret-down,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table .pon-group-row .fa-caret-right,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table .pon-group-row .fa-caret-down {
  color: #555 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__caret,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .psd-row .fa-caret-right,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table .psd-row .fa-caret-down,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table .pon-group-row .fa-caret-right,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table .pon-group-row .fa-caret-down {
  color: #e2e8f0 !important;
}

body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row:hover,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row:hover > td,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row:hover > td:first-child,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row:hover,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row:hover > td,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row:hover > td:first-child,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-detail-table--summary > tbody > tr:hover,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-detail-table--summary > tbody > tr:hover > td,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-detail-table--summary > tbody > tr:hover > td:first-child,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-detail-table > tbody > tr:hover,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-detail-table > tbody > tr:hover > td,
body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-detail-table > tbody > tr:hover > td:first-child {
  background: #ecf0f1 !important;
  background-color: #ecf0f1 !important;
  background-image: none !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row:hover,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row:hover > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-degradation-table > tbody > tr.psd-row:hover > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row:hover,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row:hover > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-group-table > tbody > tr.pon-group-row:hover > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-detail-table--summary > tbody > tr:hover,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-detail-table--summary > tbody > tr:hover > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-detail-table--summary > tbody > tr:hover > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-detail-table > tbody > tr:hover,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-detail-table > tbody > tr:hover > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-outage-section__body .pon-signal-detail-table > tbody > tr:hover > td:first-child {
  background: rgba(29, 139, 255, 0.12) !important;
  background-color: rgba(29, 139, 255, 0.12) !important;
  background-image: none !important;
}

body.smartolt-dashboard .pon-outage-wrap .pon-gps-link,
body.smartolt-dashboard .pon-outage-wrap .pon-gps-disabled {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 6px;
  border-radius: 50%;
  border: 1px solid #bfdbfe;
  background: #eef4ff;
  color: #0064c8;
  font-size: 20px !important;
  line-height: 1 !important;
  vertical-align: middle;
  text-decoration: none;
}

body.smartolt-dashboard .pon-outage-wrap .pon-gps-link:hover,
body.smartolt-dashboard .pon-outage-wrap .pon-gps-link:focus {
  background: #eef4ff;
  color: #0057ad;
  text-decoration: none;
  outline: none;
}

body.smartolt-dashboard .pon-outage-wrap .pon-gps-disabled {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #94a3b8;
  cursor: default;
}

body.smartolt-dashboard .pon-outage-wrap .pon-gps-icon,
body.smartolt-dashboard .pon-outage-wrap .pon-gps-icon::before {
  font-size: 20px !important;
  line-height: 1 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-gps-link,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-gps-link:hover,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-gps-link:focus {
  background: rgba(140, 200, 255, 0.1);
  border-color: rgba(140, 200, 255, 0.28);
  color: #8cc8ff;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-gps-disabled {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  color: #64748b;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-signal-severity-dot {
  box-shadow: none;
}

body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row > td {
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-board-label,
body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a {
  font-size: inherit !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-board-label {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}

body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a {
  color: #0064c8 !important;
}

body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a:first-of-type {
  display: inline-block;
  min-width: 48px;
  text-align: right;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary {
  table-layout: fixed;
  width: 100%;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td.pon-detail-item-label {
  width: 49% !important;
  min-width: 0 !important;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td.pon-detail-position-cell {
  width: 40px !important;
  min-width: 40px !important;
  padding-left: 10px !important;
  padding-right: 0 !important;
  text-align: left !important;
  white-space: nowrap;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td.pon-detail-spacer-cell {
  width: 8% !important;
  min-width: 32px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td:nth-child(4) {
  width: 17% !important;
  min-width: 76px !important;
  white-space: nowrap;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr > td:nth-child(5) {
  width: 18% !important;
  min-width: 96px !important;
  white-space: nowrap;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-position-cell .pon-gps-link,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-position-cell .pon-gps-disabled {
  margin-left: 0;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-position-heading,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-position-cell {
  padding-left: 4px !important;
  padding-right: 4px !important;
  text-align: center;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-position-heading > .fa-map-marker {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 1 !important;
  vertical-align: middle;
}

body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .pon-signal-detail-table > thead > tr > th.pon-signal-position-heading,
body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .pon-signal-detail-table > tbody > tr > td.pon-signal-position-cell {
  width: 40px !important;
  min-width: 40px !important;
  padding-left: 10px !important;
  padding-right: 0 !important;
  text-align: left;
}

body.smartolt-dashboard .pon-outage-section__body .pon-signal-position-cell .pon-gps-link,
body.smartolt-dashboard .pon-outage-section__body .pon-signal-position-cell .pon-gps-disabled {
  margin-left: 0;
}

@media (max-width: 767px) {
  body.smartolt-dashboard .pon-outage-section__body .pon-signal-degradation-table {
    table-layout: fixed !important;
    width: 760px !important;
    min-width: 760px !important;
  }

  body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .pon-signal-detail-table {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 100% !important;
  }

  body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .pon-signal-detail-table > thead > tr > th:nth-child(1),
  body.smartolt-dashboard .pon-outage-section__body .pon-detail-row[data-psd-idx] > td > .pon-signal-detail-table > tbody > tr > td:nth-child(1) {
    width: 49% !important;
  }
}

body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a:hover,
body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a:focus {
  color: #0057ad !important;
  text-decoration: none !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row > td {
  color: #e2e8f0 !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a {
  color: #8cc8ff !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a:hover,
html.smartolt-night body.smartolt-dashboard .pon-outage-wrap .pon-detail-table--summary > tbody > tr.pon-detail-item-row .pon-detail-item-label > a:focus {
  color: #bfdbfe !important;
}

/* PON rows inside the same expanded OLT need a visible divider after cell reset rules. */
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr.pon-detail-item-row + tr.pon-detail-item-row > td,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr.pon-detail-item-row + tr.pon-detail-item-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr.pon-detail-item-row + tr.pon-detail-item-row > td:last-child {
  border-top: 1px solid rgba(100, 116, 139, 0.16) !important;
}

html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr.pon-detail-item-row + tr.pon-detail-item-row > td,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr.pon-detail-item-row + tr.pon-detail-item-row > td:first-child,
html.smartolt-night body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary .pon-detail-row > td > .pon-detail-table--summary > tbody > tr.pon-detail-item-row + tr.pon-detail-item-row > td:last-child {
  border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
}

body.smartolt-dashboard .pon-outage-section__label {
  font-weight: 400 !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:first-child,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary.table-striped > tbody > tr.pon-group-row:nth-of-type(odd) > td:first-child {
  padding-left: 28px !important;
}

body.smartolt-dashboard .pon-outage-section__body .pon-outage-allclear {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  color: #64748b;
}

body.smartolt-dashboard .pon-outage-section__body .pon-outage-allclear .fa {
  font-size: 40px;
  color: #1fb325;
  line-height: 1;
}

body.smartolt-dashboard .pon-signal-no-variation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
  white-space: nowrap;
}

body.smartolt-dashboard .pon-signal-no-variation .fa {
  flex: 0 0 auto;
  width: 14px;
  text-align: center;
  color: #1fb325;
}

body.smartolt-dashboard .pon-outage-section__stats--clear {
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
}

/* Night pill is re-declared in this file at ~1551 (loaded after night.css), so the
   --clear neutralize must be night-scoped HERE to outrank it in night theme. */
html.smartolt-night body.smartolt-dashboard .pon-outage-section__stats--clear {
  background: none;
  border: 0;
}

body.smartolt-dashboard .pon-outage-section__stats--clear .fa,
body.smartolt-dashboard .pon-signal-no-variation .fa {
  font-size: 14px;
  color: #1fb325;
}

@media (max-width: 767px) {
  body.smartolt-dashboard .pon-signal-no-variation {
    grid-column: 3;
  }
}

body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:first-child > .fa-caret-right,
body.smartolt-dashboard .pon-outage-section__body .pon-group-table.pon-group-table--summary > tbody > tr.pon-group-row > td:first-child > .fa-caret-down {
  display: inline-block;
  width: 10px;
  margin-right: 6px;
  text-align: center;
}

/* Authorization-preset {var} chips + inline code as orange chips (light theme), across the
   preset form, the listing table and the wizard modal. Night equivalents are in
   dashboard-smartolt-night.css. The {var} chips are click-to-insert (not copy), so they
   keep a pointer + hover/active feedback; code_copy.js skips .pattern-var-link. */
#preset_form code,
#presetsTable code,
#presetWizardModal #wizard_preset_form code,
.pattern-var-link {
  color: #f59737;
  background: #fff5ea;
  border: 1px solid #fbe0bd;
  border-radius: 4px;
  padding: 1px 5px;
}
.pattern-var-link {
  cursor: pointer;
}
.pattern-var-link:hover {
  background: #ffe9d2;
  border-color: #f7c98a;
}
.pattern-var-link:active {
  background: #fcdcb6;
}
