/* ETP Merkez yonetim arayuzu. Gorsel dil yerel panel (static/css/etp.css) ve Sunucu Yoneticisi (yonetici/arayuz.html) ile ayni:
   Montserrat, slate tonlari, koyu lacivert ust bant, 12px kartlar, 8px alanlar, koyu degrade birincil buton, durum rozetleri.
   Bu dosya tek basinadir (sunucuda yalniz merkez/ paketi bulunur). Satir ici stil yok: sayfa CSP'si style-src 'self'. */
:root {
  --bg: #f8fafc; --panel: #ffffff; --ink: #080b0e; --ink2: #474c51; --muted: #6b7280; --line: #e8e8e8; --field: #d1d5db;
  --side: #0f172a; --side-ink: #cbd5e1; --accent: #1e293b; --accent-soft: #f1f5f9; --brand: #5fd3a8;
  --btn: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); --radius: 12px;
  --ok: #16a34a; --ok-soft: #dcfce7; --warn: #d97706; --warn-soft: #fef3c7; --err: #dc2626; --err-soft: #fee2e2;
  --info: #2563eb; --info-soft: #dbeafe; --off: #64748b;
  --mono: Consolas, "Cascadia Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px;
  letter-spacing: -.01em; line-height: 1.45; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -.03em; }
code, .mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; }
[hidden] { display: none !important; }

/* --- ust bant ------------------------------------------------------------------------------------------------------------ */
.ust { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px; padding: 0 24px; min-height: 60px;
  background: var(--side); color: var(--side-ink); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(15,23,42,.12); }
.marka { display: flex; align-items: center; gap: 10px; color: #fff; }
.marka:hover { text-decoration: none; }
.logo { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #5fd3a8, #2f6fb0);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.marka-ad b { display: block; color: #fff; font-size: 14px; letter-spacing: .4px; text-transform: uppercase; }
.marka-ad small { display: block; font-size: 11.5px; opacity: .7; font-weight: 500; white-space: nowrap; }
.menu { display: flex; gap: 2px; align-self: stretch; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a { display: flex; align-items: center; gap: 7px; padding: 0 14px; color: var(--side-ink); font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em; border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.menu a:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.menu a.on { color: #fff; border-bottom-color: var(--brand); background: rgba(255,255,255,.05); }
.kisi { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.kisi form { margin: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #334155; color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 12.5px; flex: 0 0 32px; }
.kisi-ad { line-height: 1.15; font-size: 13px; color: #fff; font-weight: 600; white-space: nowrap; }
.kisi-ad small { display: block; color: var(--side-ink); opacity: .75; font-size: 11px; font-weight: 500; }

/* --- icerik -------------------------------------------------------------------------------------------------------------- */
.icerik { width: 100%; max-width: 1480px; margin: 0 auto; padding: 22px 24px 48px; flex: 1; min-width: 0; }
.sayfa-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.sayfa-bas h1 { margin: 0; font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alt-baslik { color: var(--muted); font-size: 13px; margin-top: 3px; }
.alt-baslik b { color: var(--ink2); }
.kart { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,.04);
  padding: 16px 18px; margin-bottom: 14px; min-width: 0; }
.kart > h2, .kart-bas h2 { margin: 0 0 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink2); font-weight: 700; }
.kart > h2 small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.kart-bas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.kart-bas h2 { margin: 0; }
.kart-bas .sag { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.izgara { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 14px; }
.izgara > .kart { margin-bottom: 0; }
.alt { padding: 16px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; background: #fff; }

/* --- KPI kutulari -------------------------------------------------------------------------------------------------------- */
.kpiler { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; min-width: 0; }
.kart .kpi { background: var(--bg); }
.kpi-l { color: var(--ink2); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.kpi-v { font-weight: 800; letter-spacing: -.04em; font-size: 20px; margin-top: 3px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kpi-v.kucuk { font-size: 16px; }
.kpi-s { color: var(--muted); font-size: 11.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.ok .kpi-v { color: var(--ok); } .kpi.warn .kpi-v { color: var(--warn); } .kpi.err .kpi-v { color: var(--err); }
a.kpi { display: block; color: inherit; font-weight: inherit; transition: border-color .15s, box-shadow .15s; }
a.kpi:hover { text-decoration: none; border-color: var(--field); box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* --- rozetler ------------------------------------------------------------------------------------------------------------ */
.rozet { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--ink2); white-space: nowrap; line-height: 1.5; letter-spacing: -.01em; vertical-align: middle; }
.rozet::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--off); flex: 0 0 7px; }
.rozet.ok { background: var(--ok-soft); color: #166534; } .rozet.ok::before { background: var(--ok); }
.rozet.warn { background: var(--warn-soft); color: #78350f; } .rozet.warn::before { background: var(--warn); }
.rozet.err { background: var(--err-soft); color: #7f1d1d; } .rozet.err::before { background: var(--err); }
.rozet.bilgi { background: var(--info-soft); color: #1e3a8a; } .rozet.bilgi::before { background: var(--info); }
.rozet.off { background: #f1f5f9; color: #475569; } .rozet.off::before { background: var(--off); }
.rozet.yalin::before { display: none; }
.rozet.buyuk { font-size: 13px; padding: 5px 12px; }
.isaret { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-size: 11.5px; font-weight: 700; color: #92400e;
  background: var(--warn-soft); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.sayac { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; font-size: 11px;
  font-weight: 700; background: var(--err); color: #fff; margin-left: 6px; }
.sayac.gri { background: #e2e8f0; color: var(--ink2); }
.nokta { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--off); margin-right: 6px; vertical-align: 1px; }
.nokta.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,.14); } .nokta.err { background: var(--err); }
.nokta.warn { background: var(--warn); }

/* --- tablolar ------------------------------------------------------------------------------------------------------------ */
.tablo-kap { overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: thin; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { background: #f8fafc; color: var(--ink2); font-weight: 700; text-align: left; font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .03em; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tbody tr:last-child td { border-bottom: 0; }
table.t tbody tr:hover td { background: #fbfcfd; }
table.t .sag { text-align: right; font-variant-numeric: tabular-nums; }
table.t .orta { text-align: center; }
table.t .nw { white-space: nowrap; }
table.t tr.pasif td { opacity: .55; }
table.t td .alt-satir { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; font-weight: 500; }
table.t td.mesaj { min-width: 260px; word-break: break-word; }
table.t td a.ad { font-weight: 700; color: var(--ink); }
.bos { color: var(--muted); text-align: center; padding: 28px 10px; }
td.bos { text-align: center; }

/* --- formlar ------------------------------------------------------------------------------------------------------------- */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 16px; align-items: end; }
.f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: -.03em; min-width: 0; }
.f > span small { font-weight: 500; color: var(--muted); letter-spacing: 0; }
.f.genis { grid-column: 1 / -1; }
.f.tik { display: flex; align-items: center; gap: 8px; font-weight: 500; min-height: 40px; cursor: pointer; }
.f.tik input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
input[type=text], input[type=password], input[type=search], select, textarea {
  font-family: inherit; font-size: 14px; letter-spacing: -.02em; color: var(--ink); background: #fff; border: 1px solid var(--field);
  border-radius: 8px; padding: 9px 12px; min-height: 40px; width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 32px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center; }
input::placeholder, textarea::placeholder { color: #9ca3af; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,41,59,.12); }
.satir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.satir.ust-bosluk { margin-top: 14px; }
.satir .bosluk { flex: 1; }
form.tek { display: inline-flex; margin: 0; }
.secim-satir { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.secim-satir select { width: auto; min-width: 190px; }

/* --- dugmeler ------------------------------------------------------------------------------------------------------------ */
.btn { font-family: inherit; cursor: pointer; background: var(--btn); border: 0; border-radius: 8px; padding: 10px 18px; font-size: 14px;
  font-weight: 700; letter-spacing: -.04em; color: #fff; min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap; line-height: 1.2; }
.btn:hover { filter: brightness(1.25); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--accent); border: 1px solid var(--field); font-weight: 600; }
.btn.ghost:hover { filter: none; background: var(--accent-soft); }
.btn.kirmizi { color: var(--err); }
.btn.ghost.kirmizi:hover { background: var(--err-soft); border-color: #fca5a5; }
.btn.small { padding: 6px 12px; font-size: 12.5px; min-height: 32px; }
.btn.mini { padding: 3px 9px; font-size: 12px; min-height: 26px; border-radius: 6px; }
.btn.koyu { background: transparent; color: var(--side-ink); border: 1px solid rgba(255,255,255,.18); font-weight: 600; }
.btn.koyu:hover { background: rgba(255,255,255,.08); filter: none; }
.btn:disabled { opacity: .45; cursor: default; filter: none; }

/* --- bildirimler --------------------------------------------------------------------------------------------------------- */
.flashlar { display: grid; gap: 8px; margin-bottom: 14px; }
.flash { border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; border: 1px solid transparent; }
.flash.ok { background: var(--ok-soft); color: #14532d; border-color: #bbf7d0; }
.flash.hata { background: var(--err-soft); color: #7f1d1d; border-color: #fecaca; }
.flash.uyari { background: var(--warn-soft); color: #78350f; border-color: #fde68a; }
.flash.bilgi { background: var(--accent-soft); color: var(--ink2); border-color: var(--line); }
.uyari { border-radius: 8px; padding: 9px 12px; font-size: 12.5px; line-height: 1.5; word-break: break-word; }
.uyari.err { background: var(--err-soft); color: #7f1d1d; }
.uyari.warn { background: var(--warn-soft); color: #78350f; }
.uyari.bilgi { background: var(--accent-soft); color: var(--ink2); }
.uyari + .uyari { margin-top: 8px; }
.ipucu { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 10px 0 0; }
.ipucu code, .uyari code { background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; color: var(--ink2); }

/* --- kayit kodu / parola kutusu ------------------------------------------------------------------------------------------ */
.kod-kutu { border: 2px dashed var(--brand); background: #f0fdf8; border-radius: 12px; padding: 16px 18px; margin-bottom: 14px;
  display: flex; gap: 16px 22px; align-items: center; flex-wrap: wrap; }
.kod-kutu .kod { font: 800 30px/1.2 var(--mono); letter-spacing: .08em; color: var(--accent); user-select: all; word-break: break-all; }
.kod-kutu .kod.parola { font-size: 22px; letter-spacing: .04em; }
.kod-kutu .metin { flex: 1 1 280px; font-size: 13px; color: var(--ink2); line-height: 1.5; }
.kod-kutu .metin b { color: var(--ink); }

/* --- sekmeler ------------------------------------------------------------------------------------------------------------ */
.sekmeler { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 14px; overflow-x: auto; scrollbar-width: none; }
.sekmeler::-webkit-scrollbar { display: none; }
.sekmeler a { padding: 9px 14px; border-radius: 8px 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; margin-bottom: -1px; }
.sekmeler a:hover { color: var(--ink); text-decoration: none; background: rgba(255,255,255,.6); }
.sekmeler a.on { background: #fff; border-color: var(--line); border-bottom-color: #fff; color: var(--ink); }
html.js .sekme { display: none; }
html.js .sekme.on { display: block; }

/* --- tanim listeleri, ham veri ------------------------------------------------------------------------------------------- */
dl.bilgi { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; gap: 7px 16px; margin: 0; font-size: 13px; }
dl.bilgi dt { color: var(--muted); font-weight: 500; }
dl.bilgi dd { margin: 0; min-width: 0; word-break: break-word; font-weight: 600; }
dl.bilgi dd .ince { font-weight: 500; color: var(--ink2); }
.sorunlar { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.sorunlar li { border-radius: 8px; padding: 8px 10px; font-size: 12.5px; background: var(--warn-soft); color: #78350f; word-break: break-word; }
.sorunlar li.hata { background: var(--err-soft); color: #7f1d1d; }
.sorunlar li b { font-family: var(--mono); font-size: 12px; }
pre.ham { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 12px/1.55 var(--mono);
  max-height: 460px; overflow: auto; white-space: pre-wrap; word-break: break-word; margin: 10px 0 0; color: var(--ink2); }
details.katla { margin-top: 12px; }
details.katla > summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink2); }
details.ayr > summary { cursor: pointer; color: var(--muted); font-size: 11.5px; font-weight: 600; }
details.ayr pre { margin: 6px 0 0; font: 11.5px/1.5 var(--mono); white-space: pre-wrap; word-break: break-word; color: var(--ink2);
  background: var(--bg); border-radius: 6px; padding: 6px 8px; max-width: 640px; }

/* --- canli olcumler ------------------------------------------------------------------------------------------------------ */
.olcum-ust { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.olcum-ust input[type=search] { max-width: 320px; }
.olcum-bilgi { color: var(--muted); font-size: 12.5px; }
table.t td.deger { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
table.t td.deger small { font-weight: 500; color: var(--muted); margin-left: 3px; }
table.t tr.eski td.deger, table.t tr.eski td.zaman { color: #94a3b8; }
.al { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 800; padding: 0 5px; border-radius: 4px; vertical-align: 1px; }
.al.l, .al.h { background: var(--warn-soft); color: #92400e; }
.al.ll, .al.hh { background: var(--err-soft); color: #991b1b; }

/* --- hatalar ve kayitlar (dugum gunlugu) --------------------------------------------------------------------------------- */
.ince { color: var(--muted); font-weight: 500; }
.sekmeler a .sayac { margin-left: 6px; vertical-align: 1px; }
table.t td .alt-satir.isaret-metin { color: #92400e; font-weight: 600; }
.g-mesaj { white-space: pre-wrap; word-break: break-word; }
details.iz { margin-top: 4px; }
details.iz > summary { cursor: pointer; color: #991b1b; font-size: 11.5px; font-weight: 700; width: max-content; max-width: 100%; }
details.iz > summary:hover { text-decoration: underline; }
details.iz pre { margin: 6px 0 0; font: 11.5px/1.5 var(--mono); white-space: pre-wrap; word-break: break-word; color: #e2e8f0;
  background: var(--side); border-radius: 8px; padding: 10px 12px; max-height: 460px; overflow: auto; tab-size: 4; }
.iki-satir { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; word-break: break-word; }
.donem { display: inline-flex; border: 1px solid var(--field); border-radius: 8px; overflow: hidden; background: #fff; }
.donem a { padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.donem a + a { border-left: 1px solid var(--field); }
.donem a:hover { text-decoration: none; background: var(--accent-soft); }
.donem a.on { background: var(--accent); color: #fff; }
.cipler { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.cip { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 4px 3px 12px; font-size: 12.5px; color: var(--ink2); }
.cip a { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--ink2); font-size: 15px; line-height: 1; }
.cip a:hover { background: #e2e8f0; text-decoration: none; }
.kart > form.fgrid + .tablo-kap, .kart > .cipler + .tablo-kap { margin-top: 12px; }
.izgara.genis-sol { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
@media (max-width: 1100px) { .izgara.genis-sol { grid-template-columns: minmax(0, 1fr); } }

/* --- giris sayfasi ------------------------------------------------------------------------------------------------------- */
.giris-sayfa { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.giris-ust { padding: 32px 24px; border-bottom: 1px solid var(--line); text-align: center; }
.giris-ust .marka-buyuk { display: inline-flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 800; letter-spacing: -.05em; color: var(--ink); }
.giris-ust .logo { flex-basis: 44px; width: 44px; height: 44px; font-size: 15px; border-radius: 10px; }
.giris-ust p { margin: 12px 0 0; font-size: 14px; color: var(--ink2); letter-spacing: -.02em; }
.giris-kap { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 22px 16px 40px; }
.giris { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.giris h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.04em; text-align: center; }
.giris p.alt-yazi { margin: 6px 0 26px; color: var(--ink2); font-size: 15px; letter-spacing: -.03em; text-align: center; }
.giris label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: -.04em; margin: 0 0 8px; }
.giris .alan { margin-bottom: 20px; }
.giris input[type=text], .giris input[type=password] { font-size: 16px; padding: 14px 16px; min-height: 49px; letter-spacing: -.03em; }
.giris .goster { border: 0; background: none; color: var(--muted); font: 500 12.5px Montserrat, sans-serif; cursor: pointer; padding: 2px 4px; }
.giris .btn { width: 100%; margin-top: 6px; padding: 14px; font-size: 16px; min-height: 47px; }
.giris .flash { margin-bottom: 18px; }
.giris .not { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.giris-alt { border-top: 1px solid var(--line); padding: 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* --- hata sayfasi -------------------------------------------------------------------------------------------------------- */
.hata-kart { max-width: 560px; margin: 40px auto; text-align: center; padding: 34px 26px; }
.hata-kart .kod-no { font-size: 46px; font-weight: 800; letter-spacing: -.05em; color: var(--accent); }
.hata-kart p { color: var(--ink2); font-size: 15px; margin: 8px 0 22px; }
.hata-kart .satir { justify-content: center; }

/* --- dar ekran ----------------------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {                 /* dugum tablosu yatay kayarken ad sutunu yerinde kalir */
  table.t.dugum-tablo th:first-child, table.t.dugum-tablo td:first-child { position: sticky; left: 0; z-index: 1; background: #fff;
    box-shadow: 1px 0 0 var(--line); min-width: 150px; }
  /* kap dolgusunun (soldaki 16-18 px) altindan kayan icerik gorunmesin: yapiskan hucrenin solunda beyaz serit */
  table.t.dugum-tablo th:first-child::before, table.t.dugum-tablo td:first-child::before { content: ""; position: absolute; top: 0;
    bottom: 0; right: 100%; width: 20px; background: #fff; }
  table.t.dugum-tablo th:first-child { background: #f8fafc; }
  table.t.dugum-tablo tr.pasif td:first-child { opacity: 1; color: #94a3b8; }
}
@media (max-width: 720px) {                  /* olay tablolari kart gibi: zaman, seviye, kod ust satirda; mesaj altta */
  table.t.yigin thead { display: none; }
  table.t.yigin, table.t.yigin tbody { display: block; }
  table.t.yigin tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  table.t.yigin tbody tr:last-child { border-bottom: 0; }
  table.t.yigin td { display: block; border: 0; padding: 0; }
  table.t.yigin td.mesaj { flex: 1 0 100%; min-width: 0; }
  table.t.yigin td.bos { flex: 1 0 100%; }
  table.t.yigin tbody tr:hover td { background: none; }
}
@media (max-width: 900px) {
  .ust { flex-wrap: wrap; padding: 8px 16px 0; gap: 8px 14px; }
  .menu { order: 3; flex: 1 0 100%; margin: 0 -16px; padding: 0 6px; }
  .menu a { padding: 11px 12px; }
  .kisi { padding-bottom: 8px; }
  .kisi-ad { display: none; }
  .icerik { padding: 16px; }
  .tablo-kap { margin: 0 -16px; padding: 0 16px; }
  .kart { padding: 14px 16px; }
}
@media (max-width: 480px) {
  .giris { padding: 28px 20px; }
  .giris-ust { padding: 22px 16px; }
  .giris-ust .marka-buyuk { font-size: 24px; }
  .kod-kutu .kod { font-size: 24px; }
  .kpi-v { font-size: 18px; }
  .marka-ad small { display: none; }
}
