/* AI Systems Finder design tokens (design pass, 14 Nov 2026): one spacing scale, one type scale and five colours.
   finder.css imports this sheet, so every page that loads finder.css (the finder, the scorecard, the AI opportunity
   assessment) has them; the finder's own shell also links it first so nothing waits. No gradients anywhere. */
:root {
  --bla-charcoal: #232A31; --bla-off-white: #FAFAF8; --bla-consulting-blue: #1B3A5B; --bla-light-blue: #AFC4DD;
  --bla-steel-grey: #586069; --bla-soft-stone: #E5E5E2; --bla-blue-hover: #17314D;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* The five colours. Text on light grounds is ink (design.md section 3, 5 Nov 2026). */
  --fd-ink: var(--bla-charcoal);            /* text, dark blocks, the main button, error marks */
  --fd-muted: var(--bla-steel-grey);        /* control edges, placeholders, disabled, "not included" */
  --fd-surface: var(--bla-off-white);       /* cards, fields, the rail; text on dark */
  --fd-ground: var(--bla-soft-stone);       /* the working area, quiet fills, slider tracks */
  --fd-accent: var(--bla-consulting-blue);  /* chosen, focus ring, links, progress */
  --fd-alert: #B42318;                      /* a missed question's edge only (Kristian, 14 Nov 2026) */
  /* Shades of those five only (design.md section 3, fixed see-through shades): no new hue. */
  --fd-line: color-mix(in srgb, var(--fd-ink) 14%, transparent);
  --fd-tint: color-mix(in srgb, var(--fd-accent) 18%, var(--fd-surface));
  --fd-shadow: 0 1px 2px color-mix(in srgb, var(--fd-ink) 8%, transparent);
  --fd-lift: 0 6px 16px color-mix(in srgb, var(--fd-ink) 14%, transparent);

  /* Spacing (design.md section 6) */
  --fd-s1: 4px; --fd-s2: 8px; --fd-s3: 12px; --fd-s4: 16px; --fd-s5: 24px; --fd-s6: 32px; --fd-s7: 48px; --fd-s8: 64px;
  /* Type: six sizes, three line heights */
  --fd-t1: 14px; --fd-t2: 16px; --fd-t3: 20px; --fd-t4: 24px; --fd-t5: 32px; --fd-t6: 40px;
  --fd-lh-tight: 1.1; --fd-lh-head: 1.3; --fd-lh-body: 1.5;
  /* Shape, sizes, focus, motion */
  --fd-r1: 6px; --fd-r2: 12px; --fd-r3: 16px; --fd-r4: 24px;
  --fd-tap: 44px; --fd-measure: 70ch;
  --fd-shell-max: 1200px; --fd-rail-w: 320px; --fd-slide-max: 760px;
  --fd-focus: 2px solid var(--fd-accent); --fd-focus-off: 3px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --dur-press: 160ms; --dur-ui: 200ms;
  --fd-foot-h: 76px;
  --fd-ico-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E");

  /* Old names, read by the scorecard's own sheet; the finder no longer uses them. */
  --r-button: 11px; --r-field: 12px;
  --fd-ink-06: color-mix(in srgb, var(--fd-ink) 6%, transparent);
  --fd-ink-10: color-mix(in srgb, var(--fd-ink) 10%, transparent);
  --fd-ink-16: color-mix(in srgb, var(--fd-ink) 16%, transparent);
  --fd-lb-45: rgba(175, 196, 221, 0.45);
  --fd-steel-40: rgba(88, 96, 105, 0.4);
  color-scheme: light;
}
