/*
  Purpose: Single source of every visual value (colour, space, radius, type, motion). Source: design board D-032.
  Amaç:    Bütün görsel değerlerin TEK kaynağı (§30). app.css ve ekranlarda hex renk yasak (bekçi: tests/test_web.py).
  Gerekçe: Koyu tema aynı belirteç adlarını yeniden çözer; ikinci palet yok. Kontrastlar testte ölçülür.
*/
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-sc-700-latin.woff2") format("woff2"); font-weight: 600 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-sc-700-latin-ext.woff2") format("woff2"); font-weight: 600 700; font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+1E00-1EFF; }

:root {
  color-scheme: light;
  --ground: #F5F7F4; --surface: #FFFFFF; --surface-2: #E7ECE8; --surface-3: #EEF1EF;
  --ink: #14211C; --ink-2: #47544F; --ink-3: #33403B;
  --line: #DDE3DF; --line-strong: #7B8781;
  --brand: #0F6B4F; --brand-ink: #0B5540; --brand-deep: #073D2E; --brand-soft: #E4F2EC; --on-brand: #FFFFFF;
  --accent: #B4470F; --accent-ink: #8F370B; --accent-soft: #FCEBDD; --on-accent: #FFFFFF;
  --caution-bg: #FFF3D1; --caution-ink: #5E3C00; --caution-line: #F0D58C;
  --danger: #B42318; --on-danger: #FFFFFF;
  --scrim: rgba(20, 33, 28, .45);
  --shadow-1: 0 1px 3px rgba(20, 33, 28, .15);
  --shadow-2: 0 8px 28px rgba(20, 33, 28, .22);
  --avatar-a: #CFE6DC; --avatar-a-ink: #0B5540;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 28px; --space-7: 40px;
  --radius-1: 14px; --radius-2: 20px; --radius-full: 999px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Semi Condensed", "Inter", system-ui, sans-serif;
  --fs-xs: .75rem; --fs-s: .8125rem; --fs-m: .9375rem; --fs-l: 1rem; --fs-h3: 1.25rem; --fs-h2: 1.875rem; --fs-h1: 2.5rem;
  --hit: 44px; --ctl: 48px; --rail: 56px; --side: 264px; --side-narrow: 76px; --pad: 20px; --content: 720px;
  --dur: 160ms; --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0F1613; --surface: #18221E; --surface-2: #22302A; --surface-3: #1F2B26;
  --ink: #E9F0EC; --ink-2: #AEBBB5; --ink-3: #C6D1CC;
  --line: #2C3A34; --line-strong: #7C8C85;
  --brand: #4CC097; --brand-ink: #7BD6B4; --brand-deep: #A6E8CE; --brand-soft: #173B2E; --on-brand: #04251A;
  --accent: #F0935F; --accent-ink: #F5B48F; --accent-soft: #3E2313; --on-accent: #2A1205;
  --caution-bg: #3A2D0B; --caution-ink: #FBE3A1; --caution-line: #6E5717;
  --danger: #FF8A7E; --on-danger: #3A0703;
  --scrim: rgba(0, 0, 0, .6);
  --shadow-1: 0 1px 3px rgba(0, 0, 0, .5);
  --shadow-2: 0 8px 28px rgba(0, 0, 0, .6);
  --avatar-a: #1E4A3A; --avatar-a-ink: #A6E8CE;
}
@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; } }
