:root {
  --sidebar: #1f242b;
  --surface: #ffffff;
  --line: #dfe6ee;
  --text: #172534;
  --muted: #7a8798;
  --blue: #4d8ff8;
  --green: #35c48f;
  --orange: #f3b23d;
  --red: #ef6674;
  --shadow: 0 16px 36px rgba(31, 36, 43, 0.08);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
  background: linear-gradient(180deg, #f9fbfd 0%, #eef3f7 100%);
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
}
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  width: 100vw;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1f242b 0%, #252c35 100%);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-block {
  display: block;
  padding: 28px 24px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  align-content: start;
  justify-items: center;
}

.brand-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.brand-subtitle {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}

.brand-compass {
  width: 24px;
  height: 24px;
}

.brand-compass-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2.4;
}

.brand-compass-inner {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.brand-compass-core {
  fill: #ffffff;
}

.brand-compass-needle-n {
  fill: #69c4ff;
}

.brand-compass-needle-s {
  fill: #ffffff;
  opacity: 0.92;
}

.brand-compass-wing {
  fill: rgba(255, 255, 255, 0.34);
}
.sidebar-nav { display: grid; gap: 6px; padding: 18px 12px; }
.nav-group { display: grid; gap: 6px; }
.nav-root, .nav-branch, .nav-leaf {
  width: 100%;
  border: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  border-radius: 14px;
}
.nav-root { padding: 13px 14px; font-weight: 700; }
.nav-root-row, .nav-branch-row { display: flex; align-items: center; justify-content: space-between; }
.nav-caret { color: rgba(255, 255, 255, 0.5); font-size: 12px; transition: transform 0.2s ease; }
.nav-root.is-open .nav-caret, .nav-branch.is-open .nav-caret { transform: rotate(90deg); }
.nav-root:hover, .nav-root.active, .nav-branch:hover, .nav-branch.active, .nav-leaf:hover, .nav-leaf.active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}
.nav-children { display: grid; gap: 6px; padding-left: 12px; }
.nav-children[hidden] { display: none !important; }
.nav-branch, .nav-leaf { padding: 10px 12px; font-size: 14px; }
.nav-leaf { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

.sidebar-footer {
  margin-top: auto;
  padding: 16px 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-card { border-radius: 16px; background: rgba(255, 255, 255, 0.07); padding: 14px; }
.user-profile { display: flex; align-items: center; gap: 12px; }
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}
.user-name { font-size: 14px; font-weight: 700; }
.user-meta, .user-session { color: rgba(255, 255, 255, 0.6); font-size: 12px; }
.user-session { margin-top: 12px; }
.logout-button {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #bf3c37;
  color: #fff;
  font-weight: 700;
}

.workspace { padding: 16px; min-width: 0; }
.workspace-frame { min-height: calc(100vh - 32px); display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 4px 6px 0;
}
.workspace-eyebrow, .detail-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.workspace-top h2, .panel-headline h3, .detail-card-head h3 { margin: 6px 0 0; }
.workspace-actions { display: flex; gap: 10px; }
.primary-button, .ghost-button, .mini-button { border-radius: 999px; }
.primary-button, .ghost-button { padding: 11px 16px; border: 1px solid transparent; }
.primary-button { background: #161d27; color: #fff; }
.ghost-button { background: rgba(255, 255, 255, 0.92); border-color: var(--line); color: var(--text); }
.mini-button {
  border: 1px solid var(--line);
  background: #f8fbff;
  color: var(--blue);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
}

.mini-button:disabled {
  background: #f4f7fb;
  color: #9aa9bb;
  border-color: #d9e2ec;
  cursor: not-allowed;
  box-shadow: none;
}

.mini-button[hidden] {
  display: none !important;
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 12px;
  align-items: stretch;
  min-height: calc(100vh - 132px);
}

.surface-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(223, 230, 238, 0.96);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.map-panel {
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 132px);
  height: 100%;
}
.panel-headline, .detail-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 10px;
}

.map-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.filter-chip.active { background: #f0f6ff; color: var(--blue); border-color: #cfe0ff; }

.map-stage {
  position: relative;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfefe 0%, #f3f8fc 100%);
  flex: 1;
  min-height: 0;
}

.map-image-frame {
  position: relative;
  flex: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(37, 106, 186, 0.08), transparent 52%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
  border-radius: 16px;
  overflow: hidden;
}

.leaflet-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-image-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.18) 18%, rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.32), transparent 28%);
  pointer-events: none;
}

.map-loading,
.map-fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #34506d;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(51, 83, 120, 0.16);
}

.map-fallback {
  max-width: 360px;
  border-radius: 18px;
  text-align: center;
  white-space: normal;
  line-height: 1.5;
}

.leaflet-container {
  background: linear-gradient(180deg, #eff6fd 0%, #e4eef8 100%);
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
}

.leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.compass-marker {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.compass-pin {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--marker-color, var(--blue));
  box-shadow: 0 12px 18px rgba(52, 82, 120, 0.22);
}

.compass-pin::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 7px;
  top: 7px;
  border-radius: 50%;
  background: #fff;
}

.compass-marker-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  max-width: 150px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d8e4f2;
  color: #35506f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 16px rgba(46, 74, 110, 0.08);
}

.detail-panel {
  display: grid;
  gap: 8px;
  grid-template-rows: repeat(3, minmax(0, auto));
  align-content: stretch;
}
.detail-card { padding: 10px 12px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.infra-card-grid { display: grid; gap: 10px; }
.ops-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-item, .infra-stat, .ops-stat {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  border-radius: 16px;
  padding: 10px 12px;
}

.profile-label, .infra-label { color: var(--muted); font-size: 11px; }
.profile-value { margin-top: 5px; font-size: 15px; font-weight: 700; }
.infra-value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.infra-value span {
  margin-left: 4px;
  font-size: 15px;
  font-weight: 700;
}

.infra-sub {
  margin-top: 8px;
  color: #6f8093;
  font-size: 11px;
}

.ops-label {
  color: var(--muted);
  font-size: 11px;
}

.ops-value {
  margin-top: 6px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ops-value span {
  margin-left: 4px;
  font-size: 15px;
  font-weight: 700;
}

.ops-sub {
  margin-top: 8px;
  color: #6f8093;
  font-size: 11px;
}

.infra-gauge {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef5;
}

.infra-gauge-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4d8ff8, #6ab2ff);
}

.infra-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.infra-split-card {
  padding: 2px 2px 0;
}

.infra-split-head {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.infra-card-grid .infra-stat {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

@media (max-width: 1520px) {
  .board-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
  }

  .map-panel {
    min-height: auto;
    height: auto;
  }

  .map-image-frame {
    min-height: 620px;
  }
}

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

  .sidebar {
    min-height: auto;
  }

  .profile-grid,
  .infra-card-grid,
  .ops-card-grid {
    grid-template-columns: 1fr;
  }

  .infra-split-grid {
    grid-template-columns: 1fr;
  }
}

/* Default light operations theme for the test environment */
:root {
  --sidebar: #1a2430;
  --surface: #ffffff;
  --line: #d8e3ef;
  --text: #17304c;
  --muted: #72879d;
  --blue: #4a90f5;
  --green: #31c7c7;
  --orange: #ffb056;
  --red: #d5483d;
  --shadow: 0 16px 34px rgba(25, 54, 94, 0.08);
}

body {
  background:
    radial-gradient(circle at top right, rgba(87, 160, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #f4f8fc 0%, #edf3f9 46%, #eef5f8 100%);
  color: var(--text);
}

.workspace {
  padding: 18px 18px 20px;
}

.workspace-frame {
  gap: 16px;
}

.screen-view[hidden] {
  display: none !important;
}

.space-embed-shell {
  min-height: calc(100vh - 132px);
  height: calc(100vh - 132px);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.space-embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

.compact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d7e3f1;
  background: #f6fbff;
  color: #35506f;
  font-size: 12px;
  font-weight: 700;
}

.space-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 380px;
  gap: 12px;
  min-height: calc(100vh - 132px);
}

.space-tree-card,
.space-stage-card,
.space-side-panel {
  min-height: calc(100vh - 132px);
}

.space-tree-card,
.space-stage-card {
  padding: 10px;
}

.space-side-panel {
  display: grid;
  gap: 8px;
  align-content: start;
}

.space-search-wrap {
  padding: 0 8px 10px;
}

.space-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  background: #fbfdff;
  color: var(--text);
}

.space-tree {
  display: grid;
  gap: 10px;
  padding: 0 8px 8px;
}

.space-tree-group {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  padding: 8px;
}

.space-tree-floor {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #eef5fc;
  color: #23415f;
  font-weight: 700;
}

.space-tree-floor.active {
  background: #e1efff;
  color: #1d4f95;
}

.space-floor-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.space-tree-children {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.space-leaf {
  width: 100%;
  border: 1px solid #dbe6f1;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  color: var(--text);
}

.space-leaf.active {
  border-color: #a8c9ff;
  background: #f3f8ff;
  box-shadow: 0 8px 18px rgba(77, 143, 248, 0.12);
}

.space-leaf-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.space-leaf-type {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.space-tree-empty {
  color: var(--muted);
  font-size: 12px;
  padding: 6px 4px 2px;
}

.space-stage-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.space-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 8px 10px;
}

.space-kpi-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  padding: 12px;
}

.space-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(243, 248, 252, 0.82) 0%, rgba(238, 245, 251, 0.96) 100%),
    radial-gradient(circle at top left, rgba(77, 143, 248, 0.12), transparent 32%);
  min-height: 0;
  align-content: start;
}

.space-node {
  border: 1px solid #d7e3ef;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px;
  text-align: left;
  color: var(--text);
  box-shadow: 0 12px 26px rgba(42, 72, 107, 0.08);
}

.space-node.active {
  border-color: #8bb6ff;
  box-shadow: 0 16px 30px rgba(77, 143, 248, 0.18);
  transform: translateY(-1px);
}

.space-node.tone-blue {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.space-node.tone-green {
  background: linear-gradient(180deg, #ffffff 0%, #f4fffb 100%);
}

.space-node.tone-orange {
  background: linear-gradient(180deg, #ffffff 0%, #fff9f1 100%);
}

.space-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.space-node-type,
.space-node-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.space-node-name {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.25;
}

.space-node-occupancy {
  margin-top: 10px;
  font-size: 13px;
  color: #35506f;
}

.space-node-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.space-node-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(77, 143, 248, 0.08);
  color: #41698d;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1520px) {
  .space-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .space-tree-card,
  .space-stage-card,
  .space-side-panel {
    min-height: auto;
  }

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

@media (max-width: 980px) {
  .space-kpi-row,
  .space-stage {
    grid-template-columns: 1fr;
  }
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(93, 160, 255, 0.08), transparent 12%),
    linear-gradient(180deg, #1a2430 0%, #202b38 100%);
  border-right-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.brand-subtitle,
.user-meta,
.user-session,
.nav-leaf,
.nav-caret {
  color: rgba(219, 231, 244, 0.66);
}

.user-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(214, 227, 240, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.logout-button {
  background: #d5483d;
  color: #fff;
  box-shadow: none;
}

.logout-button:hover {
  transform: translateY(-1px);
  background: #d94a40;
}

.workspace-eyebrow,
.detail-kicker,
.profile-label,
.infra-label,
.ops-label,
.infra-sub,
.ops-sub,
.infra-split-head {
  color: #7ea1bc;
}

.workspace-top h2,
.panel-headline h3,
.detail-card-head h3,
.profile-value,
.infra-value,
.ops-value {
  color: #eff9ff;
}

.workspace-top {
  padding: 4px 6px 2px;
}

.workspace-top h2 {
  margin-top: 8px;
  font-size: 42px;
  font-weight: 800;
  color: #0f2842;
  letter-spacing: -0.02em;
}

.workspace-eyebrow {
  color: #6581a0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.workspace-actions {
  gap: 12px;
}

.surface-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 253, 0.98));
  border: 1px solid #d8e3ef;
  border-radius: 24px;
  box-shadow:
    0 16px 34px rgba(25, 54, 94, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.map-panel,
.detail-card {
  overflow: hidden;
  border-radius: 24px;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.94);
  border-color: #d0ddeb;
  color: #16304d;
}

.primary-button,
.ghost-button,
.filter-chip,
.nav-root,
.nav-branch,
.nav-leaf,
.logout-button {
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.ghost-button:hover,
.primary-button:hover,
.filter-chip:hover,
.nav-root:hover,
.nav-branch:hover,
.nav-leaf:hover {
  transform: translateY(-1px);
}

.primary-button:focus-visible,
.ghost-button:focus-visible,
.filter-chip:focus-visible,
.nav-root:focus-visible,
.nav-branch:focus-visible,
.nav-leaf:focus-visible,
.logout-button:focus-visible {
  outline: 2px solid rgba(78, 204, 255, 0.72);
  outline-offset: 2px;
}

.ghost-button:hover {
  border-color: #b9cee2;
  background: #ffffff;
}

.primary-button {
  background: linear-gradient(135deg, #1d3f6d, #2f6fb6);
  color: #efffff;
  box-shadow: 0 10px 22px rgba(45, 97, 168, 0.18);
}

.primary-button:hover {
  box-shadow: 0 14px 28px rgba(45, 97, 168, 0.22);
}

.filter-chip {
  background: #fbfdff;
  border-color: #d5e0eb;
  color: #69819a;
  min-height: 34px;
  padding: 8px 13px;
}

.filter-chip.active {
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.1), rgba(42, 196, 181, 0.1));
  border-color: #bfd4ea;
  color: #2a5d98;
  box-shadow: inset 0 0 0 1px rgba(117, 164, 215, 0.16);
}

.filter-chip:hover {
  border-color: #bdd1e3;
  color: #264f7e;
}

.map-stage,
.map-image-frame {
  background: linear-gradient(180deg, #fafdff 0%, #eff5fa 100%);
}

.map-stage {
  border: 1px solid #d9e5f0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.map-image-frame {
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(78, 130, 198, 0.09), transparent 52%),
    linear-gradient(180deg, #f8fbff 0%, #edf3f8 100%);
}

.panel-headline,
.detail-card-head {
  align-items: center;
  padding: 10px 10px 14px;
}

.panel-headline h3,
.detail-card-head h3 {
  font-size: 18px;
  font-weight: 800;
  position: relative;
  padding-left: 16px;
  color: #123050;
  letter-spacing: -0.01em;
}

.panel-headline h3::before,
.detail-card-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 0 10px rgba(47, 128, 237, 0.24);
}

.profile-item,
.infra-stat,
.ops-stat,
.infra-split-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.98));
  border: 1px solid #dbe5ef;
  box-shadow:
    0 8px 18px rgba(35, 66, 103, 0.05);
}

.infra-gauge {
  background: #e4edf5;
}

.infra-gauge-fill {
  background: linear-gradient(90deg, #4a90f5, #31c7c7);
  box-shadow: 0 0 10px rgba(74, 144, 245, 0.18);
}

.compass-marker-label {
  background: rgba(255, 255, 255, 0.96);
  color: #29435f;
  border-color: #d4e1ec;
  box-shadow: 0 8px 18px rgba(40, 71, 110, 0.12);
  min-height: 34px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
}

.compass-pin {
  box-shadow: 0 0 0 4px rgba(74, 144, 245, 0.12), 0 10px 16px rgba(52, 82, 120, 0.18);
}

.leaflet-control-zoom a {
  background: #ffffff;
  color: #18314d;
  border-bottom-color: #d6e2ed;
}

.leaflet-control-zoom {
  border: 1px solid #cddbe7;
  box-shadow: 0 10px 20px rgba(40, 71, 110, 0.12);
}

.leaflet-control-attribution {
  color: #6a829c;
  background: rgba(255, 255, 255, 0.84);
}

.detail-panel {
  gap: 12px;
}

.detail-card {
  padding: 12px 14px;
}

.profile-grid,
.ops-card-grid {
  gap: 12px;
}

.infra-split-grid {
  gap: 14px;
}

.profile-item,
.ops-stat {
  padding: 14px 14px 13px;
}

.infra-split-card {
  padding: 10px 10px 8px;
  border-radius: 18px;
}

.infra-card-grid .infra-stat {
  border: 0;
  border-radius: 14px;
  padding: 12px 12px 10px;
  background:
    linear-gradient(180deg, #fefefe 0%, #f5f9fd 100%);
  box-shadow:
    inset 0 0 0 1px #d9e4ef,
    0 6px 14px rgba(35, 66, 103, 0.04);
}

.profile-label,
.infra-label,
.ops-label,
.infra-split-head {
  font-size: 12px;
  color: #72879d;
}

.profile-value {
  margin-top: 8px;
  color: #18314d;
  font-size: 16px;
}

.infra-value,
.ops-value {
  margin-top: 8px;
  color: #123050;
  font-size: 22px;
  font-weight: 800;
}

.infra-value span,
.ops-value span {
  margin-left: 6px;
  font-size: 13px;
  color: #527192;
}

.infra-sub,
.ops-sub {
  margin-top: 10px;
  font-size: 12px;
  color: #72879d;
}

.infra-gauge {
  margin-top: 14px;
  height: 9px;
}

.leaflet-control-zoom a:hover {
  background: #f6faff;
}

@media (max-width: 1360px) {
  .workspace-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .workspace-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .board-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  }

  .ops-card-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .workspace {
    padding: 14px;
  }

  .workspace-top h2 {
    font-size: 34px;
  }
}

.nav-root,
.nav-branch,
.nav-leaf {
  border-radius: 16px;
}

.nav-root:hover,
.nav-branch:hover,
.nav-leaf:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-root.active,
.nav-branch.active,
.nav-leaf.active {
  background: linear-gradient(135deg, rgba(65, 116, 191, 0.34), rgba(70, 157, 255, 0.14));
  box-shadow: inset 0 0 0 1px rgba(125, 180, 247, 0.16);
}

/* Fit-to-viewport layout override for the test environment */
body {
  overflow-y: hidden;
}

.workspace {
  padding: 14px 16px 16px;
  height: 100vh;
  overflow: hidden;
}

.workspace-frame {
  min-height: calc(100vh - 30px);
  gap: 12px;
}

.workspace-top {
  padding: 2px 6px 0;
}

.workspace-top h2 {
  margin-top: 6px;
  font-size: 36px;
}

.workspace-actions {
  gap: 10px;
}

.primary-button,
.ghost-button {
  min-height: 40px;
}

.board-layout {
  min-height: 0;
  height: 100%;
}

.map-panel {
  min-height: 0;
  height: 100%;
  padding: 10px;
}

.detail-panel {
  min-height: 0;
  gap: 10px;
}

.detail-card {
  padding: 12px 14px;
}

.panel-headline,
.detail-card-head {
  padding: 8px 8px 10px;
}

.profile-grid,
.ops-card-grid {
  gap: 10px;
}

.infra-split-grid {
  gap: 12px;
}

.profile-item,
.ops-stat {
  padding: 12px 12px 11px;
}

.infra-split-card {
  padding: 8px 8px 6px;
}

.infra-card-grid .infra-stat {
  padding: 10px 10px 8px;
}

.profile-value {
  margin-top: 6px;
  font-size: 15px;
}

.infra-value,
.ops-value {
  margin-top: 6px;
  font-size: 20px;
}

.infra-sub,
.ops-sub {
  margin-top: 8px;
  font-size: 11px;
}

.infra-gauge {
  margin-top: 10px;
  height: 8px;
}

@media (max-width: 1120px) {
  body {
    overflow-y: auto;
  }

  .workspace {
    height: auto;
    overflow: visible;
  }

  .workspace-top h2 {
    font-size: 32px;
  }
}

/* Applied refinement based on the real test page structure */
body {
  background:
    radial-gradient(circle at top right, rgba(87, 160, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #f4f8fc 0%, #edf3f9 46%, #eef5f8 100%);
}

.workspace {
  padding: 14px 16px 16px;
}

.workspace-frame {
  gap: 12px;
}

.workspace-top {
  padding: 2px 6px 0;
}

.workspace-top h2 {
  margin-top: 4px;
  font-size: 34px;
  color: #0f2842;
}

.workspace-actions {
  gap: 10px;
}

.primary-button,
.ghost-button,
.filter-chip,
.nav-root,
.nav-branch,
.nav-leaf,
.logout-button {
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.primary-button:hover,
.ghost-button:hover,
.filter-chip:hover,
.logout-button:hover {
  transform: translateY(-1px);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(93, 160, 255, 0.05), transparent 10%),
    linear-gradient(180deg, #1d2835 0%, #212d3a 100%);
}

.brand-block {
  padding: 22px 20px 18px;
}

.nav-root,
.nav-branch,
.nav-leaf {
  border-radius: 16px;
}

.nav-root.active,
.nav-branch.active,
.nav-leaf.active {
  background: linear-gradient(135deg, rgba(65, 116, 191, 0.3), rgba(70, 157, 255, 0.12));
}

.user-card {
  border-radius: 18px;
  padding: 16px;
}

.surface-card {
  border-radius: 24px;
  box-shadow:
    0 16px 34px rgba(25, 54, 94, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.map-panel,
.detail-card {
  border-radius: 24px;
}

.panel-headline,
.detail-card-head {
  padding: 8px 8px 12px;
}

.panel-headline h3,
.detail-card-head h3 {
  color: #123050;
  font-size: 18px;
  padding-left: 0;
}

.panel-headline h3::before,
.detail-card-head h3::before {
  display: none;
}

.filter-chip {
  background: #fbfdff;
  border-color: #d5e0eb;
  color: #69819a;
  min-height: 34px;
  padding: 8px 13px;
}

.filter-chip.active {
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.1), rgba(42, 196, 181, 0.1));
  border-color: #bfd4ea;
  color: #2a5d98;
}

.map-stage {
  border-color: #d9e5f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.detail-panel {
  gap: 12px;
}

.detail-card {
  padding: 12px 14px;
}

.profile-grid,
.ops-card-grid {
  gap: 12px;
}

.infra-split-grid {
  gap: 14px;
}

.profile-item,
.ops-stat {
  padding: 14px 14px 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 249, 253, 0.98));
  border-color: #d9e5ef;
  box-shadow:
    0 8px 18px rgba(35, 66, 103, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.profile-grid .profile-item {
  border-color: #d5e2ee;
}

.infra-split-card {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.infra-card-grid .infra-stat {
  margin-top: 0;
  border-radius: 18px;
  padding: 14px 14px 12px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
  border: 1px solid #d7e3ee;
  box-shadow:
    inset 0 0 0 1px #d9e4ef,
    0 6px 14px rgba(35, 66, 103, 0.04);
}

.profile-label,
.infra-label,
.ops-label,
.infra-split-head {
  color: #72879d;
  font-size: 12px;
}

.infra-split-head {
  margin: 0 0 6px;
  padding: 0 4px;
  font-weight: 700;
}

.profile-value {
  margin-top: 8px;
  color: #18314d;
}

.infra-value,
.ops-value {
  margin-top: 8px;
  color: #123050;
  font-size: 22px;
}

.infra-value span,
.ops-value span {
  color: #527192;
}

.infra-sub,
.ops-sub {
  color: #72879d;
  font-size: 12px;
}

.ops-card-grid .ops-stat:first-child {
  border-color: #c7d7e6;
  box-shadow:
    0 10px 20px rgba(35, 66, 103, 0.06),
    inset 0 0 0 1px rgba(69, 140, 242, 0.08);
}

.infra-gauge {
  background: #e4edf5;
}

.infra-gauge-fill {
  box-shadow: 0 0 10px rgba(74, 144, 245, 0.18);
}

/* Card icon layer */
.profile-item,
.infra-card-grid .infra-stat,
.ops-stat {
  position: relative;
  padding-left: 52px;
}

.profile-item::before,
.infra-card-grid .infra-stat::before,
.ops-stat::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 10px;
  border: 1px solid var(--card-icon-border, #d8e4ef);
  background:
    var(--card-icon) center / 14px 14px no-repeat,
    var(--card-icon-bg, linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%));
  box-shadow: 0 4px 10px var(--card-icon-shadow, rgba(35, 66, 103, 0.06));
}

.profile-grid .profile-item:nth-child(1) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='3' width='11' height='10' rx='2'/%3E%3Cpath d='M5 13V9.5h6V13M6 6.5h0M10 6.5h0'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #eef6ff 0%, #dcecff 100%);
  --card-icon-border: #c8dcf5;
  --card-icon-shadow: rgba(54, 117, 199, 0.16);
}

.profile-grid .profile-item:nth-child(2) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4h11M2.5 8h11M2.5 12h11'/%3E%3Cpath d='M5 2.5v11M11 2.5v11'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #eef8f6 0%, #daf2ec 100%);
  --card-icon-border: #c7e7dc;
  --card-icon-shadow: rgba(59, 153, 125, 0.14);
}

.profile-grid .profile-item:nth-child(3) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v5'/%3E%3Ccircle cx='8' cy='11' r='2.5'/%3E%3Cpath d='M5.5 11H3.5M12.5 11h-2'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #fff5ec 0%, #ffe7d1 100%);
  --card-icon-border: #f5d7b6;
  --card-icon-shadow: rgba(207, 132, 52, 0.16);
}

.profile-grid .profile-item:nth-child(4) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h10M3 8h10M3 12h6'/%3E%3Ccircle cx='11.5' cy='12' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #f3f0ff 0%, #e4dcff 100%);
  --card-icon-border: #d8cdfa;
  --card-icon-shadow: rgba(106, 90, 192, 0.14);
}

#edhGrid .infra-stat {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='3' width='11' height='10' rx='2'/%3E%3Cpath d='M5 6h6M5 9h4'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #eef6ff 0%, #dcecff 100%);
  --card-icon-border: #c8dcf5;
  --card-icon-shadow: rgba(54, 117, 199, 0.16);
}

#sensorGrid .infra-stat {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5a4.5 4.5 0 0 1 4.5 4.5M8 6.5A1.5 1.5 0 0 1 9.5 8M6.7 9.3l1.3-1.3 1.3 1.3M8 12.5h0'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #eef8f6 0%, #daf2ec 100%);
  --card-icon-border: #c7e7dc;
  --card-icon-shadow: rgba(59, 153, 125, 0.14);
}

.ops-card-grid .ops-stat:nth-child(1) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2.5L3.5 8h3L5 13.5 12.5 6.5h-3L11 2.5z'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #eef6ff 0%, #dcecff 100%);
  --card-icon-border: #c8dcf5;
  --card-icon-shadow: rgba(54, 117, 199, 0.16);
}

.ops-card-grid .ops-stat:nth-child(2) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l3-3 2 2 4-5'/%3E%3Cpath d='M10.5 5h1.5v1.5'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #eef8f6 0%, #daf2ec 100%);
  --card-icon-border: #c7e7dc;
  --card-icon-shadow: rgba(59, 153, 125, 0.14);
}

.ops-card-grid .ops-stat:nth-child(3) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='4.5'/%3E%3Cpath d='M8 5.5v2.8l1.8 1.2'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #fff5ec 0%, #ffe7d1 100%);
  --card-icon-border: #f5d7b6;
  --card-icon-shadow: rgba(207, 132, 52, 0.16);
}

.ops-card-grid .ops-stat:nth-child(4) {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%232b5b92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='4' height='4' rx='1'/%3E%3Crect x='9' y='3' width='4' height='4' rx='1'/%3E%3Crect x='3' y='9' width='4' height='4' rx='1'/%3E%3Crect x='9' y='9' width='4' height='4' rx='1'/%3E%3C/g%3E%3C/svg%3E");
  --card-icon-bg: linear-gradient(180deg, #f3f0ff 0%, #e4dcff 100%);
  --card-icon-border: #d8cdfa;
  --card-icon-shadow: rgba(106, 90, 192, 0.14);
}

/* Impeccable polish pass: align interaction, density, and mobile entry with DESIGN.md. */
.mini-button:focus-visible,
.detail-card button:focus-visible,
.leaflet-control-zoom a:focus-visible {
  outline: 2px solid rgba(78, 204, 255, 0.72);
  outline-offset: 2px;
}

.filter-chip,
.mini-button,
.nav-root,
.nav-branch,
.nav-leaf,
.logout-button {
  min-height: 36px;
}

.detail-card-head {
  min-height: 36px;
}

.infra-stat,
.ops-stat,
.profile-item {
  min-height: 82px;
}

.filter-chip[aria-pressed="true"] {
  border-color: #a9c8eb;
  box-shadow:
    inset 0 0 0 1px rgba(74, 144, 245, 0.14),
    0 8px 16px rgba(35, 66, 103, 0.06);
}

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

@media (max-width: 700px) {
  .app-shell {
    display: block;
    width: 100%;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: block;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(18, 38, 60, 0.18);
  }

  .brand-block {
    padding: 14px 16px 10px;
  }

  .brand-copy {
    justify-items: start;
  }

  .brand-title {
    font-size: 22px;
  }

  .brand-subtitle {
    margin-top: 5px;
    font-size: 11px;
  }

  .sidebar-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 8px 12px 12px;
    scrollbar-width: none;
  }

  .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .sidebar-nav > .nav-group,
  .nav-children {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding-left: 0;
  }

  .nav-children[hidden] {
    display: none !important;
  }

  .nav-root,
  .nav-branch,
  .nav-leaf {
    width: auto;
    min-height: 44px;
    padding: 11px 14px;
    white-space: nowrap;
  }

  .nav-caret {
    margin-left: 8px;
  }

  .sidebar-footer {
    display: none;
  }

  .workspace {
    padding: 12px;
  }

  .workspace-frame {
    min-height: auto;
  }

  .workspace-top {
    padding: 4px 2px 0;
  }

  .workspace-top h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .board-layout {
    grid-template-columns: 1fr !important;
    min-height: auto;
    gap: 12px;
  }

  .surface-card,
  .map-panel,
  .detail-card {
    border-radius: 18px;
  }

  .panel-headline {
    gap: 10px;
  }

  .map-filter-chips {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .filter-chip {
    min-height: 44px;
  }

  .map-image-frame {
    min-height: 420px;
  }

  .profile-grid,
  .infra-card-grid,
  .ops-card-grid,
  .infra-split-grid {
    grid-template-columns: 1fr;
  }
}

/* Impeccable colorize pass: restrained operational color, shared with the space dashboard. */
:root {
  --sidebar: oklch(27% 0.035 250);
  --surface: oklch(99% 0.006 235);
  --surface-soft: oklch(97% 0.012 235);
  --surface-blue: oklch(97.5% 0.014 245);
  --surface-teal: oklch(97.5% 0.015 195);
  --surface-warn: oklch(97.5% 0.017 75);
  --line: oklch(89% 0.022 235);
  --text: oklch(28% 0.055 250);
  --muted: oklch(56% 0.035 240);
  --blue: oklch(61% 0.13 255);
  --teal: oklch(70% 0.09 195);
  --green: oklch(66% 0.1 160);
  --orange: oklch(73% 0.1 70);
  --red: oklch(56% 0.13 30);
  --blue-ink: oklch(42% 0.12 255);
  --teal-ink: oklch(39% 0.09 195);
  --warn-ink: oklch(43% 0.1 65);
  --shadow: 0 16px 34px rgba(25, 54, 94, 0.08);
}

body {
  background:
    radial-gradient(circle at top right, color-mix(in oklch, var(--blue) 9%, transparent), transparent 18%),
    linear-gradient(180deg, oklch(97.8% 0.01 235) 0%, oklch(95.4% 0.013 235) 48%, oklch(96.2% 0.012 215) 100%);
}

.sidebar {
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--blue) 10%, transparent), transparent 12%),
    linear-gradient(180deg, var(--sidebar) 0%, oklch(24% 0.038 250) 100%);
}

.nav-root.active,
.nav-branch.active,
.nav-leaf.active,
.nav-root[aria-current="page"],
.nav-branch[aria-current="page"],
.nav-leaf[aria-current="page"] {
  background: color-mix(in oklch, var(--blue) 26%, transparent);
  color: oklch(98% 0.01 235);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--blue) 26%, transparent);
}

.surface-card {
  background: linear-gradient(180deg, oklch(99% 0.006 235) 0%, oklch(97.5% 0.012 235) 100%);
  border-color: var(--line);
}

.primary-button {
  background: linear-gradient(135deg, var(--sidebar), oklch(35% 0.07 250));
}

.mini-button,
.filter-chip,
.compact-chip {
  background: var(--surface);
  border-color: var(--line);
}

.filter-chip.active,
.filter-chip[aria-pressed="true"] {
  background: var(--surface-blue);
  border-color: color-mix(in oklch, var(--blue) 24%, var(--line));
  color: var(--blue-ink);
}

.info-card,
.profile-item,
.infra-card-grid .infra-stat,
.ops-card-grid .ops-stat {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border-color: var(--line);
}

.infra-gauge-fill,
.metric-bar i {
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
