:root {
  color-scheme: light dark;
  --surface: #f6f5f1;
  --card: #ffffff;
  --ink: #1c1d1a;
  --ink-muted: #5d5f58;
  --line: #dfddd5;
  --vacant-bg: #d9f0e2;
  --vacant-ink: #0f5132;
  --occupied-bg: #f8dcd8;
  --occupied-ink: #8a1f14;
  --attention-bg: #ffc933;
  --attention-ink: #2a2000;
  --offline-bg: #e7e5de;
  --offline-ink: #55574f;
  --accent: #2b5f8a;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #141513;
    --card: #1e1f1c;
    --ink: #f1f0ea;
    --ink-muted: #a9aaa2;
    --line: #33352f;
    --vacant-bg: #123d29;
    --vacant-ink: #a9e8c6;
    --occupied-bg: #4a1a15;
    --occupied-ink: #ffc5bd;
    --offline-bg: #2b2c28;
    --offline-ink: #b5b6ae;
    --accent: #8fc1ea;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.4;
}

a { color: inherit; }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.muted { color: var(--ink-muted); }

.banner {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--offline-bg);
  color: var(--offline-ink);
  font-weight: 600;
}

.banner.attention {
  background: var(--attention-bg);
  color: var(--attention-ink);
}

[hidden] { display: none !important; }
