/* Luftek: oblikovni žetoni (design tokens) – EDINO mesto, kjer so definirane barve, pisave, razmiki, polmeri, sence in gibanje.
   Naložen je prvi na vseh treh domenah (luftek.eu, app.luftek.eu, agro.luftek.eu). Ostale datoteke CSS uporabljajo samo var(--...).
   Izhodišče: logotip (assets/brand/luftek-logo-master.jpg): globoka modrozelena, svetla vodna zelenomodra, vijolična obroba, lestvica kakovosti zraka na številčnici.
   Dokumentacija: docs/LUFTEK_CGP.md */

/* ---------------------------------------------------------------- pisave (lastne, licenca OFL; assets/fonts/OFL-*.txt) */
@font-face { font-family: "Luftek Sans"; src: url("fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Luftek Sans"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Luftek Serif"; src: url("fonts/serif-latin-ext.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Luftek Serif"; src: url("fonts/serif-latin.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* ---------------------------------------------------------- blagovna paleta (iz logotipa) */
  --lf-ink-950: #05202c; --lf-ink-900: #082f3e; --lf-ink-800: #0b4553; --lf-ink-700: #0c5870; --lf-teal-600: #0a7f90; --lf-teal-500: #0c99ab;
  --lf-aqua-400: #19d3c5; --lf-aqua-300: #4ee0df; --lf-aqua-100: #d6f6f5; --lf-plum-700: #741662; --lf-plum-400: #a8479a; --lf-mist-50: #f3f9f9; --lf-mist-100: #e7f2f3;
  /* ---------------------------------------------------------- pisave in lestvica velikosti */
  --font: "Luftek Sans", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-editorial: "Luftek Serif", "Source Serif 4", Georgia, "Times New Roman", serif;
  --fs-xs: .75rem; --fs-s: .8125rem; --fs-m: .9375rem; --fs-l: 1.0625rem; --fs-xl: 1.25rem; --fs-2xl: 1.625rem; --fs-3xl: clamp(1.9rem, 4.2vw, 2.75rem);
  --fw-regular: 450; --fw-medium: 560; --fw-bold: 700; --fw-black: 800;
  --lh-tight: 1.15; --lh-body: 1.55; --lh-long: 1.7;
  /* ---------------------------------------------------------- razmiki, oblike, gibanje */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --tap: 44px;
  --gap: .75rem; --gut: clamp(12px, 3vw, 28px); --maxw: 1240px; --measure: 68ch;
  --r-s: 6px; --r-m: 10px; --r-l: 14px; --r-pill: 999px; --r: var(--r-m);
  --ease: cubic-bezier(.2, .8, .2, 1); --t-fast: .15s; --t-med: .3s;
  /* ---------------------------------------------------------- pomen podatka (enako kot ml/luftek_ml/design: vrsta podatka in opozorila) */
  --kind-measured: #0ea5e9; --kind-analysis: #14b8a6; --kind-forecast: #8b5cf6; --kind-derived: #f59e0b; --kind-missing: #94a3b8; --kind-stale: #ef4444; --kind-official: #b45309;
  --alert-1: #facc15; --alert-2: #f97316; --alert-3: #dc2626; --alert-4: #7e22ce;
  /* meteorološke kategorije: vsaka barva ima en pomen (ne uporabljaj je za kaj drugega) */
  --wx-temp: #f97316; --wx-rain: #38bdf8; --wx-wind: #14b8a6; --wx-uv: #a855f7; --wx-pollen: #84cc16; --wx-sun: #fbbf24;
  /* stanja */
  --warn: #f97316; --err: #ef4444; --ok: #22c08a;
  /* kmetijstvo: lasten poudarek v istem jeziku (domena agro.luftek.eu) */
  --agro-wheat: #d9a441; --agro-soil: #8a6a47; --agro-sky: #4a90c2;
  color-scheme: light;
  /* ---------------------------------------------------------- svetli način (enakovreden, ne obrnjen) */
  --bg: var(--lf-mist-50); --bg2: var(--lf-mist-100); --card: #ffffff; --card2: #f6fafa; --line: #d3e3e5; --line-strong: #b4cdd1;
  --fg: #082a38; --muted: #4a6873; --accent: var(--lf-teal-600); --accent2: #076878; --on-accent: #ffffff;
  --hero-from: var(--lf-ink-800); --hero-to: var(--lf-teal-600); --on-hero: #f2fdfd;
  --cloud: #94a3b8; --cloud-dark: #64748b; --focus: #0a7f90;
  --shadow: 0 1px 2px rgba(8, 42, 56, .06), 0 4px 14px rgba(8, 42, 56, .07);
  --agro-accent: #2f7d3b; --agro-accent2: #256b31; --agro-on: #ffffff;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061f2b; --bg2: #082b3a; --card: #0a3342; --card2: #0d3d4e; --line: rgba(78, 224, 223, .15); --line-strong: rgba(78, 224, 223, .3);
  --fg: #eaf8f8; --muted: #9bc4c8; --accent: var(--lf-aqua-400); --accent2: var(--lf-aqua-300); --on-accent: #04222b;
  --hero-from: #06323f; --hero-to: #0a6f80; --on-hero: #f2fdfd;
  --cloud: #cbd5e1; --cloud-dark: #94a3b8; --focus: var(--lf-aqua-300);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 20px rgba(0, 0, 0, .28);
  --agro-accent: #78c27d; --agro-accent2: #8fd494; --agro-on: #0b1b0e;
}
/* ---------------------------------------------------------------- osnova (isto na vseh domenah) */
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-feature-settings: "cv11", "ss03"; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-s); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
