/* Biggles — base styles.
   Light and dark are both defined via tokens so the dashboard reads well either way. */

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --border: #e2e2dd;
  --text: #1c1c1a;
  --text-muted: #6b6b66;
  --accent: #2f6f4f;
  --warn: #9a5b12;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171a;
    --surface: #1e2024;
    --border: #303339;
    --text: #ececea;
    --text-muted: #9b9da2;
    --accent: #6fbf92;
    --warn: #d9a05b;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 3rem;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.topbar h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

main {
  max-width: 60rem;
  margin: 0 auto;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1.75rem;
}

.panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.panel p { margin: 0 0 0.75rem; }
.panel p:last-child { margin-bottom: 0; }

.status {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status.ok { color: var(--accent); }
.status.pending { color: var(--warn); }

.footer {
  max-width: 60rem;
  margin: 3rem auto 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
