:root {
  --bg: #050b12;
  --bg-panel: rgba(10, 23, 36, 0.84);
  --text: #eff7ff;
  --muted: #98acc0;
  --muted-strong: #c1d2e2;
  --brand: #75d4ff;
  --success: #7df1b7;
  --warning: #ffc96f;
  --danger: #ff8b7d;
  --info: #89b7ff;
  --line: rgba(154, 194, 220, 0.14);
  --line-strong: rgba(154, 194, 220, 0.24);
  --shadow: 0 36px 120px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: min(1560px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 15px/1.55 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(84, 186, 255, 0.18), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(75, 236, 169, 0.14), transparent 18%),
    linear-gradient(180deg, #07111a 0%, #050910 22%, #04070c 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.2;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent);
}

.page {
  width: var(--content-width);
  margin: 0 auto;
  padding: 26px 0 88px;
  display: grid;
  gap: 26px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--bg-panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 28%);
  opacity: 0.55;
}

.hero,
.section {
  padding: 26px;
  display: grid;
  gap: 22px;
}

.hero {
  gap: 22px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.action-rack,
.config-card,
.workbench-card,
.summary-card,
.filter-card,
.selector-card,
.state-card {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.hero-title-row {
  display: grid;
  gap: 16px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(117, 212, 255, 0.08);
  border: 1px solid rgba(117, 212, 255, 0.2);
  color: var(--brand);
  font: 700 12px/1 "Manrope", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6df0b4, #42cc88);
  box-shadow: 0 0 16px rgba(109, 240, 180, 0.6);
}

h1 {
  margin: 0;
  font: 800 clamp(36px, 4.6vw, 58px)/0.98 "Manrope", "Noto Sans SC", sans-serif;
  letter-spacing: -0.04em;
}

.lede,
.section-header p,
.config-card p,
.workbench-card p,
.summary-card p,
.filter-card p,
.action-header p,
.inline-note {
  color: var(--muted);
}

.lede {
  margin: 0;
  max-width: 880px;
  font-size: 16px;
  color: var(--muted-strong);
}

.architecture,
.button-row,
.section-meta,
.service-stack,
.selector-list,
.pill-stack,
.strategy-row,
.tag-row,
.inherit-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-stack-tight {
  gap: 8px;
}

.chip,
.tag,
.inherit-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
}

.chip {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 12px;
  white-space: nowrap;
}

.chip strong {
  color: var(--text);
}

.action-rack,
.subpanel,
.config-card,
.workbench-card,
.summary-card,
.filter-card,
.selector-card,
.state-card,
.override-card,
.node-card,
.service-card,
.timeline-card,
.message-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.action-rack {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(117, 212, 255, 0.16), transparent 34%),
    rgba(8, 18, 29, 0.9);
  border-color: var(--line-strong);
}

.action-header,
.section-header,
.subpanel-head,
.node-top,
.service-top,
.message-top,
.timeline-header,
.timeline-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.action-header h2,
.subpanel h3,
.config-card h3,
.workbench-card h3,
.summary-card h3,
.filter-card h3 {
  margin: 0;
  font: 700 18px/1.2 "Manrope", sans-serif;
}

.section-header h2 {
  margin: 0;
  font: 800 26px/1.1 "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: 700 13px/1 "Manrope", sans-serif;
  letter-spacing: 0.01em;
  color: #031018;
  background: linear-gradient(135deg, #93e6ff, #4ea9ff);
  box-shadow: 0 18px 36px rgba(78, 169, 255, 0.24);
}

.button.secondary,
.button.ghost {
  color: var(--text);
  box-shadow: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.button.ghost {
  background: rgba(117, 212, 255, 0.06);
  border-color: rgba(117, 212, 255, 0.18);
}

.button.danger {
  color: white;
  background: linear-gradient(135deg, #ff9b8f, #dc5b52);
  box-shadow: 0 18px 36px rgba(220, 91, 82, 0.24);
}

.micro-grid,
.stats-grid,
.overview-grid,
.config-layout,
.kpi-band,
.workbench-layout,
.workbench-top,
.override-grid,
.observability,
.filter-row,
.summary-row,
.meta-grid {
  display: grid;
  gap: 14px;
}

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

.micro-card,
.meta-cell,
.kpi-box,
.text-surface,
.surface-note,
.filter-chip {
  background: rgba(255, 255, 255, 0.04);
}

.micro-card {
  padding: 14px;
  border-radius: 18px;
  display: grid;
  gap: 6px;
}

.micro-card span,
.subtext,
.meta-cell span,
.kpi-box span,
.group-label,
.text-line span:last-child,
.selector-card .inline-note,
.timeline-copy p {
  color: var(--muted);
}

.micro-card strong,
.node-title strong,
.service-title strong,
.message-copy strong,
.timeline-copy strong,
.group-label,
.selector-card strong,
.state-card strong,
.override-card strong,
.text-surface strong {
  font-family: "Manrope", sans-serif;
}

.stats-grid {
  grid-template-columns: 1.2fr 1.2fr 1fr repeat(3, 0.95fr);
}

.stat-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 8px;
  min-height: 104px;
}

.stat-card.primary {
  background:
    linear-gradient(135deg, rgba(117, 212, 255, 0.15), rgba(74, 182, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(117, 212, 255, 0.24);
}

.stat-card.warning {
  background:
    linear-gradient(135deg, rgba(255, 201, 111, 0.16), rgba(255, 201, 111, 0.03)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 201, 111, 0.18);
}

.stat-card.danger {
  background:
    linear-gradient(135deg, rgba(255, 139, 125, 0.15), rgba(255, 139, 125, 0.03)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 139, 125, 0.18);
}

.stat-label,
.meta-cell span,
.text-surface strong {
  font: 700 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-value,
.summary-card .value,
.value-pair strong {
  font: 800 clamp(28px, 2.4vw, 42px)/1 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

.overview-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.9fr);
}

.subpanel,
.config-card,
.workbench-card,
.summary-card,
.filter-card,
.selector-card,
.state-card,
.override-card,
.node-card,
.service-card,
.timeline-card,
.message-card {
  padding: 20px;
  border-radius: 22px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.node-list,
.service-list,
.timeline,
.message-list,
.workbench-stack,
.messages-stack,
.group,
.config-card-header,
.node-title,
.message-copy,
.text-lines {
  display: grid;
  gap: 12px;
}

.node-card {
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  font: 700 12px/1 "Manrope", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.88;
  box-shadow: 0 0 12px color-mix(in srgb, currentColor 40%, transparent);
}

.status-success {
  color: var(--success);
  background: rgba(125, 241, 183, 0.08);
  border-color: rgba(125, 241, 183, 0.18);
}

.status-warning {
  color: var(--warning);
  background: rgba(255, 201, 111, 0.08);
  border-color: rgba(255, 201, 111, 0.18);
}

.status-danger {
  color: var(--danger);
  background: rgba(255, 139, 125, 0.08);
  border-color: rgba(255, 139, 125, 0.18);
}

.status-info {
  color: var(--info);
  background: rgba(137, 183, 255, 0.08);
  border-color: rgba(137, 183, 255, 0.18);
}

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

.meta-cell {
  padding: 12px 14px;
  border-radius: 16px;
  display: grid;
  gap: 4px;
}

.meta-cell strong,
.endpoint,
.selector-pill,
.tag,
.inherit-chip,
.text-line span:last-child {
  color: var(--muted-strong);
}

.endpoint,
.tag,
.inherit-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font: 600 12px/1 "Manrope", sans-serif;
}

.config-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.workbench-config-layout {
  align-items: start;
}

.mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: 700 12px/1 "Manrope", sans-serif;
}

.mode-chip.active {
  border-color: rgba(117, 212, 255, 0.18);
  background: rgba(117, 212, 255, 0.09);
  color: var(--brand);
}

.filter-card.active {
  border-color: rgba(117, 212, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.14), rgba(117, 212, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.summary-card-active {
  border-color: rgba(117, 212, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.12), rgba(117, 212, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.kpi-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.register-kpi-band {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.kpi-box {
  padding: 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 6px;
}

.register-kpi-box {
  gap: 12px;
  align-content: start;
}

.kpi-box strong {
  font: 800 24px/1 "Manrope", sans-serif;
}

.inline-number {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(117, 212, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 29, 0.94);
  color: var(--text);
  font: 800 24px/1 "Manrope", "Noto Sans SC", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.inline-number:hover,
.inline-number:focus {
  border-color: rgba(117, 212, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(117, 212, 255, 0.08);
  outline: none;
}

.kpi-helper {
  color: var(--muted);
  font: 600 12px/1.45 "Noto Sans SC", "Manrope", sans-serif;
}

.kpi-box-highlight {
  border-color: rgba(117, 212, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.1), rgba(117, 212, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.kpi-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font: 700 11px/1 "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-meta span:last-child {
  color: var(--muted-strong);
}

.group-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.selector-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  font: 700 13px/1 "Manrope", sans-serif;
}

.selector-pill.active {
  color: #04121a;
  border-color: transparent;
  background: linear-gradient(135deg, #7fe6ff, #58bbff);
}

.workbench-status {
  display: grid;
  gap: 4px;
}

.workbench-status strong {
  font: 700 14px/1.2 "Manrope", sans-serif;
}

.workbench-status span {
  color: var(--muted-strong);
  font-size: 12px;
}

.workbench-status-info {
  border-color: rgba(137, 183, 255, 0.18);
  background: rgba(137, 183, 255, 0.08);
}

.workbench-status-success {
  border-color: rgba(125, 241, 183, 0.18);
  background: rgba(125, 241, 183, 0.08);
}

.workbench-status-warning {
  border-color: rgba(255, 201, 111, 0.18);
  background: rgba(255, 201, 111, 0.08);
}

.workbench-status-danger {
  border-color: rgba(255, 139, 125, 0.18);
  background: rgba(255, 139, 125, 0.08);
}

.surface-note {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(117, 212, 255, 0.14);
  color: var(--muted-strong);
  font-size: 13px;
}

.text-surface {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 10, 18, 0.66);
  color: var(--muted-strong);
}

.text-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.config-footer,
.deploy-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.workbench-shell,
.override-sections {
  display: grid;
  gap: 18px;
}

.workbench-top {
  grid-template-columns: 1.15fr 0.85fr;
}

.workbench-top-wide {
  grid-template-columns: 1.05fr 0.75fr 1.1fr;
}

.compact-card {
  align-self: start;
}

.workbench-service-card {
  display: grid;
  gap: 16px;
}

.selector-card {
  background:
    radial-gradient(circle at top right, rgba(117, 212, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.selector-card strong {
  font: 800 24px/1 "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.override-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scale-grid {
  gap: 16px;
}

.override-section {
  display: grid;
  gap: 14px;
}

.override-section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.override-section-header h4 {
  margin: 0;
  font: 700 16px/1.2 "Manrope", sans-serif;
}

.override-card.highlight {
  border-color: rgba(117, 212, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.12), rgba(117, 212, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.metric-row,
.detail-grid,
.service-override-grid {
  display: grid;
  gap: 12px;
}

.compact-detail-grid {
  gap: 10px;
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-block {
  display: grid;
  gap: 8px;
}

.source-row {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.source-row-button {
  width: 100%;
  cursor: pointer;
  color: inherit;
  text-align: left;
  appearance: none;
}

.source-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.source-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(117, 212, 255, 0.16);
  background: rgba(117, 212, 255, 0.08);
  color: var(--brand);
  font: 800 12px/1 "Manrope", sans-serif;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.source-caret.expanded {
  transform: rotate(180deg);
}

.source-block-expanded {
  gap: 0;
}

.source-row-button-expanded {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: rgba(117, 212, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.08), rgba(117, 212, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.inline-select,
.inline-textarea {
  width: min(560px, 100%);
  border: 1px solid rgba(117, 212, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 29, 0.94);
  color: var(--text);
  font: 700 14px/1.45 "Manrope", "Noto Sans SC", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.inline-select {
  min-height: 46px;
  padding: 0 42px 0 14px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  appearance: none;
}

.inline-textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.inline-textarea-lg {
  width: 100%;
  min-height: 144px;
}

.inline-select:hover,
.inline-textarea:hover,
.inline-select:focus,
.inline-textarea:focus {
  border-color: rgba(117, 212, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(117, 212, 255, 0.08);
  outline: none;
}

.provider-editor-row-linked {
  position: relative;
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: none;
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.06), rgba(117, 212, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.provider-editor-row-linked::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 2px;
  height: 18px;
  background: linear-gradient(180deg, rgba(117, 212, 255, 0.42), rgba(117, 212, 255, 0));
}

.inline-select option {
  background: #0c1622;
  color: var(--text);
}

.source-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.source-main strong {
  font: 700 13px/1.2 "Manrope", sans-serif;
  color: var(--muted-strong);
  overflow-wrap: anywhere;
}

.source-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font: 800 10px/1 "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.source-check.active {
  border-color: rgba(117, 212, 255, 0.18);
  background: rgba(117, 212, 255, 0.1);
  color: var(--brand);
}

.source-muted {
  color: var(--muted);
  font: 600 12px/1 "Manrope", sans-serif;
  white-space: nowrap;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-box,
.detail-row {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 52px;
}

.compact-detail-row {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
}

.detail-row-stacked {
  min-height: 0;
  padding: 16px;
  flex-direction: column;
  align-items: stretch;
}

.provider-editor-row {
  margin-top: 2px;
}

.metric-box span,
.detail-row span {
  color: var(--muted);
  font-size: 12px;
}

.detail-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.metric-value {
  font: 800 24px/1 "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.metric-tag,
.state-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font: 800 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.inline-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.state-chip.append {
  border-color: rgba(117, 212, 255, 0.18);
  background: rgba(117, 212, 255, 0.08);
  color: var(--brand);
}

.state-chip.override {
  border-color: rgba(125, 241, 183, 0.18);
  background: rgba(125, 241, 183, 0.08);
  color: var(--success);
}

.state-chip.disabled {
  border-color: rgba(255, 139, 125, 0.18);
  background: rgba(255, 139, 125, 0.08);
  color: var(--danger);
}

.service-override-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-override-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 12px;
}

.observability {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.timeline-card {
  position: relative;
  padding-left: 24px;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
}

.timeline-card::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  border: 3px solid rgba(4, 12, 18, 0.92);
  box-shadow: 0 0 20px color-mix(in srgb, currentColor 46%, transparent);
}

.timeline-meta {
  justify-content: flex-end;
}

.timeline-copy-compact strong {
  line-height: 1.1;
}

.summary-card .value {
  font-size: 34px;
}

.message-copy p,
.timeline-copy p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-family: "Manrope", sans-serif;
}

.tag {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compact-lines {
  gap: 8px;
}

.compact-line {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
}

.toast {
  position: relative;
  z-index: 1;
  margin: -6px 0 0 auto;
  min-width: 300px;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(117, 212, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.12), rgba(117, 212, 255, 0.04)),
    rgba(7, 19, 30, 0.94);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 8px;
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease, background .18s ease;
}

.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-info {
  border-color: rgba(117, 212, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(117, 212, 255, 0.12), rgba(117, 212, 255, 0.04)),
    rgba(7, 19, 30, 0.94);
}

.toast-success {
  border-color: rgba(125, 241, 183, 0.2);
  background:
    linear-gradient(180deg, rgba(125, 241, 183, 0.14), rgba(125, 241, 183, 0.04)),
    rgba(7, 19, 30, 0.94);
}

.toast-warning {
  border-color: rgba(255, 201, 111, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 201, 111, 0.14), rgba(255, 201, 111, 0.04)),
    rgba(7, 19, 30, 0.94);
}

.toast-danger {
  border-color: rgba(255, 139, 125, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 139, 125, 0.16), rgba(255, 139, 125, 0.04)),
    rgba(7, 19, 30, 0.94);
}

.toast strong {
  font: 700 14px/1.2 "Manrope", sans-serif;
}

.toast p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
}

@media (max-width: 1320px) {
  .stats-grid,
  .config-layout,
  .override-grid,
  .service-override-grid,
  .filter-row,
  .summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workbench-top-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .hero-top,
  .overview-grid,
  .observability,
  .workbench-top {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  :root {
    --content-width: calc(100vw - 28px);
  }

  .page {
    padding-top: 14px;
    gap: 18px;
  }

  .hero,
  .section {
    padding: 20px;
  }

  h1 {
    font-size: 38px;
  }

  .stats-grid,
  .config-layout,
  .override-grid,
  .service-override-grid,
  .metric-row,
  .filter-row,
  .summary-row,
  .meta-grid,
  .kpi-band,
  .micro-grid {
    grid-template-columns: 1fr;
  }

  .toast {
    margin: 0 auto;
    min-width: 0;
    max-width: none;
  }
}
