:root {
  --bg: #f4f6f9; --panel: #fff; --ink: #1d2433; --muted: #6b7280; --line: #dfe3ea;
  --brand: #1f3864; --brand2: #2f5597; --accent: #c55a11; --ok: #2e7d32; --err: #b3261e;
  --hdr: #e8edf6; --tot: #fff6d6; --chk: #e7f3e8;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand2); }
header.top { background: var(--brand); color: #fff; display: flex; align-items: center; gap: 18px; padding: 0 20px; height: 52px; position: sticky; top: 0; z-index: 20; }
header.top .logo { font-weight: 700; letter-spacing: .3px; color: #fff; text-decoration: none; font-size: 16px; white-space: nowrap; }
header.top nav { display: flex; gap: 4px; flex: 1; }
header.top nav a { color: #dbe4f5; text-decoration: none; padding: 6px 10px; border-radius: 6px; }
header.top nav a:hover, header.top nav a.on { background: rgba(255,255,255,.14); color: #fff; }
header.top .me { color: #dbe4f5; font-size: 13px; }
header.top .me a { color: #fff; margin-left: 10px; }
main { max-width: 1400px; margin: 0 auto; padding: 20px; }
h1 { font-size: 22px; margin: 4px 0 16px; color: var(--brand); }
h2 { font-size: 17px; margin: 0 0 10px; color: var(--brand); }
h3 { font-size: 15px; margin: 14px 0 8px; color: var(--brand); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; color: var(--muted); }
input, select, textarea { font: inherit; padding: 6px 8px; border: 1px solid #c8ced8; border-radius: 6px; background: #fff; color: var(--ink); }
input:focus, select:focus { outline: 2px solid #9db6e4; border-color: var(--brand2); }
button, .btn { font: inherit; cursor: pointer; border: 1px solid var(--brand2); background: var(--brand2); color: #fff; padding: 7px 14px; border-radius: 6px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
button:hover, .btn:hover { filter: brightness(1.08); }
.btn.ghost, button.ghost { background: #fff; color: var(--brand2); }
.btn.xl { background: #1d6f42; border-color: #1d6f42; }
.btn.danger, button.danger { background: #fff; color: var(--err); border-color: #e3b4b0; }
.btn.sm, button.sm { padding: 3px 8px; font-size: 12px; }
.muted { color: var(--muted); }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; }
.flash.ok { background: #eaf6ec; border-color: #b9dfbf; color: #1e5e24; }
.flash.error { background: #fbeceb; border-color: #efc1bd; color: var(--err); }
.flash.warn { background: #fff8e5; border-color: #f0d68a; color: #7a5600; }
.flash.info { background: #eef3fb; border-color: #c8d6ef; color: var(--brand); }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--line); padding: 5px 8px; vertical-align: top; }
th { background: var(--hdr); text-align: left; font-weight: 600; font-size: 12.5px; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.toplam td { background: var(--tot); font-weight: 700; }
tr.kontrol td { background: var(--chk); font-weight: 600; }
table.list tr:hover td { background: #f7f9fc; }
.grid-wrap { overflow-x: auto; }
table.grid td { padding: 2px; }
table.grid input, table.grid select { width: 100%; border-color: transparent; border-radius: 4px; padding: 5px 6px; background: transparent; }
table.grid input:hover, table.grid select:hover { border-color: #d5dbe5; background: #fff; }
table.grid input.num { text-align: right; }
table.grid td.act { width: 62px; text-align: center; white-space: nowrap; }
table.grid td.act button + button { margin-left: 3px; }
table.grid .bad { background: #fde7e5 !important; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--brand); margin-bottom: 0; flex-wrap: wrap; }
.tabs a { padding: 8px 16px; text-decoration: none; color: var(--brand); border: 1px solid var(--line); border-bottom: none; border-radius: 8px 8px 0 0; background: #eef1f6; }
.tabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.tabpanel { border-top-left-radius: 0; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; }
.report td:first-child { width: 150px; }
.report-title { font-weight: 700; color: var(--brand); font-size: 15px; margin: 4px 0 8px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; font-size: 13px; }
.kv b { color: var(--muted); font-weight: 500; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 99px; background: #eef1f6; font-size: 12px; color: var(--brand); }
.badge.warn { background: #fff1db; color: var(--accent); }
.blok { break-inside: avoid; margin-bottom: 26px; }
.savebar { position: sticky; bottom: 0; background: rgba(244,246,249,.96); border-top: 1px solid var(--line); padding: 10px 0; display: flex; gap: 12px; align-items: center; z-index: 10; }
.login { max-width: 360px; margin: 10vh auto; }
.login .panel { padding: 26px; }
.login input { width: 100%; }
.small { font-size: 12px; }
details summary { cursor: pointer; color: var(--brand2); }
@media print {
  header.top, .toolbar, .tabs, .noprint, .savebar { display: none !important; }
  main { padding: 0; max-width: none; }
  .panel { border: none; padding: 0; }
  .blok { page-break-after: always; }
}

.esasbar { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); padding: 5px 8px; border-radius: 8px; color: #dbe4f5; font-size: 13px; }
.esasbar input { width: 64px; padding: 4px 6px; border: none; border-radius: 4px; text-align: center; }
.esasbar input[name=esas] { width: 80px; }
.esasbar button { padding: 4px 10px; font-size: 13px; border: none; }
.esasbar .getir, .esasbox .getir { background: #b7e1a1; color: #1d3d12; }
.esasbar .bos, .esasbox .bos { background: #f5c6e6; color: #5a1d47; }
.esasbox { display: grid; grid-template-columns: auto 110px 140px auto auto; gap: 0; border: 1px solid #9aa9c2; border-radius: 8px; overflow: hidden; width: max-content; }
.esasbox > div { padding: 6px 12px; border-right: 1px solid #9aa9c2; border-bottom: 1px solid #9aa9c2; }
.esasbox .h { background: #d6ecf7; font-weight: 600; text-align: center; }
.esasbox input { width: 100%; text-align: center; font-size: 16px; font-weight: 600; }
.esasbox button { width: 100%; justify-content: center; font-size: 15px; font-weight: 600; border: none; padding: 10px 18px; }
.esasbox .cell { padding: 6px; display: flex; align-items: center; }
.modal-bg { position: fixed; inset: 0; background: rgba(20,30,50,.45); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal { background: #fff; border-radius: 12px; padding: 22px 24px; max-width: 580px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.modal h2 { margin-top: 0; }
.modal .row { justify-content: flex-end; margin-top: 18px; }
[hidden] { display: none !important; }

.kullanici-baslik { margin: 18px 0 6px; padding: 6px 10px; background: #eef3fb; border-left: 4px solid var(--brand2); border-radius: 4px; font-weight: 600; color: var(--brand); }
.kullanici-baslik:first-of-type { margin-top: 4px; }

.sifir-gizli .sifir { display: none; }

.ipucu { margin-top: 8px; padding: 8px 12px; background: #fff4e5; border: 1px solid #f3c58f; border-radius: 6px; color: #8a4b08; font-size: 13px; cursor: pointer; }
.ipucu:hover { background: #ffecd2; }
.oran-kutu { border-radius: 8px; padding: 4px 8px; transition: box-shadow .3s; }
.oran-kutu.vurgu { animation: vurgu 2.2s ease-out; }
@keyframes vurgu { 0%, 60% { box-shadow: 0 0 0 3px #f0a04b; background: #fff8ef; } 100% { box-shadow: none; background: transparent; } }

.nav-badge { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: #e8590c; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.onay-panel { border: 2px solid #f0a04b; background: #fffaf3; }

header.top nav a { white-space: nowrap; padding: 6px 8px; }
header.top { gap: 12px; }
@media (max-width: 1350px) { header.top .esasbar > span:first-child { display: none; } }

.harc-bilgi { margin: 0 0 10px; padding: 8px 12px; border: 1px solid #f0d58a; background: #fffaeb; border-radius: 6px; color: #5c4a12; }
.harc-bilgi ul { margin: 4px 0 0; padding-left: 18px; columns: 2; column-gap: 28px; }
.harc-bilgi li { margin: 1px 0; break-inside: avoid; }

.sekme-ipucu { margin: 14px 0 6px; }
.tabs a[data-tip] { position: relative; }
.tabs a[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); z-index: 50;
  width: 300px; white-space: normal; padding: 8px 10px; border-radius: 6px; background: #1f2a44; color: #fff;
  font-size: 12.5px; font-weight: 400; line-height: 1.4; box-shadow: 0 4px 14px rgba(0,0,0,.18); pointer-events: none; }

.r3-blok { margin: 22px 0 8px; padding: 6px 10px; background: #eef1f6; border-left: 4px solid var(--brand); border-radius: 4px; font-size: 15px; }

table.grid tfoot .k-toplam td { background: #fff4d6; font-weight: 700; border-top: 2px solid #e0c46c; padding: 7px 8px; }
table.grid tfoot .k-toplam td.n { text-align: right; padding-right: 12px; white-space: nowrap; }
table.grid tfoot .k-toplam td.small { font-weight: 400; }

/* Toplam satırlarında yazı, toplam rakamının hemen soluna yaslanır */
tr.toplam td[colspan] { text-align: right; padding-right: 14px; }
table.grid tfoot .k-toplam td[colspan="2"] { text-align: right; padding-right: 14px; }

/* Rapor tabloları: tutarlar sağa, metin (kalem adı/açıklama/not) sola, diğer her şey (tarih, gün, oran, para birimi, sıra) ortaya */
.rt table:not(.grid) th, .rt table:not(.grid) td { text-align: center; }
.rt table:not(.grid) th.n, .rt table:not(.grid) td.n { text-align: right; }
.rt table:not(.grid) th.l, .rt table:not(.grid) td.l { text-align: left; }
.rt table:not(.grid) tr.toplam td[colspan] { text-align: right; padding-right: 14px; }

/* Hesap makinesi */
.hm-ac { background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 17px; padding: 4px 9px; border-radius: 6px; cursor: pointer; line-height: 1.2; }
.hm-ac:hover, .hm-ac.on { background: rgba(255,255,255,.25); }
.hm { position: fixed; top: 58px; right: 20px; width: 272px; z-index: 60; background: #fff; border: 1px solid #c9d3e3; border-radius: 10px; box-shadow: 0 10px 30px rgba(20,40,80,.22); padding: 10px; }
.hm-bas { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; color: var(--brand); }
.hm-kapat { border: none; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: #777; padding: 0 4px; }
.hm-gecmis { font-size: 11px; color: #8a94a6; text-align: right; min-height: 14px; max-height: 58px; overflow: hidden; }
.hm-gecmis div { cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-gecmis div:hover { color: var(--brand2); }
.hm-ifade { font-size: 13px; color: #555; text-align: right; min-height: 18px; word-break: break-all; }
.hm-sonuc { font-size: 24px; font-weight: 700; text-align: right; color: var(--brand); margin: 2px 0 8px; word-break: break-all; font-variant-numeric: tabular-nums; }
.hm-sonuc.hata { color: var(--err); font-size: 15px; }
.hm-tus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.hm-tus button { padding: 9px 0; font-size: 16px; border-radius: 6px; border: 1px solid #d6dde9; background: #f6f8fc; color: #222; cursor: pointer; }
.hm-tus button:hover { background: #e9eef8; }
.hm-tus .hm-o { background: #eaf0fb; color: var(--brand2); font-weight: 700; }
.hm-tus .hm-f { background: #fff; color: #555; }
.hm-tus .hm-esit { grid-column: span 4; background: var(--brand2); color: #fff; font-weight: 700; border-color: var(--brand2); }
.hm-alt { display: flex; gap: 6px; margin-top: 8px; }
.hm-alt button { flex: 1; }
.hm-not { margin-top: 6px; font-size: 11px; }
@media print { .hm, .hm-ac { display: none !important; } }
.hm-tus button { display: flex; align-items: center; justify-content: center; text-align: center; }
/* Üst şerit: kullanıcı adı tek satır; dar ekranlarda menü ikinci satıra iner (taşma olmasın) */
header.top .me { white-space: nowrap; flex-shrink: 0; }
header.top nav a { white-space: nowrap; }
@media (max-width: 1460px) {
  header.top { flex-wrap: wrap; height: auto; min-height: 52px; padding: 6px 20px 0; row-gap: 2px; column-gap: 14px; }
  header.top .logo { flex: 1; }
  header.top nav { order: 10; flex-basis: 100%; padding-bottom: 6px; flex-wrap: wrap; }
}
.hm-bas { cursor: move; user-select: none; touch-action: none; margin: -10px -10px 6px; padding: 8px 10px; border-radius: 10px 10px 0 0; background: #f1f4fa; border-bottom: 1px solid #e1e7f0; }
.hm.suruklen { opacity: .92; box-shadow: 0 16px 40px rgba(20,40,80,.32); }

/* Tahsil harcı ayrıntıları penceresi */
.harc-ac { margin-left: 10px; padding: 2px 8px; font-size: 12px; vertical-align: middle; }
.harc-modal .modal { max-width: 1180px; width: 96vw; max-height: 88vh; overflow: auto; }
.harc-tablo td, .harc-tablo th { white-space: nowrap; }
.harc-tablo td.l { white-space: normal; }
.harc-tablo .harc-grup { cursor: pointer; background: #f6f8fc; }
.harc-tablo .harc-grup:hover { background: #eaf0fb; }
.harc-tablo .harc-grup .ok-ic { display: inline-block; transition: transform .15s; color: var(--brand2); }
.harc-tablo .harc-grup.acik .ok-ic { transform: rotate(90deg); }
.harc-tablo .harc-ay td { background: #fcfdff; padding-top: 2px; padding-bottom: 2px; }
.modal-bg[hidden] { display: none; }

/* Dosya aç kutuları: icra no + mahkeme yan yana (sığmazsa alt alta) */
.ac-kutular { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: flex-start; }
.ac-kutular h2 { margin-top: 0; }
.esasbox.mahkemebox { grid-template-columns: 220px 78px 100px 78px 100px auto; }
.esasbox.mahkemebox input { font-size: 15px; }
.esasbox.mahkemebox input[name=mad] { text-align: left; font-weight: 500; }
.mahkeme-etiket { margin-top: 2px; }

/* Birden fazla alacaklı / borçlu */
.taraf { display: flex; flex-direction: column; gap: 4px; }
.taraf-satir { display: flex; gap: 4px; align-items: center; }
.taraf-satir input { flex: 1; min-width: 0; }
.taraf-satir button { flex: 0 0 auto; width: 30px; padding: 4px 0; font-weight: 700; font-size: 15px; line-height: 1; }
.row:has(> .field .taraf) { align-items: flex-start; }
.esasbox:not(.mahkemebox) { grid-template-columns: 230px 100px 130px auto auto; }
.esasbox input[name=mud] { text-align: left; font-size: 15px; font-weight: 500; }
.esasbox:not(.mahkemebox) { grid-template-columns: 200px 82px 112px auto auto; }
.esasbox.mahkemebox { grid-template-columns: 200px 70px 92px 70px 92px auto; }
.ac-kutular .esasbox > div { padding: 6px 8px; }
.ac-kutular { gap: 18px 28px; }

/* Yazdıkça öneri (açılır kutu yalnız yazınca, en çok 12 sonuç) */
.oneri-kutu { position: absolute; z-index: 80; background: #fff; border: 1px solid #c9d3e3; border-radius: 8px; box-shadow: 0 8px 24px rgba(20,40,80,.18); padding: 4px; max-height: 320px; overflow: auto; min-width: 220px; }
.oneri-kutu div { padding: 7px 10px; border-radius: 5px; cursor: pointer; white-space: nowrap; font-size: 14px; text-align: left; }
.oneri-kutu div.on, .oneri-kutu div:hover { background: #eaf0fb; color: var(--brand2); }
.oneri-kutu b { color: var(--brand2); }

/* Faiz Hesapla: ödeme satırları */
tr.ara-toplam td { background: #f4f7fc; font-weight: 600; }
tr.ara-toplam td[colspan] { text-align: right; padding-right: 14px; }
tr.odeme-satir td { background: #e8f5ec; color: #1d5b33; text-align: left; padding: 6px 10px; }
.odeme-ozet { margin-top: 8px; padding: 6px 10px; background: #fff4d6; border-radius: 6px; font-size: 13px; }
tr.odeme-satir.etkisiz td { background: #f1f1f1; color: #666; }

/* İçe aktarma pencereleri küçük ekranda da sığsın: Uygula / Vazgeç her zaman görünür */
.modal { max-height: 92vh; overflow-y: auto; }
.modal textarea { max-height: 22vh; }
.modal .onizleme { max-height: 26vh !important; }
.modal > .row:last-child { position: sticky; bottom: -22px; background: #fff; padding: 10px 0 14px; margin-bottom: -14px; border-top: 1px solid #e3e8f0; }

/* Tablolarda "Tümünü sil" */
table.grid th.act-h { white-space: nowrap; padding: 2px 4px; }
table.grid th.act-h button { font-size: 11px; padding: 2px 6px; }

/* Faiz Hesapla: mahsup yöntemi seçimi (zorunlu) */
/* Faiz Hesapla: nihai sonuç */
.nihai { margin-top: 14px; padding: 10px 14px; border: 2px solid var(--brand2); border-radius: 8px; background: #f7f9fc; }
.nihai h3 { margin: 0 0 8px; color: var(--brand); }
.nihai-sonuc { margin: 10px 0 6px; padding: 8px 12px; border-radius: 6px; font-size: 15px; }
.nihai-sonuc.borc { background: #fff1db; color: #7a3e00; }
.nihai-sonuc.fazla { background: #e8f5ec; color: #1d5b33; }
.nihai-sonuc.kapali { background: #eef1f5; color: #333; }
/* Faiz Hesapla: otomatik mahsup paylaştırma hesabı */
.pay-hesap { margin: 4px 0 12px; padding: 8px 12px; border: 1px solid #c9d3e3; border-radius: 8px; background: #f7f9fc; }
.pay-hesap summary { cursor: pointer; }
.pay-adim { margin: 6px 0 4px; padding-left: 20px; }
/* devre dışı ızgara hücresi (ör. TL satırda kur) */
table.grid .kapali { background: #eef1f5; border-color: #e1e6ee; cursor: not-allowed; }
/* Faiz Hesapla giriş bölümü: mavi çerçeve */
.panel.cerceve { border: 2px solid var(--brand2); border-left-width: 6px; box-shadow: 0 1px 4px rgba(47,85,151,.12); }
.panel.cerceve h3.ara-baslik { border-top: 1px solid #c9d3e3; padding-top: 12px; color: var(--brand); }
.mahsup-sec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 4px 0 8px; padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid #c9d3e3; font-size: 14px; }
.mahsup-sec label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 500; }
.mahsup-sec .ms-bas { font-weight: 700; }
.mahsup-sec .zorunlu { color: var(--err); font-weight: 500; font-size: 12px; }
.mahsup-sec.eksik { border: 2px solid var(--err); background: #fff2f2; animation: ms-titre .35s; }
.mahsup-sec .ms-uyari { color: var(--err); font-weight: 700; }
@keyframes ms-titre { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.ms-bilgi { margin: -2px 0 8px; color: #23477f; font-weight: 600; }

.erken-sec { margin-top: -2px; background: #fbfcfe; }

/* Üst menü: Hesaplamalar açılır menüsü */
header.top nav .menu { position: relative; }
header.top nav .menu-btn { background: none; border: none; color: #dbe4f5; font: inherit; padding: 6px 10px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
header.top nav .menu-btn:hover, header.top nav .menu-btn.on, header.top nav .menu.acik .menu-btn { background: rgba(255,255,255,.14); color: #fff; }
header.top nav .menu-btn .ok-asagi { font-size: 11px; opacity: .8; }
header.top nav .menu-icerik { display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 60; min-width: 250px;
  background: #fff; border: 1px solid #c9d3e3; border-radius: 8px; box-shadow: 0 8px 24px rgba(20,40,80,.18); padding: 6px; }
header.top nav .menu.acik .menu-icerik { display: block; }
header.top nav .menu-icerik a { display: block; color: var(--brand, #1f3a68); padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
header.top nav .menu-icerik a:hover { background: #eef3fb; color: var(--brand, #1f3a68); }
header.top nav .menu-icerik a.on { background: #e3ebf8; color: var(--brand, #1f3a68); font-weight: 600; }
/* İcra Dosyaları: tür sekmeleri ve etiketleri */
.tur-sekme { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.tur-sekme a { padding: 5px 12px; border: 1px solid #c9d3e3; border-radius: 999px; text-decoration: none; color: var(--brand, #1f3a68); background: #fff; font-size: 13px; }
.tur-sekme a.on { background: var(--brand2, #2f5597); border-color: var(--brand2, #2f5597); color: #fff; }
.tur-etiket { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.tur-etiket.icra { background: #e3ebf8; color: #1f3a68; }
.tur-etiket.kira { background: #fff1db; color: #7a3e00; }
.tur-etiket.nafaka { background: #e8f5ec; color: #1d5b33; }

/* Oranlar & Tarifeler: bölüm gezinmesi – başlıklar yan yana, her başlığın altında kendi bölümleri alt alta */
.bolum-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin: 0 0 14px; background: #fff; border: 1px solid #dde4ef; border-radius: 10px; overflow: hidden; }
.bolum-nav .bn-grup { display: flex; flex-direction: column; align-items: stretch; padding: 12px 14px 12px; border-right: 1px solid #e6ebf3; }
.bolum-nav .bn-grup:last-child { border-right: none; }
.bolum-nav .bn-bas { font-size: 14px; font-weight: 700; color: var(--brand, #1f3a68); padding: 0 8px 8px; margin-bottom: 6px; border-bottom: 2px solid var(--brand2, #2f5597); }
.bolum-nav a { display: block; padding: 6px 8px; border-radius: 6px; text-decoration: none; color: #2b3a52; font-size: 13.5px; }
.bolum-nav a::before { content: "›"; color: #8a97ab; margin-right: 7px; }
.bolum-nav a:hover { background: #eef3fb; color: var(--brand, #1f3a68); }
.bolum-nav a.on { background: var(--brand2, #2f5597); color: #fff; font-weight: 600; }
.bolum-nav a.on::before { color: #fff; }
.bolum-nav a.on .nav-badge { background: #fff; color: #e8590c; }
.panel.bolum { border: 2px solid var(--brand2); border-left-width: 6px; }
.panel.bolum.onay-panel { border-color: #f0a04b; }

/* Fiyat endeksleri: açıklama kutusu */
.endeks-bilgi { margin-top: 12px; padding: 10px 14px; background: #f7f9fc; border: 1px solid #c9d3e3; border-radius: 8px; }
.endeks-bilgi summary { cursor: pointer; font-size: 13.5px; color: var(--brand, #1f3a68); }
.endeks-bilgi .eb-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 4px 22px; margin-top: 8px; }
.endeks-bilgi h4 { margin: 8px 0 4px; font-size: 13px; color: var(--brand, #1f3a68); }
.endeks-bilgi ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: #333; }
.endeks-bilgi li { margin: 2px 0; }

/* Kira Hesapla tabloları */
.kira-t { font-size: 13px; }
.kira-t th, .kira-t td { white-space: nowrap; }
.kira-t td.dayanak { white-space: normal; min-width: 380px; line-height: 1.35; }
input.tarih-hata { border-color: var(--err) !important; background: #fff2f2; box-shadow: 0 0 0 2px rgba(192,0,0,.15); }
table.ic-tablo { border-collapse: collapse; margin: 4px 0; background: #fff; }
table.ic-tablo th, table.ic-tablo td { border: 1px solid #dbe3ef; padding: 3px 8px; white-space: nowrap; }
table.ic-tablo th { background: #eef3fb; }
#t_alacak tr.ac-sat:hover td { background: #f4f8ff; }
.hm-gecmis { position: relative; }
.hm-temizle { float: right; border: 0; background: none; color: #8a96a8; font-size: 11px; padding: 0 2px; cursor: pointer; }
.hm-temizle:hover { color: var(--err); }
.talep-aylar { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.talep-ay { display: inline-flex; align-items: center; gap: 4px; }
.talep-ay input { width: 150px; }
/* düzeltilmesi gereken alan (hata iletisinden) */
.hedef-hata { outline: 3px solid #d93025 !important; outline-offset: 3px; border-radius: 6px; background-color: #fff3f2 !important; animation: hedef-nabiz 1.2s ease-in-out 3; }
@keyframes hedef-nabiz { 50% { outline-color: rgba(217, 48, 37, .35); } }
a.hata-git { color: inherit; text-decoration: none; }
a.hata-git:hover { text-decoration: underline; }
