/* AllQuote design tokens (ALL-84), from the Figma variables in file F2AikcJXXhb1Jkx2AsctMY
   ("AQ · Color" Light, "AQ · Dimension", type styles), read 29 Oct 2026 from the
   Foundations sheet (node 167:949).

   Dark mode on WEB is charcoal, not the Figma slate-blue (ALL-62): the dark values below
   are the neutral charcoal set the web app already uses (static/style.css), so dark
   surfaces carry no blue tint. The teal fill is the same in both modes, so white on teal
   always passes (about 4.9:1).

   Additive only: existing variables (--teal, --ink, --bg, ...) are untouched. New shell
   code reads --aq-*; area pages adopt them as each area is rebuilt. */
:root{
  /* Colour: light (Figma AQ · Color / Light) */
  --aq-bg-canvas:#f2f5f8;
  --aq-bg-surface:#ffffff;
  --aq-bg-raised:#ffffff;
  --aq-bg-sunken:#e7ecf1;
  --aq-bg-inverse:#1f2a37;
  --aq-text-primary:#1f2a37;
  --aq-text-secondary:#4b5a6c;
  --aq-text-disabled:#8a99a9;
  --aq-text-danger:#b42318;
  --aq-text-warning:#a14a07;
  --aq-border-subtle:#e7ecf1;
  --aq-border-default:#d6dee6;
  --aq-border-focus:#0e9196;
  --aq-border-danger:#b42318;
  --aq-accent-fill:#087e82;
  --aq-accent-pressed:#066569;
  --aq-accent-subtle:#e6f4f4;
  --aq-accent-line:#087e82;
  --aq-icon-accent:#087e82;
  --aq-status-success:#1e8e4e;
  --aq-status-success-subtle:#e8f5ec;
  --aq-status-warning:#f59e0b;
  --aq-status-danger:#b42318;
  --aq-status-info:#2563eb;
  --aq-overlay-scrim:#0b101766;

  /* Type (Inter; five sizes, 14 px floor) */
  --aq-font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --aq-text-small:14px;   --aq-lh-small:20px;
  --aq-text-body:16px;    --aq-lh-body:24px;
  --aq-text-heading:18px; --aq-lh-heading:26px;
  --aq-text-title:24px;   --aq-lh-title:32px;
  --aq-text-display:32px; --aq-lh-display:40px;

  --aq-weight-regular:400; --aq-weight-medium:500; --aq-weight-semibold:600; --aq-weight-bold:700;

  /* Space (4/8 scale) */
  --aq-space-1:4px; --aq-space-2:8px; --aq-space-3:12px; --aq-space-4:16px;
  --aq-space-5:20px; --aq-space-6:24px; --aq-space-8:32px; --aq-space-10:40px;
  --aq-space-12:48px; --aq-space-16:64px;

  /* Radius */
  --aq-radius-sm:8px; --aq-radius-md:12px; --aq-radius-lg:16px; --aq-radius-xl:24px;
  --aq-radius-full:999px;

  /* Elevation: 1 cards, 2 bars and toasts, 3 sheets and popups */
  --aq-elev-1:0 1px 2px rgba(15,23,42,.06),0 1px 3px rgba(15,23,42,.08);
  --aq-elev-2:0 2px 6px rgba(15,23,42,.08),0 8px 20px rgba(15,23,42,.06);
  --aq-elev-3:0 8px 24px rgba(15,23,42,.14),0 24px 48px rgba(15,23,42,.10);

  /* Strokes and small fixed parts */
  --aq-border-w:1px;      /* hairline borders */
  --aq-focus-w:2px;       /* focus rings and chevron strokes */
  --aq-indicator-w:3px;   /* selected-row indicator */
  --aq-dot:8px;           /* status dot, chevron */
  --aq-badge:22px;        /* business initial */
  --aq-control-sm:36px;   /* top-bar controls (pill, +) on pointer screens */
  --aq-pill-max:260px;
  --aq-page-narrow:560px; /* single-message pages */
  --aq-ls-label:.1px;     /* Figma AQ/Label letter spacing */
  --aq-text-on-accent:#ffffff;

  /* Touch and web nav rows */
  --aq-touch:44px;
  --aq-nav-row:32px;      /* ALL-70: web sidebar rows are 32 px with 16 px text */
  --aq-nav-text:16px;
}
html[data-theme="dark"]{
  /* Colour: web dark, charcoal (ALL-62) */
  --aq-bg-canvas:#121214;
  --aq-bg-surface:#1d1e21;
  --aq-bg-raised:#26272b;
  --aq-bg-sunken:#0c0c0e;
  --aq-bg-inverse:#f4f5f6;
  --aq-text-primary:#f4f5f6;
  --aq-text-secondary:#c9d0d6;
  --aq-text-disabled:#7d838c;
  --aq-text-danger:#fca5a5;
  --aq-text-warning:#fbbf24;
  --aq-border-subtle:#26272b;
  --aq-border-default:#2e2f33;
  --aq-border-focus:#2ea98c;
  --aq-border-danger:#f87171;
  --aq-accent-fill:#087e82;
  --aq-accent-pressed:#066569;
  --aq-accent-subtle:rgba(46,169,140,.16);
  --aq-accent-line:#2ea98c;
  --aq-icon-accent:#2ea98c;
  --aq-status-success:#22c55e;
  --aq-status-success-subtle:rgba(34,197,94,.14);
  --aq-status-warning:#fbbf24;
  --aq-status-danger:#f87171;
  --aq-status-info:#60a5fa;
  --aq-overlay-scrim:#000000a3;
  --aq-elev-1:0 1px 3px rgba(0,0,0,.5);
  --aq-elev-2:0 2px 8px rgba(0,0,0,.5),0 10px 28px rgba(0,0,0,.4);
  --aq-elev-3:0 10px 30px rgba(0,0,0,.6),0 24px 48px rgba(0,0,0,.45);
}
