/* ============================================================
   KULÜP DATA v2 — ORTAK TASARIM SİSTEMİ
   FM görsel dili: Deep Navy + Emerald, veri yoğun
   Tema: dark (varsayılan) + light — html[data-theme] ile
   ============================================================ */
:root, [data-theme="dark"] {
    --bg-app: #0B1426;
    --bg-side: #0A111F;
    --bg-card: #16233F;
    --bg-inset: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.07);
    --border-strong: rgba(255,255,255,0.14);

    --emerald: #0FB97D;
    --emerald-dim: rgba(15,185,125,0.12);
    --gold: #F5B93B;
    --gold-dim: rgba(245,185,59,0.12);
    --red: #EF4444;
    --red-dim: rgba(239,68,68,0.12);
    --blue: #3B82F6;
    --blue-dim: rgba(59,130,246,0.12);
    --purple: #A78BFA;
    --purple-dim: rgba(167,139,250,0.12);

    --text-1: #F1F5F9;
    --text-2: #94A3B8;
    --text-3: #5B6B85;

    /* Bileşen gradyanları + SVG yardımcıları */
    --hero-a: #14213D;
    --hero-b: #101B33;
    --hero-c: #0F2233;
    --ava-a: #1E2E4F;
    --ava-b: #131F3A;
    --svg-grid: rgba(255,255,255,0.07);
    --card-shadow: none;

    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'SF Mono', 'Roboto Mono', monospace;
}

/* ---------- AÇIK TEMA ---------- */
[data-theme="light"] {
    --bg-app: #EEF2F7;
    --bg-side: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-inset: rgba(15,23,42,0.035);
    --border: rgba(15,23,42,0.08);
    --border-strong: rgba(15,23,42,0.16);

    --emerald: #0B9E6B;
    --emerald-dim: rgba(15,185,125,0.14);
    --gold: #B45309;
    --gold-dim: rgba(217,119,6,0.12);
    --red: #DC2626;
    --red-dim: rgba(220,38,38,0.10);
    --blue: #2563EB;
    --blue-dim: rgba(37,99,235,0.10);
    --purple: #7C3AED;
    --purple-dim: rgba(124,58,237,0.10);

    --text-1: #0F172A;
    --text-2: #475569;
    --text-3: #64748B;

    --hero-a: #FFFFFF;
    --hero-b: #F8FAFC;
    --hero-c: #EFF6F2;
    --ava-a: #E2E8F0;
    --ava-b: #CBD5E1;
    --svg-grid: rgba(15,23,42,0.08);
    --card-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg-app);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
}
a { color: inherit; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

/* ============ UYGULAMA İSKELETİ ============ */
.app { display: flex; min-height: 100vh; }
.main { flex: 1; min-width: 0; padding: 24px 28px 60px; max-width: 1280px; }

/* ---------- SOL MENÜ ---------- */
.sidebar {
    width: 248px; flex-shrink: 0;
    background: var(--bg-side);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh;
}
.side-head { padding: 20px 18px 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--emerald); color: #05130D;
    display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.brand .bn { font-size: 14.5px; font-weight: 900; }
.brand .bs { font-size: 10.5px; color: var(--text-3); }

.branch-switch {
    margin: 14px 14px 0; padding: 4px;
    background: var(--bg-inset); border: 1px solid var(--border); border-radius: 10px;
    display: flex; gap: 4px;
}
.bsw {
    flex: 1; text-align: center; padding: 7px 4px; border-radius: 7px;
    font-size: 12px; font-weight: 700; color: var(--text-3); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    text-decoration: none;
}
.bsw svg { width: 13px; height: 13px; }
.bsw.on { background: var(--emerald-dim); color: var(--emerald); }

.nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav-label {
    font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3); padding: 14px 10px 6px;
}
.nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 9px;
    font-size: 13px; font-weight: 600; color: var(--text-2);
    text-decoration: none; transition: all .12s;
}
.nav-link svg { width: 16px; height: 16px; }
.nav-link:hover { background: var(--bg-inset); color: var(--text-1); }
.nav-link.on { background: var(--emerald-dim); color: var(--emerald); }
.nav-link .nbadge {
    margin-left: auto; font-size: 10px; font-family: var(--mono); font-weight: 800;
    background: var(--gold-dim); color: var(--gold);
    padding: 1px 7px; border-radius: 99px;
}
.side-foot { padding: 14px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.side-foot .logout { margin-left: auto; color: var(--text-3); display: grid; place-items: center; }
.side-foot .logout svg { width: 15px; height: 15px; }
.side-foot .logout:hover { color: var(--red); }
.theme-toggle {
    background: none; border: none; cursor: pointer; padding: 0;
    color: var(--text-3); display: grid; place-items: center;
}
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle:hover { color: var(--gold); }
.uf-ava {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(160deg, var(--ava-a), var(--ava-b));
    border: 1px solid var(--border-strong);
    display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--text-2);
    flex-shrink: 0;
}
.uf-info .n { font-size: 12.5px; font-weight: 700; }
.uf-info .r { font-size: 10.5px; color: var(--text-3); }

/* ---------- ÜST BAR ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.title-block h1 { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.title-block p { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.breadcrumb b { color: var(--text-2); font-weight: 600; }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-1); }
.actions { display: flex; gap: 8px; }

/* ---------- BUTONLAR ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
    border: 1px solid var(--border-strong); background: transparent; color: var(--text-1);
    cursor: pointer; font-family: var(--font); transition: all .15s; text-decoration: none;
}
.btn:hover { background: var(--bg-inset); }
.btn.primary { background: var(--emerald); border-color: var(--emerald); color: #05130D; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost-red { border-color: rgba(239,68,68,0.3); color: var(--red); }
.btn.ghost-red:hover { background: var(--red-dim); }
.btn svg { width: 15px; height: 15px; }
.btn.sm { padding: 6px 11px; font-size: 12px; }

/* ---------- KARTLAR ---------- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--card-shadow); }
.card-title {
    font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3); margin-bottom: 14px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.card-title svg { width: 14px; height: 14px; }
.card-title .right { font-size: 10px; letter-spacing: 0; text-transform: none; font-weight: 600; }

/* ---------- KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    padding: 15px 17px; transition: border-color .15s; box-shadow: var(--card-shadow);
    display: flex; justify-content: space-between; align-items: flex-start;
    text-decoration: none; color: inherit;
}
.kpi:hover { border-color: var(--border-strong); }
.kpi .cap { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.kpi .num { font-size: 26px; font-weight: 900; font-family: var(--mono); margin-top: 3px; }
.kpi .sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.kpi .sub b { font-weight: 700; }
.kpi-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.kpi-ic svg { width: 16px; height: 16px; }
.ic-gold { background: var(--gold-dim); color: var(--gold); }
.ic-red { background: var(--red-dim); color: var(--red); }
.ic-blue { background: var(--blue-dim); color: var(--blue); }
.ic-green { background: var(--emerald-dim); color: var(--emerald); }
.ic-purple { background: var(--purple-dim); color: var(--purple); }

/* ---------- GRID DÜZENLERİ ---------- */
.grid-main { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* ---------- ROZET / CHIP ---------- */
.chip {
    font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 6px; white-space: nowrap; display: inline-block;
}
.chip-green  { background: var(--emerald-dim); color: var(--emerald); }
.chip-gold   { background: var(--gold-dim); color: var(--gold); }
.chip-red    { background: var(--red-dim); color: var(--red); }
.chip-blue   { background: var(--blue-dim); color: var(--blue); }
.chip-purple { background: var(--purple-dim); color: var(--purple); }
.chip-muted  { background: rgba(255,255,255,0.05); color: var(--text-3); }

/* ---------- TABLOLAR ---------- */
.table-card { padding: 0; overflow: hidden; }
.table-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.table-head .t { font-size: 14px; font-weight: 800; }
.table-head .t small { color: var(--text-3); font-weight: 600; font-size: 12px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.f-chip {
    font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 99px;
    background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-3);
    cursor: pointer; text-decoration: none;
}
.f-chip.on { background: var(--emerald-dim); border-color: rgba(15,185,125,0.35); color: var(--emerald); }

table { width: 100%; border-collapse: collapse; }
th {
    font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-3); text-align: left; padding: 10px 14px;
    border-bottom: 1px solid var(--border); background: var(--bg-inset); white-space: nowrap;
}
th.c, td.c { text-align: center; }
td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr.rowlink { cursor: pointer; transition: background .12s; }
tbody tr.rowlink:hover { background: rgba(255,255,255,0.025); }
tr.group td {
    font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3); background: rgba(255,255,255,0.02); padding: 7px 14px;
}

.p-cell { display: flex; align-items: center; gap: 11px; }
.p-ava {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    background: linear-gradient(160deg, var(--ava-a), var(--ava-b));
    border: 1px solid var(--border-strong);
    display: grid; place-items: center;
    font-size: 11px; font-weight: 800; color: var(--text-3);
}
.p-cell .n { font-weight: 700; color: var(--text-1); line-height: 1.25; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.p-cell .s { font-size: 11px; color: var(--text-3); }
.pos-tag {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    background: var(--bg-inset); border: 1px solid var(--border);
    padding: 2px 7px; border-radius: 5px; color: var(--text-2);
}
.mono-sm { font-family: var(--mono); font-size: 12px; color: var(--text-2); }

/* FM puan kutusu */
.num-b {
    font-family: var(--mono); font-weight: 800; font-size: 13px;
    min-width: 38px; height: 26px; border-radius: 7px; padding: 0 4px;
    display: inline-grid; place-items: center;
}
.n-hi  { background: var(--emerald-dim); color: var(--emerald); }
.n-mid { background: var(--gold-dim); color: var(--gold); }
.n-low { background: rgba(255,255,255,0.05); color: var(--text-3); }

/* ---------- ZAMAN TÜNELİ ---------- */
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.ev { position: relative; padding-bottom: 18px; }
.ev:last-child { padding-bottom: 4px; }
.ev-dot {
    position: absolute; left: -22px; top: 3px;
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--bg-card);
    display: grid; place-items: center;
}
.ev-dot svg { width: 9px; height: 9px; }
.d-scout { background: var(--blue); color: #fff; }
.d-coach { background: var(--emerald); color: #05130D; }
.d-test  { background: var(--purple); color: #1E1B4B; }
.d-med   { background: var(--red); color: #fff; }
.d-move  { background: var(--gold); color: #422006; }
.d-reg   { background: var(--text-3); color: #fff; }
.ev-date { font-size: 10.5px; font-family: var(--mono); color: var(--text-3); font-weight: 600; }
.ev-title { font-size: 13px; font-weight: 700; margin: 1px 0 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ev-title a { color: var(--emerald); text-decoration: none; }
.ev-body { font-size: 12.5px; color: var(--text-2); }
.ev-who { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.ev.locked-ev .ev-title, .ev.locked-ev .ev-body { color: var(--text-3); }
.chip.lock { background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-3); display: inline-flex; align-items: center; gap: 4px; }
.chip.lock svg { width: 9px; height: 9px; }

/* ---------- SPORCU PROFİLİ ---------- */
.hero {
    background: linear-gradient(120deg, var(--hero-a) 0%, var(--hero-b) 55%, var(--hero-c) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px 0;
    position: relative; overflow: hidden;
}
.hero-main { display: flex; gap: 24px; align-items: flex-start; position: relative; flex-wrap: wrap; }
.photo {
    width: 118px; height: 146px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(160deg, var(--ava-a), var(--ava-b));
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); font-size: 26px; font-weight: 800;
    position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.photo .jersey {
    position: absolute; bottom: -10px; right: -10px;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--emerald); color: #05130D;
    display: grid; place-items: center;
    font-weight: 900; font-size: 17px; font-family: var(--mono);
    box-shadow: 0 6px 18px rgba(15,185,125,0.4);
}
.hero-id { flex: 1; min-width: 260px; }
.name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero h1 { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.meta-row { display: flex; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.meta { font-size: 13px; color: var(--text-2); }
.meta b { color: var(--text-1); font-weight: 700; }
.meta .lbl { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.pos-badges { display: flex; gap: 6px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.pos {
    padding: 4px 10px; border-radius: 6px; font-family: var(--mono);
    font-size: 12px; font-weight: 700;
    background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-2);
}
.pos.primary { background: var(--emerald-dim); border-color: rgba(15,185,125,0.35); color: var(--emerald); }
.overall { text-align: center; padding: 6px 22px 0; flex-shrink: 0; border-left: 1px solid var(--border); }
.overall .num { font-size: 48px; font-weight: 900; line-height: 1; color: var(--emerald); font-family: var(--mono); }
.overall .cap { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }

.lifecycle {
    display: flex; align-items: center; gap: 0;
    margin-top: 22px; padding: 14px 4px;
    border-top: 1px solid var(--border); flex-wrap: wrap;
}
.lc-step { display: flex; align-items: center; gap: 10px; }
.lc-dot {
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; flex-shrink: 0;
    border: 2px solid var(--border-strong); color: var(--text-3);
    background: var(--bg-side); font-size: 12px;
}
.lc-dot svg { width: 12px; height: 12px; }
.lc-dot.done { background: var(--emerald); border-color: var(--emerald); color: #05130D; }
.lc-dot.now { border-color: var(--emerald); color: var(--emerald); box-shadow: 0 0 0 4px rgba(15,185,125,0.15); }
.lc-info .t { font-size: 12.5px; font-weight: 700; }
.lc-info .d { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.lc-line { flex: 1; height: 2px; background: var(--border-strong); margin: 0 14px; min-width: 24px; }
.lc-line.done { background: var(--emerald); }
.lc-mem {
    margin-left: auto; display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-2);
    background: var(--bg-inset); border: 1px solid var(--border);
    padding: 7px 12px; border-radius: 8px;
}
.lc-mem b { color: var(--gold); }
.lc-mem svg { width: 14px; height: 14px; color: var(--gold); }

/* Profil alt grid */
.grid-profile { display: grid; grid-template-columns: 300px 1fr 360px; gap: 18px; align-items: start; margin-top: 18px; }

/* kv satırları */
.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; gap: 10px; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-3); flex-shrink: 0; }
.kv .v { font-weight: 600; text-align: right; }
.kv .v.mono { font-family: var(--mono); font-size: 12.5px; }

/* fiziksel mini metrikler */
.phys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phys { background: var(--bg-inset); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.phys .val { font-size: 20px; font-weight: 800; font-family: var(--mono); }
.phys .val small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.phys .cap { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }
.phys .delta { font-size: 11px; margin-top: 4px; font-weight: 600; }
.delta.up { color: var(--emerald); }
.delta.dn { color: var(--red); }

/* kilitli sağlık kartı */
.locked {
    background: repeating-linear-gradient(-45deg, var(--bg-card), var(--bg-card) 10px, rgba(255,255,255,0.015) 10px, rgba(255,255,255,0.015) 20px);
    text-align: center; padding: 28px 20px;
}
.locked .ic {
    width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 12px;
    background: var(--bg-inset); border: 1px solid var(--border-strong);
    display: grid; place-items: center; color: var(--text-3);
}
.locked .ic svg { width: 18px; height: 18px; }
.locked p { font-size: 12.5px; color: var(--text-3); max-width: 240px; margin: 0 auto; }
.locked p b { color: var(--text-2); }

/* değerlendirme radarı yanı attribute listesi */
.assess { display: grid; grid-template-columns: 280px 1fr; gap: 8px; align-items: center; }
.attr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.attr-group-title { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding: 8px 0 6px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.attr { display: flex; justify-content: space-between; align-items: center; padding: 5.5px 0; font-size: 13px; color: var(--text-2); }
.src-note { font-size: 11px; color: var(--text-3); margin-top: 14px; display: flex; align-items: flex-start; gap: 6px; }
.src-note svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 2px; }

/* rapor mini kart (zaman tünelinde) */
.report-mini {
    background: var(--bg-inset); border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 14px; margin-top: 8px;
}
.report-mini .rm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 8px; flex-wrap: wrap; }
.rm-scores { display: flex; gap: 8px; }
.rm-s { text-align: center; }
.rm-s .n { font-family: var(--mono); font-weight: 800; font-size: 13px; }
.rm-s .c { font-size: 8.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--text-3); text-transform: uppercase; }

/* ---------- HUNİ (dashboard) ---------- */
.funnel-card {
    background: linear-gradient(120deg, var(--hero-a) 0%, var(--hero-b) 60%, var(--hero-c) 100%);
    border: 1px solid var(--border); border-radius: 14px;
    padding: 20px 22px; margin-bottom: 18px;
}
.funnel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.funnel-head .t { font-size: 14px; font-weight: 800; }
.funnel-head .s { font-size: 11.5px; color: var(--text-3); }
.funnel { display: flex; align-items: stretch; }
.f-step { flex: 1; position: relative; padding: 14px 16px; text-decoration: none; color: inherit; }
.f-step:not(:last-child)::after {
    content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%) rotate(45deg);
    width: 16px; height: 16px;
    border-top: 1px solid var(--border-strong); border-right: 1px solid var(--border-strong);
    z-index: 2;
}
.f-step .v { font-size: 26px; font-weight: 900; font-family: var(--mono); }
.f-step .c { font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
.f-step .d { font-size: 11px; margin-top: 4px; font-weight: 600; color: var(--text-3); }
.f-step .d b { color: var(--emerald); }
.f-step.watch { border-left: 1px dashed var(--border-strong); margin-left: 12px; padding-left: 24px; }

/* ---------- SEKMELER ---------- */
.tabs { display: flex; gap: 4px; margin: 20px 0 18px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab {
    padding: 11px 18px; font-size: 13.5px; font-weight: 600; color: var(--text-2);
    border-bottom: 2px solid transparent; cursor: pointer;
    display: flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none;
}
.tab:hover { color: var(--text-1); }
.tab.active { color: var(--emerald); border-bottom-color: var(--emerald); }
.tab .count { font-size: 11px; font-family: var(--mono); background: var(--bg-inset); border: 1px solid var(--border); padding: 1px 7px; border-radius: 99px; color: var(--text-3); }
.tab svg.lock { width: 13px; height: 13px; color: var(--text-3); }

/* ---------- FORMLAR ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.input, .select, textarea.input {
    width: 100%; padding: 10px 12px; border-radius: 9px;
    background: var(--bg-inset); border: 1px solid var(--border-strong);
    color: var(--text-1); font-family: var(--font); font-size: 13.5px;
}
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--emerald); }
.select option { background: var(--bg-card); }

/* ---------- SATIR LİSTELERİ (yan paneller) ---------- */
.li-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.li-row:last-child { border-bottom: none; }
.li-info { flex: 1; min-width: 0; }
.li-info .n { font-size: 13px; font-weight: 700; }
.li-info .s { font-size: 11px; color: var(--text-3); }
.li-right { text-align: right; font-family: var(--mono); font-size: 12px; font-weight: 700; }
.li-right .l { font-size: 10px; color: var(--text-3); font-weight: 600; }

/* hafıza kartı */
.memory-card { border: 1px solid rgba(245,185,59,0.25); background: linear-gradient(160deg, rgba(245,185,59,0.06), var(--bg-card) 60%); }
.memory-card .card-title { color: var(--gold); }

/* boş durum */
.empty { text-align: center; padding: 32px 20px; color: var(--text-3); font-size: 13px; }

/* uyarı kutusu */
.flash { padding: 12px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.flash.ok { background: var(--emerald-dim); color: var(--emerald); border: 1px solid rgba(15,185,125,0.3); }
.flash.err { background: var(--red-dim); color: var(--red); border: 1px solid rgba(239,68,68,0.3); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
    .grid-main { grid-template-columns: 1fr; }
    .grid-profile { grid-template-columns: 1fr 1fr; }
    .grid-profile .col:last-child { grid-column: 1 / -1; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .funnel { flex-wrap: wrap; }
    .f-step { min-width: 45%; }
}
@media (max-width: 900px) {
    .sidebar { display: none; }
    .grid-profile { grid-template-columns: 1fr; }
    .assess { grid-template-columns: 1fr; }
    .table-card { overflow-x: auto; }
}
