/* =================================================================
   Yönetim paneli yerleşimi
   Masaüstü: solda koyu lacivert sabit menü (gruplu). Telefon: altta sekme çubuğu
   (kartlar Android telefondan yazıldığı için panel telefonda da tam çalışır).
   ================================================================= */
.kabuk { min-height: 100vh; display: grid; grid-template-columns: 264px minmax(0, 1fr); }

/* ---------- yan menü (her temada koyu) ---------- */
.yan { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px; padding: 20px 14px 14px;
       background: radial-gradient(120% 40% at 0% 0%, rgba(59, 130, 246, .22), transparent 60%), linear-gradient(180deg, #0C1B3D 0%, #081329 100%);
       color: rgba(255, 255, 255, .72); overflow-y: auto; scrollbar-width: thin; }
/* Marka: Electrocod logosu (koyu zemin sürümü) ve altında panelin adı */
.marka { display: grid; gap: 9px; justify-items: start; padding: 6px 10px 14px; text-decoration: none; }
.marka-logo { display: block; height: 34px; width: auto; }
.marka-alt { font: 600 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.menu { display: grid; gap: 2px; }
.menu a { position: relative; display: flex; gap: 11px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none;
          color: rgba(255, 255, 255, .72); font-weight: 550; font-size: 14px; transition: background-color .15s, color .15s; }
.menu a .icon { opacity: .85; }
.menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.menu a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
/* Seçili sayfa: Electrocod kırmızısı işaret (logodaki kırmızı ve lacivertle bütün) */
.menu a[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #E5483B; }
.menu a[aria-current="page"] .icon { color: #FCA5A5; opacity: 1; }
.menu-ayrac { margin: 16px 10px 5px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .38); }
.menu-renk { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.menu-renk.omega { background: #3D95F0; box-shadow: 0 0 0 3px rgba(61, 149, 240, .2); }
.menu-renk.kurumsal { background: #E5483B; box-shadow: 0 0 0 3px rgba(229, 72, 59, .2); }
.yan-alt { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ben-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .1);
              color: #fff; font: 600 12.5px/1 var(--baslik); }
.ben { flex: 1; min-width: 0; line-height: 1.25; }
.ben b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ben small { display: block; color: rgba(255, 255, 255, .5); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ikon-dugme { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 0; background: transparent; color: rgba(255, 255, 255, .6); cursor: pointer; flex: none; }
.ikon-dugme:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- içerik ---------- */
.icerik { padding: 32px 36px 72px; display: grid; gap: 22px; align-content: start; max-width: 1180px; width: 100%; outline: none; min-width: 0; }
.sayfa-baslik { display: flex; gap: 14px 18px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; padding-bottom: 4px; }
.sayfa-baslik h1 { font-size: 27px; }
.sayfa-baslik p { color: var(--muted); margin-top: 6px; max-width: 70ch; line-height: 1.55; }
.sayfa-baslik .eylemler { display: flex; gap: 8px; flex-wrap: wrap; }
.ust-baslik { display: block; margin-bottom: 6px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.geri { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 550; margin-bottom: 8px; }
.geri:hover { color: var(--brand-ink); }

.sekmeler, .ust-cubuk { display: none; }

/* ---------- genel bakış ---------- */
.ozet-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ozet-kart { position: relative; display: grid; gap: 2px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
             box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.ozet-kart:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-buyuk); }
.ozet-ikon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px; background: var(--brand-soft); color: var(--brand-ink); }
.ozet-kart.ok .ozet-ikon { background: var(--ok-soft); color: var(--ok); }
.ozet-kart.uyari .ozet-ikon { background: var(--warn-soft); color: var(--warn); }
.ozet-kart.hata .ozet-ikon { background: var(--err-soft); color: var(--err); }
.ozet-deger { font: 600 30px/1.1 var(--baslik); letter-spacing: -.02em; }
.ozet-etiket { font-weight: 600; font-size: 14px; }
.ozet-aciklama { font-size: 12.5px; color: var(--muted); }

.genel-izgara { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.genel-sol, .genel-sag { display: grid; gap: 20px; }
.mini-liste { display: grid; margin: -6px -8px; }
.mini-satir { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 12px; text-decoration: none; color: inherit; }
.mini-satir:hover { background: var(--surface-2); }
.mini-metin b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-metin small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-durum { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.adim-listesi { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: adim; }
.adim-listesi li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 10px 0; position: relative; }
.adim-listesi li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 46px; bottom: -6px; width: 2px; background: var(--line); border-radius: 2px; }
.adim-no { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 13.5px/1 var(--baslik); color: var(--brand-ink);
           background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.adim-listesi b { display: block; font-weight: 600; margin-top: 5px; }
.adim-listesi span:not(.adim-no) { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.hizli-liste { display: grid; gap: 8px; }
.hizli-islem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 13px;
               border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .15s, background-color .15s; }
.hizli-islem:hover { border-color: color-mix(in srgb, var(--brand) 35%, transparent); background: var(--brand-soft); }
.hizli-islem b { display: block; font-weight: 600; font-size: 14.5px; }
.hizli-islem small { display: block; font-size: 12.5px; color: var(--muted); }
.hizli-islem > .icon:last-child { color: var(--muted); }
.hizli-ikon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.hizli-islem.birincil .hizli-ikon { background: linear-gradient(140deg, #3B82F6, #1D4ED8); color: #fff; border-color: transparent; }

.tur-dagilim { display: grid; gap: 14px; }
.tur-satir { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.tur-renk { width: 30px; height: 30px; border-radius: 9px; grid-row: span 2; }
.tur-renk.uye, .tur-cubuk .uye { background: linear-gradient(140deg, #3D95F0, #0B2A5E); }
.tur-renk.kurumsal, .tur-cubuk .kurumsal { background: linear-gradient(140deg, #E5483B, #2A1513); }
.tur-renk.kisisel, .tur-cubuk .kisisel { background: linear-gradient(140deg, #D8B47C, #2A241C); }
.tur-ad b { font-weight: 600; font-size: 14px; }
.tur-ad small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.tur-sayi { font: 600 16px/1 var(--baslik); }
.tur-cubuk { grid-column: 2 / 4; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.tur-cubuk span { display: block; height: 100%; border-radius: 999px; min-width: 6px; }

/* ---------- kişi listesi ---------- */
.arac-cubugu { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.arama { position: relative; flex: 1 1 280px; min-width: 0; }
.arama .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.arama input { padding-left: 40px; background: var(--surface); }
.suzgecler { display: flex; gap: 6px; flex-wrap: wrap; }
.suzgec { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
          font: 600 13px/1 var(--f); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background-color .15s, border-color .15s; }
.suzgec:hover { border-color: var(--line-strong); }
.suzgec[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.suzgec .sayi { opacity: .65; }

.liste { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.liste-satir { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 18px;
               border-top: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color .15s; }
.liste-satir:first-child { border-top: 0; }
.liste-satir:hover { background: var(--surface-2); }
.liste-satir .ad { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-satir .alt { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-satir .durumlar { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.liste-satir > .icon { color: var(--muted); }
.bos { padding: 44px 20px; text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.bos b { color: var(--ink); font-family: var(--baslik); font-weight: 600; }
.bos > .icon { width: 30px; height: 30px; padding: 10px; box-sizing: content-box; border-radius: 14px; background: var(--surface-2); }

/* ---------- kişi detayı ---------- */
.detay { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; align-items: start; }
.detay-ana { counter-reset: bolum; }
.detay-ana > .panel > .panel-baslik h2::before, .detay-ana > details.panel > summary h2::before {
  counter-increment: bolum; content: counter(bolum); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%;
  font: 600 12px/1 var(--baslik); color: var(--brand-ink); background: var(--brand-soft); vertical-align: 1px; }
.detay-yan { display: grid; gap: 20px; position: sticky; top: 20px; }
.kimlik { display: flex; gap: 16px; align-items: center; }
.kimlik .avatar { cursor: pointer; position: relative; }
.foto-dugmeler { display: flex; gap: 8px; flex-wrap: wrap; }
.kart-adres { display: flex; gap: 8px; align-items: center; padding: 9px 10px 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
              font-family: var(--mono); font-size: 12.5px; min-width: 0; }
.kart-adres span { overflow-x: auto; white-space: nowrap; flex: 1; min-width: 0; scrollbar-width: none; }
.qr-on { display: grid; place-items: center; padding: 14px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.qr-on img { width: 160px; height: 160px; image-rendering: pixelated; }
.dugme-sirasi { display: flex; gap: 8px; flex-wrap: wrap; }
.dugme-sirasi .btn { flex: 1 1 auto; }
.gecmis { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.gecmis li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.gecmis li:first-child { border-top: 0; }
.kaydet-cubugu { position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end; align-items: center; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 35%); }

/* Kartın canlı önizlemesi: telefon çerçevesinde gerçek kartvizit sayfası */
.onizleme-telefon { position: relative; width: 236px; height: 480px; margin: 0 auto; border-radius: 34px; padding: 9px; background: #0B1220;
                    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 24px 48px -24px rgba(15, 23, 42, .55); }
.onizleme-telefon::before { content: ""; position: absolute; top: 15px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 999px; background: #0B1220; z-index: 2; }
.onizleme-ekran { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #0A1020; position: relative; }
.onizleme-ekran iframe { position: absolute; left: 0; top: 0; width: 375px; height: 790px; border: 0; transform: scale(.582); transform-origin: 0 0; }

/* ---------- kart yazma ---------- */
.yazma-sahne { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 30px 18px; }
.yazma-sahne h2 { font-size: 22px; }
.nfc-halka { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; position: relative; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }
.nfc-halka .icon { width: 48px; height: 48px; color: var(--brand-ink); }
.nfc-halka.bekliyor::before, .nfc-halka.bekliyor::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--brand-ink); opacity: 0; animation: dalga 2s ease-out infinite; }
.nfc-halka.bekliyor::after { animation-delay: 1s; }
.nfc-halka.basarili { background: var(--ok-soft); border-color: transparent; }
.nfc-halka.basarili .icon { color: var(--ok); }
.nfc-halka.hatali { background: var(--err-soft); border-color: transparent; }
.nfc-halka.hatali .icon { color: var(--err); }
@keyframes dalga { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.yazilacak { display: grid; gap: 4px; }
.yazilacak b { font: 600 20px/1.25 var(--baslik); }
.secim-listesi { display: grid; gap: 0; max-height: 440px; overflow-y: auto; }
.secim-listesi button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; padding: 10px 12px;
                        border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; font: inherit; cursor: pointer; border-radius: 0; }
.secim-listesi button:first-child { border-top: 0; }
.secim-listesi button:hover { background: var(--surface-2); }
.secim-listesi button[aria-current="true"] { background: var(--brand-soft); }
.secim-listesi .ad { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- tablolar ---------- */
.tablo-kap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.tablo { border-collapse: collapse; width: 100%; font-size: 14px; }
.tablo th, .tablo td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tablo thead th { border-top: 0; font: 600 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.tablo tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.tablo td input { min-height: 38px; padding: 7px 10px; font-size: 14px; }
.tablo tr.hatali td { background: var(--err-soft); }
.tablo .dar { width: 1%; white-space: nowrap; }

/* ---------- içe aktarma adımları ---------- */
.adimlar { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.adimlar span { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.adimlar span[aria-current="step"] { color: var(--ink); font-weight: 600; border-color: color-mix(in srgb, var(--brand) 35%, transparent); background: var(--brand-soft); }
.adimlar b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font: 600 12px/1 var(--baslik); }
.adimlar span[aria-current="step"] b { background: var(--brand); color: #fff; border-color: var(--brand); }
.dosya-birak { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 36px 18px; display: grid; gap: 10px; justify-items: center; text-align: center; background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dosya-birak:hover { border-color: var(--brand-ink); }
.dosya-birak.uzerinde { border-color: var(--brand-ink); background: var(--brand-soft); }
.dosya-birak > .icon { width: 30px; height: 30px; padding: 12px; box-sizing: content-box; border-radius: 16px; color: var(--brand-ink); background: var(--brand-soft); }
.ilerleme { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.ilerleme span { display: block; height: 100%; background: linear-gradient(90deg, #3B82F6, #1D4ED8); transition: width .25s; }

/* ---------- dil sekmeleri (şirket bilgileri) ---------- */
.dil-secici { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); gap: 2px; }
.dil-secici button { min-height: 32px; padding: 0 12px; border-radius: 8px; border: 0; background: transparent; color: var(--ink-2); font: 600 13px/1 var(--f); cursor: pointer; }
.dil-secici button[aria-pressed="true"] { background: var(--surface); color: var(--brand-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }
[data-dil-alani]:not(.etkin) { display: none; }
.tekrar-satir { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.tekrar-satir-ust { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tekrar-satir-ust b { font-size: 13px; color: var(--muted); font-family: var(--mono); }

/* ---------- menü sayfası (telefon) ---------- */
.menu-sayfa-baslik { margin: 6px 4px -10px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.menu-sayfa { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.menu-sayfa a, .menu-sayfa button { display: flex; gap: 14px; align-items: center; padding: 13px 16px; border: 0; border-top: 1px solid var(--line); background: transparent;
                                    color: inherit; font: 550 15px/1.25 var(--f); text-decoration: none; text-align: left; cursor: pointer; width: 100%; }
.menu-sayfa > :first-child { border-top: 0; }
.menu-sayfa a > .icon:first-child, .menu-sayfa button > .icon:first-child { width: 20px; height: 20px; color: var(--brand-ink); }
.menu-sayfa b { display: block; font-weight: 600; }
.menu-sayfa small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.menu-sayfa .icon:last-child { margin-left: auto; color: var(--muted); }
.menu-sayfa button { color: var(--err); }
.menu-sayfa button > .icon:first-child { color: var(--err); }

/* ---------- giriş ---------- */
.giris-sayfa { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
               background: radial-gradient(80% 60% at 50% 0%, rgba(59, 130, 246, .28), transparent 70%), linear-gradient(180deg, #0C1B3D, #060E20); }
.giris-kutu { width: 100%; max-width: 410px; display: grid; gap: 22px; }
.giris-kutu .marka { justify-items: center; padding: 0; }
.giris-kutu .marka-logo { height: 42px; }
.giris-kutu .panel { padding: 26px; box-shadow: var(--shadow-buyuk); }
.giris-kutu h1 { font-size: 21px; }

/* ---------- telefon ---------- */
@media (max-width: 1100px) {
  .genel-izgara { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .kabuk { grid-template-columns: minmax(0, 1fr); }
  .yan { display: none; }
  .ust-cubuk { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 40;
               padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: color-mix(in srgb, var(--surface) 92%, transparent);
               backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .ust-cubuk img { display: block; height: 26px; width: auto; }
  .ust-cubuk span { font: 600 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .icerik { padding: 20px 16px calc(100px + env(safe-area-inset-bottom, 0px)); gap: 18px; }
  .sayfa-baslik h1 { font-size: 23px; }
  .sayfa-baslik .eylemler { width: 100%; }
  .sayfa-baslik .eylemler .btn { flex: 1 1 auto; }
  .ozet-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ozet-kart { padding: 14px; }
  .ozet-deger { font-size: 25px; }
  .detay { grid-template-columns: minmax(0, 1fr); }
  .detay-yan { position: static; order: -1; }
  .sekmeler { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
              padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 92%, transparent);
              backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .sekmeler a { display: grid; justify-items: center; gap: 3px; padding: 6px 4px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600; }
  .sekmeler a[aria-current="page"] { color: var(--brand-ink); }
  .sekmeler a[aria-current="page"] .icon { background: var(--brand-soft); }
  .sekmeler .icon { width: 40px; height: 26px; padding: 3px 9px; box-sizing: border-box; border-radius: 999px; }
  .liste-satir { grid-template-columns: auto minmax(0, 1fr) auto; padding: 12px 14px; }
  .liste-satir .durumlar { grid-column: 2 / 3; justify-content: flex-start; }
  .liste-satir > .icon { grid-row: 1 / 3; grid-column: 3; }
  .kaydet-cubugu { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mini-satir { grid-template-columns: auto minmax(0, 1fr); }
  .mini-durum { grid-column: 2; justify-content: flex-start; }
}

/* ---------- kart tipi seçimi ---------- */
.tur-secim { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.tur-secenek { position: relative; display: grid; gap: 6px; align-content: start; padding: 14px 14px 14px 44px; border-radius: 13px;
               border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.tur-secenek::after { content: ""; position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 8px; }
.tur-secenek[data-tur-secenek="uye"]::after { background: linear-gradient(140deg, #3D95F0, #0B2A5E); }
.tur-secenek[data-tur-secenek="kurumsal"]::after { background: linear-gradient(140deg, #E5483B, #2A1513); }
.tur-secenek[data-tur-secenek="kisisel"]::after { background: linear-gradient(140deg, #D8B47C, #2A241C); }
.tur-secenek .tur-ust { padding-right: 32px; }
.tur-secenek:hover { border-color: var(--line-strong); }
.tur-secenek input { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.tur-secenek.secili { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.tur-secenek:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.tur-ust { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cip.omega { background: rgba(0, 96, 191, .1); color: #0058AF; border-color: transparent; }
@media (prefers-color-scheme: dark) { .cip.omega { background: rgba(125, 184, 245, .12); color: #7DB8F5; } }
.cip.kisisel { background: rgba(164, 124, 69, .12); color: #7E5C2E; border-color: transparent; }
@media (prefers-color-scheme: dark) { .cip.kisisel { background: rgba(227, 199, 154, .12); color: #E3C79A; } }
@media (max-width: 560px) { .tur-secim { grid-template-columns: minmax(0, 1fr); } }

/* Açılır panel (sosyal medya) */
details.panel > summary { list-style: none; position: relative; padding-right: 28px; cursor: pointer; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::after { content: ""; position: absolute; right: 4px; top: 6px; width: 8px; height: 8px; border-right: 2px solid var(--muted);
                                 border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
details.panel[open] > summary::after { transform: rotate(-135deg); top: 10px; }

/* Üye kartı logo önizlemesi */
.logo-onizleme { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.logo-onizleme span { display: grid; place-items: center; height: 84px; border-radius: 12px; border: 1px solid var(--line); padding: 16px; }
.logo-onizleme .koyu { background: #0A1020; }
.logo-onizleme .acik { background: #FFFFFF; }
.logo-onizleme img { max-height: 34px; max-width: 100%; }
details.panel:not([open]) > :not(summary) { display: none; }
