/*
 * SLA Monitor – Áttekintés (OVX)
 *
 * Önálló, nézetre korlátozott megjelenítési réteg a négy áttekintő laphoz.
 * A dashboard meglévő --dc-* témaváltozóira épül; külső betűtípust vagy
 * képi erőforrást nem tölt be. A zöld, sárga és piros kizárólag állapotot
 * jelöl, az általános navigáció és adatkiemelés kék/cyan marad.
 */

.ovx-root {
  --ovx-blue: #2b7cff;
  --ovx-blue-strong: #1f65df;
  --ovx-blue-soft: rgba(43, 124, 255, .11);
  --ovx-cyan: #20bfe8;
  --ovx-cyan-soft: rgba(32, 191, 232, .10);
  --ovx-success: #43c990;
  --ovx-success-soft: var(--dc-alert-ok-bg, rgba(67, 201, 144, .10));
  --ovx-warning: #f4bd38;
  --ovx-warning-soft: var(--dc-alert-warn-bg, rgba(244, 189, 56, .10));
  --ovx-critical: #ff575f;
  --ovx-critical-soft: var(--dc-alert-crit-bg, rgba(255, 87, 95, .10));
  --ovx-neutral: #8fa6c1;
  --ovx-text: var(--dc-text, #0d2340);
  --ovx-muted: var(--dc-muted, #5d6f88);
  --ovx-card: var(--dc-card-bg, #fff);
  --ovx-surface: var(--dc-surface, #f8fafc);
  --ovx-input: var(--dc-input-bg, #fff);
  --ovx-border: var(--dc-card-border, #e2eaf3);
  --ovx-border-soft: var(--dc-border-soft, #edf2f7);
  --ovx-shadow: var(--dc-card-shadow, 0 8px 24px rgba(13, 35, 64, .07));
  --ovx-hover: var(--dc-hover, rgba(43, 124, 255, .055));
  min-width: 0;
  padding: 20px 24px 26px;
  color: var(--ovx-text);
  font-family: inherit;
  line-height: 1.45;
}

/*
 * Az új nézet fokozatosan kerül a meglévő Áttekintés DOM elé. A régi,
 * érintetlen demo-blokkok ezért a forrásban maradhatnak, de nem rajzolódnak ki.
 * A negatív margó semlegesíti a befoglaló .dash-body saját belső margóját,
 * így az OVX ugyanarra a 24 px-es tartalmi rácsra ül, mint a dashboard többi lapja.
 */
#view-attekintes .dash-body > :not(.ovx-root) {
  display: none !important;
}

#view-attekintes .dash-body > .ovx-root {
  width: auto;
  margin: -20px -24px;
}

html.dark-dash .ovx-root {
  --ovx-blue: #5b91f7;
  --ovx-blue-strong: #2f7fff;
  --ovx-blue-soft: rgba(91, 145, 247, .12);
  --ovx-cyan: #27c4e9;
  --ovx-cyan-soft: rgba(39, 196, 233, .10);
  --ovx-neutral: #9eb2ca;
}

.ovx-root *,
.ovx-root *::before,
.ovx-root *::after {
  box-sizing: border-box;
}

.ovx-root button,
.ovx-root input,
.ovx-root select {
  font: inherit;
}

.ovx-root button {
  -webkit-tap-highlight-color: transparent;
}

/* Fejléc és nézetválasztó */
.ovx-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 15px;
}

.ovx-heading > * {
  min-width: 0;
}

.ovx-heading-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: var(--ovx-text);
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 790;
  line-height: 1.2;
  letter-spacing: -.018em;
}

.ovx-heading-main h1,
.ovx-heading-main h2 {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.ovx-heading p {
  max-width: 760px;
  margin: 5px 0 0;
  color: var(--ovx-muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.ovx-demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 0 8px;
  border: 1px solid rgba(91, 145, 247, .40);
  border-radius: 7px;
  background: rgba(43, 124, 255, .09);
  color: var(--ovx-blue);
  font-size: 8px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ovx-updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--ovx-border);
  border-radius: 999px;
  background: var(--ovx-surface);
  color: var(--ovx-muted);
  font-size: 8.8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ovx-updated::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ovx-blue);
  box-shadow: 0 0 0 4px var(--ovx-blue-soft);
  content: "";
}

.ovx-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 5px;
  margin: 0 0 14px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--ovx-border);
  border-radius: 13px;
  background: var(--ovx-card);
  box-shadow: var(--ovx-shadow);
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 145, 247, .42) transparent;
}

.ovx-tabs::-webkit-scrollbar {
  height: 6px;
}

.ovx-tabs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(91, 145, 247, .42);
}

.ovx-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ovx-muted);
  font-size: 9.5px;
  font-weight: 740;
  letter-spacing: .005em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.ovx-tab:hover {
  background: var(--ovx-hover);
  color: var(--ovx-text);
}

.ovx-tab.active {
  border-color: rgba(91, 145, 247, .42);
  background: linear-gradient(135deg, rgba(43, 124, 255, .22), rgba(32, 191, 232, .08));
  color: var(--ovx-blue);
  box-shadow: inset 0 0 0 1px rgba(43, 124, 255, .06), 0 7px 18px rgba(16, 75, 171, .10);
}

.ovx-tab:focus-visible,
.ovx-filter:focus-visible,
.ovx-action:focus-visible,
.ovx-search:focus-visible,
.ovx-search input:focus-visible {
  outline: 2px solid var(--ovx-blue);
  outline-offset: 2px;
}

.ovx-panel {
  display: none;
  min-width: 0;
}

.ovx-panel.active {
  display: block;
  animation: ovx-panel-in .18s ease-out both;
}

@keyframes ovx-panel-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Felső állapotüzenet */
.ovx-alert {
  --ovx-alert-accent: var(--ovx-blue);
  --ovx-alert-bg: var(--ovx-blue-soft);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  margin: 0 0 13px;
  padding: 10px 13px 10px 16px;
  overflow: hidden;
  border: 1px solid rgba(91, 145, 247, .30);
  border-radius: 12px;
  background: linear-gradient(110deg, var(--ovx-alert-bg), rgba(43, 124, 255, .025));
  color: var(--ovx-text);
}

.ovx-alert::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: inherit;
  background: var(--ovx-alert-accent);
  content: "";
}

.ovx-alert > svg {
  width: 20px;
  height: 20px;
  color: var(--ovx-alert-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ovx-alert strong {
  display: block;
  color: var(--ovx-text);
  font-size: 10.5px;
  font-weight: 760;
}

.ovx-alert span,
.ovx-alert p {
  margin: 2px 0 0;
  color: var(--ovx-muted);
  font-size: 8.8px;
  line-height: 1.45;
}

.ovx-alert[data-tone="success"],
.ovx-alert[data-tone="operational"] {
  --ovx-alert-accent: var(--ovx-success);
  --ovx-alert-bg: var(--ovx-success-soft);
  border-color: rgba(67, 201, 144, .31);
}

.ovx-alert[data-tone="warning"],
.ovx-alert[data-tone="degraded"] {
  --ovx-alert-accent: var(--ovx-warning);
  --ovx-alert-bg: var(--ovx-warning-soft);
  border-color: rgba(244, 189, 56, .34);
}

.ovx-alert[data-tone="critical"],
.ovx-alert[data-tone="danger"],
.ovx-alert[data-tone="outage"] {
  --ovx-alert-accent: var(--ovx-critical);
  --ovx-alert-bg: var(--ovx-critical-soft);
  border-color: rgba(255, 87, 95, .34);
}

/* KPI-k */
.ovx-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin: 0 0 13px;
}

.ovx-kpi {
  --ovx-kpi-accent: var(--ovx-blue);
  --ovx-kpi-soft: var(--ovx-blue-soft);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label icon"
    "value icon"
    "sub sub";
  align-content: center;
  gap: 3px 10px;
  min-width: 0;
  min-height: 105px;
  padding: 14px 15px 13px;
  overflow: hidden;
  border: 1px solid var(--ovx-border);
  border-radius: 13px;
  background: var(--ovx-card);
  box-shadow: var(--ovx-shadow);
}

.ovx-kpi::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--ovx-kpi-accent);
  opacity: .9;
  content: "";
}

.ovx-kpi[data-tone="success"],
.ovx-kpi[data-tone="operational"] {
  --ovx-kpi-accent: var(--ovx-success);
  --ovx-kpi-soft: var(--ovx-success-soft);
}

.ovx-kpi[data-tone="warning"],
.ovx-kpi[data-tone="degraded"] {
  --ovx-kpi-accent: var(--ovx-warning);
  --ovx-kpi-soft: var(--ovx-warning-soft);
}

.ovx-kpi[data-tone="critical"],
.ovx-kpi[data-tone="danger"],
.ovx-kpi[data-tone="outage"] {
  --ovx-kpi-accent: var(--ovx-critical);
  --ovx-kpi-soft: var(--ovx-critical-soft);
}

.ovx-kpi[data-tone="info"],
.ovx-kpi[data-tone="data"],
.ovx-kpi[data-tone="sla"] {
  --ovx-kpi-accent: var(--ovx-cyan);
  --ovx-kpi-soft: var(--ovx-cyan-soft);
}

.ovx-kpi-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  align-self: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--ovx-kpi-soft);
  color: var(--ovx-kpi-accent);
  opacity: .96;
}

.ovx-kpi-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ovx-kpi-label {
  grid-area: label;
  min-width: 0;
  overflow: hidden;
  color: var(--ovx-muted);
  font-size: 8.4px;
  font-weight: 740;
  letter-spacing: .045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ovx-kpi-value {
  grid-area: value;
  min-width: 0;
  margin-top: 2px;
  overflow: hidden;
  color: var(--ovx-kpi-accent);
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 830;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ovx-kpi-sub {
  grid-area: sub;
  margin-top: 4px;
  color: var(--ovx-muted);
  font-size: 8.3px;
  line-height: 1.4;
}

/* Keresés és szűrők */
.ovx-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  margin: 0 0 13px;
  padding: 11px 12px;
  border: 1px solid var(--ovx-border);
  border-radius: 12px;
  background: var(--ovx-card);
  box-shadow: var(--ovx-shadow);
}

.ovx-search {
  min-width: min(310px, 100%);
  min-height: 38px;
  border: 1px solid var(--ovx-border);
  border-radius: 9px;
  background: var(--ovx-input);
  color: var(--ovx-text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

input.ovx-search {
  padding: 8px 12px;
  font-size: 9.5px;
}

.ovx-search:not(input) {
  position: relative;
  display: flex;
  align-items: center;
}

.ovx-search:not(input) > svg {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 16px;
  color: var(--ovx-muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  pointer-events: none;
}

.ovx-search:not(input) input {
  width: 100%;
  min-height: 36px;
  padding: 7px 11px 7px 35px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--ovx-text);
  font-size: 9.5px;
  outline: none;
}

.ovx-search:focus-within {
  border-color: var(--ovx-blue);
  box-shadow: 0 0 0 3px rgba(43, 124, 255, .12);
}

.ovx-search::placeholder,
.ovx-search input::placeholder {
  color: var(--ovx-muted);
  opacity: .8;
}

.ovx-filter-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.ovx-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--ovx-border);
  border-radius: 8px;
  background: var(--ovx-surface);
  color: var(--ovx-muted);
  font-size: 8.5px;
  font-weight: 740;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.ovx-filter:hover {
  border-color: rgba(91, 145, 247, .42);
  background: var(--ovx-blue-soft);
  color: var(--ovx-blue);
}

.ovx-filter.active {
  border-color: rgba(91, 145, 247, .52);
  background: linear-gradient(135deg, rgba(43, 124, 255, .22), rgba(32, 191, 232, .075));
  color: var(--ovx-blue);
  box-shadow: inset 0 0 0 1px rgba(43, 124, 255, .06);
}

/* Általános kártya */
.ovx-card {
  min-width: 0;
  margin: 0 0 13px;
  overflow: hidden;
  border: 1px solid var(--ovx-border);
  border-radius: 13px;
  background: var(--ovx-card);
  box-shadow: var(--ovx-shadow);
}

.ovx-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--ovx-border-soft);
}

.ovx-card-header > * {
  min-width: 0;
}

.ovx-card-title {
  margin: 0;
  color: var(--ovx-text);
  font-size: 11.5px;
  font-weight: 780;
  line-height: 1.35;
  letter-spacing: .005em;
}

.ovx-card-title small {
  display: block;
  margin-top: 3px;
  color: var(--ovx-muted);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
}

.ovx-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ovx-muted);
  font-size: 8.4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Táblázatok */
.ovx-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 145, 247, .42) transparent;
}

.ovx-table-wrap::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.ovx-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(91, 145, 247, .42);
}

.ovx-table {
  width: 100%;
  min-width: 840px;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: auto;
}

.ovx-table th {
  padding: 11px 12px 9px;
  border-bottom: 1px solid var(--ovx-border);
  background: var(--ovx-surface);
  color: var(--ovx-muted);
  font-size: 8px;
  font-weight: 780;
  line-height: 1.3;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.ovx-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ovx-border-soft);
  color: var(--ovx-text);
  font-size: 9px;
  line-height: 1.4;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.ovx-table tbody tr:last-child td {
  border-bottom: 0;
}

.ovx-table tbody tr {
  transition: background .14s ease, box-shadow .14s ease;
}

.ovx-table tbody tr:hover td {
  background: var(--ovx-hover);
}

.ovx-table tbody tr.active td {
  background: linear-gradient(90deg, rgba(43, 124, 255, .13), rgba(43, 124, 255, .035));
}

.ovx-table tbody tr.active td:first-child {
  box-shadow: inset 3px 0 0 var(--ovx-blue);
}

.ovx-service-cell {
  display: grid;
  gap: 2px;
  min-width: 185px;
}

.ovx-service-cell strong {
  overflow: hidden;
  color: var(--ovx-text);
  font-size: 9.5px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ovx-service-cell span,
.ovx-service-cell small {
  overflow: hidden;
  color: var(--ovx-muted);
  font-size: 7.9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ovx-status {
  --ovx-status-color: var(--ovx-neutral);
  --ovx-status-bg: rgba(143, 166, 193, .09);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(143, 166, 193, .35);
  border-radius: 999px;
  background: var(--ovx-status-bg);
  color: var(--ovx-status-color);
  font-size: 8px;
  font-weight: 790;
  line-height: 1;
  white-space: nowrap;
}

.ovx-status::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px var(--ovx-status-bg);
  content: "";
}

.ovx-status[data-tone="success"],
.ovx-status[data-tone="operational"] {
  --ovx-status-color: var(--ovx-success);
  --ovx-status-bg: var(--ovx-success-soft);
  border-color: rgba(67, 201, 144, .38);
}

.ovx-status[data-tone="warning"],
.ovx-status[data-tone="degraded"] {
  --ovx-status-color: var(--ovx-warning);
  --ovx-status-bg: var(--ovx-warning-soft);
  border-color: rgba(244, 189, 56, .40);
}

.ovx-status[data-tone="critical"],
.ovx-status[data-tone="danger"],
.ovx-status[data-tone="outage"] {
  --ovx-status-color: var(--ovx-critical);
  --ovx-status-bg: var(--ovx-critical-soft);
  border-color: rgba(255, 87, 95, .40);
}

.ovx-status[data-tone="info"],
.ovx-status[data-tone="data"],
.ovx-status[data-tone="sla"] {
  --ovx-status-color: var(--ovx-blue);
  --ovx-status-bg: var(--ovx-blue-soft);
  border-color: rgba(91, 145, 247, .40);
}

.ovx-priority {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: var(--ovx-text);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
}

/* Kiválasztott szolgáltatás és célpontok */
.ovx-detail {
  min-width: 0;
  margin: 0 13px 13px;
  padding: 13px;
  border: 1px solid rgba(91, 145, 247, .26);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(43, 124, 255, .11), rgba(32, 191, 232, .035));
}

.ovx-detail h3,
.ovx-detail h4 {
  margin: 0;
  color: var(--ovx-text);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.35;
}

.ovx-detail p {
  margin: 4px 0 0;
  color: var(--ovx-muted);
  font-size: 8.6px;
  line-height: 1.5;
}

.ovx-target-table {
  width: 100%;
  min-width: 690px;
  border-spacing: 0;
  border-collapse: collapse;
}

.ovx-target-table th {
  padding: 9px 10px 8px;
  border-bottom: 1px solid var(--ovx-border-soft);
  color: var(--ovx-muted);
  font-size: 7.7px;
  font-weight: 760;
  letter-spacing: .035em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.ovx-target-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--ovx-border-soft);
  color: var(--ovx-text);
  font-size: 8.7px;
  line-height: 1.4;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.ovx-target-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Vizsgálati témák */
.ovx-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 13px;
}

.ovx-topic {
  --ovx-topic-accent: var(--ovx-blue);
  --ovx-topic-soft: var(--ovx-blue-soft);
  position: relative;
  min-width: 0;
  min-height: 88px;
  padding: 11px 12px 10px 15px;
  overflow: hidden;
  border: 1px solid var(--ovx-border-soft);
  border-radius: 10px;
  background: var(--ovx-surface);
}

.ovx-topic::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--ovx-topic-accent);
  content: "";
}

.ovx-topic[data-tone="success"],
.ovx-topic[data-tone="operational"] {
  --ovx-topic-accent: var(--ovx-success);
  --ovx-topic-soft: var(--ovx-success-soft);
}

.ovx-topic[data-tone="warning"],
.ovx-topic[data-tone="degraded"] {
  --ovx-topic-accent: var(--ovx-warning);
  --ovx-topic-soft: var(--ovx-warning-soft);
}

.ovx-topic[data-tone="critical"],
.ovx-topic[data-tone="danger"],
.ovx-topic[data-tone="outage"] {
  --ovx-topic-accent: var(--ovx-critical);
  --ovx-topic-soft: var(--ovx-critical-soft);
}

.ovx-topic > svg {
  width: 18px;
  height: 18px;
  margin-bottom: 7px;
  color: var(--ovx-topic-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ovx-topic strong {
  display: block;
  overflow: hidden;
  color: var(--ovx-text);
  font-size: 9.2px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ovx-topic span,
.ovx-topic small {
  display: block;
  margin-top: 3px;
  color: var(--ovx-muted);
  font-size: 7.8px;
  line-height: 1.4;
}

.ovx-topic [data-tone] {
  color: var(--ovx-topic-accent);
  font-weight: 760;
}

/* SLA összesítés */
.ovx-sla-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 13px;
}

.ovx-sla-summary > * {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--ovx-border-soft);
  border-radius: 10px;
  background: var(--ovx-surface);
}

.ovx-sla-summary span,
.ovx-sla-summary small {
  display: block;
  color: var(--ovx-muted);
  font-size: 7.8px;
  line-height: 1.35;
}

.ovx-sla-summary strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--ovx-text);
  font-size: 14px;
  font-weight: 790;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ovx-progress {
  position: relative;
  width: 100%;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(143, 166, 193, .16);
}

.ovx-progress > span {
  display: block;
  width: 0;
  min-width: 2px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ovx-blue-strong), var(--ovx-cyan));
  box-shadow: 0 0 12px rgba(32, 191, 232, .18);
  transition: width .3s ease;
}

.ovx-progress[data-tone="success"] > span {
  background: var(--ovx-success);
  box-shadow: none;
}

.ovx-progress[data-tone="warning"] > span {
  background: var(--ovx-warning);
  box-shadow: none;
}

.ovx-progress[data-tone="critical"] > span {
  background: var(--ovx-critical);
  box-shadow: none;
}

/* Kártyaláb, műveletek, üres állapot */
.ovx-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 9px 13px;
  border-top: 1px solid var(--ovx-border-soft);
  color: var(--ovx-muted);
  font-size: 8.5px;
  line-height: 1.4;
}

.ovx-footer > * {
  min-width: 0;
}

.ovx-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--ovx-border);
  border-radius: 8px;
  background: var(--ovx-surface);
  color: var(--ovx-text);
  font-size: 8.6px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.ovx-action:hover {
  border-color: rgba(91, 145, 247, .48);
  background: var(--ovx-blue-soft);
  color: var(--ovx-blue);
}

.ovx-action.active,
.ovx-action[data-tone="primary"] {
  border-color: var(--ovx-blue-strong);
  background: linear-gradient(135deg, var(--ovx-blue-strong), var(--ovx-blue));
  color: #fff;
  box-shadow: 0 7px 17px rgba(43, 124, 255, .20);
}

.ovx-action.active:hover,
.ovx-action[data-tone="primary"]:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 9px 21px rgba(43, 124, 255, .25);
}

.ovx-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ovx-empty {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 32px 18px;
  color: var(--ovx-muted);
  font-size: 9px;
  line-height: 1.55;
  text-align: center;
}

.ovx-empty > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 9px;
  color: var(--ovx-blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ovx-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ovx-text);
  font-size: 10.5px;
}

/* ========================================================================== 
 * A négy áttekintő lap összetett komponensei
 * ========================================================================== */

/* A dashboard topbar része, ezért szándékosan nem az .ovx-root leszármazottja. */
.ovx-system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dc-text, #0d2340);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.ovx-system-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #43c990;
  box-shadow: 0 0 0 4px rgba(67, 201, 144, .12), 0 0 12px rgba(67, 201, 144, .22);
}

.ovx-top-meta {
  padding-left: 12px;
  border-left: 1px solid var(--dc-topbar-border, #e2eaf3);
  color: var(--dc-muted, #5d6f88);
  font-size: 9.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.ovx-eyebrow {
  margin: 0 0 5px;
  color: var(--ovx-blue);
  font-size: 8px;
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.ovx-heading-main h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.ovx-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border: 1px solid rgba(91, 145, 247, .22);
  border-radius: 7px;
  background: rgba(91, 145, 247, .055);
  color: var(--ovx-blue);
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
}

.ovx-tab.active .ovx-tab-icon {
  border-color: rgba(91, 145, 247, .40);
  background: rgba(43, 124, 255, .15);
  box-shadow: 0 0 13px rgba(43, 124, 255, .10);
}

.ovx-panel-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin: 0 2px 13px;
}

.ovx-panel-intro > * {
  min-width: 0;
}

.ovx-panel-intro h3 {
  margin: 3px 0 0;
  color: var(--ovx-text);
  font-size: 15px;
  font-weight: 790;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.ovx-panel-intro p {
  max-width: 570px;
  margin: 0;
  color: var(--ovx-muted);
  font-size: 8.8px;
  line-height: 1.52;
  text-align: right;
}

.ovx-panel-kicker {
  color: var(--ovx-blue);
  font-size: 7.5px;
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.ovx-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ovx-cyan);
  box-shadow: 0 0 0 4px var(--ovx-cyan-soft), 0 0 10px rgba(32, 191, 232, .18);
}

.ovx-updated:has(.ovx-live-dot)::before {
  display: none;
}

.ovx-live-badge,
.ovx-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid rgba(91, 145, 247, .30);
  border-radius: 999px;
  background: var(--ovx-blue-soft);
  color: var(--ovx-blue);
  font-size: 7.7px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .025em;
  white-space: nowrap;
}

.ovx-live-badge .ovx-status-dot {
  background: var(--ovx-cyan);
  color: var(--ovx-cyan);
  box-shadow: 0 0 0 3px var(--ovx-cyan-soft);
}

/* Riasztás-kompozíció és műveletvariánsok. */
.ovx-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--ovx-alert-bg);
  color: var(--ovx-alert-accent);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.ovx-alert-copy {
  min-width: 0;
}

.ovx-alert-copy strong,
.ovx-alert-copy span {
  overflow-wrap: anywhere;
}

.ovx-action--primary {
  border-color: var(--ovx-blue-strong);
  background: linear-gradient(135deg, var(--ovx-blue-strong), var(--ovx-blue));
  color: #fff;
  box-shadow: 0 7px 17px rgba(43, 124, 255, .20);
}

.ovx-action--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 9px 21px rgba(43, 124, 255, .25);
}

.ovx-action--danger {
  border-color: rgba(255, 87, 95, .48);
  background: linear-gradient(135deg, rgba(255, 87, 95, .96), rgba(220, 54, 73, .94));
  color: #fff;
  box-shadow: 0 7px 17px rgba(255, 87, 95, .18);
}

.ovx-action--danger:hover {
  border-color: var(--ovx-critical);
  background: linear-gradient(135deg, #ff646b, #e2394d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 9px 21px rgba(255, 87, 95, .23);
}

/* Vezetői prioritások. */
.ovx-priority-list {
  display: grid;
}

.ovx-priority-row {
  --ovx-priority-accent: var(--ovx-blue);
  --ovx-priority-soft: var(--ovx-blue-soft);
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(210px, 1fr) minmax(145px, auto) minmax(115px, 145px);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 14px;
  border-bottom: 1px solid var(--ovx-border-soft);
  background: transparent;
}

.ovx-priority-row:last-child {
  border-bottom: 0;
}

.ovx-priority-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--ovx-priority-accent);
  opacity: .9;
  content: "";
}

.ovx-priority-row[data-tone="success"] {
  --ovx-priority-accent: var(--ovx-success);
  --ovx-priority-soft: var(--ovx-success-soft);
}

.ovx-priority-row[data-tone="warning"] {
  --ovx-priority-accent: var(--ovx-warning);
  --ovx-priority-soft: var(--ovx-warning-soft);
}

.ovx-priority-row[data-tone="critical"] {
  --ovx-priority-accent: var(--ovx-critical);
  --ovx-priority-soft: var(--ovx-critical-soft);
}

.ovx-priority-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ovx-priority-accent);
  border-radius: 9px;
  background: var(--ovx-priority-soft);
  color: var(--ovx-priority-accent);
  font-size: 8px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.ovx-priority-main {
  min-width: 0;
}

.ovx-priority-main strong {
  display: block;
  color: var(--ovx-text);
  font-size: 9.6px;
  font-weight: 780;
}

.ovx-priority-main span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--ovx-muted);
  font-size: 8px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ovx-priority-owner {
  min-width: 0;
  color: var(--ovx-text);
  font-size: 8px;
  font-weight: 680;
  line-height: 1.35;
  text-align: right;
}

.ovx-priority-owner small {
  display: block;
  margin-top: 2px;
  color: var(--ovx-priority-accent);
  font-size: 7.3px;
  font-weight: 760;
}

/* Szolgáltatás-táblázatok és döntési minősítés. */
.ovx-service-cell {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.ovx-service-cell > span:not(.ovx-service-icon) {
  display: block;
  min-width: 0;
  margin: 0;
}

.ovx-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid rgba(91, 145, 247, .27);
  border-radius: 9px;
  background: var(--ovx-blue-soft);
  color: var(--ovx-blue) !important;
  font-size: 13px !important;
  font-weight: 760;
  line-height: 1;
}

.ovx-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px var(--ovx-status-bg, rgba(143, 166, 193, .09));
}

.ovx-status:has(.ovx-status-dot)::before {
  display: none;
}

.ovx-decision {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  color: var(--ovx-muted);
  font-size: 8px;
  font-weight: 790;
  line-height: 1.25;
  white-space: nowrap;
}

.ovx-decision[data-tone="success"] {
  color: var(--ovx-success);
}

.ovx-decision[data-tone="warning"] {
  color: var(--ovx-warning);
}

.ovx-decision[data-tone="critical"] {
  color: var(--ovx-critical);
}

.ovx-row-link,
.ovx-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--ovx-border);
  border-radius: 8px;
  background: var(--ovx-surface);
  color: var(--ovx-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.ovx-row-link:hover,
.ovx-expand:hover {
  border-color: rgba(91, 145, 247, .48);
  background: var(--ovx-blue-soft);
  transform: translateY(-1px);
}

.ovx-row-link:focus-visible,
.ovx-expand:focus-visible {
  outline: 2px solid var(--ovx-blue);
  outline-offset: 2px;
}

.ovx-table tbody tr.ovx-row-selected > td {
  background: linear-gradient(90deg, rgba(43, 124, 255, .13), rgba(43, 124, 255, .035));
}

.ovx-table tbody tr.ovx-row-selected > td:first-child {
  box-shadow: inset 3px 0 0 var(--ovx-blue);
}

.ovx-detail-row > td,
.ovx-table tbody tr.ovx-detail-row:hover > td {
  padding: 0;
  background: rgba(43, 124, 255, .025);
}

.ovx-detail-row[hidden] {
  display: none !important;
}

/* Kibontott technikai, üzleti és SLA-részletek. */
.ovx-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ovx-border-soft);
}

.ovx-detail-head > div {
  min-width: 0;
}

.ovx-detail-head strong {
  display: block;
  color: var(--ovx-text);
  font-size: 10.5px;
  font-weight: 780;
  line-height: 1.35;
}

.ovx-detail-head span:not(.ovx-status) {
  display: block;
  margin-top: 3px;
  color: var(--ovx-muted);
  font-size: 8px;
  line-height: 1.45;
}

.ovx-detail-columns {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(380px, 1.22fr);
  gap: 13px;
  align-items: start;
}

.ovx-detail-columns > div {
  min-width: 0;
}

.ovx-detail-columns h5 {
  margin: 0 0 7px;
  color: var(--ovx-muted);
  font-size: 7.8px;
  font-weight: 790;
  line-height: 1.3;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ovx-detail .ovx-target-table {
  display: grid;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ovx-border-soft);
  border-radius: 9px;
  background: var(--ovx-surface);
}

.ovx-target-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(48px, auto);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 9px;
  border-bottom: 1px solid var(--ovx-border-soft);
}

.ovx-target-row:last-child {
  border-bottom: 0;
}

.ovx-target-row[data-tone="warning"] {
  background: linear-gradient(90deg, var(--ovx-warning-soft), transparent);
}

.ovx-target-row > span:first-child {
  min-width: 0;
}

.ovx-target-row strong,
.ovx-target-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ovx-target-row strong {
  color: var(--ovx-text);
  font-size: 8.3px;
  font-weight: 740;
}

.ovx-target-row small {
  margin-top: 2px;
  color: var(--ovx-muted);
  font-size: 7.2px;
}

.ovx-target-row > b {
  color: var(--ovx-text);
  font-size: 8px;
  font-weight: 780;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ovx-detail .ovx-topic-grid {
  padding: 0;
}

.ovx-topic {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 67px;
  padding: 9px 10px 9px 12px;
}

.ovx-topic-grid--business .ovx-topic {
  grid-template-columns: 27px minmax(0, 1fr) auto;
}

.ovx-topic-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0 !important;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: var(--ovx-topic-soft);
  color: var(--ovx-topic-accent) !important;
  font-size: 11px !important;
  font-weight: 850;
  line-height: 1;
}

.ovx-topic > span:not(.ovx-topic-icon) {
  min-width: 0;
  margin: 0;
}

.ovx-topic > b {
  color: var(--ovx-topic-accent);
  font-size: 7.5px;
  font-weight: 790;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.ovx-ko {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 7px;
  border: 1px solid rgba(255, 87, 95, .40);
  border-radius: 6px;
  background: var(--ovx-critical-soft);
  color: var(--ovx-critical);
  font-size: 7.7px;
  font-weight: 810;
  line-height: 1;
  white-space: nowrap;
}

.ovx-ko--ok {
  border-color: rgba(67, 201, 144, .38);
  background: var(--ovx-success-soft);
  color: var(--ovx-success);
}

.ovx-settlement-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 11px;
  padding: 10px 11px;
  border: 1px solid rgba(91, 145, 247, .23);
  border-radius: 9px;
  background: var(--ovx-blue-soft);
}

.ovx-settlement-note p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 1px 0 0;
  color: var(--ovx-muted);
  font-size: 8px;
  line-height: 1.5;
}

.ovx-sla-summary strong[data-tone="success"] {
  color: var(--ovx-success);
}

.ovx-sla-summary strong[data-tone="warning"] {
  color: var(--ovx-warning);
}

.ovx-sla-summary strong[data-tone="critical"] {
  color: var(--ovx-critical);
}

/* A template karakteres keresőikonja ugyanúgy viselkedik, mint az SVG-változat. */
.ovx-search:not(input) > span:first-child {
  position: absolute;
  left: 11px;
  z-index: 1;
  color: var(--ovx-muted);
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}

/* Világos mód: ugyanaz a szerkezet, világos felületeken kontrasztosabb élek. */
html:not(.dark-dash) .ovx-root {
  --ovx-blue: #246bd7;
  --ovx-blue-strong: #1b5fc9;
  --ovx-cyan: #078eb4;
  --ovx-neutral: #63758d;
}

html:not(.dark-dash) .ovx-tab.active,
html:not(.dark-dash) .ovx-filter.active {
  background: linear-gradient(135deg, rgba(36, 107, 215, .12), rgba(7, 142, 180, .045));
}

html:not(.dark-dash) .ovx-detail,
html:not(.dark-dash) .ovx-alert {
  background-color: rgba(255, 255, 255, .68);
}

html:not(.dark-dash) .ovx-table tbody tr.active td {
  background: linear-gradient(90deg, rgba(36, 107, 215, .10), rgba(36, 107, 215, .025));
}

/* ========================================================================== 
 * V21 – olvashatóság és egységes mérésipont-jelölés
 *
 * A négy Áttekintés-lap azonos tipográfiai léptéket kap. A színezett
 * állapotpontok a Monitoring válaszidőgrafikonjának sötét közepű,
 * körvonalas és finoman világító mérésipont-stílusát követik.
 * ========================================================================== */

.ovx-heading p {
  font-size: 12px;
}

.ovx-demo-badge {
  font-size: 9.5px;
}

.ovx-updated {
  font-size: 10.5px;
}

.ovx-tab {
  font-size: 11px;
}

.ovx-alert strong {
  font-size: 12.5px;
}

.ovx-alert span,
.ovx-alert p {
  font-size: 10.5px;
}

.ovx-kpi-label {
  font-size: 10px;
}

.ovx-kpi-sub {
  font-size: 9.9px;
}

input.ovx-search,
.ovx-search:not(input) input {
  font-size: 11.4px;
}

.ovx-filter {
  min-height: 34px;
  font-size: 10.2px;
}

.ovx-card-title {
  font-size: 13.5px;
}

.ovx-card-title small {
  font-size: 9.6px;
}

.ovx-card-meta {
  font-size: 10px;
}

.ovx-table th {
  font-size: 9.6px;
}

.ovx-table td {
  font-size: 10.8px;
}

.ovx-service-cell strong {
  font-size: 11.4px;
}

.ovx-service-cell span,
.ovx-service-cell small {
  font-size: 9.5px;
}

.ovx-status {
  min-height: 27px;
  font-size: 9.6px;
}

.ovx-detail h3,
.ovx-detail h4 {
  font-size: 14px;
}

.ovx-detail p {
  font-size: 10.3px;
}

.ovx-target-table th {
  font-size: 9.2px;
}

.ovx-target-table td {
  font-size: 10.4px;
}

.ovx-topic strong {
  font-size: 11px;
}

.ovx-topic span,
.ovx-topic small {
  font-size: 9.3px;
}

.ovx-sla-summary span,
.ovx-sla-summary small {
  font-size: 9.3px;
}

.ovx-sla-summary strong {
  font-size: 16px;
}

.ovx-footer {
  font-size: 10.2px;
}

.ovx-action {
  font-size: 10.3px;
}

.ovx-empty {
  font-size: 10.8px;
}

.ovx-empty strong {
  font-size: 12.5px;
}

.ovx-system-status {
  font-size: 12px;
}

.ovx-top-meta {
  font-size: 11.4px;
}

.ovx-eyebrow {
  font-size: 9.6px;
}

.ovx-panel-intro h3 {
  font-size: 17px;
}

.ovx-panel-intro p {
  font-size: 10.5px;
}

.ovx-panel-kicker {
  font-size: 9px;
}

.ovx-live-badge,
.ovx-count-badge {
  font-size: 9.2px;
}

.ovx-priority-rank {
  font-size: 9.6px;
}

.ovx-priority-main strong {
  font-size: 11.5px;
}

.ovx-priority-main span {
  font-size: 9.6px;
}

.ovx-priority-owner {
  font-size: 9.6px;
}

.ovx-priority-owner small {
  font-size: 8.7px;
}

.ovx-decision {
  font-size: 9.6px;
}

.ovx-detail-head strong {
  font-size: 12.5px;
}

.ovx-detail-head span:not(.ovx-status) {
  font-size: 9.6px;
}

.ovx-detail-columns h5 {
  font-size: 9.3px;
}

.ovx-target-row strong {
  font-size: 10px;
}

.ovx-target-row small {
  font-size: 8.6px;
}

.ovx-target-row > b {
  font-size: 9.6px;
}

.ovx-topic > b {
  font-size: 9px;
}

.ovx-ko {
  font-size: 9.2px;
}

.ovx-settlement-note p {
  font-size: 9.6px;
}

/*
 * V22 – a Saját weboldal valós idejű válaszidőgrafikonjának pontos markerstílusa.
 * A pozicionálás inline marad, a 18 px-es geometria, a körvonal, a belső pont,
 * a háttér, a fény és a success/warning/error színkódok azonban azonosak.
 */
.ovx-status {
  --point-color: #8a9bb5;
  --point-soft: rgba(138, 155, 181, .14);
  min-height: 30px;
  gap: 9px;
}

.ovx-status[data-tone="success"],
.ovx-status[data-tone="operational"] {
  --point-color: #15b39a;
  --point-soft: rgba(21, 179, 154, .15);
}

.ovx-status[data-tone="warning"],
.ovx-status[data-tone="degraded"] {
  --point-color: #e9a914;
  --point-soft: rgba(233, 169, 20, .16);
}

.ovx-status[data-tone="critical"],
.ovx-status[data-tone="danger"],
.ovx-status[data-tone="outage"] {
  --point-color: #e25555;
  --point-soft: rgba(226, 85, 85, .16);
}

.ovx-status::before,
.ovx-status-dot,
.ovx-system-status i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  box-sizing: border-box;
  border: 1.5px solid var(--point-color);
  border-radius: 50%;
  background: var(--quick-response-marker-bg, #f4f8fd);
  box-shadow:
    0 0 0 5px var(--point-soft),
    0 0 16px var(--point-soft),
    0 3px 10px rgba(5, 20, 44, .25);
}

html.dark-dash .ovx-status::before,
html.dark-dash .ovx-status-dot,
html.dark-dash .ovx-system-status i {
  background: var(--quick-response-marker-bg, #193652);
}

.ovx-status::before {
  background-image: radial-gradient(circle at center,
    var(--point-color) 0 4px,
    transparent 4.5px 100%);
  content: "";
}

.ovx-status-dot::after,
.ovx-system-status i::after {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--point-color);
  content: "";
}

.ovx-live-badge .ovx-status-dot {
  --point-color: var(--ovx-cyan);
  --point-soft: var(--ovx-cyan-soft);
  background: var(--quick-response-marker-bg, #f4f8fd);
  box-shadow:
    0 0 0 5px var(--point-soft),
    0 0 16px var(--point-soft),
    0 3px 10px rgba(5, 20, 44, .25);
}

.ovx-system-status i {
  --point-color: #15b39a;
  --point-soft: rgba(21, 179, 154, .15);
}

html.dark-dash .ovx-live-badge .ovx-status-dot {
  background: var(--quick-response-marker-bg, #193652);
}

/* V23 – minden állapot ugyanazt az explicit grafikoni markert használja. */
.ovx-status::before {
  display: none;
}

.ovx-detail > .ovx-detail-section-title {
  margin: 14px 0 9px;
  color: var(--ovx-text);
  font-size: 12.5px;
  font-weight: 780;
  line-height: 1.35;
}

.ovx-table.ovx-table--executive,
.ovx-table.ovx-table--sla {
  min-width: 1080px;
}

.ovx-classification,
.ovx-sla-period {
  display: inline-block;
  color: var(--ovx-muted);
  font-weight: 680;
  white-space: nowrap;
}

/* Reszponzív elrendezés */
@media (max-width: 1200px) {
  .ovx-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ovx-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ovx-sla-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ovx-table {
    min-width: 780px;
  }

  .ovx-priority-row {
    grid-template-columns: 34px minmax(190px, 1fr) minmax(132px, auto) minmax(105px, 125px);
    gap: 10px;
  }

  .ovx-detail-columns {
    grid-template-columns: minmax(235px, .72fr) minmax(340px, 1.28fr);
  }
}

@media (max-width: 900px) {
  .ovx-root {
    padding: 17px 16px 22px;
  }

  .ovx-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .ovx-panel-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ovx-panel-intro p {
    max-width: 720px;
    text-align: left;
  }

  .ovx-updated {
    width: max-content;
    max-width: 100%;
  }

  .ovx-tabs {
    display: flex;
    grid-template-columns: none;
  }

  .ovx-tab {
    min-width: 155px;
    flex: 1 0 155px;
  }

  .ovx-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ovx-search {
    width: 100%;
    min-width: 0;
  }

  .ovx-filter-group {
    justify-content: flex-start;
  }

  .ovx-alert {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ovx-alert > :last-child:not(:nth-child(2)) {
    grid-column: 2;
  }

  .ovx-priority-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .ovx-priority-owner {
    grid-column: 2 / -1;
    text-align: left;
  }

  .ovx-priority-owner small {
    display: inline;
    margin: 0 0 0 6px;
  }

  .ovx-detail-columns {
    grid-template-columns: 1fr;
  }

  .ovx-table {
    min-width: 740px;
  }

  .ovx-card-header {
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .ovx-root {
    padding: 13px 11px 18px;
  }

  .ovx-heading-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    font-size: 19px;
  }

  .ovx-heading-main h2 {
    align-items: center;
  }

  .ovx-system-status {
    font-size: 10.5px;
  }

  .ovx-top-meta {
    padding-left: 9px;
    font-size: 9.8px;
  }

  .ovx-heading p {
    font-size: 11px;
  }

  .ovx-kpi-grid,
  .ovx-topic-grid,
  .ovx-sla-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ovx-kpi {
    min-height: 91px;
    padding: 12px 13px;
  }

  .ovx-kpi-value {
    font-size: 23px;
  }

  .ovx-kpi-icon {
    width: 33px;
    height: 33px;
  }

  .ovx-filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .ovx-filter {
    width: 100%;
  }

  .ovx-alert {
    padding: 10px 11px 10px 14px;
  }

  .ovx-alert-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .ovx-alert .ovx-action {
    grid-column: 1 / -1;
  }

  .ovx-priority-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 11px;
  }

  .ovx-priority-rank {
    width: 28px;
    height: 28px;
  }

  .ovx-priority-main span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .ovx-priority-row > .ovx-status,
  .ovx-priority-owner {
    grid-column: 2;
    justify-self: start;
  }

  .ovx-detail-head,
  .ovx-settlement-note {
    align-items: stretch;
    flex-direction: column;
  }

  .ovx-detail-head .ovx-action {
    width: 100%;
  }

  .ovx-topic-grid--business .ovx-topic {
    grid-template-columns: 27px minmax(0, 1fr);
  }

  .ovx-topic-grid--business .ovx-topic > b {
    grid-column: 2;
    text-align: left;
  }

  .ovx-card-header,
  .ovx-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ovx-card-header {
    padding: 10px 11px;
  }

  .ovx-card-meta {
    white-space: normal;
  }

  .ovx-detail {
    margin: 0 9px 10px;
    padding: 11px;
  }

  .ovx-topic-grid,
  .ovx-sla-summary {
    padding: 10px;
  }

  .ovx-topic {
    min-height: 72px;
  }

  .ovx-footer {
    padding: 10px 11px;
  }

  .ovx-action {
    width: 100%;
  }

  .ovx-row-link,
  .ovx-expand {
    width: 28px;
  }

  .ovx-table {
    min-width: 700px;
  }

  .ovx-target-table {
    min-width: 620px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ovx-panel.active {
    animation: none;
  }

  .ovx-tab,
  .ovx-filter,
  .ovx-action,
  .ovx-table tbody tr,
  .ovx-progress > span {
    scroll-behavior: auto;
    transition: none;
  }
}

/* ========================================================================== 
 * V26 – rögzített és hangsúlyos Áttekintés-nézetválasztó
 *
 * A négy Áttekintés-lap másodlagos alkalmazásnavigáció. Görgetéskor a fix
 * webhelyfejléc alatt marad, miközben a navigáció kék/cyan színei továbbra is
 * elkülönülnek a zöld, sárga és piros állapotjelzésektől.
 * ========================================================================== */

.ovx-root {
  --ovx-sticky-top: 84px;
}

/* Az overflow:hidden görgetési konténert hozna létre, ami megakadályozná a
 * viewporthoz tapadó sticky működést. Az overflow:clip megtartja a dashboard
 * lekerekített vágását, de nem hoz létre külön scroll-konténert. */
@supports (overflow: clip) {
  .dash-shell:has(#view-attekintes.active),
  .dash-shell:has(#view-attekintes.active) > .dash-content {
    overflow: clip;
  }
}

.ovx-tabs {
  position: sticky;
  top: var(--ovx-sticky-top);
  z-index: 90;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  min-height: 62px;
  gap: 7px;
  margin: 0 0 18px;
  padding: 7px;
  border: 1px solid rgba(91, 145, 247, .34);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 33, 61, .97), rgba(9, 27, 52, .96));
  box-shadow:
    0 16px 34px rgba(0, 9, 26, .34),
    inset 0 0 0 1px rgba(39, 196, 233, .045),
    inset 0 1px 0 rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  isolation: isolate;
  overscroll-behavior-x: contain;
}

.ovx-tab {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(140, 180, 230, .14);
  border-radius: 10px;
  background: rgba(30, 45, 69, .72);
  color: #a9bfd9;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .005em;
}

.ovx-tab:hover {
  border-color: rgba(91, 145, 247, .48);
  background: rgba(43, 124, 255, .10);
  color: #dce9ff;
  box-shadow: 0 5px 14px rgba(0, 12, 34, .16);
}

.ovx-tab.active {
  border-color: rgba(98, 186, 255, .88);
  background: linear-gradient(135deg, #2b7cff 0%, #1f65df 72%, #1760c8 100%);
  color: #fff;
  box-shadow:
    0 9px 22px rgba(43, 124, 255, .31),
    inset 0 1px 0 rgba(255, 255, 255, .20),
    0 0 18px rgba(39, 196, 233, .10);
}

.ovx-tab.active::after {
  position: absolute;
  right: 26%;
  bottom: 3px;
  left: 26%;
  height: 2px;
  border-radius: 999px;
  background: #46d6f3;
  box-shadow: 0 0 10px rgba(70, 214, 243, .75);
  content: "";
}

.ovx-tab-icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  border-radius: 8px;
  background: rgba(91, 145, 247, .07);
}

.ovx-tab.active .ovx-tab-icon {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: none;
}

html:not(.dark-dash) .ovx-tabs {
  border-color: rgba(36, 107, 215, .28);
  background: rgba(247, 251, 255, .96);
  box-shadow:
    0 14px 30px rgba(13, 35, 64, .16),
    inset 0 1px 0 #fff;
}

html:not(.dark-dash) .ovx-tab:not(.active) {
  border-color: rgba(36, 107, 215, .14);
  background: rgba(255, 255, 255, .80);
  color: #526a87;
}

html:not(.dark-dash) .ovx-tab.active {
  border-color: rgba(36, 107, 215, .68);
  background: linear-gradient(135deg, #2b7cff, #1f65df);
  color: #fff;
}

@media (max-width: 900px) {
  .ovx-tabs {
    display: flex;
    grid-template-columns: none;
    min-height: 58px;
    gap: 6px;
    padding: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .ovx-tab {
    min-width: 170px;
    min-height: 44px;
    flex: 1 0 170px;
    scroll-snap-align: start;
  }
}

@media (max-width: 780px) {
  .ovx-root {
    --ovx-sticky-top: 76px;
  }
}

/* A publikus demó keskeny, álló nézetben normál dokumentumfolyamba teszi a
 * webhelyfejlécet, ezért ott nem kell fenntartani a fix fejléc 72 px-es helyét. */
@media (max-width: 720px) and (orientation: portrait) {
  html[data-dashboard-mode="demo"] .ovx-tabs {
    top: 8px;
  }
}

@media (max-width: 640px) {
  .ovx-tabs {
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .ovx-tab {
    min-width: 150px;
    min-height: 42px;
    padding: 0 12px;
    font-size: 11px;
  }

  .ovx-tab-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
}

/* ========================================================================== 
 * V27 – rögzített vezetői táblafejléc és egységes lenyitónyíl
 * ========================================================================== */

/* A normál és a görgetéskor megjelenő fejléc ugyanazt a visszafogott,
 * navigációs kék kiemelést kapja. Az állapotszínek változatlanok maradnak. */
.ovx-table--executive > thead > tr > th {
  border-bottom: 1px solid rgba(43, 124, 255, .30);
  background: linear-gradient(180deg, #f4f8fe 0%, #ebf3fd 100%);
  color: #425b79;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

html.dark-dash .ovx-table--executive > thead > tr > th {
  border-bottom: 1px solid rgba(70, 214, 243, .42);
  background: linear-gradient(180deg, rgba(22, 43, 73, .99) 0%, rgba(13, 32, 58, .99) 100%);
  color: #bfd2e9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

/* A külön fejlécpéldány a dokumentum görgetését követi. Így a függőleges
 * rögzítés a táblázat vízszintes görgethetősége mellett is megbízható marad. */
.ovx-executive-sticky-head {
  position: fixed;
  z-index: 80;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 9px;
  background: #ebf3fd;
  box-shadow:
    inset 0 0 0 1px rgba(43, 124, 255, .26),
    0 11px 24px rgba(13, 35, 64, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s;
}

.ovx-executive-sticky-head.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

html.dark-dash .ovx-executive-sticky-head {
  background: #0d203a;
  box-shadow:
    inset 0 0 0 1px rgba(91, 145, 247, .40),
    0 13px 28px rgba(0, 8, 24, .38),
    0 0 18px rgba(39, 196, 233, .07);
}

.ovx-executive-sticky-head .ovx-table--sticky-clone {
  min-width: 0;
  margin: 0;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  will-change: transform;
}

.ovx-executive-sticky-head .ovx-table--sticky-clone > thead > tr > th {
  height: 100%;
}

/* A gomb 28×28 px-es mérete és elhelyezése változatlan. A betűkészlettől
 * függő vékony karakter helyett egységes, 2 px-es CSS-chevron jelenik meg. */
.ovx-expand {
  position: relative;
  font-size: 0;
}

.ovx-expand::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  opacity: .92;
  filter: drop-shadow(0 0 3px rgba(43, 124, 255, .18));
  transform: rotate(-45deg);
  transform-origin: center;
  transition: opacity .15s ease, transform .15s ease;
}

.ovx-expand[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.ovx-expand:hover::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ovx-executive-sticky-head,
  .ovx-expand::before {
    transition: none;
  }
}
