/* Association Core design tokens.
   Unlayered on purpose: a CSS @layer would lose to the active theme's
   unlayered global styles, so nothing here (or in base/components) is layered.
   The default (Harbor) palette lives on :root so .ac-* markup rendered outside
   a .ac-plugin wrapper (e.g. classified-single via the_content) still resolves. */

:root {
  /* Harbor — the shipped default palette. */
  --ac-ink:#1b2530;
  --ac-muted:#5c6773;
  --ac-surface:#ffffff;
  --ac-paper:#faf8f4;
  --ac-soft:#f1eee7;
  --ac-line:rgba(27,37,48,.13);
  --ac-primary:#24344d;
  --ac-primary-ink:#ffffff;
  --ac-accent:#c0842d;
  --ac-accent-soft:rgba(192,132,45,.14);
  --ac-good:#2f7d5b;  --ac-good-soft:rgba(47,125,91,.14);
  --ac-warn:#b0740f;  --ac-warn-soft:rgba(176,116,15,.15);
  --ac-crit:#b23b3b;  --ac-crit-soft:rgba(178,59,59,.13);
  --ac-radius:14px;   --ac-radius-sm:9px;
  --ac-shadow:0 14px 34px -18px rgba(27,37,48,.34);
  /* back-compat aliases for the pre-redesign token names still referenced by
     public.css module rules (and possibly client child themes). Kept so the
     transition stays coherent; harmless to retain long-term. */
  --ac-primary-contrast:var(--ac-primary-ink);
  --ac-surface-soft:var(--ac-soft);
  /* component-level knobs (client-tunable via values, not selectors) */
  --ac-card-radius:var(--ac-radius);
  --ac-button-radius:var(--ac-radius-sm);
  --ac-card-shadow:var(--ac-shadow);
  --ac-tile-min:132px;
  /* type — self-hosted (see fonts.css). Body sans + display serif. */
  --ac-font-body:"AC Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ac-font-display:"AC Fraunces", Georgia, "Times New Roman", serif;
}

/* Preset overrides ride on the scope only. Harbor needs none — it is :root. */
.ac-plugin[data-preset="coastal"] {
  --ac-ink:#12313f; --ac-muted:#5d6f78; --ac-paper:#fffdf8; --ac-soft:#f4ecdd;
  --ac-line:rgba(18,49,63,.15); --ac-primary:#0b3a46; --ac-accent:#c28b35;
  --ac-accent-soft:rgba(194,139,53,.16);
  --ac-shadow:0 14px 34px -18px rgba(11,58,70,.36);
}
.ac-plugin[data-preset="garden"] {
  --ac-ink:#20291f; --ac-muted:#5f6a58; --ac-paper:#f7f5ef; --ac-soft:#ece7db;
  --ac-line:rgba(32,41,31,.14); --ac-primary:#2e4636; --ac-accent:#bf6b46;
  --ac-accent-soft:rgba(191,107,70,.15);
  --ac-shadow:0 14px 34px -18px rgba(46,70,54,.34);
}
