#operacionalShell .op-signal-section { display: grid; gap: 14px; min-width: 0; padding: 20px 22px; border: 1px solid #dce3ec; border-radius: 16px; background: #fff; color: #172238; }
#operacionalShell:not(.op-v2) .op-signal-section { margin: 22px 0; }
#operacionalShell .op-signal-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
#operacionalShell .op-signal-head h2 { margin: 2px 0 6px; font-size: 1.26rem; }
#operacionalShell .op-signal-head p { margin: 0; max-width: 720px; color: #58657a; }
#operacionalShell .op-signal-eyebrow { margin: 0; color: #5966b4; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#operacionalShell .op-signal-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex: none; }
#operacionalShell .op-signal-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
#operacionalShell .op-signal-metric { display: grid; gap: 5px; min-width: 0; padding: 4px 20px 4px 0; color: #7a561c; }
#operacionalShell .op-signal-metric.is-critico { padding: 4px 0 4px 20px; border-left: 1px solid #e5e9f0; color: #9c3038; }
#operacionalShell .op-signal-card-label { font-weight: 800; }
#operacionalShell .op-signal-card-label small { display: block; margin-top: 2px; color: #6d7480; font-weight: 500; }
#operacionalShell .op-signal-metric strong { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1; font-variant-numeric: tabular-nums; }
#operacionalShell .op-signal-card-goal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px; font-size: .84rem; }
#operacionalShell .op-signal-card-goal b { padding: 3px 7px; border-radius: 999px; background: #fff; font-size: .75rem; }
#operacionalShell .op-signal-card-goal b.is-ok { color: #1f7049; }
#operacionalShell .op-signal-card-goal b.is-over { color: #b43b42; }
#operacionalShell .op-signal-open { justify-self: start; min-height: 44px; padding: 8px 14px; border: 1px solid #cbd3e4; border-radius: 9px; background: #f6f7ff; color: #34458b; font: inherit; font-size: .87rem; font-weight: 800; cursor: pointer; }
#operacionalShell .op-signal-open:hover { border-color: #5966b4; background: #eef0ff; }
#operacionalShell .op-signal-open:focus-visible { outline: 3px solid #5865bd; outline-offset: 2px; }
#operacionalShell .op-signal-footnote, #operacionalShell .op-signal-scope { margin: 0; color: #58657a; font-size: .84rem; }
#operacionalShell .op-signal-alert { margin: 0; padding: 10px 12px; border: 1px solid #e7c783; border-radius: 10px; background: #fff8e9; color: #6b4b11; }
#operacionalShell .op-signal-empty { padding: 24px 16px; border: 1px dashed #b7c5d8; border-radius: 10px; color: #58657a; text-align: center; }
#operacionalShell .op-signal-overlay { z-index: 94; }
#operacionalShell .op-signal-modal { display: flex; flex-direction: column; width: min(1160px, 100%); max-height: min(88dvh, 900px); overflow: hidden; }
#operacionalShell .op-signal-modal.is-targets { width: min(620px, 100%); }
#operacionalShell .op-topology-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #58657a; font-size: .84rem; }
#operacionalShell .op-topology-crumbs button { min-height: 36px; border: 0; padding: 4px 0; background: transparent; color: #34458b; font: inherit; font-weight: 700; cursor: pointer; }
#operacionalShell .op-topology-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
#operacionalShell .op-topology-stat { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid #dce3ec; border-radius: 12px; background: #fff; color: #34458b; text-align: left; font: inherit; }
#operacionalShell button.op-topology-stat { cursor: pointer; }
#operacionalShell .op-topology-stat[aria-pressed="true"] { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; background: #f6f7ff; }
#operacionalShell .op-topology-stat.is-critico { color: #a63039; }
#operacionalShell .op-topology-stat.is-alto { color: #8c5c0d; }
#operacionalShell .op-topology-stat span { font-size: .81rem; font-weight: 700; }
#operacionalShell .op-topology-stat strong { font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
#operacionalShell .op-topology-stat small { color: #58657a; font-size: .73rem; }
#operacionalShell .op-topology-coverage { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding: 13px 16px; border: 1px solid #dce3ec; border-radius: 10px; background: #f8f9fc; color: #34458b; }
#operacionalShell .op-topology-coverage-heading { flex: 1 1 260px; min-width: 0; }
#operacionalShell .op-topology-coverage-heading h3 { margin: 0 0 5px; color: #233553; font-size: .83rem; font-weight: 800; }
#operacionalShell .op-topology-coverage-heading p { margin: 0; font-size: .84rem; }
#operacionalShell .op-topology-coverage-heading strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
#operacionalShell .op-topology-coverage-heading span { color: #58657a; }
#operacionalShell .op-topology-coverage-stale { display: inline-block; margin-top: 5px; color: #6b4b11; font-size: .75rem; }
#operacionalShell .op-topology-coverage-counts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; }
#operacionalShell .op-topology-coverage-counts > div { display: grid; gap: 4px; }
#operacionalShell .op-topology-coverage-counts dt { color: #58657a; font-size: .75rem; }
#operacionalShell .op-topology-coverage-counts dd { margin: 0; font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
#operacionalShell .op-topology-coverage-link { min-height: 36px; margin: -5px -8px; padding: 5px 8px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #34458b; font: inherit; cursor: pointer; }
#operacionalShell .op-topology-coverage-link:not(:disabled):hover, #operacionalShell .op-topology-coverage-link[aria-pressed="true"] { border-color: #8795c1; background: #eef2ff; }
#operacionalShell .op-topology-coverage-link:disabled span { visibility: hidden; }
#operacionalShell .op-topology-link-filter { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 9px 12px; border: 1px solid #cbd3e4; border-radius: 8px; background: #f6f7ff; color: #34458b; font-size: .83rem; }
#operacionalShell .op-topology-coverage-note { flex-basis: 100%; margin: 0; color: #58657a; font-size: .75rem; line-height: 1.45; }
#operacionalShell .op-topology-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
#operacionalShell .op-topology-tools form { display: flex; align-items: end; gap: 8px; flex: 1 1 280px; }
#operacionalShell .op-topology-tools label { display: grid; gap: 5px; font-size: .78rem; font-weight: 700; }
#operacionalShell .op-topology-tools form label { flex: 1; }
#operacionalShell .op-topology-tools .op-input { width: 100%; }
#operacionalShell .op-topology-table { min-width: 760px; }
#operacionalShell .op-topology-table :is(thead,tbody) :is(th,td):not(:first-child) { width: 12%; }
#operacionalShell .op-topology-table tbody th { text-transform: none; font-size: .87rem; }
#operacionalShell .op-topology-table tbody .op-signal-city-name { min-height: 32px; }
#operacionalShell .op-topology-table tbody th small, #operacionalShell .op-topology-clients th small { display: block; color: #58657a; font-weight: 400; font-size: .75rem; padding: 0 9px 5px; }
#operacionalShell .op-topology-missing { background: #fffaf0; }
#operacionalShell .op-topology-clients { min-width: 850px; width: 100%; }
#operacionalShell .op-topology-clients :is(th,td) { text-align: left; vertical-align: top; padding: 12px; }
#operacionalShell .op-topology-clients th:first-child { width: 22%; }
#operacionalShell .op-topology-clients th:nth-child(2) { width: 14%; }
#operacionalShell .op-topology-clients tbody th { text-transform: none; font-size: .87rem; }
#operacionalShell .op-topology-onus { display: grid; gap: 8px; }
#operacionalShell .op-topology-onu { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 10px; padding: 10px; border: 1px solid #e7ebf1; border-radius: 8px; background: #f8f9fc; font-size: .76rem; }
#operacionalShell .op-topology-onu > div { display: flex; flex-direction: column; align-items: start; gap: 5px; overflow-wrap: anywhere; }
#operacionalShell .op-topology-modal button:focus-visible { outline: 3px solid #5865bd; outline-offset: 2px; }
#operacionalShell .op-topology-modal button:disabled { cursor: default; opacity: .55; }
#operacionalShell .op-signal-group-tabs { flex-wrap: wrap; }
@media (max-width: 700px) {
  #operacionalShell .op-topology-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #operacionalShell .op-topology-stat { padding: 12px; }
}
#operacionalShell .op-signal-modal .op-modal-head { flex: none; }
#operacionalShell .op-signal-modal .op-modal-body { min-height: 0; overflow: auto; display: block; }
#operacionalShell .op-signal-modal .op-modal-body > * + * { margin-top: 14px; }
#operacionalShell .op-signal-modal .op-modal-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#operacionalShell .op-signal-modal .op-modal-foot > div { display: flex; gap: 8px; }
#operacionalShell .op-signal-modal-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .87rem; }
#operacionalShell .op-signal-modal-summary span { color: #58657a; }
#operacionalShell .op-signal-group-tabs { display: flex; gap: 4px; border-bottom: 1px solid #dce3ec; }
#operacionalShell .op-signal-group-tab { min-height: 44px; padding: 9px 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #58657a; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
#operacionalShell .op-signal-group-tab[aria-pressed="true"] { border-bottom-color: #4556a6; color: #34458b; }
#operacionalShell .op-signal-group-tab:hover { color: #34458b; }
#operacionalShell .op-signal-group-tab:focus-visible { outline: 3px solid #5865bd; outline-offset: -3px; }
#operacionalShell .op-signal-back { display: inline-flex; margin: 8px 0 2px; padding: 0; border: 0; background: none; color: #4556a6; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
#operacionalShell .op-signal-back:hover { text-decoration: underline; }
#operacionalShell .op-signal-back:focus-visible { outline: 3px solid #5865bd; outline-offset: 3px; }
#operacionalShell .op-signal-city-table-wrap { overflow-x: auto; border: 1px solid #dce3ec; border-radius: 10px; }
#operacionalShell .op-signal-city-table { width: 100%; border-collapse: collapse; }
#operacionalShell .op-signal-pon-table { min-width: 1060px; }
#operacionalShell .op-signal-city-table :is(th,td) { padding: 9px 12px; border-bottom: 1px solid #e7ebf1; }
#operacionalShell .op-signal-city-table thead { background: #f4f6fa; color: #58657a; font-size: .76rem; text-transform: uppercase; }
#operacionalShell .op-signal-city-table :is(th,td):first-child { text-align: left; }
#operacionalShell .op-signal-city-table :is(th,td):not(:first-child) { width: 16%; text-align: right; font-variant-numeric: tabular-nums; }
#operacionalShell .op-signal-city-table tbody tr:last-child :is(th,td) { border-bottom: 0; }
#operacionalShell .op-signal-city-name, #operacionalShell .op-signal-city-count { min-height: 44px; padding: 6px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #34458b; font: inherit; font-weight: 800; cursor: pointer; }
#operacionalShell .op-signal-city-name { max-width: 100%; text-align: left; overflow-wrap: anywhere; }
#operacionalShell .op-signal-pon-name small { display: block; margin-top: 3px; color: #58657a; font-size: .76rem; font-weight: 500; }
#operacionalShell .op-signal-incomplete-title { margin: 5px 0 -7px; font-size: 1rem; }
#operacionalShell .op-signal-pon-table tbody td:last-child { overflow-wrap: anywhere; }
#operacionalShell .op-signal-pon-table :is(th,td):not(:first-child) { width: auto; }
#operacionalShell .op-signal-pon-table thead th { padding: 0; }
#operacionalShell .op-signal-pon-sort { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: flex-end; gap: 5px; padding: 9px 12px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; text-align: right; text-transform: inherit; cursor: pointer; }
#operacionalShell .op-signal-pon-table thead th:first-child .op-signal-pon-sort { justify-content: flex-start; text-align: left; }
#operacionalShell .op-signal-pon-sort:hover { color: #34458b; background: #e9edf7; }
#operacionalShell .op-signal-pon-sort:focus-visible { outline: 3px solid #5865bd; outline-offset: -3px; }
#operacionalShell .op-signal-pon-table th[aria-sort="ascending"] .op-signal-pon-sort, #operacionalShell .op-signal-pon-table th[aria-sort="descending"] .op-signal-pon-sort { color: #34458b; }
#operacionalShell .op-signal-pon-mobile-sort { display: none; }
#operacionalShell .op-signal-pon-row th { font-weight: 500; }
#operacionalShell .op-signal-pon-metric { display: inline-grid; justify-items: end; gap: 2px; }
#operacionalShell .op-signal-pon-metric small { color: #53647c; font-size: .75rem; font-variant-numeric: tabular-nums; }
#operacionalShell .op-signal-pon-label { display: inline-block; padding: 6px 9px; color: #53647c; }
#operacionalShell .op-signal-pon-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
#operacionalShell .op-signal-pon-tools .op-signal-scope { max-width: 780px; }
#operacionalShell .op-signal-city-count { min-width: 56px; }
#operacionalShell .op-signal-city-count.is-critico { background: #fff2f2; color: #a63039; }
#operacionalShell .op-signal-city-count.is-alto { background: #fff6e7; color: #8c5c0d; }
#operacionalShell .op-signal-city-count.is-todos { background: #eef2ff; color: #34458b; }
#operacionalShell .op-signal-city-name:hover, #operacionalShell .op-signal-city-count:hover { border-color: currentColor; }
#operacionalShell .op-signal-city-name:focus-visible, #operacionalShell .op-signal-city-count:focus-visible { outline: 3px solid #5865bd; outline-offset: 2px; }
#operacionalShell .op-signal-city-zero { color: #8791a0; }
#operacionalShell .op-signal-class { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
#operacionalShell .op-signal-class.is-critico { background: #fff2f2; color: #a63039; }
#operacionalShell .op-signal-class.is-alto { background: #fff6e7; color: #8c5c0d; }
#operacionalShell .op-signal-detail-actions { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
#operacionalShell .op-signal-detail-actions form { display: flex; align-items: end; gap: 8px; flex: 1 1 360px; }
#operacionalShell .op-signal-detail-actions label { display: grid; gap: 5px; flex: 1; min-width: 0; font-size: .78rem; font-weight: 700; }
#operacionalShell .op-signal-exports { display: flex; gap: 8px; }
#operacionalShell .op-signal-filters, #operacionalShell .op-signal-target-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#operacionalShell .op-signal-filters label, #operacionalShell .op-signal-target-fields label { display: grid; gap: 5px; min-width: 0; font-size: .78rem; font-weight: 700; }
#operacionalShell .op-signal-filters form { display: flex; align-items: end; gap: 8px; min-width: 0; }
#operacionalShell .op-signal-filters form label { flex: 1; }
#operacionalShell .op-signal-table-wrap { overflow-x: auto; border: 1px solid #dce3ec; border-radius: 10px; }
#operacionalShell .op-signal-table { width: 100%; border-collapse: collapse; }
#operacionalShell .op-signal-table :is(th,td) { padding: 10px 12px; border-bottom: 1px solid #e7ebf1; text-align: left; vertical-align: top; }
#operacionalShell .op-signal-table th small { display: block; margin-top: 2px; color: #6b7483; font-weight: 400; }
#operacionalShell .op-signal-table > thead > tr > th:nth-child(1) { width: 22%; }
#operacionalShell .op-signal-table > thead > tr > th:nth-child(2) { width: 12%; }
#operacionalShell .op-signal-table > thead > tr > th:nth-child(3) { width: 13%; }
#operacionalShell .op-signal-table > tbody > tr > td:nth-child(2) small { display: block; margin-top: 5px; color: #58657a; font-size: .76rem; }
#operacionalShell .op-signal-onu-list { display: grid; gap: 6px; min-width: 0; }
#operacionalShell .op-signal-onu { display: grid; grid-template-columns: minmax(150px, 1.4fr) minmax(100px, 1fr) minmax(135px, 1fr); gap: 8px; padding: 7px 8px; border: 1px solid #e3e8f0; border-radius: 7px; background: #f8faff; }
#operacionalShell .op-signal-onu > div { min-width: 0; overflow-wrap: anywhere; font-size: .83rem; }
#operacionalShell .op-signal-onu small { display: block; margin-bottom: 3px; color: #58657a; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
#operacionalShell .op-signal-onu-reading { display: grid; justify-items: start; gap: 2px; font-variant-numeric: tabular-nums; }
#operacionalShell .op-signal-onu-pon { font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
  #operacionalShell .op-signal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  #operacionalShell .op-signal-table tbody { display: grid; gap: 8px; padding: 8px; }
  #operacionalShell .op-signal-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dce3ec; border-radius: 8px; }
  #operacionalShell .op-signal-table th { grid-column: 1 / -1; }
  #operacionalShell .op-signal-table td { min-width: 0; }
  #operacionalShell .op-signal-table td::before { display: block; content: attr(data-label); color: #6b7483; font-size: .72rem; }
  #operacionalShell .op-signal-table td:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  #operacionalShell .op-signal-head { display: grid; }
  #operacionalShell .op-signal-head-actions { justify-content: start; }
  #operacionalShell .op-signal-totals { grid-template-columns: 1fr; }
  #operacionalShell .op-signal-metric, #operacionalShell .op-signal-metric.is-critico { padding: 8px 0; border-left: 0; }
  #operacionalShell .op-signal-metric.is-critico { border-top: 1px solid #e5e9f0; }
  #operacionalShell .op-signal-modal { max-height: 100dvh; height: 100dvh; width: 100%; border-radius: 0; }
  #operacionalShell .op-signal-filters { grid-template-columns: 1fr; }
  #operacionalShell .op-signal-city-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  #operacionalShell .op-signal-city-table tbody { display: grid; gap: 8px; padding: 8px; }
  #operacionalShell .op-signal-city-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #dce3ec; border-radius: 8px; }
  #operacionalShell .op-signal-city-table tbody tr :is(th,td) { width: auto; min-width: 0; border-bottom: 0; text-align: left; }
  #operacionalShell .op-signal-city-table tbody th { grid-column: 1 / -1; border-bottom: 1px solid #e7ebf1; }
  #operacionalShell .op-signal-city-table tbody td::before { display: block; content: attr(data-label); color: #6b7483; font-size: .72rem; }
  #operacionalShell .op-signal-pon-table { min-width: 0; }
  #operacionalShell .op-signal-pon-table thead .op-signal-pon-sort { display: none; }
  #operacionalShell .op-signal-pon-mobile-sort { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
  #operacionalShell .op-signal-pon-mobile-sort label { flex-basis: 100%; color: #53647c; font-size: .78rem; font-weight: 700; }
  #operacionalShell .op-signal-pon-mobile-sort select { flex: 1 1 180px; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid #cfd8e5; border-radius: 8px; background: #fff; color: #233553; font: inherit; }
  #operacionalShell .op-signal-pon-mobile-sort :is(select,button):focus-visible { outline: 3px solid #5865bd; outline-offset: 2px; }
  #operacionalShell .op-signal-pon-table tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #operacionalShell .op-signal-pon-table tbody th { grid-column: 1 / -1; }
  #operacionalShell .op-signal-pon-table tbody td:nth-child(3) { padding-left: 12px; }
  #operacionalShell .op-signal-pon-table tbody td:last-child { grid-column: 1 / -1; padding-top: 9px; }
  #operacionalShell .op-signal-pon-metric { justify-items: start; }
  #operacionalShell .op-signal-city-count { min-width: 0; width: 100%; }
  #operacionalShell .op-signal-pon-table tbody td:last-child { grid-column: 1 / -1; padding-top: 0; }
}

@media (max-width: 480px) {
  #operacionalShell .op-signal-section { padding: 14px; }
  #operacionalShell .op-signal-head-actions, #operacionalShell .op-signal-head-actions button { width: 100%; }
  #operacionalShell .op-signal-open { width: 100%; }
  #operacionalShell .op-signal-target-fields { grid-template-columns: 1fr; }
  #operacionalShell .op-signal-detail-actions form, #operacionalShell .op-signal-exports { width: 100%; }
  #operacionalShell .op-signal-exports button { flex: 1; }
  #operacionalShell .op-signal-pon-tools .op-signal-exports { width: 100%; }
  #operacionalShell .op-signal-onu { grid-template-columns: minmax(0, 1fr); }
  #operacionalShell .op-signal-modal .op-modal-foot { display: grid; }
  #operacionalShell .op-signal-modal .op-modal-foot > div { justify-content: space-between; }
}

/* Preserve a readable scrollable table instead of inheriting city-card rows. */
#operacionalShell .op-topology-table > thead { display: table-header-group; }
#operacionalShell .op-topology-table > tbody { display: table-row-group; }
#operacionalShell .op-topology-table tr { display: table-row; }
#operacionalShell .op-topology-table :is(th,td) { display: table-cell; }
