:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101311;
  color: #edf0eb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #828b83;
  --line: #2a302b;
  --green: #a7e276;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 48px 48px;
}

button, a { font: inherit; }

.shell { min-height: 100vh; padding: 0 7.2%; position: relative; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { color: #edf0eb; text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: .02em; }
.wordmark-dot { color: var(--green); }
.system-label, .version, .eyebrow, .status-caption, .status-value, .check-button, .results-heading, .metric-label, .footnote, .page-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .09em;
}
.system-label { color: #a0a89f; }
.version { margin-left: 14px; color: #69716a; }
.dashboard { width: min(100%, 610px); margin: clamp(76px, 13vh, 142px) auto 70px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px #a7e27655; }
h1 { margin: 26px 0 8px; font-size: clamp(38px, 6vw, 58px); line-height: 1.08; font-weight: 570; letter-spacing: -.045em; }
.intro { margin: 0; color: #8d968e; font-size: 15px; }
.status-line { margin-top: 55px; padding: 17px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-caption { color: var(--muted); }
.status-value { display: flex; align-items: center; gap: 9px; color: #d7e7cb; }
.check-button { width: 100%; min-height: 54px; margin-top: 18px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #b2e987; border-radius: 3px; background: var(--green); color: #172014; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.check-button:hover { background: #b8ef8b; transform: translateY(-1px); }
.check-button:active { transform: translateY(0); }
.check-button:focus-visible { outline: 2px solid #edf0eb; outline-offset: 4px; }
.button-arrow { font-size: 17px; }
.results { margin-top: 20px; padding: 18px; border: 1px solid var(--line); background: #141815; }
.results-heading { display: flex; justify-content: space-between; color: var(--muted); }
.check-list { list-style: none; margin: 20px 0 15px; padding: 0; display: grid; gap: 10px; color: #bac3ba; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--green); }
.check-list li.failed::before { content: "×"; color: #e5a27f; }
.result-message { margin: 0; color: var(--green); font-size: 13px; }
.metrics { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric { min-height: 92px; padding: 18px 16px 17px 0; display: flex; flex-direction: column; justify-content: space-between; }
.metric + .metric { padding-left: 20px; border-left: 1px solid var(--line); }
.metric-label { color: var(--muted); }
.metric strong { font-size: 18px; font-weight: 500; }
.unit { margin-left: 2px; color: var(--muted); font-size: 12px; }
.footnote { margin-top: 18px; display: flex; justify-content: space-between; color: #798179; }
.page-index { position: absolute; right: 7.2%; bottom: 28px; color: #606861; }
[hidden] { display: none !important; }

@media (max-width: 560px) {
  .shell { padding: 0 22px; }
  .topbar { height: 66px; }
  .system-label { font-size: 8px; }
  .version { margin-left: 5px; font-size: 8px; }
  .dashboard { margin-top: 94px; }
  .status-line { margin-top: 42px; }
  .metric { padding-right: 8px; }
  .metric + .metric { padding-left: 12px; }
  .footnote { font-size: 8px; }
  .page-index { right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
