/* Radius tasarım dili v3 ("Radius PoC Tasarımı" kanvası) — Inter; beyaz yüzeyler, Radius laciverti #124A85 ana renk,
   kırmızı #E31E27 yalnızca vurgu (seçili menüdeki nokta, süre azalınca, güvenlik, imha). Açık tema varsayılan. */
:root, :root[data-theme="light"] {
  --page: #F6F8FB; --card: #FFFFFF; --chip: #F1F4F9; --field: #F7F9FD; --line: #E3E8EF; --line-strong: #C9D6E6; --line-soft: #EEF1F5;
  --text: #0F1F33; --text2: #3B4A5E; --muted: #56677D; --faint: #B8C3D1;
  --red: #E31E27; --red-text: #C4161E; --red-tint: #FDECEC;
  --blue: #124A85; --blue-hover: #0C3664; --blue-2: #124A85; --link: #124A85; --tint: #EEF3F9; --tint-2: #F4F7FD; --pip: #E3EAF8; --nav-bg: #F1F4F9;
  --orange: #C2410C; --orange-tint: #FFF1E6; --grey-tint: #EEF0F6;
  --side: #FFFFFF; --side-line: #E3E8EF;
  --th-bg: transparent; --th-fg: #56677D;
  --ok: #15803D; --warn: #B45309; --dis-bg: #ECEFF4; --dis-fg: #7A8597;
  --hover: #F6F8FB;
  --shadow: 0 24px 48px -20px rgba(20, 40, 110, .4);
  --shadow-lg: 0 30px 60px -20px rgba(15, 31, 51, .4);
  --backdrop: rgba(15, 31, 51, .35);
  --grid: rgba(18, 74, 133, .06);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #0A1220; --card: #101B2D; --chip: #17243A; --field: #0D1727; --line: #1E2C42; --line-strong: #2B3D58; --line-soft: #18253A;
  --text: #E8EEF6; --text2: #B4C1D3; --muted: #8494AA; --faint: #4A5B74;
  --red: #E31E27; --red-text: #FF7A80; --red-tint: rgba(227, 30, 39, .16);
  --blue: #2A6BC0; --blue-hover: #3A7BD0; --blue-2: #2A6BC0; --link: #8AB6EC; --tint: #16294A; --tint-2: #142238; --pip: #22324A; --nav-bg: #17243A;
  --orange: #FB923C; --orange-tint: rgba(251, 146, 60, .14); --grey-tint: #1C2A40;
  --side: #0D1727; --side-line: #1E2C42;
  --th-bg: transparent; --th-fg: #8494AA;
  --ok: #4ADE80; --warn: #FBBF24; --dis-bg: #17243A; --dis-fg: #6F82A0;
  --hover: #132036;
  --shadow: 0 24px 48px -20px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --backdrop: rgba(3, 8, 16, .62);
  --grid: rgba(138, 182, 236, .05);
  color-scheme: dark;
}
:root { --ease: cubic-bezier(.2, .7, .3, 1); --side-w: 248px; }

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--page); color: var(--text);
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 15px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--link); text-decoration: none; text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 500; letter-spacing: 0; margin: 0; }
h1 { font-size: 26px; line-height: 1.25; letter-spacing: -.01em; }
h2 { font-size: 18px; line-height: 1.3; }
h3 { font-size: 16px; }
p { margin: 0; }
code, .mono { font-family: 'Inter', system-ui, sans-serif; font-size: 13.5px; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.text2 { color: var(--text2); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.inline { display: inline; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.grow { flex: 1 1 auto; min-width: 0; }
.ic { flex: none; display: block; }
::selection { background: color-mix(in srgb, var(--link) 35%, transparent); }

/* Klavye odağı: fareyle tıklamada görünmez, Tab ile her yerde görünür */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }

/* ---------- Logo ---------- */
.logo { display: block; height: 26px; width: auto; }
.logo-light { display: none; }
:root[data-theme="light"] .logo-light { display: block; }
:root[data-theme="light"] .logo-dark { display: none; }
/* Lacivert sol menüde her iki temada beyaz logo */
:root .side .logo-dark { display: block; }
:root .side .logo-light { display: none; }

/* ---------- Yönetim çerçevesi: sol menü + üst bar + içerik ---------- */
.app { min-height: 100vh; display: flex; }
.nav-cb { display: none; }
.side {
  flex: 0 0 var(--side-w); position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 18px 12px 16px; background: var(--side); border-right: 1px solid var(--side-line); color: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.side .brand { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 26px; }
.side .nav-close { display: none; }
.nav-group { padding: 14px 12px 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 12px;
  border-radius: 6px; font-size: 14px; color: rgba(255, 255, 255, .8);
  transition: background-color .15s, color .15s;
}
.nav-item:hover { background: rgba(255, 255, 255, .08); text-decoration: none; color: #fff; }
.nav-item[aria-current="page"] { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 500; }
.nav-item[aria-current="page"] .ic { color: #fff; }
.nav-item[aria-current="page"]::before {
  content: ""; position: absolute; left: -12px; top: 10px; width: 3px; height: 20px; border-radius: 0 2px 2px 0; background: var(--red);
}
.nav-item .label { flex: 1; }
.count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
}
.side .version { margin-top: auto; padding: 24px 12px 0; font-size: 12px; color: rgba(255, 255, 255, .55); display: flex; align-items: center; gap: 8px; }
.side .version .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.side-backdrop { display: none; }

.main-col { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 15;
  display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 40px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.icon-btn.nav-toggle { display: none; } /* yalnızca dar ekranda görünür; .icon-btn kuralı bunu ezmesin */
.search { flex: 0 1 380px; position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; left: 11px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 38px; padding: 0 56px 0 34px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--field); color: var(--text); font: inherit; font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--muted); }
.search input:hover { border-color: var(--line-strong); }
.search kbd {
  position: absolute; right: 8px; font: 500 11px 'Inter', sans-serif; color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; background: var(--card);
}
.search input:focus ~ kbd { display: none; }
.topbar .spacer { flex: 1; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 6px; border: 0; background: transparent; color: var(--text2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
  transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: var(--nav-bg); color: var(--text); }
/* Tema butonu: koyu temada güneş (açığa geç), açık temada ay */
.theme-btn .ic-moon { display: none; }
:root[data-theme="light"] .theme-btn .ic-moon { display: block; }
:root[data-theme="light"] .theme-btn .ic-sun { display: none; }
.user-btn {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 4px; border-radius: 6px;
  color: var(--text); font-size: 14px; cursor: pointer; list-style: none; transition: background-color .15s;
}
.user-btn::-webkit-details-marker { display: none; }
.user-btn:hover, .menu[open] > .user-btn { background: var(--nav-bg); }
.user-btn .ic { color: var(--muted); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #1D5AA6, #E51D28);
  font-size: 11.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; text-transform: uppercase;
}
.content { flex: 1; width: 100%; max-width: 1360px; padding: 32px 40px 56px; display: flex; flex-direction: column; gap: 24px; }
.content.narrow { max-width: 960px; }

@media (max-width: 900px) {
  .app { display: block; }
  .nav-cb { display: block; position: absolute; opacity: 0; pointer-events: none; }
  .side {
    position: fixed; z-index: 60; inset: 0 auto 0 0; width: min(280px, 86vw); height: 100%;
    transform: translateX(-102%); transition: transform .22s var(--ease); box-shadow: var(--shadow-lg);
  }
  .side .nav-close { display: inline-flex; margin-right: -6px; }
  .nav-cb:checked ~ .side { transform: none; }
  .side-backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: var(--backdrop); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .nav-cb:checked ~ .side-backdrop { opacity: 1; pointer-events: auto; }
  .nav-cb:focus-visible ~ .main-col .nav-toggle { outline: 2px solid var(--link); outline-offset: 2px; }
  .icon-btn.nav-toggle { display: inline-flex; margin-left: -8px; }
  .topbar { padding: 0 16px; }
  .content { padding: 24px 16px 48px; }
  .search kbd { display: none; }
  .search input { padding-right: 12px; }
  .user-btn .uname, .user-btn > .ic { display: none; }
}

/* ---------- Sayfa başlığı ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; }
.page-head > h1, .page-head > .title { flex: 1 1 300px; min-width: 0; }
.page-head .sub { flex-basis: 100%; color: var(--text2); margin-top: -4px; }
.page-head .title .sub { margin-top: 4px; }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--text2); }
.crumb a:hover { color: var(--text); }
.crumb .ic { color: var(--muted); }

/* ---------- Butonlar ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 6px; border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
  --spin: var(--text);
}
.btn:hover { text-decoration: none; background: var(--nav-bg); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; --spin: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 1px 2px rgba(0, 0, 0, .25); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; --spin: #fff; }
.btn-danger:hover { background: var(--red); filter: brightness(1.08); }
.btn-ghost { border-color: transparent; color: var(--text2); }
.btn-ghost:hover { color: var(--text); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--dis-bg); border-color: var(--dis-bg); color: var(--dis-fg); cursor: not-allowed; filter: none; box-shadow: none; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; gap: 6px; }
.btn-lg { height: 46px; padding: 0 24px; }
.btn-block { width: 100%; height: 48px; font-size: 15px; }
/* Gönderim sırasında: metin gizlenir, dönen gösterge çıkar; çift gönderim JS ile engellenir */
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; border: 2px solid var(--spin); border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-size: 14px; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--red-text); }
.link-btn.quiet { color: var(--text2); }

/* ---------- Durum etiketleri ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1.5;
  background: var(--chip); color: var(--text2); white-space: nowrap; vertical-align: middle;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.badge.plain::before { display: none; }
.badge.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.badge.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.badge.danger { background: color-mix(in srgb, var(--red-text) 14%, transparent); color: var(--red-text); }
.badge.muted { background: var(--chip); color: var(--muted); }
.tone-ok { color: var(--ok); }
.tone-warn { color: var(--warn); }
.tone-danger { color: var(--red-text); }
.tone-muted { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Kart ve panel ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.card.clip { overflow: hidden; }
.card-pad { padding: 28px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; }
.card-head h2 { flex: 1; font-size: 16px; }
.card-head h2 .n, .tab .n { font-weight: 400; color: var(--muted); }
.card-head + .table-wrap, .card-head + .tbl { border-top: 1px solid var(--line); }
.card-desc { font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 400; }
.section-title { margin-bottom: 18px; }
.inset { margin: 0 20px 18px; padding: 20px; border-radius: 8px; border: 1px solid var(--line); background: var(--page); }

/* ---------- Özet kartları ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; color: var(--text); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
a.stat:hover { text-decoration: none; border-color: var(--line-strong); }
.stat .k { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.stat .k .ic { color: var(--text2); }
.stat .v { font-size: 30px; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat .d { font-size: 12.5px; color: var(--muted); }
.stat.warn .k .ic { color: var(--warn); }
.stat.danger .k .ic { color: var(--red-text); }
.stat.ok .k .ic { color: var(--ok); }

/* ---------- Bildirim satırı (flash) ---------- */
.notice {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--card); font-size: 14.5px; color: var(--text);
}
.notice > .ic { margin-top: 1px; color: var(--link); }
.notice > .body { flex: 1; min-width: 0; }
.notice.ok { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); background: color-mix(in srgb, var(--ok) 7%, var(--card)); }
.notice.ok > .ic { color: var(--ok); }
.notice.err { border-color: color-mix(in srgb, var(--red-text) 45%, var(--line)); background: color-mix(in srgb, var(--red-text) 7%, var(--card)); color: var(--text); }
.notice.err > .ic { color: var(--red-text); }
.notice.warn { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); background: color-mix(in srgb, var(--warn) 7%, var(--card)); }
.notice.warn > .ic { color: var(--warn); }
.notice.small { font-size: 13.5px; }
.notice .x { margin: -6px -6px -6px 0; width: 32px; height: 32px; }
.notice.leaving { opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }

/* ---------- Uyarı satırları ---------- */
.alerts > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 13px 20px; }
.alerts > div + div { border-top: 1px solid var(--line); }
.alerts .kind { display: inline-flex; align-items: center; gap: 8px; width: 96px; flex: none; font-size: 12.5px; font-weight: 500; }
.alerts .kind .ic { flex: none; }
.alerts .text { flex: 1 1 300px; font-size: 14.5px; }
.alerts a { font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  font-size: 12.5px; font-weight: 500; text-align: left; padding: 10px 16px; white-space: nowrap;
  background: var(--th-bg); color: var(--th-fg); letter-spacing: .01em; font-weight: 600;
}
.tbl th:first-child, .tbl td:first-child { padding-left: 20px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 20px; }
.tbl td { font-size: 14px; padding: 14px 16px; white-space: nowrap; border-top: 1px solid var(--line); vertical-align: top; transition: background-color .12s; }
.tbl thead + tbody tr:first-child td { border-top: 0; }
.tbl tbody tr:hover td { background: var(--hover); }
.tbl tr[data-href] { cursor: pointer; }
.tbl td.wrap { white-space: normal; min-width: 220px; }
.tbl .sub { font-size: 13px; color: var(--muted); margin-top: 3px; font-weight: 400; }
.tbl .strong { font-weight: 500; }
.tbl .end { text-align: right; }
.tbl a.strong { color: var(--text); }
.tbl tr[data-href]:hover a.strong { text-decoration: underline; }
.tbl tr.dim td { opacity: .55; }
.tbl.compact td { padding: 11px 16px; }
.tbl.kv td { white-space: normal; }
.tbl.kv td:first-child { width: 42%; }
.empty { padding: 28px 20px; color: var(--muted); font-size: 14.5px; }

/* Boş durum */
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 44px 24px 48px; }
.empty-state .eic {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--chip); color: var(--text2);
}
.empty-state .et { font-size: 15.5px; font-weight: 500; }
.empty-state .ed { font-size: 14px; color: var(--muted); max-width: 420px; }
.empty-state .btn { margin-top: 14px; }

/* ---------- Sayfalama ---------- */
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 10px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pager .btns { display: inline-flex; gap: 4px; }
.pager a, .pager span.off {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); text-decoration: none; transition: background-color .15s;
}
.pager a:hover { background: var(--nav-bg); }
.pager span.off { color: var(--muted); opacity: .5; }

/* ---------- Sekmeler ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.card > .tabs { padding: 0 12px; }
.tab {
  display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; margin-bottom: -1px; flex: none;
  border-bottom: 2px solid transparent; color: var(--text2); font-size: 14.5px; text-decoration: none; transition: color .15s, border-color .15s;
}
.tab:hover { color: var(--text); text-decoration: none; border-bottom-color: var(--line-strong); }
.tab[aria-selected="true"] { border-bottom-color: var(--red); color: var(--text); font-weight: 500; }
.tab .n { font-size: 12.5px; padding: 0 7px; min-width: 22px; height: 20px; border-radius: 10px; background: var(--chip); display: inline-flex; align-items: center; justify-content: center; }
.tab[aria-selected="true"] .n { color: #fff; background: var(--blue); }
.tab .n.alert { color: #fff; background: var(--red); font-weight: 500; }

/* ---------- Segment filtre ---------- */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--chip); max-width: 100%; overflow-x: auto; }
.seg a { height: 30px; padding: 0 12px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 13.5px; color: var(--text2); text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.seg a:hover { color: var(--text); }
.seg a[aria-current="true"] { background: var(--blue); color: #fff; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }

/* ---------- Form alanları ---------- */
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--text2); font-weight: 500; }
.field .hint, .field .err-text { font-weight: 400; }
.in, select.in, textarea.in {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-strong);
  background: var(--field); color: var(--text); font: inherit; font-size: 15px; font-weight: 400;
  transition: border-color .15s, box-shadow .15s;
}
.in::placeholder { color: var(--muted); opacity: .8; }
.in:hover { border-color: color-mix(in srgb, var(--line-strong) 60%, var(--muted)); }
select.in { appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E919A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
textarea.in { height: auto; padding: 10px 14px; resize: vertical; }
.in.sm { height: 38px; font-size: 14px; }
.in:focus, .search input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); }
.in[aria-invalid="true"] { border-color: var(--red-text); }
.in[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--red-text) 22%, transparent); }
.err-text { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--red-text); }
.hint { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); cursor: pointer; font-weight: 400; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.consent { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--field); transition: border-color .15s, background-color .15s; }
.consent:has(input:checked) { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok) 6%, var(--field)); }
.radio-card {
  flex: 1 1 220px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.radio-card:hover { border-color: var(--line-strong); }
.radio-card:has(input:checked) { border-color: var(--link); background: color-mix(in srgb, var(--link) 6%, var(--card)); }
.radio-card input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); }
.radio-card .t { display: block; font-size: 14.5px; font-weight: 500; color: var(--text); }
.radio-card .s { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
/* "Kişilere e-postayla bildir": radyo kartlarıyla aynı görünüm, işaretliyken lacivert vurgu */
.notify-check { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); transition: border-color .15s, background-color .15s; }
.notify-check:has(input:checked) { border-color: var(--link); background: color-mix(in srgb, var(--link) 6%, var(--card)); }
.notify-check .t { display: block; font-size: 14.5px; font-weight: 500; color: var(--text); }
.notify-check .s { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 13.5px; color: var(--text2); margin-bottom: 10px; padding: 0; font-weight: 500; }

/* Parola göster/gizle ve sayaç gibi alan ekleri (JS ile eklenir) */
.affix { position: relative; display: block; }
.affix .in { padding-right: 52px; }
.affix .eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; }
.affix .counter { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--muted); font-weight: 400; pointer-events: none; font-variant-numeric: tabular-nums; }
.affix .counter.done { color: var(--ok); }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px; border-radius: 8px;
  border: 1.5px dashed var(--line-strong); background: var(--field); cursor: pointer; text-align: center;
  transition: border-color .15s, background-color .15s;
}
.dropzone:hover { border-color: var(--muted); }
.dropzone.drag { border-color: var(--link); background: color-mix(in srgb, var(--link) 8%, var(--field)); }
.dropzone:focus-within { border-color: var(--link); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .dz-ic { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.dropzone u { color: var(--link); text-decoration: none; font-weight: 500; }
.dropzone .files-picked { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text); }
.dropzone .files-picked:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); font-size: 12.5px; }
.chip .sz { color: var(--muted); font-family: 'Inter', sans-serif; }
.chip.bad { border-color: color-mix(in srgb, var(--red-text) 50%, var(--line)); color: var(--red-text); }
.summary-line {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 8px;
  background: var(--page); border: 1px solid var(--line); font-size: 14px; color: var(--text2);
}
.summary-line .ic { margin-top: 2px; color: var(--muted); }
.summary-line b { font-weight: 500; color: var(--text); }
.summary-line b.purge { color: var(--red-text); }

/* Kişi satırları (Yeni PoC / Kişi ekle) */
.people-rows .ph, .people-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr) 40px; gap: 10px; }
.people-rows .ph { padding-bottom: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.people-row { align-items: start; margin-bottom: 10px; }
.people-row .idx { height: 42px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.people-row .in { height: 42px; }
.people-row label { display: flex; flex-direction: column; gap: 4px; }
.people-row .rm { width: 40px; height: 42px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s, color .15s; }
.people-row .rm:hover { background: color-mix(in srgb, var(--red-text) 12%, transparent); color: var(--red-text); }
.people-row.enter { animation: rowIn .2s var(--ease); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 700px) {
  .people-rows .ph { display: none; }
  .people-row { grid-template-columns: 1fr 40px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .people-row .idx { display: none; }
  .people-row label { grid-column: 1; }
  .people-row .rm { grid-column: 2; grid-row: 1; }
}
/* Kişi satırında dosya sütunu: "on" her zaman, "toggle" formda "Kişi bazlı" seçiliyken */
.people-rows .pf { display: none; }
.people-rows.files-on .pf,
form:has([name="file_mode"][value="personal"]:checked) .people-rows.files-toggle .pf { display: flex; }
.people-rows.files-on .ph, .people-rows.files-on .people-row,
form:has([name="file_mode"][value="personal"]:checked) .people-rows.files-toggle .ph,
form:has([name="file_mode"][value="personal"]:checked) .people-rows.files-toggle .people-row {
  grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .85fr) minmax(0, 1.15fr) 40px;
}
@media (max-width: 700px) {
  .people-rows .people-row, .people-rows.files-on .people-row,
  form:has([name="file_mode"][value="personal"]:checked) .people-rows.files-toggle .people-row { grid-template-columns: 1fr 40px; }
}
.in-file {
  width: 100%; height: 42px; padding: 6px 8px; border-radius: 6px; border: 1px dashed var(--line-strong);
  background: var(--field); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.in-file:hover { border-color: var(--muted); }
.in-file:focus-visible { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); }
.in-file.has-file { border-style: solid; border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); color: var(--text); }
.in-file[aria-invalid="true"] { border-color: var(--red-text); }
.in-file::file-selector-button {
  height: 28px; margin-right: 10px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 5px;
  background: var(--chip); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer;
}
.in-file.sm { height: 38px; padding: 4px 6px; max-width: 320px; }

/* Dağıtım şekli seçimi: içerik, seçilen moda göre gösterilir (JS gerekmez) */
.mode-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.mode-cards .radio-card { flex: none; }
form:not(:has([name="file_mode"][value="shared"]:checked)) .when-shared,
form:not(:has([name="file_mode"][value="personal"]:checked)) .when-personal,
form:not(:has([name="file_mode"][value="later"]:checked)) .when-later { display: none !important; }

/* Dosya dağıtım özeti (PoC detayı > Dosyalar) */
.dist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding: 18px 20px; }
.dist-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--page); }
.dist-item .k { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dist-item .v { font-size: 15px; font-weight: 500; word-break: break-all; }
.dist-item .d { font-size: 13px; color: var(--text2); }
.dist-item .btn { align-self: flex-start; margin-top: 8px; }
.tbl tr.focus td { background: color-mix(in srgb, var(--link) 8%, transparent); }

.add-row { display: inline-flex; align-items: center; gap: 8px; height: 38px; margin-top: 4px; padding: 0 12px 0 8px; border: 1px dashed var(--line-strong); border-radius: 6px; background: transparent; color: var(--link); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .15s, border-color .15s; }
.add-row:hover { background: var(--nav-bg); border-color: var(--link); }

/* Uzun formlarda kaydet çubuğu ekranın altında sabit kalır */
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; }
.form-actions.sticky {
  position: sticky; bottom: 16px; z-index: 5; padding: 12px 12px 12px 18px;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.form-actions .note { margin-right: auto; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .form-actions .note { display: none; } .form-actions.sticky .btn { flex: 1; } }

/* ---------- Açılır menü (İşlemler ▾, Yönet, hesap) ---------- */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .ic { transition: transform .15s; }
.menu[open] > summary .chev { transform: rotate(180deg); }
.menu-pop, .row-actions .acts.floating {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 220px; padding: 6px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow);
  animation: pop .14s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.menu-pop .mi, .menu-pop form .mi {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: var(--text);
  font: inherit; font-size: 14px; text-align: left; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.menu-pop .mi .ic { color: var(--muted); }
.menu-pop .mi:hover { background: var(--nav-bg); text-decoration: none; }
.menu-pop .mi.danger, .menu-pop .mi.danger .ic { color: var(--red-text); }
.menu-pop .mi.danger:hover { background: color-mix(in srgb, var(--red-text) 10%, transparent); }
.menu-pop .sep { height: 1px; background: var(--line); margin: 6px -6px; }
.menu-pop .head { padding: 8px 10px 6px; font-size: 12.5px; color: var(--muted); }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; }

/* Tablo satırı içi işlemler ("Yönet"). JS yoksa satır içinde açılır; JS varsa tablo dışına taşan bir menü olarak gösterilir */
.row-actions > summary { list-style: none; cursor: pointer; display: inline-flex; }
.row-actions > summary::-webkit-details-marker { display: none; }
.row-actions[open] > summary { background: var(--nav-bg); color: var(--text); }
.row-actions .acts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-top: 10px; }
.row-actions .acts.floating { position: fixed; right: auto; top: 0; align-items: stretch; gap: 0; margin: 0; }
.acts.floating .link-btn { display: block; width: 100%; padding: 8px 10px; border-radius: 5px; color: var(--text); text-align: left; white-space: nowrap; }
.acts.floating .link-btn:hover { background: var(--nav-bg); text-decoration: none; }
.acts.floating .link-btn.danger { color: var(--red-text); }
.acts.floating .link-btn.danger:hover { background: color-mix(in srgb, var(--red-text) 10%, transparent); }
.acts.floating form + form:has(.danger) { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }

/* ---------- PoC bilgi satırı ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; padding: 0; }
.facts > div { padding: 16px 20px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.facts dd .sub { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) { .facts > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* İlerleme çubuğu (indirme hakkı, TC bağlı oranı) */
.meter { display: block; width: 100%; max-width: 160px; height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 3px; background: var(--ok); transition: width .3s var(--ease); }
.meter.warn > span { background: var(--warn); }
.meter.danger > span { background: var(--red-text); }

/* ---------- Filtre çubuğu ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 20px; }
.filters .q { flex: 1 1 260px; position: relative; }
.filters .q .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filters .q .in { padding-left: 36px; }
.filters + .table-wrap, .filters + .empty-state { border-top: 1px solid var(--line); }

/* ---------- Onay penceresi ---------- */
dialog.modal {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--text); box-shadow: var(--shadow-lg);
}
dialog.modal[open] { animation: pop .16s var(--ease); }
dialog.modal::backdrop { background: var(--backdrop); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal .mb { display: flex; gap: 16px; padding: 24px 24px 6px; }
.modal .mic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--link) 14%, transparent); color: var(--link); }
.modal.danger .mic { background: color-mix(in srgb, var(--red-text) 14%, transparent); color: var(--red-text); }
.modal h2 { font-size: 17px; margin-top: 8px; }
.modal p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text2); }
.modal .mf { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px 22px; }

/* ---------- Kullanıcı portalı (menüsüz) ---------- */
.portal { min-height: 100vh; display: flex; flex-direction: column; }
.portal-top { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 32px; background: var(--side); color: #fff; }
.portal-top .brand { flex: 1; }
.portal-main { flex: 1; padding: 48px 20px 40px; }
.portal-main.center { display: flex; align-items: center; justify-content: center; }
.portal-col { width: 100%; max-width: 520px; margin: 0 auto; }
.portal-col.wide { max-width: 760px; }
.portal-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 18px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.portal-foot a { color: var(--muted); }
.portal-foot a:hover { color: var(--text2); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.lead { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text2); }
.form-section { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--link); margin: 0 0 14px; }
.form-section + * { margin-top: 0; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }

.steps { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .steps .s:not(.on) .sl { display: none; } }

/* Katmanlı aydınlatma özeti (portal 1. adım) */
.privacy { margin-top: 22px; padding: 16px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--page); font-size: 13px; color: var(--text2); }
.privacy .pv-t { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.privacy .pv-t .ic { color: var(--ok); }
.privacy ul { margin: 0; padding-left: 18px; line-height: 1.6; }
.privacy li + li { margin-top: 4px; }
.privacy strong { font-weight: 500; color: var(--text); }
.privacy .pv-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 500; }

/* Tek kullanımlık kod alanı */
.in.otp { height: 56px; font-size: 26px; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; font-family: 'Inter', system-ui, sans-serif; }
.in.otp::placeholder { letter-spacing: .45em; }
.affix .in.otp { padding-right: 14px; }
.affix:has(.otp) .counter { display: none; }
.link-btn:disabled { color: var(--muted); cursor: not-allowed; text-decoration: none; }
.steps .s { display: inline-flex; align-items: center; gap: 8px; }
.steps .n { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; }
.steps .s.on { color: var(--text); font-weight: 500; }
.steps .s.on .n { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps .s.done .n { background: color-mix(in srgb, var(--ok) 16%, transparent); border-color: transparent; color: var(--ok); }
.steps .bar { flex: 0 1 36px; height: 1px; background: var(--line-strong); }

.file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding: 20px 22px; }
.file-row + .file-row { border-top: 1px solid var(--line); }
.file-row .fic { flex: none; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--chip); color: var(--text2); }
.file-row .name { font-family: 'Inter', sans-serif; font-size: 15px; word-break: break-all; }
.file-row .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); margin-top: 6px; }
.file-row .quota { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--text2); }
.file-row .quota .meter { width: 120px; }
details.help { padding: 0; }
details.help summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; }
details.help summary::-webkit-details-marker { display: none; }
details.help summary .chev { margin-left: auto; color: var(--muted); transition: transform .15s; }
details.help[open] summary .chev { transform: rotate(180deg); }
details.help .help-body { padding: 0 20px 18px; }
details.help ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; color: var(--text2); }
.portal-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.portal-links a, .portal-links .link-btn { color: var(--text2); text-decoration: underline; font-size: 13.5px; }
.session-note { display: flex; align-items: center; gap: 8px; }
.session-note.warn { color: var(--warn); }
@media (max-width: 560px) {
  .portal-top { padding: 0 16px; } .portal-main { padding: 28px 16px; } .card-pad { padding: 20px; }
  .file-row .dl { width: 100%; } .file-row .dl .btn { width: 100%; }
}

/* ---------- Metin sayfaları (KVKK) ---------- */
.prose h2 { margin: 28px 0 8px; font-size: 18px; }
.prose p, .prose li { color: var(--text2); line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 4px; }
.prose strong { color: var(--text); font-weight: 500; }

/* ---------- İmha tutanağı (yazdırma) ---------- */
.report { max-width: 760px; margin: 40px auto; padding: 48px; background: #fff; color: #16181D; border: 1px solid #E2E2DE; border-radius: 8px; }
.report h1 { font-size: 22px; }
.report table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.report th, .report td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E2E2DE; font-size: 14px; }
.report th { width: 42%; font-weight: 500; color: #124A85; }
.report .sign { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; font-size: 13px; color: #454850; }
.report .sign div { border-top: 1px solid #16181D; padding-top: 8px; }
.report-actions { max-width: 760px; margin: 24px auto 0; display: flex; gap: 10px; justify-content: space-between; }
@media (max-width: 800px) { .report { margin: 16px; padding: 28px 20px; } .report-actions { margin: 16px; } }
@media print {
  body { background: #fff; }
  .report-actions { display: none; }
  .report { border: 0; margin: 0; padding: 0; max-width: none; }
}


/* =====================================================================
   v3 bileşen katmanı ("Radius PoC Tasarımı")
   ===================================================================== */
body { font-size: 15px; font-feature-settings: 'cv11', 'ss01'; }
h1 { font-weight: 700; letter-spacing: -.02em; }
h2 { font-weight: 600; }
code, .mono { font-variant-numeric: tabular-nums; }
.ar { display: inline-block; transition: transform .25s; }
a:hover .ar, button:hover .ar { transform: translateX(4px); }
:focus-visible { outline-color: var(--blue); outline-offset: 3px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Kart, buton, form */
.card { border-radius: 16px; border-color: var(--line); box-shadow: none; }
.btn { height: 44px; border-radius: 10px; font-weight: 600; border-color: var(--line); background: var(--card); }
.btn:hover { background: var(--hover); border-color: var(--line-strong); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: none; transition: background-color .2s, transform .25s, box-shadow .25s; }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-dark { background: #0F1F33; border-color: #0F1F33; color: #fff; --spin: #fff; }
.btn-dark:hover { background: #1A2F4B; border-color: #1A2F4B; }
:root[data-theme="dark"] .btn-dark { background: var(--blue); border-color: var(--blue); }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-ghost { background: transparent; }
.btn-sm { height: 34px; border-radius: 9px; }
.btn-lg { height: 48px; border-radius: 12px; }
.btn-xl { height: 56px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.btn-xl.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(18, 74, 133, .8); }
.btn-tint { height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--tint); color: var(--blue); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-tint:hover { background: color-mix(in srgb, var(--blue) 14%, var(--card)); }
.in, select.in, textarea.in, .in-file { border-radius: 10px; }
.in:focus, .search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 15%, transparent); }
.check input, .radio-card input { accent-color: var(--blue); }
.notice { border-radius: 12px; }
.inset, .summary-line, .dist-item { border-radius: 14px; }
.menu-pop { border-radius: 14px; box-shadow: var(--shadow); }
.menu-pop .mi { border-radius: 10px; height: 42px; }
dialog.modal { border-radius: 18px; }
.seg { background: var(--chip); border-radius: 10px; padding: 3px; }
.seg a { border-radius: 8px; height: 32px; padding: 0 14px; font-weight: 600; font-size: 13px; color: var(--muted); }
.seg a[aria-current="true"] { background: var(--card); color: var(--blue); box-shadow: 0 1px 3px rgba(15, 31, 51, .15); }
.pager a, .pager span.off { border-radius: 8px; }

/* Tablo */
.tbl th { font-size: 12px; font-weight: 600; color: var(--muted); background: transparent; padding: 14px 12px; }
.tbl td { border-top-color: var(--line-soft); padding: 12px; }
.tbl th:first-child, .tbl td:first-child { padding-left: 20px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 20px; }
.card-head + .table-wrap, .card-head + .tbl { border-top-color: var(--line-soft); }
.tbl tbody tr:hover td { background: var(--hover); }
.person { display: flex; align-items: center; gap: 12px; }
.pav { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grey-tint); color: var(--text2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.person .strong { display: block; font-weight: 600; }
.person .sub { display: block; font-size: 12px; }
.chip-s { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip-s.navy { background: var(--tint); color: var(--blue); }
.chip-s.red { background: var(--red-tint); color: var(--red-text); }
.chip-s.grey { background: var(--grey-tint); color: var(--text2); }
.chip-s.orange { background: var(--orange-tint); color: var(--orange); }
:root[data-theme="dark"] .chip-s.navy { color: var(--link); }
.pips { display: inline-flex; gap: 3px; }
.pips i { width: 14px; height: 5px; border-radius: 3px; background: var(--pip); }
.pips i.on { background: var(--blue); }
.pips.wide { display: flex; gap: 4px; }
.pips.wide i { flex: 1; width: auto; }
.pips.fat i { height: 8px; border-radius: 4px; }
.pips-row { display: inline-flex; align-items: center; gap: 8px; }
.acts-row { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.acts-row form { display: inline-flex; }
.ib { width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, color .2s; }
.ib:hover { background: var(--tint); color: var(--text); text-decoration: none; }
.ib.danger:hover { background: var(--red-tint); color: var(--red-text); }
.tabs { gap: 4px; border-bottom-color: var(--line-soft); }
.card > .tabs { padding: 0 16px; }
.tab { height: 56px; padding: 0 18px; font-size: 14px; font-weight: 700; color: var(--muted); border-bottom-width: 3px; }
.tab[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--text); font-weight: 700; }
.tab .n { min-width: 24px; background: var(--grey-tint); color: var(--text2); font-size: 11px; }
.tab[aria-selected="true"] .n { background: var(--blue); color: #fff; }

/* ---------- Yönetici çerçevesi ---------- */
.side { background: var(--side); border-right: 1px solid var(--line); color: var(--text2); padding: 24px 14px; gap: 2px; }
.side .brand { padding: 0 10px 28px; }
:root .side .logo-dark { display: none; }
:root .side .logo-light { display: block; }
:root[data-theme="dark"] .side .logo-dark { display: block; }
:root[data-theme="dark"] .side .logo-light { display: none; }
.side .logo { height: 28px; }
.nav-item { height: 42px; padding: 0 12px; border-radius: 10px; gap: 12px; font-size: 14px; font-weight: 500; color: var(--text2); transition: background-color .2s, color .2s; }
.nav-item:hover { background: var(--chip); color: var(--blue); }
.nav-item[aria-current="page"] { background: var(--tint); color: var(--blue); font-weight: 600; box-shadow: none; }
:root[data-theme="dark"] .nav-item[aria-current="page"], :root[data-theme="dark"] .nav-item:hover { color: var(--link); }
.nav-item[aria-current="page"] .ic { color: currentColor; }
.nav-item[aria-current="page"]::before { display: none; }
.nav-item[aria-current="page"]::after { content: ""; order: 9; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background-color .2s; }
.side-user:hover { background: var(--hover); text-decoration: none; }
.side-user .avatar { width: 38px; height: 38px; font-size: 13px; font-weight: 600; background: var(--blue); }
.side-user .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.side-user .nm { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.side-user .rl { font-size: 12px; color: var(--muted); }
.topbar { background: color-mix(in srgb, var(--page) 88%, transparent); border-bottom: 0; min-height: 76px; padding-top: 4px; }
.search { flex: 1 1 280px; max-width: 480px; }
.search input { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); padding-left: 38px; }
.search .ic { left: 14px; }
.search kbd { border-radius: 6px; border-color: var(--line); background: transparent; font-weight: 400; font-size: 12px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; color: var(--text); }
.icon-btn:hover { background: var(--tint); }
.bell { position: relative; }
.bell .dot-n { position: absolute; top: 8px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.content { padding-top: 12px; gap: 24px; }
.page-head h1 { font-size: 28px; }
.page-head .sub { color: var(--muted); font-size: 15px; }
.crumb { font-size: 13px; }

/* Özet kartları */
.stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.stat { flex-direction: row; align-items: center; gap: 14px; padding: 18px; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.stat:nth-child(2) { animation-delay: .05s; } .stat:nth-child(3) { animation-delay: .1s; } .stat:nth-child(4) { animation-delay: .15s; }
a.stat:hover { border-color: var(--line-strong); }
.sic { flex: none; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--blue); }
.sic.red { background: var(--red-tint); color: var(--red-text); }
:root[data-theme="dark"] .sic:not(.red) { color: var(--link); }
.stat .txt { display: flex; flex-direction: column; gap: 2px; }
.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }

/* Pano başlıkları */
.panel-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; font-weight: 600; }
.panel-head.bordered { padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.panel-head .card-desc { margin-top: 2px; font-size: 13px; color: var(--muted); }
.panel-head a { font-size: 13px; font-weight: 600; }
.panel { padding: 18px 20px; min-width: 0; }
.panel .empty { padding: 14px 0 6px; }

/* PoC durum listesi: ad | aşama çizgisi (erişim -> saklama -> imha) | düz cümleyle tarihler */
.ps { list-style: none; margin: 0; padding: 0; }
.ps li + li .ps-row { border-top: 1px solid var(--line-soft); }
.ps-row { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(260px, 1.5fr) minmax(230px, 1.2fr); align-items: center; gap: 16px 28px; padding: 18px 20px; color: var(--text); text-decoration: none; transition: background-color .2s; animation: rise .5s cubic-bezier(.2, .7, .1, 1) both; }
.ps-row:hover { background: var(--hover); text-decoration: none; }
.ps-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ps-name b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-name small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-name .chip-s { align-self: flex-start; margin-top: 6px; height: 24px; }
.ps-steps { display: flex; align-items: flex-start; }
.ps-node { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.ps-node i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--card); }
.ps-node b { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ps-node small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ps-node.done i { border-color: var(--blue); background: var(--blue); }
.ps-node.on i { border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.ps-node.on i::after { content: ""; display: block; width: 6px; height: 6px; margin: 2px; border-radius: 50%; background: var(--blue); }
.ps-node.on b { color: var(--text); }
.ps-node.purge i { border-color: var(--red); border-radius: 4px; }
.ps-node.purge b { color: var(--red-text); }
.k-soon .ps-node.on i { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.k-soon .ps-node.on i::after { background: var(--red); }
.ps-seg { flex: 1; min-width: 24px; height: 4px; margin: 5px -30px 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.ps-seg > span { display: block; height: 100%; background: var(--blue); border-radius: 2px; transform-origin: left; animation: growx 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
.k-soon .ps-seg > span { background: var(--red); }
.k-closed .ps-seg > span { background: var(--faint); }
.ps-lines { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text2); }
.ps-lines > span { display: flex; align-items: flex-start; gap: 8px; }
.ps-lines .ic { flex: none; margin-top: 1px; color: var(--muted); }
.ps-l1 b { font-weight: 600; color: var(--text); }
.k-soon .ps-l1 b, .k-soon .ps-l1 .ic { color: var(--red-text); }
.ps-l2 .ic { color: var(--red-text); opacity: .8; }
:root[data-theme="dark"] .ps-node.on i::after { background: var(--link); }
@media (max-width: 1100px) {
  .ps-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .ps-lines { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
}
@media (max-width: 760px) {
  .ps-row { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .ps-name { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
  .ps-name small { flex-basis: 100%; order: 3; }
  .ps-name .chip-s { margin: 0 0 0 auto; }
  .ps-lines { flex-direction: column; }
  .ps-node { width: 64px; }
}

/* Son aktiviteler ve yaklaşan bitişler */
.feed { list-style: none; margin: 6px 0 0; padding: 0; }
.feed li a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); color: var(--text); text-decoration: none; }
.feed li a:hover .fx strong { color: var(--blue); }
.fic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--blue); }
.fic.red { background: var(--red-tint); color: var(--red-text); }
:root[data-theme="dark"] .fic:not(.red) { color: var(--link); }
.feed .fx { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .fx strong { font-weight: 600; }
.feed .fa { flex: none; font-size: 12px; color: var(--muted); }
.bar { display: block; height: 5px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--blue); transform-origin: left; animation: growx 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
.bar > span.hot { background: var(--red); }

/* PoC detayı */
.fact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; animation: rise .6s cubic-bezier(.2, .7, .1, 1) both; }
.fact:nth-child(2) { animation-delay: .05s; } .fact:nth-child(3) { animation-delay: .1s; } .fact:nth-child(4) { animation-delay: .15s; }
.fact .k { font-size: 13px; color: var(--muted); }
.fact .v { font-size: 17px; font-weight: 700; }
.fact .d { font-size: 12px; color: var(--muted); }
.fact.ring-fact { flex-direction: row; align-items: center; gap: 16px; }
.fact .fv { display: flex; flex-direction: column; gap: 2px; }
.ring { flex: none; }
.ring circle { fill: none; stroke-width: 6; }
.ring .trk { stroke: var(--tint); }
.ring .val { stroke: var(--blue); stroke-linecap: round; animation: ringIn 1.4s cubic-bezier(.2, .7, .1, 1) .2s both; }
.ring.red .trk { stroke: var(--red-tint); }
.ring.red .val { stroke: var(--red); }
.ring.muted .val { stroke: var(--faint); }
.ring text { font: 800 15px 'Inter', sans-serif; fill: var(--text); }
@keyframes ringIn { from { stroke-dashoffset: 176; } }

/* ---------- Müşteri portalı ---------- */
.portal {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: clamp(12px, 3vw, 40px);
  background-color: var(--page); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px;
}
.p-shell { width: 100%; max-width: 1180px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(20, 40, 110, .35); overflow: hidden; }
.portal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 0; padding: 20px clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--line-soft); background: var(--card); color: var(--text); }
.portal-top .brand { flex: 1; }
.portal-top .logo { height: 28px; }
.p-secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.p-secure .ic { color: var(--text); }
.portal-top .icon-btn { width: 40px; height: 40px; }
.portal-main { padding: 0; }
.portal-main > .portal-col { padding: 32px clamp(16px, 4vw, 56px) 48px; }
.portal-foot { border-top: 0; padding: 18px; }

.steps { list-style: none; margin: 0 auto; padding: 28px clamp(16px, 3vw, 32px) 8px; max-width: 704px; display: flex; align-items: flex-start; gap: 0; font-size: 13px; color: var(--muted); }
.steps .s { flex: 1; width: auto; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.steps .sw { display: flex; align-items: center; width: 100%; }
.steps .ln { flex: 1; height: 2px; background: var(--line); transition: background .6s; }
.steps .ln.fill { background: var(--blue); }
.steps .ln.hide { visibility: hidden; }
.steps .n { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #C5D1E8; background: var(--card); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; box-shadow: none; }
.steps .s.done .n, .steps .s.on .n { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps .s.on .n { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 74, 133, .45); } 100% { box-shadow: 0 0 0 10px rgba(18, 74, 133, 0); } }
.steps .sl { font-weight: 500; }
.steps .s.on { color: var(--blue); }
.steps .s.on .sl { font-weight: 700; }
.steps .s.done { color: var(--text); }
:root[data-theme="dark"] .steps .s.on { color: var(--link); }
@media (max-width: 480px) { .steps .sl { font-size: 11.5px; } }

.p-body { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 4vw, 48px); padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 56px) clamp(32px, 4vw, 56px); }
.p-art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.p-art .illus { width: 100%; max-width: 420px; height: auto; }
.p-content { flex: 1 1 420px; min-width: 0; max-width: 500px; display: flex; flex-direction: column; gap: 18px; }
.p-content h1, .p-form h1 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -.03em; font-weight: 800; line-height: 1.1; }
.p-content .lead, .p-form .lead { margin-top: -8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.p-form { display: flex; flex-direction: column; gap: 14px; }
.p-form .lead { margin-top: -4px; }
.p-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.p-fields .grid-2 { gap: 12px; }
.p-fields .field { gap: 6px; }
.in-ic { position: relative; display: block; }
.in-ic > .ic { position: absolute; left: 16px; top: 17px; color: var(--muted); pointer-events: none; }
.in-ic .in { height: 52px; padding-left: 46px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); font-size: 15px; }
.in-ic.no-ic .in { padding-left: 16px; }
.in-ic .in:hover { border-color: #B9C8E6; }
.in-ic .in:focus { background: var(--card); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 74, 133, .15); }
.p-form .privacy { margin-top: 4px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--tint-2); font-size: 12.5px; }
.privacy .pv-t .ic { color: var(--blue); }
.pv-more { font-weight: 600; }
.p-form .check { padding: 2px; font-size: 14px; color: var(--text2); }
.p-form .check a { text-decoration: underline; text-underline-offset: 3px; }
.p-form .btn-xl { margin-top: 4px; }
.p-content .notice { margin: 0; }

/* Doğrulama kodu kutuları */
.p-otp { display: flex; flex-direction: column; gap: 18px; }
.otp-boxes { position: relative; display: flex; gap: 10px; }
.otp-boxes .cell { flex: 1 1 0; min-width: 0; width: auto; height: 64px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field); font-size: 26px; font-weight: 500; transition: all .25s cubic-bezier(.2, .7, .1, 1); }
.otp-boxes .cell.filled { background: var(--card); border-color: #B9C8E6; transform: translateY(-3px); box-shadow: 0 10px 20px -14px rgba(20, 40, 110, .6); }
.otp-boxes .cell.cur { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 74, 133, .15); }
.otp-boxes .cell.cur:not(.filled)::after { content: ""; width: 2px; height: 26px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 420px) { .otp-boxes { gap: 6px; } .otp-boxes .cell { height: 54px; font-size: 22px; } }
.p-note { padding: 12px 14px; border-radius: 12px; background: var(--tint-2); font-size: 13px; line-height: 1.5; color: var(--text2); }
.p-links { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.btn-ghost-s { height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--blue); font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .2s; }
.btn-ghost-s:hover:not(:disabled) { background: var(--tint); }
.btn-ghost-s.quiet { color: var(--text2); }
.btn-ghost-s:disabled { color: var(--muted); cursor: default; }
:root[data-theme="dark"] .btn-ghost-s:not(.quiet):not(:disabled) { color: var(--link); }

/* Dosya ekranı */
.grp { font-size: 16px; margin-top: 6px; }
.dl-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 16px 40px -28px rgba(20, 40, 110, .5); }
.dl-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dl-top .grow { flex: 1 1 160px; display: flex; flex-direction: column; gap: 3px; }
.dl-top .name { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.dl-top .meta { font-size: 13px; color: var(--muted); }
.dl-top .meta strong { color: var(--text); }
.dl-top .btn-lg { padding: 0 20px; font-weight: 700; }
.conf-tile { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.conf-tile svg { width: 20px; height: 20px; }
.conf-tile b { font-size: 9px; font-weight: 700; letter-spacing: .02em; }
:root[data-theme="dark"] .conf-tile { color: var(--link); }
.access-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--tint-2); border: 0; }
.access-box > .ic { color: var(--text); }
.access-box .k { font-size: 14px; font-weight: 700; }
.access-box .d { font-size: 13px; color: var(--muted); }
.access-box .cd { font-size: 15px; font-weight: 500; color: var(--blue); }
:root[data-theme="dark"] .access-box .cd { color: var(--link); }
details.help { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.p-content .session-note { justify-content: center; }
@media (max-width: 560px) { .dl-top .dl, .dl-top .dl .btn { width: 100%; } }

/* Çizim animasyonları */
.illus .float { animation: float 5s ease-in-out infinite; transform-box: fill-box; }
.illus .float2 { animation: float 5s ease-in-out -2.5s infinite; transform-box: fill-box; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.illus .draw { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw .9s cubic-bezier(.6, 0, .2, 1) .4s forwards; }
.illus .drawc { stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.illus .letter { animation: letter 3.2s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes letter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.illus .tw { animation: tw 2.6s ease-in-out infinite; }
@keyframes tw { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.illus .burst { transform-box: fill-box; transform-origin: center; animation: burst 1.6s cubic-bezier(.2, .7, .1, 1) .5s infinite; }
@keyframes burst { 0% { transform: translate(0, 0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(1); opacity: 0; } }
.illus .halo { transform-box: fill-box; transform-origin: center; animation: halo 2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.illus .pop { transform-box: fill-box; transform-origin: center; animation: popin .7s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes popin { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@media (max-width: 760px) { .p-art .illus { max-width: 240px; } .p-secure span { display: none; } }

/* ---------- Açılış sayfası ---------- */
.landing { min-height: 100vh; background: var(--card); color: var(--text); }
.l-wrap { max-width: 1280px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.l-top { border-bottom: 1px solid var(--line); }
.l-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.l-top .logo { height: 30px; }
.l-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.l-nav > a:not(.btn-out) { color: var(--text2); }
.l-nav > a:not(.btn-out):hover { color: var(--blue); text-decoration: none; }
.l-nav .icon-btn { margin: 0 -12px; }
.btn-out { height: 42px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--blue); font-weight: 600; transition: background-color .2s; }
.btn-out:hover { background: var(--tint); text-decoration: none; }
:root[data-theme="dark"] .btn-out, :root[data-theme="dark"] .l-link { color: var(--link); }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { margin: 0; font-size: clamp(52px, 6.6vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.navy { color: var(--blue); }
:root[data-theme="dark"] .navy { color: var(--link); }
.red { color: var(--red); }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; animation: up .9s cubic-bezier(.2, .8, .1, 1) both; }
@keyframes up { from { transform: translateY(105%); } to { transform: none; } }
.fade-in { animation: inl .8s cubic-bezier(.2, .8, .1, 1) both; }
@keyframes inl { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-lead { margin: 0; max-width: 500px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-xl-navy, .btn-xl-white { height: 56px; padding: 0 28px; display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; font-size: 16px; font-weight: 600; transition: background-color .2s, transform .25s, box-shadow .25s; }
.btn-xl-navy { background: var(--blue); color: #fff; }
.btn-xl-navy:hover { background: var(--blue-hover); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(18, 74, 133, .8); }
.btn-xl-white { background: #fff; color: #124A85; position: relative; }
.btn-xl-white:hover { background: #EEF3F9; text-decoration: none; }
.l-link { font-size: 16px; font-weight: 600; }
.hero-art { flex: 1 1 460px; min-width: 0; }
.h-panel { position: relative; aspect-ratio: 1 / .95; border-radius: 30px; background: #124A85; overflow: hidden; perspective: 700px; }
.tz { position: absolute; left: 50%; top: 50%; width: 72%; height: 56%; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 26px; animation: zoom 8s linear infinite; }
@keyframes zoom { 0% { transform: translate(-50%, -50%) translateZ(-1500px); opacity: 0; } 20% { opacity: .75; } 80% { opacity: .35; } 100% { transform: translate(-50%, -50%) translateZ(420px); opacity: 0; } }
.h-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.h-card { position: relative; width: 220px; padding: 22px; border-radius: 22px; background: #fff; color: #0F1F33; box-shadow: 0 40px 70px -30px rgba(4, 20, 45, .75); display: flex; flex-direction: column; gap: 16px; }
.h-card .conf-tile { width: 60px; height: 60px; border-radius: 14px; background: #EEF3F9; color: #124A85; }
.h-card .conf-tile svg { width: 26px; height: 26px; }
.h-card .pips i { background: #DCE6F2; }
.h-card .pips i.on { background: #124A85; }
.h-lock { position: absolute; top: -16px; right: -16px; width: 48px; height: 48px; border-radius: 14px; background: #E31E27; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px -10px rgba(227, 30, 39, .8); }
.h-file { display: flex; flex-direction: column; gap: 4px; }
.h-file b { font-size: 17px; font-weight: 700; }
.h-file span, .h-left { font-size: 13px; color: #56677D; }
.h-left { font-size: 12px; }
.h-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: #0F1F33; font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px -14px rgba(4, 20, 45, .7); white-space: nowrap; }
.h-card .h-chip { top: 250px; left: -4px; }
.h-chip.navy { left: 7%; top: 11%; color: #124A85; }
.dot-red { width: 7px; height: 7px; border-radius: 50%; background: #E31E27; }
.bob { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.landing .float { animation: float 6s ease-in-out infinite; }
.h-wire { position: absolute; left: 7%; right: 7%; bottom: 7%; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #D3DFEE; }
.h-line { position: relative; flex: 1; height: 1px; background: rgba(255, 255, 255, .3); }
.pkt { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(255, 255, 255, .7); animation: travel 2.6s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.l-band { background: var(--page); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-sec { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); display: flex; flex-direction: column; gap: 36px; }
.l-sec h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; }
.l-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.l-sec-head p { margin: 0; max-width: 400px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.l-cell { min-height: 290px; padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: transform .35s cubic-bezier(.2, .8, .1, 1), box-shadow .35s, border-color .35s; }
.l-cell:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 31, 51, .45); border-color: var(--line-strong); }
.l-cell.span2 { grid-column: span 2; }
@media (max-width: 700px) { .l-cell.span2 { grid-column: auto; } }
.l-cell h3 { margin: 0; font-size: 18px; font-weight: 700; }
.l-cell p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.cell-h { display: flex; justify-content: space-between; gap: 12px; }
.cell-h span { font-size: 13px; color: var(--muted); }
.otp-demo { display: flex; gap: clamp(6px, 1vw, 12px); }
.sv { display: flex; flex-direction: column; gap: 8px; }
.sv-box { padding: 12px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.sv-box.tint { border: 0; background: var(--page); gap: 8px; }
.cap { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.sv-row { display: flex; gap: 8px; }
.sv-in { flex: 1; min-width: 0; height: 38px; padding: 0 12px; display: flex; align-items: center; border-radius: 9px; background: var(--page); font-size: 13px; white-space: nowrap; overflow: hidden; }
.sv-in i { flex: none; width: 1.5px; height: 16px; margin-left: 1px; background: var(--blue); animation: caret 1s steps(1) infinite; }
.sv-btn { flex: none; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 9px; background: #124A85; color: #fff; font-size: 13px; font-weight: 600; }
.sv-toast { align-self: flex-start; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: #124A85; color: #fff; font-size: 12px; font-weight: 600; }
.sv-out { display: flex; flex-direction: column; gap: 6px; }
.sv-out span { align-self: flex-start; height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sv-out .ok { background: var(--card); box-shadow: inset 0 0 0 1px #124A85; color: var(--blue); }
.sv-out .no { background: var(--red-tint); color: var(--red-text); }
.lim { display: flex; align-items: baseline; gap: 6px; }
.lim .big { font-size: 96px; line-height: .85; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--blue); }
.lim .of { font-size: 32px; font-weight: 700; color: var(--faint); }
:root[data-theme="dark"] .lim .big { color: var(--link); }
.l-cell.navy { background: #124A85; border-color: #124A85; color: #fff; }
.l-cell.navy p { color: #D3DFEE; }
.days { display: flex; gap: 5px; }
.days span { flex: 1; min-width: 0; height: 52px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: rgba(255, 255, 255, .08); }
.days small { font-size: 10px; font-weight: 600; opacity: .8; }
.days b { font-size: 16px; font-weight: 700; }
.days .today { background: #fff; color: #124A85; transform: translateY(-4px); }
.days .end { box-shadow: inset 0 0 0 1.5px #FF7A80; }
.ta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ta-l { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.ta-b { height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; background: #fff; color: #124A85; font-size: 13px; font-weight: 700; }
.im { display: flex; flex-direction: column; gap: 14px; }
.im-steps { display: flex; gap: 6px; }
.im-steps span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 8px; font-size: 11px; font-weight: 700; white-space: nowrap; background: var(--chip); color: var(--muted); }
.im-steps .done { background: #DCE6F2; color: #124A85; }
.im-steps .on { background: #124A85; color: #fff; }
.im-box { position: relative; height: 128px; border-radius: 14px; background: var(--page); overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.im-card { position: relative; flex: none; width: 96px; height: 96px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--faint); }
.im-card b { font-size: 12px; font-weight: 700; color: var(--text); }
.im-lock { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 7px; background: #E31E27; color: #fff; display: flex; align-items: center; justify-content: center; }
.im-items { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.im-items span { align-self: flex-start; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--card); border: 1px solid #DCE6F2; color: var(--muted); }
.im-badge { position: absolute; right: 12px; top: 12px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--red-tint); color: var(--red-text); }
.mq { position: relative; height: 128px; overflow: hidden; }
.vmq { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text2); font-variant-numeric: tabular-nums; animation: vmq 18s linear infinite; }
.vmq b { color: var(--blue); font-weight: 700; }
.vmq b.red { color: var(--red); }
@keyframes vmq { to { transform: translateY(-50%); } }
.flow-line { position: relative; height: 3px; border-radius: 3px; background: var(--line); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.flow li { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); transition: transform .5s cubic-bezier(.2, .8, .1, 1), box-shadow .5s, border-color .5s; }


.flow h3 { margin: 0; font-size: 18px; font-weight: 700; }
.flow p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.faq summary { display: flex; align-items: center; gap: 10px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { margin-left: auto; color: var(--muted); transition: transform .15s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq p { padding: 0 20px 18px; color: var(--muted); line-height: 1.6; font-size: 15px; }
.l-cta-wrap { padding: 0 clamp(16px, 4vw, 40px) clamp(40px, 5vw, 64px); }
.l-cta { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) !important; border-radius: 26px; background: #124A85; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.l-cta::before { content: ""; position: absolute; right: -80px; top: 50%; width: 360px; height: 360px; margin-top: -180px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 50px rgba(255, 255, 255, .03), 0 0 0 100px rgba(255, 255, 255, .02); }
.l-cta > div { position: relative; display: flex; flex-direction: column; gap: 8px; }
.l-cta h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.03em; font-weight: 800; }
.l-cta p { margin: 0; font-size: 16px; color: #D3DFEE; }
.l-foot { border-top: 1px solid var(--line); }
.l-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.l-foot .logo { height: 22px; }
@media (max-width: 760px) {
  .l-nav > a:not(.btn-out) { display: none; }
  .hero { padding-top: 16px; }
  .hero-art { order: -1; }
  .h-panel { aspect-ratio: auto; height: 300px; border-radius: 24px; }
  .h-card { width: 170px; padding: 18px 16px 16px; gap: 10px; }
  .h-card .h-chip, .h-chip.navy { display: none; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
}

/* ---------- İmha tutanağı (A4) ---------- */
.report { position: relative; max-width: 794px; min-height: 1123px; margin: 40px auto; padding: 64px 68px; background: #fff; color: #0F1F33; border: 1px solid #E3E8EF; border-radius: 8px; display: flex; flex-direction: column; gap: 28px; }
.rp-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 22px; border-bottom: 2px solid #0F1F33; }
.rp-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: #3B4A5E; font-variant-numeric: tabular-nums; }
.rp-title { display: flex; flex-direction: column; gap: 8px; }
.eyebrow-s { font-size: 12px; letter-spacing: .1em; color: #124A85; }
.report h1 { margin: 0; font-size: 34px; letter-spacing: -.03em; font-weight: 800; }
.rp-title p { font-size: 16px; line-height: 1.6; color: #3B4A5E; }
.report table.rp-kv { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.rp-kv th, .rp-kv td { padding: 12px 0; text-align: left; border-bottom: 1px solid #E3E8EF; }
.rp-kv th { width: 38%; font-weight: 600; color: #3B4A5E; }
.rp-kv td.strong { font-weight: 600; }
.rp-sec { display: flex; flex-direction: column; gap: 12px; }
.rp-sec h2 { margin: 0; font-size: 18px; font-weight: 700; }
.rp-sec p { font-size: 14px; line-height: 1.6; color: #3B4A5E; }
.rp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rp-stats > div { padding: 16px; border: 1px solid #E3E8EF; border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.rp-stats b { font-size: 30px; font-weight: 800; }
.rp-stats span { font-size: 14px; color: #3B4A5E; }
.report .sign { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; color: #3B4A5E; font-size: 14px; }
.report .sign > div { display: flex; flex-direction: column; gap: 40px; border-top: 0; padding-top: 0; }
.report .sign .ln { border-top: 1px solid #0F1F33; padding-top: 8px; font-size: 13px; }
.rp-stamp { position: absolute; right: 72px; top: 300px; width: 150px; height: 150px; border-radius: 50%; border: 3px solid #E31E27; display: flex; align-items: center; justify-content: center; opacity: .85; transform: rotate(-14deg); animation: stamp .7s cubic-bezier(.2, .7, .1, 1) .4s both; }
.rp-stamp > div { width: 128px; height: 128px; border-radius: 50%; border: 1.5px dashed #E31E27; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #E31E27; }
.rp-stamp .s1 { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.rp-stamp .s2 { font-size: 20px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; }
.rp-stamp .s3 { font-size: 10px; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(1.8); } 60% { opacity: 1; transform: rotate(-14deg) scale(.94); } 100% { opacity: .85; transform: rotate(-14deg) scale(1); } }
@media (max-width: 800px) { .report { padding: 28px 20px; min-height: 0; } .rp-stamp { position: static; align-self: center; } .rp-stats { grid-template-columns: 1fr; } }
@media print { .report { min-height: 0; } .rp-stamp { animation: none; } }


/* ---------- Ekrana sığdırma: gereksiz kaydırma olmasın ---------- */
.portal { padding: clamp(8px, 2vw, 24px); }
.portal-top { padding: 12px clamp(16px, 3vw, 28px); }
.portal-top .logo { height: 26px; }
.steps { padding: 16px 16px 2px; }
.steps .sw { height: 30px; }
.steps .n { width: 30px; height: 30px; }
.steps .s { gap: 6px; }
.p-body { padding: 14px clamp(16px, 4vw, 48px) 22px; gap: clamp(16px, 3vw, 40px); }
.p-art .illus { max-width: 340px; max-height: 50vh; }
.p-content { gap: 14px; }
.p-content h1, .p-form h1 { font-size: clamp(26px, 2.4vw, 34px); }
.p-content .lead, .p-form .lead { margin-top: -6px; }
.p-form { gap: 10px; }
.p-fields { gap: 10px; margin-top: 2px; }
.p-fields .grid-2 { gap: 10px; }
.in-ic .in { height: 48px; }
.in-ic > .ic { top: 15px; }
.btn-xl { height: 52px; }
.p-form .privacy { padding: 10px 14px; margin-top: 0; }
.privacy .pv-t { margin-bottom: 4px; }
.pv-s { font-size: 12.5px; line-height: 1.5; color: var(--text2); }
.pv-d summary { margin-top: 4px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--blue); }
:root[data-theme="dark"] .pv-d summary { color: var(--link); }
.pv-d ul { margin-top: 8px; }
.p-otp { gap: 14px; }
.otp-boxes .cell { height: 58px; }
.dl-card { padding: 16px; gap: 12px; }
.access-box { padding: 12px 16px; }
details.help summary { padding: 12px 16px; }
.portal-foot { padding: 10px; }
/* Dizüstü ekranlar (alçak pencere): çizim ve boşluklar küçülür */
@media (min-width: 761px) and (max-height: 820px) {
  .p-art .illus { max-height: 42vh; }
  .steps { padding-top: 10px; }
  .p-body { padding-top: 8px; padding-bottom: 14px; }
  .p-content .lead, .p-form .lead { font-size: 14px; }
}
/* Telefon: çizim gizlenir, kart tüm ekranı kullanır */
@media (max-width: 760px) {
  .portal { padding: 0; }
  .p-shell { border-radius: 0; border: 0; box-shadow: none; }
  .p-art { display: none; }
  .p-body { padding: 12px 16px 20px; }
  .steps { padding: 12px 8px 0; }
  .steps .sl { font-size: 11.5px; }
}
/* PoC detayı kişi tablosu: dar ekranda ikincil sütun gizlenir, yatay kaydırma olmaz */
.people-tbl td:first-child { white-space: normal; }
.people-tbl .person .sub { overflow-wrap: anywhere; }
@media (max-width: 1280px) { .wide-only { display: none; } }
.fact .v { overflow-wrap: anywhere; }
.ring-fact .v { white-space: normal; font-size: 16px; }
.nw { white-space: nowrap; }
.fact .fv { min-width: 0; }
.fact-cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Açılış: canlı örnek kart durumları (app.js 450 ms saatiyle değiştirir) ---------- */
.otp-demo span { flex: 1 1 0; max-width: 96px; aspect-ratio: 4 / 5; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: clamp(28px, 4vw, 52px); font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--page); color: transparent; box-shadow: inset 0 0 0 1px var(--line); transition: all .3s cubic-bezier(.2, .8, .1, 1); }
.otp-demo span.on { background: #124A85; color: #fff; box-shadow: 0 14px 26px -16px rgba(18, 74, 133, .9); transform: translateY(-4px); }
.otp-demo span.cur { background: var(--card); box-shadow: inset 0 0 0 2px #124A85; }
.h-card .pips i { transition: background .5s; }
.pips i { transition: background .5s; }
.sv-btn { transition: all .2s; }
.sv-btn.pressed { background: #0C3664; transform: scale(.94); }
.sv-toast-row { height: 30px; display: flex; align-items: center; }
.sv-toast { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .1, 1.4); }
.sv-toast.show { opacity: 1; transform: none; }

.days span { transition: all .4s cubic-bezier(.2, .8, .1, 1); }
.days .past { background: transparent; color: rgba(255, 255, 255, .4); }
.days .closed { background: #E31E27; color: #fff; transform: translateY(-4px); box-shadow: none; }
.ta-b { transition: all .35s; }
.ta-b .ta-closed { display: none; }
.ta-b.closed { background: #E31E27; color: #fff; }
.ta-b.closed .ta-open { display: none; }
.ta-b.closed .ta-closed { display: inline-flex; align-items: center; gap: 8px; }
.ta-b > span { display: inline-flex; align-items: center; gap: 8px; }
.im-steps span { transition: all .4s; }
.im-steps .red { background: #E31E27; color: #fff; }
.im-live { position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.im-box.done .im-live { display: none; }
.im-box:not(.done) .im-done { display: none; }
.im-card { transition: all .45s cubic-bezier(.6, 0, .4, 1); border-color: #124A85; }
.im-card .im-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #124A85; color: #fff; transition: all .4s; }
.im-card.locked { border-color: var(--line); }
.im-card.locked .im-ic { background: var(--chip); color: var(--faint); }
.im-card:not(.locked) .im-lock { display: none; }
.im-card.gone { opacity: 0; transform: scale(.5); }
.im-items span { transition: all .45s cubic-bezier(.6, 0, .4, 1); transform-origin: left; color: #124A85; }
.im-card.locked ~ .im-items span { color: var(--muted); }
.im-items span.gone { opacity: 0; transform: scale(.4) translateX(20px); }
.im-badge { transition: all .4s; font-variant-numeric: tabular-nums; }
.im-badge.b-open { background: var(--tint); color: #124A85; }
.im-badge.b-hot { background: #E31E27; color: #fff; }
.im-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.im-doc { position: relative; width: 92px; height: 108px; margin-top: 30px; border-radius: 8px; background: #fff; border: 1px solid #DCE6F2; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 14px 24px -16px rgba(15, 31, 51, .5); animation: slideup .6s cubic-bezier(.2, .8, .1, 1) both; }
.im-doc i { height: 4px; width: 90%; border-radius: 2px; background: #DCE6F2; }
.im-doc i.l1 { height: 5px; width: 60%; background: #124A85; }
.im-doc i.l3 { width: 70%; }
.im-stamp { position: absolute; right: -14px; bottom: 14px; width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid #E31E27; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 8px; line-height: 1.1; font-weight: 800; color: #E31E27; background: #fff; animation: stamp2 .5s cubic-bezier(.2, .8, .1, 1) .55s both; }
.im-dt { display: flex; flex-direction: column; gap: 4px; animation: fadein .5s ease .9s both; }
.im-dt b { font-size: 14px; font-weight: 700; }
.im-dt span { font-size: 12px; color: var(--muted); }
.im-dt .red-t { font-weight: 600; color: var(--red-text); }
@keyframes slideup { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes stamp2 { 0% { opacity: 0; transform: rotate(-14deg) scale(2); } 60% { opacity: 1; transform: rotate(-14deg) scale(.92); } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }
@keyframes fadein { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.flow-line span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #124A85; transition: width .9s cubic-bezier(.2, .8, .1, 1); }
.flow-line i { position: absolute; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--card); transition: left .9s cubic-bezier(.2, .8, .1, 1); }
.fn { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; background: var(--chip); color: var(--muted); transition: all .5s; }
.flow li.on, .flow li.done { }
.flow li.on .fn, .flow li.done .fn { background: #124A85; color: #fff; }
.flow li.last.on .fn, .flow li.last.done .fn { background: var(--red); }
.flow li.on { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(15, 31, 51, .5); border-color: #124A85; }
.flow li.last.on { border-color: var(--red); }
.h-center { transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .1, 1); }
.h-panel { transition: perspective-origin .9s cubic-bezier(.2, .8, .1, 1); }

/* /basla: alçak dizüstü ekranlarda açıklama gizlenir, alanlar incelir */
@media (min-width: 761px) and (max-height: 700px) {
  .p-form .lead { display: none; }
  .in-ic .in { height: 44px; }
  .in-ic > .ic { top: 13px; }
  .btn-xl { height: 48px; }
  .p-body { padding-top: 4px; padding-bottom: 10px; }
}
@media (max-width: 760px) {
  .p-fields .grid-2.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-form .lead { display: none; }
  .p-content h1, .p-form h1 { font-size: 26px; }
  .in-ic .in { height: 46px; }
  .in-ic > .ic { top: 14px; }
  .portal-top { padding: 10px 16px; }
  .portal-foot { padding: 6px 10px 10px; }
}
/* Telefon: PoC kişileri tablo yerine kompakt liste */
@media (max-width: 760px) {
  .md-hide { display: none; }
  .people-tbl, .people-tbl tbody { display: block; }
  .people-tbl thead { display: none; }
  .people-tbl tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 16px; border-top: 1px solid var(--line-soft); }
  .people-tbl td { display: block; padding: 0 !important; border: 0; }
  .people-tbl td:first-child { flex: 1 1 100%; }
  .people-tbl td.end { margin-left: auto; }
}
/* Telefon: özet kartları iki sütun, gereksiz uzamasın */
@media (max-width: 760px) {
  .stats, .fact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; gap: 10px; }
  .stat .sic { width: 36px; height: 36px; }
  .stat .v { font-size: 22px; }
  .fact { padding: 14px; }
  .fact.ring-fact { grid-column: 1 / -1; }
  .fact .v { font-size: 15px; }
}

/* Doğrulama kodu: gerçek alan görünmez, kutuların üstünde durur (yapıştırma ve otomatik doldurma çalışır) */
.otp-boxes.on .in.otp { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; cursor: text; font-size: 16px; letter-spacing: 0; }
.otp-boxes .cell { display: flex; align-items: center; justify-content: center; color: var(--text); font-variant-numeric: tabular-nums; padding: 0; min-height: 0; }
.otp-boxes:not(.on) .cell { display: none; }

/* Alçak ekranlar (dizüstü ve küçük telefonlar): kod ve dosya adımları da kaydırmadan sığsın */
@media (max-height: 800px) {
  .p-content .hint { display: none; }
}
@media (max-height: 700px) {
  .portal { padding-top: 8px; padding-bottom: 0; }
  .portal-top { padding-top: 8px; padding-bottom: 8px; }
  .steps { padding-top: 8px; }
  .p-body { padding-top: 6px; padding-bottom: 12px; }
  .p-content { gap: 10px; }
  .p-content h1, .p-form h1 { font-size: 24px; }
  .p-otp { gap: 10px; }
  .otp-boxes .cell { height: 50px; font-size: 22px; }
  .btn-xl { height: 46px; }
  .p-note { padding: 8px 12px; font-size: 12.5px; }
  .dl-card { padding: 12px 14px; gap: 10px; }
  .dl-top .btn-lg { height: 44px; }
  .access-box { padding: 10px 14px; }
  details.help summary { padding: 10px 14px; font-size: 14px; }
  .p-links { gap: 4px; }
  .btn-ghost-s { height: 38px; }
  .portal-foot { padding: 4px 10px 6px; }
}

/* ---------- Tasarımdaki ek animasyonlar ---------- */
/* Sessiz doğrulama: zarf kesik çizgi boyunca uçar (kayıtlı) ya da düşer (kayıtsız), ardından rozet çıkar */
.sv-toast:not(.show) { display: none; }
.sv-toast.show { animation: pop2 .45s cubic-bezier(.2, .8, .1, 1) both; }
@keyframes pop2 { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.sv-lane { position: relative; height: 32px; display: flex; align-items: center; }
.sv-dash { position: absolute; left: 10px; right: 40px; top: 50%; border-top: 1.5px dashed var(--line-strong); }
.sv-res { position: absolute; inset: 0; }
.sv-res:not(.show) { display: none; }
.sv-env { position: absolute; top: 50%; margin-top: -9px; width: 26px; height: 18px; border-radius: 4px; background: #124A85; display: flex; align-items: center; justify-content: center; }
.sv-env.grey { background: #B8C3D1; }
.sv-env.fly { animation: fly 1.3s cubic-bezier(.6, 0, .3, 1) .1s both; }
.sv-env.drop { animation: drop 1.3s cubic-bezier(.5, 0, .6, 1) .1s both; }
@keyframes fly { 0% { left: 4px; opacity: 0; } 15% { opacity: 1; } 80% { left: calc(100% - 34px); opacity: 1; } 100% { left: calc(100% - 34px); opacity: 0; } }
@keyframes drop { 0% { left: 4px; opacity: 0; transform: none; } 15% { opacity: 1; } 55% { left: 42%; opacity: 1; transform: none; } 100% { left: 48%; opacity: 0; transform: translateY(26px) rotate(30deg); } }
.sv-badge { position: absolute; right: 0; top: 50%; margin-top: -14px; height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sv-badge.ok { background: var(--card); border: 1px solid #124A85; color: #124A85; }
.sv-badge.no { background: var(--red-tint); color: var(--red-text); }
.late { animation: late .35s cubic-bezier(.2, .8, .1, 1) 1.25s both; }
@keyframes late { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
/* Süreli erişim: canlı geri sayım ve kilit */
.ta-cd { font-size: 12px; color: #B8CCE4; }
.ta-b.closed .pop-s { display: inline-flex; animation: pop2 .45s cubic-bezier(.2, .8, .1, 1) both; }
/* Portal indirme: bütünlük çubuğu ve kayıt satırları */
.dl-prog { display: flex; flex-direction: column; gap: 8px; }
.dl-prog[hidden] { display: none; }
.dl-bar { height: 6px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.dl-bar > span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--blue); transition: width .1s linear; }
.dl-hash { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.dl-hash > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-log { display: flex; flex-direction: column; gap: 8px; }
.dl-log:empty { display: none; }
.dl-row { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--text2); }
.dl-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dl-row span { flex: 1; }
.dl-row time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* PoC detayı: kişi satırları sırayla gelir; yükleme alanında kayan kesik çizgi */
.people-tbl tbody tr { animation: rise .6s cubic-bezier(.2, .7, .1, 1) both; }
.people-tbl tbody tr:nth-child(2) { animation-delay: .05s; } .people-tbl tbody tr:nth-child(3) { animation-delay: .1s; }
.people-tbl tbody tr:nth-child(4) { animation-delay: .15s; } .people-tbl tbody tr:nth-child(5) { animation-delay: .2s; }
.people-tbl tbody tr:nth-child(n+6) { animation-delay: .25s; }
.dropzone {
  border-color: transparent;
  background-image: linear-gradient(90deg, #B8CCE4 50%, transparent 50%), linear-gradient(90deg, #B8CCE4 50%, transparent 50%), linear-gradient(0deg, #B8CCE4 50%, transparent 50%), linear-gradient(0deg, #B8CCE4 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-size: 12px 1.5px, 12px 1.5px, 1.5px 12px, 1.5px 12px; background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: ants 1.2s linear infinite; border-radius: 16px;
}
@keyframes ants { to { background-position: 24px 0, -24px 100%, 0 -24px, 100% 24px; } }
.dropzone .dz-ic { border-radius: 14px; background: var(--tint); color: var(--blue); animation: bobup 1.8s ease-in-out infinite; }
@keyframes bobup { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* WireGuard logosu (dashboard-icons, Apache-2.0) dosya kartlarında */
.wg-logo { flex: none; display: block; width: 48px; height: 48px; }
.h-card .wg-logo { width: 60px; height: 60px; }

/* ---------- Telefon: yönetici paneli yana kaymaz ---------- */
@media (max-width: 900px) {
  .side { box-shadow: none; }
  .nav-cb:checked ~ .side { box-shadow: var(--shadow-lg); }
}
@media (max-width: 760px) {
  .content { gap: 18px; }
  .page-head h1 { font-size: 24px; }
  /* Tablolar kart listesi olur: satır = kart, hücre başlığı küçük etiket */
  .table-wrap { overflow: visible; }
  table.tbl { min-width: 0 !important; width: 100%; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl td { display: block; }
  .tbl tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 14px 16px; border-top: 1px solid var(--line-soft); }
  .tbl tbody tr:first-child { border-top: 0; }
  .tbl td { padding: 0 !important; border: 0 !important; white-space: normal; min-width: 0; overflow-wrap: anywhere; text-align: left; }
  .tbl td:first-child { grid-column: 1 / -1; }
  .tbl td.wrap, .tbl td.end:last-child { grid-column: 1 / -1; }
  .tbl td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tbl td.end:last-child::before, .tbl td[data-label=""]::before { display: none; }
  .tbl td:empty { display: none; }
  .tbl tbody tr:hover td { background: transparent; }
  .tbl.kv tr { grid-template-columns: 1fr; gap: 2px; }
  .tbl.kv td:first-child { width: auto; font-size: 12px; color: var(--muted); }
  .people-tbl tr { display: grid; }
  .people-tbl td.end { margin-left: 0; }
  .acts-row { justify-content: flex-start; }
  /* Sekme ve filtreler alt satıra iner */
  .tabs { flex-wrap: wrap; overflow: visible; }
  .card > .tabs { padding: 0 8px; }
  .tab { height: 46px; padding: 0 10px; font-size: 13px; }
  .seg { flex-wrap: wrap; overflow: visible; }
  .seg a { padding: 0 10px; }
  .card-head, .panel-head.bordered { padding: 14px 16px; }
  .filters { padding: 12px 16px; }
  .pager { padding: 10px 16px; }
}

/* Dosyayı nasıl kullanırım: platform kartları (resmi WireGuard indirme bağlantıları) */
.help-steps { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--text2); }
.help-steps > li + li { margin-top: 6px; }
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 10px 0 6px -20px; }
.os { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); text-align: center; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.os:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 20px -16px rgba(18, 74, 133, .7); text-decoration: none; }
.os-ic { width: 28px; height: 28px; margin-bottom: 4px; }
.os-ic.mono { color: var(--text); }
.os b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.os small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.os-mine { display: none; }
.os.mine { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 14%, transparent); }
.os.mine .os-mine { display: block; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
@media (max-width: 420px) { .os-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Dokunma alanları: telefonda parmakla rahat dokunulabilsin (en az ~32 px) */
.portal-top .brand, .l-top .brand { display: inline-flex; align-items: center; min-height: 40px; }
.l-link { display: inline-flex; align-items: center; min-height: 44px; }
.pv-d summary { display: inline-flex; align-items: center; min-height: 32px; margin-top: 0; }
.pv-more { min-height: 32px; margin-top: 4px; }
.p-form .check input { width: 20px; height: 20px; margin-top: 1px; }
.p-form .check { min-height: 32px; align-items: flex-start; }
/* Küçük telefon (360x640 gibi): form kaydırmadan sığsın */
@media (max-width: 760px) and (max-height: 700px) {
  .steps { padding-top: 6px; }
  .steps .sl { display: none; }
  .steps .s.on .sl { display: inline; }
  .p-body { padding-top: 4px; padding-bottom: 10px; }
  .p-form { gap: 8px; }
  .p-fields, .p-fields .grid-2 { gap: 8px; }
  .p-content h1, .p-form h1 { font-size: 22px; }
  .in-ic .in { height: 42px; font-size: 15px; }
  .in-ic > .ic { top: 12px; }
  .p-form .privacy { padding: 8px 12px; }
  .pv-s { font-size: 12px; }
  .btn-xl { height: 46px; }
  .portal-top { padding-top: 6px; padding-bottom: 6px; }
}

/* Kişi işlemleri: ikonların kısa adı telefonda görünür (masaüstünde ipucu ve ekran okuyucu etiketi var) */
.ib-l { display: none; }
@media (max-width: 760px) {
  .acts-row { flex-wrap: wrap; gap: 6px; }
  .ib { width: auto; height: 36px; padding: 0 10px; gap: 6px; border: 1px solid var(--line); }
  .ib-l { display: inline; font-size: 12.5px; font-weight: 600; }
}

/* Geniş ekran: içerik sağda boşluk bırakmaz (1920 px'te tam genişlik, daha geniş ekranlarda ortalı ve okunur sınırda) */
.content { max-width: 1680px; margin-left: auto; margin-right: auto; }
/* Geniş ekranda kişi işlemlerinin adları da görünür */
@media (min-width: 1700px) {
  .acts-row { gap: 6px; }
  .acts-row .ib { width: auto; padding: 0 10px; gap: 6px; border: 1px solid var(--line); }
  .acts-row .ib-l { display: inline; font-size: 12.5px; font-weight: 600; }
}

/* Ayarlar: geniş ekranda iki sütun (solda formlar, sağda sistem bilgileri) */
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1280px) { .settings-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* İmha tutanağı telefonda: üst butonlar ve başlık satırı alt satıra iner, sayfa yana taşmaz */
@media (max-width: 800px) {
  .report-actions { flex-wrap: wrap; margin: 12px; }
  .report-actions .btn { flex: 1 1 auto; }
  .report { margin: 12px; overflow-wrap: anywhere; }
  .rp-head { flex-wrap: wrap; gap: 12px; }
  .rp-meta { align-items: flex-start; }
}

/* Telefon: kart listesinde e-posta ve kişi bilgisi tam genişlik, kelime ortasından kırılmaz; filtreler düzenli ızgara */
@media (max-width: 760px) {
  .tbl td { overflow-wrap: break-word; word-break: normal; }
  .tbl td[data-label*="posta"], .tbl td[data-label^="Kişi"], .tbl td[data-label="Detay"] { grid-column: 1 / -1; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .filters .q { grid-column: 1 / -1; }
  .filters label:not(.q) { min-width: 0; }
  .filters select.in { width: 100% !important; }
  .filters > label:not(.q):only-of-type, .filters > label:not(.q):last-of-type:nth-of-type(2) { grid-column: 1 / -1; }
  .filters .btn { grid-column: 1 / -1; }
}

/* Otomatik imha kartında WireGuard logosu; erişim kapanınca soluklaşır, imha yaklaşınca griye döner */
.im-card .im-ic { background: transparent; }
.im-card .im-ic img { display: block; width: 38px; height: 38px; transition: filter .4s, opacity .4s; }
.im-card.locked .im-ic { background: transparent; }
.im-card.locked .im-ic img { filter: grayscale(1); opacity: .45; }

/* Dosyalar sekmesi: VPN dosyası ve diğer dosyalar ayrı bölümler */
.files-sec-h { display: flex; align-items: center; gap: 12px; padding: 18px 20px 4px; }
.files-sec-h.docs { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.files-sec-h h3 { font-size: 15.5px; font-weight: 700; }
.files-sec-h p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.fs-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--blue); }
.fs-ic.vpn { background: transparent; }
.fs-ic.vpn img { width: 34px; height: 34px; }
.doc-upload { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 14px; align-items: end; padding: 12px 20px 16px; }
.doc-upload .dropzone { padding: 18px; }
.doc-upload-side { display: flex; flex-direction: column; gap: 12px; }
.doc-upload-side .btn { align-self: flex-start; }
@media (max-width: 760px) { .doc-upload { grid-template-columns: 1fr; padding: 12px 16px; } }
.doc-name { display: inline-flex; align-items: center; gap: 10px; }
.doc-ext { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--grey-tint); color: var(--text2); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
#belgeler + .doc-upload ~ .empty, .files-sec-h.docs ~ .empty { padding: 4px 20px 20px; }
/* Notlar */
textarea.in { min-height: 84px; line-height: 1.5; padding: 10px 14px; }
.note-field { margin-top: 18px; }
.note-notice { align-items: flex-start; }
.note-notice > .ic { color: var(--blue); }
.note-text, .pn-t { overflow-wrap: anywhere; }
.pn-t strong, .note-text strong { font-weight: 700; color: var(--text); }
.note-text { margin-top: 4px; color: var(--text); }
.note-form h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.note-form .small { margin-bottom: 12px; }
.note-prev { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--blue); max-width: 340px; }
.note-prev .ic { flex: none; margin-top: 2px; }
:root[data-theme="dark"] .note-prev { color: var(--link); }
.ib.has-note { color: var(--blue); }
/* Portal: not kartı ve diğer dosyalar */
.p-notes { display: flex; flex-direction: column; gap: 10px; }
.p-note-card { padding: 12px 16px; border-radius: 14px; background: var(--tint-2); border-left: 3px solid var(--blue); }
.pn-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--blue); }
:root[data-theme="dark"] .pn-h { color: var(--link); }
.pn-t { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--text); }
.pn-own { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-h { font-size: 13px; font-weight: 700; color: var(--text2); }
.doc-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.doc-row .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-row .name { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.doc-row .meta { font-size: 12px; color: var(--muted); }
.doc-row form { flex: none; }

/* Özet kartları: 4 sütun yalnızca gerçekten sığınca; arada 2x2 (tek başına kalan kart olmaz) */
.stats, .fact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1399px) { .fact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1179px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fact.ring-fact { grid-column: 1 / -1; } }
/* Kişi hücresi: e-posta tek satır (sığmazsa üç nokta, tamamı ipucunda), telefon alt satırda */
.person > span:last-child { min-width: 0; }
.person .p-mail { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.people-tbl td:first-child { max-width: 360px; }
@media (max-width: 760px) { .people-tbl td:first-child { max-width: none; } }

/* Kişi tablosu masaüstünde yana kaymasın: tarih ve dosya sütunları gerekirse iki satıra iner */
@media (min-width: 761px) {
  .people-tbl td { white-space: normal; }
  .people-tbl td.tnum { min-width: 86px; }
  .people-tbl .acts-row { flex-wrap: nowrap; gap: 2px; }
}
/* Tablolar orta genişlikte yana kaymasın: sabit genişlik yok, hücreler gerektiğinde satıra iner */
@media (min-width: 761px) and (max-width: 1499px) {
  .tbl td { white-space: normal; overflow-wrap: break-word; }
  .tbl th { white-space: normal; }
  .tbl td.tnum { min-width: 84px; }
  .tbl td .mono, .tbl td.mono { overflow-wrap: anywhere; }
}
/* Çok sütunlu kişi tabloları tablet genişliğinde de kart listesi (telefondakiyle aynı düzen) */
@media (min-width: 761px) and (max-width: 1100px) {
  .tbl-cards { min-width: 0 !important; width: 100%; }
  .tbl-cards thead { display: none; }
  .tbl-cards, .tbl-cards tbody, .tbl-cards td { display: block; }
  .tbl-cards tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; padding: 14px 20px; border-top: 1px solid var(--line-soft); }
  .tbl-cards tbody tr:first-child { border-top: 0; }
  .tbl-cards td { padding: 0 !important; border: 0 !important; white-space: normal; min-width: 0; }
  .tbl-cards td:first-child, .tbl-cards td.end:last-child { grid-column: 1 / -1; }
  .tbl-cards td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tbl-cards td.end:last-child::before { display: none; }
  .tbl-cards .wide-only { display: block; }
  .tbl-cards .acts-row { justify-content: flex-start; }
}

/* Yükleme formlarında not */
.upload-note { margin-top: 14px; }
.doc-upload { align-items: start; }
.note-cell { min-width: 200px; }
textarea.sm-note { min-height: 0; height: 58px; padding: 7px 10px; font-size: 13.5px; resize: vertical; }
