/* KOBİ21 tasarım sistemi — kendine özgü, sade, mobil öncelikli. */

:root {
    --k21-ink: #0F172A;
    --k21-ink-soft: #334155;
    --k21-muted: #64748B;
    --k21-border: #E2E8F0;
    --k21-bg: #F8FAFC;
    --k21-surface: #FFFFFF;
    --k21-primary: #4F46E5;
    --k21-primary-dark: #4338CA;
    --k21-accent: #0EA5A3;
    --k21-success: #16A34A;
    --k21-warning: #D97706;
    --k21-danger: #DC2626;
    --k21-radius: 14px;
    --k21-radius-sm: 8px;
    --k21-shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
    --k21-max-width: 1100px;
    --k21-ink-2: #1E1B4B;
    --k21-glow: #818CF8;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--k21-bg);
    color: var(--k21-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body { font-size: 16px; line-height: 1.55; }

a { color: var(--k21-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--k21-ink); line-height: 1.25; margin: 0 0 12px; }
h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 12px; color: var(--k21-ink-soft); }

.container { max-width: var(--k21-max-width); margin: 0 auto; padding: 0 16px; }

/* ---- Header / Footer ---- */

.site-header { background: var(--k21-ink); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.site-header__logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: .3px; }
.site-header__logo-icon { display: block; border-radius: 6px; }
.site-header__logo-accent { color: #F59E0B; }
.site-header__nav { display: none; gap: 20px; margin-left: auto; }
.site-header__nav a { color: #CBD5E1; font-weight: 500; font-size: .92rem; }
.site-header__nav a:hover { color: #fff; text-decoration: none; }
.site-header__cta { margin-left: auto; }
@media (min-width: 860px) {
    .site-header__nav { display: flex; }
    .site-header__cta { margin-left: 0; }
}

.site-footer { border-top: 1px solid var(--k21-border); margin-top: 48px; padding: 24px 0 80px; }
.site-footer__inner { display: flex; flex-direction: column; gap: 8px; color: var(--k21-muted); font-size: .85rem; }
.site-footer__nav { display: flex; gap: 16px; }
@media (min-width: 640px) {
    .site-footer__inner { flex-direction: row; justify-content: space-between; }
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; border-radius: var(--k21-radius-sm); cursor: pointer;
    font-weight: 600; font-size: .95rem; padding: 12px 20px; text-decoration: none;
    transition: transform .05s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--k21-primary); color: #fff; }
.btn--primary:hover { background: var(--k21-primary-dark); }
.btn--outline { background: transparent; color: var(--k21-ink); border: 1px solid var(--k21-border); }
.btn--danger { background: var(--k21-danger); color: #fff; }
.btn--ghost { background: transparent; color: var(--k21-primary); padding: 8px 10px; }
.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---- Cards / Layout ---- */

.card {
    background: var(--k21-surface); border: 1px solid var(--k21-border);
    border-radius: var(--k21-radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--k21-shadow);
}

.hero {
    background: linear-gradient(135deg, var(--k21-ink) 0%, #1E1B4B 100%);
    color: #fff; padding: 56px 0 64px;
}
.hero h1 { color: #fff; max-width: 620px; }
.hero p { color: #CBD5E1; max-width: 560px; font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero__actions .btn--outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }

.section { padding: 40px 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }

/* ---- Forms ---- */

label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--k21-ink); }
.field { margin-bottom: 16px; }
.field__hint { color: var(--k21-muted); font-size: .8rem; margin-top: 4px; }
.field__error { color: var(--k21-danger); font-size: .82rem; margin-top: 4px; }

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input[type=url], select, textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--k21-border); border-radius: var(--k21-radius-sm);
    font-size: 1rem; font-family: inherit; background: #fff; color: var(--k21-ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--k21-primary); outline-offset: 1px; }
textarea { resize: vertical; min-height: 100px; }

.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row label { margin: 0; font-weight: 500; }

.form-row { display: grid; gap: 12px; }
@media (min-width: 640px) {
    .form-row--2 { grid-template-columns: 1fr 1fr; }
    .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.alert { padding: 12px 16px; border-radius: var(--k21-radius-sm); margin-bottom: 16px; font-size: .92rem; }
.alert--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert--success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert--info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ---- Badges / status ---- */

.badge {
    display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
    font-size: .74rem; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
}
.badge--rent { background: #E0E7FF; color: #3730A3; }
.badge--buy { background: #DCFCE7; color: #166534; }
.badge--muted { background: #F1F5F9; color: #475569; }
.badge--pending { background: #FEF3C7; color: #92400E; }

/* ---- Need cards ---- */

.need-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .need-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .need-grid { grid-template-columns: 1fr 1fr 1fr; } }

.need-card { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.need-card h3 { margin: 4px 0 0; }
.need-card__meta { color: var(--k21-muted); font-size: .88rem; }
.need-card__budget { font-weight: 700; color: var(--k21-ink); }
.need-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--k21-muted); font-size: .82rem; padding-top: 8px; border-top: 1px solid var(--k21-border); }

/* ---- Need detail ---- */

.breadcrumb { color: var(--k21-muted); font-size: .85rem; margin: 20px 0 8px; }
.need-detail { padding-bottom: 60px; }
.need-detail__header h1 { margin: 8px 0; }
.need-detail__meta { font-weight: 600; }
.need-detail__submeta { font-size: .85rem; color: var(--k21-muted); }
.need-detail__cta { text-align: center; }

.criteria-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.criteria-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--k21-border); }
.criteria-list__importance { font-size: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.criteria-list__importance--required { background: #FEE2E2; color: #991B1B; }
.criteria-list__importance--preferred { background: #E0E7FF; color: #3730A3; }
.criteria-list__importance--any { background: #F1F5F9; color: #475569; }

.offer-card { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--k21-border); font-size: .92rem; }
.offer-card:last-child { border-bottom: none; }

.match-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: .88rem; }
.match--match { color: var(--k21-success); }
.match--mismatch { color: var(--k21-danger); }
.match--unknown { color: var(--k21-muted); }

.qa-item { padding: 10px 0; border-bottom: 1px solid var(--k21-border); font-size: .92rem; }
.qa-item__answer { color: var(--k21-ink-soft); margin-left: 12px; }

/* ---- Wizard ---- */

.wizard-steps { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.wizard-steps__dot {
    flex: 1; min-width: 20px; height: 4px; border-radius: 2px; background: var(--k21-border);
}
.wizard-steps__dot.is-active, .wizard-steps__dot.is-done { background: var(--k21-primary); }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; }

.option-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.option-card {
    border: 1.5px solid var(--k21-border); border-radius: var(--k21-radius-sm); padding: 14px;
    cursor: pointer; text-align: center; font-weight: 600; background: #fff;
}
.option-card.is-selected { border-color: var(--k21-primary); background: #EEF2FF; color: var(--k21-primary-dark); }

/* ---- Dashboard ---- */

.dashboard-layout { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dashboard-layout { grid-template-columns: 220px 1fr; } }
.dashboard-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 8px; }
@media (min-width: 900px) { .dashboard-nav { flex-direction: column; overflow: visible; } }
.dashboard-nav a {
    padding: 10px 14px; border-radius: var(--k21-radius-sm); color: var(--k21-ink-soft); font-weight: 600;
    white-space: nowrap; font-size: .9rem;
}
.dashboard-nav a.is-active, .dashboard-nav a:hover { background: #EEF2FF; color: var(--k21-primary-dark); text-decoration: none; }

.list-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--k21-border); }
.list-row:last-child { border-bottom: none; }
.list-row__title { font-weight: 600; flex: 1 1 220px; }

.stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--k21-border); border-radius: var(--k21-radius); padding: 16px; }
.stat-card__value { font-size: 1.6rem; font-weight: 800; color: var(--k21-ink); }
.stat-card__label { color: var(--k21-muted); font-size: .82rem; }

.message-bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px; margin-bottom: 8px; font-size: .92rem; }
.message-bubble--mine { background: var(--k21-primary); color: #fff; margin-left: auto; }
.message-bubble--theirs { background: #F1F5F9; color: var(--k21-ink); }

.skeleton { color: var(--k21-muted); font-size: .9rem; padding: 24px 0; text-align: center; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.admin-table th, table.admin-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--k21-border); }

/* =====================================================================
   Ana sayfa — hero, hızlı talep kartları, süreç adımları, footer
   ===================================================================== */

.container--wide { max-width: 1280px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---- Header v2 ---- */

.site-header--v2 { background: linear-gradient(120deg, var(--k21-ink) 0%, var(--k21-ink-2) 100%); }
.site-header--v2 .site-header__nav a { color: #C7D2FE; }
.site-header--v2 .site-header__nav a:hover { color: #fff; }
.site-header--v2 .btn--primary { background: var(--k21-primary); box-shadow: 0 4px 14px rgba(79,70,229,.45); }
.site-header--v2 .btn--outline { color: #fff; border-color: rgba(255,255,255,.35); }
.site-header--v2 .btn--outline:hover { background: rgba(255,255,255,.08); }
.admin-badge {
    background: #F59E0B; color: #451A03; font-size: .68rem; font-weight: 800; letter-spacing: .4px;
    text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 10px;
}

/* ---- Hero v2 ---- */

.hero-v2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--k21-ink) 0%, var(--k21-ink-2) 55%, #2A2470 100%);
    color: #fff;
    padding: 56px 0 72px;
}
.hero-v2__glow {
    position: absolute; top: -120px; right: -80px; width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(129,140,248,.35) 0%, rgba(129,140,248,0) 70%);
    pointer-events: none;
}
.hero-v2__grid { display: grid; gap: 32px; align-items: center; position: relative; z-index: 1; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-v2__grid { grid-template-columns: 1.1fr .9fr; } }

.hero-v2__eyebrow {
    display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15); color: #C7D2FE; font-size: .78rem; font-weight: 700;
    padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; letter-spacing: .3px;
}
.hero-v2 h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); font-weight: 800; letter-spacing: -.5px; color: #fff; margin-bottom: 16px; }
.hero-v2 h1 .accent {
    background: linear-gradient(90deg, var(--k21-glow), #C4B5FD);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-v2 p.lead { color: #CBD5E1; font-size: 1.1rem; max-width: 540px; margin-bottom: 24px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 8px; }
.trust-badge { display: flex; align-items: center; gap: 10px; max-width: 200px; }
.trust-badge__icon {
    flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center; color: var(--k21-glow);
}
.trust-badge__title { font-weight: 700; font-size: .88rem; color: #fff; }
.trust-badge__sub { font-size: .78rem; color: #94A3B8; }

.hero-v2__art { position: relative; height: 280px; display: none; }
@media (min-width: 960px) { .hero-v2__art { display: block; } }
.hero-v2__tagline {
    position: absolute; top: 8px; right: 8px; font-family: Georgia, serif; font-style: italic;
    color: #E9D5FF; font-size: 1.05rem; line-height: 1.4; text-align: right; max-width: 220px;
    transform: rotate(-2deg);
}

/* ---- Hızlı talep kartları ---- */

.quick-section { margin-top: -40px; position: relative; z-index: 2; }
.quick-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .quick-grid { grid-template-columns: 1fr 1fr; } }

.quick-card { background: #fff; border-radius: var(--k21-radius); padding: 24px; box-shadow: 0 20px 40px -12px rgba(15,23,42,.18); border: 1px solid var(--k21-border); }
.quick-card__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.quick-card__icon {
    flex: none; width: 44px; height: 44px; border-radius: 12px; background: #EEF2FF; color: var(--k21-primary);
    display: flex; align-items: center; justify-content: center;
}
.quick-card__head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.quick-card__head p { margin: 0; font-size: .85rem; }
.quick-card .form-row--2 { margin-bottom: 12px; }
.quick-card label { font-size: .78rem; }
.quick-card .radio-pair { display: flex; gap: 16px; align-items: center; height: 100%; }
.quick-card .radio-pair label { font-weight: 500; display: flex; align-items: center; gap: 6px; margin: 0; }

/* ---- Serbest metin ihtiyaç kutusu ---- */

.freeform-card { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .freeform-card { grid-template-columns: 1fr 1.2fr; } }
.freeform-card__icon {
    width: 48px; height: 48px; border-radius: 12px; background: #EEF2FF; color: var(--k21-primary);
    display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.freeform-card textarea { min-height: 90px; }
.freeform-card__actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 12px; }
.freeform-card__count { color: var(--k21-muted); font-size: .78rem; }

/* ---- Nasıl Çalışır adımları ---- */

.steps-v2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps-v2 { grid-template-columns: repeat(4, 1fr); } }
.step-v2 { text-align: left; position: relative; }
.step-v2__icon {
    width: 52px; height: 52px; border-radius: 50%; background: #EEF2FF; color: var(--k21-primary);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-weight: 800;
}
.step-v2__title { font-weight: 700; margin-bottom: 4px; }
.step-v2__desc { color: var(--k21-muted); font-size: .88rem; margin: 0; }
.step-v2__arrow { display: none; position: absolute; top: 24px; right: -32px; color: var(--k21-border); }
@media (min-width: 860px) { .step-v2:not(:last-child) .step-v2__arrow { display: block; } }

/* ---- Aktif ihtiyaç kartları (fotoğrafsız, ikon üstlü) ---- */

.need-card--v2 { padding: 0; overflow: hidden; }
.need-card--v2__top {
    height: 92px; display: flex; align-items: center; justify-content: center; position: relative;
    background: linear-gradient(135deg, var(--k21-ink) 0%, var(--k21-primary) 130%); color: #fff;
}
.need-card--v2__top .badge { position: absolute; top: 10px; left: 10px; }
.need-card--v2__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }

/* ---- Footer v2 ---- */

.site-footer--v2 { background: var(--k21-ink); color: #94A3B8; margin-top: 0; padding: 48px 0 24px; }
.site-footer--v2 .site-header__logo { color: #fff; }

/* ---- Kimlik doğrulama (giriş/üye ol) split ekranı ---- */

.auth-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 960px) { .auth-shell { grid-template-columns: 1fr 1fr; } }
.auth-shell__brand {
    background: linear-gradient(135deg, var(--k21-ink) 0%, var(--k21-ink-2) 55%, #2A2470 100%);
    color: #fff; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center;
}
.auth-shell__brand h1 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.3rem); margin: 20px 0 12px; }
.auth-shell__brand .accent { background: linear-gradient(90deg, var(--k21-glow), #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-shell__brand .lead { color: #CBD5E1; max-width: 380px; }
.auth-shell__points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.auth-shell__points li { color: #E2E8F0; font-size: .92rem; padding-left: 26px; position: relative; }
.auth-shell__points li::before {
    content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(129,140,248,.25); color: var(--k21-glow); font-size: .7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.auth-shell__form { display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--k21-bg); }
.footer-v2__grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 720px) { .footer-v2__grid { grid-template-columns: 1.4fr 1fr; } }
.footer-v2__tagline { max-width: 340px; color: #94A3B8; font-size: .9rem; }
.footer-v2__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-v2__links a { color: #CBD5E1; font-size: .88rem; }
.footer-v2__links a:hover { color: #fff; }
.footer-v2__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; font-size: .8rem; color: #64748B; }

/* Hesap ve yönetim ekranları */
.admin-shortcut { flex-shrink: 0; margin-left: 8px; }
@media (max-width: 859px) {
    .site-header__inner:has(.admin-shortcut) { flex-wrap: wrap; height: auto; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
    .admin-shortcut { margin-left: 0; }
}
:focus-visible { outline: 3px solid var(--k21-primary); outline-offset: 4px; }
.eyebrow { color: var(--k21-primary); font-size: .72rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 12px; }
.auth-page .auth-shell__brand { padding: clamp(28px, 6vw, 88px); position: relative; overflow: hidden; }
.auth-page .auth-shell__brand::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid #ffffff12; border-radius: 50%; right: -160px; bottom: -100px; box-shadow: 0 0 0 60px #ffffff04, 0 0 0 120px #ffffff03; pointer-events: none; }
.auth-page .auth-shell__brand h1 { letter-spacing: -.045em; font-size: clamp(2rem, 3.4vw, 3.5rem); margin-top: 44px; }
.auth-card { width: 100%; max-width: 460px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; box-shadow: 0 16px 60px #0f172a09; }
.auth-card h2, .auth-card h1 { font-size: 1.8rem; letter-spacing: -.04em; }
.auth-intro { font-size: .9rem; color: var(--k21-muted); margin-bottom: 28px; }
.auth-tabs { display: flex; gap: 4px; padding: 5px; background: #f1f5f9; border-radius: 12px; margin-bottom: 26px; }
.auth-tabs .btn { border: 0; font-size: .86rem; padding: 10px; }
.auth-tabs .btn--primary { background: white; color: var(--k21-primary); box-shadow: 0 2px 6px #0f172a12; }
.auth-tabs .btn--outline { color: var(--k21-muted); }
.auth-legal { font-size: .76rem; color: var(--k21-muted); text-align: center; margin: 18px 0 0; }
.password-field { position: relative; }
.password-field input { padding-right: 80px; }
.password-field button { position: absolute; right: 5px; top: 5px; bottom: 5px; background: transparent; color: var(--k21-primary); border: 0; border-radius: 6px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; padding: 0 10px; }
.admin-login-page { background: radial-gradient(ellipse at top, #e0e7ff, #f8fafc 65%); }
.login-brand { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; color: var(--k21-ink); font-weight: 800; margin-bottom: 36px; }
.login-brand span { color: #b45309; }
.admin-page .container { max-width: 1280px; }
.admin-page main.container { padding: 36px 24px 64px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.admin-heading h1 { letter-spacing: -.04em; }
.admin-heading p:last-child { margin: 0; color: var(--k21-muted); font-size: .92rem; }
.admin-page #stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-page .stat-card { padding: 22px; border-radius: 16px; }
.admin-page #stats .stat-card:first-child { background: #eef2ff; border-color: #c7d2fe; }
.admin-page .stat-card__value { font-size: 2rem; margin-top: 12px; font-variant-numeric: tabular-nums; }
.admin-metrics { margin: -8px 0 24px; }
.admin-metrics summary { color: var(--k21-muted); cursor: pointer; font-size: .85rem; padding: 8px 0; }
.admin-metrics .stat-grid { margin-top: 12px; }
.admin-page .dashboard-nav { background: white; border: 1px solid var(--k21-border); border-radius: 14px; padding: 10px; align-self: start; }
.admin-page .dashboard-layout { align-items: start; }
.admin-page #admin-content { min-width: 0; min-height: 280px; padding: 28px; box-shadow: none; }
.admin-page .list-row { padding: 18px 0; }
.admin-page .list-row select { width: auto; min-width: 140px; }
.admin-page .checkbox-row { cursor: pointer; }
.admin-page input[type=checkbox] { accent-color: var(--k21-primary); width: 18px; height: 18px; }
.table-scroll { overflow-x: auto; }
.admin-table th { color: var(--k21-muted); font-size: .76rem; background: #f8fafc; }
.admin-table td { overflow-wrap: anywhere; }
.admin-table td:last-child { white-space: nowrap; }
.admin-search { margin: 20px 0 8px; }
.admin-search > div { display: flex; gap: 8px; }
.admin-search input { min-width: 0; width: 100%; border: 1px solid var(--k21-border); border-radius: 8px; padding: 10px 12px; font: inherit; }
.empty-state { padding: 32px 12px; text-align: center; color: var(--k21-muted); }
@media (min-width: 960px) { .auth-page .auth-shell { grid-template-columns: 1fr 1.1fr; } }
@media (max-width: 959px) {
    .auth-page .auth-shell { min-height: 100svh; align-content: start; }
    .auth-page .auth-shell__brand { padding: 24px; }
    .auth-page .auth-shell__brand h1 { font-size: 1.55rem; margin: 20px 0 0; }
    .auth-page .auth-shell__brand h1 br { display: none; }
    .auth-page .auth-shell__brand .lead, .auth-page .auth-shell__points { display: none; }
    .auth-page .auth-shell__form { padding: 24px 16px; }
}
@media (max-width: 859px) {
    .admin-page .site-header__inner { height: auto; min-height: 64px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; gap: 12px; }
    .admin-page .site-header__nav { display: flex; flex-wrap: wrap; width: 100%; margin-left: 0; gap: 20px; }
    .admin-page .site-header__nav a { padding: 8px 0; }
}
@media (max-width: 600px) {
    .admin-page main.container { padding: 24px 16px; }
    .admin-page #stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-page .stat-card { padding: 16px; }
    .admin-heading { align-items: flex-start; flex-direction: column; }
    .admin-page #admin-content { padding: 18px; }
    .admin-page .card > div[style] { flex-wrap: wrap; gap: 16px; }
    .admin-page .dashboard-nav { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
