/* BrutoMind web sitesi — Claude Design tasarımından (BrutoMind marka kimliği / Web sitesi).
   Dış kaynak yok: Manrope yazı tipi sitenin kendi dosyasıdır (SIL OFL, yazi/OFL-LICENSE.txt). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("yazi/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("yazi/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ---------- Renkler (tasarımdaki değişkenler) ----------
   Varsayılan açık tema; koyu tema yalnızca düğmeyle seçilir (data-theme="dark"). */
:root {
  --bg: #f4f5f7; --surf: #ffffff; --surf2: #f8f9fb; --ink: #1a1d23; --muted: #555b67; --line: #dde1e8;
  --acc: #2f5bea; --soft: #e8eefe; --onacc: #ffffff; --softink: #2344c4; --field: #ffffff; --barb: #c9d6fc;
  --ban1: #d5e0fd; --ban2: #2f5bea; --c-sgk: #7f9bf5; --c-iss: #b4c4fa; --c-gv: #3d4250; --c-dv: #9aa1ae;
  --err: #b42318; --errsoft: #fdecea; --ok: #1f7a4d; --uyari: #d64545; --golge: 0 24px 48px -12px rgba(15, 17, 21, 0.22);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f1115; --surf: #171a21; --surf2: #1c2028; --ink: #f4f5f7; --muted: #a0a7b4; --line: #2a2f3a;
  --acc: #6d8dff; --soft: #1c2440; --onacc: #0f1115; --softink: #b7c7ff; --field: #0f1115; --barb: #2b3a6e;
  --ban1: #1f2a4d; --ban2: #6d8dff; --c-sgk: #5470cf; --c-iss: #34447e; --c-gv: #c9ced8; --c-dv: #6b7383;
  --err: #ff8a7a; --errsoft: #3a1e1c; --ok: #5fd39a; --uyari: #ff8a7a; --golge: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--acc); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
[hidden] { display: none !important; }
.gizli { position: absolute; width: 0; height: 0; overflow: hidden; }

.ikon { width: 20px; height: 20px; display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yon-ok { width: 16px; height: 9px; display: block; flex-shrink: 0; fill: var(--acc); }
.desen { display: block; max-width: 100%; height: auto; }
.desen .b1 { fill: var(--ban1); }
.desen .b2 { fill: var(--ban2); }

.logo { display: block; width: 138.5px; height: 30px; }
.logo.kucuk { width: 120px; height: 26px; }
.logo-isaret { fill: var(--acc); }
.logo-yazi { fill: var(--ink); }

.kart { background: var(--surf); border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.kucuk-not { font-size: 13px; line-height: 1.5; color: var(--muted); }
.ust-etiket { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.ust-etiket .yon-ok { width: 14px; height: 8px; }

.dugme { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; border-radius: 12px; padding: 14px 22px; font-size: 16px; }
.dugme.ana { background: var(--acc); color: var(--onacc); }
.dugme.ana:hover { color: var(--onacc); filter: brightness(1.08); }
.dugme.ikincil { background: var(--surf); color: var(--ink); border: 1px solid var(--line); }
.dugme.buyuk { min-height: 60px; padding: 0 28px; border-radius: 14px; font-size: 17px; font-weight: 800; }
.dugme .ikon { width: 22px; height: 22px; }

/* ---------- Üst bar ---------- */
.ust { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.ust-ic { height: 64px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1440px; margin: 0 auto; position: relative; }
.menu { display: none; }
.menu a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; padding: 12px 4px; }
.menu a:hover { color: var(--acc); }
.ust-dugmeler { display: flex; gap: 8px; }
.kare-dugme { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.kare-dugme .gunes { display: none; }
:root[data-theme="dark"] .kare-dugme .ay { display: none; }
:root[data-theme="dark"] .kare-dugme .gunes { display: block; }
/* Mobil menü: ☰ ile açılır */
.menu.acik { display: block; position: absolute; left: 0; right: 0; top: 64px; background: var(--surf); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(15, 17, 21, 0.12); }
.menu.acik a { display: block; font-size: 18px; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .ust-ic { height: 76px; max-width: none; padding: 0 max(clamp(24px, 6vw, 120px), calc((100% - 1200px) / 2)); }
  .menu, .menu.acik { display: flex; gap: 28px; position: static; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .menu.acik a { font-size: 15px; font-weight: 600; padding: 12px 4px; border: 0; }
  .menu-dugme { display: none; }
  .ust-dugmeler { gap: 0; }
}

/* ---------- Kapsayıcı genişlik ---------- */
/* Kenar boşluğu, içerik en fazla 1200 px olacak şekilde büyür (bölümün kendisi tam genişlikte kalır) */
.hesapla, .bolum { padding-left: 16px; padding-right: 16px; }
@media (min-width: 900px) {
  .hesapla, .bolum {
    padding-left: max(clamp(24px, 6vw, 120px), calc((100% - 1200px) / 2));
    padding-right: max(clamp(24px, 6vw, 120px), calc((100% - 1200px) / 2));
  }
}

/* ---------- Hesaplayıcı (kompakt) ---------- */
.hesapla { position: relative; padding-top: 20px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.desen-hero { position: absolute; right: 0; top: 0; width: min(620px, 80vw); max-width: none; margin: 0; pointer-events: none; opacity: 0.45; }
.baslik-blok { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.hesapla h1 { font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; }
.hesapla h1 span { color: var(--acc); }
.guven { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.guven .kilit { width: 18px; height: 18px; color: var(--acc); }

/* Girdi çubuğu: masaüstünde tek sıra, mobilde iki sütunlu ızgara */
.girdi-cubugu {
  position: relative; width: 100%; margin: 4px auto 0; padding: 16px;
  display: grid; gap: 14px 12px; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "yon yon" "tutar tutar" "yil ay" "tesvik tesvik" "not not";
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 8px 24px -12px rgba(15, 17, 21, 0.12);
}
.alan-yon { grid-area: yon; } .alan-tutar { grid-area: tutar; } .alan-yil { grid-area: yil; }
.alan-ay { grid-area: ay; } .alan-tesvik { grid-area: tesvik; } .girdi-not { grid-area: not; }
.alan { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.alan label, .etiket { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.01em; }
/* Sayfa örnek tutarla açılır; ziyaretçi kendi tutarını yazınca bu uyarı kaybolur */
.alan-tutar { position: relative; }
.ornek-ipucu { font-size: 12.5px; font-weight: 800; color: var(--uyari); }
/* Tek satırlı geniş düzende kutunun altındaki boş alana oturur; satır yüksekliğini değiştirmez */
@media (min-width: 1240px) { .ornek-ipucu { position: absolute; left: 2px; top: calc(100% + 6px); white-space: nowrap; } }
.parcali { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; height: 52px; }
.parcali button { border: none; border-radius: 9px; font-size: 14px; cursor: pointer; background: transparent; color: var(--muted); font-weight: 600; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; }
.parcali button[aria-pressed="true"] { background: var(--surf); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 17, 21, 0.14); font-weight: 800; }
.yon .yon-ok { width: 13px; height: 8px; opacity: 0.35; }
.yon button[aria-pressed="true"] .yon-ok { opacity: 1; }
.tutar-kutu { position: relative; }
.tutar-kutu input {
  width: 100%; height: 52px; border-radius: 12px; padding: 0 48px 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em;
  background: var(--field); color: var(--ink); border: 2px solid var(--line); font-variant-numeric: tabular-nums;
}
.tutar-kutu input:focus { border-color: var(--acc); outline: none; }
.tutar-kutu input[aria-invalid="true"] { border-color: var(--err); }
.tutar-kutu input::placeholder { color: var(--muted); opacity: 0.7; }
.birim { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 15px; font-weight: 700; color: var(--muted); }
select { width: 100%; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); padding: 0 10px; font-size: 15px; font-weight: 600; }
.girdi-not { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 12.5px; color: var(--muted); margin-top: -2px; }
.tutar-not.hata { color: var(--err); font-weight: 700; }

/* Sonuç şeridi */
.sonuc-seridi { display: grid; gap: 12px; width: 100%; }
.ana-sonuc { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.ana-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ana-etiket { font-size: 14px; font-weight: 700; color: var(--muted); }
.rozet { font-size: 12px; font-weight: 800; color: var(--softink); background: var(--soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ana-deger { display: flex; align-items: baseline; gap: 8px; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.ana-deger.bos { color: var(--muted); }
.tl { font-size: 0.42em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.ana-alt { font-size: 13px; line-height: 1.45; color: var(--muted); }
.ana-alt.hata { color: var(--err); font-weight: 600; }
.yillik { padding: 4px 18px; display: flex; flex-direction: column; justify-content: center; }
.yillik-kalem { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.yillik-kalem:last-child { border-bottom: 0; }
.yillik-kalem span { font-size: 13px; font-weight: 700; color: var(--muted); }
.yillik-kalem b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.yillik-kalem i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }

/* Dilim etkisi: ince şerit */
.dilim-etkisi { width: 100%; background: var(--soft); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; grid-template-columns: 1fr auto; grid-template-areas: "etiket deger" "metin metin"; align-items: center; }
.de-etiket { grid-area: etiket; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--softink); }
.de-etiket .yon-ok { width: 12px; height: 7px; }
.dilim-etkisi p { grid-area: metin; font-size: 14.5px; line-height: 1.5; }
.de-akis { display: none; }
.de-deger { grid-area: deger; display: flex; flex-direction: column; align-items: flex-end; }
.de-deger span { font-size: 12px; font-weight: 700; color: var(--muted); }
.de-deger b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--softink); white-space: nowrap; }
.de-rakam { font-size: 17px; font-weight: 800; white-space: nowrap; }
.de-rakam.vurgu { color: var(--softink); }
.de-cizgi { display: flex; align-items: center; gap: 3px; width: 72px; }
.de-cizgi i { flex-grow: 1; height: 2px; background: var(--acc); opacity: 0.35; border-radius: 1px; }
.de-cizgi .yon-ok { width: 12px; height: 8px; }

/* Ayrıntılar: sekmeli panel */
.detay { width: 100%; overflow: hidden; }
.sekmeler { display: flex; align-items: center; gap: 4px; padding: 8px 8px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.sekmeler::-webkit-scrollbar { display: none; }
.sekmeler [role="tab"] { border: none; background: transparent; padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; border-radius: 8px 8px 0 0; }
.sekmeler [role="tab"]:hover { color: var(--ink); }
.sekmeler [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--acc); }
.sekme-not { margin-left: auto; padding: 0 10px; font-size: 12.5px; color: var(--muted); white-space: nowrap; display: none; }
.panel { padding: 16px; }
#panel-dokum { padding: 0; }
/* Döküm: tablo tam genişlikte, grafik altında alçak bir şerit */
.dokum-izgara { display: flex; flex-direction: column; }
.grafik-kutu { display: flex; flex-direction: column; gap: 4px; }
.grafik-kutu h3 { font-size: 15px; margin-bottom: 2px; }

/* Excel'e aktar düğmesi (sekme çubuğunun sağında) */
.excel-dugme {
  margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; margin-bottom: 6px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surf); color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.excel-dugme:hover { border-color: var(--acc); color: var(--acc); }
.excel-dugme .ikon { width: 17px; height: 17px; }
.sekme-not + .excel-dugme { margin-left: 12px; }
@media (max-width: 520px) {
  /* Telefonda yalnızca indirme simgesi (adı aria-label'da) */
  .excel-dugme > span { display: none; }
  .sekmeler [role="tab"] { padding: 12px 9px; }
  .excel-dugme { padding: 0; width: 36px; justify-content: center; }
}
@media (max-width: 380px) {
  .sekmeler [role="tab"] { padding: 12px 6px; font-size: 13px; }
  .sekmeler { padding: 6px 6px 0; gap: 2px; }
}

.bos-durum { width: 100%; padding: 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.desen-bos { opacity: 0.5; max-width: 520px; }
.bos-baslik { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.bos-durum p { font-size: 14px; line-height: 1.55; color: var(--muted); }

@media (min-width: 900px) {
  .hesapla { padding-top: 28px; padding-bottom: 64px; gap: 16px; }
  .desen-hero { opacity: 1; }
  .baslik-blok { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .hesapla h1 { font-size: 30px; }
  .guven { font-size: 14px; }
  .girdi-cubugu {
    padding: 16px 18px; gap: 10px 14px; align-items: end;
    grid-template-columns: 290px minmax(200px, 1.4fr) 104px 150px 240px;
    grid-template-areas: "yon tutar yil ay tesvik" "not not not not not";
  }
  .tutar-kutu input { font-size: 24px; }
  .sonuc-seridi { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; }
  .ana-sonuc { padding: 16px 22px; justify-content: center; }
  .ana-deger { font-size: 36px; }
  .yillik { padding: 4px 22px; }
  .dilim-etkisi { padding: 16px 22px; grid-template-columns: auto 1fr auto auto; grid-template-areas: "etiket metin akis deger"; gap: 20px; }
  .de-akis { grid-area: akis; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-left: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); border-right: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); }
  .de-deger b { font-size: 28px; }
  .sekmeler { padding: 8px 12px 0; }
  .sekme-not { display: block; }
  .panel { padding: 20px 24px 24px; }
  .bos-durum { flex-direction: row; align-items: center; gap: 28px; padding: 24px 28px; }
  .desen-bos { width: 340px; flex-shrink: 0; }
}
@media (min-width: 900px) and (max-width: 1239px) {
  .girdi-cubugu { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas: "yon yon yon tutar tutar tutar" "yil ay ay tesvik tesvik tesvik" "not not not not not not"; align-items: start; }
  .dilim-etkisi { grid-template-columns: auto 1fr auto; grid-template-areas: "etiket metin deger"; }
  .de-akis { display: none; }
}

/* ---------- Grafik ve dağılım (sekme içinde) ---------- */
.grafik-ust { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.lejant { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.lejant span { display: flex; align-items: center; gap: 6px; }
.lejant i { width: 14px; height: 10px; border-radius: 3px; }
.l-brut { background: var(--barb); }
.l-net { background: var(--acc); }
.l-dilim { height: 0 !important; border-top: 2px dashed var(--muted); border-radius: 0 !important; }
.grafik { position: relative; margin-top: 40px; }
.grafik svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-kilavuz { stroke: var(--line); stroke-width: 1; fill: none; }
.g-eksen { fill: var(--muted); font-size: 11px; font-weight: 600; }
.g-secili { fill: var(--soft); }
.g-brut { fill: var(--barb); }
.g-net { fill: var(--acc); }
.g-bos { fill: var(--line); }
.g-dilim { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; fill: none; opacity: 0.5; }
.g-rozet { fill: var(--soft); }
.g-rozet-yazi { fill: var(--softink); font-size: 11px; font-weight: 800; }
.grafik-aylar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grafik-aylar button { height: 32px; background: transparent; border: none; padding: 0; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.grafik-aylar button[aria-pressed="true"] { color: var(--ink); font-weight: 800; }
.grafik-aylar button:disabled { cursor: default; opacity: 0.5; }

.ay-cipleri { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.ay-cipleri button { flex: 0 0 auto; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surf); color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.ay-cipleri button[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--onacc); }
.ay-cipleri button:disabled { opacity: 0.4; cursor: default; }
.dagilim-izgara { display: grid; gap: 16px; }
.d-cubuk { display: flex; height: 36px; border-radius: 9px; overflow: hidden; gap: 2px; margin: 10px 0; }
.d-cubuk span { display: block; height: 100%; transition: width 0.25s ease; }
.d-liste { display: flex; flex-direction: column; }
.d-satir { display: grid; grid-template-columns: 12px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.d-satir:last-child { border-bottom: 0; }
.d-satir i { width: 10px; height: 10px; border-radius: 3px; }
.d-satir .ad { font-weight: 600; }
.d-satir .oran { color: var(--muted); font-weight: 600; width: 52px; text-align: right; }
.d-satir .tutar { font-weight: 700; width: 104px; text-align: right; }
.d-net { background: var(--acc); }
.d-sgk { background: var(--c-sgk); }
.d-iss { background: var(--c-iss); }
.d-gv { background: var(--c-gv); }
.d-dv { background: var(--c-dv); }
#dagilimMaliyet strong { color: var(--ink); }
@media (min-width: 900px) { .dagilim-izgara { grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; } }

/* ---------- Tablo ---------- */
.tablo-kaydir { overflow-x: auto; }
#tablo { border-collapse: collapse; width: 100%; min-width: 960px; font-size: 14px; }
#tablo th, #tablo td { padding: 0 12px; height: 40px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
#tablo thead th { height: 44px; background: var(--surf2); font-size: 12px; font-weight: 800; color: var(--muted); }
#tablo th:first-child, #tablo td:first-child { position: sticky; left: 0; z-index: 1; text-align: left; border-right: 1px solid var(--line); background: var(--surf); padding: 0; }
#tablo thead th:first-child, #tablo tfoot td:first-child { background: var(--surf2); padding: 0 14px; }
#tablo tbody tr:hover td { background: var(--surf2); }
#tablo tbody tr.secili td { background: var(--soft); }
#tablo td:first-child button { border: none; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; padding: 0 14px; height: 40px; width: 100%; text-align: left; cursor: pointer; }
#tablo .net { font-weight: 800; }
#tablo .oran { font-size: 11px; font-weight: 800; color: var(--softink); background: var(--soft); padding: 2px 5px; border-radius: 5px; margin-left: 4px; }
#tablo tfoot td { height: 46px; background: var(--surf2); font-weight: 800; border-bottom: 0; }

/* ---------- Bölümler ---------- */
.bolum { padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--line); }
.bolum h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
@media (min-width: 900px) { .bolum { padding-top: 64px; padding-bottom: 64px; } .bolum h2 { font-size: 30px; } }

/* Nasıl hesaplanır: açılır pencere (dialog) */
.nasil-pencere {
  width: min(1040px, calc(100vw - 24px)); max-height: calc(100vh - 32px); margin: auto; padding: 28px 20px 24px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(15, 17, 21, 0.45);
  overflow-y: auto; overscroll-behavior: contain;
}
.nasil-pencere::backdrop { background: rgba(15, 17, 21, 0.45); backdrop-filter: blur(2px); }
.nasil-pencere .kapat { position: sticky; top: 0; float: right; margin: -12px -6px 0 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surf); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1; }
.nasil-pencere h2 { font-size: 24px; letter-spacing: -0.02em; }
/* Pencerede adımlar üstte (2x2), parametre kartı altta tam genişlikte */
.nasil-pencere .nasil { flex-direction: column; gap: 22px; align-items: stretch; }
.nasil-pencere .nasil-sol { width: auto; }
@media (min-width: 900px) {
  .nasil-pencere { padding: 32px 32px 28px; }
  .nasil-pencere .adimlar { grid-template-columns: 1fr 1fr; gap: 16px 28px; }
}
body.pencere-acik { overflow: hidden; }

.nasil { display: flex; flex-direction: column; gap: 24px; }
.nasil > * { margin: 0; }
.nasil-sol { display: flex; flex-direction: column; gap: 18px; }
.adimlar { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.adimlar li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.adimlar li > span { width: 28px; height: 28px; border-radius: 9px; background: var(--soft); color: var(--softink); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.adimlar strong { font-size: 15px; display: block; margin-bottom: 2px; }
.adimlar p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.kaynaklar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.etiket-soluk { font-size: 13px; font-weight: 700; color: var(--muted); }
.kaynaklar a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; }
.kaynaklar .ikon { width: 15px; height: 15px; }
.parametreler { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.p-baslik { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.p-baslik h3 { font-size: 17px; }
.p-baslik span { font-size: 12px; font-weight: 700; color: var(--muted); }
.p-izgara { display: grid; gap: 16px; }
.p-satir-k { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.p-satir-k span:first-child { color: var(--muted); font-weight: 600; }
.p-satir-k span:last-child { font-weight: 700; text-align: right; }
.p-alt-baslik { font-size: 13px; font-weight: 800; padding: 9px 0; border-bottom: 1px solid var(--line); }
.dilim-satir { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.dilim-satir span:first-child { font-weight: 600; }
.dilim-satir span:last-child { font-weight: 800; color: var(--softink); }
@media (min-width: 900px) {
  .nasil { flex-direction: row; gap: 56px; align-items: flex-start; }
  .nasil-sol { width: 420px; flex-shrink: 0; }
  .parametreler { flex-grow: 1; padding: 22px 26px; }
  .p-izgara { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Program */
.program { background: var(--surf2); display: flex; flex-direction: column; gap: 28px; }
.program > * { margin: 0; }
.program-sol { display: flex; flex-direction: column; gap: 14px; }
.program-sol h2 { font-size: 28px; letter-spacing: -0.03em; }
.program-sol > p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.program-sol .dugme { align-self: flex-start; margin-top: 4px; }
.ozellikler { display: grid; gap: 12px; margin-top: 4px; }
.ozellikler > div { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.ozellikler .oz-program { background: var(--soft); border-color: transparent; }
.oz-baslik { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.oz-program .oz-baslik { color: var(--softink); }
.ozellikler ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ozellikler li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.ozellikler .evet { width: 18px; height: 18px; color: var(--acc); flex-shrink: 0; }

.pencere { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--golge); font-size: 12px; }
.p-cubuk { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: var(--surf2); border-bottom: 1px solid var(--line); }
.p-ad { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.p-kontrol { display: flex; gap: 14px; }
.p-kontrol i { width: 10px; height: 10px; border: 1.2px solid var(--muted); border-radius: 2px; }
.p-arac { display: flex; gap: 8px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--surf); flex-wrap: wrap; }
.p-arac span { height: 28px; padding: 0 11px; border-radius: 7px; display: flex; align-items: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line); background: var(--surf); white-space: nowrap; }
.p-arac span.ana { background: var(--acc); color: var(--onacc); border-color: var(--acc); }
.p-arac span.donem { margin-left: auto; background: var(--field); }
.p-sekme { display: flex; gap: 20px; padding: 0 14px; height: 34px; align-items: flex-end; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surf); border-bottom: 1px solid var(--line); }
.p-sekme span { padding-bottom: 8px; }
.p-sekme span.aktif { color: var(--ink); border-bottom: 2px solid var(--acc); }
.p-tablo { background: var(--surf); overflow-x: auto; }
.p-satir { display: grid; grid-template-columns: 48px 1.2fr 1fr 0.9fr 0.9fr 1fr 1.15fr 28px; min-width: 600px; height: 32px; align-items: center; border-bottom: 1px solid var(--line); }
.p-satir > span { padding: 0 8px; text-align: right; white-space: nowrap; overflow: hidden; }
.p-satir > span:nth-child(1), .p-satir > span:nth-child(2) { text-align: left; }
.p-satir.p-bas { height: 30px; font-size: 11px; font-weight: 800; color: var(--muted); background: var(--surf2); }
.p-satir.secili { background: var(--soft); }
.p-satir .soluk { color: var(--muted); }
.p-satir .ad { font-weight: 600; }
.p-satir .kalin { font-weight: 800; }
.p-satir .tamam { color: var(--ok); display: flex; justify-content: center; }
.p-satir .tamam .ikon { width: 15px; height: 15px; }
.p-durum { height: 30px; padding: 0 14px; display: flex; align-items: center; gap: 18px; font-size: 11.5px; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); background: var(--surf); white-space: nowrap; overflow: hidden; }
.p-durum .tamam { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--ok); }
.p-durum .ikon { width: 14px; height: 14px; }
@media (max-width: 899px) { .p-durum span:nth-child(3) { display: none; } }
@media (min-width: 900px) {
  .program { flex-direction: row; align-items: center; gap: 48px; }
  .program-sol { width: 520px; flex-shrink: 0; }
  .program-sol h2 { font-size: 34px; }
  .ozellikler { grid-template-columns: 1fr; }
  .pencere { flex-grow: 1; min-width: 0; }
  .p-satir { min-width: 0; }
}
@media (min-width: 1240px) { .ozellikler { grid-template-columns: 0.85fr 1.15fr; } .ozellikler > div { padding: 12px 14px; } .ozellikler li { font-size: 13.5px; } }

/* İletişim */
#iletisim { border-top: 0; padding-top: 0; }
.program + #iletisim { padding-top: 44px; }
.iletisim-kart { background: var(--soft); border-radius: 22px; padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden; }
.desen-iletisim { position: absolute; right: 0; bottom: 0; width: 420px; max-width: 90%; opacity: 0.8; pointer-events: none; }
.iletisim-metin { display: flex; flex-direction: column; gap: 8px; position: relative; max-width: 620px; }
.iletisim-metin p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.iletisim-dugmeler { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.eposta-yazi { font-size: 14px; font-weight: 700; color: var(--muted); user-select: all; }
.dugme.buyuk { min-height: 54px; padding: 0 24px; font-size: 16px; }
@media (min-width: 900px) {
  .program + #iletisim { padding-top: 64px; }
  .iletisim-kart { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 36px 44px; }
  .iletisim-dugmeler { flex-shrink: 0; }
}

/* SSS */
.sss { display: flex; flex-direction: column; gap: 18px; }
.sss > * { margin: 0; }
.sss-sol { display: flex; flex-direction: column; gap: 12px; }
.sss-liste { border-top: 1px solid var(--line); flex-grow: 1; }
.sss details { border-bottom: 1px solid var(--line); }
.sss summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 10px 0; font-size: 16px; font-weight: 700; }
.sss summary::-webkit-details-marker { display: none; }
.sss .ok-asagi { width: 22px; height: 22px; color: var(--muted); transition: transform 0.2s ease; }
.sss details[open] .ok-asagi { transform: rotate(180deg); }
.sss details p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 720px; }
@media (min-width: 900px) {
  .sss { flex-direction: row; gap: 56px; }
  .sss-sol { width: 420px; flex-shrink: 0; }
  .sss summary { font-size: 17px; }
}

/* Alt bilgi */
.alt { padding: 32px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.alt-sol { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.alt-sol p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.alt-sag { display: flex; flex-direction: column; gap: 4px; }
.alt nav { display: flex; gap: 20px; }
.alt nav a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.alt nav a:hover { color: var(--ink); }
@media (min-width: 900px) {
  .alt { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 48px; padding: 36px max(clamp(24px, 6vw, 120px), calc((100% - 1200px) / 2)); }
  .alt-sag { align-items: flex-end; }
}

/* Gizlilik sayfası: logo resim olarak, temaya göre biri gösterilir */
img.logo { width: 139px; height: 30px; }
.logo-img-koyu { display: none; }
:root[data-theme="dark"] .logo-img-acik { display: none; }
:root[data-theme="dark"] .logo-img-koyu { display: block; }

.metin-sayfa { max-width: 780px; margin: 0 auto; padding: 48px 16px 80px; }
.metin-sayfa h1 { font-size: 36px; letter-spacing: -0.02em; margin-bottom: 20px; }
.metin-sayfa h2 { font-size: 20px; margin: 28px 0 8px; }
.metin-sayfa p { color: var(--muted); line-height: 1.65; margin-bottom: 10px; }
.metin-sayfa p b { color: var(--ink); }
