/*
 * Naklam Yonetim temasi.
 * Acik menulu, sade yonetim paneli; renkler musteri uygulamasinin mavisiyle uyumlu.
 * Tum renkler degiskenlerden gelir; koyu tema isletim sistemi tercihine gore acilir.
 * Disaridan yazi tipi ya da kutuphane yuklenmez (CSP 'self').
 */
:root {
    color-scheme: light dark;
    --font: "Segoe UI Variable Text", "Segoe UI", "Inter", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;

    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f9fafb;
    --surface-3: #f2f4f7;
    --line: #eaecf0;
    --line-strong: #d0d5dd;
    --ink: #101828;
    --ink-2: #344054;
    --muted: #667085;
    --faint: #98a2b3;

    --brand-50: #eef3ff;
    --brand-100: #dde7ff;
    --brand-200: #b9ccff;
    --brand: #2554f5;
    --brand-strong: #1a40cf;
    --brand-ink: #ffffff;
    --focus: rgba(37, 84, 245, .22);

    --ok: #067647;      --ok-bg: #ecfdf3;   --ok-line: #abefc6;
    --warn: #b54708;    --warn-bg: #fffaeb; --warn-line: #fedf89;
    --bad: #b42318;     --bad-bg: #fef3f2;  --bad-line: #fecdca;
    --info: #175cd3;    --info-bg: #eff8ff; --info-line: #b2ddff;
    --neutral: #475467; --neutral-bg: #f2f4f7; --neutral-line: #e4e7ec;

    --radius-lg: 14px;
    --radius: 10px;
    --radius-sm: 8px;
    --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
    --shadow-lg: 0 12px 24px -6px rgba(16, 24, 40, .10), 0 4px 8px -4px rgba(16, 24, 40, .05);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c111d;
        --surface: #121826;
        --surface-2: #161d2d;
        --surface-3: #1c2436;
        --line: #232c3f;
        --line-strong: #344054;
        --ink: #f2f4f7;
        --ink-2: #d0d5dd;
        --muted: #94a3b8;
        --faint: #667085;
        --brand-50: rgba(91, 132, 255, .12);
        --brand-100: rgba(91, 132, 255, .20);
        --brand-200: rgba(91, 132, 255, .35);
        --brand: #6b8fff;
        --brand-strong: #93adff;
        --brand-ink: #0b1430;
        --focus: rgba(107, 143, 255, .35);
        --ok: #47cd89;      --ok-bg: rgba(71, 205, 137, .10);  --ok-line: rgba(71, 205, 137, .28);
        --warn: #fdb022;    --warn-bg: rgba(253, 176, 34, .10); --warn-line: rgba(253, 176, 34, .28);
        --bad: #f97066;     --bad-bg: rgba(249, 112, 102, .10); --bad-line: rgba(249, 112, 102, .30);
        --info: #53b1fd;    --info-bg: rgba(83, 177, 253, .10); --info-line: rgba(83, 177, 253, .28);
        --neutral: #cbd5e1; --neutral-bg: #1c2436; --neutral-line: #2b3548;
        --shadow-xs: 0 1px 2px rgba(0, 0, 0, .35);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, .45);
        --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, .55);
    }
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font); font-size: 14px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
::selection { background: var(--brand-100); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.late { color: var(--bad); font-weight: 600; }
.icon { flex: none; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

h1 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 .3rem; display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
h1 + p.muted { margin: 0 0 1.5rem; font-size: 1rem; }
h1:not(:has(+ p)) { margin-bottom: 1.25rem; }
h2 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; margin: 2.25rem 0 .85rem; }
h3 { font-size: 1rem; font-weight: 650; margin: 0 0 .6rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.section-title { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin: 2rem 0 .8rem; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: .5rem; }
.page-head h1 { margin-bottom: .25rem; }
.page-head p { margin: 0; font-size: 1rem; }
.page-head .today { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.back { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-weight: 550; margin: 0 0 1rem; }
.back:hover { color: var(--ink); }
.empty, .content > p.muted {
    color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
    padding: 2rem 1.5rem; text-align: center;
}
h1 + p.muted, .page-head p.muted { background: none; border: none; padding: 0; text-align: left; }

/* ---------- iskelet ---------- */
.shell { display: flex; min-height: 100vh; }
.side {
    width: 264px; flex: none; position: sticky; top: 0; height: 100vh; overflow-y: auto;
    background: var(--surface); border-right: 1px solid var(--line); padding: 1.25rem 1rem 1rem;
    display: flex; flex-direction: column; gap: .15rem;
}
.side-brand { display: block; padding: .15rem .5rem 1.25rem; color: var(--ink) !important; }
.nav-group { display: flex; flex-direction: column; gap: 2px; margin-bottom: .5rem; }
.nav-label { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); padding: .85rem .75rem .35rem; }
.side a:not(.side-brand) {
    display: flex; align-items: center; gap: .7rem; color: var(--ink-2); padding: .55rem .75rem; border-radius: var(--radius-sm);
    font-weight: 550; font-size: .95rem; transition: background .12s ease, color .12s ease;
}
.side a:not(.side-brand) .icon { color: var(--faint); transition: color .12s ease; }
.side a:not(.side-brand):hover { background: var(--surface-3); color: var(--ink); }
.side a:not(.side-brand):hover .icon { color: var(--muted); }
.side a.active, .side a.active:hover { background: var(--brand-50) !important; color: var(--brand) !important; }
.side a.active .icon { color: var(--brand) !important; }

.who {
    margin-top: auto; display: flex; align-items: center; gap: .7rem; padding: .75rem; font-size: .85rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
}
.who-text { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; }
.who-text .muted { font-weight: 450; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: linear-gradient(135deg, var(--brand), #7c5cff); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .02em;
}
.avatar.sm { width: 30px; height: 30px; font-size: .72rem; }
.avatar.tone-1 { background: linear-gradient(135deg, #2554f5, #7c5cff); }
.avatar.tone-2 { background: linear-gradient(135deg, #0e9384, #2ed3b7); }
.avatar.tone-3 { background: linear-gradient(135deg, #dc6803, #fdb022); }
.avatar.tone-4 { background: linear-gradient(135deg, #c11574, #f670c7); }
.avatar.tone-5 { background: linear-gradient(135deg, #4e5ba6, #9ea9de); }
.icon-button {
    background: none; border: none; color: var(--muted); padding: .45rem; border-radius: var(--radius-sm); cursor: pointer;
    display: grid; place-items: center; min-height: auto; box-shadow: none;
}
.icon-button:hover { background: var(--surface-3); color: var(--ink); border: none; }

/* Genis tablo sigmazsa yalnizca icerik alani yana kayar; menu yerinde kalir. */
.content { flex: 1; min-width: 0; padding: 2.25rem 2.75rem 4rem; overflow-x: auto; }
.content > * { max-width: 1240px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo-mark { stroke: #ffffff; }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.1; }
.logo-text small { font-family: var(--font); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: 0; }

/* ---------- kartlar ---------- */
.card, .review, .facts {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
}
.card, .review { padding: 1.4rem 1.5rem; margin: 1rem 0; }
.card > h3, .review > h3 { font-size: 1.02rem; }
.card > p.muted { margin-top: 0; }

/* Ozet kutulari */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.tile {
    position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.25rem 1.3rem 1.1rem; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease; overflow: hidden;
}
a.tile:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tile-top { display: flex; align-items: center; gap: .75rem; }
.tile-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; border: 1px solid transparent; }
.tile-label { color: var(--ink-2); font-weight: 550; font-size: .92rem; line-height: 1.3; }
.tile .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; font-weight: 550; }
a.tile:hover .tile-foot { color: var(--brand); }
.tile-alert { border-color: var(--bad-line); }
.tile-alert::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--bad); }
.tile-body { display: flex; flex-direction: column; gap: .3rem; }
.tone-ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line) !important; }
.tone-warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line) !important; }
.tone-bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line) !important; }
.tone-info { background: var(--info-bg); color: var(--info); border-color: var(--info-line) !important; }
.tone-brand { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100) !important; }
.stars { font-family: var(--font-display); font-size: 2rem; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
.tile:not(a) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }

/* ---------- tablolar ---------- */
table {
    width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); margin-bottom: .75rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); overflow: hidden;
}
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th {
    background: var(--surface-2); font-weight: 600; font-size: .78rem; color: var(--muted); letter-spacing: .01em;
    padding-top: .7rem; padding-bottom: .7rem; white-space: nowrap;
}
td { color: var(--ink-2); }
td .muted { font-size: .85rem; }
tbody tr { transition: background .1s ease; }
tbody tr:hover { background: var(--surface-2); }
tr:last-child td { border-bottom: none; }
td a { font-weight: 600; color: var(--ink); }
td a:hover { color: var(--brand); }
td:first-child a { color: var(--ink); }
.person { display: flex; align-items: center; gap: .7rem; }
.person a { display: block; }

/* Suzgec cubugu, hemen altindaki tabloyla tek kart gibi gorunur. */
.filters {
    display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: 0 0 1rem; padding: .85rem 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
}
.filters:has(+ table) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; box-shadow: none; }
.filters + table { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; }
.filters input:not([type=checkbox]) { min-width: 260px; flex: 1; }
.filters label.check { margin: 0 .5rem; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; padding: .4rem 0; margin: 0 0 1.25rem; overflow: hidden; }
.facts dt, .facts dd { padding: .7rem 1.4rem; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { color: var(--ink); font-weight: 500; }
.facts dt:nth-last-of-type(1), .facts dd:last-of-type { border-bottom: none; }

/* ---------- etiketler ve bildirimler ---------- */
.badge {
    display: inline-flex; align-items: center; gap: .4rem; padding: .14rem .6rem .14rem .5rem; border-radius: 999px;
    font-size: .78rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent; line-height: 1.5;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.badge.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.badge.bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.badge.muted { background: var(--neutral-bg); color: var(--neutral); border-color: var(--neutral-line); }
td .badge + .badge { margin-left: .3rem; }

.flash {
    display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--radius);
    margin-bottom: 1.1rem; border: 1px solid transparent; font-weight: 500;
}
.flash::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-top: .45rem; flex: none; }
.flash.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.flash.bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }

/* ---------- formlar ---------- */
input, select, textarea {
    font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm); padding: .55rem .8rem; min-height: 40px; box-shadow: var(--shadow-xs);
    transition: border-color .12s ease, box-shadow .12s ease;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--focus); }
input[readonly] { background: var(--surface-3); color: var(--muted); }
select {
    appearance: none; padding-right: 2.2rem; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
input[type=checkbox], input[type=radio] { min-height: auto; accent-color: var(--brand); width: 16px; height: 16px; box-shadow: none; }
label { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
label.check { flex-direction: row; align-items: center; gap: .5rem; margin: 0 1rem .25rem 0; display: inline-flex; font-weight: 500; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1rem; padding: .75rem 1rem; }
legend { font-size: .84rem; color: var(--muted); padding: 0 .35rem; font-weight: 550; }
textarea { width: 100%; min-height: 110px; resize: vertical; line-height: 1.5; }

button {
    font: inherit; font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 40px; padding: .5rem 1.05rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--ink-2); cursor: pointer; box-shadow: var(--shadow-xs); white-space: nowrap;
    transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}
button:hover { background: var(--surface-2); color: var(--ink); border-color: var(--faint); }
button:active { transform: translateY(1px); }
button.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 1px 2px rgba(37, 84, 245, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
button.primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--brand-ink); }
button.danger { background: var(--surface); border-color: var(--bad-line); color: var(--bad); }
button.danger:hover { background: var(--bad-bg); border-color: var(--bad); }
button:disabled, button:disabled:hover { opacity: .5; cursor: not-allowed; transform: none; }
button.link { border: none; background: none; color: var(--brand); padding: 0; min-height: auto; box-shadow: none; }
button.wide { width: 100%; min-height: 44px; font-size: .98rem; }

.inline { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.inline input:not([type=radio]):not([type=checkbox]) { min-width: 280px; }
.inline.compact { margin: 0; flex-wrap: nowrap; }
.inline.compact input:not([type=radio]):not([type=checkbox]) { min-width: 150px; width: 150px; }
.actions { margin: 0 0 1.25rem; }
.actions:empty { display: none; }
.actions .inline { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-xs); }
.pager { display: flex; gap: 1rem; align-items: center; padding: .5rem .25rem; color: var(--muted); }
.pager a { font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: .2rem; }

/* ---------- inceleme, yazisma, galeri ---------- */
.review-body { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.preview img {
    max-width: 440px; max-height: 340px; border: 1px solid var(--line); border-radius: var(--radius); display: block;
    margin-bottom: .5rem; background: var(--surface-3);
}
.decide { display: flex; flex-direction: column; gap: 1.25rem; min-width: 300px; flex: 1; }
.decide form + form { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.decide-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-top: .75rem; }
.decide-row input { min-width: 360px; flex: 1; }

.thread { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.25rem; }
.msg {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .85rem 1.1rem;
    max-width: 780px; box-shadow: var(--shadow-xs);
}
.msg.staff { margin-left: auto; background: var(--brand-50); border-color: var(--brand-100); }
.msg.system { background: transparent; box-shadow: none; border-style: dashed; color: var(--muted); max-width: none; text-align: center; }
.msg.internal { background: var(--warn-bg); border-color: var(--warn-line); }
.msg .meta { font-size: .8rem; color: var(--muted); margin-bottom: .3rem; font-weight: 500; }
.msg .body { white-space: pre-wrap; color: var(--ink); }
.gallery { display: flex; gap: .75rem; flex-wrap: wrap; }
.gallery img { max-width: 220px; max-height: 180px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- giris ---------- */
/* Tam ekran iki yari: solda marka, sagda ortalanmis form. */
.auth-main { min-height: 100vh; background: var(--surface); }
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 46%) 1fr; }
.auth-brand {
    position: relative; overflow: hidden; color: #fff; padding: 3rem 3.25rem; display: flex; flex-direction: column; gap: 2rem;
    background:
        radial-gradient(600px 400px at 100% 0%, rgba(124, 92, 255, .55), transparent 70%),
        radial-gradient(500px 500px at 0% 100%, rgba(46, 211, 183, .28), transparent 70%),
        linear-gradient(160deg, #0f2490 0%, #1f47e0 55%, #2f5bff 100%);
}
/* Ince yol cizgileri: tasima temasina hafif bir dokunus. */
.auth-brand::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.auth-brand > * { position: relative; }
.auth-brand .logo-text { color: #fff; font-size: 1.3rem; }
.auth-brand .logo-text small { color: rgba(255, 255, 255, .7); }
.auth-brand .logo-bg { fill: rgba(255, 255, 255, .18); }
.auth-pitch { margin-top: auto; }
.auth-pitch h2 { font-family: var(--font-display); font-size: 2.35rem; line-height: 1.15; font-weight: 650; letter-spacing: -.03em; margin: 0 0 1rem; color: #fff; max-width: 18ch; }
.auth-pitch p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1.05rem; line-height: 1.6; max-width: 40ch; }
.auth-points { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: .75rem; max-width: 440px; }
.auth-points li {
    display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 14px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
}
.auth-points b { display: block; font-weight: 600; }
.auth-points small { display: block; color: rgba(255, 255, 255, .7); font-size: .86rem; }
.auth-point-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .14); }

.auth-panel { display: grid; place-items: center; padding: 3rem 2rem; background: var(--surface); }
.auth-card { width: min(400px, 100%); }
.auth-mobile-logo { display: none; margin-bottom: 2rem; }
.auth-card h1 { font-size: 1.85rem; letter-spacing: -.025em; margin: 0 0 .5rem; }
.auth-card .lead { color: var(--muted); font-size: 1rem; margin: 0 0 1.75rem; line-height: 1.55; }
.auth-card .lead b { color: var(--ink); font-weight: 600; }
.auth-form { display: flex; flex-direction: column; gap: .25rem; }
.auth-form label { margin-bottom: 1.1rem; }

.steps { list-style: none; display: flex; align-items: center; gap: .5rem; padding: 0; margin: 0 0 1.75rem; font-size: .84rem; font-weight: 600; color: var(--faint); }
.steps li { display: flex; align-items: center; gap: .45rem; }
.steps li + li::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--line-strong); margin-right: .1rem; }
.steps span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; border: 1.5px solid var(--line-strong); }
.steps .current { color: var(--ink); }
.steps .current span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--focus); }
.steps .done { color: var(--brand); }
.steps .done span { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand); }
.steps .done + li::before, .steps .current + li.current::before { background: var(--brand); }

.input-icon { position: relative; display: block; }
.input-icon .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-icon input { width: 100%; padding-left: 2.6rem; }
.auth-form input { min-height: 48px; font-size: 1.05rem; border-radius: 10px; }
.auth-form .code-input { font-size: 1.6rem; letter-spacing: .6em; text-indent: .6em; text-align: center; font-variant-numeric: tabular-nums; min-height: 60px; font-weight: 600; }
.auth-form button.wide { min-height: 48px; border-radius: 10px; font-size: 1rem; margin-top: .25rem; }
.subtle-link { text-align: center; margin-top: 1rem; font-size: .92rem; font-weight: 550; }
.auth-foot { display: flex; align-items: center; gap: .5rem; margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .84rem; }
.auth-card .flash { margin-bottom: 1.25rem; }

/* ---------- dar ekran ---------- */
/* ---------- araci paneli ---------- */
a.button {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .5rem 1.05rem; border-radius: var(--radius-sm);
    font-weight: 600; white-space: nowrap; background: var(--brand); color: var(--brand-ink);
}
a.button:hover { background: var(--brand-strong); color: var(--brand-ink); }
.card > h2:first-child, .card > h3:first-child, form.card > input + h2 { margin-top: 0; }
.narrow { max-width: 480px; }
.job-form { max-width: 860px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }
.grid input, .grid select, .narrow input { width: 100%; min-width: 0; }
.address { position: relative; }
.address ul { list-style: none; margin: -.75rem 0 1rem; padding: 0; border-radius: var(--radius-sm); overflow: hidden; }
.address li:not(:has(button)) { padding: .5rem .25rem; }
.address li button { width: 100%; justify-content: flex-start; border-radius: 0; white-space: normal; text-align: left; font-weight: 500; }

.toasts { position: sticky; top: .5rem; z-index: 5; }
.toasts a.flash { box-shadow: var(--shadow-lg); margin-bottom: .6rem; }
.legal { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.legal .bullet { padding-left: 1rem; }

@media (max-width: 960px) {
    .shell { flex-direction: column; }
    .side {
        width: 100%; height: auto; position: sticky; top: 0; z-index: 10; flex-direction: row; flex-wrap: nowrap; align-items: center;
        overflow-x: auto; padding: .5rem .75rem; gap: .25rem; border-right: none; border-bottom: 1px solid var(--line);
    }
    .side-brand { padding: 0 .5rem 0 0; }
    .side-brand .logo-text { display: none; }
    .nav-group { flex-direction: row; margin: 0; }
    .nav-label { display: none; }
    .side a:not(.side-brand) { white-space: nowrap; padding: .45rem .65rem; }
    .who { margin: 0 0 0 auto; border: none; padding: 0; background: none; }
    .who-text { display: none; }
    .content { padding: 1.5rem 1.25rem 3rem; }
    .auth { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-mobile-logo { display: block; }
    .auth-panel { place-items: start center; padding: 2.5rem 1.5rem; }
    .inline input:not([type=radio]):not([type=checkbox]), .decide-row input, .filters input:not([type=checkbox]) { min-width: 0; width: 100%; }
    table { display: block; overflow-x: auto; }
    .tiles:has(> div.tile) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
