/* GENERATED from CRQ_HUB/crq_hub_app/lib/ui/theme/crq_tokens.dart by
   CRQ_HUB/crq_hub_app/tool/gen_crq_tokens_css.sh — do not edit by hand.
   The ONE dark CRQ token set (HUB-m15, D-269) as CSS custom properties;
   a HUB test fails when this file is out of date. */
:root {
  color-scheme: dark;

  /* colour */
  --crq-ground: #0e0d0c;
  --crq-surface: #1a1816;
  --crq-surface-hi: #262220;
  --crq-card: #1e1a16;
  --crq-card-hi: #262220;
  --crq-line: #332d29;
  --crq-hairline: rgba(247, 242, 232, 0.078);
  --crq-outline: #4a423c;
  --crq-field-outline: #7a6e62;
  --crq-paper: #221e18;
  --crq-paper-edge: #332b21;
  --crq-desk-panel: #29231c;
  --crq-desk-paper: #322a20;
  --crq-rail-panel: #1a1816;
  --crq-rail-well: #2a2520;
  --crq-stage-core: #141417;
  --crq-stage-edge: #0c0c0f;
  --crq-gold: #e5b34b;
  --crq-gold-bright: #f0c860;
  --crq-ember: #c8913a;
  --crq-on-gold: #17130c;
  --crq-gold-hairline: rgba(229, 179, 75, 0.349);
  --crq-wash: rgba(229, 179, 75, 0.141);
  --crq-success: #7fd4a8;
  --crq-warning: #e8c25a;
  --crq-danger: #e0705f;
  --crq-text-hi: #f2ede4;
  --crq-text-mid: #d6cdbf;
  --crq-text-lo: #a59b8f;
  --crq-rail-hover: rgba(242, 237, 228, 0.039);
  --crq-rail-active: rgba(229, 179, 75, 0.078);
  --crq-rail-group: rgba(242, 237, 228, 0.031);
  --crq-scrim: rgba(0, 0, 0, 0.549);
  --crq-scrim-light: rgba(0, 0, 0, 0.102);
  --crq-brand-gradient: linear-gradient(135deg, #f0c860, #c8913a);

  /* radius */
  --crq-radius-xs: 4px;
  --crq-radius-sm: 8px;
  --crq-radius-md: 14px;
  --crq-radius-lg: 20px;
  --crq-radius-xl: 24px;
  --crq-radius-pill: 999px;

  /* space (4 px grid) */
  --crq-space-2: 2px;
  --crq-space-4: 4px;
  --crq-space-6: 6px;
  --crq-space-8: 8px;
  --crq-space-12: 12px;
  --crq-space-16: 16px;
  --crq-space-20: 20px;
  --crq-space-24: 24px;
  --crq-space-32: 32px;
  --crq-space-40: 40px;
  --crq-space-48: 48px;

  /* type */
  --crq-font-display: "Space Grotesk", "Inter Ext", system-ui, -apple-system, "Segoe UI", sans-serif;
  --crq-font-body: "Inter", "Inter Ext", system-ui, -apple-system, "Segoe UI", sans-serif;
  --crq-font-mono: "Roboto Mono", ui-monospace, monospace;
  --crq-text-display-large: 57px;
  --crq-text-display-medium: 45px;
  --crq-text-display-small: 36px;
  --crq-text-headline-large: 32px;
  --crq-text-headline-medium: 28px;
  --crq-text-headline-small: 24px;
  --crq-text-title-large: 22px;
  --crq-text-title-medium: 16px;
  --crq-text-title-small: 14px;
  --crq-text-body-large: 16px;
  --crq-text-body-medium: 14px;
  --crq-text-body-small: 12px;
  --crq-text-label-large: 14px;
  --crq-text-label-medium: 12px;
  --crq-text-label-small: 11px;
  --crq-overline-size: 11px;
  --crq-overline-tracking: 1.2px;

  /* elevation */
  --crq-elevation-flat: 0;
  --crq-shadow-cta: 0px 8px 24px rgba(229, 179, 75, 0.349);

  /* motion */
  --crq-motion-fast: 120ms;
  --crq-motion-base: 200ms;
  --crq-motion-slow: 260ms;
  --crq-ease: cubic-bezier(0.215, 0.61, 0.355, 1);

  /* controls and layout */
  --crq-control-height: 52px;
  --crq-control-height-dense: 48px;
  --crq-touch-target: 48px;
  --crq-chip-height: 30px;
  --crq-content-max-width: 1100px;
}

/* Reduced motion (HUB-m13): every duration drops to zero. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --crq-motion-fast: 0ms;
    --crq-motion-base: 0ms;
    --crq-motion-slow: 0ms;
  }
}

/* CRQ ONE hosted pages (ONE-M08, D-260; restyled to the HUB dark look, D-271).
   Served as ONE stylesheet at /static/one.css: crq-tokens.css (GENERATED from the
   HUB's CrqTokens, never hand-edited) is compiled in first, then this file, so
   every colour, radius, size and duration below is a --crq-* token. Dark only
   (Chris's decision 1). Fonts are ONE's own copies of the HUB's pinned files
   (/static/fonts, `font-src 'self'`): a WOFF2 made from each first, the TTF as
   the fallback (audit ONE-12, D-291); nothing is loaded from another origin.
   The server appends each font's content version (`?v=`) to its URL. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/static/fonts/Inter-latin-400.woff2?v=46b24b284d2a") format("woff2"), url("/static/fonts/Inter-latin-400.ttf?v=d3641a4ba1f6") format("truetype");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/static/fonts/Inter-latin-600.woff2?v=e0c716f4a593") format("woff2"), url("/static/fonts/Inter-latin-600.ttf?v=e8f1310969c0") format("truetype");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/static/fonts/Inter-latin-700.woff2?v=7b4619c78da8") format("woff2"), url("/static/fonts/Inter-latin-700.ttf?v=f4d309afb477") format("truetype");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Latin-extended (names with ā, ł, ő …): fetched only when a page uses one. */
@font-face { font-family: "Inter Ext"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/static/fonts/Inter-latin-ext-400.woff2?v=272e5567abea") format("woff2"), url("/static/fonts/Inter-latin-ext-400.ttf?v=4d28824c10e7") format("truetype");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Ext"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/static/fonts/Inter-latin-ext-700.woff2?v=0d57a6a047b4") format("woff2"), url("/static/fonts/Inter-latin-ext-700.ttf?v=f675f4b724c8") format("truetype");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/static/fonts/SpaceGrotesk-latin-600.woff2?v=d3be6aff0268") format("woff2"), url("/static/fonts/SpaceGrotesk-latin-600.ttf?v=4570bc7a55ad") format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/static/fonts/SpaceGrotesk-latin-700.woff2?v=e86f7c1d9f62") format("woff2"), url("/static/fonts/SpaceGrotesk-latin-700.ttf?v=0fc20d2aabc1") format("truetype"); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  padding: var(--crq-space-32) var(--crq-space-16) var(--crq-space-24);
  /* The HUB canvas: the charcoal ground with one faint gold glow at the top. */
  background:
    radial-gradient(720px 360px at 50% -140px, var(--crq-wash), transparent 70%),
    var(--crq-ground);
  background-color: var(--crq-ground);
  color: var(--crq-text-mid);
  font-family: var(--crq-font-body);
  font-size: var(--crq-text-body-large);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-wrap: break-word;
}

/* ── the brand lockup above the card (the HUB sign-in's BrandMark) ─────────── */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--crq-space-12);
  margin: 0 0 var(--crq-space-8);
}
.brand .glyph { width: 40px; height: 40px; flex: none; }
.brand .word {
  font-family: var(--crq-font-display);
  font-size: var(--crq-text-headline-small);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--crq-text-hi);
}
.tagline {
  margin: 0 0 var(--crq-space-24);
  text-align: center;
  font-size: var(--crq-text-body-medium);
  color: var(--crq-text-lo);
}

/* ── the card (CrqCard) ───────────────────────────────────────────────────── */
.card {
  width: 100%;
  max-width: 440px;
  background: var(--crq-card);
  border: 1px solid var(--crq-hairline);
  border-radius: var(--crq-radius-md);
  padding: var(--crq-space-24) var(--crq-space-20);
}
.card.wide { max-width: 680px; }

h1 {
  margin: 0 0 var(--crq-space-6);
  font-family: var(--crq-font-display);
  font-size: var(--crq-text-headline-small);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: var(--crq-text-hi);
}
/* Section headers wear the HUB's CrqSectionHeader: a gold dash, small caps. */
h2 {
  display: flex;
  align-items: center;
  gap: var(--crq-space-8);
  margin: var(--crq-space-32) 0 var(--crq-space-12);
  font-size: var(--crq-overline-size);
  font-weight: 700;
  letter-spacing: var(--crq-overline-tracking);
  text-transform: uppercase;
  color: var(--crq-text-lo);
}
h2::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--crq-gold);
}
p { margin: 0 0 var(--crq-space-12); }
.sub { color: var(--crq-text-lo); margin-bottom: var(--crq-space-20); }
.sub strong { color: var(--crq-text-hi); font-weight: 600; }
strong { color: var(--crq-text-hi); }
a {
  color: var(--crq-gold);
  text-decoration: underline;
  text-decoration-color: var(--crq-gold-hairline);
  text-underline-offset: 3px;
  border-radius: var(--crq-radius-xs);
  transition: color var(--crq-motion-fast) var(--crq-ease);
}
a:hover { color: var(--crq-gold-bright); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--crq-gold);
  outline-offset: 2px;
}

/* ── forms (CrqField) ─────────────────────────────────────────────────────── */
form { margin: 0; }
.stack { display: flex; flex-direction: column; gap: var(--crq-space-16); margin: 0 0 var(--crq-space-16); }
label {
  display: flex;
  flex-direction: column;
  gap: var(--crq-space-6);
  font-size: var(--crq-text-label-large);
  font-weight: 600;
  color: var(--crq-text-hi);
}
/* The consent checkbox on Create account (D-261): box beside its sentence. */
label.check { flex-direction: row; align-items: flex-start; gap: var(--crq-space-12); font-weight: 400; color: var(--crq-text-mid); }
label.check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--crq-gold);
}
input[type=email], input[type=password], input[type=text] {
  width: 100%;
  min-height: var(--crq-control-height);
  padding: var(--crq-space-12) var(--crq-space-16);
  font: inherit;
  font-weight: 400;
  color: var(--crq-text-hi);
  background: var(--crq-surface-hi);
  border: 1px solid var(--crq-field-outline);
  border-radius: var(--crq-radius-md);
  transition: border-color var(--crq-motion-fast) var(--crq-ease);
}
input::placeholder { color: var(--crq-text-lo); }
input:hover { border-color: var(--crq-text-lo); }
input:focus { outline: 2px solid var(--crq-gold); outline-offset: 0; border-color: var(--crq-gold); }
input[readonly] { color: var(--crq-text-lo); background: var(--crq-surface); }
input:-webkit-autofill {
  -webkit-text-fill-color: var(--crq-text-hi);
  -webkit-box-shadow: 0 0 0 40px var(--crq-surface-hi) inset;
}
.hint { font-size: var(--crq-text-body-medium); font-weight: 400; color: var(--crq-text-lo); }

/* ── buttons (CrqButton) ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: var(--crq-control-height);
  padding: var(--crq-space-12) var(--crq-space-20);
  font: inherit;
  font-size: var(--crq-text-label-large);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  color: var(--crq-text-hi);
  background: var(--crq-surface-hi);
  border: 1px solid var(--crq-outline);
  border-radius: var(--crq-radius-md);
  cursor: pointer;
  transition: border-color var(--crq-motion-fast) var(--crq-ease),
              filter var(--crq-motion-fast) var(--crq-ease),
              background-color var(--crq-motion-fast) var(--crq-ease);
}
.btn:hover { border-color: var(--crq-gold); color: var(--crq-text-hi); }
.btn:active { filter: brightness(0.92); }
.btn.primary {
  background: var(--crq-brand-gradient);
  border-color: transparent;
  color: var(--crq-on-gold);
  box-shadow: var(--crq-shadow-cta);
}
.btn.primary:hover { color: var(--crq-on-gold); filter: brightness(1.06); }
.btn.danger { background: transparent; border-color: var(--crq-danger); color: var(--crq-danger); }
.btn.danger:hover { background: var(--crq-danger); color: var(--crq-ground); }
.btn.link {
  width: auto;
  min-height: var(--crq-touch-target);
  padding: var(--crq-space-4) var(--crq-space-8);
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--crq-text-lo);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn.link:hover { color: var(--crq-text-hi); }
.btn.small {
  width: auto;
  min-height: var(--crq-touch-target);
  padding: var(--crq-space-6) var(--crq-space-16);
  border-radius: var(--crq-radius-pill);
  font-size: var(--crq-text-label-large);
}
.actions { display: flex; flex-direction: column; gap: var(--crq-space-12); margin: var(--crq-space-20) 0 0; }
.federated { display: flex; flex-direction: column; gap: var(--crq-space-12); }
.or {
  display: flex;
  align-items: center;
  gap: var(--crq-space-12);
  margin: var(--crq-space-20) 0;
  color: var(--crq-text-lo);
  font-size: var(--crq-text-label-medium);
}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--crq-line); }
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--crq-space-8) var(--crq-space-16);
  font-size: var(--crq-text-body-medium);
  margin: 0 0 var(--crq-space-4);
}
.links a { display: inline-flex; align-items: center; min-height: var(--crq-touch-target); }
.cancel { margin-top: var(--crq-space-16); text-align: center; }

/* ── notices (CrqNotice) and lists (CrqTile rows) ─────────────────────────── */
.note {
  padding: var(--crq-space-12) var(--crq-space-16);
  border-radius: var(--crq-radius-sm);
  border: 1px solid var(--crq-outline);
  background: var(--crq-surface-hi);
  color: var(--crq-text-hi);
  font-size: var(--crq-text-body-medium);
}
.note.err { border-color: var(--crq-danger); }
.note.ok { border-color: var(--crq-success); }
.list {
  list-style: none;
  margin: 0 0 var(--crq-space-16);
  padding: 0;
  background: var(--crq-surface);
  border: 1px solid var(--crq-hairline);
  border-radius: var(--crq-radius-md);
  overflow: hidden;
}
.list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--crq-space-8) var(--crq-space-16);
  padding: var(--crq-space-12) var(--crq-space-16);
  min-height: 56px;
  border-top: 1px solid var(--crq-hairline);
}
.list li:first-child { border-top: 0; }
.list .what { display: flex; flex-direction: column; min-width: 0; flex: 1 1 200px; }
.list .what strong { color: var(--crq-text-hi); font-weight: 600; overflow-wrap: anywhere; }
.list .what span { font-size: var(--crq-text-body-medium); color: var(--crq-text-lo); overflow-wrap: anywhere; }
.list a.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--crq-touch-target);
  color: var(--crq-text-hi);
  text-decoration: none;
  font-weight: 600;
}
.list a.row::after { content: "\203A"; color: var(--crq-text-lo); font-size: 20px; line-height: 1; }
.list a.row:hover { color: var(--crq-gold-bright); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--crq-space-8);
  border-radius: var(--crq-radius-pill);
  font-size: var(--crq-text-label-medium);
  font-weight: 600;
  border: 1px solid var(--crq-outline);
  color: var(--crq-text-lo);
}
.badge.ok { border-color: var(--crq-success); color: var(--crq-success); }
.badge.warn { border-color: var(--crq-warning); color: var(--crq-warning); }
.badge.gold { border-color: var(--crq-gold-hairline); background: var(--crq-wash); color: var(--crq-gold); }
ul.bullets { margin: 0 0 var(--crq-space-12); padding-left: var(--crq-space-20); }
ul.bullets li { margin: var(--crq-space-4) 0; }
ul.bullets li::marker { color: var(--crq-gold); }
.danger-zone, .card-zone {
  margin-top: var(--crq-space-16);
  border: 1px solid var(--crq-outline);
  border-radius: var(--crq-radius-md);
  padding: var(--crq-space-16);
  background: var(--crq-surface);
}
.danger-zone { border-color: var(--crq-danger); }
.danger-zone h2, .card-zone h2 { margin-top: 0; }

/* ── the footer: the language switch ──────────────────────────────────────── */
.foot {
  width: 100%;
  max-width: 440px;
  margin: var(--crq-space-16) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 var(--crq-space-8);
  font-size: var(--crq-text-body-small);
  color: var(--crq-text-lo);
}
.foot.wide { max-width: 680px; }
.foot a { display: inline-flex; align-items: center; min-height: var(--crq-touch-target); padding: 0 var(--crq-space-4); color: var(--crq-text-lo); }
.foot a:hover { color: var(--crq-text-hi); }
.foot [aria-current] { color: var(--crq-text-hi); font-weight: 600; text-decoration: none; }

@media (min-width: 560px) {
  body { padding-top: var(--crq-space-48); }
  .card { padding: var(--crq-space-32); }
  .actions.row { flex-direction: row; }
  .actions.row .btn { width: auto; }
}
@media (forced-colors: active) {
  .btn, input, .card, .list, .note { border: 1px solid CanvasText; }
  h2::before { background: CanvasText; }
}
