/* Tigada panel — siyah / sarı. Önce telefon, 1024 px ve üstü bilgisayar. */
:root {
  --yazi: 'DIN Tr', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --siyah: #000; --zemin: #141414; --yuzey: #1e1e1e; --yuzey2: #222; --yuzey3: #262626;
  --kenar: #3a3a3a; --cizgi: #2c2c2c; --metin: #fff; --soluk: #b3b3b3; --soluk2: #c4c4c4;
  --sari: #FFC300; --sari2: #ffd54d;
  --uyari-z: #3a2a0a; --uyari: #ffcf5c; --hata-z: #2a1b19; --hata: #ffb4a8;
  --alt-menu: 72px; --yan-menu: 240px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--zemin); color: var(--metin); font: 16px/1.45 var(--yazi); }
a { color: var(--sari); }
a:hover { color: var(--sari2); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--sari); outline-offset: 2px; }
[hidden] { display: none !important; }
.gizli-etiket { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Düzen ---------- */
.yan { display: none; }
.ana { min-height: 100vh; padding-bottom: calc(var(--alt-menu) + env(safe-area-inset-bottom)); }
.ust { position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px; background: var(--siyah); border-bottom: 3px solid var(--sari); }
.ust h1 { flex: 1; min-width: 0; font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ust-logo { flex-shrink: 0; display: flex; padding: 3px 4px 3px 0; }
.ust-logo img { width: 34px; height: 34px; display: block; }
.ust-sag { display: flex; align-items: center; gap: 8px; }
.icerik { padding: 18px 16px 28px; display: flex; flex-direction: column; gap: 24px; }
.alt { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--alt-menu) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--siyah); border-top: 1px solid var(--yuzey3); }
.alt a { height: var(--alt-menu); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--soluk2); text-decoration: none; font-size: 12px; }
.alt a[aria-current="page"] { color: var(--sari); font-weight: 700; }
.alt .alt-ekle span { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--sari); color: #000; }
.alt svg, .yan svg, .ikon-btn svg { flex-shrink: 0; }

@media (min-width: 1024px) {
  .yan { position: fixed; inset: 0 auto 0 0; width: var(--yan-menu); z-index: 30; display: flex; flex-direction: column; gap: 22px; padding: 24px 14px; background: var(--siyah); border-right: 3px solid var(--sari); overflow-y: auto; }
  .yan-logo { align-self: flex-start; padding: 6px 8px 8px; }
  .yan-logo img { height: 28px; width: auto; display: block; }
  .yan-kim { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }
  .yan-kim strong { font-size: 15px; }
  .yan-kim span { font-size: 13px; color: var(--soluk); }
  .yan nav { display: flex; flex-direction: column; gap: 2px; }
  .yan nav a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; color: #d6d6d6; text-decoration: none; font-size: 15px; border-left: 3px solid transparent; }
  .yan nav a:hover { background: var(--yuzey); color: #fff; }
  .yan nav a[aria-current="page"] { background: var(--yuzey); color: var(--sari); font-weight: 700; border-left-color: var(--sari); }
  .yan form { margin-top: auto; }
  .yan-cikis { width: 100%; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--hata); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
  .ana { margin-left: var(--yan-menu); padding-bottom: 0; }
  .ust { padding: 0 24px; }
  .ust-logo { display: none; }
  .icerik { padding: 28px 32px 48px; max-width: 1400px; }
  .alt { display: none; }
}

/* ---------- Butonlar ---------- */
.btn { min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; background: none; color: #fff; font: 700 15px/1 var(--yazi); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sari { background: var(--sari); color: #000; font-weight: 900; }
.btn-sari:hover { background: var(--sari2); color: #000; }
.btn-cerceve { border-color: var(--sari); color: var(--sari); }
.btn-cerceve:hover { background: rgba(255,195,0,.08); color: var(--sari2); }
.btn-gri { border-color: var(--kenar); color: #fff; font-weight: 500; }
.btn-gri:hover { background: var(--yuzey3); color: #fff; }
.btn-tehlike { border-color: #6b2b24; color: var(--hata); font-weight: 500; }
.btn-kucuk { min-height: 40px; padding: 0 12px; font-size: 14px; }
.btn-tam { width: 100%; }
.ikon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: #fff; cursor: pointer; text-decoration: none; }
.ikon-btn:hover { color: var(--sari); }
.yazi-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--sari); font: 700 14px var(--yazi); cursor: pointer; }

/* ---------- Formlar ---------- */
.alan { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; position: relative; }
.alan .not { font-size: 12px; font-weight: 400; color: var(--soluk); }
.girdi, .alan input:not([type="checkbox"]):not([type="radio"]), .alan select, .alan textarea {
  width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--kenar); border-radius: 0; background: var(--yuzey); color: #fff; font: 400 16px var(--yazi); }
.alan textarea { padding: 10px 12px; line-height: 1.45; resize: vertical; min-height: 96px; }
.alan select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #b3b3b3 50%), linear-gradient(135deg, #b3b3b3 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.alan input:read-only { background: var(--yuzey3); }
.alan.hatali input, .alan.hatali select, .alan.hatali textarea { border-color: #e06a5c; }
.alan-hata { font-size: 13px; font-weight: 400; color: var(--hata); }
.izgara-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.izgara-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.bolum { display: flex; flex-direction: column; gap: 14px; }
.bolum > h2 { font-size: 18px; font-weight: 700; }
.bolum-baslik { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bolum-baslik h2 { font-size: 18px; font-weight: 700; }
.kutu-hata { padding: 12px 14px; background: var(--hata-z); color: var(--hata); font-size: 14px; line-height: 1.45; }
.kutu-uyari { display: flex; gap: 10px; padding: 12px; background: var(--uyari-z); color: #ffdf8a; font-size: 14px; line-height: 1.45; }
.kutu-uyari a { color: #fff; }
.ipucu { font-size: 13px; color: var(--soluk); margin: 0; line-height: 1.45; }

/* Seçim düğmeleri (radyo / onay kutusu tabanlı, klavye ile de çalışır) */
.secim { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--kenar); }
.secim label, .cipler label { position: relative; cursor: pointer; }
.secim input, .cipler input { position: absolute; opacity: 0; pointer-events: none; }
.secim span { min-height: 46px; display: flex; align-items: center; justify-content: center; padding: 0 6px; background: var(--yuzey); font-size: 15px; font-weight: 700; text-align: center; }
.secim input:checked + span { background: var(--sari); color: #000; }
.secim input:focus-visible + span, .cipler input:focus-visible + span { outline: 2px solid var(--sari); outline-offset: -2px; }
.cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.cipler span { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--kenar); font-size: 14px; font-weight: 500; }
.cipler input:checked + span { background: var(--sari); border-color: var(--sari); color: #000; font-weight: 700; }
.onay { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; cursor: pointer; border-bottom: 1px solid var(--yuzey3); }
.onay input { width: 22px; height: 22px; accent-color: var(--sari); margin: 0; }

/* Öneri listesi (cadde, mülk sahibi) */
.oneri { position: absolute; z-index: 15; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 0; list-style: none; background: #1b1b1b; border: 1px solid var(--kenar); max-height: 280px; overflow-y: auto; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.oneri li button { width: 100%; min-height: 46px; padding: 8px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 0; border-bottom: 1px solid var(--yuzey3); background: none; color: #fff; font: 400 15px var(--yazi); text-align: left; cursor: pointer; }
.oneri li button:hover, .oneri li button:focus { background: var(--yuzey3); outline: none; }
.oneri small { font-size: 13px; color: var(--soluk); }
.oneri .bos { padding: 12px; font-size: 14px; color: var(--soluk); }

/* ---------- Kartlar, rozetler ---------- */
.kart { padding: 14px; background: var(--yuzey); }
.rozet { display: inline-flex; align-items: center; padding: 3px 7px; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.rozet-sari { background: var(--sari); color: #000; }
.rozet-uyari { background: var(--uyari-z); color: var(--uyari); }
.rozet-hata { background: var(--hata-z); color: var(--hata); }
.rozet-gri { background: var(--cizgi); color: #d0d0d0; font-weight: 500; }
.ust-cizgi { width: 36px; height: 3px; background: var(--sari); }

/* Anasayfa */
.tarih-satiri { font-size: 14px; color: var(--soluk); }
.ozet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ozet { padding: 16px 14px; background: var(--yuzey2); color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.ozet strong { font-size: 34px; font-weight: 900; line-height: 1; }
.ozet span { font-size: 14px; color: var(--soluk2); }
.ozet:hover { background: #2a2a2a; color: #fff; }
.ozet-sari { background: var(--sari); color: #000; }
.ozet-sari span { color: #000; font-weight: 500; }
.ozet-sari:hover { background: var(--sari2); color: #000; }
.serit-uyari { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--hata-z); color: var(--hata); text-decoration: none; font-size: 15px; }
.serit-uyari strong { color: #fff; }
.serit-uyari:hover { color: var(--hata); background: #331f1c; }
.cubuk { display: flex; flex-direction: column; gap: 5px; }
.cubuk-ust { display: flex; justify-content: space-between; font-size: 14px; }
.cubuk-ust strong { font-weight: 700; }
.cubuk-iz { height: 8px; background: var(--yuzey3); }
.cubuk-iz span { display: block; height: 8px; min-width: 3px; background: var(--sari); }
.etiketler { display: flex; flex-wrap: wrap; gap: 8px; }
.etiketler a { padding: 8px 12px; background: var(--yuzey2); color: #fff; text-decoration: none; font-size: 14px; }
.etiketler a strong { color: var(--sari); }
@media (min-width: 1024px) { .ozet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ana-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } }

/* ---------- Yer listesi ---------- */
.liste-ust { display: flex; flex-direction: column; gap: 12px; }
.arama { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--kenar); background: var(--yuzey); }
.arama input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: #fff; font: 400 16px var(--yazi); }
.arama input:focus { outline: none; }
.arama:focus-within { outline: 2px solid var(--sari); outline-offset: 1px; }
.serit { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.serit::-webkit-scrollbar { display: none; }
.sekme { flex-shrink: 0; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--kenar); color: #fff; text-decoration: none; font-size: 14px; white-space: nowrap; }
.sekme[aria-current="true"] { background: var(--sari); border-color: var(--sari); color: #000; font-weight: 700; }
.sekme:hover { color: #fff; border-color: #555; }
.sekme[aria-current="true"]:hover { color: #000; }
.arac-satiri { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sayac { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sari); color: #000; font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.etkin-filtre { min-height: 40px; display: inline-flex; align-items: center; gap: 2px; padding: 0 2px 0 12px; background: var(--yuzey3); color: #fff; font-size: 14px; text-decoration: none; }
.etkin-filtre svg { margin: 0 8px 0 6px; }
.sirala { margin-left: auto; height: 40px; padding: 0 30px 0 10px; border: 1px solid var(--kenar); background: var(--yuzey); color: #fff; font: 400 14px var(--yazi); }
.sonuc-sayisi { font-size: 13px; color: var(--soluk); }
.yer-kartlar { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.yer-kart { display: flex; gap: 12px; padding: 12px; background: var(--yuzey); color: #fff; text-decoration: none; }
.yer-kart:hover { background: #242424; color: #fff; }
.kapak { width: 76px; height: 76px; flex-shrink: 0; background: #2b2b2b; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kapak img { width: 100%; height: 100%; object-fit: cover; }
.yer-kart-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.yer-kart-ad { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; font-weight: 700; line-height: 1.3; }
.yer-kart-ad span { flex: 1; }
.yer-kart-alt { font-size: 13px; color: var(--soluk); }
.yer-kart-bilgi { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: #d6d6d6; }
.yer-kart-bilgi b { color: #fff; font-weight: 500; }
.yer-tablo-kutu { display: none; overflow-x: auto; border: 1px solid var(--cizgi); }
.yer-tablo { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 14px; }
.yer-tablo th { padding: 12px; background: var(--yuzey); color: var(--soluk2); font-weight: 700; text-align: left; white-space: nowrap; }
.yer-tablo td { padding: 10px 12px; border-top: 1px solid var(--cizgi); vertical-align: middle; }
.yer-tablo tr:hover td { background: #1c1c1c; }
.yer-tablo .sag { text-align: right; white-space: nowrap; }
.yer-tablo .kisa { white-space: nowrap; color: var(--soluk2); }
.yer-tablo .kapak { width: 48px; height: 36px; }
.yer-tablo td:nth-child(2) { min-width: 260px; }
.yer-tablo a { text-decoration: none; font-weight: 700; }
@media (min-width: 1024px) { .yer-kartlar { display: none; } .yer-tablo-kutu { display: block; } .arac-satiri .arama { flex: 1 1 320px; } }
.sayfalama { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--soluk2); }
.sayfalama div { display: flex; gap: 8px; }
.bos-liste { padding: 32px 16px; background: var(--yuzey); text-align: center; color: var(--soluk); }

/* Filtre paneli: telefonda tam ekran, bilgisayarda sağdan açılır */
.panel { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--zemin); transform: translateX(100%); transition: transform .2s ease; visibility: hidden; }
.panel.acik { transform: none; visibility: visible; }
.panel-ust { height: 64px; flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; background: #000; border-bottom: 3px solid var(--sari); }
.panel-ust h2 { flex: 1; font-size: 20px; }
.panel-govde { flex: 1; overflow-y: auto; padding: 18px 16px 24px; display: flex; flex-direction: column; gap: 26px; }
.panel-govde h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.panel-alt { flex-shrink: 0; display: flex; gap: 10px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: #000; border-top: 1px solid var(--yuzey3); }
.panel-alt .btn { height: 52px; }
.perde { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.6); }
@media (min-width: 1024px) { .panel { left: auto; width: 440px; border-left: 3px solid var(--sari); } }

/* ---------- Yer sayfası ---------- */
.ust-bilgi { display: flex; flex-direction: column; gap: 10px; }
.ust-bilgi .ust-satir { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sari); }
.ust-bilgi h2 { font-size: 23px; font-weight: 700; }
.ust-bilgi .adres { font-size: 15px; color: var(--soluk2); }
.eylemler { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.kira-kutu { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--yuzey2); }
.kira-kutu span { font-size: 14px; color: var(--soluk2); }
.kira-kutu strong { font-size: 24px; font-weight: 900; }
.kira-kutu small { font-size: 14px; font-weight: 500; color: var(--soluk2); }
.bilgi { margin: 0; display: flex; flex-direction: column; }
.bilgi div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cizgi); font-size: 15px; }
.bilgi div:last-child { border-bottom: 0; }
.bilgi dt { color: var(--soluk); }
.bilgi dd { margin: 0; font-weight: 500; text-align: right; }
.kisi { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--yuzey); }
.kisi-bas { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #333; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.kisi-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kisi-govde small { font-size: 13px; color: var(--soluk); }
.ara-btn { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--sari); color: #000; }
.ara-btn:hover { background: var(--sari2); color: #000; }
details.eski { background: #1b1b1b; border: 1px solid var(--cizgi); }
details.eski summary { min-height: 52px; display: flex; align-items: center; padding: 0 14px; font-size: 16px; font-weight: 700; cursor: pointer; }
details.eski .bilgi { padding: 0 14px 10px; }
details.eski .bilgi div { font-size: 14px; padding: 9px 0; }
.zaman { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.zaman li { display: flex; gap: 12px; }
.zaman-nokta { display: flex; flex-direction: column; align-items: center; width: 14px; flex-shrink: 0; }
.zaman-nokta::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--nokta, var(--sari)); }
.zaman-nokta::after { content: ""; flex: 1; width: 2px; background: var(--cizgi); }
.zaman-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; font-size: 15px; line-height: 1.4; }
.zaman-govde small { font-size: 13px; color: var(--soluk); }
.degisim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.degisim .eski-d { padding: 2px 6px; background: var(--hata-z); color: var(--hata); text-decoration: line-through; }
.degisim .yeni-d { padding: 2px 6px; background: var(--uyari-z); color: #ffdf8a; }
.not-formu { display: flex; gap: 8px; }
.not-formu input { flex: 1; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid var(--kenar); background: var(--yuzey); color: #fff; font: 400 16px var(--yazi); }
.yer-iki { display: flex; flex-direction: column; gap: 24px; }
.yer-iki > div { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .yer-iki { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; } }

/* Harita ve form */
.harita { height: 240px; background: #232323; border: 1px solid #333; z-index: 1; }
.harita-durum { font-size: 13px; color: var(--soluk); }
.harita-yok { display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: 14px; color: var(--soluk2); }
.secili-kisi { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 6px 6px 12px; border: 1px solid var(--sari); background: var(--yuzey); }
.secili-kisi > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.secili-kisi small { font-size: 13px; color: var(--soluk); }
.kilitli { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--yuzey3); font-size: 16px; font-weight: 400; }
.form-alt { position: sticky; bottom: calc(var(--alt-menu) + env(safe-area-inset-bottom)); z-index: 10; margin: 0 -16px -28px; padding: 12px 16px 16px; background: #000; border-top: 1px solid var(--yuzey3); }
.form-alt .btn { height: 54px; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 1024px) { .yer-form { max-width: 760px; } .form-alt { bottom: 0; margin: 0; padding: 16px 0; background: var(--zemin); border-top: 1px solid var(--yuzey3); } .harita { height: 320px; } }

/* Diyalog */
dialog { width: min(480px, calc(100% - 24px)); padding: 0; border: 1px solid var(--kenar); background: var(--zemin); color: #fff; }
dialog::backdrop { background: rgba(0,0,0,.7); }
.diyalog-ust { display: flex; align-items: center; gap: 8px; padding: 12px 8px 12px 16px; border-bottom: 3px solid var(--sari); background: #000; }
.diyalog-ust h2 { flex: 1; font-size: 18px; }
.diyalog-govde { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

/* Bildirim, hata sayfası, menü */
.bildirim { margin: 12px 16px 0; padding: 12px 14px; font-size: 15px; }
.bildirim-tamam { background: #1d2a12; color: #cfe8a8; }
.bildirim-hata { background: var(--hata-z); color: var(--hata); }
@media (min-width: 1024px) { .bildirim { margin: 16px 32px 0; } }
.hata-sayfa { padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.hata-sayfa strong { font-size: 56px; font-weight: 900; color: var(--sari); }
.menu-grup { display: flex; flex-direction: column; gap: 6px; }
.menu-grup h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk); margin-bottom: 4px; }
.menu-liste { display: flex; flex-direction: column; background: var(--yuzey); }
.menu-liste a, .menu-liste button { min-height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--yuzey3); background: none; color: #fff; text-decoration: none; font: 400 16px var(--yazi); text-align: left; width: 100%; cursor: pointer; }
.menu-liste a span, .menu-liste button span { flex: 1; }
.menu-liste .cikis { color: var(--hata); }

/* Giriş */
.giris { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: #000; }
/* Kurumsal kimlik: sol üst köşede sarı kare */
.giris::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 28px; background: var(--sari); }
@media (min-width: 768px) { .giris::before { width: 44px; height: 44px; } }
.giris main { flex: 1; width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 32px 24px; }
.giris-logo { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.giris-logo img { width: 190px; height: auto; display: block; }
.giris-logo span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--soluk); }
.giris form { display: flex; flex-direction: column; gap: 16px; }
.giris .alan input { height: 52px; background: #1a1a1a; font-size: 17px; }
.giris-hatirla { min-height: 44px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: #d6d6d6; cursor: pointer; }
.giris-hatirla input { width: 22px; height: 22px; accent-color: var(--sari); margin: 0; }
.giris .btn { height: 54px; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.giris footer { padding: 18px; text-align: center; font-size: 13px; color: #a6a6a6; }

/* ---------- Medya yükleme ---------- */
[data-medya].surukle { outline: 2px dashed var(--sari); outline-offset: 6px; }
.medya-izgara { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.medya-izgara:empty { display: none; }
.medya-oge { position: relative; aspect-ratio: 1 / 1; background: #262626; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: grab; }
.medya-oge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-touch-callout: none; }
.medya-oge.yukleniyor, .medya-oge.hatali { cursor: default; padding: 8px; gap: 6px; }
.medya-oge.hatali { background: var(--hata-z); }
.medya-ad { font-size: 12px; color: var(--soluk2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.medya-durum { position: relative; z-index: 1; font-size: 12px; color: #e0e0e0; }
.medya-oge:not(.yukleniyor):not(.hatali) .medya-durum { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; background: rgba(0,0,0,.72); }
.medya-oge.hatali .medya-durum { color: var(--hata); }
.ilerleme { height: 4px; background: var(--kenar); }
.ilerleme span { display: block; width: 0; height: 4px; background: var(--sari); transition: width .2s; }
.medya-etiket { display: none; position: absolute; left: 6px; top: 6px; padding: 2px 6px; background: var(--sari); color: #000; font-size: 11px; font-weight: 900; z-index: 1; }
.kapak-oge .medya-etiket { display: block; }
.medya-video { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); pointer-events: none; }
.medya-sil { position: absolute; right: 4px; top: 4px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.medya-sil:hover { background: #000; color: var(--hata); }
.medya-hayalet { opacity: .4; }
.belge-liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.belge-liste:empty { display: none; }
.belge { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 4px 0 12px; background: var(--yuzey); color: var(--soluk2); }
.belge a { flex: 1; min-width: 0; color: #fff; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1024px) { .medya-izgara { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Yer sayfası galerisi */
.detay-galeri { margin: -18px -16px 0; padding: 0 16px; gap: 6px; }
body:has(.bildirim) .detay-galeri { margin-top: 0; }
.zaman-ayrinti { font-size: 13px; color: var(--soluk); overflow-wrap: anywhere; }
.detay-galeri-oge { position: relative; flex-shrink: 0; width: 132px; height: 99px; background: #262626; overflow: hidden; }
.detay-galeri-oge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detay-galeri-oge .medya-durum { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; background: rgba(0,0,0,.72); font-size: 12px; }
@media (min-width: 1024px) { .detay-galeri { margin: 0; padding: 0; } .detay-galeri-oge { width: 176px; height: 132px; } }

/* ---------- Mülk sahipleri ---------- */
.ms-liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ms-kart { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--yuzey); color: #fff; text-decoration: none; }
.ms-kart:hover { background: #242424; color: #fff; }
.ms-ad { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.ms-sag { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ms-sag .rozet { font-size: 12px; }
.ms-kilit { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--soluk); }
.daha-satir { margin-top: 4px; }
.ms-baslik { display: flex; align-items: center; gap: 14px; }
.ms-baslik > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ms-baslik h2 { font-size: 23px; font-weight: 700; overflow-wrap: anywhere; }
.ms-bas-buyuk { width: 64px; height: 64px; font-size: 22px; }
.ms-not { margin: 0; padding: 12px 14px; background: var(--yuzey); font-size: 15px; line-height: 1.55; color: #d6d6d6; white-space: pre-line; overflow-wrap: anywhere; }
.ms-iz { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--yuzey3); font-size: 13px; color: var(--soluk); }
.tel-alan { margin: 0; padding: 0; border: 0; min-width: 0; }
.tel-alan legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.tel-satirlar { display: flex; flex-direction: column; gap: 8px; }
.tel-satir { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.tel-satir input { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--kenar); background: var(--yuzey); color: #fff; font: 400 16px var(--yazi); }
.tel-alan.hatali .tel-satir input[type="tel"] { border-color: #e06a5c; }
@media (min-width: 1024px) { .ms-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .daha-satir { grid-column: 1 / -1; } }

/* ---------- Çöp kutusu ---------- */
.cop-liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cop-oge { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--yuzey); }
.cop-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cop-ad { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.cop-alt { font-size: 13px; color: var(--soluk); }
.cop-oge .btn { flex-shrink: 0; min-height: 44px; }

/* ---------- Loglar ---------- */
.log-suzgec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.log-suzgec .alan { font-size: 13px; color: var(--soluk); font-weight: 400; }
.log-suzgec .alan select, .log-suzgec .alan input { min-height: 44px; font-size: 15px; }
.log-uygula { align-self: end; min-height: 44px; }
.log-liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.log-oge { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--yuzey); }
.log-ust { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 15px; line-height: 1.4; }
.log-ust > span { min-width: 0; overflow-wrap: anywhere; }
.log-ust time { flex-shrink: 0; font-size: 12px; color: var(--soluk); }
.log-ust a { text-decoration: none; font-weight: 500; }
.log-kim { font-weight: 700; color: #fff; }
.log-kim.hata { color: var(--hata); }
.log-kim.sistem { color: var(--soluk2); }
.log-alt { font-size: 12px; color: #a6a6a6; }
@media (min-width: 1024px) { .log-suzgec { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1000px; } }

/* ---------- Raporlar ---------- */
.rapor-bolge { max-width: 320px; }
.rapor-bolge .alan { font-size: 13px; color: var(--soluk); font-weight: 400; }
.rapor-liste { display: flex; flex-direction: column; background: var(--yuzey); }
.rapor-liste a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; border-bottom: 1px solid var(--yuzey3); color: #fff; text-decoration: none; }
.rapor-liste a:last-child { border-bottom: 0; }
.rapor-liste a:hover { background: #242424; color: #fff; }
.rapor-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rapor-ad { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.rapor-alt { font-size: 13px; color: var(--soluk); }
.rapor-liste .rozet { flex-shrink: 0; }
.rapor-cubuk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: 220px; padding: 16px 8px 0; background: var(--yuzey); }
.rapor-cubuk a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.rapor-n { font-size: 12px; font-weight: 700; }
.rapor-bar { width: 100%; max-width: 40px; background: var(--sari); }
.rapor-cubuk a:hover .rapor-bar { background: var(--sari2); }
.rapor-ay { font-size: 11px; color: var(--soluk); padding-bottom: 10px; }
.rapor-tablo { display: flex; flex-direction: column; gap: 14px; padding: 14px; background: var(--yuzey); }
.rapor-tablo a { display: flex; flex-direction: column; gap: 5px; color: #fff; text-decoration: none; }
.rapor-tablo small { font-size: 12px; color: var(--soluk); font-weight: 400; }
@media (min-width: 1024px) { .rapor { max-width: 900px; } .rapor-n { font-size: 13px; } .rapor-ay { font-size: 12px; } }

/* ---------- Yönetim ---------- */
.yonetim { display: flex; flex-direction: column; gap: 30px; }
.rol-sekme { min-height: 46px; display: flex; align-items: center; justify-content: center; padding: 0 6px; background: var(--yuzey); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; }
.rol-sekme[aria-selected="true"] { background: var(--sari); color: #000; }
.rol-sekme:hover { color: #fff; }
.rol-sekme[aria-selected="true"]:hover { color: #000; }
.izin-formu { display: flex; flex-direction: column; gap: 12px; }
.izin-liste { display: flex; flex-direction: column; background: var(--yuzey); }
.izin { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 6px 14px; border-bottom: 1px solid var(--yuzey3); cursor: pointer; }
.izin:last-child { border-bottom: 0; }
.izin > span { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.izin small { font-size: 12px; color: var(--soluk); }
.izin input { width: 24px; height: 24px; margin: 0; flex-shrink: 0; accent-color: var(--sari); }
.bolge-satir { border-bottom: 1px solid var(--yuzey3); }
.bolge-satir:last-child { border-bottom: 0; }
.bolge-satir summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; cursor: pointer; list-style: none; }
.bolge-satir summary::-webkit-details-marker { display: none; }
.bolge-form { display: flex; flex-direction: column; gap: 10px; padding: 4px 14px 14px; }
.bolge-yeni { display: flex; gap: 8px; }
.bolge-yeni input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--kenar); background: var(--yuzey); color: #fff; font: 400 16px var(--yazi); }
.aktarma-kutu { padding: 16px; background: var(--yuzey); border: 1px solid var(--kenar); }
.aktarma-kutu p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--soluk2); }
.secim-dikey { grid-auto-flow: row; grid-auto-columns: auto; }
.secim-dikey span { justify-content: flex-start; padding: 0 14px; text-align: left; border-bottom: 1px solid var(--yuzey3); }
.kontrol-satir { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border-bottom: 1px solid var(--yuzey3); }
.kontrol-satir:last-child { border-bottom: 0; }
.aktarma-ozet { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--sari); }
@media (min-width: 1024px) { .yonetim { max-width: 760px; } }

/* ---------- Paylaş ekranı ---------- */
.link-kutu { display: flex; align-items: stretch; min-height: 48px; border: 1px solid var(--kenar); background: var(--yuzey); }
.link-kutu span { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 12px; font-size: 15px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.link-kutu button { width: 104px; border: 0; border-left: 1px solid var(--kenar); background: var(--yuzey3); color: var(--sari); font: 700 14px var(--yazi); cursor: pointer; }
.onizleme-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.onizleme-secim { position: relative; aspect-ratio: 1 / 1; background: #262626; cursor: pointer; border: 3px solid transparent; }
.onizleme-secim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.onizleme-secim input { position: absolute; opacity: 0; pointer-events: none; }
.onizleme-secim:has(input:checked) { border-color: var(--sari); }
.onizleme-secim:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 1px; }
.onizleme-tik { display: none; position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sari); align-items: center; justify-content: center; }
.onizleme-secim:has(input:checked) .onizleme-tik { display: flex; }
@media (min-width: 1024px) { .onizleme-izgara { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.wa-zemin { padding: 12px; background: #0f1412; display: flex; justify-content: flex-end; }
.wa-balon { width: min(300px, 100%); padding: 4px 4px 8px; border-radius: 10px; background: #144d3f; color: #e9edef; display: flex; flex-direction: column; gap: 6px; }
.wa-kart { border-radius: 7px; overflow: hidden; background: #0f3a30; }
.wa-gorsel { aspect-ratio: 1200 / 630; background: #2b2b2b; }
.wa-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-yazi { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.wa-yazi strong { font-size: 14px; line-height: 1.3; }
.wa-yazi span { font-size: 13px; line-height: 1.35; color: #b8c7c2; }
.wa-yazi small { font-size: 12px; color: #8fa39d; }
.wa-metin { padding: 0 6px; font-size: 14px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.wa-link { padding: 0 6px; font-size: 14px; color: #53bdeb; overflow-wrap: anywhere; }
.paylas-alt { display: flex; flex-direction: column; gap: 8px; }
.paylas-alt .btn { height: 50px; font-size: 15px; letter-spacing: 0; text-transform: none; }
.paylas-alt .btn-sari { height: 54px; font-size: 16px; }

/* ---------- Kurulum ve aktarım ---------- */
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.kod-kutu { display: flex; align-items: stretch; gap: 0; border: 1px solid var(--kenar); background: #0d0d0d; }
.kod-kutu code { flex: 1; min-width: 0; padding: 12px; font-size: 13px; line-height: 1.5; color: #fff; overflow-wrap: anywhere; user-select: all; }
.kod-kutu .btn { min-height: 0; border-width: 0 0 0 1px; border-color: var(--kenar); }
.kutu-tamam { padding: 12px 14px; background: #1d2a12; color: #cfe8a8; font-size: 14px; line-height: 1.45; }
.gunluk { margin: 0; padding: 12px; max-height: 360px; overflow: auto; background: #0d0d0d; border: 1px solid var(--cizgi); color: #cfcfcf; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
