﻿html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

/* OMS environment topology */
.oms-environment-page {
  --oms-healthy: #179447;
  --oms-warning: #e88a00;
  --oms-critical: #c62828;
  --oms-no-data: #7b8794;
  padding: 1.25rem;
}

.oms-environment-header {
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 0.9rem;
}

.oms-environment-header__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.oms-live-state {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0 0.8rem;
  border: 1px solid rgba(0, 110, 189, 0.15);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.oms-live-state__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--oms-warning);
  box-shadow: 0 0 0 4px rgba(232, 138, 0, 0.12);
}

.oms-live-state[data-state="live"] .oms-live-state__dot {
  background: var(--oms-healthy);
  box-shadow: 0 0 0 4px rgba(23, 148, 71, 0.12);
}

.oms-live-state[data-state="polling"] .oms-live-state__dot {
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 110, 189, 0.12);
}

.oms-updated-state {
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.oms-topology-content {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.oms-topology-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.oms-summary-card {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f8fbff);
  box-shadow: 0 8px 22px rgba(0, 51, 102, 0.07);
}

.oms-summary-card__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 110, 189, 0.1);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.oms-summary-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.oms-summary-card strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--brand-blue-deep);
  font-size: 1.3rem;
  line-height: 1.1;
}

.oms-summary-card--healthy .oms-summary-card__icon {
  background: rgba(23, 148, 71, 0.11);
  color: var(--oms-healthy);
}

.oms-summary-card--healthy strong {
  color: var(--oms-healthy);
}

.oms-summary-card--warning .oms-summary-card__icon {
  background: rgba(232, 138, 0, 0.12);
  color: var(--oms-warning);
}

.oms-summary-card--warning strong {
  color: #b76c00;
}

.oms-summary-card--critical .oms-summary-card__icon {
  background: rgba(198, 40, 40, 0.1);
  color: var(--oms-critical);
}

.oms-summary-card--critical strong {
  color: var(--oms-critical);
}

.oms-topology-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: stretch;
  gap: 1rem;
}

.oms-topology-canvas {
  position: relative;
  min-width: 0;
  padding: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(rgba(0, 110, 189, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 110, 189, 0.025) 1px, transparent 1px),
    #fff;
  background-size: 24px 24px;
  box-shadow: 0 10px 28px rgba(0, 51, 102, 0.07);
}

.oms-topology-connections {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.oms-topology-connection {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.8;
}

.oms-topology-connection--no-data,
.oms-topology-connection--disabled {
  stroke-dasharray: 5 5;
}

.oms-topology-connection-label rect {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(0, 51, 102, 0.12);
}

.oms-topology-connection-label text {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.oms-topology-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(155px, 265px));
  justify-content: space-between;
  gap: clamp(1.25rem, 2.4vw, 3.75rem);
}

.oms-topology-group {
  min-width: 0;
}

.oms-topology-group > h2 {
  margin: 0 0 0.7rem;
  color: var(--brand-blue-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.oms-topology-group__nodes {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  min-height: 380px;
}

.oms-topology-node {
  position: relative;
  min-width: 0;
  min-height: 116px;
  padding: 0.7rem 0.75rem 0.65rem 0.85rem;
  border: 1px solid rgba(0, 51, 102, 0.15);
  border-left: 4px solid var(--oms-no-data);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 7px 18px rgba(0, 51, 102, 0.09);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.oms-topology-node:has(.oms-topology-node__link):hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(0, 51, 102, 0.13);
}

.oms-topology-node--healthy { border-left-color: var(--oms-healthy); }
.oms-topology-node--warning { border-left-color: var(--oms-warning); }
.oms-topology-node--critical { border-left-color: var(--oms-critical); }

.oms-topology-node__link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}

.oms-topology-node__link:focus-visible {
  outline: 3px solid rgba(0, 110, 189, 0.34);
  outline-offset: 2px;
}

.oms-topology-node__heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
}

.oms-topology-node__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e9f4ff;
  color: var(--brand-blue);
  font-size: 0.69rem;
  font-weight: 900;
}

.oms-topology-node h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 0.82rem;
  line-height: 1.2;
}

.oms-topology-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.28rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.oms-topology-status__dot,
.oms-legend-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--oms-no-data);
}

.oms-topology-node--healthy .oms-topology-status__dot,
.oms-legend-dot--healthy { background: var(--oms-healthy); }
.oms-topology-node--warning .oms-topology-status__dot,
.oms-legend-dot--warning { background: var(--oms-warning); }
.oms-topology-node--critical .oms-topology-status__dot,
.oms-legend-dot--critical { background: var(--oms-critical); }
.oms-legend-dot--no-data { background: var(--oms-no-data); }

.oms-topology-node__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.66rem;
}

.oms-topology-node__metrics strong {
  color: var(--brand-blue-deep);
}

.oms-topology-node > p {
  display: -webkit-box;
  margin: 0.4rem 0 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.oms-topology-sidebar {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.75rem;
  min-height: 0;
}

.oms-topology-side-card {
  padding: 0.8rem;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 51, 102, 0.07);
}

.oms-topology-side-card:first-child {
  min-height: 0;
  overflow: hidden;
}

.oms-topology-side-card > h2 {
  margin: 0 0 0.85rem;
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.oms-topology-alerts {
  display: grid;
  gap: 0.5rem;
  max-height: 292px;
  padding-right: 0.2rem;
  overflow-y: auto;
}

.oms-topology-alert {
  padding: 0.6rem;
  border: 1px solid rgba(123, 135, 148, 0.25);
  border-radius: 10px;
  background: #f8fafc;
}

.oms-topology-alert--warning {
  border-color: rgba(232, 138, 0, 0.5);
  background: #fff9ef;
}

.oms-topology-alert--critical {
  border-color: rgba(198, 40, 40, 0.42);
  background: #fff5f5;
}

.oms-topology-alert strong {
  color: var(--text-main);
  font-size: 0.78rem;
}

.oms-topology-alert p,
.oms-topology-clear-state p {
  margin: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.oms-topology-alert p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.oms-topology-alert a {
  position: relative;
  z-index: 2;
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.oms-topology-clear-state {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--oms-healthy);
}

.oms-topology-clear-state span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 148, 71, 0.1);
  font-weight: 900;
}

.oms-topology-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oms-topology-legend li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.oms-topology-legend__note {
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(0, 51, 102, 0.1);
  color: var(--text-muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

.oms-activity-strip {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 51, 102, 0.06);
}

.oms-activity-strip__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  border-right: 1px solid rgba(0, 51, 102, 0.1);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 800;
}

.oms-activity-strip__title small {
  margin-top: 0.25rem;
  color: var(--brand-blue);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.oms-activity-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.oms-activity-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 0.55rem;
  min-width: 0;
  padding: 0.9rem;
  border-right: 1px solid rgba(0, 51, 102, 0.08);
}

.oms-activity-item:last-child { border-right: 0; }

.oms-activity-item__marker {
  width: 10px;
  height: 10px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--oms-no-data);
}

.oms-activity-item--healthy .oms-activity-item__marker { background: var(--oms-healthy); }
.oms-activity-item--warning .oms-activity-item__marker { background: var(--oms-warning); }
.oms-activity-item--critical .oms-activity-item__marker { background: var(--oms-critical); }

.oms-activity-item time {
  display: block;
  color: var(--text-muted);
  font-size: 0.66rem;
}

.oms-activity-item strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-main);
  font-size: 0.74rem;
}

.oms-activity-item p {
  display: -webkit-box;
  margin: 0.25rem 0 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.67rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.oms-activity-empty {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (max-width: 1500px) {
  .oms-topology-workspace { grid-template-columns: 1fr; }
  .oms-topology-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .oms-topology-alerts { max-height: none; }
  .oms-activity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .oms-environment-header { align-items: flex-start; }
  .oms-environment-header__controls { justify-content: flex-start; }
  .oms-topology-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oms-topology-connections { display: none; }
  .oms-topology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .oms-topology-group__nodes { min-height: 0; }
}

@media (max-width: 640px) {
  .oms-topology-summary,
  .oms-topology-grid,
  .oms-topology-sidebar,
  .oms-activity-list { grid-template-columns: 1fr; }
  .oms-activity-strip { grid-template-columns: 1fr; }
  .oms-activity-strip__title { border-right: 0; border-bottom: 1px solid rgba(0, 51, 102, 0.1); }
  .oms-activity-item { border-right: 0; border-bottom: 1px solid rgba(0, 51, 102, 0.08); }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

:root {
  --shell-bg: #edf4fb;
  --panel-bg: #ffffff;
  --nav-bg: linear-gradient(180deg, #006ebd 0%, #005aa3 100%);
  --nav-border: #d0deeb;
  --text-main: #20313f;
  --text-muted: #5f7286;
  --accent: #ff6600;
  --accent-dark: #cc5200;
  --brand-blue: #006ebd;
  --brand-blue-dark: #005aa3;
  --brand-blue-deep: #003366;
  --header-height: 72px;
  --footer-height: 57px;
  --nav-expanded: 260px;
  --nav-collapsed: 88px;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7fafc 0%, var(--shell-bg) 100%);
  color: var(--text-main);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body:has(.public-shell) {
  background:
    radial-gradient(circle at top left, rgba(0, 110, 189, 0.16) 0%, transparent 34%),
    radial-gradient(circle at right center, rgba(255, 102, 0, 0.16) 0%, transparent 28%),
    linear-gradient(180deg, #f5f9fd 0%, #e8f1f9 100%);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem rgba(0, 110, 189, 0.25);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.app-shell {
  min-height: calc(100vh - var(--footer-height));
}

.public-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.public-header {
  padding: 1.5rem 2rem 0;
}

.public-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--brand-blue-deep);
  text-decoration: none;
}

.public-header__logo {
  width: auto;
  height: 74px;
  max-width: 220px;
  object-fit: contain;
}

.public-header__text {
  display: grid;
  gap: 0.2rem;
}

.public-header__title {
  font-size: 1.5rem;
  font-weight: 800;
}

.public-header__subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.public-main {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.app-header {
  height: var(--header-height);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(90deg, #ffffff 0%, #f7fbff 100%);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 4px 20px rgba(32, 49, 63, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

.app-header__brand-group,
.app-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-header__actions {
  margin-left: auto;
  justify-content: flex-end;
  min-width: 0;
}

.account-menu {
  display: grid;
  grid-template-columns: 40px minmax(0, auto) auto;
  align-items: center;
  gap: 0.75rem;
  max-width: min(540px, 52vw);
  padding: 0.5rem 0.55rem 0.5rem 0.5rem;
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.96));
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.08);
}

.account-menu__sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 110, 189, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.96));
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.08);
  color: var(--brand-blue-deep);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.account-menu__avatar {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.account-menu__identity {
  min-width: 0;
  display: grid;
  line-height: 1.15;
}

.account-menu__identity span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-menu__identity strong {
  max-width: 28ch;
  overflow: hidden;
  color: var(--brand-blue-deep);
  font-size: 0.92rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.1);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.account-menu__action:hover,
.account-menu__action:focus,
.account-menu__sign-in:hover,
.account-menu__sign-in:focus {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.app-header__brand {
  color: var(--brand-blue-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.app-header__brand:hover {
  color: var(--brand-blue);
}

.app-header__logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(240px, 42vw);
  object-fit: contain;
}

.app-header__brand-text {
  display: flex;
  align-items: center;
  min-width: 0;
}

.app-header__brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.app-header__context {
  display: grid;
  gap: 0.1rem;
  text-align: right;
}

.app-header__context-label {
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-header__context-value {
  color: var(--brand-blue-deep);
  font-size: 0.95rem;
  font-weight: 600;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef6ff 0%, #d9ebff 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 110, 189, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--brand-blue-deep);
}

.app-body {
  display: flex;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.side-nav {
  width: var(--nav-expanded);
  flex: 0 0 var(--nav-expanded);
  background: var(--nav-bg);
  border-right: 1px solid rgba(0, 51, 102, 0.16);
  box-shadow: 8px 0 24px rgba(0, 51, 102, 0.14);
  transition: width 0.25s ease, flex-basis 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.side-nav-backdrop {
  display: none;
}

.side-nav__header {
  padding: 1.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.side-nav__eyebrow {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav__title {
  margin-top: 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.side-nav__section {
  padding-top: 0.75rem;
}

.side-nav__section-toggle {
  width: calc(100% - 1.5rem);
  min-height: 36px;
  margin: 0 0.75rem 0.25rem;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
}

.side-nav__section-toggle:hover,
.side-nav__section-toggle:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.side-nav__section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav__section-chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.side-nav__section.is-collapsed .side-nav__section-chevron {
  transform: rotate(-45deg);
}

.side-nav__section.is-collapsed .side-nav__menu {
  display: none;
}

.side-nav__section-rail-link {
  display: none;
  margin: 0 0.75rem 0.75rem;
  min-height: 48px;
  padding: 0.55rem;
  border-left: 4px solid transparent;
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.side-nav__section-rail-link:hover,
.side-nav__section-rail-link:focus,
.side-nav__section-rail-link.active {
  background: rgba(255, 255, 255, 0.14);
  border-left-color: var(--accent);
  color: #ffffff;
}

.side-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0 0.75rem 1rem;
}

.side-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border-left: 4px solid transparent;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.side-nav__icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  line-height: 1;
}

.side-nav__icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-nav__link-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-nav__link:hover,
.side-nav__link.active {
  background: rgba(255, 255, 255, 0.14);
  border-left-color: var(--accent);
  color: #ffffff;
}

.side-nav__link--static {
  opacity: 0.8;
  cursor: default;
}

.content-panel {
  flex: 1;
  min-width: 0;
  padding: 1.5rem;
}

.page-card {
  background: var(--panel-bg);
  border: 1px solid var(--nav-border);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 51, 102, 0.08);
}

.page-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-card__header-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.page-card__eyebrow {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-card__title {
  margin: 0.4rem 0 0;
  color: var(--brand-blue-deep);
  font-size: clamp(1.8rem, 2vw + 1rem, 3rem);
  font-weight: 800;
  line-height: 1.06;
}

.page-card__subtitle {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: none;
  white-space: nowrap;
}

.monitor-environment-picker {
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  margin: 0;
}

.monitor-environment-picker label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.monitor-environment-picker span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monitor-environment-picker select {
  min-width: 9rem;
  height: 38px;
  border: 1px solid rgba(0, 110, 189, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand-blue-deep);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.sign-in-hero {
  width: min(100%, 1120px);
}

.sign-in-card {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(0, 110, 189, 0.07) 0%, rgba(255, 255, 255, 0.95) 42%, rgba(255, 102, 0, 0.08) 100%),
    #ffffff;
  box-shadow: 0 24px 60px rgba(0, 51, 102, 0.12);
}

.processor-controls-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.processor-controls-toolbar__row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.processor-controls-toolbar__switch-card,
.processor-controls-grid-card {
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
  box-shadow: 0 12px 28px rgba(0, 51, 102, 0.05);
}

.processor-controls-toolbar__switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
}

.processor-controls-toolbar__label {
  color: var(--brand-blue-deep);
  font-size: 1rem;
  font-weight: 800;
}

.processor-controls-toolbar__caption {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: none;
  white-space: nowrap;
}

.processor-controls-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.processor-controls-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 0.85rem;
  flex: 1 1 460px;
}

.processor-controls-summary__item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 110, 189, 0.06), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 0 0 1px rgba(0, 110, 189, 0.08);
}

.processor-controls-summary__label {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.processor-controls-summary__item strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--brand-blue-deep);
  font-size: 1.55rem;
  font-weight: 800;
}

.processor-controls-status {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 110, 189, 0.14);
  background: rgba(0, 110, 189, 0.06);
  color: var(--brand-blue-deep);
  font-weight: 600;
}

.processor-controls-status--success {
  border-color: rgba(35, 113, 82, 0.22);
  background: rgba(35, 113, 82, 0.08);
  color: #1f6d4e;
}

.processor-controls-status--error {
  border-color: rgba(164, 46, 46, 0.18);
  background: rgba(164, 46, 46, 0.08);
  color: #8d2020;
}

.processor-controls-grid-card {
  padding: 1rem;
}

.processor-controls-grid-card__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0 1rem;
}

.processor-controls-grid-card__title {
  color: var(--brand-blue-deep);
  font-size: 1.05rem;
  font-weight: 800;
}

.processor-controls-grid-card__subtitle {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.processor-action-button {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 110, 189, 0.16);
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.processor-action-button:hover,
.processor-action-button:focus {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 102, 0, 0.24);
}

.processor-action-button--secondary {
  background: linear-gradient(135deg, #f3f8fd 0%, #deebf8 100%);
  color: var(--brand-blue-deep);
  box-shadow: inset 0 0 0 1px rgba(0, 110, 189, 0.12);
}

.processor-action-button--ghost {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: inset 0 0 0 1px rgba(32, 49, 63, 0.12);
}

.processor-action-button--secondary:hover,
.processor-action-button--secondary:focus,
.processor-action-button--ghost:hover,
.processor-action-button--ghost:focus {
  color: #ffffff;
}

.processor-controls-grid-card .k-grid {
  border: 0;
  background: transparent;
}

.processor-controls-grid-card .k-grid-header {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fc 100%);
  padding-right: 0 !important;
  border-right-color: #edf5fc !important;
}

.processor-controls-grid-card .k-grid-header-wrap,
.processor-controls-grid-card .k-grid-header-locked,
.processor-controls-grid-card .k-grid .k-table-header {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fc 100%);
  border-right-color: #edf5fc !important;
}

.processor-controls-grid-card .k-grid-header .k-scrollbar,
.processor-controls-grid-card .k-grid-header .k-scrollbar-vertical,
.processor-controls-grid-card .k-grid-header .k-scrollbar-horizontal,
.processor-controls-grid-card .k-grid .k-scrollbar-corner {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fc 100%) !important;
}

.processor-controls-grid-card .k-grid-header .k-table-th {
  border-color: rgba(0, 110, 189, 0.08);
  color: var(--brand-blue-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.processor-controls-grid-card .k-grid-content td,
.processor-controls-grid-card .k-table-td {
  border-color: rgba(0, 110, 189, 0.08);
  vertical-align: middle;
}

.processor-controls-grid-card .k-master-row:hover {
  background: rgba(0, 110, 189, 0.035);
}

.processor-controls-grid-card .k-grid tbody tr:nth-child(even) {
  background: rgba(247, 251, 255, 0.72);
}

.processor-controls-grid-card .k-grid-footer {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fc 100%) !important;
  color: var(--brand-blue-deep);
  font-weight: 700;
  padding-right: 0 !important;
  border-right-color: #edf5fc !important;
}

.processor-controls-grid-card .k-grid-footer-wrap,
.processor-controls-grid-card .k-grid-footer-locked,
.processor-controls-grid-card .k-grid .k-table-footer {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fc 100%) !important;
  border-right-color: #edf5fc !important;
}

.processor-controls-toolbar .k-switch,
.processor-controls-grid-card .k-switch {
  position: relative;
  min-width: 96px;
  width: 96px;
  height: 34px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0, 51, 102, 0.16);
}

.processor-controls-toolbar .k-switch-track,
.processor-controls-grid-card .k-switch-track {
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3f6f9 0%, #dde6ef 100%);
  border: 0;
}

.processor-controls-toolbar .k-switch-thumb,
.processor-controls-grid-card .k-switch-thumb {
  width: 28px;
  height: 28px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.18);
}

.processor-controls-toolbar .k-switch-on .k-switch-track,
.processor-controls-grid-card .k-switch-on .k-switch-track {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
}

.processor-controls-toolbar .k-switch-off .k-switch-track,
.processor-controls-grid-card .k-switch-off .k-switch-track {
  background: linear-gradient(180deg, #eff3f7 0%, #dbe5ee 100%);
}

.processor-controls-toolbar .k-switch-label-on,
.processor-controls-toolbar .k-switch-label-off,
.processor-controls-grid-card .k-switch-label-on,
.processor-controls-grid-card .k-switch-label-off {
  opacity: 0;
  font-size: 0;
}

.processor-controls-toolbar .k-switch-label-on,
.processor-controls-grid-card .k-switch-label-on {
  color: #ffffff;
}

.processor-controls-toolbar .k-switch-label-off,
.processor-controls-grid-card .k-switch-label-off {
  color: var(--brand-blue-deep);
}

.processor-controls-toolbar .k-switch:focus,
.processor-controls-grid-card .k-switch:focus,
.processor-controls-toolbar .k-switch.k-focus,
.processor-controls-grid-card .k-switch.k-focus {
  box-shadow:
    inset 0 0 0 1px rgba(0, 51, 102, 0.16),
    0 0 0 4px rgba(255, 102, 0, 0.16);
}

.legacy-switch::after {
  content: attr(data-legacy-state);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.legacy-switch--on::after {
  justify-content: flex-start;
  padding-left: 0.7rem;
  color: #ffffff;
}

.legacy-switch--off::after {
  justify-content: flex-end;
  padding-right: 0.7rem;
  color: var(--brand-blue-deep);
}

.processor-controls-grid-card .k-filter-row td {
  background: #ffffff;
}

.processor-controls-grid-card .k-textbox,
.processor-controls-grid-card .k-input-inner,
.processor-controls-grid-card .k-picker {
  border-radius: 12px;
}

.processor-circuit-cell {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 110, 189, 0.08);
  color: var(--brand-blue-deep);
  font-weight: 800;
}

.processor-grid-number {
  font-variant-numeric: tabular-nums;
}

.processor-updated-by {
  color: var(--text-main);
  font-weight: 600;
}

.processor-updated-by--muted {
  color: var(--text-muted);
}

.sign-in-card--compact {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.sign-in-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 110, 189, 0.16) 0%, transparent 70%);
}

.sign-in-card__eyebrow {
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sign-in-card__title {
  margin: 0.45rem 0 0.8rem;
  color: var(--brand-blue-deep);
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
}

.sign-in-card__subtitle {
  max-width: 44rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.sign-in-card__actions {
  margin-top: 2rem;
}

.sign-in-card--compact .sign-in-card__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.sign-in-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #006ebd 0%, #004f8d 100%);
  box-shadow: 0 14px 28px rgba(0, 110, 189, 0.25);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sign-in-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(0, 110, 189, 0.32);
  color: #ffffff;
}

.sign-in-card__support {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 51, 102, 0.1);
}

.sign-in-card__support-title {
  color: var(--brand-blue-deep);
  font-size: 1rem;
  font-weight: 700;
}

.sign-in-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.sign-in-feature {
  padding: 1.25rem;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.sign-in-feature__label {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sign-in-feature p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
}

.home-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.home-hero__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid #d8e4ef;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.06);
}

.home-hero__card--accent {
  background: linear-gradient(145deg, #f7fbff 0%, #eef6ff 60%, #fff4eb 100%);
}

.home-hero__eyebrow {
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__card h2 {
  margin: 0.45rem 0 0.6rem;
  color: var(--brand-blue-deep);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.home-hero__card p {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  max-width: 44rem;
}

.hero-metric {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d7e4ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-metric__label {
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metric__value {
  color: var(--brand-blue-deep);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 110, 189, 0.1);
  color: var(--brand-blue-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.home-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dce7f0;
}

.home-section--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.home-section--secondary {
  margin-top: 1.75rem;
}

.home-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.home-section__title {
  margin: 0.35rem 0 0;
  color: var(--brand-blue-deep);
  font-size: 1.4rem;
  font-weight: 700;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.landing-grid--single {
  grid-template-columns: 1fr;
}

.landing-tile {
  display: block;
  padding: 1.5rem;
  border: 1px solid #d8e4ef;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.06);
}

.landing-tile__eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-tile h2 {
  margin: 0.35rem 0 0.5rem;
  color: var(--brand-blue-deep);
  font-size: 1.35rem;
}

.landing-tile p {
  margin: 0;
  color: var(--text-muted);
}

.landing-tile--info {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 70%, #eef6ff 100%);
}

.dashboard-section {
  margin-top: 1.35rem;
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-kpi-tile {
  min-height: 100%;
}

.dashboard-kpi-tile__meta,
.dashboard-watch-tile__meta {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.dashboard-kpi-tile__value--time {
  font-size: 1.1rem;
  line-height: 1.2;
}

.dashboard-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.dashboard-service-grid--multi {
  grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
}

.dashboard-service-tile {
  padding: 1.35rem 1.5rem;
}

.dashboard-service-tile__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-service-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.dashboard-service-metric {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(0, 110, 189, 0.05);
  box-shadow: inset 0 0 0 1px rgba(0, 110, 189, 0.08);
}

.dashboard-service-metric__label {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-service-metric strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--brand-blue-deep);
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-service-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d7e4ef;
  border-radius: 16px;
  background: #f8fbff;
  color: var(--text-main);
}

.dashboard-storm-jobs-section {
  border-top: 1px solid #d7e4ef;
  border-bottom: 1px solid #d7e4ef;
  padding-block: 1.15rem;
}

.dashboard-storm-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(34rem, 100%), 1fr));
  gap: 1rem;
}

.dashboard-storm-job-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid #d7e4ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.04);
}

.dashboard-storm-job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-storm-job-card__eyebrow {
  color: var(--brand-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-storm-job-card h3 {
  margin: 0.25rem 0 0;
  color: var(--brand-blue-deep);
  font-size: 1.15rem;
  line-height: 1.2;
}

.dashboard-storm-job-card__description {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.dashboard-storm-job-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.dashboard-storm-job-metrics div {
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(0, 110, 189, 0.1);
  border-radius: 8px;
  background: #f5f9fd;
}

.dashboard-storm-job-metrics dt {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.dashboard-storm-job-metrics dd {
  margin: 0.3rem 0 0;
  color: var(--brand-blue-deep);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.dashboard-storm-job-activity {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d7e4ef;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--text-main);
}

.dashboard-storm-job-activity span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-storm-job-activity strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.45;
}

.dashboard-storm-job-activity__time {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
}

.dashboard-storm-job-detail {
  margin-top: 0;
  padding-top: 0.7rem;
  border-top: 1px solid #d7e4ef;
}

.dashboard-watch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-watch-tile {
  min-height: 100%;
}

.operations-dashboard-page {
  padding: 1.25rem;
}

.operations-dashboard-header {
  align-items: center;
  margin-bottom: 0.8rem;
}

.operations-dashboard-header__controls,
.operations-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.operations-dashboard-alert {
  margin-bottom: 0.8rem;
}

.operations-dashboard-summary {
  margin-top: 0;
}

.operations-dashboard-section-header {
  align-items: center;
  justify-content: space-between;
}

.operations-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.operations-kpi-card {
  min-height: 7.2rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
}

.operations-kpi-card--healthy {
  border-left: 4px solid #179447;
}

.operations-kpi-card--warning,
.operations-kpi-card--attention {
  border-left: 4px solid #e88a00;
}

.operations-kpi-card--critical {
  border-left: 4px solid #c62828;
}

.operations-kpi-card--no-data,
.operations-kpi-card--disabled {
  border-left: 4px solid #7b8794;
}

.operations-kpi-card .summary-tile__value {
  margin-top: 0.45rem;
  font-size: 1.65rem;
}

.operations-kpi-card__status .status-pill {
  font-size: 0.82rem;
}

.operations-kpi-card__meta {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.operations-dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 22rem);
  gap: 0.85rem;
  align-items: start;
  margin-top: 0.85rem;
}

.operations-dashboard-panel {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.05);
}

.operations-dashboard-count {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: #eef6fc;
  color: var(--brand-blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
}

.operations-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.operations-service-grid--consolidated {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.operations-service-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-left-width: 4px;
  border-radius: 10px;
  background: #fbfdff;
}

.operations-service-card--healthy {
  border-left-color: #179447;
}

.operations-service-card--running {
  border-left-color: var(--brand-blue);
}

.operations-service-card--warning {
  border-left-color: #e88a00;
}

.operations-service-card--critical {
  border-left-color: #c62828;
}

.operations-service-card--no-data,
.operations-service-card--disabled {
  border-left-color: #7b8794;
}

.operations-service-card__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.operations-service-card__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: #eaf4fc;
  color: var(--brand-blue);
  font-size: 0.64rem;
  font-weight: 900;
}

.operations-service-card__identity {
  min-width: 0;
}

.operations-service-card__identity > span {
  display: block;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.operations-service-card h3 {
  margin: 0.15rem 0 0;
  color: var(--brand-blue-deep);
  font-size: 0.94rem;
  line-height: 1.2;
}

.operations-service-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.operations-service-card__metrics strong {
  color: var(--brand-blue-deep);
}

.operations-service-card > p,
.operations-attention-item p,
.operations-attention-empty p,
.operations-activity-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.operations-service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 110, 189, 0.09);
  color: var(--text-muted);
  font-size: 0.68rem;
}

.operations-service-card__footer a,
.operations-attention-item a {
  flex: 0 0 auto;
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: none;
}

.operations-service-card__footer a:hover,
.operations-attention-item a:hover {
  text-decoration: underline;
}

.operations-attention-list {
  display: grid;
  gap: 0.6rem;
}

.operations-attention-item {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #f1c27d;
  border-radius: 10px;
  background: #fffaf2;
}

.operations-attention-item--critical {
  border-color: #efaaaa;
  background: #fff5f5;
}

.operations-attention-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
}

.operations-attention-item__detail {
  display: -webkit-box;
  margin-top: 0.35rem !important;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.operations-attention-overflow {
  padding: 0.65rem 0.75rem;
  border: 1px dashed rgba(0, 110, 189, 0.22);
  border-radius: 10px;
  background: #f8fbfd;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.operations-attention-empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.2rem;
  border: 1px dashed #a9d6b7;
  border-radius: 10px;
  background: #f3fbf6;
  text-align: center;
}

.operations-attention-empty > span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #179447;
  color: #ffffff;
  font-weight: 900;
}

.operations-activity-panel {
  margin-top: 0.85rem;
}

.operations-activity-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operations-activity-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-left: 1px solid rgba(0, 110, 189, 0.12);
}

.operations-activity-item:first-child {
  border-left: 0;
}

.operations-activity-item__marker {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: #7b8794;
}

.operations-activity-item--healthy .operations-activity-item__marker {
  background: #179447;
}

.operations-activity-item--warning .operations-activity-item__marker {
  background: #e88a00;
}

.operations-activity-item--critical .operations-activity-item__marker {
  background: #c62828;
}

.operations-activity-item time {
  display: block;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.operations-activity-item strong {
  display: block;
  margin: 0.15rem 0 0.2rem;
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
}

.operations-activity-empty {
  padding: 1rem;
  border: 1px dashed rgba(0, 110, 189, 0.2);
  border-radius: 10px;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 1400px) {
  .operations-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .operations-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .operations-dashboard-main {
    grid-template-columns: 1fr;
  }

  .operations-activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-activity-item:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .operations-dashboard-page {
    padding: 1rem;
  }

  .operations-dashboard-header__controls,
  .operations-dashboard-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .operations-kpi-grid,
  .operations-service-grid,
  .operations-activity-list {
    grid-template-columns: 1fr;
  }

  .operations-activity-item,
  .operations-activity-item:nth-child(odd) {
    border-top: 1px solid rgba(0, 110, 189, 0.12);
    border-left: 0;
  }

  .operations-activity-item:first-child {
    border-top: 0;
  }
}

.monitor-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.monitor-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.monitor-summary-grid--wide {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.monitor-summary-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.85rem;
}

.monitor-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.monitor-heartbeat-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.monitor-heartbeat-shell--dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.monitor-summary-shell {
  padding-top: 1rem;
  padding-bottom: 1.75rem;
}

.summary-tile--compact {
  min-height: 5.25rem;
  padding: 0.85rem 0.95rem;
}

.monitor-kpi-card {
  min-height: 8.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.05);
}

.monitor-kpi-card .summary-tile__value {
  margin-top: 0.55rem;
  color: var(--brand-blue-deep);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.monitor-kpi-card--status .summary-tile__value.status-pill,
.monitor-kpi-card--alert .summary-tile__value.status-pill {
  font-size: 0.86rem;
}

.monitor-breakdown-card,
.monitor-diagnostics-panel {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.05);
}

.monitor-breakdown-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.monitor-breakdown-card__total {
  color: var(--brand-blue-deep);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.monitor-breakdown-card__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.monitor-breakdown-card__body--stacked {
  grid-template-columns: 1fr;
}

.monitor-breakdown-card__metric {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: rgba(0, 110, 189, 0.05);
  box-shadow: inset 0 0 0 1px rgba(0, 110, 189, 0.08);
}

.monitor-breakdown-card__metric span {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monitor-breakdown-card__metric strong {
  color: var(--brand-blue-deep);
  font-size: 1.15rem;
  font-weight: 800;
}

.monitor-breakdown-card--batch .status-pill {
  align-self: flex-start;
}

.monitor-diagnostics-panel__header {
  margin-bottom: 0.85rem;
}

.monitor-diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.monitor-diagnostics-grid .summary-tile--compact {
  min-height: auto;
}

.monitor-diagnostics-grid .summary-tile__value {
  margin-top: 0.35rem;
  color: var(--brand-blue-deep);
  font-size: 1.35rem;
  font-weight: 800;
}

.monitor-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d7e4ef;
  border-radius: 16px;
  background: #f8fbff;
  color: var(--text-main);
}

.monitor-connection-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(176, 42, 55, 0.24);
  border-radius: 18px;
  background: #fff4f4;
  color: #7f1d1d;
}

.monitor-connection-alert__content {
  display: grid;
  gap: 0.2rem;
}

.monitor-connection-alert__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.monitor-inline-button {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: #b02a37;
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .page-card__subtitle,
  .processor-controls-toolbar__caption {
    white-space: normal;
  }

  .page-card__header {
    flex-direction: column;
  }

  .page-card__header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .monitor-environment-picker,
  .monitor-environment-picker label,
  .monitor-environment-picker select {
    width: 100%;
  }

  .processor-controls-toolbar__switch-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .processor-controls-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-storm-job-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.monitor-inline-button--secondary {
  background: #ffffff;
  color: #7f1d1d;
  box-shadow: inset 0 0 0 1px rgba(176, 42, 55, 0.25);
}

.monitor-inline-link {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  color: var(--brand-blue-deep);
  font-weight: 800;
  text-decoration: none;
}

.monitor-inline-link:hover,
.monitor-inline-link:focus {
  color: var(--brand-blue);
  text-decoration: underline;
}

.monitor-table td,
.monitor-table th {
  white-space: nowrap;
}

.monitor-table td:last-child,
.monitor-table th:last-child {
  white-space: normal;
  min-width: 18rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.monitor-list-shell {
  display: grid;
  gap: 0.75rem;
  background: transparent !important;
}

#oms-monitor-content {
  overflow-anchor: none;
}

.relay-monitor-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.85rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: 0.95rem;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-radius: 16px;
  background: #f8fbff;
}

.relay-monitor-filter label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.relay-monitor-filter label span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.relay-monitor-filter__search {
  grid-column: span 2;
}

.relay-monitor-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.relay-monitor-note__meta {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.relay-path {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1rem;
}

.relay-path span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(0, 110, 189, 0.18);
  border-radius: 14px;
  background: #ffffff;
  color: var(--brand-blue-deep);
  font-weight: 800;
  text-align: center;
}

.relay-path span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.48rem;
  top: 50%;
  z-index: 1;
  width: 0.48rem;
  border-top: 2px solid rgba(0, 110, 189, 0.28);
}

.relay-flow-list {
  display: grid;
  gap: 0.85rem;
}

.relay-flow-list-shell {
  display: grid;
  gap: 0.85rem;
}

.relay-flow-list.k-listview,
.relay-flow-list .k-listview-content {
  display: grid;
  gap: 0.85rem;
  border: 0;
  background: transparent;
}

.relay-flow-card {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-radius: 16px;
  background: #ffffff;
}

.relay-flow-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.relay-flow-card__title-group {
  min-width: 0;
}

.relay-flow-card__eyebrow {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.relay-flow-card__title {
  margin: 0.18rem 0 0;
  color: var(--brand-blue-deep);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.relay-flow-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.relay-stepper {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.relay-step {
  border: 1px solid rgba(0, 110, 189, 0.1);
  border-radius: 14px;
  background: #f8fbff;
}

.relay-step > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  cursor: pointer;
  list-style: none;
}

.relay-step > summary::-webkit-details-marker {
  display: none;
}

.relay-step__marker {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  background: #5f7286;
  box-shadow: 0 0 0 4px rgba(95, 114, 134, 0.12);
}

.relay-step--success .relay-step__marker {
  background: #1f6a3f;
  box-shadow: 0 0 0 4px rgba(31, 106, 63, 0.12);
}

.relay-step--failed .relay-step__marker {
  background: #b02a37;
  box-shadow: 0 0 0 4px rgba(176, 42, 55, 0.12);
}

.relay-step--completedwitherrors .relay-step__marker,
.relay-step--waiting .relay-step__marker {
  background: #8f430c;
  box-shadow: 0 0 0 4px rgba(143, 67, 12, 0.12);
}

.relay-step__summary-main {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.relay-step__stage {
  color: var(--brand-blue-deep);
  font-weight: 800;
}

.relay-step__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.relay-step__details {
  padding: 0 0.85rem 0.85rem 2.35rem;
}

.relay-step__detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.65rem;
}

.relay-step__detail-grid div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.relay-step__detail-grid span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.relay-step__detail-grid strong {
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.relay-step__urls,
.relay-step__error {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.relay-step__error {
  border: 1px solid rgba(176, 42, 55, 0.18);
  background: #fff4f4;
  color: #7f1d1d;
}

.relay-step__error span {
  display: block;
  margin-top: 0.25rem;
}

.relay-xml-block {
  max-height: 24rem;
  overflow: auto;
}

.avl-map-header {
  align-items: center;
  justify-content: space-between;
}

.avl-map-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(0, 110, 189, 0.16);
  border-radius: 8px;
  background: #f8fbfd;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.avl-map-summary strong {
  color: var(--brand-blue-deep);
  font-size: 1.15rem;
  line-height: 1;
}

.avl-map-panel {
  overflow: hidden;
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 51, 102, 0.05);
}

.avl-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(0, 110, 189, 0.12);
  background: #f8fbfd;
}

.avl-map-toolbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.avl-map-toolbar .monitor-inline-button {
  min-height: 32px;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand-blue-deep);
  box-shadow: inset 0 0 0 1px rgba(0, 110, 189, 0.18);
  font-size: 0.9rem;
}

.avl-map-toolbar .monitor-inline-button:hover,
.avl-map-toolbar .monitor-inline-button:focus {
  background: var(--brand-blue);
  color: #ffffff;
}

.avl-map-select {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.avl-map-select select {
  min-width: 12rem;
  max-width: 18rem;
  height: 32px;
  border: 1px solid rgba(0, 110, 189, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand-blue-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.avl-vehicle-map {
  width: 100%;
  height: clamp(360px, 52vh, 620px);
  background: #eef5fb;
}

.avl-vehicle-map--unavailable {
  min-height: 360px;
}

.avl-map-empty-state {
  margin: 0.85rem 1rem 1rem;
}

.avl-map-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 1.85rem;
  padding: 0 0.45rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(0, 51, 102, 0.24);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.avl-map-marker::after {
  content: "";
  position: absolute;
  bottom: -0.26rem;
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background: inherit;
  transform: rotate(45deg);
}

.avl-map-marker span {
  position: relative;
  z-index: 1;
}

.avl-map-marker--success {
  background: #1f6a3f;
}

.avl-map-marker--failed {
  background: #b02a37;
}

.avl-map-marker--skipped,
.avl-map-marker--warning {
  background: #8f430c;
}

.avl-map-marker--started {
  background: var(--brand-blue);
}

.avl-map-marker--unknown {
  background: #5f7286;
}

.avl-map-popup {
  display: grid;
  gap: 0.45rem;
  min-width: 15.5rem;
  color: var(--text-main);
}

.avl-map-popup strong {
  color: var(--brand-blue-deep);
  font-size: 1rem;
}

.avl-map-popup > span {
  justify-self: start;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.avl-map-popup dl {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 0.25rem 0.65rem;
  margin: 0;
}

.avl-map-popup dt {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.avl-map-popup dd {
  margin: 0;
  color: var(--text-main);
  white-space: nowrap;
}

.avl-map-popup__error {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: #fff0f0;
  color: #7f1d1d;
  overflow-wrap: anywhere;
}

.avl-map-panel .leaflet-control-attribution {
  display: none;
}

.avl-operations-overview {
  display: grid;
  gap: 0.65rem;
}

.avl-processor-page {
  padding: 1.25rem;
}

.avl-processor-page > .page-card__header {
  align-items: center;
  margin-bottom: 0.85rem;
}

.avl-processor-page .page-card__title {
  margin-top: 0.2rem;
  font-size: clamp(1.8rem, 1.6vw + 0.75rem, 2.45rem);
}

.avl-processor-page .page-card__subtitle {
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.avl-processor-page .monitor-environment-picker select {
  height: 34px;
}

.avl-health-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 10px;
  background: #f8fbfd;
}

.avl-health-strip__item {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.35rem 0.65rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-right: 1px solid rgba(0, 110, 189, 0.12);
}

.avl-health-strip__item:last-child {
  border-right: 0;
}

.avl-health-strip__item > span {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.avl-health-strip__item > strong {
  justify-self: end;
}

.avl-health-strip__item > small {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avl-operator-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.avl-operator-kpi {
  min-height: 4.75rem;
  padding: 0.65rem 0.8rem;
}

.avl-operator-kpi .summary-tile__value {
  margin-top: 0.2rem;
  font-size: 1.45rem;
  line-height: 1;
}

.avl-operator-kpi--attention {
  border-color: rgba(176, 42, 55, 0.2);
}

.avl-operator-kpi__meta {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.avl-pipeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(0, 110, 189, 0.12);
  border-bottom: 1px solid rgba(0, 110, 189, 0.12);
}

.avl-pipeline__stage {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.avl-pipeline__stage > span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.avl-pipeline__stage > strong {
  color: var(--brand-blue-deep);
  font-size: 0.92rem;
}

.avl-pipeline__stage > small {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avl-pipeline__arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.avl-map-workspace {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(24rem, 2fr);
  gap: 1rem;
  align-items: stretch;
}

.avl-processor-page .home-section:not(.home-section--first) {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

.avl-processor-page .home-section__header {
  margin-bottom: 0.55rem;
}

.avl-processor-page .home-section__title {
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.avl-map-workspace__main {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  min-width: 0;
}

.avl-map-workspace__main .avl-map-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.avl-map-workspace .avl-vehicle-map {
  flex: 1;
  height: auto;
  min-height: clamp(410px, 56vh, 640px);
}

.avl-diagnostics-panel {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 51, 102, 0.05);
}

.avl-diagnostics-panel > .home-section__header {
  margin-bottom: 0.55rem;
}

.avl-diagnostics-panel .avl-detail-tabstrip {
  padding: 0.65rem;
}

.avl-diagnostics-panel .avl-detail-toolbar {
  align-items: stretch;
  flex-direction: column;
  gap: 0.65rem;
}

.avl-diagnostics-panel .avl-detail-toolbar__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 0.45fr);
}

.avl-diagnostics-panel .avl-detail-toolbar__filters input,
.avl-diagnostics-panel .avl-detail-toolbar__filters select {
  width: 100%;
}

.avl-diagnostics-panel .avl-detail-summary {
  gap: 0.35rem;
}

.avl-diagnostics-panel .avl-detail-summary > div {
  padding: 0.4rem 0.5rem;
}

.avl-diagnostics-panel .avl-detail-tabstrip .monitor-listview {
  max-height: clamp(18rem, 40vh, 27rem);
}

.avl-attention-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.9rem;
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 51, 102, 0.05);
}

.avl-attention-panel .home-section__header {
  margin-bottom: 0.25rem;
}

.avl-attention-panel__count {
  display: inline-grid;
  min-width: 1.8rem;
  min-height: 1.8rem;
  place-items: center;
  border-radius: 999px;
  background: #edf6fc;
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.avl-attention-list {
  display: grid;
  align-content: start;
}

.avl-attention-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 110, 189, 0.12);
}

.avl-attention-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.avl-attention-item__header strong {
  color: var(--brand-blue-deep);
  font-size: 0.9rem;
}

.avl-attention-item__meta {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.avl-attention-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #7f1d1d;
  font-size: 0.76rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.avl-attention-panel > .monitor-inline-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.8rem;
}

.avl-detail-section-header p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.avl-detail-tabstrip {
  padding: 0.85rem;
  border: 1px solid rgba(0, 110, 189, 0.12) !important;
  border-radius: 12px;
  background: #f8fbfd !important;
}

.avl-detail-tabstrip .k-content,
.avl-detail-tabstrip .k-tabstrip-content {
  padding-top: 0.85rem;
}

.avl-detail-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.avl-detail-toolbar__filters {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}

.avl-detail-toolbar__filters label {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.avl-detail-toolbar__filters label > span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.avl-detail-toolbar__filters input,
.avl-detail-toolbar__filters select {
  min-height: 34px;
  border: 1px solid rgba(0, 110, 189, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text-main);
  font: inherit;
}

.avl-detail-toolbar__filters input {
  width: min(23rem, 34vw);
  padding: 0.4rem 0.65rem;
}

.avl-detail-toolbar__filters select {
  min-width: 9.5rem;
  padding: 0.35rem 2rem 0.35rem 0.6rem;
}

.avl-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.avl-detail-summary--compact {
  grid-template-columns: repeat(3, minmax(0, 10rem));
}

.avl-detail-summary--exceptions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.avl-detail-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(0, 110, 189, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.avl-detail-summary span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.avl-detail-summary strong {
  color: var(--brand-blue-deep);
  font-size: 1rem;
}

.avl-detail-summary__warning strong {
  color: #9a5b00;
}

.avl-detail-summary__failed strong {
  color: #b02a37;
}

.avl-detail-tabstrip .monitor-listview {
  max-height: 34rem;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-gutter: stable;
}

.avl-detail-row[data-filter-state="failed"] {
  border-left: 3px solid #b02a37;
}

.avl-detail-row[data-filter-state="stale"] {
  border-left: 3px solid #e58a00;
}

.avl-detail-row__actions {
  display: grid;
  justify-items: end;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.avl-detail-locate {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.avl-detail-locate:hover,
.avl-detail-locate:focus {
  color: var(--brand-blue-deep);
}

.avl-detail-row .monitor-list-row__message--error {
  padding: 0.45rem 0.6rem;
  border-radius: 7px;
  background: #fff1f1;
  color: #8b1e2b;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

@media (min-width: 1280px) {
  .avl-operations-overview {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: stretch;
  }

  .avl-pipeline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1120px) {
  .avl-map-workspace {
    grid-template-columns: 1fr;
  }

  .avl-attention-panel,
  .avl-diagnostics-panel {
    min-height: 0;
  }

  .avl-attention-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }
}

@media (max-width: 760px) {
  .avl-health-strip,
  .avl-operator-kpis {
    grid-template-columns: 1fr;
  }

  .avl-health-strip__item {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 110, 189, 0.12);
  }

  .avl-health-strip__item:last-child {
    border-bottom: 0;
  }

  .avl-pipeline {
    grid-template-columns: 1fr;
  }

  .avl-pipeline__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .avl-attention-list {
    grid-template-columns: 1fr;
  }

  .avl-detail-toolbar,
  .avl-detail-toolbar__filters {
    align-items: stretch;
    flex-direction: column;
  }

  .avl-detail-toolbar__filters input,
  .avl-detail-toolbar__filters select {
    width: 100%;
  }

  .avl-detail-summary,
  .avl-detail-summary--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .avl-detail-row__actions {
    justify-items: start;
  }
}

.monitor-note--warning {
  border-color: rgba(143, 67, 12, 0.26);
  background: #fff7eb;
  color: #7a3908;
}

.storm-feed-alerts {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.storm-feed-alerts[hidden] {
  display: none;
}

.storm-feed-page {
  --storm-feed-map-height: clamp(420px, calc(100vh - 430px), 720px);
  padding: 1.2rem;
}

.storm-feed-page > .page-card__header {
  align-items: center;
  margin-bottom: 0.8rem;
}

.storm-feed-page .page-card__title {
  margin-top: 0.25rem;
  font-size: clamp(1.8rem, 1.5vw + 0.9rem, 2.5rem);
}

.storm-feed-page .page-card__subtitle {
  margin-top: 0.45rem;
}

.storm-feed-page .home-section:not(.home-section--first) {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.storm-feed-page .home-section__header {
  margin-bottom: 0.55rem;
}

.storm-feed-kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0;
}

.storm-feed-kpi-grid .monitor-kpi-card {
  min-height: 6rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
}

.storm-feed-kpi-grid .monitor-kpi-card .summary-tile__value {
  margin-top: 0.35rem;
  font-size: 1.55rem;
}

.storm-feed-kpi-time {
  font-size: 0.92rem !important;
  line-height: 1.2;
}

.storm-feed-map-header {
  align-items: center;
  justify-content: space-between;
}

.storm-feed-map-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(0, 110, 189, 0.16);
  border-radius: 8px;
  background: #f8fbfd;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.storm-feed-map-summary strong {
  color: var(--brand-blue-deep);
  font-size: 1.15rem;
  line-height: 1;
}

.storm-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
  gap: 1rem;
  align-items: stretch;
}

.storm-feed-map-panel,
.storm-feed-source-panel,
.storm-feed-events-panel {
  overflow: hidden;
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 51, 102, 0.05);
}

.storm-feed-map-panel {
  min-width: 0;
}

.storm-feed-map-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(0, 110, 189, 0.12);
  background: #f8fbfd;
}

.storm-feed-map-toolbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.storm-feed-map-toolbar .monitor-inline-button {
  min-height: 30px;
  padding: 0.32rem 0.62rem;
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand-blue-deep);
  box-shadow: inset 0 0 0 1px rgba(0, 110, 189, 0.18);
  font-size: 0.9rem;
}

.storm-feed-map-toolbar .monitor-inline-button:hover,
.storm-feed-map-toolbar .monitor-inline-button:focus {
  background: var(--brand-blue);
  color: #ffffff;
}

.storm-feed-map-toolbar .monitor-inline-button:disabled {
  opacity: 0.62;
}

.storm-feed-map-toolbar .storm-feed-radar-button.is-active {
  background: #0c7da3;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 51, 102, 0.16), 0 8px 18px rgba(0, 110, 189, 0.2);
}

.storm-center-feed-map {
  width: 100%;
  height: var(--storm-feed-map-height);
  background: #eef5fb;
}

.storm-weather-radar-pane {
  filter: blur(3px) saturate(1.18) contrast(1.04);
  transform: translateZ(0);
  will-change: filter;
}

.storm-feed-outage-footprint {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 4px rgba(48, 43, 22, 0.18));
}

.storm-center-feed-map--unavailable {
  min-height: 420px;
}

.storm-feed-map-empty-state {
  margin: 0.85rem 1rem 1rem;
}

.storm-feed-side-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.7rem;
  height: calc(var(--storm-feed-map-height) + 45px);
  max-height: none;
  min-width: 0;
  overflow: hidden;
}

.storm-feed-events-scroll {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.2rem;
  scrollbar-gutter: stable;
}

.storm-feed-source-panel,
.storm-feed-events-panel {
  padding: 0.72rem;
}

.storm-feed-source-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.storm-feed-source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 0.65rem;
  align-items: center;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(0, 110, 189, 0.1);
  border-radius: 8px;
  background: #f8fbfd;
}

.storm-feed-source-row > span {
  color: var(--brand-blue-deep);
  font-weight: 800;
}

.storm-feed-source-row code,
.storm-feed-source-row small {
  grid-column: 1 / -1;
}

.storm-feed-source-row code {
  color: #41566d;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.storm-feed-source-row small {
  color: var(--text-muted);
  font-weight: 700;
}

.storm-feed-list-header {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.storm-feed-event-list,
.storm-feed-event-list .k-listview-content {
  display: grid;
  gap: 0.45rem;
}

.storm-feed-event-list {
  border: 0;
  background: transparent;
}

.storm-feed-pager {
  justify-content: center;
  min-height: 2rem;
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(0, 110, 189, 0.1) !important;
}

.storm-feed-pager[hidden] {
  display: none !important;
}

.storm-feed-pager .k-pager-numbers .k-link,
.storm-feed-pager .k-pager-nav {
  min-width: 1.8rem;
  height: 1.8rem;
}

.storm-feed-event-button {
  display: grid;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text-main);
  text-align: left;
  box-shadow: none;
}

.storm-feed-event-button:hover,
.storm-feed-event-button:focus,
.storm-feed-event-button.is-active {
  border-color: rgba(0, 110, 189, 0.38);
  background: #f4f9ff;
}

.storm-feed-event-button--restoration:hover,
.storm-feed-event-button--restoration:focus,
.storm-feed-event-button--restoration.is-active {
  border-color: rgba(31, 106, 63, 0.36);
  background: #f3fbf6;
}

.storm-feed-event-button__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.storm-feed-event-button__topline strong {
  color: var(--brand-blue-deep);
  font-size: 0.98rem;
}

.storm-feed-event-button__meta,
.storm-feed-event-button__warning {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.storm-feed-event-button__warning {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: #fff7eb;
  color: #7a3908;
  overflow-wrap: anywhere;
}

.storm-feed-location-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.225rem;
  height: 1.225rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 9px rgba(0, 48, 87, 0.24);
  color: #ffffff;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
}

.storm-feed-location-marker__symbol {
  display: none;
}

.storm-feed-location-marker--sm {
  background: #5f8f3d;
}

.storm-feed-location-marker--md {
  background: #15a6d1;
}

.storm-feed-location-marker--lg {
  background: #e7782d;
}

.storm-feed-location-marker--xl {
  background: #9b7ac7;
}

.storm-feed-location-marker--xxl {
  background: #c7352e;
}

.storm-feed-location-marker--restoration {
  background: #1f6a3f;
}

.storm-feed-location-marker--multiple {
  background: #f28a1a;
}

.storm-feed-location-marker--cluster {
  width: 1.9rem;
  height: 1.9rem;
  border: 3px solid #ef6c2f;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 48, 87, 0.22);
  color: var(--brand-blue-deep);
  font-size: 0.8rem;
}

.storm-feed-location-marker__cluster-count {
  color: var(--brand-blue-deep);
  font-weight: 900;
  line-height: 1;
}

.storm-feed-location-marker__crew {
  position: absolute;
  right: -0.22rem;
  bottom: -0.22rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #111827;
  box-shadow: 0 2px 5px rgba(17, 24, 39, 0.28);
}

.storm-feed-location-marker__crew::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.12rem;
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 999px;
  background: #ffffff;
}

.storm-feed-location-marker__crew::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.33rem;
  width: 0.3rem;
  height: 0.16rem;
  border-radius: 0.3rem 0.3rem 0.12rem 0.12rem;
  background: #ffffff;
}

.storm-feed-map-legend {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 110, 189, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.16);
  color: var(--text-main);
  font-size: 0.82rem;
}

.storm-feed-map-legend strong {
  color: var(--brand-blue-deep);
  font-size: 0.9rem;
}

.storm-feed-map-legend span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.storm-feed-legend-swatch {
  display: inline-block;
  width: 1.35rem;
  height: 0.7rem;
  border-radius: 2px;
}

.storm-feed-legend-swatch--service {
  border: 2px solid #00a6d6;
  background: rgba(72, 200, 238, 0.18);
}

.storm-feed-legend-swatch--outage {
  border: 1px solid #3c3927;
  background: rgba(200, 189, 102, 0.58);
}

.storm-feed-legend-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(0, 51, 102, 0.22);
  color: #ffffff;
  font-style: normal;
}

.storm-feed-legend-crew {
  position: relative;
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #111827;
  box-shadow: 0 2px 5px rgba(0, 51, 102, 0.22);
}

.storm-feed-legend-crew::before {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.22rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: #ffffff;
}

.storm-feed-legend-crew::after {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 0.58rem;
  width: 0.52rem;
  height: 0.28rem;
  border-radius: 0.3rem 0.3rem 0.12rem 0.12rem;
  background: #ffffff;
}

.storm-feed-popup {
  display: grid;
  gap: 0.45rem;
  min-width: 16rem;
  color: var(--text-main);
}

.storm-feed-popup strong {
  color: var(--brand-blue-deep);
  font-size: 1rem;
}

.storm-feed-popup > span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.storm-feed-popup dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.25rem 0.65rem;
  margin: 0;
}

.storm-feed-popup dt {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.storm-feed-popup dd {
  min-width: 0;
  margin: 0;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.storm-feed-map-panel .leaflet-control-attribution {
  display: none;
}

.monitor-tabstrip,
.monitor-tabstrip.k-tabstrip {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.monitor-tabstrip .k-tabstrip-items-wrapper {
  border: 0;
  border-bottom: 1px solid #dee2e6;
}

.monitor-tabstrip .k-tabstrip-items {
  border: 0;
  background: transparent;
  gap: 0;
}

.monitor-tabstrip .k-item {
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  background: transparent;
  color: #0d6efd;
  font-weight: 500;
}

.monitor-tabstrip .k-item.k-active {
  border-color: #dee2e6 #dee2e6 #ffffff;
  background: #ffffff;
  color: #495057;
}

.monitor-tabstrip .k-item:not(.k-active):hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  color: #0a58ca;
}

.monitor-tabstrip .k-content,
.monitor-tabstrip .k-tabstrip-content {
  padding: 1.25rem 0 0;
  border: 0;
  background: transparent;
}

.monitor-tabstrip .k-content:focus,
.monitor-tabstrip .k-content:focus-visible,
.monitor-tabstrip .k-tabstrip-content:focus,
.monitor-tabstrip .k-tabstrip-content:focus-visible {
  outline: 0;
  box-shadow: none;
}

.monitor-tabstrip .home-section {
  padding-top: 1.25rem;
}

.monitor-tabstrip .home-section--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.monitor-listview {
  min-height: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.monitor-listview:not(.k-widget):not(.k-listview) {
  display: grid;
  gap: 0.65rem;
}

.monitor-listview.k-widget,
.monitor-listview.k-listview,
.monitor-listview .k-listview,
.monitor-listview .k-listview-content,
.monitor-listview .k-list-content,
.monitor-listview .k-widget {
  border: 0;
  background: transparent !important;
  padding: 0;
  box-shadow: none;
}

.monitor-listview .k-listview-content {
  display: grid;
  gap: 0.65rem;
}

.monitor-event-stream {
  display: grid;
  gap: 0.65rem;
  max-height: 34rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.monitor-list-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(0, 110, 189, 0.1);
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.monitor-list-row + .monitor-list-row {
  margin-top: 0;
}

.monitor-list-row__main {
  min-width: 0;
  flex: 1;
}

.monitor-list-row__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.monitor-list-row__title {
  color: var(--brand-blue-deep);
  font-size: 0.98rem;
  font-weight: 800;
  margin-right: 0.5rem;
}

.monitor-list-row__meta-item {
  white-space: nowrap;
}

.monitor-list-row__message {
  margin-top: 0.45rem;
  color: var(--text-main);
  line-height: 1.35;
}

.monitor-console-block {
  margin-top: 0.6rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: #0f2233;
  color: #d9ebfb;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.monitor-diff-details {
  margin-top: 0.85rem;
  border-top: 1px solid rgba(0, 110, 189, 0.1);
  padding-top: 0.75rem;
}

.monitor-diff-details > summary {
  cursor: pointer;
  color: var(--brand-blue-deep);
  font-weight: 800;
}

.monitor-diff-tabs {
  margin-top: 0.8rem;
}

.monitor-diff-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 1px solid #dee2e6;
}

.monitor-diff-tab {
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  background: transparent;
  color: #0d6efd;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
}

.monitor-diff-tab:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  color: #0a58ca;
}

.monitor-diff-tab:focus,
.monitor-diff-tab:focus-visible {
  outline: 0;
  box-shadow: none;
}

.monitor-diff-tab--active {
  border-color: #dee2e6 #dee2e6 #ffffff;
  background: #ffffff;
  color: #495057;
}

.monitor-diff-content {
  display: none;
  padding-top: 0.85rem;
}

.monitor-diff-content--active {
  display: block;
}

.monitor-diff-list {
  display: grid;
  gap: 0.65rem;
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.monitor-diff-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.monitor-diff-table-wrap {
  max-height: 30rem;
  overflow: auto;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.monitor-diff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.monitor-diff-table th,
.monitor-diff-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(0, 110, 189, 0.1);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.monitor-diff-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7fbff;
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.monitor-diff-table tr:last-child td {
  border-bottom: 0;
}

.monitor-diff-table .monitor-diff-payload {
  min-width: 12rem;
}

.monitor-diff-row {
  padding: 0.75rem;
  border: 1px solid rgba(0, 110, 189, 0.12);
  border-radius: 14px;
  background: rgba(247, 251, 255, 0.72);
}

.monitor-diff-row__header,
.monitor-diff-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
}

.monitor-diff-row__header {
  color: var(--text-muted);
}

.monitor-diff-row__meta {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.monitor-diff-payload {
  margin-top: 0.65rem;
}

.monitor-diff-payload > summary {
  cursor: pointer;
  color: var(--brand-blue-deep);
  font-weight: 700;
}

.monitor-diff-payload__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.monitor-diff-payload .monitor-console-block {
  max-height: 14rem;
  overflow: auto;
}

.monitor-empty-state {
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(0, 110, 189, 0.22);
  border-radius: 18px;
  color: var(--text-muted);
  background: rgba(247, 251, 255, 0.8);
}

.monitor-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.monitor-pager .k-pager {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.monitor-pager,
.monitor-pager .k-pager-wrap,
.monitor-pager .k-widget,
.monitor-pager .k-pager-md {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.monitor-pager .k-pager-numbers .k-link,
.monitor-pager .k-pager-nav {
  border-radius: 999px;
}

.relay-flow-pager[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .relay-monitor-filter__search {
    grid-column: auto;
  }

  .relay-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .relay-path span:not(:last-child)::after {
    display: none;
  }

  .relay-flow-card__header,
  .monitor-list-row {
    flex-direction: column;
    align-items: stretch;
  }

  .avl-map-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .storm-feed-layout {
    grid-template-columns: 1fr;
  }

  .storm-feed-map-toolbar {
    grid-template-columns: 1fr;
  }

  .storm-feed-map-toolbar__group {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }

  .avl-map-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .storm-feed-map-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .avl-map-summary {
    align-self: flex-start;
  }

  .storm-feed-map-summary {
    align-self: flex-start;
  }

  .avl-map-select {
    align-items: stretch;
    flex-direction: column;
  }

  .avl-map-select select {
    max-width: none;
    width: 100%;
  }

  .storm-feed-side-panel {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .storm-feed-events-scroll {
    overflow: visible;
    padding-right: 0;
  }

  .relay-step > summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .relay-step > summary .status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .relay-step__details {
    padding-left: 0.85rem;
  }

  .monitor-diff-payload__grid {
    grid-template-columns: 1fr;
  }
}

.status-pill--completed,
.status-pill--success {
  background: #edf8f1;
  color: #1f6a3f;
}

.status-pill--started {
  background: #eef6ff;
  color: var(--brand-blue-deep);
}

.status-pill--logged {
  background: #eef2f6;
  color: #5f7286;
}

.status-pill--waiting {
  background: #fff7eb;
  color: #8f430c;
}

.status-pill--added {
  background: #edf8f1;
  color: #1f6a3f;
}

.status-pill--updated {
  background: #fff7eb;
  color: #8f430c;
}

.status-pill--removed {
  background: #fff0f0;
  color: #b02a37;
}

.status-pill--failed {
  background: #fff0f0;
  color: #b02a37;
}

.status-pill--completedwitherrors,
.status-pill--warning {
  background: #fff7eb;
  color: #8f430c;
}

.status-pill--skipped {
  background: #fff4eb;
  color: #8f430c;
}

.status-pill--unknown {
  background: #eef2f6;
  color: #5f7286;
}

.footer {
  position: relative !important;
  z-index: 30;
  background: linear-gradient(90deg, #ffffff 0%, #f7fbff 100%) !important;
  border-top: 1px solid var(--nav-border);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 18px rgba(32, 49, 63, 0.04);
  line-height: 1.4 !important;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

body.menu-collapsed .side-nav {
  width: var(--nav-collapsed);
  flex-basis: var(--nav-collapsed);
}

body.menu-collapsed .side-nav__header,
body.menu-collapsed .side-nav__section-toggle {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

body.menu-collapsed .side-nav__title,
body.menu-collapsed .side-nav__eyebrow,
body.menu-collapsed .side-nav__section-label {
  opacity: 0;
  white-space: nowrap;
}

body.menu-collapsed .side-nav__link {
  justify-content: center;
  gap: 0;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

body.menu-collapsed .side-nav__section-toggle {
  display: none;
}

body.menu-collapsed .side-nav__section.is-collapsed .side-nav__menu {
  display: none;
}

body.menu-collapsed .side-nav__section.is-collapsed .side-nav__section-rail-link {
  display: flex;
}

body.menu-collapsed .side-nav__link-text {
  display: none;
}

body.menu-collapsed .side-nav__icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-basis: 2.25rem;
}

@media (max-width: 991.98px) {
  .app-body {
    position: relative;
  }

  .side-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    z-index: 15;
    width: min(320px, 86vw);
    max-height: calc(100vh - var(--header-height));
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-105%);
    visibility: hidden;
    box-shadow: 12px 0 32px rgba(0, 31, 61, 0.32);
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }

  @supports (height: 100dvh) {
    .side-nav {
      max-height: calc(100dvh - var(--header-height));
    }
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .side-nav {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .side-nav-backdrop {
    position: fixed;
    inset: var(--header-height) 0 0 min(320px, 86vw);
    z-index: 14;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: rgba(0, 31, 61, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  body.mobile-menu-open .side-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  body.mobile-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.mobile-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.menu-collapsed .side-nav {
    width: min(320px, 86vw);
    flex-basis: auto;
  }

  body.menu-collapsed .side-nav__title,
  body.menu-collapsed .side-nav__eyebrow,
  body.menu-collapsed .side-nav__section-label {
    opacity: 1;
  }

  body.menu-collapsed .side-nav__section-toggle {
    display: flex;
  }

  body.menu-collapsed .side-nav__section.is-collapsed .side-nav__menu {
    display: none;
  }

  body.menu-collapsed .side-nav__section.is-collapsed .side-nav__section-rail-link {
    display: none;
  }

  body.menu-collapsed .side-nav__link {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  body.menu-collapsed .side-nav__link-text {
    display: inline;
  }

  .menu-toggle span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .content-panel {
    padding: 1rem;
  }

  .app-header__logo {
    height: 34px;
    max-width: min(180px, 38vw);
  }

  .account-menu {
    grid-template-columns: 36px auto;
    max-width: none;
    padding: 0.4rem;
  }

  .account-menu__avatar {
    width: 36px;
    height: 36px;
  }

  .account-menu__identity {
    display: none;
  }

  .account-menu__action,
  .account-menu__sign-in {
    min-height: 34px;
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
  }

  .home-hero,
  .dashboard-kpi-grid,
  .dashboard-watch-grid,
  .landing-grid,
  .dashboard-service-metrics,
  .monitor-heartbeat-shell,
  .monitor-kpi-grid,
  .monitor-outcome-grid,
  .monitor-diagnostics-grid,
  .monitor-summary-grid,
  .monitor-summary-band,
  .sign-in-feature-grid,
  .footer__content {
    grid-template-columns: 1fr;
  }

  .monitor-connection-alert,
  .monitor-connection-alert__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-header {
    padding: 1rem 1rem 0;
  }

  .public-header__brand {
    align-items: flex-start;
  }

  .public-header__logo {
    height: 58px;
  }

  .public-main {
    padding: 1rem;
  }

  .sign-in-card {
    padding: 2rem 1.5rem;
  }
}
/* Job monitoring catalog */
.job-catalog-page {
    min-height: calc(100vh - 7rem);
}

.job-catalog-page__header {
    align-items: flex-start;
}

.job-catalog-live {
    display: flex;
    align-items: center;
    gap: .75rem;
    white-space: nowrap;
}

.job-catalog-live__updated,
.job-catalog-toolbar__count {
    color: var(--text-muted, #64748b);
    font-size: .78rem;
}

.job-catalog-alerts {
    display: grid;
    gap: .5rem;
    margin: 1rem 0;
}

.job-catalog-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.job-catalog-kpis .summary-tile {
    min-height: 5.5rem;
    padding: .9rem 1rem;
}

.job-catalog-kpis .summary-tile__value {
    display: block;
    margin-top: .3rem;
}

.job-catalog-toolbar {
    display: flex;
    align-items: flex-end;
    gap: .75rem;
    margin: 1rem 0;
    padding: .85rem;
    border: 1px solid #dbe7f1;
    border-radius: .75rem;
    background: #f8fbfe;
}

.job-catalog-field {
    display: grid;
    gap: .3rem;
    min-width: 12rem;
    color: #39516a;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.job-catalog-field--search {
    flex: 1;
}

.job-catalog-field input,
.job-catalog-field select {
    width: 100%;
    min-height: 2.4rem;
    padding: .5rem .7rem;
    border: 1px solid #c9dbe9;
    border-radius: .45rem;
    background: #fff;
    color: #073b69;
    font: inherit;
    font-size: .84rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.job-catalog-toolbar__count {
    margin-left: auto;
    padding-bottom: .65rem;
}

.job-catalog-refresh {
    min-height: 2.4rem;
    padding: .5rem .9rem;
    border: 1px solid #b8d2e6;
    border-radius: .45rem;
    background: #fff;
    color: #006fae;
    font-weight: 700;
    cursor: pointer;
}

.job-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: .85rem;
}

.job-catalog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid #d9e5ee;
    border-left: .25rem solid #8b9aa8;
    border-radius: .7rem;
    background: #fff;
    box-shadow: 0 .3rem 1rem rgba(26, 67, 101, .07);
}

.job-catalog-card[hidden] {
    display: none;
}

.job-catalog-card--healthy { border-left-color: #1a9a55; }
.job-catalog-card--warning { border-left-color: #e68a00; }
.job-catalog-card--critical { border-left-color: #c93333; }
.job-catalog-card--running { border-left-color: #0788c8; }
.job-catalog-card--no-data { border-left-color: #8b9aa8; }

.job-catalog-card__header {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.job-catalog-card__icon {
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .55rem;
    background: #e7f3fb;
    color: #0074b8;
    font-size: .7rem;
    font-weight: 800;
}

.job-catalog-card__identity {
    min-width: 0;
    flex: 1;
}

.job-catalog-card__identity h2 {
    overflow: hidden;
    margin: 0;
    color: #073b69;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-catalog-card__identity > span {
    color: #718399;
    font-size: .7rem;
}

.job-catalog-card__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: .7rem 0;
    border-block: 1px solid #e4edf4;
}

.job-catalog-card__metrics div {
    min-width: 0;
    padding: 0 .5rem;
    border-right: 1px solid #e4edf4;
}

.job-catalog-card__metrics div:first-child { padding-left: 0; }
.job-catalog-card__metrics div:last-child { border-right: 0; }
.job-catalog-card__metrics dt { color: #718399; font-size: .64rem; }
.job-catalog-card__metrics dd { margin: .2rem 0 0; color: #073b69; font-size: .88rem; font-weight: 800; }

.job-catalog-card__times {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.job-catalog-card__times div { display: grid; gap: .15rem; min-width: 0; }
.job-catalog-card__times span { color: #718399; font-size: .66rem; text-transform: uppercase; }
.job-catalog-card__times strong { overflow: hidden; color: #324c66; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }

.job-catalog-card__detail,
.job-catalog-card__failure p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #5a7087;
    font-size: .76rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.job-catalog-card__failure {
    padding: .7rem;
    border: 1px solid #f1c17a;
    border-radius: .5rem;
    background: #fff8ed;
}

.job-catalog-card__failure strong { display: block; margin-bottom: .25rem; color: #8b4d00; font-size: .76rem; }

.job-catalog-card__details summary {
    color: #006cae;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
}

.job-catalog-card__details pre {
    max-height: 11rem;
    overflow: auto;
    margin: .6rem 0 0;
    padding: .65rem;
    border-radius: .4rem;
    background: #0c2d49;
    color: #e8f3fa;
    font-size: .68rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.job-catalog-card__link {
    align-self: flex-start;
    margin-top: auto;
    color: #006fae;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .job-catalog-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .job-catalog-page__header,
    .job-catalog-toolbar { align-items: stretch; flex-direction: column; }
    .job-catalog-live { justify-content: space-between; }
    .job-catalog-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .job-catalog-field { width: 100%; min-width: 0; }
    .job-catalog-toolbar__count { margin-left: 0; padding: 0; }
    .job-catalog-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 430px) {
    .job-catalog-kpis { grid-template-columns: 1fr; }
    .job-catalog-card__metrics { grid-template-columns: 1fr 1fr; row-gap: .8rem; }
    .job-catalog-card__metrics div:nth-child(2) { border-right: 0; }
}
