/* Commun au site et au contrôleur. */
:root {
  --bg: #eef2f3;
  --card: #ffffff;
  --ink: #10242b;
  --muted: #52666e;
  --line: #d3dcdf;
  --accent: #0b5d66;
  --on-accent: #ffffff;
  --signal: #b3261a;
  --ok: #146c43;
  --warn: #8a5a00;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c171b;
    --card: #142328;
    --ink: #e6eef0;
    --muted: #9bb0b7;
    --line: #2a3c43;
    --accent: #6fd0d8;
    --on-accent: #06262a;
    --signal: #ff8f80;
    --ok: #6fd39c;
    --warn: #e8bd62;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.55 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.cta:disabled, .cta[aria-disabled="true"] { opacity: 0.45; cursor: default; }
