/* Dark, always (Josh, 2026-10-24). Blue and red are the app's muted
   alliance colours (its team rows), Josh 2026-10-25. */
:root { color-scheme: dark;
        --bg: #111317; --fg: #e8eaed; --dim: #9aa0a8; --accent: #17548c;
        --on-accent: #e2ecff; --link: #7fb2e0; --red: #8d1b23; --on-red: #ffe6e4;
        --panel: #1a1d23; --line: #2a3038;
        --good: #4cc27f; --bad: #e0857f; --warn: #e0a060; }
* { box-sizing: border-box; }
/* <wait-eyes>, from featureview's stylesheet: shown once it says ready. */
wait-eyes { display: none; }
wait-eyes.ready { display: inline-block; line-height: 0; }
wait-eyes svg { width: 64px; height: 64px; display: block; }
/* A class that sets display outranks the attribute's own. */
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--fg);
       font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 24px 16px 64px; }
header { display: flex; align-items: center; justify-content: space-between;
         gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
header h1 { font-size: 1.4rem; margin: 0; }
header h1 a { color: inherit; text-decoration: none; display: flex; align-items: center;
               gap: 10px; }
header h1 img { width: 40px; height: 40px; }
nav { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 0.95rem; }
nav form { margin: 0; }
h2 { font-size: 1.1rem; margin: 28px 0 10px; }
/* Running text: /welcome and /terms. */
.prose p { margin: 0 0 12px; }
.prose h3 { font-size: 1rem; margin: 20px 0 6px; }
a { color: var(--link); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
        padding: 14px 16px; }
.card .big { font-size: 1.25rem; font-weight: 600; }
.dim { color: var(--dim); }
.good { color: var(--good); } .bad { color: var(--bad); } .warn { color: var(--warn); }
/* featureview's button (ui/static/app.css), filled blue; .quiet is its
   own grey, .danger the red. */
button, .button {
  font: inherit; border-radius: 6px; padding: 6px 14px; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent);
  text-decoration: none; display: inline-block; text-align: center; }
button:hover, .button:hover { border-color: #3a424e; }
button.quiet, .button.quiet { background: #232830; color: var(--fg); border-color: var(--line); }
button.danger { border-color: var(--red); background: var(--red); color: var(--on-red); }
button:disabled { opacity: 0.5; cursor: default; }
nav button { padding: 4px 10px; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
input[type=text], input[type=number], input[type=email] {
  font: inherit; width: 100%; padding: 9px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { margin: 0; font-weight: 500; border: 1px solid var(--line);
                border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.choice input { margin-right: 6px; }
.note { min-height: 1.5em; margin-top: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
