/* PlanServer design tokens — the single :root block for the whole application.
   Loaded after Bootstrap and before site.css / landing.css / guide.css / foundation.css.
   Phase 1A (UI refresh): consolidated from the former duplicate :root blocks in site.css (x2) and landing.css.
   Contrast values (ratio on #fff / #f7f9f8 / #e7f2f0) are noted where they were changed for WCAG 2.1 AA. */
:root{
  /* Workspace palette (unchanged unless noted) */
  --ink:#243238;
  --muted:#5f6e75;               /* was #718087 (4.09:1 on white, 3.86:1 on canvas); now 5.28 / 5.00 / 4.62 */
  --line:#dfe7e5;                /* decorative dividers and card borders only */
  --border-strong:#7b888d;       /* component boundaries and quiet icons: 3.65:1 on white, 3.45:1 on canvas (WCAG 1.4.11) */
  --accent:#176b67;
  --accent-hover:#125652;
  --accent-soft:#e7f2f0;
  --surface:#fff;
  --canvas:#f7f9f8;
  --danger:#b33b43;
  --focus-ring:#176b67;

  /* Public / brand palette (formerly landing.css; values unchanged) */
  --brand-navy:#0e1d31;
  --brand-navy-soft:#eef1f6;
  --brand-warm:#faf8f4;
  --brand-line:#e7e1d4;
  --brand-panel:#ffffff;
  --brand-border:#8f8677;
  --brand-logo-navy:#2c374b;     /* navy of the ST Architekten logo and PWA theme-color; documented, not yet used in CSS */

  /* Typography */
  --font-sans:'IBM Plex Sans',ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-body:var(--font-sans);
  --font-mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;

  /* Shell (Phase 1B): reuses the palette above; no new brand colors */
  --nav-ink:#46555c;             /* idle navigation label: 7.74:1 on white */
  --nav-hover:#eff3f2;           /* quiet neutral hover fill */
  --r-btn:8px;                   /* buttons, inputs, navigation rows */
  --r-panel:10px;                /* cards, panels */
  --r-pop:12px;                  /* menus, dialogs, drawer edge */
  --shadow-pop:0 12px 32px rgba(20,30,32,.18);
  --pad:clamp(16px,2.5vw,40px);  /* fluid workspace and top bar gutter */
  --tap:40px;                    /* interactive target; 44px below 900px (site.css) */

  /* Bootstrap bridge: make Bootstrap's own link and font defaults follow the PlanServer tokens */
  --bs-body-font-family:var(--font-sans);
  --bs-link-color-rgb:23,107,103;
  --bs-link-hover-color-rgb:18,86,82;
  --bs-secondary-color:var(--muted);
}
