/* SPEC-016 themes: the sign-in page on the screen-theme tokens (assets/theme.css).
   login.html keeps its own token names; this maps them and replaces the literal red / blue rgba values in its <style>
   (login.html :70-71, :230-231, :239-240, :252, :258, :264, :306, :384, :403) and the "white" text that used --paper. */
:root {
  --pink: var(--theme-accent); --pink-d: var(--theme-accentDark);
  --pink-s: color-mix(in srgb, var(--theme-accent) 14%, var(--theme-paper));
  --cyan: var(--theme-primary); --cyan-d: var(--theme-band); --navy: var(--theme-band);
  --ink: var(--theme-ink); --ink-dim: var(--theme-inkDim); --ink-low: var(--theme-inkLow);
  --paper: var(--theme-paper); --soft: var(--theme-soft); --rule: var(--theme-rule);
}
.pitch::before { background:
  radial-gradient(ellipse 60% 50% at 85% 8%, color-mix(in srgb, var(--theme-accent) 18%, transparent), transparent 60%),
  radial-gradient(ellipse 60% 50% at 8% 95%, color-mix(in srgb, var(--theme-primary) 14%, transparent), transparent 65%); }
.card-side::before { background:
  radial-gradient(ellipse 70% 60% at 70% 30%, color-mix(in srgb, var(--theme-accent) 20%, transparent), transparent 70%),
  radial-gradient(ellipse 60% 70% at 20% 80%, color-mix(in srgb, var(--theme-primary) 12%, transparent), transparent 70%); }
.card-side::after { background-image:
  linear-gradient(to right, color-mix(in srgb, var(--theme-accent) 7%, transparent) 1px, transparent 1px),
  linear-gradient(to bottom, color-mix(in srgb, var(--theme-accent) 7%, transparent) 1px, transparent 1px); }
/* The form sits on the band in both themes: white text, accent edges. */
.card { color: var(--theme-onBand); border-color: color-mix(in srgb, var(--theme-accent) 40%, transparent);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--theme-accent) 10%, transparent); }
.card-head { border-bottom-color: color-mix(in srgb, var(--theme-accent) 30%, transparent); }
.card-head .h-meta, .row a { color: var(--theme-onBandDim); }
.field input { color: var(--theme-onBand); }
.submit { color: var(--theme-onAccent); }
.submit:hover { box-shadow: 0 12px 32px color-mix(in srgb, var(--theme-accent) 40%, transparent); }
.err-box { background: color-mix(in srgb, var(--theme-accent) 10%, transparent); color: var(--theme-onBand); }
/* Dark theme: the navy wordmark logo turns white on the dark paper. */
:root:not([data-theme="light"]) .wordmark .wordmark-logo { filter: brightness(0) invert(1); }
