/* base.css — shared foundation for every page.
   Page-specific layout lives in that page's own stylesheet (card.css /
   index.css / onboard.css). Colors are kept as a small token set here so a
   future theme tweak is one place. */

:root {
  color-scheme: light dark;

  /* color tokens */
  --color-bg: #0f1117;
  --color-surface: #1a1d26;
  --color-border: #2a2e3a;
  --color-text: #e8eaed;
  --color-text-muted: #9aa0a6;
  --color-text-body: #c6cad2;
  --color-accent: #8ab4f8;   /* links / primary */
  --color-success: #6ee7a0;  /* active / scaffold */
  --color-danger: #f28b82;   /* inactive / warnings */

  --font-stack: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  background: var(--color-bg);
  color: var(--color-text);
}

/* Inline code — same treatment everywhere it appears. */
code {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 1px 6px;
}

/* App shell: the top bar + signed-in user, shared by the brand list and the
   onboard page. */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.app-header h1 { font-size: 16px; margin: 0; }

.signed-in-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.signed-in-user img { width: 28px; height: 28px; border-radius: 50%; }
.signed-in-user a { color: var(--color-accent); text-decoration: none; }
