/* ─── Telefon / tablet düzeni (TÜM şablonlarda EN SON yüklenir) ───────────────────────────
   Masaüstü (≥1280 px) görünümü bu dosyadan ETKİLENMEZ: her kural bir max-width sorgusu içindedir.
   Kurallar (tests/test_mobil_duzen.py korur):
   - 320–430 px genişlikte sayfa düzeyinde yatay kaydırma YOK; geniş veri tabloları yalnız kendi
     kutularında kayar, liste tabloları kartlara dönüşür.
   - ≤900 px: başlık tek satır (logo · tema · menü düğmesi); gezinme, Ayarlar, Hakkında ve profil
     menüsü (Şifremi değiştir, Giriş geçmişim, Çıkış) menü panelinde
     (static/js/mobil.js). Ana panel "liste → ayrıntı" yığını (static/js/app.js::secServis; geri düğmesi
     ve tarayıcı geri tuşu listeye döner).
   - Dokunma hedefleri ≥44 px; girdilerde font-size 16 px (iOS odakta yakınlaştırmasın).
   - Renkler yalnız tema.css tokenlarından (sabit renk yok). */

/* Menü düğmesi masaüstünde gizli */
.menu-dugme { display: none; }
.geri-dugme { display: none; }
.dar-etiket { display: none; }

/* ── Orta genişlik (tablet yatay / küçük dizüstü): başlık sarar, taşmaz ─────────────────── */
@media (max-width: 1279px) {
  header { height: auto; min-height: 56px; flex-wrap: wrap; row-gap: 6px; padding-top: 6px; padding-bottom: 6px; }
  header .logo-wrap img { height: 40px; }
  header .status-chip { display: none; }
  header .nav { flex-wrap: wrap; }
  /* Ana panel: başlık yüksekliği değişken → sabit 56 px yerine esnek sütun */
  body:has(> .container) { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
  body:has(> .container) > .container { flex: 1 1 auto; min-height: 0; height: auto; }
}

/* ── Dar ekran (telefon / dikey tablet) ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { overflow-x: hidden; }

  /* Başlık: logo · (boşluk) · tema · menü; geri kalanı menü panelinde */
  header { min-height: 56px; padding: 6px 12px; gap: 8px; flex-wrap: wrap; }
  header .logo-wrap { margin-right: auto; min-width: 0; gap: 8px; }
  header .logo-wrap img { height: 36px; }
  header .marka { font-size: 20px; white-space: nowrap; }
  header .sep, header .spacer, header .status-chip { display: none; }
  header .tema-dugme { order: 1; margin-left: 0; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .menu-dugme {
    order: 2; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 44px; min-height: 44px; padding: 0 12px;
    background: transparent; color: var(--t2); border: 1px solid var(--b2); border-radius: 8px;
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  }
  .menu-dugme[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); border-color: rgba(var(--accent-rgb),.35); }

  header .nav, header .profil-menu, header .hakkinda-dugme, header .ust-ayirici { display: none; }
  header.menu-acik .nav {
    display: flex; order: 3; flex-basis: 100%; flex-direction: column; gap: 2px;
    padding-top: 6px; border-top: 1px solid var(--border);
  }
  header.menu-acik .nav-btn { min-height: 44px; font-size: 14px; padding: 8px 12px; width: 100%; }
  header.menu-acik .nav-btn svg { width: 16px; height: 16px; }
  /* Ayarlar menüsü (yalnız yönetici): dar ekranda başlık satırında yer kaplamaz, menü panelinde
     gezinmenin altında tam genişlik; açılır liste panelin içinde akar (taşma yok). */
  header .ayar-menu { display: none; }
  header.menu-acik .ayar-menu {
    display: block; order: 3; flex-basis: 100%; margin-left: 0;
    padding-top: 6px; border-top: 1px solid var(--border);
  }
  header.menu-acik .ayar-dugme { display: flex; min-height: 44px; font-size: 14px; padding: 8px 12px; width: 100%; }
  header.menu-acik .ayar-dugme .ayar-ad { display: inline; }
  header.menu-acik .ayar-dugme .ayar-ok { margin-left: auto; }
  header.menu-acik .ayar-menu-liste { position: static; min-width: 0; margin-top: 4px; box-shadow: none; }
  header.menu-acik .ayar-menu-oge { display: flex; align-items: center; min-height: 44px; font-size: 14px; padding: 8px 12px 8px 32px; white-space: normal; }
  /* Hakkında: panelde etiketli tam genişlik satır */
  header.menu-acik .hakkinda-dugme {
    display: flex; order: 4; flex-basis: 100%; width: 100%; height: auto; min-height: 44px;
    justify-content: flex-start; padding: 8px 12px; font-size: 14px; color: var(--text-h);
    border-top: 1px solid var(--border); border-radius: 0;
  }
  header.menu-acik .hakkinda-dugme .ust-ad { display: inline; }
  /* Dil: başlık satırında yer kaplamaz; menü panelinde etiketli tam genişlik satır (Hakkında'nın üstü) */
  header .dil-secici { display: none; }
  header.menu-acik .dil-secici {
    display: flex; order: 4; flex-basis: 100%; width: 100%; min-height: 44px;
    padding: 6px 12px; gap: 10px; font-size: 14px; color: var(--text-h);
    border-top: 1px solid var(--border);
  }
  header.menu-acik .dil-secici .ust-ad { display: inline; }
  header.menu-acik .dil-secici select { margin-left: auto; min-height: 44px; min-width: 140px; font-size: 14px; }
  /* Profil: kimlik satırı + eylemler panelde her zaman açık (açılır liste değil) */
  header.menu-acik .profil-menu {
    display: block; order: 5; flex-basis: 100%; min-width: 0;
    padding-top: 6px; border-top: 1px solid var(--border);
  }
  header.menu-acik .profil-dugme { width: 100%; min-height: 44px; cursor: default; pointer-events: none; }
  header.menu-acik .profil-kimlik .oturum-ad { max-width: calc(100vw - 100px); font-size: 13px; }
  header.menu-acik .profil-ok { display: none; }
  header.menu-acik .profil-menu-liste,
  header.menu-acik .profil-menu-liste[hidden] {
    display: flex; position: static; min-width: 0; margin: 2px 0 4px; padding: 0;
    border: 0; box-shadow: none; background: transparent;
  }
  header.menu-acik .profil-menu-oge { min-height: 44px; font-size: 14px; padding: 8px 12px; white-space: normal; }

  /* Lisans bandı */
  .lisans-bandi { flex-wrap: wrap; padding: 8px 12px; }

  /* ── Ana panel: liste → ayrıntı yığını ── */
  body:has(> .container) { display: block; height: auto; }
  .container { display: block; height: auto; }
  .sidebar { width: auto; min-width: 0; border-right: none; overflow: visible; }
  .sidebar-header { position: static; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .sidebar-header > div { flex: 1 1 auto; }
  .sidebar-header .btn { min-height: 44px; flex: 1 1 auto; justify-content: center; font-size: 12.5px; }
  .sidebar-scroll { overflow: visible; padding-bottom: 76px; }
  .servis-kart { padding: 12px 14px; min-height: 56px; }
  .sk-name { min-width: 0; overflow-wrap: anywhere; }
  .sk-top { gap: 8px; align-items: flex-start; }
  .detail { display: none; overflow: visible; }
  body.detay-acik .sidebar { display: none; }
  body.detay-acik .detail { display: block; }
  .detail-inner { padding: 12px 12px 84px; }
  .geri-dugme {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; margin-bottom: 12px;
    background: var(--s2); color: var(--text-h); border: 1px solid var(--border); border-radius: 8px;
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .d-header { flex-direction: column; align-items: stretch; }
  .d-header-left { min-width: 0; align-items: flex-start; }
  .d-header-left > div:last-child { min-width: 0; }
  .d-service-name { overflow-wrap: anywhere; }
  .d-actions { justify-content: stretch; }
  .d-actions .btn { flex: 1 1 auto; justify-content: center; }
  .section { padding: 14px 12px; }
  .ayar { flex-wrap: wrap; }
  .ayar > div { flex-wrap: wrap; gap: 8px; }
  .ayar-left { min-width: 0; flex: 1 1 180px; }
  .ayar-right { flex-wrap: wrap; flex-shrink: 1; min-width: 0; }
  .ayar-right .inp:not(.inp-num):not(.inp-time) { flex: 1 1 160px; width: auto !important; min-width: 0; }
  .asistan-git { bottom: 12px; right: 12px; min-height: 44px; }

  /* Veritabanı sayfası: genel bakış 2 sütun, bakım özeti/öneriler sarar */
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ov-card { min-width: 0; padding: 12px; }
  .ov-val { overflow-wrap: anywhere; }
  .bakim-ozet { flex-wrap: wrap; padding: 12px; }
  .bakim-aksiyon { margin-left: 0; flex-basis: 100%; }
  .bakim-aksiyon .btn { width: 100%; justify-content: center; }
  .oneri { flex-wrap: wrap; }
  .oneri-metin { min-width: 0; flex: 1 1 200px; overflow-wrap: anywhere; }
  .section-header { flex-wrap: wrap; gap: 8px; }
  .vt-girdi { max-width: none; min-width: 0; flex: 1 1 100%; }
  .vt-dogrula > .parola-sarmal { max-width: none; min-width: 0; flex: 1 1 100%; }
  .vt-tablo, .vt-tablo tbody, .vt-tablo tr { display: block; width: 100%; }
  .vt-tablo th, .vt-tablo td { display: block; width: auto; padding: 4px 0; }
  .vt-tablo th { padding-top: 8px; border: none; }
  .toast { left: 12px; right: 12px; max-width: none; bottom: 12px; }

  /* Geniş veri tabloları kendi kutusunda kayar */
  .gecmis-kap, .tarih-tablo-wrap { -webkit-overflow-scrolling: touch; }
  .param-tablo.kaydir-dar { display: block; overflow-x: auto; }

  /* ── Diyaloglar ── */
  .modal { max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .modal-baslik { padding: 10px 12px 10px 16px; gap: 8px; }
  .modal-baslik h3 { min-width: 0; overflow-wrap: anywhere; }
  .modal-kapat { min-width: 44px; min-height: 44px; font-size: 24px; flex: none; }
  .modal-govde { padding: 14px 12px; }
  .modal-footer { flex-wrap: wrap; padding: 10px 12px; }
  .modal-footer .btn { min-height: 44px; flex: 1 1 auto; justify-content: center; }
  .modal-footer .btn[style*="margin-right:auto"] { flex-basis: 100%; margin-right: 0 !important; }
  .form-grid-2 { grid-template-columns: 1fr !important; }
  .param-satiri { flex-wrap: wrap; }
  .param-ad-input { width: auto; flex: 1 1 120px; }
  .param-deger-wrap { flex: 1 1 180px; min-width: 0; }
  .param-sil { min-width: 44px; min-height: 44px; }
  .param-ekle-btn { min-height: 44px; }
  .kilit-kutu { margin: 0 12px; }

  /* Kullanıcılar listesi: tablo → kart */
  .kullanici-tablo thead { display: none; }
  .kullanici-tablo, .kullanici-tablo tbody, .kullanici-tablo tr, .kullanici-tablo td { display: block; width: 100%; }
  .kullanici-tablo tr { border: 1px solid var(--border); border-radius: 8px; padding: 6px 4px; margin-bottom: 8px; }
  .kullanici-tablo td { border: none !important; padding: 4px 8px; }
  .kullanici-tablo td .form-input { width: 100%; padding: 8px 10px; }
  .kullanici-tablo .islemler .btn { min-height: 44px; flex: 1 1 auto; justify-content: center; }

  /* ── Girdiler: iOS odak yakınlaştırması olmasın (≥16 px), genişlik kutuya sığsın ── */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  select, textarea { font-size: 16px !important; max-width: 100%; }
  .form-input, .inp, .girdi, .vt-girdi { min-height: 44px; }
  .sz-tablo td .form-input, .param-tablo td .form-input { min-height: 44px; }
  input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; flex: none; }

  /* ── Dokunma hedefleri ── */
  .btn, .btn-ai, .nav-btn, .sekme, .adim, .sz-adim, .tema-dugme, .btn-sm, .btn-kucuk, .vt-kucuk { min-height: 44px; }
  .btn, .sz-adim, .modal-kapat, .menu-dugme { min-width: 44px; justify-content: center; }
  .btn-sm, .btn-kucuk, .vt-kucuk { padding-left: 12px; padding-right: 12px; font-size: 12.5px; }
  .sz-sec { min-height: 44px; padding: 0 12px; }
  .sz-tablo td, .esleme-tablo td { padding-top: 6px; padding-bottom: 6px; }
  /* Etiketsiz onay kutuları (tablo hücresinde): 28 px, hücre dokunma payı */
  td > input[type="checkbox"]:only-child, td > input[type="radio"]:only-child { width: 28px; height: 28px; margin: 8px; }
  .kolon-satir label, .kolon-kutu { min-height: 44px; min-width: 44px; }
  .kolon-izgara, .kolon-kutulari { max-height: 320px; }
  .dar-sohbetler { display: inline-flex !important; align-items: center; min-height: 44px; }
  .atla-baglanti { min-height: 44px; display: inline-flex; align-items: center; }
  .toggle { margin: 12px 4px; }
  .toggle::after { content: ''; position: absolute; inset: -12px -6px; }
  .secim, .anahtar, .kolon-kutu, .hv-kutu, .sz-secenek label, .vt-secenekler label { min-height: 44px; }
  label.sz-secenek, .sz-secenek label { display: flex; align-items: center; gap: 8px; min-height: 44px; text-transform: none; letter-spacing: 0; font-size: 13px; }
  details > summary { min-height: 44px; display: flex; align-items: center; }
  .pk-chip { min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; }
  label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) { min-height: 44px; }

  /* Giriş sayfası: klavye açılınca kart kaydırılabilsin; parola göster ve Giriş ≥44 px */
  body:has(> .kart) { overflow-y: auto; padding: 64px 0 24px; }
  .kart { padding: 32px 22px 26px; }
  .kart button[type="submit"] { min-height: 48px; }
  .tema-dugme-sabit { min-width: 44px; min-height: 44px; }
  .dil-secici-sabit { right: 66px; }
  .dil-secici-sabit select { min-height: 44px; }

  .lisans-bandi a { display: inline-flex; align-items: center; min-height: 44px; }
  .ayar-right label:has(input[type="checkbox"]) { min-height: 44px; padding-right: 4px; }
  button[onclick^="tabloAdiKaydet("] { min-width: 44px; justify-content: center; }

  /* Asistan: soru kutusu ve "Sor" yan yana, kutu ekranın altına yapışık (klavye açıkken ikisi birlikte görünür) */
  .soru-formu { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px; align-items: end; padding: 10px 12px; box-shadow: 0 -6px 14px rgba(var(--muted-rgb),.12); }
  .soru-formu textarea { min-height: 56px; max-height: 40vh; }
  .soru-formu .form-alt { margin-top: 0; flex-direction: column; align-items: stretch; gap: 6px; }
  .soru-formu .form-alt .btn { width: 100%; }
  .soru-formu .bekleme { font-size: 11px; max-width: 96px; }

  /* Görünümler / dışa aktar: yan yana girdiler kutuya sığsın */
  .yan-yana { min-width: 0; max-width: 100%; }
  .yan-yana > .girdi { min-width: 0; flex: 1 1 auto; }
  .yan-yana > select.girdi.kisa { flex: 0 0 112px; width: 112px; }
  .yan-yana > input.girdi.kisa { flex: 1 1 80px; width: auto; }
  .alan-satir > .alan { flex-basis: 100%; min-width: 0; }

  /* Zamanlanmış raporlar: eylem düğmeleri satıra sarar, gün seçimleri 44 px dokunma hedefi */
  .zr-tablo .satir-eylem { gap: 8px; }
  .zr-tablo .satir-eylem .btn { flex: 1 1 auto; justify-content: center; }
  .zr-bolum .section-header .gorunum-eylem .btn { flex: 1 1 auto; }
  #zGunler .secim { min-width: 44px; }

  /* Servis bildirimleri: eylemler satıra sarar; seçimler, yer tutucular ve tür kartları 44 px */
  .sb-eylemler .btn { flex: 1 1 auto; justify-content: center; }
  .sb-liste-bolum .section-header .gorunum-eylem .btn, .sb-bolum .sb-ekle { flex: 1 1 auto; }
  .sb-girdi { min-height: 44px; }
  .sb-yt, .sb-secim, .sb-tur-kart { min-height: 44px; }
  .sb-yt { display: inline-flex; align-items: center; }
  .sb-servisler { grid-template-columns: 1fr; max-height: 260px; }

  /* Hover'a bağlı işlev kalmasın: hover ile görünen öğeler dokunmada hep görünür */
  .sohbet-islem { opacity: 1; min-width: 44px; min-height: 44px; }
  .btn:hover { transform: none; }
}

/* ── Telefon (≤600 px): diyaloglar tam ekran, ızgaralar tek sütun ───────────────────────── */
@media (max-width: 600px) {
  /* Servis alan eşlemesi ve MGM parametreleri: liste tablosu → kart (etiketler CSS'ten) */
  .kolon-param-tablo thead, .mgm-param-tablo thead { display: none; }
  .kolon-param-tablo, .kolon-param-tablo tbody, .mgm-param-tablo, .mgm-param-tablo tbody { display: block; width: 100%; }
  .kolon-param-tablo tr, .mgm-param-tablo tr {
    display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; column-gap: 6px; align-items: center;
    border: 1px solid var(--border); border-radius: 8px; padding: 6px 4px; margin-bottom: 8px;
  }
  .kolon-param-tablo td, .mgm-param-tablo td { display: block; border: none !important; padding: 3px 4px; min-width: 0; }
  .kolon-param-tablo td:nth-child(1), .mgm-param-tablo td:nth-child(1) { grid-column: 1; grid-row: 1 / span 3; text-align: center; }
  .kolon-param-tablo td:nth-child(2), .mgm-param-tablo td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .kolon-param-tablo td:nth-child(3), .mgm-param-tablo td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .kolon-param-tablo td:nth-child(4), .mgm-param-tablo td:nth-child(4) { grid-column: 2 / span 2; grid-row: 3; }
  .kolon-param-tablo td:nth-child(5) { grid-column: 3; grid-row: 1 / span 2; }
  .kolon-param-tablo td:nth-child(2)::before { content: 'API alanı'; }
  .kolon-param-tablo td:nth-child(3)::before { content: 'Kolon adı (DB)'; }
  .kolon-param-tablo td:nth-child(4)::before { content: 'Açıklama'; }
  .mgm-param-tablo td:nth-child(2)::before { content: 'API alanı'; }
  .mgm-param-tablo td:nth-child(3)::before { content: 'DB kolonu'; }
  .mgm-param-tablo td:nth-child(4)::before { content: 'Açıklama'; }
  .kolon-param-tablo td:not(:first-child)::before, .mgm-param-tablo td:not(:first-child)::before {
    display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted);
  }
  .kolon-param-tablo td .form-input { width: 100%; }

  /* Sihirbaz 5. adım alan eşleme ve 3. adım OpenAPI rol tablosu: satır → kart */
  .sz-alan-tablo thead, #sz_oa_roller thead { display: none; }
  .sz-alan-tablo, .sz-alan-tablo tbody, #sz_oa_roller, #sz_oa_roller tbody { display: block; width: 100%; }
  .sz-alan-tablo tr, #sz_oa_roller tr {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8px; align-items: center;
    border-bottom: 1px solid var(--border); padding: 8px 10px;
  }
  .sz-alan-tablo td, #sz_oa_roller td { display: block; border: none; padding: 3px 0; min-width: 0; overflow-wrap: anywhere; }
  .sz-alan-tablo td:nth-child(1) { grid-column: 1 / -1; order: 0; }
  .sz-alan-tablo td:nth-child(2) { grid-column: 1; order: -1; font-weight: 700; }
  .sz-alan-tablo td:nth-child(3) { grid-column: 2; order: -1; color: var(--muted); text-align: right; }
  .sz-alan-tablo td:nth-child(4) { grid-column: 1 / -1; color: var(--t2); font-size: 11.5px; }
  .sz-alan-tablo td:nth-child(5) { grid-column: 1; }
  .sz-alan-tablo td:nth-child(6) { grid-column: 2; }
  .sz-alan-tablo td:nth-child(7) { grid-column: 1 / -1; text-align: left !important; }
  .sz-alan-tablo td:nth-child(5)::before { content: 'Kolon adı'; }
  .sz-alan-tablo td:nth-child(6)::before { content: 'Kolon tipi'; }
  .sz-alan-tablo td:nth-child(4)::before { content: 'Örnek: '; color: var(--muted); }
  .sz-alan-tablo td .form-input, #sz_oa_roller td .form-input { width: 100%; min-width: 0; }
  #sz_oa_roller td:nth-child(1) { grid-column: 1; font-weight: 700; }
  #sz_oa_roller td:nth-child(2) { grid-column: 2; color: var(--muted); text-align: right; }
  #sz_oa_roller td:nth-child(3), #sz_oa_roller td:nth-child(4), #sz_oa_roller td:nth-child(5) { grid-column: 1 / -1; min-width: 0 !important; }
  #sz_oa_roller td:nth-child(3)::before { content: 'Rol'; }
  #sz_oa_roller td:nth-child(4)::before { content: 'Değer'; }
  .sz-alan-tablo td:nth-child(5)::before, .sz-alan-tablo td:nth-child(6)::before,
  #sz_oa_roller td:nth-child(3)::before, #sz_oa_roller td:nth-child(4)::before {
    display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 2px;
  }
  .sz-kutu-etiket { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-size: 13px; }
  .sz-kutu-etiket input[type="checkbox"] { width: 22px; height: 22px; }
  .dar-etiket { display: inline; }
  .sz-tablo-wrap:has(> .sz-alan-tablo), .sz-tablo-wrap:has(> #sz_oa_roller) { max-height: none !important; overflow: visible; }
  .kolon-param-tablo td:first-child input[type="checkbox"] { width: 24px; height: 24px; }
  .tik-alani { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }

  .modal-overlay.acik { align-items: stretch; }
  .modal, .modal[style] { width: 100% !important; max-width: 100%; height: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: none; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat-card { padding: 10px 12px; min-width: 0; }
  .stat-val { font-size: 17px; overflow-wrap: anywhere; }
  .lisans-satir { flex-wrap: wrap; }
  .lisans-satir span:last-child { overflow-wrap: anywhere; min-width: 0; }
  .zr-dialog { width: 100%; max-width: 100%; height: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: none; margin: 0; }
  .zr-dialog form { max-height: 100dvh; height: 100%; }
  .zr-dialog .dialog-govde { flex: 1; padding: 14px 12px; }
  .zr-dialog .dialog-alt .btn { flex: 1; justify-content: center; }
  .zr-bolum > *:not(.section-header) { margin-left: 12px; margin-right: 12px; }
  .sb-dialog { width: 100%; max-width: 100%; height: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: none; margin: 0; }
  .sb-dialog form { max-height: 100dvh; height: 100%; }
  .sb-dialog .sb-dialog-govde { flex: 1; padding: 14px 12px; }
  .sb-dialog .sb-dialog-alt .btn { flex: 1; justify-content: center; }
  .sb-dialog .sb-satir > .sb-alan { flex-basis: 100%; min-width: 0; }
  .sb-liste-bolum > *:not(.section-header) { margin-left: 12px; margin-right: 12px; }
}
