/* Ankova demo çekirdeği — ortak stiller (tasarım sistemi)
   Varsayılan koyu tema (ankova.net ailesi), üst çubuktan açık temaya geçilir.
   İşletmenin marka rengi (--accent) ayarlardan gelir; yüzeyler, vurgular ve parıltılar ondan türetilir.
   Düzen: telefonda üst çubuk + yüzen alt sekme çubuğu; geniş ekranda (≥ 900px) sol menü + içerik sütunu. */

/* ---------- Renk ve tipografi belirteçleri ---------- */
:root {
  /* Açık tema */
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --surface-3: #e7ecf2;
  --line: #e0e6ee;
  --fg: #0e1924;
  --muted: #5d6d7c;
  --accent: #0f766e;
  --on-accent: #ffffff;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #c2362b;
  --info: #1d5fbf;
  --sheen: rgb(255 255 255 / 0);
  --glass: rgb(255 255 255 / 0.78);
  --scrim: rgb(14 25 36 / 0.42);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-lg: 0 24px 64px rgb(15 23 42 / 0.16);
  --ankova: #10a89e;

  --accent-ink: color-mix(in oklab, var(--accent) 84%, black);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--surface));
  --accent-line: color-mix(in srgb, var(--accent) 30%, var(--line));
  --glow: color-mix(in srgb, var(--accent) 22%, transparent);
  --ok-soft: color-mix(in srgb, var(--ok) 11%, var(--surface));
  --warn-soft: color-mix(in srgb, var(--warn) 12%, var(--surface));
  --bad-soft: color-mix(in srgb, var(--bad) 10%, var(--surface));
  --info-soft: color-mix(in srgb, var(--info) 10%, var(--surface));
  --grad-accent: linear-gradient(135deg, color-mix(in oklab, var(--accent) 90%, white), var(--accent) 55%, color-mix(in oklab, var(--accent) 86%, black));
  --bg-glow-1: color-mix(in srgb, var(--accent) 13%, transparent);
  --bg-glow-2: rgb(16 168 158 / 0.06);

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-md: 0.9375rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;

  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 64px;
  --side-w: 244px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  /* Koyu tema (varsayılan) */
  --bg: #060d15;
  --surface: #0c1622;
  --surface-2: #122131;
  --surface-3: #192b3e;
  --line: rgb(150 182 208 / 0.14);
  --fg: #e8f0f6;
  --muted: #92a6b7;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --info: #60a5fa;
  --sheen: rgb(255 255 255 / 0.03);
  --glass: rgb(10 20 31 / 0.74);
  --scrim: rgb(1 5 10 / 0.6);
  --shadow: inset 0 1px 0 rgb(255 255 255 / 0.04), 0 10px 30px rgb(0 0 0 / 0.32);
  --shadow-lg: 0 30px 80px rgb(0 0 0 / 0.55);

  --accent-ink: color-mix(in oklab, var(--accent) 55%, white);
  --accent-soft: color-mix(in srgb, var(--accent) 17%, var(--surface));
  --accent-line: color-mix(in srgb, var(--accent) 45%, var(--line));
  --glow: color-mix(in srgb, var(--accent) 34%, transparent);
  --ok-soft: color-mix(in srgb, var(--ok) 13%, var(--surface));
  --warn-soft: color-mix(in srgb, var(--warn) 13%, var(--surface));
  --bad-soft: color-mix(in srgb, var(--bad) 13%, var(--surface));
  --info-soft: color-mix(in srgb, var(--info) 13%, var(--surface));
  --bg-glow-1: color-mix(in srgb, var(--accent) 26%, transparent);
  --bg-glow-2: rgb(49 227 209 / 0.07);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
/* "hidden" özelliği, display tanımlı bileşenlerde de gizlesin. */
[hidden] { display: none !important; }
body {
  background:
    radial-gradient(1000px 560px at -5% -12%, var(--bg-glow-1), transparent 62%),
    radial-gradient(900px 520px at 105% -6%, var(--bg-glow-2), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-lg); font-weight: 750; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-md); font-weight: 700; }
p { margin: 0; }
a { color: var(--accent-ink); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Kabuk ---------- */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.brand-txt { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* Telefonda DEMO etiketi adın altına iner, ad sığsın. */
@media (max-width: 559px) {
  .brand-txt { flex-direction: column; align-items: flex-start; gap: 1px; }
  .brand-txt .brand-name { max-width: 100%; }
  .brand-txt .demo-pill { font-size: 0.5625rem; padding: 0 6px; letter-spacing: 0.12em; }
}
.brand-mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 11px;
  background: var(--grad-accent);
  color: var(--on-accent);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: 0 6px 18px -6px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.2);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-pill {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
}
.role-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px;
  padding: 6px 10px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 650;
  transition: background 0.15s, border-color 0.15s;
}
.role-btn:hover { border-color: var(--accent-line); }
.role-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.top-btn {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.top-btn:hover { color: var(--fg); border-color: var(--accent-line); }
.top-btn svg { width: 18px; height: 18px; }

/* Ankova imzası: üst çubukta rozet, menüde ve pencerelerde alt bilgi */
.ankova-rozet {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 10px 0 8px;
  border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--fg);
  cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 0.6875rem; letter-spacing: 0.08em;
}
.ankova-rozet:hover { border-color: color-mix(in srgb, var(--ankova) 55%, var(--line)); }
.ankova-rozet svg { width: 20px; height: 20px; flex: none; }
/* Telefonda üst çubukta yer açmak için rozet gizlenir; imza sayfanın altında görünür. */
@media (max-width: 559px) { .ankova-rozet { display: none; } }
.sayfa-imza { max-width: 1120px; margin: 32px auto 0; display: flex; justify-content: center; padding: 14px 0 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .sayfa-imza { display: none; } }
.ankova-imza {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); color: var(--muted); line-height: 1.35;
}
.ankova-imza svg { width: 22px; height: 22px; flex: none; color: var(--fg); }
.ankova-imza b { color: var(--fg); font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; }
.ankova-imza a { color: inherit; }

.body-wrap { flex: 1; display: flex; min-width: 0; }
.sidenav { display: none; }
.content {
  flex: 1;
  min-width: 0;
  padding-block: 20px calc(var(--nav-h) + 44px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.page { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
/* Ekran açılırken bölümler sırayla belirir. */
.page > * { animation: giris 0.36s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page > *:nth-child(2) { animation-delay: 0.03s; }
.page > *:nth-child(3) { animation-delay: 0.06s; }
.page > *:nth-child(4) { animation-delay: 0.09s; }
.page > *:nth-child(n+5) { animation-delay: 0.12s; }
@keyframes giris { from { opacity: 0; transform: translateY(8px); } }
.sakin .page > * { animation: none; }

/* Telefonda yüzen alt sekme çubuğu */
.tabbar {
  position: fixed;
  left: max(10px, env(safe-area-inset-left, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  display: flex;
  justify-content: space-around;
  padding: 0 4px;
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.tab {
  flex: 1;
  min-width: 0;
  height: var(--nav-h);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: 0; cursor: pointer;
  color: var(--muted);
  font-size: 0.6875rem; font-weight: 650;
}
.tab svg { width: 21px; height: 21px; }
.tab-ico { padding: 4px 14px; border-radius: 999px; display: grid; place-items: center; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.tab[aria-current="page"] { color: var(--fg); }
.tab[aria-current="page"] .tab-ico { background: var(--grad-accent); color: var(--on-accent); box-shadow: 0 6px 16px -6px var(--glow); }
.tab span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 900px) {
  .tabbar { display: none; }
  .sidenav {
    display: flex; flex-direction: column; gap: 3px;
    width: var(--side-w); flex: none;
    padding: 18px 12px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    border-right: 1px solid var(--line);
    position: sticky; top: 57px; align-self: flex-start;
    height: calc(100vh - 57px);
    background: color-mix(in srgb, var(--surface) 40%, transparent);
  }
  .side-link {
    position: relative;
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 0; background: none; cursor: pointer; text-align: left;
    color: var(--muted); font-weight: 650;
    transition: background 0.15s, color 0.15s;
  }
  .side-link svg { width: 20px; height: 20px; }
  .side-link:hover { background: var(--surface-2); color: var(--fg); }
  .side-link[aria-current="page"] {
    color: var(--fg);
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
  }
  .side-link[aria-current="page"] svg { color: var(--accent-ink); }
  .side-link[aria-current="page"]::before {
    content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px;
    border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: 0 0 12px var(--glow);
  }
  .sidenav-alt { margin-top: auto; padding: 8px 0 4px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
  .sidenav-alt .side-link { text-decoration: none; }
  .sidenav-alt .ankova-imza { padding: 0 8px; }
  .content { padding-block: 28px 48px; padding-left: 32px; padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.sidenav-alt { display: none; }
@media (min-width: 900px) { .sidenav-alt { display: flex; } }
/* Rol penceresinin alt satırı: Ankova imzası + açılış ekranı ve tüm demolar düğmeleri */
.rol-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Sayfa başlığı ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 2px; }
.page-head > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.page-head .label { color: var(--accent-ink); }
.page-head p.muted { max-width: 70ch; }
.back-btn {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  border: 0; background: none; cursor: pointer;
  color: var(--muted); font-weight: 650; font-size: var(--fs-sm);
  padding: 4px 0;
}
.back-btn:hover { color: var(--fg); }
.back-btn svg { width: 18px; height: 18px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 650; font-size: var(--fs-sm);
  text-decoration: none; color: var(--fg);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--surface-3); border-color: color-mix(in srgb, var(--fg) 14%, var(--line)); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: var(--grad-accent);
  border-color: transparent;
  color: var(--on-accent);
  box-shadow: 0 8px 20px -8px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.btn-primary:hover { background: var(--grad-accent); border-color: transparent; filter: brightness(1.08); box-shadow: 0 10px 26px -8px var(--glow), inset 0 1px 0 rgb(255 255 255 / 0.22); }
.btn-danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); background: none; }
.btn-danger:hover { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); }
.btn-danger.solid { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn-ghost { background: none; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-sm { min-height: 32px; padding: 5px 11px; font-size: var(--fs-xs); border-radius: 10px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-btn {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface-2); cursor: pointer; color: var(--fg);
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Yüzeyler ---------- */
.panel {
  background: linear-gradient(180deg, var(--sheen), transparent 120px), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex; flex-direction: column; gap: 13px;
  min-width: 0;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* Gösterge kartları: üstte marka renginde ince çizgi ve köşede yumuşak parıltı */
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--sheen), transparent), var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px 13px;
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 75%);
  opacity: 0.85;
}
.stat::after {
  content: ""; position: absolute; z-index: -1;
  width: 150px; height: 150px; right: -60px; top: -80px;
  background: radial-gradient(closest-side, var(--glow), transparent);
  opacity: 0.6;
}
.stat-value {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; line-height: 1.15;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stat-note { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Listeler ---------- */
.list { display: flex; flex-direction: column; }
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.row:last-child { border-bottom: 0; }
button.row, .row[data-act] {
  width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0;
  text-align: left; cursor: pointer; border-radius: 0;
  transition: background 0.15s;
}
button.row:hover, .row[data-act]:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-end { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
/* Düğmeli satır: ana kısım bağlantı, sağda işlem düğmeleri; dar ekranda düğmeler alt satıra iner. */
.row.wrap { flex-wrap: wrap; }
.row-link {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 12px;
  border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
}
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
@media (max-width: 559px) {
  .row.wrap .row-actions { flex-basis: 100%; justify-content: flex-start; padding-left: 52px; }
  .row.wrap .row-link + .row-actions { padding-left: 0; }
}
.name-btn {
  border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
  font-weight: 650; color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.name-btn:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; flex: none; background: var(--surface-2); }
.seg button {
  border: 0; background: none; cursor: pointer;
  padding: 7px 12px; min-height: 34px;
  font-size: var(--fs-xs); font-weight: 700; color: var(--muted);
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button.ok[aria-pressed="true"] { background: var(--ok-soft); color: var(--ok); }
.seg button.bad[aria-pressed="true"] { background: var(--bad-soft); color: var(--bad); }
.banner {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, var(--surface)), var(--accent-soft));
  border: 1px solid var(--accent-line);
}
.banner svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); margin-top: 1px; }
.banner > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pick-list { display: flex; flex-direction: column; max-height: 52vh; overflow-y: auto; }

/* Aşama göstergesi */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.steps li { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: var(--fs-xs); font-weight: 650; color: var(--muted); }
.steps li::before { content: ""; height: 6px; border-radius: 999px; background: var(--surface-3); }
.steps li.done::before { background: color-mix(in srgb, var(--accent) 55%, var(--surface-3)); }
.steps li.now::before { background: var(--grad-accent); box-shadow: 0 0 12px var(--glow); }
.steps li.now { color: var(--fg); }
.steps li span { overflow-wrap: anywhere; }

/* ---------- Grafikler: tek seri, marka renginde; yazılar yazı renginde ---------- */
.chart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.chart-y {
  display: flex; flex-direction: column; justify-content: space-between;
  padding-bottom: 24px;
  font-size: var(--fs-xs); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums;
  line-height: 1; transform: translateY(-0.5em);
}
.chart-plot { position: relative; height: 200px; }
.chart-grid { position: absolute; inset: 0 0 24px 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid span { height: 1px; background: var(--line); }
.chart-cols { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; }
.col {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  height: 100%; padding: 0 0 24px; border: 0; background: none; cursor: default; color: var(--fg);
}
.col-bar {
  position: relative;
  width: min(26px, 70%); min-height: 2px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 55%, var(--surface)), color-mix(in srgb, var(--accent) 30%, var(--surface)));
  transition: background 0.15s;
}
.col.vurgu .col-bar, .col:hover .col-bar, .col:focus-visible .col-bar {
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 75%, white), var(--accent));
  box-shadow: 0 0 18px -4px var(--glow);
}
.col-val {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  margin-bottom: 4px;
  font-size: var(--fs-xs); font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.col-x { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 0.6875rem; color: var(--muted); white-space: nowrap; }
.col[data-tip]:hover::after, .col[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  z-index: 5; width: max-content; max-width: 220px;
  padding: 7px 10px; border-radius: 10px;
  background: var(--fg); color: var(--bg);
  font-size: var(--fs-xs); font-weight: 650; white-space: pre-line; text-align: left;
  box-shadow: var(--shadow-lg);
}
.chart-cols .col:first-child[data-tip]:hover::after, .chart-cols .col:first-child[data-tip]:focus-visible::after { left: 0; transform: none; }
.chart-cols .col:last-child[data-tip]:hover::after, .chart-cols .col:last-child[data-tip]:focus-visible::after { left: auto; right: 0; transform: none; }
@media (max-width: 520px) { .col-x.seyrek { display: none; } }

.hbars { display: flex; flex-direction: column; gap: 13px; }
.hbar { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: var(--fs-sm); }
.hbar-label { min-width: 0; display: flex; flex-direction: column; }
.hbar-label b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-label span { font-size: var(--fs-xs); color: var(--muted); }
.hbar-track { height: 10px; border-radius: 0 6px 6px 0; position: relative; }
.hbar-track.meter { background: var(--surface-3); border-radius: 999px; }
.hbar-fill { height: 100%; min-width: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, var(--surface)), var(--accent)); border-radius: 0 6px 6px 0; }
.hbar-track.meter .hbar-fill { border-radius: 999px; }
.hbar-val { font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; min-width: 3.5ch; }
@media (max-width: 420px) { .hbar { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) auto; } }

details.tablo summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 650; color: var(--accent-ink); }
.table-wrap { overflow-x: auto; }
.table-wrap table, table.veri { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.veri th, table.veri td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.veri th { font-size: 0.6875rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
table.veri .num { text-align: right; font-variant-numeric: tabular-nums; }
table.veri tbody tr:hover td { background: color-mix(in srgb, var(--accent) 5%, transparent); }
table.veri tr:last-child td { border-bottom: 0; }

/* Takip özeti satırı: liste adı, sayı, ok */
.count-big { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.avatar {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--surface-2)), var(--surface-3));
  color: var(--fg);
  border: 1px solid var(--line);
}
.avatar.lg { width: 56px; height: 56px; font-size: var(--fs-lg); }

/* ---------- Durum etiketleri ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700;
  white-space: nowrap;
  background: var(--surface-3); color: var(--muted);
  border: 1px solid transparent;
}
.pill.ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.pill.bad { background: var(--bad-soft); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 25%, transparent); }
.pill.info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb, var(--info) 25%, transparent); }
.pill.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }
.type-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 700;
  color: color-mix(in srgb, var(--c) 60%, var(--fg));
}
.type-chip::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--c); box-shadow: 0 0 8px color-mix(in srgb, var(--c) 60%, transparent); }

/* ---------- İlerleme çubuğu ---------- */
.bar { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--grad-accent); }
.bar.warn > span { background: var(--warn); }
.bar.bad > span { background: var(--bad); }
.bar.ok > span { background: var(--ok); }

/* ---------- Segment / filtre çipleri ---------- */
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: var(--fs-sm); font-weight: 650; color: var(--muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { color: var(--fg); border-color: var(--accent-line); }
.chip[aria-pressed="true"] { background: var(--grad-accent); color: var(--on-accent); border-color: transparent; box-shadow: 0 6px 16px -8px var(--glow); }
.chip .count { font-variant-numeric: tabular-nums; opacity: 0.75; margin-left: 5px; }

/* ---------- Form ---------- */
.search {
  display: flex; align-items: center; gap: 9px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; outline: none; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: var(--fs-sm); font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.field textarea { min-height: 80px; resize: vertical; }
.field input[type="color"] { padding: 2px; height: 40px; width: 64px; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field.invalid input, .field.invalid select { border-color: var(--bad); }
.field .err { font-size: var(--fs-xs); color: var(--bad); font-weight: 650; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.notice {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: var(--fs-sm);
  background: var(--warn-soft); color: color-mix(in srgb, var(--warn) 70%, var(--fg));
  border: 1px solid color-mix(in srgb, var(--warn) 22%, transparent);
}
.notice.info { background: var(--info-soft); color: color-mix(in srgb, var(--info) 70%, var(--fg)); border-color: color-mix(in srgb, var(--info) 22%, transparent); }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* ---------- Pencere (telefonda alttan açılan) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: var(--scrim);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade 0.15s ease-out;
}
.sheet {
  width: 100%; max-width: 580px;
  max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--sheen), transparent 160px), var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 16px;
  animation: rise 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 640px) {
  .overlay { align-items: center; padding: 24px; }
  .sheet { border-radius: 24px; border-bottom: 1px solid var(--line); }
}
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sheet-head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sheet-head h2 { font-size: 1.25rem; font-weight: 800; }
.sheet-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }

/* ---------- Bildirim ---------- */
.toast-wrap {
  position: fixed; z-index: 60;
  left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 26px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  width: min(92vw, 440px);
  pointer-events: none;
}
@media (min-width: 900px) { .toast-wrap { bottom: 24px; } }
.toast {
  pointer-events: auto;
  background: color-mix(in srgb, var(--fg) 94%, transparent); color: var(--bg);
  backdrop-filter: blur(10px);
  padding: 11px 15px; border-radius: 14px;
  font-size: var(--fs-sm); font-weight: 650;
  box-shadow: var(--shadow-lg);
  animation: rise 0.2s ease-out;
}
.toast.ok { background: color-mix(in srgb, var(--ok) 88%, black 12%); color: #fff; }
.toast.bad { background: color-mix(in srgb, var(--bad) 92%, black 8%); color: #fff; }

/* ---------- Boş durum ---------- */
.empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.list > .empty, li > .empty { border: 0; }

/* ---------- Ders programı ---------- */
.week-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.week-head h2 { flex: 1; min-width: 0; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 9px 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: var(--fs-xs); color: var(--muted); font-weight: 650;
}
.day-btn b { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 800; color: var(--fg); font-variant-numeric: tabular-nums; }
.day-btn.today b { color: var(--accent-ink); }
.day-btn[aria-pressed="true"] { background: var(--grad-accent); border-color: transparent; color: rgb(255 255 255 / 0.85); box-shadow: 0 8px 20px -10px var(--glow); }
.day-btn[aria-pressed="true"] b { color: #fff; }
.sessions { display: flex; flex-direction: column; gap: 8px; }
.session {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px; align-items: center;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--c);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 40%), var(--surface);
  text-align: left; cursor: pointer; width: 100%;
  transition: border-color 0.15s, transform 0.1s;
}
.session:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); border-left-color: var(--c); }
.session.past { opacity: 0.6; }
.session-time { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.session-time small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.session-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.session-main .row-sub { white-space: normal; }
.session-cap { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; min-width: 64px; }
.session-cap .bar { width: 64px; height: 6px; }

.week-grid { display: none; }
@media (min-width: 1100px) {
  .days { display: none; }
  .week-grid.enabled { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: start; }
  .week-grid.enabled + .day-view { display: none; }
  .wg-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .wg-head { padding: 6px 4px; font-size: var(--fs-xs); font-weight: 750; color: var(--muted); display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: 0.06em; }
  .wg-head.today { color: var(--accent-ink); }
  .wg-item {
    display: flex; flex-direction: column; gap: 2px;
    padding: 8px 9px;
    border-radius: 11px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--c);
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%), var(--surface);
    text-align: left; cursor: pointer; width: 100%;
    font-size: var(--fs-xs);
    transition: border-color 0.15s;
  }
  .wg-item:hover { border-color: color-mix(in srgb, var(--c) 50%, var(--line)); border-left-color: var(--c); }
  .wg-item.past { opacity: 0.55; }
  .wg-item b { font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
  .wg-item .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
}

/* ---------- Paket / üyelik kartı ---------- */
.pkg {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 26%, var(--surface)), var(--surface) 72%);
  border: 1px solid var(--accent-line);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 13px;
}
.pkg::after {
  content: ""; position: absolute; z-index: -1; right: -80px; top: -90px; width: 240px; height: 240px;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.pkg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pkg-big { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pkg-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pkg-meta > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; font-size: var(--fs-sm); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- Renk seçici ---------- */
.swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--surface);
  outline: 1px solid var(--line);
  background: var(--sw);
  cursor: pointer;
}
.swatch[aria-pressed="true"] { outline: 2px solid var(--fg); }

/* ---------- Rol seçici ---------- */
.role-list { display: grid; gap: 8px; }
.role-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer; text-align: left; width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.role-opt:hover { border-color: var(--accent-line); }
.role-opt[aria-pressed="true"] { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.role-opt svg { width: 22px; height: 22px; color: var(--accent-ink); flex: none; }
.role-opt span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

.divider { height: 1px; background: var(--line); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: initial; } }

/* ---------- Açılış ekranı (kapak) ---------- */
.kapak {
  position: fixed; inset: 0; z-index: 70;
  overflow-y: auto;
  color: #eef6f8;
  background:
    radial-gradient(900px 600px at 0% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
    radial-gradient(800px 600px at 100% 100%, rgb(16 168 158 / 0.28), transparent 60%),
    radial-gradient(600px 400px at 85% 10%, rgb(240 184 78 / 0.10), transparent 60%),
    #050c14;
  animation: fade 0.3s ease-out;
}
.kapak::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}
.kapak-ic {
  position: relative;
  max-width: 1040px; margin: 0 auto;
  min-height: 100%;
  padding: calc(22px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 28px;
}
.kapak-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kapak-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.kapak-logo svg { width: 40px; height: 40px; }
.kapak-logo span { display: flex; flex-direction: column; line-height: 1; }
.kapak-logo b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.kapak-logo small { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.32em; color: #91a5aa; margin-top: 4px; }
.kapak-etiket {
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16); color: #cfe3e6; background: rgb(255 255 255 / 0.05);
}
.kapak-ust-sag { display: flex; align-items: center; gap: 8px; }
/* Telefonda yalnızca "Tüm demolar" kalır; demo olduğu alt bilgide yazar. */
@media (max-width: 559px) { .kapak-etiket { display: none; } }
.kapak-tum {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 0 12px; border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.18); background: rgb(255 255 255 / 0.07);
  color: #eef6f8; text-decoration: none;
  font-size: var(--fs-sm); font-weight: 700; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.kapak-tum:hover { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.3); }
.kapak-tum svg { width: 16px; height: 16px; }
.kapak-govde { display: grid; gap: 28px; align-items: center; }
@media (min-width: 920px) { .kapak-govde { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; } }
.kapak-metin { display: flex; flex-direction: column; gap: 18px; animation: giris 0.5s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.kapak-metin .ust { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--accent) 45%, white); }
.kapak h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: #fff;
}
.kapak h1 em {
  font-style: normal;
  background: linear-gradient(100deg, color-mix(in oklab, var(--accent) 50%, white), #31e3d1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kapak-alt { font-size: 1.0625rem; color: #b6c8d0; max-width: 54ch; }
.kapak-ozellik { display: flex; flex-wrap: wrap; gap: 8px; }
.kapak-ozellik span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--fs-sm); font-weight: 650; color: #e6f1f4;
}
.kapak-ozellik span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #31e3d1; box-shadow: 0 0 10px #31e3d1; }
.kapak-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 16px; border: 0; cursor: pointer;
  background: var(--grad-accent); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  box-shadow: 0 16px 40px -14px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.2);
  transition: transform 0.15s, filter 0.15s;
}
.kapak-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.kapak-btn svg { width: 20px; height: 20px; }
.kapak-roller {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px; border-radius: 24px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.4);
  animation: giris 0.5s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.kapak-roller h2 { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #9fb4bd; }
.kapak-rol {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.08);
  color: #eef6f8; cursor: pointer; text-align: left; width: 100%;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.kapak-rol:hover { background: rgb(255 255 255 / 0.09); border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateX(2px); }
.kapak-rol > svg:first-child { width: 22px; height: 22px; flex: none; color: color-mix(in oklab, var(--accent) 45%, white); }
.kapak-rol > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kapak-rol b { font-weight: 750; }
.kapak-rol small { color: #9fb4bd; font-size: var(--fs-xs); }
.kapak-rol > svg:last-child { width: 18px; height: 18px; flex: none; color: #6f8792; }
.kapak-alt-bilgi { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: var(--fs-xs); color: #8aa0aa; }
.kapak-alt-bilgi a { color: #cfe3e6; }
