@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --od-bg: #f3f0e8;
  --od-surface: #fffdf7;
  --od-surface-2: #ebe5d8;
  --od-text: #1c2024;
  --od-muted: #6b6f76;
  --od-line: #d7cec0;
  --od-teal: #2f7dd1;
  --od-cyan: #1b9bb8;
  --od-amber: #c47a18;
  --od-red: #c94a5a;
  --od-green: #2f7dd1;
  --od-blue: #2f7dd1;
  --od-violet: #8a65c7;
  --od-shadow: 0 24px 80px -48px rgba(22, 27, 29, 0.45);
}

.dark {
  --od-bg: #111214;
  --od-surface: #191b1f;
  --od-surface-2: #23262b;
  --od-text: #f1eee6;
  --od-muted: #a5a19a;
  --od-line: #36343a;
  --od-teal: #6aa4ff;
  --od-cyan: #49c3dd;
  --od-amber: #e4a84f;
  --od-red: #f0717f;
  --od-green: #6aa4ff;
  --od-blue: #6aa4ff;
  --od-violet: #b197ff;
  --od-shadow: 0 28px 90px -50px rgba(0, 0, 0, 0.85);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(106, 164, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 164, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(47, 125, 209, 0.16), transparent 34rem),
    radial-gradient(circle at 84% 8%, rgba(138, 101, 199, 0.14), transparent 28rem),
    var(--od-bg);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  color: var(--od-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: 0;
}

#root {
  display: none !important;
}

#orbit-deck,
#orbit-deck * {
  box-sizing: border-box;
}

#orbit-deck {
  min-height: 100vh;
  color: var(--od-text);
}

.od-shell {
  min-height: 100vh;
}

.od-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px) auto;
  gap: 16px;
  align-items: center;
  padding: 14px clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--od-line);
  background: color-mix(in srgb, var(--od-bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
}

.od-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.od-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.od-brand strong,
.od-brand span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.od-brand strong {
  font-size: 15px;
  font-weight: 800;
}

.od-brand span {
  color: var(--od-muted);
  font-size: 12px;
}

.od-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--od-line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--od-surface);
  color: var(--od-text);
  outline: none;
  font: inherit;
}

.od-search input:focus {
  border-color: var(--od-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--od-teal) 18%, transparent);
}

.od-icon-btn,
.od-close {
  border: 1px solid var(--od-line);
  border-radius: 8px;
  background: var(--od-surface);
  color: var(--od-text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}

.od-icon-btn {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.od-main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 36px);
}

.od-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.od-hero-copy,
.od-command,
.od-panel,
.od-grid-wrap,
.od-drawer {
  border: 1px solid var(--od-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--od-surface) 92%, transparent);
  box-shadow: var(--od-shadow);
}

.od-hero-copy {
  padding: clamp(22px, 4vw, 42px);
  position: relative;
  overflow: hidden;
}

.od-hero-copy::after {
  content: '';
  position: absolute;
  inset: auto -12% -36% auto;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--od-teal) 36%, transparent);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 28px color-mix(in srgb, var(--od-teal) 5%, transparent),
    inset 0 0 0 76px color-mix(in srgb, var(--od-amber) 5%, transparent);
}

.od-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--od-teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.od-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.od-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--od-muted);
  font-size: 15px;
  line-height: 1.8;
}

.od-command {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.od-metric {
  min-height: 132px;
  border: 1px solid var(--od-line);
  border-radius: 8px;
  padding: 16px;
  background: var(--od-surface-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.od-metric span {
  color: var(--od-muted);
  font-size: 12px;
}

.od-metric strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(24px, 4vw, 40px);
}

.od-metric.online strong {
  color: var(--od-green);
}

.od-metric.warn strong {
  color: var(--od-amber);
}

.od-metric.danger strong {
  color: var(--od-red);
}

.od-board {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.od-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
}

.od-panel {
  padding: 14px;
}

.od-panel-title {
  margin-bottom: 10px;
  color: var(--od-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.od-panel button {
  width: 100%;
  min-height: 36px;
  margin-top: 8px;
  border: 1px solid var(--od-line);
  border-radius: 8px;
  padding: 0 10px;
  background: transparent;
  color: var(--od-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.od-panel button.active {
  border-color: var(--od-teal);
  background: color-mix(in srgb, var(--od-teal) 12%, transparent);
}

.od-panel p {
  margin: 6px 0;
  color: var(--od-muted);
  font-size: 12px;
  line-height: 1.5;
}

.od-errors b {
  display: block;
  color: var(--od-red);
}

.od-grid-wrap {
  padding: 14px;
}

.od-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--od-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.od-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.od-card {
  position: relative;
  min-height: 326px;
  border: 1px solid var(--od-line);
  border-radius: 10px;
  padding: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--od-surface) 96%, transparent), color-mix(in srgb, var(--od-surface-2) 70%, transparent)),
    var(--od-surface);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.od-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--od-green);
}

.od-card.warn::before {
  background: var(--od-amber);
}

.od-card.danger::before {
  background: var(--od-red);
}

.od-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--od-teal) 55%, var(--od-line));
  box-shadow: var(--od-shadow);
}

.od-card-top,
.od-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.od-status,
.od-region,
.od-card-foot span,
.od-tags span {
  border: 1px solid var(--od-line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--od-muted);
  font-size: 11px;
  font-weight: 700;
}

.od-status.online {
  color: var(--od-green);
  border-color: color-mix(in srgb, var(--od-green) 42%, var(--od-line));
}

.od-status.warn {
  color: var(--od-amber);
  border-color: color-mix(in srgb, var(--od-amber) 46%, var(--od-line));
}

.od-status.danger {
  color: var(--od-red);
  border-color: color-mix(in srgb, var(--od-red) 46%, var(--od-line));
}

.od-node-title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.od-node-title > div {
  display: grid;
  align-content: center;
  min-height: 44px;
}

.od-os {
  width: 44px;
  height: 44px;
  border: 1px solid var(--od-line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--os-color, var(--od-blue)) 22%, transparent), transparent),
    var(--od-surface-2);
  color: var(--os-color, var(--od-blue));
}

.od-os img,
.od-os svg {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.od-os b {
  display: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

.od-card h2 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.od-card p {
  min-height: 0;
  margin: 5px 0 0;
  color: var(--od-muted);
  font-size: 12px;
  line-height: 1.25;
}

.od-region {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.od-region b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

.od-bars {
  display: grid;
  gap: 9px;
  margin: 18px 0 12px;
}

.od-resource {
  --bar-color: var(--od-teal);
  display: grid;
  gap: 6px;
}

.od-resource.cpu {
  --bar-color: var(--od-cyan);
}

.od-resource.mem {
  --bar-color: var(--od-violet);
}

.od-resource.disk {
  --bar-color: var(--od-amber);
}

.od-resource.warn {
  --bar-color: var(--od-amber);
}

.od-resource.critical {
  --bar-color: var(--od-red);
}

.od-resource div {
  display: flex;
  justify-content: space-between;
  color: var(--od-muted);
  font-size: 11px;
  font-weight: 800;
}

.od-resource b {
  color: var(--bar-color);
  font-family: 'JetBrains Mono', monospace;
}

.od-resource i {
  height: 8px;
  border-radius: 999px;
  transition: background-size 360ms ease;
  background:
    linear-gradient(90deg, var(--bar-color), color-mix(in srgb, var(--bar-color) 58%, white)) 0 0 / calc(var(--value) * 1%) 100% no-repeat,
    color-mix(in srgb, var(--od-line) 52%, transparent);
}

.od-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.od-flow span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--od-line);
  border-radius: 7px;
  padding: 7px 8px;
  background: color-mix(in srgb, var(--od-surface-2) 70%, transparent);
  color: var(--od-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.od-orbit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.od-ring {
  --circ: 100.53;
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.od-ring svg {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}

.od-ring circle {
  fill: none;
  stroke-width: 4;
}

.od-ring circle:first-child {
  stroke: var(--od-line);
}

.od-ring circle:last-child {
  stroke: var(--ring-color, var(--od-teal));
  stroke-linecap: round;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: calc(var(--circ) - (var(--circ) * var(--value) / 100));
}

.od-ring.cpu {
  --ring-color: var(--od-cyan);
}

.od-ring.mem {
  --ring-color: var(--od-violet);
}

.od-ring.disk {
  --ring-color: var(--od-amber);
}

.od-ring.swap {
  --ring-color: var(--od-violet);
}

.od-ring.warn {
  --ring-color: var(--od-amber);
}

.od-ring.critical {
  --ring-color: var(--od-red);
}

.od-ring b {
  margin-top: -46px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ring-color, var(--od-teal));
}

.od-ring span {
  color: var(--od-muted);
  font-size: 10px;
  font-weight: 800;
}

.od-spark {
  height: 44px;
  margin-top: 12px;
  padding: 6px 0;
}

.od-spark svg,
.od-trend-card svg {
  width: 100%;
  height: 100%;
}

.od-spark polyline,
.od-trend-card polyline {
  fill: none;
  stroke: var(--od-cyan);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.od-empty-line {
  height: 1px;
  margin-top: 18px;
  background: repeating-linear-gradient(90deg, var(--od-line) 0 8px, transparent 8px 14px);
}

.od-card-foot {
  margin-top: 12px;
}

.od-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(3px);
}

.od-drawer {
  position: fixed;
  z-index: 41;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: min(980px, calc(100vw - 32px));
  padding: 18px;
  overflow: auto;
}

.od-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  font-size: 22px;
}

.od-drawer-head {
  padding-right: 42px;
}

.od-drawer-title {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.od-drawer-title .od-os {
  width: 48px;
  height: 48px;
}

.od-drawer-title h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.od-resource-section,
.od-trend-section,
.od-latency-section {
  margin-top: 18px;
  border: 1px solid var(--od-line);
  border-radius: 10px;
  padding: 18px 20px 20px;
  background: color-mix(in srgb, var(--od-surface) 45%, transparent);
}

.od-resource-section h3,
.od-trend-section h3,
.od-latency-section h3 {
  margin: 0 0 12px;
  color: var(--od-muted);
  font-size: 13px;
  font-weight: 700;
}

.od-latency-section h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.od-latency-section h3 span {
  font-weight: 500;
}

.od-resource-rings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.od-resource-ring {
  --circ: 251.33;
  --ring-color: var(--od-teal);
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.od-resource-ring.cpu {
  --ring-color: var(--od-cyan);
}

.od-resource-ring.mem {
  --ring-color: var(--od-teal);
}

.od-resource-ring.disk {
  --ring-color: var(--od-amber);
}

.od-resource-ring.warn {
  --ring-color: var(--od-amber);
}

.od-resource-ring.critical {
  --ring-color: var(--od-red);
}

.od-resource-ring svg {
  width: 112px;
  height: 112px;
  transform: rotate(-90deg);
}

.od-resource-ring circle {
  fill: none;
  stroke-width: 8;
}

.od-resource-ring circle.track {
  stroke: color-mix(in srgb, var(--od-line) 78%, transparent);
}

.od-resource-ring circle.value {
  stroke: var(--ring-color);
  stroke-linecap: round;
  transition: stroke-dashoffset 400ms ease;
}

.od-resource-ring b {
  margin-top: -72px;
  color: var(--od-text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
}

.od-resource-ring strong {
  margin-top: 26px;
  color: var(--od-text);
  font-size: 13px;
}

.od-resource-ring span {
  max-width: 100%;
  overflow: hidden;
  color: var(--od-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.od-mini-trends {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.od-trend-card {
  --trend-color: var(--od-cyan);
  min-height: 126px;
  border: 1px solid var(--od-line);
  border-radius: 8px;
  padding: 12px;
  background: color-mix(in srgb, var(--od-surface-2) 72%, transparent);
}

.od-trend-card.mem {
  --trend-color: var(--od-teal);
}

.od-trend-card.down {
  --trend-color: var(--od-violet);
}

.od-trend-card.up {
  --trend-color: var(--od-amber);
}

.od-trend-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}

.od-trend-card span {
  color: var(--od-muted);
}

.od-trend-card b {
  color: var(--od-text);
  font-family: 'JetBrains Mono', monospace;
}

.od-trend-card svg {
  height: 72px;
}

.od-trend-card polyline {
  stroke: var(--trend-color);
}

.od-latency-empty {
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--od-line);
  border-radius: 8px;
  color: var(--od-muted);
  font-size: 12px;
}

.od-latency-combo {
  display: grid;
  gap: 14px;
}

.od-latency-section h3 + .od-latency-combo + h3 {
  margin-top: 22px;
}

.od-latency-chart-wrap {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.od-latency-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 0 2px;
  color: var(--od-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.od-latency-chart {
  width: 100%;
  height: 176px;
  overflow: visible;
}

.od-latency-chart-stage {
  position: relative;
  min-width: 0;
}

.od-latency-chart line {
  stroke: color-mix(in srgb, var(--od-line) 58%, transparent);
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
}

.od-latency-section polyline {
  fill: none;
}

.od-latency-chart-line {
  stroke: var(--line-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--line-color) 28%, transparent));
  vector-effect: non-scaling-stroke;
  transition: points 320ms ease;
}

.od-latency-cursor {
  opacity: 0;
  stroke: color-mix(in srgb, var(--od-text) 62%, transparent);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}

.od-latency-marker-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.od-latency-marker-layer i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid var(--od-text);
  border-radius: 50%;
  background: var(--line-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--line-color) 18%, transparent);
  transform: translate(-50%, -50%);
}

.od-latency-tooltip {
  position: absolute;
  top: 10px;
  z-index: 2;
  min-width: 150px;
  max-width: min(260px, calc(100vw - 72px));
  border: 1px solid var(--od-line);
  border-radius: 6px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--od-surface-2) 94%, black);
  box-shadow: var(--od-shadow);
  color: var(--od-text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.od-latency-tooltip b,
.od-latency-tooltip span {
  display: block;
}

.od-latency-tooltip b {
  margin-bottom: 8px;
}

.od-latency-tooltip span {
  color: var(--line-color);
  line-height: 1.7;
  white-space: nowrap;
}

.od-latency-combo.is-hovering .od-latency-cursor,
.od-latency-combo.is-hovering .od-latency-marker-layer,
.od-latency-combo.is-hovering .od-latency-tooltip {
  opacity: 1;
}

.od-latency-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--od-muted);
  font-size: 12px;
}

.od-latency-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.od-latency-legend span::before {
  width: 8px;
  height: 8px;
  border: 2px solid var(--line-color);
  border-radius: 50%;
  content: '';
}

.od-latency-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.od-latency-stat {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--od-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.od-latency-stat b {
  min-width: 0;
  overflow: hidden;
  color: var(--line-color);
  font-family: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.od-latency-stat span {
  display: flex;
  gap: 8px;
}

.od-latency-stat strong {
  color: var(--od-text);
}

.od-latency-row svg {
  grid-column: 1 / -1;
  width: 100%;
  height: 48px;
}

.od-latency-row polyline {
  fill: none;
  stroke: var(--od-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.od-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}

.od-info-panel {
  border: 1px solid var(--od-line);
  border-radius: 8px;
  padding: 20px;
  background: color-mix(in srgb, var(--od-surface-2) 58%, transparent);
}

.od-info-panel h3 {
  margin: 0 0 14px;
  color: var(--od-text);
  font-size: 13px;
  font-weight: 700;
}

.od-info-panel div {
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
}

.od-info-panel span {
  color: var(--od-muted);
}

.od-info-panel b {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  color: var(--od-text);
}

.od-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.od-empty {
  grid-column: 1 / -1;
  min-height: 240px;
  border: 1px dashed var(--od-line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--od-muted);
}

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

.od-footer {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 36px 28px;
  color: var(--od-muted);
  font-size: 12px;
}

.od-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
}

.od-loader {
  display: flex;
  gap: 10px;
}

.od-loader span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--od-teal);
  animation: od-pulse 900ms ease-in-out infinite alternate;
}

.od-loader span:nth-child(2) {
  animation-delay: 120ms;
  background: var(--od-amber);
}

.od-loader span:nth-child(3) {
  animation-delay: 240ms;
  background: var(--od-cyan);
}

@keyframes od-pulse {
  from {
    opacity: 0.35;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .od-header,
  .od-hero,
  .od-board {
    grid-template-columns: 1fr;
  }

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

  .od-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .od-main {
    padding: 14px;
  }

  .od-drawer {
    inset: 0;
    width: 100vw;
    padding: 14px;
    border-radius: 0;
  }

  .od-drawer-title {
    grid-template-columns: 42px minmax(0, 1fr);
    margin-top: 12px;
  }

  .od-drawer-title .od-os {
    width: 42px;
    height: 42px;
  }

  .od-drawer-title h2 {
    font-size: 24px;
  }

  .od-resource-section,
  .od-trend-section,
  .od-latency-section,
  .od-info-panel {
    padding: 14px;
  }

  .od-resource-section,
  .od-trend-section,
  .od-latency-section {
    margin-top: 12px;
  }

  .od-command,
  .od-sidebar,
  .od-detail-columns {
    grid-template-columns: 1fr;
  }

  .od-detail-columns {
    gap: 12px;
    margin-top: 12px;
  }

  .od-resource-rings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .od-resource-ring {
    gap: 5px;
  }

  .od-resource-ring svg {
    width: 76px;
    height: 76px;
  }

  .od-resource-ring b {
    margin-top: -52px;
    font-size: 14px;
  }

  .od-resource-ring strong {
    margin-top: 18px;
    font-size: 12px;
  }

  .od-resource-ring span {
    font-size: 10px;
  }

  .od-mini-trends {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .od-trend-card {
    min-height: 104px;
    padding: 10px;
  }

  .od-trend-card svg {
    height: 58px;
  }

  .od-info-panel div {
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    font-size: 12px;
  }

  .od-latency-chart-wrap {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
  }

  .od-latency-chart {
    height: 126px;
  }

  .od-latency-summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .od-card {
    min-height: auto;
  }
}
