:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b14;
  color: #f4f7ff;
  --muted: #8d99b5;
  --line: rgba(156, 173, 216, .16);
  --card: rgba(20, 27, 48, .82);
  --cyan: #67e8f9;
  --green: #6ee7b7;
  --amber: #fcd34d;
  --red: #fb7185;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: radial-gradient(circle at 15% -5%, #1c3157 0, transparent 38%), var(--background, #080b14);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(103, 232, 249, .04), transparent 45%);
}
.shell { width: min(100% - 28px, 760px); margin: 0 auto; padding: 28px 0 48px; }
.topbar, .section-heading, .hero-status, .hero-meta, .rows > div { display: flex; align-items: center; }
.topbar, .section-heading { justify-content: space-between; gap: 16px; }
.topbar { margin-bottom: 22px; }
.eyebrow { margin: 0 0 7px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(28px, 8vw, 42px); letter-spacing: -.04em; }
h2 { margin-bottom: 0; font-size: 25px; letter-spacing: -.03em; }
h3 { margin-bottom: 16px; font-size: 17px; }
.muted, .muted-text { color: var(--muted); }
.muted-text { font-size: 13px; line-height: 1.55; }
.card { border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 16px 50px rgba(0, 0, 0, .18); backdrop-filter: blur(18px); }
.access, .metric-card { padding: 20px; }
.access { margin-bottom: 16px; }
.access h2 { margin-bottom: 9px; }
form { display: flex; gap: 9px; margin-top: 18px; }
input, button { border: 1px solid var(--line); border-radius: 13px; font: inherit; }
input { min-width: 0; flex: 1; padding: 13px 14px; color: #fff; background: #0d1324; outline: none; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(103, 232, 249, .12); }
button { padding: 0 17px; color: #05101b; background: var(--cyan); font-weight: 800; cursor: pointer; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; font-size: 12px; }
.pill.online { color: #06261b; background: var(--green); }
.pill.offline { color: #32050e; background: var(--red); }
.hero-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 23px 20px; margin-bottom: 16px; }
.hero-status { gap: 13px; }
.hero-meta { flex-direction: column; align-items: flex-end; gap: 5px; color: var(--muted); font-size: 12px; }
.hero-meta strong { display: block; color: #f4f7ff; text-align: right; font-size: 14px; }
.dot { width: 13px; height: 13px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 6px rgba(141, 153, 181, .10); }
.dot.online { background: var(--green); box-shadow: 0 0 0 6px rgba(110, 231, 183, .12); }
.dot.offline { background: var(--red); box-shadow: 0 0 0 6px rgba(251, 113, 133, .12); }
.grid { display: grid; gap: 16px; margin-bottom: 16px; }
.rows { display: grid; gap: 11px; }
.rows > div { justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.rows > div:last-child { padding-bottom: 0; border-bottom: 0; }
.rows span { color: var(--muted); }
.rows strong { color: #fff; text-align: right; font-size: 13px; }
.market-source-status { margin: -4px 0 14px; color: var(--amber); font-size: 12px; line-height: 1.5; }
.status-good { color: var(--green) !important; }
.status-warn { color: var(--amber) !important; }
.stepper { display: flex; flex-wrap: wrap; gap: 6px; }
.step { border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; color: var(--muted); font-size: 11px; }
.step.active { border-color: rgba(103, 232, 249, .5); color: #05101b; background: var(--cyan); font-weight: 800; }
.banner { margin-bottom: 16px; padding: 13px 15px; border: 1px solid rgba(252, 211, 77, .3); border-radius: 14px; color: var(--amber); background: rgba(252, 211, 77, .08); font-size: 13px; }
.errors { display: grid; gap: 9px; }
.error-item { padding: 10px 12px; border-left: 3px solid var(--red); border-radius: 8px; background: rgba(251, 113, 133, .06); }
.error-item time, .error-item small { display: block; color: var(--muted); font-size: 11px; }
.error-item p { margin: 4px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.error-text { margin: 10px 0 0; color: var(--red); font-size: 12px; }
[hidden] { display: none !important; }
@media (min-width: 620px) { .grid.two { grid-template-columns: 1fr 1fr; } .access, .metric-card { padding: 24px; } }