/* The status page (M36-PLAN.md §6a): the web app's colours (apps/web/app/tokens.css), light and dark from the
   system; the system's fonts, so nothing is fetched from anywhere but this host. */
:root {
  color-scheme: light dark;
  --background: light-dark(#ffffff, #0f1012);
  --foreground: light-dark(#1b1b1f, #f7f8f8);
  --muted-foreground: light-dark(#6b6f76, #8a8f98);
  --border: light-dark(#e8e8ea, #23252a);
  --card: light-dark(#ffffff, #141518);
  --ok: light-dark(#1f8a4c, #4cc38a);
  --ok-bg: light-dark(#e8f6ee, #11291d);
  --bad: light-dark(#d1453b, #f2726a);
  --bad-bg: light-dark(#fdecea, #351816);
  --warn: light-dark(#a35f00, #f2b45a);
  --warn-bg: light-dark(#fdf3e2, #2e2312);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 40rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
h1 { font-size: 1.5rem; margin: 0; }
h2 { font-size: 1rem; margin: 2rem 0 0.5rem; }
.language { display: flex; align-items: center; gap: 0.5rem; color: var(--muted-foreground); font-size: 0.875rem; }
select { font: inherit; color: var(--foreground); background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 0.25rem 0.5rem; }
.services, .incidents { list-style: none; margin: 1.5rem 0 0; padding: 0; border: 1px solid var(--border); border-radius: 8px; }
.incidents { margin-top: 0; }
.services li, .incidents li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 1rem; }
.services li + li, .incidents li + li { border-top: 1px solid var(--border); }
.state { font-size: 0.875rem; font-weight: 600; border-radius: 999px; padding: 0.125rem 0.625rem; white-space: nowrap; }
.up { color: var(--ok); background: var(--ok-bg); }
.down { color: var(--bad); background: var(--bad-bg); }
.unknown { color: var(--warn); background: var(--warn-bg); }
.since, .updated, .empty { color: var(--muted-foreground); font-size: 0.875rem; }
.notice { margin: 1.5rem 0 0; padding: 0.75rem 1rem; border-radius: 8px; color: var(--warn); background: var(--warn-bg); }
