:root {
  --bg: #020202;
  --panel: #090a0c;
  --panel-2: #101216;
  --line: #282a2f;
  --line-soft: #17181b;
  --red: #d51c24;
  --red-bright: #ff313a;
  --red-dark: #5b1115;
  --text: #f2f2f2;
  --muted: #8d9096;
  --green: #50d67c;
  --blue: #86b8dc;
  --content: 1620px;
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 72% -20%, rgba(145,0,10,.11), transparent 34%),
    radial-gradient(circle at 45% 62%, rgba(85,0,8,.045), transparent 42%),
    linear-gradient(180deg, #010101, #040404 48%, #010101);
  overflow-x: hidden;
}

.fx-grid,
.fx-noise,
.fx-scanlines,
.fx-vignette {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.fx-grid {
  z-index: 0;
  opacity: .042;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 32px 32px;
}

.fx-noise {
  opacity: .02;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.7) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.45) 0 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
}

.fx-scanlines {
  opacity: .045;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(255,255,255,.022) 4px
  );
}

.fx-vignette {
  box-shadow: inset 0 0 180px rgba(0,0,0,.72);
}

a { color: inherit; text-decoration: none; }

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-right: 1px solid #1d1e21;
  background: rgba(3,3,4,.97);
  box-shadow: 12px 0 38px rgba(0,0,0,.46);
}

.brand-panel {
  position: relative;
  padding: 18px 12px 22px;
  text-align: center;
  border: 1px solid #2a1014;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16,5,7,.18), rgba(3,3,4,.2));
}

.brand-glow {
  position: absolute;
  inset: -55%;
  background: radial-gradient(circle, rgba(213,28,36,.16), transparent 55%);
  animation: brandPulse 5s ease-in-out infinite;
}

.brand-panel::before,
.brand-panel::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
}

.brand-panel::before {
  left: -1px;
  top: -1px;
  border-left: 1px solid var(--red);
  border-top: 1px solid var(--red);
}

.brand-panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}

.brand-panel img {
  position: relative;
  width: 108px;
  height: 108px;
  object-fit: cover;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 18px rgba(213,28,36,.16));
}

.brand-name {
  position: relative;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-subtitle {
  position: relative;
  margin-top: 6px;
  color: var(--red);
  font-size: 18px;
  letter-spacing: .46em;
}

.rail-caption,
.rail-footer {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
}

.rail-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: .08em;
}

.status-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(80,214,124,.35);
  animation: statusPulse 2s ease-in-out infinite;
}

.rail-clock {
  font-size: 14px;
  line-height: 1.55;
}

.rail-search {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr 42px;
  border: 1px solid var(--red);
  background: #080809;
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  display: grid;
  background: #0a0a0b;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(0,0,0,.5);
}

.search-results a {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  border-bottom: 1px solid #1d1e21;
}

.search-results a:last-child {
  border-bottom: 0;
}

.search-results a:hover,
.search-results a.active {
  background: #141517;
}

.search-results b {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.search-results small {
  color: var(--muted);
  font-size: 10px;
}

.search-icon {
  display: grid;
  place-items: center;
  color: #b8bbc0;
}

.rail-search input {
  min-width: 0;
  padding: 11px 4px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.rail-search button {
  color: #fff;
  background: #101012;
  border: 0;
  border-left: 1px solid #421216;
  font-weight: 800;
  cursor: pointer;
}

.rail-nav {
  display: grid;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid #251014;
}

.rail-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .11em;
  transition: color .16s ease, padding-left .16s ease;
}

.rail-nav a span { color: #4e5157; }

.rail-nav a:hover {
  color: var(--text);
  padding-left: 6px;
}

.rail-nav a:hover span { color: var(--red); }

.rail-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--red-dark), transparent);
}

.rail-system {
  display: grid;
  gap: 8px;
}

.rail-system div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .08em;
}

.rail-system span { color: #55585d; }
.rail-system b { color: var(--green); font-weight: 600; }

.ui-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .08em;
}

.ui-scale > span { color: #55585d; }

.ui-scale-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-scale-controls button {
  width: 22px;
  height: 22px;
  color: var(--text);
  background: #0b0c0e;
  border: 1px solid #332126;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.ui-scale-controls button:hover {
  border-color: var(--red);
  color: var(--red);
}

.ui-scale-controls b {
  min-width: 34px;
  color: var(--green);
  font-weight: 600;
  text-align: center;
}

.rail-footer {
  margin-top: auto;
  line-height: 1.7;
}

.rail-footer span { color: var(--red); }

.workspace {
  width: min(calc(100% - 38px), var(--content));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.hud-header {
  min-height: 130px;
  margin-bottom: 36px;
  padding: 6px 10px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid #2a1014;
}

.hud-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hud-kicker {
  color: var(--red);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .16em;
}

.hud-header h1 {
  margin: 0;
  font-size: clamp(20px, 1.5vw, 30px);
  line-height: 1.15;
  letter-spacing: .08em;
}

.hud-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #5d6066;
  font-size: 10px;
  letter-spacing: .08em;
}

.hud-health {
  min-width: 230px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--green);
  background: linear-gradient(90deg, rgba(7,16,10,.46), rgba(4,4,5,.2));
  border: 1px solid #17301f;
}

.hud-health div {
  display: grid;
  gap: 3px;
}

.hud-health b {
  font-size: 11px;
  letter-spacing: .1em;
}

.hud-health small {
  color: #6d8172;
  font-size: 9px;
  letter-spacing: .06em;
}

.panel-section {
  margin-bottom: 30px;
}

.section-heading {
  position: relative;
  height: 40px;
  margin-bottom: 15px;
  border-top: 1px solid #301014;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 14px;
  height: 14px;
  border-left: 1px solid var(--red);
  border-top: 1px solid var(--red);
}

.section-heading::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 86px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red));
}

.section-heading span {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 0 12px;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: .05em;
}

.incident-toggle {
  position: absolute;
  right: 16px;
  top: -14px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 1px solid #301014;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease;
}

.incident-toggle:hover {
  border-color: var(--red);
  color: var(--red);
}

.incident-toggle.collapsed {
  transform: rotate(-90deg);
}

.incident-log.collapsed {
  display: none;
}

.section-heading small {
  position: absolute;
  right: 96px;
  top: -8px;
  color: #4e5157;
  background: var(--bg);
  padding: 0 8px;
  font-size: 9px;
  letter-spacing: .1em;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 12px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 8px;
}

.metric-tile,
.pipeline-panel,
.hud-card,
.link-grid a {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16,17,19,.98), rgba(5,5,6,.99));
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px rgba(255,255,255,.025),
    inset 0 -18px 40px rgba(0,0,0,.12);
}

.metric-tile::before,
.pipeline-panel::before,
.hud-card::after,
.link-grid a::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-top: 1px solid rgba(213,28,36,.65);
  border-right: 1px solid rgba(213,28,36,.65);
}

.metric-tile {
  min-height: 146px;
  padding: 14px;
  display: grid;
  gap: 7px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.metric-tile:hover,
.hud-card:hover,
.link-grid a:hover {
  transform: translateY(-3px);
  border-color: #442126;
  box-shadow: 0 10px 28px rgba(0,0,0,.46), 0 0 18px rgba(213,28,36,.07);
}

.metric-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8c9cc;
  font-size: 12px;
  letter-spacing: .08em;
}

.metric-tile strong {
  font-size: 29px;
  font-weight: 500;
}

.metric-bar {
  height: 4px;
  background: #17181b;
  overflow: hidden;
}

.metric-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 8px rgba(213,28,36,.4);
  transition: width .7s ease;
}

.metric-tile small {
  align-self: end;
  color: var(--green);
}

.metric-spark {
  width: 100%;
  height: 30px;
  overflow: visible;
}

.metric-spark .spark-line {
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(213,28,36,.5));
}

.metric-spark .spark-fill {
  fill: rgba(213,28,36,.16);
  stroke: none;
}

.pipeline-panel {
  min-height: 146px;
  padding: 15px 18px;
}

.pipeline-title {
  position: absolute;
  top: -1px;
  left: 14px;
  padding: 7px 10px;
  color: var(--red);
  background: #140708;
  font-size: 11px;
  font-weight: 800;
}

.pipeline-row {
  min-height: 92px;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pipeline-row .node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
}

.node-step {
  position: absolute;
  top: -4px;
  right: 2px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  color: var(--red);
  background: #140708;
  border: 1px solid var(--red-dark);
  border-radius: 50%;
}

.pipeline-row .node span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #34363b;
  border-radius: 50%;
  color: #c8c9cc;
}

.pipeline-row .node.active span {
  border-color: #5a2529;
  box-shadow: 0 0 12px rgba(213,28,36,.08);
}

.pipeline-row small {
  color: #c8c9cc;
  font-size: 10px;
}

.pipeline-row b {
  color: var(--muted);
  font-weight: 400;
}

.pipeline-caption {
  color: #55585d;
  font-size: 10px;
  letter-spacing: .08em;
}

.card-grid {
  display: grid;
  gap: 10px;
}

.card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hud-card {
  min-height: 184px;
  padding: 22px;
  display: flex;
  gap: 15px;
  border-left: 2px solid var(--red-dark);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hud-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.05) 49%, transparent 50%),
    repeating-linear-gradient(180deg, transparent 0 5px, rgba(255,255,255,.02) 6px);
}

.hud-card:hover { border-left-color: var(--red); }

.icon-frame {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid #27292d;
}

.icon-frame::before,
.icon-frame::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
}

.icon-frame::before {
  left: 4px;
  top: 4px;
  border-left: 1px solid var(--red-dark);
  border-top: 1px solid var(--red-dark);
}

.icon-frame::after {
  right: 4px;
  bottom: 4px;
  border-right: 1px solid var(--red-dark);
  border-bottom: 1px solid var(--red-dark);
}

.icon-frame img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.05));
}

.card-copy {
  position: relative;
  z-index: 1;
  width: 100%;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.card-code {
  color: #41444a;
  font-size: 9px;
  letter-spacing: .08em;
}

.card-copy h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.card-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.card-copy dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.card-copy dl div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.card-copy dt { color: var(--muted); }
.card-copy dd { margin: 0; color: var(--green); }

.online {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-size: 11px;
}

.card-detail {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hud-card.compact {
  min-height: 140px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.link-grid a {
  min-height: 66px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 10px;
  border-left: 1px solid var(--red-dark);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.link-grid a:hover {
  transform: translateX(3px);
  border-left-color: var(--red);
  background: linear-gradient(90deg, #111214, #09090a);
}

.link-grid b {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .02em;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(0,0,0,.35));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.link-grid b.link-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 4px;
}

.link-badge-fallback {
  display: none;
}

.link-grid span {
  font-size: 13px;
}

.link-grid small {
  color: #66696f;
  font-size: 10px;
}

.link-grid em {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--red);
  font-style: normal;
  font-size: 19px;
}

.incident-log {
  display: grid;
  gap: 1px;
  background: #24262a;
  border: 1px solid #24262a;
}

.incident-entry {
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #08090a;
}

.incident-entry b {
  color: var(--text);
  font-size: 12px;
  margin-right: 6px;
}

.incident-entry small {
  color: var(--muted);
  font-size: 11px;
}

.incident-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.incident-entry.down .incident-dot {
  background: var(--red);
}

.incident-empty {
  padding: 14px;
  color: var(--muted);
  font-size: 12px;
  background: #08090a;
}

.gallery-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-carousel {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 16px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.gallery-nav {
  flex: none;
  width: 38px;
  height: 38px;
  color: var(--text);
  background: #0b0c0e;
  border: 1px solid #332126;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.gallery-nav:hover {
  border-color: var(--red);
  color: var(--red);
}

.gallery-card {
  position: relative;
  flex: 0 0 260px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  scroll-snap-align: start;
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .gallery-card {
    flex-basis: 200px;
  }
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.timeline {
  position: relative;
  padding-left: 84px;
  display: grid;
  gap: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 64px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--red-dark);
}

.timeline-entry {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -84px;
  top: 0;
  width: 56px;
  text-align: right;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 4px;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}

.timeline-content h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
}

.timeline-content ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.timeline-content li {
  color: var(--muted);
  font-size: 12px;
  list-style: none;
  position: relative;
  padding-left: 14px;
}

.timeline-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  background: var(--red);
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 24px;
  }

  .timeline::before {
    left: 4px;
  }

  .timeline-marker {
    position: static;
    text-align: left;
    margin-bottom: 4px;
  }

  .timeline-marker::after {
    left: -24px;
    right: auto;
  }
}

.gallery-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px 7px;
  font-size: 11px;
  color: var(--text);
  background: linear-gradient(transparent, rgba(0,0,0,.88));
}

.toast {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 100;
  min-width: 260px;
  padding: 14px 16px;
  color: var(--text);
  background: #0b0c0e;
  border: 1px solid #432025;
  border-left: 2px solid var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  transform: translateX(120%);
  transition: transform .25s ease;
}

.toast.show { transform: translateX(0); }

@keyframes brandPulse {
  0%, 100% { transform: scale(.86); opacity: .62; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes statusPulse {
  0%, 100% { opacity: .65; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1360px) {
  .overview-grid { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: repeat(3, 1fr); }
  .card-grid-four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .shell { grid-template-columns: 1fr; }

  .rail {
    position: relative;
    width: 100%;
    height: auto;
  }

  .rail-footer { display: none; }

  .hud-header {
    grid-template-columns: 1fr;
    min-height: 160px;
  }

  .hud-health {
    justify-self: start;
  }

  .services-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .workspace { width: calc(100% - 20px); }

  .metric-strip,
  .card-grid-four,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-row {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 15px;
  }

  .section-heading small {
    display: none;
  }
}


.operator-panel {
  display: grid;
  gap: 9px;
}

.operator-panel > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .08em;
}

.operator-panel span { color: #55585d; }
.operator-panel b { color: var(--text); }

.operator-panel a,
.operator-panel button {
  width: 100%;
  padding: 8px 10px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 1px solid #24262a;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .08em;
}

.operator-panel a:hover,
.operator-panel button:hover {
  color: var(--text);
  border-color: var(--red-dark);
}


/* ==========================================================
   KHERBEROS v3.2 — LIVE NAS TELEMETRY
   ========================================================== */

.kherberos-report {
  max-width: 760px;
  margin-top: 2px;
  padding: 10px 12px;
  display: grid;
  gap: 5px;
  border-left: 1px solid var(--red-dark);
  background: linear-gradient(90deg, rgba(80, 12, 17, .13), transparent);
}

.kherberos-report span {
  color: var(--red);
  font-size: 9px;
  letter-spacing: .12em;
}

.kherberos-report p {
  margin: 0;
  color: #8f9298;
  font-size: 13px;
  line-height: 1.6;
}

.report-warnings {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.report-warnings li {
  color: #e0a83c;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}

.report-warnings li::before {
  content: "⚠ ";
}

.report-warnings[hidden] {
  display: none;
}

.online.warning {
  color: #e3a83f;
}

.online.offline {
  color: #ff5860;
}


/* ==========================================================
   KHERBEROS v4.0 — OPERATIONS INTELLIGENCE
   ========================================================== */

.hud-health.warning {
  color: #e3a83f;
  border-color: #5b421d;
  background: linear-gradient(90deg, rgba(83, 56, 16, .28), rgba(4, 4, 5, .2));
}

.hud-health.critical {
  color: #ff5a62;
  border-color: #5b2026;
  background: linear-gradient(90deg, rgba(92, 18, 25, .30), rgba(4, 4, 5, .2));
}

.pipeline-row .node.pending span {
  color: #7b7e84;
  border-color: #33353a;
}

.pipeline-row .node.warning span {
  color: #e3a83f;
  border-color: #745421;
  box-shadow: 0 0 14px rgba(227, 168, 63, .10);
}

.pipeline-row .node.offline span {
  color: #ff5860;
  border-color: #6a252a;
  box-shadow: 0 0 14px rgba(255, 88, 96, .12);
}

.docker-card-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.docker-card-status-row small {
  color: #5f6268;
  font-size: 10px;
}

.container-mini-list {
  margin-top: 10px;
  max-height: 76px;
  overflow-y: auto;
  display: grid;
  gap: 1px;
  background: #1c1d20;
  border: 1px solid #1c1d20;
}

.container-mini-row {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #08090a;
}

.container-mini-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.container-mini-row.stopped .container-mini-dot {
  background: #ff5860;
}

.container-mini-row.unhealthy .container-mini-dot {
  background: #e3a83f;
}

.container-mini-row b {
  flex: none;
  max-width: 45%;
  overflow: hidden;
  color: #d8d9dc;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.container-mini-row small {
  overflow: hidden;
  color: #666970;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.container-placeholder {
  padding: 8px;
  color: #64676d;
  font-size: 11px;
}

.kherberos-report.warning {
  border-left-color: #8e651e;
  background: linear-gradient(90deg, rgba(98, 65, 13, .18), transparent);
}

.kherberos-report.critical {
  border-left-color: #b51b23;
  background: linear-gradient(90deg, rgba(108, 15, 22, .22), transparent);
}

