/* Marpataş Marka Analiz Portalı — tasarım token'ları + ortak bileşenler.
   Kaynak: design_handoff_marpatas_portal/README.md ("Tasarım Token'ları") ve design/*.dc.html. */

/* ------------------------------------------------------------------ */
/* Token'lar                                                           */
/* ------------------------------------------------------------------ */
:root,
:root[data-theme="koyu"] {
  --bg-app: #0a0a12;
  --bg-sidebar: #0e0e18;
  --bg-surface: #14141f;
  --bg-surface-hover: #1c1c2a;
  --bg-input: #181824;
  --bg-modal: #13131f;
  --bg-panel: #11111c;
  --bg-active: #1c1527;
  --bg-active-border: rgba(226, 55, 68, 0.25);
  --bg-syscard: #12121e;

  --card-bg: linear-gradient(160deg, rgba(26, 26, 40, 0.85), rgba(14, 14, 24, 0.95));
  --card-border: rgba(255, 255, 255, 0.07);
  --card-shadow: none;
  --card-hover-border: rgba(226, 55, 68, 0.3);

  --line-1: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.08);
  --line-3: rgba(255, 255, 255, 0.1);
  --line-4: rgba(255, 255, 255, 0.12);
  --line-5: rgba(255, 255, 255, 0.14);
  --fill-1: rgba(255, 255, 255, 0.03);
  --fill-2: rgba(255, 255, 255, 0.05);
  --fill-3: rgba(255, 255, 255, 0.06);
  --fill-4: rgba(255, 255, 255, 0.08);

  --text-strong: #ffffff;
  --text-body: #e8e9ee;
  --text-light: #c9ccd6;
  --text-muted: #9ca0b0;
  --text-soft: #787d8f;
  --text-soft-2: #6e7284;
  --text-faint: #565a6c;
  --text-icon: #5d6070;
  --placeholder: #5d6070;

  --red-500: #e23744;
  --red-gradient: linear-gradient(135deg, #e23744, #9c1420);
  --red-gradient-logo: linear-gradient(135deg, #e23744, #8f141e);
  --red-text: #ff5a66;
  --red-soft: #ff8891;
  --amber: #f0b429;
  --green: #17c58c;
  --green-text: #17c58c;
  --green-ink: #06281c;
  --green-dot: #2ee6a8;

  --main-glow: radial-gradient(1100px 700px at 50% 20%, rgba(90, 30, 60, 0.22), transparent 65%),
               radial-gradient(800px 500px at 85% 80%, rgba(226, 55, 68, 0.08), transparent 60%);
  --overlay: rgba(5, 5, 10, 0.72);
  --modal-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --scroll-thumb: rgba(255, 255, 255, 0.1);
  --scroll-color: rgba(255, 255, 255, 0.12);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --font: 'Archivo', system-ui, sans-serif;
  --font-wide: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
  color-scheme: dark;
}

:root[data-theme="acik"] {
  --bg-app: #f4f5f8;
  --bg-sidebar: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f6f7f9;
  --bg-input: #f6f7f9;
  --bg-modal: #ffffff;
  --bg-panel: #ffffff;
  --bg-active: #fdecee;
  --bg-active-border: rgba(200, 32, 45, 0.25);
  --bg-syscard: #f6f7f9;

  --card-bg: #ffffff;
  --card-border: #e4e6ec;
  --card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.05);
  --card-hover-border: rgba(200, 32, 45, 0.35);

  --line-1: #e4e6ec;
  --line-2: #e4e6ec;
  --line-3: #e4e6ec;
  --line-4: #e4e6ec;
  --line-5: #e4e6ec;
  --fill-1: #f1f2f6;
  --fill-2: #f1f2f6;
  --fill-3: #f1f2f6;
  --fill-4: #f1f2f6;

  --text-strong: #1d2027;
  --text-body: #2f3440;
  --text-light: #3a3f4a;
  --text-muted: #5b6070;
  --text-soft: #7a7f8d;
  --text-soft-2: #7a7f8d;
  --text-faint: #8d92a0;
  --text-icon: #5b6070;
  --placeholder: #9aa0ad;

  --red-text: #c8202d;
  --red-soft: #c8202d;
  --amber: #9a6700;
  --green-text: #0f7a55;

  --main-glow: radial-gradient(1000px 520px at 50% -10%, rgba(226, 55, 68, 0.06), transparent 60%);
  --overlay: rgba(20, 22, 30, 0.45);
  --modal-shadow: 0 30px 80px rgba(16, 24, 40, 0.18);
  --scroll-thumb: rgba(20, 24, 40, 0.16);
  --scroll-color: rgba(20, 24, 40, 0.18);
  color-scheme: light;
}

/* ------------------------------------------------------------------ */
/* Temel                                                               */
/* ------------------------------------------------------------------ */
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--scroll-color) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(226, 55, 68, 0.5); }
::-webkit-scrollbar-corner { background: transparent; }

html, body { margin: 0; }
[hidden] { display: none !important; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red-text); text-decoration: none; }
a:hover { color: var(--red-soft); }
button { font-family: inherit; }
input::placeholder { color: var(--placeholder); }
:focus-visible { outline: 2px solid rgba(226, 55, 68, 0.7); outline-offset: 2px; }
input:focus-visible { outline: none; border-color: rgba(226, 55, 68, 0.5) !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Animasyonlar */
@keyframes dkIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dkBar { from { width: 0; } }
@keyframes dkGrow { from { height: 0; } }
/* 'backwards': bitince transform serbest kalır, böylece kart hover'ındaki translateY çalışır */
.dk-in { animation: dkIn 0.6s var(--ease) var(--d, 0s) backwards; }
.dk-in-5 { animation: dkIn 0.5s var(--ease) var(--d, 0s) backwards; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
/* İlk yüklemede menü genişlik geçişini kapat (localStorage durumunda sıçrama olmasın) */
.no-anim, .no-anim * { transition: none !important; }

/* ------------------------------------------------------------------ */
/* Yerleşim                                                            */
/* ------------------------------------------------------------------ */
.kabuk { min-height: 100vh; display: flex; }

.yan-menu {
  width: 280px; flex: none;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--line-1);
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto; overflow-x: hidden;
  transition: width 0.35s var(--ease);
}
:root[data-menu="kapali"] .yan-menu { width: 0; border-right-width: 0; }
.yan-menu__ic { width: 280px; min-height: 100%; display: flex; flex-direction: column; }

.logo { padding: 22px 20px; display: flex; align-items: center; gap: 14px; color: inherit; }
.logo:hover { color: inherit; }
.logo__kutu {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--red-gradient-logo);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(226, 55, 68, 0.45);
  font-family: var(--font-wide); font-weight: 800; font-size: 20px; color: #fff;
}
/* Marpataş amblemi (yıldızlı küre): kutu zemini yerine kendi biçimi + kırmızı ışıma */
.logo__amblem {
  background: none; border-radius: 50%; box-shadow: none; object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(226, 55, 68, 0.45));
}
:root[data-theme="acik"] .logo__amblem { filter: drop-shadow(0 2px 6px rgba(200, 32, 45, 0.25)); }
.logo__ad { font-family: var(--font-wide); font-weight: 800; font-size: 18px; color: var(--text-strong); letter-spacing: 0.02em; }
.logo__alt { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; color: var(--text-soft-2); text-transform: uppercase; }

.nav { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nav__oge {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 14px;
  color: var(--text-muted); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; background: transparent;
  cursor: pointer; width: 100%; text-align: left; font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__oge:hover { background: var(--fill-2); color: var(--text-strong); }
.nav__oge svg.ikon { width: 20px; height: 20px; flex: none; stroke: currentColor; }
.nav__oge.aktif {
  background: var(--bg-active); color: var(--text-strong); font-weight: 700;
  border-color: var(--bg-active-border);
}
.nav__oge.aktif svg.ikon { stroke: var(--red-text); }
.nav__oge.aktif:hover { background: var(--bg-active); }
.nav__rozet {
  margin-left: auto; background: var(--red-500); color: #fff; border-radius: 12px;
  font-size: 11px; font-weight: 800; padding: 2px 9px; box-shadow: 0 0 12px rgba(226, 55, 68, 0.5);
}
.nav__ok { width: 14px; height: 14px; flex: none; transition: transform 0.3s ease; }
.nav__rozet + .nav__ok { margin-left: -6px; }
.nav__ok--sag, .nav__rozet[hidden] + .nav__ok { margin-left: auto; }
.nav__oge[aria-expanded="true"] .nav__ok { transform: rotate(180deg); }
.nav__etiket {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 18px 16px 6px; color: var(--text-faint);
}
.nav form { margin: 0; }

/* Açılır bülten alt menüsü */
.alt-menu {
  display: grid; grid-template-rows: 0fr; margin-top: -6px;
  transition: grid-template-rows 0.35s var(--ease);
}
.alt-menu.acik { grid-template-rows: 1fr; }
.alt-menu__kap { overflow: hidden; min-height: 0; }
.alt-menu__liste {
  margin: 6px 0 4px 25px; padding-left: 12px;
  border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 2px;
}
.alt-menu__ara {
  width: 100%; margin: 0 0 6px;
  border: 1px solid var(--line-2); background: var(--bg-surface);
  border-radius: 9px; padding: 8px 10px;
  font-family: inherit; font-size: 12px; color: var(--text-body); outline: none;
}
.bs {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  color: var(--text-muted); font-size: 13px; font-weight: 700;
  background: transparent;
}
.bs:hover { background: var(--fill-2); color: var(--text-strong); }
.bs__nokta { width: 6px; height: 6px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, 0.18); }
:root[data-theme="acik"] .bs__nokta { background: #d5d8e0; }
.bs__metin { flex: 1; min-width: 0; }
.bs__tarih { display: block; font-size: 11px; font-weight: 500; color: var(--text-soft-2); margin-top: 1px; }
.bs__rozet {
  flex: none; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 800; white-space: nowrap;
  background: var(--fill-3); color: var(--text-light);
}
.bs__rozet--bekliyor { background: rgba(226, 55, 68, 0.18); color: var(--red-text); }
.bs__rozet--tamam { background: rgba(23, 197, 140, 0.12); color: var(--green-text); }
.bs__rozet--bos { color: var(--text-faint); }
.bs.aktif { background: rgba(226, 55, 68, 0.14); color: var(--text-strong); }
.bs.aktif .bs__nokta { background: var(--red-text); box-shadow: 0 0 8px rgba(226, 55, 68, 0.8); }
.bs--ozel { color: var(--red-text); cursor: pointer; border: 0; width: 100%; text-align: left; font-family: inherit; }
.bs--ozel .bs__nokta { background: transparent; }
.bs--ozel .bs__rozet { background: transparent; color: var(--red-text); }
.bs--sonucyok { color: var(--text-soft); cursor: default; }
.bs--sonucyok:hover { background: transparent; color: var(--text-soft); }

.sistem-kart {
  margin: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--bg-syscard); border: 1px solid var(--line-1);
  display: flex; align-items: center; gap: 10px;
}
.sistem-kart__nokta {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--green-dot); box-shadow: 0 0 10px rgba(46, 230, 168, 0.7);
}
.sistem-kart__baslik { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.sistem-kart__alt { font-size: 11px; color: var(--text-soft-2); }

/* Ana alan */
.ana {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  background: var(--main-glow);
}
.ust {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 28px; border-bottom: 1px solid var(--line-1); flex-wrap: wrap;
}
.ust__menu {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--bg-surface); padding: 0;
}
.ust__menu:hover { background: var(--bg-surface-hover); }
.ust__menu svg { stroke: var(--text-muted); transition: transform 0.35s ease; }
:root[data-menu="kapali"] .ust__menu svg { transform: scaleX(-1); }
.ust__ara { flex: 1; max-width: 420px; position: relative; }
.ust__ara svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); stroke: var(--text-icon); }
.ust__ara input {
  width: 100%; border: 1px solid var(--line-2); background: var(--bg-surface);
  border-radius: 24px; padding: 12px 18px 12px 38px;
  font-family: inherit; font-size: 14px; color: var(--text-body); outline: none;
}
.ust__sag { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.tema-dugme {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 12px; border-radius: 20px; border: 1px solid var(--line-3);
  background: var(--bg-surface); font-size: 12px; font-weight: 700; color: var(--text-muted);
  white-space: nowrap; flex: none; font-family: inherit;
}
.tema-dugme:hover { color: var(--text-strong); border-color: rgba(226, 55, 68, 0.4); }
.tema-dugme .gunes, :root[data-theme="acik"] .tema-dugme .ay { display: block; }
.tema-dugme .ay, :root[data-theme="acik"] .tema-dugme .gunes { display: none; }
.zil { position: relative; cursor: pointer; background: none; border: 0; padding: 0; display: flex; }
.zil svg { stroke: var(--text-muted); }
.zil:hover svg { stroke: var(--text-strong); }
.zil__nokta {
  position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d59; box-shadow: 0 0 8px rgba(255, 77, 89, 0.8);
}
.kimlik { text-align: right; }
.kimlik__ad { font-weight: 700; font-size: 13px; color: var(--text-strong); }
.kimlik__alt { font-size: 11px; color: var(--text-soft-2); }
.kimlik__alt--premium { color: var(--amber); font-weight: 700; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 2px solid rgba(226, 55, 68, 0.55); background: var(--bg-surface);
  color: var(--text-strong); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; box-shadow: 0 0 16px rgba(226, 55, 68, 0.25);
}

.icerik { padding: 44px 48px 64px; max-width: 1480px; width: 100%; }
.icerik--dar { max-width: 1200px; }

/* ------------------------------------------------------------------ */
/* Tipografi bileşenleri                                               */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--red-text);
  font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.eyebrow svg { stroke: var(--red-text); flex: none; }
.h1 {
  margin: 14px 0 0; font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em; font-weight: 800;
}
.h1--buyuk { font-size: clamp(40px, 5vw, 64px); }
.h1--panel { margin-top: 12px; font-size: clamp(36px, 4.5vw, 58px); }
.h1__guclu { font-weight: 800; color: var(--text-strong); }
.h1__ince { font-weight: 300; color: var(--text-soft); }
.alt-metin { margin: 14px 0 0; color: var(--text-muted); font-size: 16px; }
.alt-metin b { color: var(--red-text); }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/* Kart / buton / rozet                                                */
/* ------------------------------------------------------------------ */
.kart {
  background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow);
  border-radius: 18px; padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.kart--hover:hover { transform: translateY(-4px); border-color: var(--card-hover-border); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 12px; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; text-decoration: none;
}
.btn--kirmizi { border: none; background: var(--red-gradient); color: #fff; box-shadow: 0 0 22px rgba(226, 55, 68, 0.4); }
.btn--kirmizi:hover { filter: brightness(1.15); color: #fff; }
.btn--ikincil { border-color: var(--line-5); background: var(--bg-surface); color: var(--text-strong); }
.btn--ikincil:hover { background: var(--bg-surface-hover); color: var(--text-strong); }
.btn--cerceve { border-color: rgba(226, 55, 68, 0.45); background: rgba(226, 55, 68, 0.08); color: var(--red-text); }
.btn--cerceve:hover { background: rgba(226, 55, 68, 0.16); color: var(--red-text); }
.btn__arti { color: var(--red-text); font-size: 16px; font-weight: 800; }

.bos-kutu {
  margin-top: 32px; padding: 44px 24px; text-align: center;
  border: 1px dashed var(--line-4); border-radius: 18px;
}
.bos-kutu__baslik { font-size: 17px; font-weight: 800; color: var(--text-strong); }
.bos-kutu__alt { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ------------------------------------------------------------------ */
/* Modal (Bülten Arşivi vb.)                                           */
/* ------------------------------------------------------------------ */
.ortu {
  position: fixed; inset: 0; background: var(--overlay);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 70;
}
.kapat-dugme {
  color: var(--text-muted); cursor: pointer; font-size: 14px; font-weight: 700;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-4);
  white-space: nowrap; background: transparent; font-family: inherit;
}
.kapat-dugme:hover { background: var(--fill-3); color: var(--text-strong); }

.arsiv {
  background: var(--bg-modal); border: 1px solid var(--line-3); border-radius: 22px;
  width: 100%; max-width: 640px; height: min(720px, calc(100vh - 48px));
  display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--modal-shadow);
  animation: dkIn 0.3s var(--ease) both;
}
.arsiv__bas { padding: 22px 24px 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.arsiv__ust { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text); }
.arsiv__baslik { font-size: 22px; font-weight: 800; color: var(--text-strong); margin-top: 6px; }
.arsiv__alt { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.arsiv__ara { padding: 0 24px; position: relative; }
.arsiv__ara svg { position: absolute; left: 38px; top: 50%; transform: translateY(-50%); stroke: var(--text-icon); }
.arsiv__ara input {
  width: 100%; border: 1px solid var(--line-3); background: var(--bg-input); border-radius: 14px;
  padding: 13px 16px 13px 40px; font-family: inherit; font-size: 15px; color: var(--text-body); outline: none;
}
.arsiv__filtre { padding: 14px 24px 12px; display: flex; gap: 8px; overflow-x: auto; flex: none; }
.cip {
  flex: none; white-space: nowrap; padding: 7px 13px; border-radius: 20px;
  font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit;
  background: transparent; color: var(--text-muted); border: 1px solid var(--line-4);
}
.cip:hover { color: var(--text-strong); }
.cip.aktif { background: rgba(226, 55, 68, 0.16); color: var(--red-text); border-color: rgba(226, 55, 68, 0.5); }
.cip-ayrac { flex: none; width: 1px; background: var(--line-3); margin: 2px 4px; }
.arsiv__liste { flex: 1; overflow-y: auto; padding: 4px 16px 12px; position: relative; }
.arsiv__grup {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft); padding: 14px 10px 6px;
}
.arsiv__satir {
  display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 12px; cursor: pointer;
  background: transparent; border: 1px solid transparent; width: 100%; text-align: left; font-family: inherit;
}
.arsiv__satir:hover { background: rgba(226, 55, 68, 0.08); }
.arsiv__satir.secili { background: rgba(226, 55, 68, 0.14); border-color: rgba(226, 55, 68, 0.45); }
.arsiv__no { font-weight: 800; font-size: 15px; color: var(--text-strong); min-width: 104px; }
.arsiv__tarih { flex: 1; font-size: 13px; color: var(--text-muted); }
.arsiv__tarih b { color: var(--red-text); }
.arsiv__rozet { font-size: 12px; font-weight: 700; color: var(--text-soft); }
.arsiv__rozet--bekliyor { padding: 3px 10px; border-radius: 10px; font-weight: 800; background: rgba(226, 55, 68, 0.18); color: var(--red-text); }
.arsiv__rozet--dosya { color: var(--text-light); }
.arsiv__bos { padding: 40px 10px; text-align: center; color: var(--text-soft); font-size: 14px; }
.arsiv__dip {
  padding: 12px 24px; border-top: 1px solid var(--line-1); font-size: 12px; color: var(--text-soft);
  display: flex; justify-content: space-between; gap: 12px;
}

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--green-ink); padding: 13px 24px; border-radius: 30px;
  font-size: 14px; font-weight: 800; box-shadow: 0 0 30px rgba(23, 197, 140, 0.5); z-index: 60;
}

/* ------------------------------------------------------------------ */
/* Giriş ekranı                                                        */
/* ------------------------------------------------------------------ */
.giris {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: var(--main-glow), var(--bg-app);
}
.giris__kutu { width: 100%; max-width: 420px; }
.giris__kart { padding: 32px; border-radius: 22px; }
.giris__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.giris__logo-img { display: none; height: 56px; width: auto; }
:root[data-theme="acik"] .giris__logo-img { display: block; }
:root[data-theme="acik"] .giris__logo-m { display: none; }
.giris__baslik { margin: 0; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
.giris__alt { margin: 8px 0 24px; color: var(--text-muted); font-size: 14px; }
.alan { margin-bottom: 16px; }
.alan label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.alan input[type="email"], .alan input[type="text"], .alan input[type="password"] {
  width: 100%; border: 1px solid var(--line-3); background: var(--bg-input); border-radius: 12px;
  padding: 13px 16px; font-family: inherit; font-size: 15px; color: var(--text-body); outline: none;
}
.onay { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); margin: 4px 0 22px; cursor: pointer; }
.onay input { accent-color: var(--red-500); width: 16px; height: 16px; }
.giris .btn { width: 100%; padding: 14px; }
.uyari {
  margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-size: 13px; font-weight: 600;
  background: rgba(226, 55, 68, 0.1); border: 1px solid rgba(226, 55, 68, 0.35); color: var(--red-text);
}
.uyari--bilgi { background: var(--fill-2); border-color: var(--line-3); color: var(--text-muted); }

/* ------------------------------------------------------------------ */
/* Giriş ekranı — Baykar'a özel tanıtım + yapışkan giriş kartı          */
/* Kaynak: design_handoff_marpatas_portal/GIRIS_SAYFASI.md, Giriş.dc.html */
/* ------------------------------------------------------------------ */
:root:has(.gr) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { :root:has(.gr) { scroll-behavior: auto; } }
.gr {
  --gr-yuzey: linear-gradient(160deg, rgba(26, 26, 40, 0.85), rgba(14, 14, 24, 0.95));
  --gr-cizgi: rgba(255, 255, 255, 0.06);
  min-height: 100vh; overflow-x: clip;
  background: radial-gradient(1200px 760px at 30% -10%, rgba(90, 30, 60, 0.32), transparent 65%),
              radial-gradient(900px 600px at 95% 30%, rgba(226, 55, 68, 0.10), transparent 60%), var(--bg-app);
}
:root[data-theme="acik"] .gr {
  --gr-yuzey: #ffffff;
  --gr-cizgi: #e4e6ec;
  background: radial-gradient(1200px 760px at 30% -10%, rgba(226, 55, 68, 0.07), transparent 65%),
              radial-gradient(900px 600px at 95% 30%, rgba(226, 55, 68, 0.05), transparent 60%), var(--bg-app);
}
.gr [id] { scroll-margin-top: 80px; }

/* Üst çubuk */
.gr-ust {
  position: sticky; top: 0; z-index: 30; background: rgba(10, 10, 18, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--gr-cizgi);
}
:root[data-theme="acik"] .gr-ust { background: rgba(255, 255, 255, 0.8); }
.gr-ust__ic { max-width: 1320px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 28px; }
.gr-marka { display: flex; align-items: center; gap: 12px; color: inherit; flex: none; }
.gr-marka:hover { color: inherit; }
.gr-marka img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(226, 55, 68, 0.45)); }
:root[data-theme="acik"] .gr-marka img { filter: drop-shadow(0 2px 6px rgba(200, 32, 45, 0.25)); }
.gr-marka > span { display: flex; flex-direction: column; }
.gr-marka__ad { font-family: var(--font-wide); font-weight: 800; font-size: 16px; color: var(--text-strong); letter-spacing: 0.02em; }
.gr-marka__alt { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; color: var(--text-soft-2); text-transform: uppercase; }
.gr-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.gr-nav a { padding: 8px 14px; border-radius: 10px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.gr-nav a:hover { background: var(--fill-2); color: var(--text-strong); }
.gr-ust__giris {
  flex: none; padding: 10px 18px; border-radius: 11px; background: var(--red-gradient); color: #fff;
  font-size: 14px; font-weight: 700; box-shadow: 0 0 18px rgba(226, 55, 68, 0.35);
}
.gr-ust__giris:hover { filter: brightness(1.15); color: #fff; }

/* Ana satır: tanıtım (sol) + giriş kartı (sağ) */
.gr-satir { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: flex; gap: 0 56px; align-items: flex-start; flex-wrap: wrap; }
.gr-akis { flex: 1 1 560px; min-width: 0; padding-bottom: 40px; }
.gr-kart { flex: 1 1 340px; max-width: 420px; margin: 0 auto; padding: 40px 0 8px; position: relative; }
@media (min-width: 1000px) {
  .gr-satir { flex-wrap: nowrap; }
  .gr-kart { order: 1; position: sticky; top: 96px; padding: 64px 0 40px; }
}
@media (min-width: 1000px) and (max-height: 820px) { .gr-kart { top: 76px; padding-top: 24px; } }

/* Açılış */
.gr-hero { padding: 88px 0 72px; }
.gr-eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--red-text);
  font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.gr-h1 {
  margin: 18px 0 0; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 800; color: var(--text-strong); text-wrap: balance;
}
.gr-lead { margin: 22px 0 0; max-width: 580px; color: var(--text-muted); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.gr-cipler { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.gr-cip {
  padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line-3); background: var(--fill-1);
  font-size: 13px; font-weight: 600; color: var(--text-light);
}
.gr-cip--kirmizi { border-color: rgba(226, 55, 68, 0.3); background: rgba(226, 55, 68, 0.08); font-weight: 700; color: var(--red-text); }

/* Ürün önizleme (yan yana karşılaştırma penceresinin statik kopyası) */
.gr-onizleme { position: relative; margin: 56px 0 0; max-width: 760px; }
.gr-onizleme__arka {
  position: absolute; inset: 24px -18px -18px 24px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(26, 26, 40, 0.6), rgba(14, 14, 24, 0.7)); border: 1px solid rgba(255, 255, 255, 0.05);
}
:root[data-theme="acik"] .gr-onizleme__arka { background: #eceef3; border-color: #e1e4ea; }
.gr-yy {
  position: relative; background: var(--bg-panel); border: 1px solid var(--line-3); border-radius: 24px;
  overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
:root[data-theme="acik"] .gr-yy { box-shadow: var(--modal-shadow); }
.gr-yy__bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--card-border); }
.gr-yy__ust { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text); }
.gr-yy__alt { font-size: 12px; color: var(--text-soft); margin-top: 3px; }
.gr-yy__x { color: var(--text-soft); font-size: 18px; padding: 4px 8px; }
.gr-yy__govde { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.gr-yy__taraf { padding: 28px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.gr-etiket { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 11px; border-radius: 20px; }
.gr-etiket--yesil { background: rgba(23, 197, 140, 0.12); color: var(--green-text); }
.gr-etiket--kirmizi { background: rgba(226, 55, 68, 0.14); color: var(--red-text); }
.gr-yy__ad {
  font-family: var(--font-wide); font-weight: 800; font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.04em; line-height: 1.15; color: var(--text-strong); overflow-wrap: anywhere;
}
.gr-yy__ad--iki { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gr-yy__kelime { display: flex; gap: 2px; }
.gr-harf { color: var(--red-text); background: rgba(226, 55, 68, 0.16); border-radius: 7px; padding: 0 2px; }
.gr-harf--kucuk { border-radius: 5px; padding: 0 1px; }
.gr-yy__bilgi { font-size: 12px; color: var(--text-soft); }
.gr-dinle {
  display: flex; align-items: center; gap: 7px; border: 1px solid var(--line-4); background: var(--bg-surface);
  color: var(--text-body); font-weight: 700; font-size: 12px; padding: 8px 14px; border-radius: 20px;
}
.gr-dinle svg { stroke: var(--red-text); }
.gr-yy__orta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 14px;
  border-left: 1px solid var(--line-1); border-right: 1px solid var(--line-1);
}
.gr-halka {
  width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(#ff5a66 328deg, var(--fill-4) 0);
}
:root[data-theme="acik"] .gr-halka { background: conic-gradient(#e23744 328deg, #eceef2 0); }
.gr-halka__ic {
  width: 68px; height: 68px; border-radius: 50%; background: var(--bg-panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gr-halka__oran { font-size: 20px; font-weight: 800; color: var(--text-strong); }
.gr-halka__etiket { font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--text-soft); }
.gr-ikisi {
  background: var(--red-gradient); color: #fff; font-weight: 700; font-size: 11px; padding: 7px 12px;
  border-radius: 20px; box-shadow: 0 0 16px rgba(226, 55, 68, 0.35); white-space: nowrap;
}
.gr-yy__kartlar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px;
  padding: 18px 20px 22px; border-top: 1px solid var(--card-border);
}
.gr-kutu { padding: 14px 16px; border-radius: 14px; background: var(--fill-1); border: 1px solid var(--card-border); }
.gr-kutu__baslik { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; }
.gr-boyut { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 7px; }
.gr-boyut:last-child { margin-bottom: 0; }
.gr-boyut__ad { width: 62px; color: var(--text-muted); }
.gr-boyut__iz { flex: 1; height: 6px; background: var(--fill-4); border-radius: 4px; overflow: hidden; }
.gr-boyut__dolu {
  height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ff5a66, #9c1420);
  animation: dkBar 1s var(--ease) var(--d, 0s) both;
}
.gr-boyut b { width: 32px; text-align: right; color: var(--text-strong); }
.gr-mal { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.gr-mal:last-child { margin-bottom: 0; }
.gr-mal__sinif {
  flex: none; min-width: 30px; text-align: center; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 800;
  background: rgba(226, 55, 68, 0.15); color: var(--red-text);
}
.gr-mal__ad { font-size: 12px; color: var(--text-light); line-height: 1.45; }
.gr-rozet {
  display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; background: rgba(226, 55, 68, 0.15); color: var(--red-text);
}
.gr-not { font-size: 12px; color: var(--text-light); line-height: 1.55; margin-top: 9px; }
@keyframes yuzer { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.gr-yuzer {
  position: absolute; right: -14px; bottom: -22px; padding: 11px 18px; border-radius: 30px;
  background: var(--green); color: var(--green-ink); font-size: 13px; font-weight: 800;
  box-shadow: 0 0 30px rgba(23, 197, 140, 0.5); animation: yuzer 4s ease-in-out infinite;
}

/* Tanıtım bölümleri */
.gr-bolum { padding: 72px 0; border-top: 1px solid var(--gr-cizgi); }
.gr-bolum__ust { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-text); position: relative; }
.gr-h2 {
  margin: 12px 0 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 800; color: var(--text-strong);
}
.gr-adimlar { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.gr-adim { padding: 24px; border-radius: 18px; background: var(--gr-yuzey); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.gr-adim--vurgu { border-color: rgba(226, 55, 68, 0.3); box-shadow: 0 0 40px rgba(226, 55, 68, 0.08); }
.gr-adim__no { font-family: var(--font-wide); font-size: 34px; font-weight: 800; color: var(--red-text); line-height: 1; }
.gr-adim__baslik { margin: 18px 0 0; font-size: 17px; font-weight: 800; color: var(--text-strong); }
.gr-adim__metin { margin: 8px 0 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.gr-ozellikler { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.gr-ozellik { transition: transform 0.25s ease, border-color 0.25s ease; }
.gr-ozellik:hover { transform: translateY(-4px); border-color: var(--card-hover-border); }
.gr-on { height: 96px; border-radius: 12px; background: var(--fill-1); border: 1px solid var(--line-1); }
.gr-on--vs {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 10px;
  font-family: var(--font-wide); font-weight: 800; font-size: 17px; line-height: 1.15; color: var(--text-strong);
}
.gr-on__vs { color: var(--text-faint); font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.gr-on--karar { display: flex; align-items: center; justify-content: center; gap: 16px; }
.gr-on__red {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line-5); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
:root[data-theme="koyu"] .gr-on__red { border-color: rgba(255, 255, 255, 0.18); }
.gr-on__sonra { padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line-5); color: var(--text-muted); font-size: 12px; font-weight: 700; }
.gr-on__itiraz {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red-gradient); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 22px rgba(226, 55, 68, 0.5);
}
.gr-on--isi { padding: 14px; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(2, 1fr); gap: 5px; }
.gr-on__h { border-radius: 5px; background: rgba(255, 255, 255, 0.06); }
.gr-on__h--1 { background: rgba(255, 255, 255, 0.12); }
.gr-on__h--s { background: rgba(240, 180, 41, 0.55); }
.gr-on__h--k { background: var(--red-gradient); }
.gr-on__h--0t { border: 2px solid var(--green); }
:root[data-theme="acik"] .gr-on__h--0, :root[data-theme="acik"] .gr-on__h--0t { background: #eceef2; }
:root[data-theme="acik"] .gr-on__h--1 { background: #dcdfe6; }
.gr-on--asistan { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.gr-on__ben { align-self: flex-end; padding: 7px 12px; border-radius: 12px 12px 4px 12px; background: var(--red-gradient); color: #fff; font-size: 12px; font-weight: 600; }
.gr-on__bot { align-self: flex-start; padding: 7px 12px; border-radius: 12px 12px 12px 4px; background: var(--fill-3); color: var(--text-light); font-size: 12px; }
:root[data-theme="acik"] .gr-on__bot { background: #e9ebf0; }

.gr-danisman {
  position: relative; overflow: hidden; border-radius: 24px; padding: 40px;
  background: linear-gradient(160deg, rgba(40, 16, 22, 0.9), rgba(17, 17, 28, 1)); border: 1px solid rgba(226, 55, 68, 0.22);
}
:root[data-theme="acik"] .gr-danisman { background: linear-gradient(160deg, #fdecee, #ffffff 70%); box-shadow: var(--card-shadow); }
.gr-danisman__amblem { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; opacity: 0.07; pointer-events: none; }
.gr-h2--danisman { position: relative; max-width: 560px; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; text-wrap: balance; }
.gr-maddeler { position: relative; list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.gr-madde { display: flex; gap: 12px; align-items: flex-start; }
.gr-tik {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(23, 197, 140, 0.14); color: var(--green-text); font-weight: 800; font-size: 13px;
}
.gr-madde__baslik { font-weight: 800; color: var(--text-strong); font-size: 15px; }
.gr-madde__metin { font-size: 13px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }

.gr-dip {
  padding: 32px 0 8px; border-top: 1px solid var(--gr-cizgi); display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-soft-2);
}
.gr-dip a { color: inherit; }
.gr-dip a:hover { color: var(--text-strong); }

/* Ekrana girince belirme (giris.js yalnızca açılışta ekranın altında kalanlara .gr-gizli ekler) */
[data-reveal] { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].gr-gizli { opacity: 0; transform: translateY(28px); }

/* Giriş kartı */
.gr-kart__ic {
  background: var(--card-bg); border: 1px solid var(--line-2); border-radius: 24px; padding: 34px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); animation: dkIn 0.6s var(--ease) 0.12s both;
}
:root[data-theme="koyu"] .gr-kart__ic { background: linear-gradient(160deg, rgba(26, 26, 40, 0.92), rgba(14, 14, 24, 0.98)); }
:root[data-theme="acik"] .gr-kart__ic { box-shadow: var(--modal-shadow); }
.gr-kart__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.gr-kart__logo img { width: 44px; height: 44px; }
.gr-kart__ad { font-family: var(--font-wide); font-weight: 800; font-size: 17px; color: var(--text-strong); }
.gr-kart__alt { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; color: var(--text-soft-2); text-transform: uppercase; }
.gr-kart__baslik { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.gr-kart__metin { margin: 8px 0 24px; color: var(--text-muted); font-size: 14px; }
.gr-alan-sifre { margin-bottom: 12px; }
.gr-alan-sifre__bas { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.gr-alan-sifre__bas label { margin-bottom: 0; }
.gr-alan-sifre__bas a { font-size: 12px; font-weight: 700; }
.gr-sifre { position: relative; }
.alan .gr-sifre input { padding-right: 76px; }
.gr-sifre__goster {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  color: var(--text-muted); font-size: 12px; font-weight: 700; padding: 6px 8px; border-radius: 8px; cursor: pointer;
}
.gr-sifre__goster:hover { color: var(--text-strong); background: var(--fill-3); }
.gr-kart__btn { width: 100%; padding: 14px; font-size: 15px; }
.gr-kart__not { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.gr-kart__not a { font-weight: 700; }

/* Dar ekranlar */
@media (max-width: 860px) {
  .gr-nav { display: none; }
  .gr-ust__tema { margin-left: auto; }
}
@media (max-width: 700px) {
  .gr-yy__govde { grid-template-columns: minmax(0, 1fr); }
  .gr-yy__orta { border: 0; border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
  .gr-yuzer { right: 8px; }
}
@media (max-width: 560px) {
  .gr-ust__ic, .gr-satir { padding-left: 20px; padding-right: 20px; }
  .gr-ust__ic { gap: 12px; }
  .gr-ust__tema [data-tema-etiket] { display: none; }
  .gr-kart { padding-top: 24px; }
  .gr-kart__ic { padding: 26px 22px; }
  .gr-hero { padding: 56px 0 64px; }
  .gr-danisman { padding: 28px 22px; }
  .gr-onizleme__arka { inset: 16px -10px -12px 16px; }
}
@media (max-width: 380px) { .gr-marka > span { display: none; } }

/* ------------------------------------------------------------------ */
/* Mobil                                                               */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
  .icerik { padding: 28px 20px 48px; }
  .ust { padding: 12px 16px; gap: 12px; }
  .ust__ara { order: 10; flex-basis: 100%; max-width: none; }
  .kimlik { display: none; }
  /* Mobil: sol menü varsayılan kapalı, üstten inen çekmece */
  .yan-menu, :root[data-menu="kapali"] .yan-menu {
    position: fixed; top: 0; left: 0; right: 0; width: 100%; height: auto; max-height: 100vh; z-index: 65;
    border-right: 0; border-bottom: 1px solid var(--line-1); border-radius: 0 0 22px 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); overflow-y: auto;
    transform: translateY(-105%); visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  :root[data-menu-mobil="acik"] .yan-menu { transform: none; visibility: visible; transition: transform 0.35s var(--ease); }
  :root[data-menu-mobil="acik"] body::after {
    content: ""; position: fixed; inset: 0; z-index: 60; background: var(--overlay, rgba(5, 5, 10, 0.6));
  }
  .yan-menu__ic { width: 100%; min-height: 0; }
  :root[data-menu="kapali"] .ust__menu svg { transform: none; }
}

/* ================================================================== */
/* Analiz                                                              */
/* ================================================================== */
.hero-bilgi { font-size: 13px; color: var(--text-muted); }
.hero-bilgi b { color: var(--red-text); }
.hero-bilgi b.guclu, .guclu { color: var(--text-strong); }
.kirmizi { color: var(--red-text); }
.aksiyonlar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn--orta { padding: 13px 20px; gap: 10px; }
.btn--kirmizi.btn--orta { box-shadow: 0 0 20px rgba(226, 55, 68, 0.35); }
.btn--cerceve svg { stroke: var(--red-text); }

.kk-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; margin-top: 24px; }
.kk { position: relative; }
.kk__ust { display: flex; justify-content: space-between; align-items: flex-start; }
.kk__ikon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(226, 55, 68, 0.12); border: 1px solid rgba(226, 55, 68, 0.25);
}
.kk__ikon svg { stroke: var(--red-text); }
.kk__menu {
  color: var(--text-soft-2); font-weight: 800; letter-spacing: 2px; cursor: pointer; padding: 4px 8px;
  border-radius: 8px; background: none; border: 0; font-size: 16px; font-family: inherit;
}
.kk__menu:hover, .kk__menu[aria-expanded="true"] { background: var(--fill-3); color: var(--text-strong); }
.kk__ad { margin: 18px 0 0; font-size: 20px; font-weight: 700; color: var(--text-strong); }
.kk__alt { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.kk__durum { margin-top: 14px; }

.rozet {
  display: inline-block; padding: 7px 14px; border-radius: 10px; font-size: 13px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; background: var(--fill-4); color: var(--text-muted);
}
.rozet--kucuk { padding: 5px 11px; border-radius: 9px; font-size: 12px; letter-spacing: 0.06em; }
.rozet--itiraz_onerilir { background: rgba(226, 55, 68, 0.15); color: var(--red-text); }
.rozet--degerlendirilebilir { background: rgba(240, 180, 41, 0.14); color: var(--amber); }
.rozet--dusuk_risk, .rozet--gri { background: var(--fill-4); color: var(--text-muted); }
.rozet--iletildi { background: var(--green); color: var(--green-ink); box-shadow: 0 0 18px rgba(23, 197, 140, 0.5); }

.kk-d--itiraz, .kk-d--red { display: none; align-items: center; gap: 10px; flex-wrap: wrap; }
.kk[data-durum="ITIRAZ"] .kk-d--itiraz,
.kk[data-durum="ISLEM_YOK"] .kk-d--red { display: flex; }
.kk:not([data-durum="BEKLIYOR"]) .kk-d--bekliyor { display: none; }
.kilitli .kk-degistir { display: none !important; }
.kk.mesgul .kk-degistir, .kk.mesgul [data-islem] { pointer-events: none; opacity: 0.6; }

.kk__link {
  font-size: 13px; font-weight: 700; color: var(--red-text); cursor: pointer; padding: 6px 10px;
  border-radius: 8px; background: none; border: 0; font-family: inherit;
}
.kk__link:hover { background: rgba(226, 55, 68, 0.12); }

.kk__bar { margin-top: 20px; }
.bar { height: 8px; background: var(--fill-4); border-radius: 5px; overflow: hidden; }
.bar__dolu {
  height: 100%; background: linear-gradient(90deg, #ff5a66, #b01622); border-radius: 5px;
  box-shadow: 0 0 12px rgba(226, 55, 68, 0.6); animation: dkBar 0.9s var(--ease) var(--d, 0s) both;
}
.kk__oran { text-align: right; font-size: 13px; color: var(--text-muted); margin-top: 8px; }

.kk__araclar { display: flex; gap: 8px; margin-top: 16px; }
.kk__arac {
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--line-4); background: var(--bg-surface); border-radius: 11px; font-family: inherit;
}
.kk__arac:hover { border-color: rgba(226, 55, 68, 0.45); }
.kk__arac svg { stroke: var(--red-text); }
.kk__arac--genis { flex: 1; color: var(--text-body); font-weight: 700; font-size: 13px; padding: 10px; }
.kk__arac--kare { flex: none; width: 42px; }

.kk__detay {
  margin-top: 16px; padding: 14px 16px; background: var(--fill-2); border: 1px solid var(--card-border);
  border-radius: 12px; font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.kk__detay .satir { display: flex; justify-content: space-between; }
.kk__detay b { color: var(--text-strong); }
.kk__detay b.kirmizi { color: var(--red-text); }
.kk__not { margin-top: 8px; color: var(--text-soft); }

.kk__karar { display: flex; gap: 10px; margin-top: 18px; }
.kk__btn { flex: 1; padding: 12px; border-radius: 11px; font-size: 14px; }
.btn--kirmizi.kk__btn { box-shadow: 0 0 18px rgba(226, 55, 68, 0.35); }
.kk__btn--yok { border: 1px solid var(--line-4); background: transparent; color: var(--text-muted); font-weight: 600; }
.kk__btn--yok:hover { background: var(--fill-3); color: var(--text-strong); }

/* Onay modalları */
.ortu--modal { z-index: 50; padding: 20px; background: rgba(5, 5, 10, 0.7); }
:root[data-theme="acik"] .ortu--modal, :root[data-theme="acik"] .ortu--yy { background: var(--overlay); }
.modal {
  background: var(--bg-modal); border: 1px solid var(--line-3); border-radius: 20px; max-width: 460px; width: 100%;
  padding: 28px; box-shadow: var(--modal-shadow); animation: dkIn 0.3s var(--ease) both;
}
.modal--genis { max-width: 540px; border-radius: 22px; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal__ikon {
  width: 50px; height: 50px; border-radius: 14px; background: rgba(226, 55, 68, 0.15); border: 1px solid rgba(226, 55, 68, 0.35);
  color: var(--red-text); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin-bottom: 16px;
}
.modal__ikon--sari { background: rgba(240, 180, 41, 0.14); border-color: rgba(240, 180, 41, 0.35); color: var(--amber); font-size: 22px; }
.modal__baslik { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--text-strong); }
.modal__metin { margin: 0 0 22px; font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.modal__dugmeler { display: flex; gap: 10px; justify-content: flex-end; }
.btn--vazgec { border-color: var(--line-5); background: transparent; color: var(--text-muted); font-weight: 600; padding: 11px 20px; }
.btn--vazgec:hover { background: var(--fill-3); color: var(--text-strong); }
.btn--modal { padding: 11px 20px; box-shadow: 0 0 18px rgba(226, 55, 68, 0.4); }
.btn--sari { border: none; background: #f0b429; color: #2a1f04; font-weight: 800; padding: 11px 20px; box-shadow: 0 0 18px rgba(240, 180, 41, 0.35); }
.btn--sari:hover { filter: brightness(1.1); color: #2a1f04; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.toplu-liste { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.toplu-liste__oge {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 12px; background: var(--fill-1); border: 1px solid var(--line-2);
}
.toplu-liste__ad { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.toplu-liste__ok { color: var(--text-faint); font-weight: 400; }
.toplu-liste__oran { font-weight: 800; color: var(--red-text); font-size: 14px; }

/* Harf farkı */
.kelime { display: inline-flex; white-space: nowrap; }
.harf { color: var(--text-strong); border-radius: 8px; padding: 0 2px; }
.harf--farkli { color: var(--red-text); background: rgba(226, 55, 68, 0.16); }

/* Benzerlik halkası */
.halka {
  width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none;
  background: conic-gradient(var(--renk, #ff5a66) var(--deg, 0deg), var(--fill-4) 0);
}
.halka__ic {
  width: 60px; height: 60px; border-radius: 50%; background: #15151f; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--text-strong);
}
.halka--buyuk { width: 92px; height: 92px; }
.halka--buyuk .halka__ic { width: 74px; height: 74px; background: var(--bg-panel); }
.halka__oran { font-size: 22px; font-weight: 800; color: var(--text-strong); }
.halka__etiket { font-size: 10px; color: var(--text-soft); font-weight: 700; text-transform: uppercase; }
:root[data-theme="acik"] .halka__ic { background: #ffffff; }

/* Yan yana karşılaştırma */
.ortu--yy { z-index: 55; background: rgba(5, 5, 10, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.yy {
  background: var(--bg-panel); border: 1px solid var(--line-3); border-radius: 24px; width: 100%; max-width: 1080px;
  max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  animation: dkIn 0.35s var(--ease) both;
}
:root[data-theme="acik"] .yy { box-shadow: var(--modal-shadow); }
.yy__bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--card-border); }
.yy__ust { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text); }
.yy__alt { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.yy__kapat { color: var(--text-soft); cursor: pointer; font-size: 20px; padding: 6px 10px; border-radius: 10px; background: none; border: 0; }
.yy__kapat:hover { background: var(--fill-3); color: var(--text-strong); }
.yy__govde { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.yy__taraf { padding: 36px 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.etiket { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.etiket--yesil { background: rgba(23, 197, 140, 0.12); color: var(--green-text); }
.etiket--kirmizi { background: rgba(226, 55, 68, 0.14); color: var(--red-text); }
.yy__ad {
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.35em; row-gap: 4px; align-items: center;
  font-family: var(--font-wide); font-weight: 800; font-size: var(--yazi, clamp(32px, 4.2vw, 56px));
  letter-spacing: 0.04em; line-height: 1.15; min-height: 70px;
}
.yy__bilgi { font-size: 13px; color: var(--text-soft); }
.yy__dinle {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-4); background: var(--bg-surface);
  color: var(--text-body); font-family: inherit; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 22px; cursor: pointer;
}
.yy__dinle:hover { border-color: rgba(226, 55, 68, 0.5); }
.yy__dinle.caliyor { background: rgba(226, 55, 68, 0.18); border-color: rgba(226, 55, 68, 0.6); }
.yy__dinle svg { stroke: var(--red-text); }
.yy__orta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 8px;
  border-left: 1px solid var(--line-1); border-right: 1px solid var(--line-1);
}
.yy__ikisi {
  display: flex; align-items: center; gap: 6px; border: none; background: var(--red-gradient); color: #fff; font-family: inherit;
  font-weight: 700; font-size: 12px; padding: 9px 14px; border-radius: 20px; cursor: pointer;
  box-shadow: 0 0 16px rgba(226, 55, 68, 0.35); white-space: nowrap;
}
.yy__ikisi:hover { filter: brightness(1.15); }
.yy__kartlar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
  padding: 22px 28px 28px; border-top: 1px solid var(--card-border);
}
.yy__kutu { padding: 16px 18px; border-radius: 14px; background: var(--fill-1); border: 1px solid var(--card-border); }
.yy__kutu-baslik { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 12px; }
.boyut { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 9px; }
.boyut__ad { width: 78px; color: var(--text-muted); }
.boyut__iz { flex: 1; height: 7px; background: var(--fill-4); border-radius: 4px; overflow: hidden; }
.boyut__dolu { height: 100%; background: linear-gradient(90deg, #ff5a66, #9c1420); border-radius: 4px; }
.boyut b { width: 38px; text-align: right; color: var(--text-strong); }
.mallar { display: flex; flex-direction: column; gap: 9px; }
.mal { display: flex; gap: 10px; align-items: flex-start; }
.mal__sinif {
  flex: none; min-width: 34px; text-align: center; padding: 3px 7px; border-radius: 7px; font-size: 12px; font-weight: 800;
  background: rgba(226, 55, 68, 0.15); color: var(--red-text);
}
.mal__ad { font-size: 13px; color: var(--text-light); line-height: 1.45; }
.yy__yok { font-size: 13px; color: var(--text-muted); }
.yy__not { font-size: 13px; color: var(--text-light); line-height: 1.55; margin-top: 10px; }

/* Hızlı Karar Modu */
.hk {
  position: fixed; inset: 0; background: rgba(6, 6, 12, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 56; display: flex; flex-direction: column; align-items: center; padding: 24px; overflow-y: auto;
}
:root[data-theme="acik"] .hk { background: rgba(244, 245, 248, 0.96); }
.hk__ust { width: 100%; max-width: 620px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex: none; }
.hk__baslik { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text); }
.hk__ipucu { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.hk__ilerleme { width: 100%; max-width: 620px; height: 5px; flex: none; background: var(--fill-4); border-radius: 3px; margin-top: 18px; overflow: hidden; }
.hk__ilerleme-dolu { height: 100%; width: 0; background: linear-gradient(90deg, #ff5a66, #9c1420); border-radius: 3px; transition: width 0.35s ease; }
.hk__sira { font-size: 12px; color: var(--text-soft); margin-top: 8px; }
.hk [data-sahne] { width: 100%; display: flex; flex-direction: column; align-items: center; }
.hk__kart {
  flex: none; width: 100%; max-width: 620px; margin-top: 22px; position: relative;
  background: linear-gradient(160deg, rgba(30, 30, 46, 0.98), rgba(16, 16, 26, 1));
  border: 1px solid var(--line-3); border-radius: 24px; padding: 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  touch-action: none; cursor: grab; user-select: none; transition: transform 0.25s ease;
}
.hk__kart.surukleniyor { cursor: grabbing; transition: none; }
:root[data-theme="acik"] .hk__kart, :root[data-theme="acik"] .hk__bitti { background: #ffffff; box-shadow: var(--modal-shadow); }
.hk__damga {
  position: absolute; top: 22px; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; border: 2px solid; opacity: 0; pointer-events: none;
}
.hk__damga--sol { left: 22px; border-color: var(--text-muted); color: var(--text-muted); }
.hk__damga--sag { right: 22px; border-color: var(--red-text); color: var(--red-text); }
.hk__oneri { display: flex; justify-content: center; }
.hk__oneri .rozet { padding: 6px 14px; font-size: 12px; }
.hk__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 24px; text-align: center; }
.hk__etiket { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hk__ad {
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.3em; margin-top: 8px;
  font-family: var(--font-wide); font-weight: 800; font-size: clamp(22px, 3.4vw, 34px);
}
.hk__ad .harf { border-radius: 6px; padding: 0 1px; }
.hk__not { font-size: 14px; color: var(--text-light); line-height: 1.6; text-align: center; margin-top: 22px; }
.hk__mallar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.hk__mal { font-size: 12px; padding: 5px 10px; border-radius: 20px; background: rgba(226, 55, 68, 0.1); color: var(--red-soft); border: 1px solid rgba(226, 55, 68, 0.25); }
.hk__mal--yok { background: rgba(23, 197, 140, 0.1); color: var(--green-text); border-color: transparent; }
.hk__dugmeler { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 24px; flex: none; }
.hk__red {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line-4); background: var(--bg-surface);
  color: var(--text-muted); font-size: 22px; cursor: pointer; font-family: inherit;
}
:root[data-theme="koyu"] .hk__red { border-color: rgba(255, 255, 255, 0.18); }
.hk__red:hover { border-color: var(--text-muted); color: var(--text-strong); }
.hk__atla {
  padding: 12px 18px; border-radius: 24px; border: 1px solid var(--line-5); background: transparent; color: var(--text-muted);
  font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.hk__atla:hover { color: var(--text-strong); }
.hk__itiraz {
  width: 74px; height: 74px; border-radius: 50%; border: none; background: var(--red-gradient); color: #fff; font-family: inherit;
  font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: 0 0 26px rgba(226, 55, 68, 0.5);
}
.hk__itiraz:hover { filter: brightness(1.15); }
.hk__bitti {
  width: 100%; max-width: 520px; margin-top: 40px; text-align: center; padding: 40px 30px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(30, 30, 46, 0.98), rgba(16, 16, 26, 1)); border: 1px solid rgba(23, 197, 140, 0.3);
  animation: dkIn 0.4s var(--ease) both;
}
.hk__tik {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--green); color: var(--green-ink);
  display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; box-shadow: 0 0 30px rgba(23, 197, 140, 0.5);
}
.hk__bitti-baslik { font-size: 22px; font-weight: 800; color: var(--text-strong); margin-top: 18px; }
.hk__ozet { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

.toast--hata { background: var(--red-500); color: #fff; box-shadow: 0 0 30px rgba(226, 55, 68, 0.5); }

@media (max-width: 768px) {
  .kk-izgara { grid-template-columns: minmax(0, 1fr); }
  .yy__govde { grid-template-columns: minmax(0, 1fr); }
  .yy__orta { border: 0; border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
  .hk__grid { grid-template-columns: minmax(0, 1fr); }
  .hk__grid .halka { margin: 0 auto; }
}

/* ------------------------------------------------------------------ */
/* İtirazlarım                                                         */
/* ------------------------------------------------------------------ */
.it-liste { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.it-kart:hover { transform: translateY(-3px); }
.it-kart__ust { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.it-kart__sol { min-width: 0; }
.it-kart__baslik { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.it-kart__marka { font-weight: 800; font-size: 17px; color: var(--text-strong); }
.it-kart__ok { color: var(--text-faint); }
.it-kart__benzer { font-weight: 800; font-size: 17px; color: var(--red-text); }
.it-kart__meta { font-size: 13px; color: var(--text-soft); margin-top: 8px; }
.it-kart__no { color: var(--text-muted); }
.it-kart__sure { color: var(--red-text); }
.it-kart__danisman { display: flex; align-items: center; gap: 10px; }
.it-kart__dan-ad { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.it-kart__dan-alt { font-size: 11px; color: var(--text-soft-2); }
.it-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: rgba(226, 55, 68, 0.14); border: 1px solid rgba(226, 55, 68, 0.3); color: var(--red-text);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.it-avatar--bos { background: var(--fill-4); border: 1px dashed var(--line-4); color: var(--text-soft); }

.it-durum {
  padding: 5px 12px; border-radius: 10px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.it-durum--alindi { background: var(--fill-4); color: var(--text-muted); }
.it-durum--hazirlaniyor { background: rgba(226, 55, 68, 0.15); color: var(--red-text); }
.it-durum--karar { background: rgba(240, 180, 41, 0.15); color: var(--amber); }
.it-durum--sonuc-kabul { background: var(--green); color: var(--green-ink); box-shadow: 0 0 18px rgba(23, 197, 140, 0.5); }
.it-durum--sonuc-kismi { background: rgba(23, 197, 140, 0.15); color: var(--green-text); }
.it-durum--sonuc-red { background: var(--fill-4); color: var(--text-soft); }

.it-bos {
  margin-top: 36px; padding: 40px 24px; text-align: center;
  border: 1px dashed var(--line-4); border-radius: 18px; color: var(--text-soft); font-size: 15px;
}
.it-bos__link { margin-top: 10px; }
.it-bos__link a { font-weight: 700; }

/* ------------------------------------------------------------------ */
/* Markalarım + Risk Isı Haritası                                      */
/* ------------------------------------------------------------------ */
.mk-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 22px; margin-top: 40px; }
.mk-kart { padding: 26px; }
.mk-kart__ust { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mk-kart__ad { margin: 0; font-family: var(--font-wide); font-size: 26px; font-weight: 800; color: var(--text-strong); letter-spacing: 0.02em; overflow-wrap: anywhere; }
.mk-kart__tescil { font-size: 12px; color: var(--text-soft); margin-top: 6px; }
.mk-durum {
  flex: none; padding: 6px 13px; border-radius: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; background: var(--green); color: var(--green-ink); box-shadow: 0 0 16px rgba(23, 197, 140, 0.4);
}
.mk-durum--pasif { background: var(--fill-4); color: var(--text-muted); box-shadow: none; }
.mk-bilgi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mk-kutu { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-1); border-radius: 12px; padding: 14px 16px; }
:root[data-theme="acik"] .mk-kutu { background: var(--fill-2); }
.mk-kutu__etiket { font-size: 11px; color: var(--text-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.mk-kutu__deger { font-size: 17px; font-weight: 800; color: var(--text-strong); margin-top: 4px; }
.mk-kutu__deger--yaklasiyor { color: var(--amber); }
.mk-kutu__deger--gecti { color: var(--red-text); }
.mk-kutu--benzer { grid-column: 1 / -1; background: rgba(226, 55, 68, 0.08); border-color: rgba(226, 55, 68, 0.2); }
.mk-kutu--benzer .mk-kutu__etiket { color: #ff8891; }
.mk-kutu--benzer .mk-kutu__deger { color: var(--red-text); }
:root[data-theme="acik"] .mk-kutu--benzer .mk-kutu__etiket { color: var(--red-text); }
.mk-kart__alt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.mk-kart__tarama { font-size: 12px; color: var(--text-faint); }
.mk-kart__link { font-size: 13px; font-weight: 700; }

.mk-form__iki { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-form textarea {
  width: 100%; border: 1px solid var(--line-3); background: var(--bg-input); border-radius: 12px; resize: vertical;
  padding: 13px 16px; font-family: inherit; font-size: 15px; color: var(--text-body); outline: none;
}
.mk-form input:focus, .mk-form textarea:focus { border-color: rgba(226, 55, 68, 0.55); }
.mk-form .uyari { margin: 0 0 16px; }

.isi { margin-top: 28px; padding: 26px; }
.isi__ust { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.isi__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text); }
.isi__baslik { margin: 6px 0 0; font-size: 20px; font-weight: 800; color: var(--text-strong); }
.isi__alt { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.isi__lejant { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); }
.isi__lejant span { display: flex; align-items: center; gap: 6px; }
.isi__ornek { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.isi__ornek--3 { background: linear-gradient(135deg, #e23744, #9c1420); }
.isi__ornek--2 { background: rgba(240, 180, 41, 0.55); }
.isi__ornek--1 { background: var(--isi-1); }
.isi__ornek--tescil { border: 2px solid var(--green); }
.isi__kaydir { overflow-x: auto; margin-top: 22px; padding: 4px 2px; border-radius: 10px; }
.isi__kaydir:focus-visible { outline: 2px solid rgba(226, 55, 68, 0.5); }
.isi__satir {
  display: grid; grid-template-columns: 120px repeat(var(--sutun), minmax(58px, 1fr));
  gap: 6px; align-items: center; margin-bottom: 6px;
}
.isi__satir--baslik { align-items: end; }
.isi__sutun { text-align: center; }
.isi__sutun-no { font-size: 14px; font-weight: 800; color: var(--text-strong); }
.isi__sutun-ad { font-size: 10px; color: var(--text-soft); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.isi__marka { font-family: var(--font-wide); font-size: 15px; font-weight: 800; color: var(--text-strong); overflow-wrap: anywhere; }
.isi__hucre {
  height: 58px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: default; transition: transform 0.2s ease; outline-offset: -2px;
}
.isi__hucre:hover, .isi__hucre:focus-visible { transform: scale(1.06); }
.isi__hucre:focus-visible { box-shadow: 0 0 0 2px var(--text-strong); }
.isi__deger { font-size: 14px; font-weight: 800; }
.isi__alt-deger { font-size: 10px; font-weight: 600; color: var(--text-soft); }
.isi__hucre--0 { background: var(--isi-0); }
.isi__hucre--0 .isi__deger { color: var(--text-faint); }
.isi__hucre--1 { background: var(--isi-1); }
.isi__hucre--1 .isi__deger { color: var(--text-light); }
.isi__hucre--2 { background: rgba(240, 180, 41, 0.5); }
.isi__hucre--2 .isi__deger { color: #2a1f04; }
.isi__hucre--2 .isi__alt-deger { color: rgba(42, 31, 4, 0.75); }
.isi__hucre--3 { background: linear-gradient(135deg, #e23744, #9c1420); box-shadow: 0 0 16px rgba(226, 55, 68, 0.45); }
.isi__hucre--3 .isi__deger { color: #fff; }
.isi__hucre--3 .isi__alt-deger { color: rgba(255, 255, 255, 0.85); }
.isi__hucre--tescil { outline: 2px solid var(--green); }
:root { --isi-0: rgba(255, 255, 255, 0.03); --isi-1: rgba(255, 255, 255, 0.1); }
:root[data-theme="acik"] { --isi-0: #f6f7fa; --isi-1: #e6e8ee; }

.ipucu {
  position: fixed; z-index: 70; max-width: 300px; pointer-events: none;
  background: var(--bg-modal); border: 1px solid var(--line-3); border-radius: 12px; padding: 12px 14px;
  box-shadow: var(--modal-shadow); font-size: 12px; color: var(--text-body);
  animation: dkIn 0.18s var(--ease) both;
}
.ipucu__baslik { font-weight: 800; color: var(--text-strong); margin-bottom: 8px; font-size: 13px; }
.ipucu__tescil { margin-left: 6px; padding: 1px 7px; border-radius: 7px; border: 1px solid var(--green); color: var(--green-text); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.ipucu__satir { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.ipucu__satir small { color: var(--text-soft); font-size: 11px; margin-left: 4px; }
.ipucu__oran { font-weight: 800; }
.ipucu__oran--3 { color: var(--red-text); }
.ipucu__oran--2 { color: var(--amber); }
.ipucu__oran--1 { color: var(--text-muted); }
.ipucu__bos { color: var(--text-muted); }

@media (max-width: 768px) {
  .mk-izgara { grid-template-columns: 1fr; }
  .mk-form__iki { grid-template-columns: 1fr; }
  .isi__satir { grid-template-columns: 96px repeat(var(--sutun), minmax(54px, 1fr)); }
}

/* ------------------------------------------------------------------ */
/* Panel                                                               */
/* ------------------------------------------------------------------ */
.icerik--panel { padding-top: 40px; }
.pn-vurgu { color: var(--red-text); }
.pn-talimat { padding: 14px 24px; gap: 10px; }
.pn-talimat span { font-size: 17px; }

.pn-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 20px; margin-top: 36px; }
.pn-kpi__kart { display: block; padding: 22px; color: inherit; }
a.pn-kpi__kart:hover { color: inherit; }
.pn-kpi__ust { display: flex; align-items: center; gap: 10px; }
.pn-kpi__ad { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.pn-kpi__deger { font-size: 36px; font-weight: 800; color: var(--text-strong); margin-top: 14px; letter-spacing: -1px; }
.pn-kpi__alt { font-size: 12px; color: var(--text-soft); margin-top: 4px; }
.pn-ikon {
  width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; border: 1px solid; flex: none;
}
.pn-ikon--kirmizi { background: rgba(226, 55, 68, 0.14); border-color: rgba(226, 55, 68, 0.3); color: var(--red-text); }
.pn-ikon--sari { background: rgba(240, 180, 41, 0.12); border-color: rgba(240, 180, 41, 0.3); color: var(--amber); }
.pn-ikon--yesil { background: rgba(23, 197, 140, 0.12); border-color: rgba(23, 197, 140, 0.3); color: var(--green-text); }
.pn-ikon--gri { background: var(--fill-3); border-color: var(--line-4); color: var(--text-muted); }

.pn-satir { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.pn-kutu { padding: 24px; }
.pn-kutu__ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pn-kutu__baslik { margin: 0; font-weight: 800; font-size: 16px; color: var(--text-strong); }
.pn-hap { font-size: 12px; color: var(--text-soft); background: var(--fill-2); border: 1px solid var(--line-2); border-radius: 20px; padding: 5px 13px; }
.pn-link { font-size: 13px; font-weight: 700; }
.pn-bos { font-size: 13px; color: var(--text-soft); padding: 8px 0; list-style: none; }

.pn-renk--kirmizi { color: var(--red-text); }
.pn-renk--sari { color: var(--amber); }
.pn-renk--gri { color: var(--text-soft-2); }

.pn-grafik { display: flex; align-items: flex-end; gap: 16px; height: 170px; margin-top: 22px; }
.pn-grafik__sutun {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
  height: 100%; border-radius: 10px; color: inherit;
}
.pn-grafik__sutun:hover .pn-grafik__bar { filter: brightness(1.2); }
.pn-grafik__sutun:focus-visible { outline: 2px solid rgba(226, 55, 68, 0.5); outline-offset: 4px; }
.pn-grafik__sayi { font-size: 12px; font-weight: 800; }
.pn-grafik__bar {
  display: block; width: 100%; max-width: 42px; border-radius: 9px 9px 3px 3px;
  animation: dkGrow 0.8s var(--ease) var(--d, 0s) backwards; transition: filter 0.2s ease;
}
.pn-bar--gri { background: linear-gradient(180deg, #6e7284, #3a3e4c); box-shadow: 0 0 16px rgba(110, 114, 132, 0.25); }
.pn-bar--sari { background: linear-gradient(180deg, #f0b429, #8a6a10); box-shadow: 0 0 16px rgba(240, 180, 41, 0.3); }
.pn-bar--kirmizi { background: linear-gradient(180deg, #ff5a66, #9c1420); box-shadow: 0 0 16px rgba(226, 55, 68, 0.4); }
:root[data-theme="acik"] .pn-bar--gri { background: linear-gradient(180deg, #a3a8b6, #d3d6de); box-shadow: none; }
.pn-grafik__donem { font-size: 11px; color: var(--text-faint); font-weight: 600; }

.pn-sureler { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.pn-sure {
  display: flex; align-items: center; gap: 14px; padding: 13px 15px; border-radius: 13px;
  background: var(--fill-1); border: 1px solid var(--line-1); color: inherit; transition: border-color 0.2s ease;
}
.pn-sure:hover { border-color: var(--card-hover-border); color: inherit; }
.pn-sure__gun { width: 44px; text-align: center; flex: none; }
.pn-sure__sayi { font-size: 18px; font-weight: 800; }
.pn-sure__birim { font-size: 10px; color: var(--text-faint); font-weight: 700; text-transform: uppercase; }
.pn-sure__metin { min-width: 0; }
.pn-sure__baslik { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.pn-sure__alt { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

.pn-akis { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pn-akis__oge { display: flex; gap: 14px; align-items: flex-start; }
.pn-akis__metin-kutu { min-width: 0; }
.pn-akis__metin { font-size: 14px; color: var(--text-body); line-height: 1.5; }
.pn-akis__zaman { font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.pn-nokta { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 5px; }
.pn-nokta--yesil { background: var(--green); box-shadow: 0 0 10px rgba(23, 197, 140, 0.5); }
.pn-nokta--kirmizi { background: var(--red-text); box-shadow: 0 0 10px rgba(226, 55, 68, 0.5); }
.pn-nokta--sari { background: var(--amber); box-shadow: 0 0 10px rgba(240, 180, 41, 0.5); }
.pn-nokta--gri { background: var(--text-soft-2); box-shadow: 0 0 10px rgba(110, 114, 132, 0.4); }

.pn-yan { display: flex; flex-direction: column; gap: 20px; }
.pn-marka { display: flex; justify-content: space-between; align-items: center; padding: 22px; color: inherit; }
.pn-marka:hover { transform: translateY(-3px); border-color: var(--card-hover-border); color: inherit; }
.pn-marka__adlar { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.pn-marka__sayi { font-size: 26px; font-weight: 800; color: var(--red-text); }

@media (max-width: 960px) {
  .pn-satir { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pn-grafik { gap: 8px; }
}

/* ------------------------------------------------------------------ */
/* Danışman Paneli                                                     */
/* ------------------------------------------------------------------ */
.yenilendi .dk-in, .yenilendi .dn-bar__dolu { animation: none; }
.dn-mesgul [data-ustlen], .dn-mesgul [data-asama-sec] { pointer-events: none; opacity: 0.7; }
.dn-hap { font-size: 13px; color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--line-3); border-radius: 12px; padding: 12px 18px; }
.dn-hap b { color: var(--red-text); }
.dn-ok { color: var(--text-faint); font-weight: 400; }
.dn-benzer { color: var(--red-text); }
.dn-ince { font-weight: 500; }

.dn-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; margin-top: 40px; }
.dn-talimat { display: flex; flex-direction: column; }
.dn-talimat__ust { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dn-talimat__sol { min-width: 0; }
.dn-talimat__muvekkil { font-size: 12px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.dn-talimat__baslik { font-size: 19px; font-weight: 800; color: var(--text-strong); margin-top: 8px; }
.dn-talimat__meta { font-size: 12px; color: var(--text-soft); margin-top: 4px; }
.dn-talimat__oran { font-weight: 800; font-size: 18px; color: var(--red-text); flex: none; }
.dn-talimat__orta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.dn-talimat__sure { font-size: 13px; font-weight: 700; }
.dn-talimat__alt { margin-top: auto; padding-top: 18px; }
.dn-talimat--iptal { opacity: 0.72; }
.dn-talimat--iptal .dn-talimat__oran, .dn-talimat--iptal .dn-benzer { color: var(--text-muted); }
.dn-etiket { padding: 6px 12px; border-radius: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(226, 55, 68, 0.15); color: var(--red-text); }
.dn-etiket--gri { background: var(--fill-4); color: var(--text-muted); }
.dn-tam { width: 100%; padding: 12px; border-radius: 11px; box-shadow: 0 0 18px rgba(226, 55, 68, 0.35); }
.nav__oge[data-sekme] { font-weight: 700; }
.dn-durum { text-align: center; padding: 11px; border-radius: 11px; font-size: 13px; font-weight: 800; outline: none; }
.dn-durum--yesil { background: rgba(23, 197, 140, 0.14); color: var(--green-text); border: 1px solid rgba(23, 197, 140, 0.3); }
.dn-durum--gri { background: var(--fill-2); color: var(--text-muted); border: 1px dashed var(--line-4); }

.dn-dosya { padding: 22px 24px; }
.dn-dosya:hover { transform: translateY(-3px); }
.dn-dosya__ust { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.dn-dosya__sol { min-width: 240px; }
.dn-dosya__marka { font-weight: 800; font-size: 16px; color: var(--text-strong); }
.dn-dosya__benzer { font-weight: 800; font-size: 16px; color: var(--red-text); }
.dn-dosya__meta { font-size: 12px; color: var(--text-soft); margin-top: 7px; }
.dn-dosya__ilerleme { flex: 1; min-width: 200px; max-width: 360px; }
.dn-dosya__ilerleme-ust { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-soft); margin-bottom: 7px; }
.dn-dosya__ilerleme-ust b { color: var(--text-strong); }
.dn-bar { height: 7px; background: var(--fill-4); border-radius: 4px; overflow: hidden; }
.dn-bar__dolu {
  height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ff5a66, #9c1420);
  box-shadow: 0 0 12px rgba(226, 55, 68, 0.5); transition: width 0.5s var(--ease);
}
.dn-dosya__sonraki { text-align: right; min-width: 170px; }
.dn-dosya__sonraki-etiket { font-size: 12px; color: var(--text-soft); }
.dn-dosya__sonraki-ad { font-size: 13px; font-weight: 700; color: var(--text-strong); margin-top: 3px; }
.dn-dosya__hedef { font-size: 12px; font-weight: 700; margin-top: 3px; }
.pn-renk--yesil { color: var(--green-text); }

.dn-durum-rozet--hazirlaniyor { background: var(--fill-4); color: var(--text-light); }
.dn-durum-rozet--sunuldu { background: rgba(226, 55, 68, 0.15); color: var(--red-text); }
.dn-durum-rozet--karar { background: rgba(240, 180, 41, 0.15); color: var(--amber); }
.dn-durum-rozet--sonuc { background: rgba(23, 197, 140, 0.15); color: var(--green-text); }

.dn-asamalar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-1); }
.dn-asamalar__etiket { font-size: 11px; font-weight: 800; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 4px; }
.dn-cip {
  padding: 7px 13px; border-radius: 20px; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  background: var(--fill-1); color: var(--text-faint); border: 1px solid var(--line-2); transition: all 0.25s ease;
}
.dn-cip:hover, .dn-cip:focus-visible { border-color: rgba(226, 55, 68, 0.5); color: var(--text-strong); }
.dn-cip--tamam { background: rgba(23, 197, 140, 0.1); color: var(--green-text); border-color: rgba(23, 197, 140, 0.25); }
.dn-cip--aktif { background: var(--bg-active); color: var(--text-strong); border-color: rgba(226, 55, 68, 0.5); box-shadow: 0 0 14px rgba(226, 55, 68, 0.3); }
:root[data-theme="acik"] .dn-cip--aktif { background: rgba(226, 55, 68, 0.08); }
.dn-ilerlet { margin-left: auto; font-size: 12px; padding: 8px 15px; border-radius: 10px; }
.dn-tamamlandi { margin-left: auto; padding: 8px 15px; border-radius: 10px; font-size: 12px; font-weight: 800; background: rgba(23, 197, 140, 0.14); color: var(--green-text); border: 1px solid rgba(23, 197, 140, 0.3); }

.dn-tablo { padding: 0; overflow: hidden; margin-top: 36px; }
.dn-tablo:hover { transform: none; }
.dn-tablo__kaydir { overflow-x: auto; }
.dn-tablo__ic { min-width: 820px; }
.dn-tablo__satir {
  display: grid; grid-template-columns: 70px minmax(180px, 1.3fr) minmax(160px, 1fr) 150px 120px minmax(160px, 1fr);
  gap: 16px; align-items: center; padding: 17px 24px; border-top: 1px solid var(--line-1);
}
.dn-tablo__satir:hover { background: var(--fill-1); }
.dn-tablo__satir--baslik {
  padding: 13px 24px; background: var(--fill-2); border-top: none; color: var(--text-soft);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.dn-kalan { text-align: center; }
.dn-kalan__sayi { font-size: 20px; font-weight: 800; }
.dn-kalan__birim { font-size: 10px; color: var(--text-faint); font-weight: 700; text-transform: uppercase; }
.dn-tablo__dosya { font-weight: 700; font-size: 14px; color: var(--text-strong); }
.dn-tablo__alt { font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.dn-bar--ince + .dn-tablo__alt { font-size: 11px; color: var(--text-faint); margin-top: 5px; }
.dn-tablo__muvekkil { font-size: 13px; color: var(--text-muted); }
.dn-tablo__tarih { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.dn-tur { padding: 5px 11px; border-radius: 10px; font-size: 12px; font-weight: 700; background: var(--fill-3); color: var(--text-light); }
.dn-bar__dolu--kirmizi { background: linear-gradient(90deg, #ff5a66, #9c1420); box-shadow: 0 0 10px rgba(226, 55, 68, 0.5); }
.dn-bar__dolu--sari { background: linear-gradient(90deg, #f0b429, #8a6a10); box-shadow: 0 0 10px rgba(240, 180, 41, 0.4); }
.dn-bar__dolu--yesil { background: linear-gradient(90deg, #17c58c, #0d6b4a); box-shadow: 0 0 10px rgba(23, 197, 140, 0.35); }
.dn-bar--ince .dn-bar__dolu { animation: dkBar 0.9s var(--ease) var(--d, 0s) backwards; }

.modal__ikon--yesil { background: rgba(23, 197, 140, 0.14); border-color: rgba(23, 197, 140, 0.35); color: var(--green-text); }
.dn-sonuclar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dn-sonuc { border: 1px solid; padding: 12px; }
.dn-sonuc--kabul { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.dn-sonuc--kismi { background: rgba(23, 197, 140, 0.12); color: var(--green-text); border-color: rgba(23, 197, 140, 0.35); }
.dn-sonuc--red { background: var(--fill-3); color: var(--text-light); border-color: var(--line-4); }
.dn-sonuc:hover { filter: brightness(1.1); }

@media (max-width: 768px) {
  .dn-izgara { grid-template-columns: 1fr; }
  .dn-dosya__sonraki { text-align: left; }
  .dn-ilerlet, .dn-tamamlandi { margin-left: 0; }
}

/* ------------------------------------------------------------------ */
/* Marpataş Asistan                                                    */
/* ------------------------------------------------------------------ */
.asistan__balon {
  position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--red-gradient); display: flex; align-items: center; justify-content: center; z-index: 40;
  box-shadow: 0 0 28px rgba(226, 55, 68, 0.55), 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.25s ease;
}
.asistan__balon:hover { transform: scale(1.07); }
.asistan__balon:focus-visible { outline: 3px solid rgba(226, 55, 68, 0.5); outline-offset: 3px; }
.asistan__panel {
  position: fixed; right: 24px; bottom: 24px; width: 390px; max-width: calc(100vw - 32px);
  height: 600px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden; z-index: 45;
  background: var(--bg-modal); border: 1px solid var(--line-3); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(226, 55, 68, 0.12);
  animation: dkIn 0.3s var(--ease) both;
}
:root[data-theme="acik"] .asistan__panel { box-shadow: 0 30px 80px rgba(20, 20, 40, 0.18); }
.asistan__bas {
  padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(40, 16, 22, 0.9), var(--bg-modal));
}
:root[data-theme="acik"] .asistan__bas { background: linear-gradient(160deg, #fdecee, #ffffff); }
.asistan__logo {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e23744, #8f141e); box-shadow: 0 0 16px rgba(226, 55, 68, 0.4);
  font-family: var(--font-wide); font-weight: 800; color: #fff; font-size: 16px;
}
.asistan__logo.logo__amblem { background: none; box-shadow: none; border-radius: 50%; }
.asistan__baslik-kutu { flex: 1; min-width: 0; }
.asistan__baslik { font-weight: 800; font-size: 15px; color: var(--text-strong); }
.asistan__alt { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-soft); margin-top: 2px; }
.asistan__nokta { width: 7px; height: 7px; border-radius: 50%; background: var(--green-dot); box-shadow: 0 0 8px rgba(46, 230, 168, 0.7); }
.asistan__kapat { border: none; background: none; color: var(--text-soft); cursor: pointer; font-size: 18px; padding: 4px 8px; border-radius: 8px; }
.asistan__kapat:hover { background: var(--fill-2); color: var(--text-strong); }
.asistan__liste { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.asistan__mesaj { display: flex; }
.asistan__mesaj--ben { justify-content: flex-end; }
.asistan__balonmetin {
  max-width: 86%; padding: 11px 14px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere;
  border-radius: 16px 16px 16px 4px; background: var(--fill-2); color: var(--text-body); border: 1px solid var(--line-2);
}
.asistan__mesaj--ben .asistan__balonmetin { border-radius: 16px 16px 4px 16px; background: var(--red-gradient); color: #fff; border: none; }
.asistan__balonmetin--hata { border-color: rgba(226, 55, 68, 0.35); color: var(--red-text); }
.asistan__yaziyor { color: var(--text-soft); font-size: 13px; }
.asistan__alt-kisim { padding: 12px 14px 14px; border-top: 1px solid var(--line-2); }
.asistan__cipler { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 4px; }
.asistan__cip {
  flex: none; white-space: nowrap; padding: 7px 12px; border-radius: 20px; font-family: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer; background: rgba(226, 55, 68, 0.08); color: #ff8891; border: 1px solid rgba(226, 55, 68, 0.25);
}
:root[data-theme="acik"] .asistan__cip { color: var(--red-text); }
.asistan__cip:hover { background: rgba(226, 55, 68, 0.16); }
.asistan__satir { display: flex; gap: 8px; align-items: center; }
.asistan__girdi {
  flex: 1; min-width: 0; border: 1px solid var(--line-3); background: var(--bg-input); border-radius: 14px;
  padding: 12px 14px; font-family: inherit; font-size: 14px; color: var(--text-body); outline: none;
}
.asistan__girdi:focus { border-color: rgba(226, 55, 68, 0.5); }
.asistan__gonder {
  width: 44px; height: 44px; flex: none; border: none; border-radius: 13px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; background: var(--red-gradient); box-shadow: 0 0 14px rgba(226, 55, 68, 0.35);
}
.asistan__dip { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; color: var(--text-faint); }
.asistan__danisman { border: none; background: none; padding: 0; font-family: inherit; font-size: 11px; color: var(--red-text); font-weight: 700; cursor: pointer; white-space: nowrap; }
.asistan__danisman:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 768px) {
  .asistan__balon { right: 16px; bottom: 16px; }
  .asistan__panel { right: 16px; bottom: 16px; height: calc(100vh - 32px); }
}

/* ------------------------------------------------------------------ */
/* Admin · Veri Aktarımı                                               */
/* ------------------------------------------------------------------ */
.ak-kabuk { min-height: 100vh; }
.ak-ust { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 28px 4px 0; border-bottom: 1px solid var(--line-1); }
.ak-form { margin-top: 32px; }
.ak-dosya { display: block; width: 100%; padding: 14px; border: 1px dashed var(--line-4); border-radius: 12px; background: var(--bg-input); color: var(--text-body); font-family: inherit; }
.ak-not { font-size: 13px; color: var(--text-soft); margin: 4px 0 18px; }
.ak-not code { font-size: 12px; padding: 2px 6px; border-radius: 6px; background: var(--fill-3); color: var(--text-light); }
.ak-dugmeler { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.ak-sonuc { margin-top: 22px; }
.ak-sonuc ul { margin: 8px 0 0; padding-left: 18px; font-weight: 500; }
.ak-tablo { margin-top: 16px; overflow-x: auto; }
.ak-tablo__satir { display: grid; grid-template-columns: 1.2fr repeat(5, 1fr) 1.4fr; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line-1); font-size: 14px; color: var(--text-body); min-width: 640px; }
.ak-tablo__satir--baslik { border-top: none; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.ak-yeni { font-size: 11px; font-weight: 800; color: var(--green-text); margin-left: 4px; }

/* ------------------------------------------------------------------ */
/* Bildirim menüsü (zil)                                               */
/* ------------------------------------------------------------------ */
.zil-kutu { position: relative; display: flex; }
.zil:focus-visible { outline: 2px solid rgba(226, 55, 68, 0.5); outline-offset: 4px; border-radius: 6px; }
.zil-menu {
  position: absolute; top: calc(100% + 14px); right: -10px; width: 380px; max-width: calc(100vw - 24px); z-index: 50;
  background: var(--bg-modal); border: 1px solid var(--line-3); border-radius: 16px; box-shadow: var(--modal-shadow);
  overflow: hidden; animation: dkIn 0.22s var(--ease) both;
}
.zil-menu__ust { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.zil-menu__baslik { font-weight: 800; font-size: 14px; color: var(--text-strong); }
.zil-menu__hepsi { border: none; background: none; padding: 0; font-family: inherit; font-size: 12px; font-weight: 700; color: var(--red-text); cursor: pointer; }
.zil-menu__hepsi:disabled { color: var(--text-faint); cursor: default; }
.zil-menu__liste { max-height: 420px; overflow-y: auto; }
.zil-menu__oge {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 13px 16px; text-align: left;
  border: none; border-bottom: 1px solid var(--line-1); background: none; font-family: inherit; cursor: pointer; color: inherit;
}
.zil-menu__oge:last-child { border-bottom: none; }
.zil-menu__oge:hover, .zil-menu__oge:focus-visible { background: var(--fill-2); }
.zil-menu__oge:focus-visible { outline-offset: -2px; }
.zil-menu__isaret { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-top: 6px; background: transparent; }
.zil-menu__oge--yeni .zil-menu__isaret { background: #ff4d59; box-shadow: 0 0 8px rgba(255, 77, 89, 0.7); }
.zil-menu__metin { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.zil-menu__oge--yeni .zil-menu__metin { color: var(--text-strong); font-weight: 600; }
.zil-menu__zaman { font-size: 11px; color: var(--text-faint); margin-top: 3px; }
.zil-menu__bos { padding: 28px 16px; text-align: center; font-size: 13px; color: var(--text-soft); }
@media (max-width: 768px) {
  .zil-kutu { position: static; }
  .zil-menu { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; }
}

/* ------------------------------------------------------------------ */
/* Erişilebilirlik (WCAG 2.1 AA, adım 15)                              */
/* Tasarımdaki ikincil gri tonlar ve açık temadaki amber/kırmızı,       */
/* kart zeminlerinde 4.5:1 metin kontrastını sağlamıyordu. Ton (hue)    */
/* korunarak gereken en küçük açıklık/koyuluk farkıyla güncellendi.     */
/* Tasarımın özgün değerleri yorumlarda.                                */
/* ------------------------------------------------------------------ */
:root, :root[data-theme="koyu"] {
  --text-soft: #8b8fa0;    /* tasarım #787d8f */
  --text-soft-2: #878a99;  /* tasarım #6e7284 */
  --text-faint: #878a99;   /* tasarım #565a6c — bölüm etiketleri, birimler */
}
:root[data-theme="acik"] {
  --text-soft: #676b77;    /* tasarım #7a7f8d */
  --text-soft-2: #676b77;
  --text-faint: #676b77;   /* tasarım #8d92a0 */
  --amber: #946300;        /* tasarım #9a6700 */
  --red-text: #b01e2a;     /* tasarım #c8202d — açık kırmızı rozet zeminlerinde */
  --red-soft: #b01e2a;
  --isi-1: #eceef2;
}
.nav__rozet { background: #d42f3c; }                         /* beyaz yazı 4.9:1 (tasarım #e23744: 4.3:1) */
.isi__hucre--2 { background: rgba(240, 180, 41, 0.7); }      /* koyu yazı 4.9:1 (tasarım 0.5: 3.1:1) */
.isi__hucre--2 .isi__alt-deger { color: #2a1f04; }
.isi__hucre--3 .isi__alt-deger { color: #fff; }
:root[data-theme="koyu"] .arsiv__rozet--bekliyor, :root:not([data-theme]) .arsiv__rozet--bekliyor { color: #ff7a84; }
.isi__hucre--1 .isi__alt-deger { color: #a3a7b6; }
:root[data-theme="acik"] .isi__hucre--1 .isi__alt-deger { color: var(--text-soft); }
:root[data-theme="acik"] .bs.aktif .bs__tarih { color: #5d616c; }
:root[data-theme="acik"] .bs.aktif .bs__rozet--bekliyor { color: #9a1a25; }
:root[data-theme="acik"] .arsiv__rozet--bekliyor { color: #9a1a25; }

.yan-menu__kapat {
  display: none; position: absolute; top: 26px; right: 18px; width: 40px; height: 40px; border-radius: 12px;
  align-items: center; justify-content: center; border: 1px solid var(--line-3); background: var(--bg-surface);
  color: var(--text-muted); font-size: 16px; cursor: pointer;
}
.yan-menu__ic { position: relative; }
@media (max-width: 768px) { .yan-menu__kapat { display: flex; } }

/* Klavye: "İçeriğe geç" bağlantısı yalnızca odaklanınca görünür */
.atla {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--bg-modal); color: var(--text-strong); border: 1px solid var(--line-3); font-weight: 700;
  transform: translateY(-160%); transition: transform 0.2s ease;
}
.atla:focus { transform: none; }
main#icerik:focus { outline: none; }
@media (max-width: 768px) { .icerik { padding-bottom: 104px; } }  /* asistan balonu son içeriği örtmesin */
/* Büyük başlıkların ince kelimesi (56–64px): AA büyük metin eşiği 3:1 — tasarımın özgün rengi yeterli */
.h1__ince { color: #787d8f; }
:root[data-theme="acik"] .h1__ince { color: #7a7f8d; }
