:root {
  --ink: #0e4f5c; --accent: #136473; --accent-soft: #eef6f7; --accent-line: #a7d0d7; --amber: #f97316; --bg: #f4f7f8; --card: #ffffff;
  --on-ink: #fff; --field: #fff; --ok-soft: #ecfdf3; --ok-line: #abefc6; --danger-soft: #fef3f2; --danger-line: #fecdca; --warn-soft: #fffaeb; --warn-line: #fedf89; --warn-text: #93370d; --pending: #b54708; --hover-ink: #0b3e48;
  --signal: #c2410c; --signal-soft: #fff4ec; --signal-line: #fec79e; --surface: #eef2f3;
  --field-line: #6b858d; --text: #0b1a1e; --muted: #4a5f66; --line: #dfe7ea; --danger: #b42318; --ok: #067647; --topbar-height: 60px;
  --title: #0b2b36; --radius: 14px; --radius-sm: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.6 system-ui, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; color: var(--text); background: var(--bg); }
a { color: var(--accent); text-underline-offset: 2px; }
::selection { background: var(--accent-line); color: var(--text); }
h1 { font-size: 1.65rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 1rem; color: var(--ink); }
h2 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.005em; margin: 1.75rem 0 .5rem; color: var(--ink); }
main { font-size: 1.0625rem; max-width: 1080px; margin: 0 auto; padding: 32px 28px; }
footer { max-width: 1040px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .875rem; }
.narrow { max-width: 460px; margin: 0 auto; }
.lead { font-size: 1.1rem; color: var(--muted); }
.hero { padding: 32px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 16px 0; }
.cards.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards .card h2 { margin-top: 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
button, .button { display: inline-block; background: var(--ink); color: var(--on-ink); border: 0; border-radius: 6px; padding: 10px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.4; }
button:hover, .button:hover { background: var(--hover-ink); }
button.secondary, .button.secondary { background: var(--field); color: var(--ink); border: 1px solid var(--line); }
button.secondary:hover, .button.secondary:hover { background: var(--surface); border-color: var(--accent-line); }
button.danger, .button.danger { background: var(--danger); }
.small { padding: 5px 12px; font-size: .9rem; }
button.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 500; text-decoration: underline; }
form.inline { display: inline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { margin: 0 0 16px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input:focus, .field select:focus, .field textarea:focus, .search input[type="search"]:focus { border-color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 6px; font: inherit; background: var(--field); color: var(--text); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.req { color: var(--danger); }
.hint { color: var(--muted); font-size: .9rem; margin: 4px 0; }
.error { color: var(--danger); font-size: .9rem; margin: 4px 0; }
.check { margin: 0 0 12px; }
.check label, .check-inline { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input, .check-inline input { width: auto; margin-top: 5px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 16px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 0 0 16px; }
.group legend { font-weight: 700; color: var(--ink); padding: 0 6px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.flash { padding: 10px 14px; border-radius: 6px; margin: 0 0 16px; border: 1px solid; }
.flash-success { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }
.flash-error { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
table.list { width: 100%; border-collapse: collapse; background: var(--card); }
table.list th, table.list td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tbody tr:last-child td { border-bottom: 0; }
table.list th { background: var(--surface); font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); white-space: nowrap; border-bottom: 1px solid var(--line); }
table.list tbody tr:hover td { background: var(--accent-soft); }
.table-wrap table.list { min-width: 720px; }
.empty { color: var(--muted); padding: 16px 0; }
.profile { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 6px 16px; margin: 0; }
.profile dt { color: var(--muted); }
.profile dd { margin: 0; }
iframe.preview { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color-scheme: light; }
.logo { max-height: 64px; max-width: 240px; }
.draft { background: var(--warn-soft); border: 1px solid var(--warn-line); padding: 10px 14px; border-radius: 6px; }
.legal h2 { font-size: 1.05rem; }
.badge { letter-spacing: .01em; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); border-radius: 6px; padding: 1px 7px; font-size: .875rem; font-weight: 700; }
.status { font-weight: 600; }
.status-pending { color: var(--pending); } .status-active { color: var(--ok); } .status-suspended { color: var(--danger); }
.tabs { display: flex; gap: 16px; margin: 0 0 16px; }
.tabs a[aria-current="page"] { font-weight: 700; color: var(--ink); }
.review .reason { color: var(--danger); }
.evidence { color: var(--muted); font-size: .9rem; }
.review-form { margin: 12px 0; }
.pilot { display: inline-block; background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn-text); border-radius: 6px; padding: 2px 10px; font-size: .875rem; font-weight: 600; margin: 0 0 16px; }

/* ── Marka (logo alanı) ve ziyaretçi üst menüsü ─────────────────────────────────────────────── */
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-mark { flex: none; color: var(--accent); }
.brand-logo { flex: none; max-height: 36px; max-width: 140px; }
.brand-text { display: flex; flex-direction: column; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.brand-text span { font-weight: 400; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.top { background: var(--card); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ── Giriş yapmış müşavir: beyaz üst başlık + beyaz sol menü ───────────────────────────────── */
.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.topbar { position: sticky; top: 0; z-index: 2; height: var(--topbar-height); background: var(--card); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 24px; }
.topbar .brand { margin-right: auto; }
.topbar > .crumbs { min-width: 0; flex: 0 1 auto; }
.topbar-user > * { flex: none; }
.topbar-user .who { flex: 0 1 auto; max-width: 220px; }
.topbar-user { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .875rem; min-width: 0; }
.topbar-user .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-button { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; color: var(--ink); font-weight: 600; cursor: pointer; background: var(--card); }
.menu-toggle:focus-visible + .topbar .menu-button { outline: 3px solid var(--accent); outline-offset: 2px; }
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - var(--topbar-height)); }
.side { background: var(--card); border-right: 1px solid var(--line); padding: 20px 12px; position: sticky; top: var(--topbar-height); height: calc(100vh - var(--topbar-height)); overflow-y: auto; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 6px; border-left: 3px solid transparent; color: var(--text); text-decoration: none; font-weight: 500; }
.side nav a:hover { background: var(--surface); }
.side nav a[aria-current="page"] { background: var(--accent-soft); border-left-color: var(--accent); color: var(--ink); font-weight: 700; }
.count { background: var(--surface); color: var(--ink); border-radius: 999px; padding: 0 9px; font-size: .875rem; font-weight: 600; }
.content { min-width: 0; }

/* ── Genel Bakış: özet kartları ve değişiklik listesi ───────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 24px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; padding: 16px 20px; }
.kpi-alert { border-top-color: var(--signal); }
.kpi-alert .kpi-value { color: var(--signal); }
.statusline { color: var(--muted); font-size: .95rem; margin: -8px 0 20px; }
.kpi-label { margin: 0; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.kpi-value { margin: 6px 0; font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.kpi-note { margin: 0; color: var(--muted); font-size: .875rem; }
.headline { font-size: 1.35rem; color: var(--ink); margin: 0 0 16px; }
.change-list { list-style: none; margin: 0; padding: 0; }
.change { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent-line); border-radius: 10px; padding: 16px 20px; margin: 0 0 12px; }
.change-main { min-width: 0; flex: 1 1 auto; }
.change-main p { margin: 4px 0; }
.change-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.change-head .level { margin-left: 0; }
.label { display: block; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.what { line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.why-line { color: var(--ink); }
.why-line.none { color: var(--muted); }
.review-link { flex: none; font-weight: 600; white-space: nowrap; padding: 6px 0; }
.change:hover { border-left-color: var(--accent); }
.change-title { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.meta { color: var(--muted); margin: 4px 0; }
.search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.search input[type="search"] { flex: 1 1 240px; padding: 9px 11px; border: 1px solid var(--field-line); border-radius: 6px; font: inherit; background: var(--field); color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; color: var(--ink); text-decoration: none; }
.chips a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chips a[aria-current="true"] .count { background: var(--field); }
.why { background: var(--accent-soft); border: 1px solid var(--accent-line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 20px; margin: 20px 0; }
.why h2 { margin-top: 0; }
.affected { list-style: none; margin: 0; padding: 0; }
.affected li { padding: 10px 0; border-top: 1px solid var(--accent-line); }
.affected li:first-child { border-top: 0; }
.affected p { margin: 4px 0 0; }
.level { display: inline-block; border-radius: 6px; padding: 1px 8px; font-size: .875rem; font-weight: 700; margin-left: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--card); }
.level-3 { background: var(--signal); border-color: var(--signal); color: #fff; }
.level-2 { border-color: var(--signal-line); background: var(--signal-soft); color: var(--signal); }

/* ── Telefon: menü düğmeyle açılıp kapanır (betiksiz), tablolar yatay kayar ─────────────────── */
@media (max-width: 800px) {
  .topbar { padding: 0 12px; gap: 8px; }
  .menu-button { display: inline-flex; }
  .topbar-user .who, .topbar > .crumbs, .topbar .avatar-sm, .brand-text span, .topbar .theme-button { display: none; }
  .topbar-user { gap: 10px; }
  .topbar .brand { min-width: 0; flex: 1 1 auto; }
  .brand-text { white-space: nowrap; }
  .shell { display: block; }
  .side { display: none; position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .menu-toggle:checked ~ .shell .side { display: block; }
  main { padding: 20px 16px; }
  table.list { display: block; overflow-x: auto; }
  .table-wrap table.list { display: table; }
  .profile { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .table-wrap table.list { min-width: 0; }
  .change { flex-direction: column; gap: 4px; }
  .brand-text { font-size: 1.05rem; }
}

/* ── Abonelik: süre bitti bandı, sınır notu, yönetici tablosu ─────────────────────────────────── */
.banner { background: var(--danger-soft); border-bottom: 1px solid var(--danger-line); color: var(--danger); padding: 10px 24px; font-weight: 600; }
.banner a { color: var(--danger); }
.limit-note { background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn-text); border-radius: 6px; padding: 10px 14px; margin: 0 0 16px; }
.sub-trial { color: var(--accent); }
.table-wrap select { padding: 4px 6px; border: 1px solid var(--field-line); border-radius: 6px; font: inherit; max-width: 220px; background: var(--field); color: var(--text); }
.table-wrap td form.inline, .table-wrap td > a.button { margin: 2px 4px 2px 0; }
@media (max-width: 800px) { .banner { padding: 10px 12px; } }

/* ── Onay bekleyen başvurular (kart düzeni) ───────────────────────────────────────────────────── */
.applicants { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.applicant { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; background: var(--card); }
.applicant .profile { grid-template-columns: minmax(90px, auto) 1fr; overflow-wrap: anywhere; }
.applicant .actions { margin-top: 12px; }

/* ── Koyu tema: müşavir "Koyu"yu seçtiğinde (html[data-theme="koyu"]); sistem ayarını izlemez ───────────── */

:root[data-theme="koyu"] {
    color-scheme: dark;
    --ink: #a7d0d7; --accent: #6fb0bb; --accent-soft: #0b3e48; --accent-line: #136473; --bg: #0b1a1e; --card: #12262b;
    --title: #e6eef0; --text: #e6eef0; --muted: #9db3b9; --line: #1f3a41; --surface: #1a333a; --field: #0b1a1e; --on-ink: #0b1a1e; --hover-ink: #d3e8eb;
    --field-line: #5b8089; --danger: #fda4a4; --ok: #6ee7a8; --signal: #fda669; --signal-soft: #431407; --signal-line: #9a3412;
    --ok-soft: #062b1c; --ok-line: #0a5a37; --danger-soft: #3a1210; --danger-line: #7a2420;
    --warn-soft: #33220a; --warn-line: #6b4a12; --warn-text: #f5c06b; --pending: #f5c06b;
}
:root[data-theme="koyu"] .level-3 { color: #1a0a02; }
:root[data-theme="koyu"] { --badge-ink: #1a0a02; }
:root[data-theme="koyu"] button.danger, :root[data-theme="koyu"] .button.danger { background: #b42318; color: #fff; }

/* ── Erişilebilirlik ve ziyaretçi sayfaları: içeriğe atla, ana sayfa vitrini, fiyat kartları, SSS ──── */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; }
main:focus { outline: none; }
button:disabled, .button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.lead, .hero p { max-width: 68ch; }
.hero { padding: 48px 0 32px; }
.hero h1 { font-size: 2.1rem; max-width: 24ch; letter-spacing: -.02em; line-height: 1.2; }
.hero .button { margin: 0 8px 8px 0; padding: 12px 24px; }
.cards .card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.cards .card strong { font-size: 1.5rem; color: var(--ink); }
details.card { padding: 0; }
details.card summary { padding: 14px 20px; cursor: pointer; list-style-position: inside; }
details.card[open] summary { border-bottom: 1px solid var(--line); }
details.card p { margin: 0; padding: 12px 20px 16px; }
details.card summary:focus-visible { outline-offset: -3px; }
.flash ul { margin: 6px 0 0; padding-left: 20px; }
.top .brand-text { font-size: 1.1rem; }
@media (max-width: 800px) {
  .hero { padding: 24px 0 16px; }
  .hero h1 { font-size: 1.6rem; }
  .kpi-value { font-size: 1.8rem; }
  .top { padding: 10px 12px; }
}

/* ── Tasarım teması: açık petrol zemin, yumuşak köşeli kartlar, hap biçimli menü ve rozetler ────────
   Yalnızca belirteçleri (var) kullanır: koyu tema ayrıca düzenlenmeden uyum sağlar. Gölge ve animasyon yoktur. */
h1 { color: var(--title); font-size: 2rem; letter-spacing: -.02em; margin-bottom: .35rem; }
h2 { color: var(--title); }
main { max-width: 1180px; }
.card, .group, .table-wrap, .kpi, .change, .why, .applicant, details.card { border-radius: var(--radius); }
.kpi { border-top-width: 1px; border-top-color: var(--line); padding: 18px 22px; position: relative; padding-left: 82px; }
.kpi-icon { position: absolute; left: 20px; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.kpi-alert { border-top-color: var(--line); }
.kpi-alert .kpi-icon { background: var(--signal-soft); border-color: var(--signal-line); color: var(--signal); }
.ico { flex: none; }
.ico-lg { width: 24px; height: 24px; }
.ico-end { margin-left: auto; color: var(--muted); }
.kpi-value { color: var(--title); font-size: 2rem; margin: 2px 0; }
.kpi-label { color: var(--title); font-size: .95rem; letter-spacing: 0; }
.change { border-left-width: 1px; border-left-color: var(--line); }
.change:hover { border-color: var(--accent-line); }
.change-title { color: var(--title); }
button, .button { border-radius: var(--radius-sm); padding: 10px 22px; }
button.secondary, .button.secondary { border-color: var(--accent-line); color: var(--accent); }
.small { border-radius: 8px; }
.field input, .field select, .field textarea, .search input[type="search"], .table-wrap select { border-radius: var(--radius-sm); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.topbar, .top { border-bottom-color: var(--line); }
.brand-text { font-size: 1.3rem; letter-spacing: -.01em; color: var(--title); }
.brand-text span { font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.side { padding: 20px 14px; }
.side nav { gap: 6px; }
.side nav a { border-left: 0; border-radius: var(--radius-sm); padding: 11px 14px; color: var(--title); justify-content: flex-start; gap: 12px; }
.side nav a .ico { order: -1; color: var(--muted); } /* simge DOM'da etiketten sonradır; görsel olarak başa alınır */
.side nav a[aria-current="page"] { background: var(--accent-soft); color: var(--title); }
.side nav a[aria-current="page"] .ico { color: var(--accent); }
.side nav a .count { margin-left: auto; }
.count { background: var(--warn-line); color: var(--warn-text); padding: 1px 10px; }
.side nav a[aria-current="page"] .count { background: var(--card); color: var(--accent); border: 1px solid var(--accent-line); }
table.list th { background: var(--card); color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; border-bottom-color: var(--line); }
table.list td { border-bottom-color: var(--line); }
.status { display: inline-block; border-radius: 999px; padding: 1px 12px; font-size: .875rem; border: 1px solid var(--line); background: var(--surface); }
.status-active { background: var(--ok-soft); border-color: var(--ok-line); }
.status-pending { background: var(--warn-soft); border-color: var(--warn-line); }
.status-suspended { background: var(--danger-soft); border-color: var(--danger-line); }
.badge, .level, .pilot { border-radius: 999px; }
.level-3 { background: var(--signal); }
.chips a { border-radius: 999px; padding: 7px 16px; }
.chips a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-ink); }
.tabs { gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.tabs a { color: var(--muted); text-decoration: none; padding-bottom: 8px; }
.tabs a[aria-current="page"] { color: var(--accent); border-bottom: 3px solid var(--accent); }
.flash, .limit-note, .draft { border-radius: var(--radius-sm); }
.limit-note { border-radius: var(--radius); display: block; }
.banner { border-radius: 0; }
.hero .button { border-radius: var(--radius-sm); }
iframe.preview { border-radius: var(--radius); }
/* ── Mükellefler: tablo + sağ özet paneli ────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; position: sticky; top: calc(var(--topbar-height) + 16px); }
.summary h2 { margin: 0 0 14px; font-size: 1.05rem; }
.summary p { margin: 8px 0; }
.summary-head { display: flex; align-items: center; gap: 12px; }
.summary-head > div { min-width: 0; }
.summary-head .meta { margin: 2px 0 0; overflow-wrap: anywhere; }
.summary-name { margin: 0; font-weight: 700; font-size: 1.05rem; color: var(--title); overflow-wrap: anywhere; }
.avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: var(--accent); color: var(--on-ink); font-weight: 700; letter-spacing: .02em; }
.summary-links { list-style: none; margin: 14px 0; padding: 0; border-top: 1px solid var(--line); }
.summary-links li { border-bottom: 1px solid var(--line); }
.summary-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--title); }
.summary-links a > span { display: flex; flex-direction: column; min-width: 0; }
.summary-links a:hover b { text-decoration: underline; }
.summary-count { color: var(--accent); font-weight: 600; }
.summary-progress { display: flex; justify-content: space-between; margin-bottom: 4px; }
.summary progress { width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden; background: var(--surface); accent-color: var(--accent); }
.summary progress::-webkit-progress-bar { background: var(--surface); }
.summary progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.summary progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.summary .button { display: block; text-align: center; }
.summary-pref { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
table.list a[aria-current="true"] { font-weight: 700; color: var(--title); }
table.list tr:has(a[aria-current="true"]) td { background: var(--accent-soft); }
@media (max-width: 1100px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 800px) {
  .kpi { padding-left: 76px; }
  h1 { font-size: 1.6rem; }
}

/* Yaklaşan tarihler */
.upcoming ul.plain { list-style: none; margin: 0; padding: 0; }
.upcoming li { padding: 8px 0; border-top: 1px solid var(--line); }
.upcoming li:first-child { border-top: 0; }
.upcoming .muted { color: var(--muted); font-size: .9rem; }

/* Ekran okuyucuya okunan, görünmeyen metin (kilitli modül bağlantısı vb.) */
.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; }
ul.plain { list-style: none; margin: 0 0 6px; padding: 0; }

/* ── Genel Bakış ve üst/yan çubuk yapısı (bütün temalar; renkler belirteçlerden gelir) ───────────────────── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 8px; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current="page"] { color: var(--title); font-weight: 600; }
.avatar-sm { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: var(--on-ink); font-size: .875rem; font-weight: 700; }
.bell-link { text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); position: relative; }
.bell-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--signal); color: var(--badge-ink, #fff); font-size: .875rem; font-weight: 700; line-height: 20px; text-align: center; }
.nav-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 4px; font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group[open] > summary .ico-chev { transform: rotate(90deg); }
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tone-violet .kpi-icon { background: #ede9fe; border-color: #c4b5fd; color: #5b21b6; }
.tone-rose .kpi-icon { background: var(--signal-soft); border-color: var(--signal-line); color: var(--signal); }
.tone-green .kpi-icon { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }
.tone-amber .kpi-icon { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn-text); }
.tone-cyan .kpi-icon { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }
.tone-indigo .kpi-icon { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.tone-slate .kpi-icon { background: var(--surface); border-color: var(--line); color: var(--muted); }
.charts, .two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.chart { margin: 0; }
.chart svg { width: 100%; height: 150px; display: block; }
.chart-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-axis { stroke: var(--muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bar-total { fill: var(--accent-line); }
.bar-affect { fill: var(--accent); }
.chart-cols { list-style: none; display: grid; gap: 4px; margin: 6px 0 0; padding: 0; text-align: center; font-size: .875rem; }
/* Sütun sayısı sınıfla verilir: CSP satır içi stile izin vermez */
.cols-1 { grid-template-columns: repeat(1, 1fr); } .cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); } .cols-6 { grid-template-columns: repeat(6, 1fr); } .cols-7 { grid-template-columns: repeat(7, 1fr); } .cols-8 { grid-template-columns: repeat(8, 1fr); }
.cols-9 { grid-template-columns: repeat(9, 1fr); } .cols-10 { grid-template-columns: repeat(10, 1fr); } .cols-11 { grid-template-columns: repeat(11, 1fr); } .cols-12 { grid-template-columns: repeat(12, 1fr); }
.chart-cols li { display: flex; flex-direction: column; min-width: 0; }
.chart-cols strong { color: var(--title); }
.legend { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.key-total { background: var(--accent-line); }
.key-affect { background: var(--accent); }
.hbars { list-style: none; margin: 0; padding: 0; }
.hbars li { display: grid; grid-template-columns: minmax(90px, 36%) 1fr auto; gap: 10px; align-items: center; padding: 6px 0; }
.hb { width: 100%; height: 10px; }
.hb-track { fill: var(--surface); }
.hb-fill { fill: var(--accent); }
.hb-val { color: var(--title); }
@media (max-width: 1100px) { .topbar-user .who { display: none; } }

/* ── Parlak (Glossy) tema: html[data-theme="parlak"] ─────────────────────────────────────────────────
   Koyu indigo degrade zemin, yarı saydam (dolgu en az %75 opak) hafif bulanık (8px) kartlar, parlak degrade ikon kutuları.
   Animasyon/geçiş/yazı gölgesi yok. Bulanıklık desteklenmiyorsa ya da saydamlık azaltılmışsa kartlar düz dolgu olur. */
:root[data-theme="parlak"] {
  color-scheme: dark;
  --ink: #c7d2fe; --accent: #a5b4fc; --accent-soft: rgba(129, 140, 248, .22); --accent-line: #6366f1; --bg: #120d36; --card: #221a66;
  --title: #f5f3ff; --text: #f1eeff; --muted: #c4c0e8; --line: rgba(196, 181, 253, .28); --surface: #2c2380; --field: #160f45; --on-ink: #1b1250; --hover-ink: #e0e7ff;
  --field-line: #8b8fe0; --danger: #fecaca; --ok: #86efac; --signal: #fdba74; --signal-soft: #4a1d0a; --signal-line: #c2410c;
  --ok-soft: #0b3a26; --ok-line: #15803d; --danger-soft: #4a1616; --danger-line: #b91c1c; --warn-soft: #3d2a0c; --warn-line: #a16207; --warn-text: #fde68a; --pending: #fde68a;
  --glass: rgba(34, 26, 102, .78); --glass-strong: rgba(30, 22, 92, .88); --glass-line: rgba(196, 181, 253, .3);
  --glass-shadow: 0 8px 28px rgba(8, 5, 40, .45); --blur: blur(8px);
  --badge-ink: #1a0a02;
  --bg-from: #1b1157; --bg-mid: #3b1d7a; --bg-to: #0f4c81;
}
:root[data-theme="parlak"] body { background: radial-gradient(900px 500px at 12% -5%, rgba(236, 72, 153, .35), transparent 60%), radial-gradient(800px 500px at 100% 10%, rgba(34, 211, 238, .28), transparent 60%), linear-gradient(135deg, var(--bg-from) 0%, var(--bg-mid) 50%, var(--bg-to) 100%) fixed; min-height: 100vh; }
:root[data-theme="parlak"] :is(.card, .group, .table-wrap, .kpi, .change, .summary, .applicant, details.card) {
  background: var(--glass); border-color: var(--glass-line); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
:root[data-theme="parlak"] :is(.topbar, .side) { background: var(--glass-strong); border-color: var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
:root[data-theme="parlak"] table.list, :root[data-theme="parlak"] table.list th { background: transparent; }
:root[data-theme="parlak"] table.list tbody tr:hover td { background: rgba(165, 180, 252, .14); }
:root[data-theme="parlak"] button:not(.link), :root[data-theme="parlak"] .button { background: linear-gradient(135deg, #e0e7ff, #c4b5fd); color: #1b1250; box-shadow: 0 2px 8px rgba(8, 5, 40, .4); }
:root[data-theme="parlak"] button.link { background: none; box-shadow: none; color: var(--ink); }
:root[data-theme="parlak"] :is(button.secondary, .button.secondary) { background: var(--glass-strong); color: var(--ink); box-shadow: none; }
:root[data-theme="parlak"] .bell-link { background: var(--glass-strong); }
:root[data-theme="parlak"] .side nav a[aria-current="page"] { background: linear-gradient(135deg, rgba(129, 140, 248, .4), rgba(236, 72, 153, .28)); color: var(--title); }
:root[data-theme="parlak"] .kpi-icon { border: 0; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 12px rgba(8, 5, 40, .4); }
:root[data-theme="parlak"] .tone-blue .kpi-icon { background: linear-gradient(135deg, #38bdf8, #2563eb); }
:root[data-theme="parlak"] .tone-violet .kpi-icon { background: linear-gradient(135deg, #c084fc, #7c3aed); }
:root[data-theme="parlak"] .tone-rose .kpi-icon { background: linear-gradient(135deg, #fb7185, #e11d48); }
:root[data-theme="parlak"] .tone-green .kpi-icon { background: linear-gradient(135deg, #4ade80, #059669); }
:root[data-theme="parlak"] .tone-amber .kpi-icon { background: linear-gradient(135deg, #fbbf24, #ea580c); }
:root[data-theme="parlak"] .tone-cyan .kpi-icon { background: linear-gradient(135deg, #22d3ee, #0e7490); }
:root[data-theme="parlak"] .tone-indigo .kpi-icon { background: linear-gradient(135deg, #818cf8, #4338ca); }
:root[data-theme="parlak"] .tone-slate .kpi-icon { background: linear-gradient(135deg, #94a3b8, #475569); }
:root[data-theme="parlak"] .bar-total { fill: #6366f1; }
:root[data-theme="parlak"] .bar-affect { fill: #f0abfc; }
:root[data-theme="parlak"] .key-total { background: #6366f1; }
:root[data-theme="parlak"] .key-affect { background: #f0abfc; }
:root[data-theme="parlak"] .hb-fill { fill: #f0abfc; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root[data-theme="parlak"] { --glass: var(--card); --glass-strong: var(--card); }
}
@media (prefers-reduced-transparency: reduce) {
  :root[data-theme="parlak"] { --glass: var(--card); --glass-strong: var(--card); --blur: none; }
}
@media (max-width: 800px) { :root[data-theme="parlak"] body { background-attachment: scroll; } }

/* ── Yazı boyutu: "Büyük" seçilince bütün yazılar (rem) yaklaşık %15 büyür; gövde yazısı da rem tabanlıdır ─────── */
:root[data-font="buyuk"] { font-size: 115%; }
.theme-button { font-size: .875rem; white-space: nowrap; }

/* Giriş sayfası: dekoratif, temsili görsel (yapay zekâ ile üretilmiştir; müşteri ya da gerçek ekran değildir). Telefonda gizli. */
.login-split { display: grid; grid-template-columns: minmax(0, 460px); justify-content: center; gap: 32px; }
.login-art { display: none; margin: 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #d6dee6; }
.login-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.login-art figcaption { position: absolute; right: 10px; bottom: 10px; font-size: 14px; color: #fff; background: rgba(16, 35, 52, .72); padding: 2px 10px; border-radius: 6px; }
@media (min-width: 1000px) {
  .login-split { grid-template-columns: minmax(0, 460px) minmax(0, 520px); align-items: stretch; }
  .login-art { display: block; order: 2; min-height: 360px; }
}

/* Sol kenar boşlukları: logo ve menü ekran kenarına yapışmaz, dar pencerede kırpılmaz (tüm temalar) */
.topbar { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.side { padding-left: max(18px, env(safe-area-inset-left)); padding-right: 16px; box-sizing: border-box; }
.side nav a { min-width: 0; }
.side nav a > :not(.ico):not(.count) { min-width: 0; overflow-wrap: anywhere; }

/* Soru Asistanı */
.pre-wrap { white-space: pre-wrap; }
.ask-form .field { margin-bottom: 8px; }
.ask-form textarea { min-height: 7.5em; resize: vertical; box-sizing: border-box; }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 16px; }
.ask-actions .hint { margin: 0; margin-right: auto; }
.ask-actions #soru-durum { margin-right: 0; }
.how-it-works { margin: 8px 0 0; }
.how-it-works summary { cursor: pointer; color: var(--accent); font-weight: 500; width: fit-content; }
.past-question { padding: 8px 0; border-top: 1px solid var(--line); }
.past-question summary { cursor: pointer; }

/* Bildirimler sayfası: okunmamışlar kalın, okunmuşlar soluk (renk --muted ile; saydamlık yok, kontrast AA kalır) */
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.notif-list li.is-unread > a { font-weight: 700; }
.notif-list li.is-read > a, .notif-list li.is-read .muted { color: var(--muted); font-weight: 400; }
.notif-all { margin: 0 0 8px; }

/* Hesap güvenliği: QR (her temada beyaz zemin, okutulabilsin), yedek kodlar, adımlar, olay satırları */
.qr { display: inline-block; background: #fff; padding: 8px; border-radius: 8px; border: 1px solid var(--line); margin: 8px 0; }
.qr svg { display: block; width: 220px; height: 220px; }
.secret-key { font-size: 1rem; letter-spacing: .08em; word-break: break-all; }
.codes { list-style: none; margin: 16px 0; padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; border: 1px dashed var(--line); border-radius: 8px; }
.codes code { font-size: 1.05rem; letter-spacing: .06em; font-weight: 700; }
.steps { padding-left: 20px; }
.badge.on, .badge.off { margin-left: 8px; }
tr.event-bad td { font-weight: 700; }
