/* ============================================================
   Mali Müşavir Asistanı — ortak tasarım değişkenleri (tek kaynak)
   Ana site, kurucu paneli, kullanıcı uygulaması (portal) ve masaüstü ajanı bu dosyayı yükler.
   Yazı tipleri buradan verilir (fontlar/, OFL); Google Fonts kullanılmaz.
   Renk/yazı dili (kurucu 03.12): soğuk kırık beyaz + lacivert mürekkep, başlık ve metin Instrument Sans; mühür kırmızısı marka rengi.
   Kırılma noktaları (CSS değişkeni olamaz): 600px telefon / 900px tablet / 1200px geniş masaüstü.
   Tema: işletim sistemi koyu ise koyu (data-tema="acik" değilse); data-tema="koyu" her zaman koyu.
   ============================================================ */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fontlar/instrument-sans-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fontlar/instrument-sans-latin.woff2) format('woff2');
  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: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fontlar/instrument-sans-italic-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fontlar/instrument-sans-italic-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fontlar/jetbrains-mono-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fontlar/jetbrains-mono-latin.woff2) format('woff2');
  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 {
  --paper: #f5f6f8;
  --paper-2: #fbfbfc;
  --surface: #fff;
  --ink: #0f1a2b;
  --ink-2: #3d4757;
  --ink-3: #5f6b7c;
  --ink-rgb: 15, 26, 43;
  --rule: rgba(var(--ink-rgb), .09);
  --rule-strong: rgba(var(--ink-rgb), .22);
  --seal: #b3261e;
  --seal-deep: #861a14;
  --seal-dolgu: #b3261e; /* beyaz yazılı kırmızı zemin (düğme, rozet) */
  --ok: #1f6f49;
  --warn: #8a5f07;
  --focus: rgba(179, 38, 30, .35);
  --serif: "Instrument Sans", "Segoe UI", system-ui, sans-serif; /* kurucu 03.12: başlıklar da sans (ad geriye uyum için) */
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --r-1: 4px;
  --r-2: 10px;
  --r-tam: 999px;
  --golge-1: 0 1px 0 var(--rule), 0 12px 32px -18px rgba(0, 0, 0, .25);
  --golge-2: 0 30px 60px -40px rgba(var(--ink-rgb), .5);
  --b-1: 4px; --b-2: 8px; --b-3: 12px; --b-4: 16px; --b-5: 24px; --b-6: 32px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="acik"]) {
    --paper: #15171c;
    --paper-2: #1d2027;
    --surface: #232730;
    --ink: #e8ebf0;
    --ink-2: #c2c8d2;
    --ink-3: #8e95a3;
    --ink-rgb: 232, 235, 240;
    --rule: rgba(255, 255, 255, .10);
    --rule-strong: rgba(255, 255, 255, .22);
    --seal: #e5534b;
    --seal-deep: #b3261e;
    --seal-dolgu: #c0362c; /* beyaz yazıyla ≥4.5:1 (kurucu 03.12) */
    --ok: #3fb27f;
    --warn: #e0a43a;
    --focus: rgba(229, 83, 75, .45);
    color-scheme: dark;
  }
}
:root[data-tema="koyu"] {
  --paper: #15171c;
  --paper-2: #1d2027;
  --surface: #232730;
  --ink: #e8ebf0;
  --ink-2: #c2c8d2;
  --ink-3: #8e95a3;
  --ink-rgb: 232, 235, 240;
  --rule: rgba(255, 255, 255, .10);
  --rule-strong: rgba(255, 255, 255, .22);
  --seal: #e5534b;
  --seal-deep: #b3261e;
  --seal-dolgu: #c0362c; /* beyaz yazıyla ≥4.5:1 (kurucu 03.12) */
  --ok: #3fb27f;
  --warn: #e0a43a;
  --focus: rgba(229, 83, 75, .45);
  color-scheme: dark;
}
