/* pLYNth brand layer (brand package, November 2026).
   The same file lives in every app's brand/ folder; keep the copies identical.
   Fonts: Host Grotesk (interface) and Geist Mono (numbers and data), both SIL OFL 1.1,
   see fonts/OFL-*.txt. Self-hosted so the app never calls out to a font service. */

@font-face{font-family:'Host Grotesk';src:url('fonts/HostGrotesk-Variable.woff2') format('woff2');font-weight:300 800;font-style:normal;font-display:swap;}
@font-face{font-family:'Host Grotesk';src:url('fonts/HostGrotesk-Italic-Variable.woff2') format('woff2');font-weight:300 800;font-style:italic;font-display:swap;}
@font-face{font-family:'Geist Mono';src:url('fonts/GeistMono-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}

:root{
  /* Type. The fallback is the system stack the app used before the brand fonts. */
  --font-ui:'Host Grotesk',-apple-system,BlinkMacSystemFont,system-ui,'Segoe UI',Arial,sans-serif;
  --font-data:'Geist Mono',ui-monospace,'SF Mono',Consolas,monospace;

  /* Brand palette, level 1 to level 5, plus off-white and charcoal. */
  --brand-plynth:#1A6B4A;--brand-lyntel:#1E8CA9;--brand-lynkd:#7C5CBF;--brand-colynade:#B84D72;--brand-skylyne:#C47B2B;
  --brand-offwhite:#F9FAF5;--brand-charcoal:#1E1C1A;

  /* Tonal step 2 of each app color: the one to use on charcoal (keeps 3.5:1 or more). */
  --brand-plynth-2:#30805D;--brand-lyntel-2:#359CB9;--brand-lynkd-2:#8D70CF;--brand-colynade-2:#CA6083;--brand-skylyne-2:#D18739;
}

/* Form controls don't inherit the page font by default. */
button,input,select,textarea{font-family:inherit;}

/* Numbers and data in Geist Mono with lined-up figures: money, hours, dates in tables and tiles.
   Right-aligned table cells are the app's convention for figures; headers stay in the interface font. */
.num,
.stat-value,.kpi-value,.kpi-val,
td[style*="text-align:right"],
td.r{
  font-family:var(--font-data);font-variant-numeric:tabular-nums;
}

/* The LYN rule for app names set as live text: LYN Bold, the rest Light. */
.lyn-name{font-weight:300;}
.lyn-name .lyn{font-weight:700;}
