/* ============================================================
   TeklifTakip Tasarım Sistemi
   Design token temelli, framework'süz modern CSS.
   Bölümler: 1 Tokens · 2 Base · 3 Layout · 4 Nav · 5 Buttons
   6 Forms · 7 Tables · 8 Badges · 9 Cards · 10 Widgets
   11 Modal · 12 Public portal · 13 Account · 14 Skeleton/Anim
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
    /* Marka + nötr palet (hesap deneyimiyle ortak koyu yeşil sistem) */
    --brand-600: oklch(0.47 0.1 171);
    --brand-700: oklch(0.38 0.08 172);
    --brand-50: oklch(0.97 0.018 163);
    --brand-100: oklch(0.92 0.04 163);

    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-sunken: #f1f5f9;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;

    /* Erişilebilir aksiyon renkleri (beyaz metinle >= 4.5:1) */
    --accept: #047857;
    --accept-hover: #065f46;
    --accept-soft: #ecfdf5;
    --reject: #b91c1c;
    --reject-hover: #991b1b;
    --reject-soft: #fef2f2;
    --revise: #b45309;
    --revise-hover: #92400e;
    --revise-soft: #fffbeb;
    --info-soft: #eff6ff;
    --info-text: #1d4ed8;

    /* Gölge ölçeği (soft shadows) */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.14), 0 4px 8px rgba(15, 23, 42, 0.06);
    --shadow-brand: 0 4px 14px rgba(79, 70, 229, 0.28);

    /* Radius ölçeği */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;

    /* Tipografi */
    --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* Hareket */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --speed: 180ms;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink-900);
    background-color: var(--surface-alt);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--ink-900);
}

h1 { font-size: 1.45rem; font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: 1.05rem; font-weight: 650; margin: 1.75rem 0 0.75rem; }
h3 { font-size: 0.95rem; font-weight: 600; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--brand-700); }

.error { color: var(--reject); font-size: 0.9rem; }
.success { color: var(--accept); font-size: 0.9rem; }
.note { color: var(--ink-500); font-size: 0.88rem; }

/* Görsel hiyerarşi: bölüm başlığı üstü küçük etiket */
.eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: 0.15rem;
}

/* ---------- 3. Uygulama iskeleti ---------- */
.page { display: flex; min-height: 100vh; }

.sidebar {
    width: 232px;
    flex-shrink: 0;
    background:
        radial-gradient(circle at 20% 2%, oklch(0.43 0.085 168 / 0.34), transparent 18rem),
        linear-gradient(180deg, oklch(0.205 0.039 171) 0%, oklch(0.16 0.026 174) 100%);
    color: oklch(0.9 0.018 167);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 50;
}

.sidebar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
    padding: 1.1rem 1.15rem 0.9rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: oklch(0.92 0.045 161 / 0.11);
    color: oklch(0.96 0.02 163);
    font-size: 0.85rem;
    font-weight: 800;
    border: 1px solid oklch(1 0 0 / 0.13);
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.1), 0 0.6rem 1.5rem oklch(0.08 0.02 175 / 0.16);
}
.brand-mark svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }

.top-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1.5rem;
    background-color: oklch(0.985 0.008 92 / 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 40;
    font-size: 0.9rem;
    color: var(--ink-700);
}

.content {
    padding: 1.5rem 1.75rem 3rem;
    animation: fade-in-up 260ms var(--ease);
    max-width: 1440px;
    width: 100%;
}

.nav-link-button {
    background: none;
    border: none;
    color: var(--brand-600);
    cursor: pointer;
    padding: 0;
    font: inherit;
    font-weight: 550;
    transition: color var(--speed) var(--ease);
}
.nav-link-button:hover { color: var(--brand-700); }

.top-actions { display: flex; align-items: center; gap: 0.9rem; }
.top-user { font-weight: 550; color: var(--ink-700); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .top-user { display: none; } }

/* Mobil hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.55rem;
    cursor: pointer;
    color: var(--ink-700);
    font-size: 1rem;
    line-height: 1;
}
.menu-toggle svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }

/* ---------- 4. Navigasyon ---------- */
.sidebar nav { padding: 0.25rem 0.6rem 1.25rem; flex-grow: 1; }

.nav-section {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: oklch(0.58 0.025 170);
    padding: 1rem 0.6rem 0.35rem;
}

.nav-item { padding: 0.1rem 0; }

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: oklch(0.72 0.025 168);
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color var(--speed) var(--ease),
                color var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.sidebar .nav-link svg { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.85; }

.sidebar .nav-link:hover {
    color: oklch(0.96 0.015 165);
    background-color: oklch(0.9 0.04 165 / 0.1);
    transform: translateX(2px);
}

.sidebar .nav-link.active {
    color: oklch(0.98 0.01 165);
    background: linear-gradient(90deg, oklch(0.57 0.11 168 / 0.34), oklch(0.57 0.11 168 / 0.1));
    box-shadow: inset 2px 0 0 var(--brand-600);
}

/* ---------- 5. Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: var(--brand-600);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.52rem 1.05rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.3;
    box-shadow: var(--shadow-xs);
    transition: background-color var(--speed) var(--ease),
                transform var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.btn:hover { background-color: var(--brand-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn.secondary {
    background-color: var(--surface);
    color: var(--ink-700);
    border: 1px solid var(--border-strong);
}
.btn.secondary:hover { background-color: var(--surface-sunken); color: var(--ink-900); }

.btn.danger { background-color: var(--reject); }
.btn.danger:hover { background-color: var(--reject-hover); }

.btn.small { padding: 0.3rem 0.7rem; font-size: 0.8rem; }

/* Dönüşüm odaklı public aksiyonları (WCAG AA kontrast) */
.btn.accept { background-color: var(--accept); }
.btn.accept:hover { background-color: var(--accept-hover); }
.btn.revise { background-color: var(--revise); }
.btn.revise:hover { background-color: var(--revise-hover); }

.actions-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }

/* ---------- 6. Formlar ---------- */
input, select, textarea {
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink-900);
    background-color: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.65rem;
    transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

textarea { min-height: 74px; resize: vertical; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem 1.1rem;
    max-width: 920px;
    margin-bottom: 1rem;
}

.form-grid label, .settings-form label, .decision-panel label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--ink-700);
}

.form-grid input, .form-grid select, .form-grid textarea,
.settings-form input, .settings-form textarea,
.decision-panel input, .decision-panel select, .decision-panel textarea {
    width: 100%;
}

.form-grid .full-width { grid-column: 1 / -1; }

.settings-form { max-width: 520px; }
.settings-form div { margin-bottom: 0.9rem; }

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}
.toolbar input, .toolbar select { padding: 0.45rem 0.6rem; }
.toolbar input[type="text"], .toolbar input:not([type]) { min-width: 240px; }
.toolbar label { font-size: 0.82rem; font-weight: 600; color: var(--ink-500); }

/* ---------- 7. Tablolar ---------- */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    font-size: 0.9rem;
}

.data-table th {
    text-align: left;
    padding: 0.6rem 0.8rem;
    background-color: var(--surface-sunken);
    color: var(--ink-500);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid var(--surface-sunken);
    vertical-align: top;
}

.data-table tbody tr { transition: background-color var(--speed) var(--ease); }
.data-table tbody tr:hover td { background-color: var(--brand-50); }
.data-table tbody tr:last-child td { border-bottom: none; }

.items-table input, .items-table select { width: 100%; padding: 0.35rem 0.45rem; }
.items-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Dar ekranda tablolar yatay kayar */
@media (max-width: 760px) {
    .data-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- 8. Rozetler ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: var(--radius-full);
    padding: 0.14rem 0.6rem;
    font-size: 0.74rem;
    font-weight: 600;
    background-color: var(--surface-sunken);
    color: var(--ink-700);
    white-space: nowrap;
    vertical-align: middle;
}

.badge.draft { background-color: var(--surface-sunken); color: var(--ink-700); }
.badge.info { background-color: var(--info-soft); color: var(--info-text); }
.badge.warning { background-color: var(--revise-soft); color: var(--revise); }
.badge.success { background-color: var(--accept-soft); color: var(--accept); }
.badge.danger { background-color: var(--reject-soft); color: var(--reject); }
.badge.muted { background-color: var(--surface-sunken); color: var(--ink-500); }

/* ---------- 9. Kartlar ---------- */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 0.85rem;
    margin: 1rem 0 1.5rem;
}

.metric-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.05rem;
    box-shadow: var(--shadow-xs);
    transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.metric-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.metric-card .metric-label {
    color: var(--ink-500);
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.metric-card .metric-value {
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    margin-top: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.metric-card .metric-sub { color: var(--ink-500); font-size: 0.78rem; margin-top: 0.1rem; }

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.action-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.05rem;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--speed) var(--ease);
}

.action-card:hover { box-shadow: var(--shadow-md); }
.action-card h3 { margin: 0 0 0.5rem; font-size: 0.9rem; }
.action-card ul { list-style: none; margin: 0; padding: 0; }
.action-card li { padding: 0.32rem 0; border-bottom: 1px solid var(--surface-sunken); font-size: 0.87rem; }
.action-card li:last-child { border-bottom: none; }
.action-card .empty { color: var(--ink-400); font-size: 0.84rem; margin: 0.25rem 0; }

/* Abonelik plan kartları */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}

.plan-card {
    position: relative;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.15rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: var(--shadow-xs);
    transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-card.featured { border-color: var(--brand-600); box-shadow: 0 4px 20px rgba(79, 70, 229, 0.16); }
.plan-card.current { border-color: var(--accept); background-color: var(--accept-soft); }

.plan-flag {
    position: absolute;
    top: -11px;
    left: 14px;
    background: linear-gradient(90deg, var(--brand-600), #7c3aed);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.18rem 0.65rem;
    box-shadow: var(--shadow-sm);
}

.plan-flag.current-flag { left: auto; right: 14px; background: var(--accept); }
.plan-card h3 { margin: 0.2rem 0 0; font-size: 1.02rem; }
.plan-price { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; }
.plan-price-period { font-size: 0.82rem; font-weight: 450; color: var(--ink-500); }
.plan-features { list-style: none; margin: 0 0 0.8rem; padding: 0; flex-grow: 1; }
.plan-features li { padding: 0.28rem 0; border-bottom: 1px solid var(--surface-sunken); font-size: 0.86rem; }

/* ---------- 10. Widget'lar ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem 1.4rem;
    margin-bottom: 1.4rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-xs);
}

.detail-grid dt { font-weight: 650; color: var(--ink-500); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; }
.detail-grid dd { margin: 0.15rem 0 0; font-size: 0.92rem; }

.totals-box {
    max-width: 320px;
    margin-left: auto;
    margin-top: 1rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-xs);
    font-variant-numeric: tabular-nums;
}

.totals-box div { display: flex; justify-content: space-between; padding: 0.22rem 0; font-size: 0.9rem; }
.totals-box .grand { font-weight: 750; font-size: 1.08rem; border-top: 1px solid var(--border); margin-top: 0.35rem; padding-top: 0.5rem; }

.warning-box {
    background-color: var(--revise-soft);
    border: 1px solid #fde68a;
    border-left: 4px solid var(--revise);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    color: var(--revise);
    font-size: 0.9rem;
    animation: fade-in-up 220ms var(--ease);
}

.share-link-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    background-color: var(--info-soft);
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--brand-600);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    animation: fade-in-up 220ms var(--ease);
}

.share-link-box code {
    word-break: break-all;
    font-size: 0.82rem;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
}

.timeline { list-style: none; margin: 0; padding: 0; }

.timeline li {
    display: flex;
    gap: 0.85rem;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--surface-sunken);
    border-radius: var(--radius-sm);
    transition: background-color var(--speed) var(--ease);
    font-size: 0.9rem;
}

.timeline li:hover { background-color: var(--surface-sunken); }
.timeline li.unread { background-color: var(--brand-50); }
.timeline .when { color: var(--ink-400); font-size: 0.8rem; white-space: nowrap; min-width: 112px; font-variant-numeric: tabular-nums; padding-top: 0.1rem; }

/* Huni */
.funnel { max-width: 660px; margin-bottom: 1.5rem; }

.funnel-row { display: flex; align-items: center; gap: 0.65rem; margin: 0.35rem 0; }
.funnel-row .funnel-label { width: 150px; font-size: 0.84rem; color: var(--ink-700); text-align: right; flex-shrink: 0; }

.funnel-row .funnel-bar {
    height: 20px;
    background: linear-gradient(90deg, var(--brand-600), #6366f1);
    border-radius: 5px;
    min-width: 2px;
    transform-origin: left;
    animation: grow-bar 500ms var(--ease);
}

.funnel-row.success .funnel-bar { background: linear-gradient(90deg, var(--accept), #10b981); }
.funnel-row.danger .funnel-bar { background: linear-gradient(90deg, var(--reject), #ef4444); }
.funnel-row.muted .funnel-bar { background: linear-gradient(90deg, var(--ink-400), var(--border-strong)); }
.funnel-row .funnel-count { font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Kota çubuğu */
.quota-bar { height: 8px; background-color: var(--surface-sunken); border-radius: var(--radius-full); margin-top: 0.55rem; overflow: hidden; }
.quota-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand-600), #6366f1); border-radius: var(--radius-full); transition: width 400ms var(--ease); }
.quota-bar-fill.warn { background: var(--revise); }
.quota-bar-fill.full { background: var(--reject); }

/* Bildirim zili */
.bell-link { position: relative; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; text-decoration: none; padding: 0; border-radius: 0.75rem; color: var(--ink-500); transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease); }
.bell-link:hover { background-color: var(--surface-sunken); }
.bell-link:active { transform: scale(0.96); }
.bell-link svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.bell-count {
    position: absolute;
    top: -3px;
    right: -6px;
    background-color: var(--reject);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.62rem;
    padding: 0.06rem 0.34rem;
    font-weight: 700;
    animation: pop-in 260ms var(--ease);
}

/* ---------- 11. Checkout modal ---------- */
.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(3px);
    display: grid;
    place-items: center;
    padding: 1rem;
    animation: fade-in 180ms var(--ease);
}

.checkout-dialog {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    width: min(440px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: pop-in 240ms var(--ease);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.6rem 0.7rem 1.05rem;
    border-bottom: 1px solid var(--border);
    font-weight: 650;
    font-size: 0.92rem;
}

.checkout-close {
    border: none;
    background: transparent;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink-500);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.checkout-close:hover { background-color: var(--surface-sunken); color: var(--ink-900); }
.checkout-frame { border: 0; width: 100%; height: min(720px, calc(100vh - 10rem)); background-color: #fff; }
.checkout-footer { padding: 0.55rem 1.05rem 0.8rem; border-top: 1px solid var(--surface-sunken); }

/* ---------- 12. Public müşteri portalı (mobile-first) ---------- */
.public-shell {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(1000px 400px at 85% -10%, rgba(79, 70, 229, 0.10), transparent 60%),
        linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
    padding: 0.75rem;
    padding-bottom: 3rem;
}

.public-card {
    max-width: 860px;
    margin: 0 auto;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.15rem;
    animation: fade-in-up 300ms var(--ease);
}

.public-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
}

.public-business { display: flex; align-items: center; gap: 0.65rem; }

.business-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--brand-600), #7c3aed);
    color: #fff;
    font-weight: 750;
    font-size: 1.05rem;
    box-shadow: var(--shadow-brand);
    flex-shrink: 0;
}

.public-business .business { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.public-business .business-sub { font-size: 0.76rem; color: var(--ink-500); }

.public-ref {
    font-size: 0.78rem;
    color: var(--ink-500);
    background-color: var(--surface-sunken);
    border-radius: var(--radius-full);
    padding: 0.28rem 0.75rem;
    font-variant-numeric: tabular-nums;
}

.public-card h1 { font-size: 1.25rem; margin: 0.25rem 0 0.75rem; }

.public-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.6rem;
    margin: 1rem 0;
}

.public-meta > div {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.8rem;
}

.public-meta dt { font-size: 0.7rem; color: var(--ink-500); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.public-meta dd { margin: 0.15rem 0 0; font-size: 0.95rem; font-weight: 600; }

.public-total-card {
    background: linear-gradient(135deg, var(--brand-50), #f5f3ff) !important;
    border-color: var(--brand-100) !important;
}

.public-total { font-size: 1.3rem !important; font-weight: 800 !important; letter-spacing: -0.02em; color: var(--brand-700); font-variant-numeric: tabular-nums; }

.public-pdf {
    width: 100%;
    height: 62vh;
    min-height: 320px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin: 0.5rem 0 0.75rem;
    background-color: var(--surface-sunken);
}

.decision-heading { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; }

.decision-buttons { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.9rem 0 0.5rem; }
.decision-buttons .btn { flex: 1 1 150px; text-align: center; padding: 0.7rem 1rem; font-size: 0.92rem; border-radius: var(--radius-md); }

.decision-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.05rem;
    margin-top: 0.9rem;
    background-color: var(--surface-alt);
    box-shadow: var(--shadow-xs);
    animation: fade-in-up 220ms var(--ease);
}

.decision-panel h3 { margin: 0 0 0.6rem; font-size: 1rem; }
.decision-panel label { margin-top: 0.7rem; }
.decision-panel .checkbox-row { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.8rem 0; }
.decision-panel .checkbox-row input { width: auto; margin-top: 0.2rem; accent-color: var(--accept); }
.decision-panel .checkbox-row label { margin: 0; font-weight: 450; font-size: 0.9rem; color: var(--ink-900); }

.public-result { text-align: center; padding: 2.5rem 1.25rem; }
.public-result .icon { font-size: 3rem; animation: pop-in 420ms var(--ease); display: inline-block; }
.public-result h2 { margin-top: 0.75rem; font-size: 1.25rem; }
.public-result p { color: var(--ink-700); max-width: 460px; margin-left: auto; margin-right: auto; }

.public-footer {
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    color: var(--ink-500);
    font-size: 0.82rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    align-items: center;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--ink-500);
    margin-top: 0.75rem;
}

.legal-note { font-size: 0.79rem; color: var(--ink-500); margin-top: 0.5rem; }

@media (max-width: 600px) {
    .public-shell { padding: 0.4rem 0.4rem 2.5rem; }
    .public-card { padding: 0.9rem; }
    .public-pdf { height: 52vh; }
    .decision-buttons .btn { flex-basis: 100%; }
}

/* ---------- 13. Premium panel (mobile-first) ---------- */
.content [tabindex="-1"]:focus { outline: none; }

.dashboard-page {
    --dash-ink: oklch(0.225 0.024 178);
    --dash-muted: oklch(0.51 0.025 175);
    --dash-faint: oklch(0.68 0.02 175);
    --dash-line: oklch(0.9 0.016 92);
    --dash-paper: oklch(0.992 0.005 92);
    --dash-wash: oklch(0.965 0.012 94);
    --dash-accent: oklch(0.48 0.105 170);
    --dash-accent-soft: oklch(0.93 0.045 163);
    width: 100%;
    color: var(--dash-ink);
}

.dashboard-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 1.75rem;
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 1.75rem;
    color: oklch(0.96 0.018 163);
    background:
        radial-gradient(circle at 88% 10%, oklch(0.65 0.125 165 / 0.32), transparent 19rem),
        radial-gradient(circle at 4% 120%, oklch(0.73 0.09 83 / 0.2), transparent 24rem),
        linear-gradient(135deg, oklch(0.24 0.05 171), oklch(0.17 0.028 174));
    box-shadow: 0 1.4rem 3rem oklch(0.16 0.03 174 / 0.14), inset 0 1px 0 oklch(1 0 0 / 0.09);
    animation: dashboard-enter 500ms cubic-bezier(0.2, 0, 0, 1) both;
}

.dashboard-hero::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -10rem;
    z-index: -1;
    width: 24rem;
    height: 24rem;
    border: 1px solid oklch(0.85 0.08 166 / 0.15);
    border-radius: 50%;
    box-shadow: 0 0 0 3.5rem oklch(0.85 0.08 166 / 0.025), 0 0 0 7rem oklch(0.85 0.08 166 / 0.018);
}

.dashboard-date,
.dashboard-section-kicker {
    display: block;
    color: oklch(0.73 0.105 162);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dashboard-hero h1 {
    max-width: 20ch;
    margin: 0.65rem 0 0;
    color: oklch(0.985 0.008 92);
    font-size: clamp(1.85rem, 5vw, 3.1rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1.06;
    text-wrap: balance;
}

.dashboard-hero-copy p {
    max-width: 56ch;
    margin: 1rem 0 0;
    color: oklch(0.81 0.023 165);
    font-size: 0.92rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.dashboard-hero-actions {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-status {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid oklch(1 0 0 / 0.1);
    border-radius: 999px;
    background: oklch(0.9 0.03 165 / 0.08);
    color: oklch(0.86 0.025 165);
    font-size: 0.72rem;
    font-weight: 650;
    backdrop-filter: blur(0.75rem);
}

.dashboard-status-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: oklch(0.73 0.13 69);
    box-shadow: 0 0 0 0.25rem oklch(0.73 0.13 69 / 0.12);
}
.dashboard-status.is-calm .dashboard-status-dot {
    background: oklch(0.66 0.14 157);
    box-shadow: 0 0 0 0.25rem oklch(0.66 0.14 157 / 0.12);
    animation: dashboard-breathe 2.6s ease-in-out infinite;
}

.dashboard-primary-action {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.68rem 1rem;
    border-radius: 0.9rem;
    background: oklch(0.95 0.025 93);
    color: oklch(0.22 0.04 171);
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 0.7rem 1.8rem oklch(0.08 0.02 175 / 0.2), inset 0 1px 0 oklch(1 0 0 / 0.8);
    transition-property: background-color, color, transform, box-shadow;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.dashboard-primary-action svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; transition: transform 180ms cubic-bezier(0.2, 0, 0, 1); }
.dashboard-primary-action:hover { color: oklch(0.16 0.03 171); background: oklch(0.99 0.008 92); transform: translateY(-1px); box-shadow: 0 1rem 2.2rem oklch(0.08 0.02 175 / 0.24), inset 0 1px 0 oklch(1 0 0 / 0.9); }
.dashboard-primary-action:hover svg { transform: rotate(90deg); }
.dashboard-primary-action:active { transform: translateY(0) scale(0.96); }

.dashboard-loading,
.dashboard-section { margin-top: clamp(2rem, 5vw, 3rem); animation: dashboard-enter 500ms 80ms cubic-bezier(0.2, 0, 0, 1) both; }
.dashboard-section-heading { width: 11rem; margin-bottom: 1rem; }

.dashboard-section-head,
.dashboard-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-section-head h2,
.dashboard-panel-head h2 {
    margin: 0.28rem 0 0;
    color: var(--dash-ink);
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}
.dashboard-section-kicker { color: var(--dash-accent); font-size: 0.62rem; }
.dashboard-period {
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: var(--dash-wash);
    color: var(--dash-muted);
    font-size: 0.7rem;
    font-weight: 650;
    text-transform: capitalize;
}

.dashboard-page .dashboard-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--dash-line);
    border-radius: 1.5rem;
    background: var(--dash-paper);
    box-shadow: 0 1rem 2.6rem oklch(0.2 0.025 175 / 0.055), inset 0 1px 0 oklch(1 0 0 / 0.8);
}

.dashboard-page .dashboard-metrics .metric-card {
    min-height: 8.75rem;
    padding: 1.15rem 1.2rem;
    border: 0;
    border-bottom: 1px solid var(--dash-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition-property: background-color;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.dashboard-page .dashboard-metrics .metric-card:last-child { border-bottom: 0; }
.dashboard-page .dashboard-metrics .metric-card:hover { transform: none; background: oklch(0.975 0.012 162); box-shadow: none; }
.dashboard-page .metric-card-primary { background: oklch(0.975 0.018 162) !important; }
.dashboard-page .metric-card-revenue { background: oklch(0.978 0.018 92) !important; }
.metric-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.metric-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.65rem;
    background: var(--dash-wash);
    color: var(--dash-muted);
}
.metric-icon svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.dashboard-page .metric-card-primary .metric-icon { background: var(--dash-accent-soft); color: var(--dash-accent); }
.dashboard-page .metric-card-revenue .metric-icon { background: oklch(0.92 0.055 85); color: oklch(0.5 0.1 76); }
.dashboard-page .metric-card .metric-label { max-width: 16ch; color: var(--dash-muted); font-size: 0.66rem; font-weight: 750; letter-spacing: 0.065em; line-height: 1.45; }
.dashboard-page .metric-card .metric-value { margin-top: 0.85rem; color: var(--dash-ink); font-size: clamp(1.45rem, 4vw, 1.8rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1.1; }
.dashboard-page .metric-card .metric-sub { margin-top: 0.32rem; color: var(--dash-faint); font-size: 0.68rem; }

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    animation: dashboard-enter 500ms 160ms cubic-bezier(0.2, 0, 0, 1) both;
}

.dashboard-panel {
    min-width: 0;
    padding: clamp(1.15rem, 3vw, 1.5rem);
    border: 1px solid var(--dash-line);
    border-radius: 1.5rem;
    background: var(--dash-paper);
    box-shadow: 0 1rem 2.6rem oklch(0.2 0.025 175 / 0.045), inset 0 1px 0 oklch(1 0 0 / 0.8);
}
.dashboard-count {
    display: grid;
    min-width: 2rem;
    height: 2rem;
    place-items: center;
    padding-inline: 0.45rem;
    border-radius: 0.68rem;
    background: var(--dash-wash);
    color: var(--dash-muted);
    font-size: 0.72rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.dashboard-page .dashboard-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
    margin: 0;
}
.dashboard-page .dashboard-actions .action-card {
    min-height: 6.25rem;
    padding: 0.9rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    background: var(--dash-wash);
    box-shadow: none;
    transition-property: background-color, border-color, transform;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.dashboard-page .dashboard-actions .action-card:hover { border-color: var(--dash-line); background: oklch(0.985 0.008 92); box-shadow: none; transform: translateY(-1px); }
.action-card-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.65rem; }
.dashboard-page .action-card h3 { margin: 0; color: var(--dash-ink); font-size: 0.75rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.35; }
.action-card-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.65rem;
    background: oklch(0.92 0.045 82);
    color: oklch(0.51 0.1 72);
}
.action-card-icon svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.action-card-info .action-card-icon { background: oklch(0.93 0.04 235); color: oklch(0.49 0.1 240); }
.action-card-neutral .action-card-icon { background: oklch(0.92 0.02 280); color: oklch(0.5 0.05 278); }
.action-card-success .action-card-icon { background: var(--dash-accent-soft); color: var(--dash-accent); }
.action-count { min-width: 1.45rem; padding: 0.16rem 0.35rem; border-radius: 999px; background: oklch(0.99 0.004 92); color: var(--dash-muted); font-size: 0.65rem; font-weight: 750; text-align: center; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--dash-line); }
.dashboard-page .action-card .empty { margin: 0.7rem 0 0 2.65rem; color: var(--dash-faint); font-size: 0.7rem; }
.dashboard-page .action-card ul { margin: 0.7rem 0 0; }
.dashboard-page .action-card li { padding: 0.45rem 0; border-color: var(--dash-line); font-size: 0.72rem; }
.dashboard-page .action-link { display: inline-flex; min-height: 2.25rem; align-items: center; margin: 0.3rem 0 -0.25rem 2.65rem; color: var(--dash-accent); font-size: 0.7rem; font-weight: 700; }

.dashboard-funnel-panel { align-self: start; }
.dashboard-page .dashboard-funnel { max-width: none; margin: 1.1rem 0 0; }
.dashboard-page .dashboard-funnel .funnel-row { display: block; margin: 0 0 0.95rem; }
.dashboard-page .dashboard-funnel .funnel-row:last-child { margin-bottom: 0; }
.funnel-row-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.38rem; }
.dashboard-page .dashboard-funnel .funnel-label { width: auto; color: var(--dash-muted); font-size: 0.7rem; font-weight: 650; text-align: start; }
.dashboard-page .dashboard-funnel .funnel-count { color: var(--dash-ink); font-size: 0.7rem; }
.funnel-track { width: 100%; height: 0.42rem; overflow: hidden; border-radius: 999px; background: var(--dash-wash); }
.dashboard-page .dashboard-funnel .funnel-bar { height: 100%; min-width: 0.25rem; border-radius: 999px; background: var(--dash-accent); transform-origin: left; animation: grow-bar 500ms cubic-bezier(0.2, 0, 0, 1); }
.dashboard-page .dashboard-funnel .funnel-row.muted .funnel-bar { background: oklch(0.68 0.02 175); }
.dashboard-page .dashboard-funnel .funnel-row.success .funnel-bar { background: oklch(0.58 0.13 155); }
.dashboard-page .dashboard-funnel .funnel-row.danger .funnel-bar { background: oklch(0.57 0.16 28); }

.dashboard-activity-panel { margin-top: 1rem; animation: dashboard-enter 500ms 240ms cubic-bezier(0.2, 0, 0, 1) both; }
.dashboard-text-link { display: inline-flex; min-height: 2.5rem; align-items: center; color: var(--dash-accent); font-size: 0.7rem; font-weight: 700; }
.dashboard-empty { display: flex; align-items: center; gap: 0.85rem; min-height: 6.5rem; padding: 1rem; border-radius: 1rem; background: var(--dash-wash); }
.dashboard-empty-icon { display: grid; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; place-items: center; border-radius: 0.85rem; background: oklch(0.985 0.008 92); color: var(--dash-muted); box-shadow: inset 0 0 0 1px var(--dash-line); }
.dashboard-empty-icon svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.dashboard-empty strong { display: block; font-size: 0.78rem; }
.dashboard-empty p { margin: 0.25rem 0 0; color: var(--dash-muted); font-size: 0.7rem; line-height: 1.5; }

.dashboard-page .dashboard-timeline li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: start; gap: 0.7rem; padding: 0.7rem 0.25rem; border-radius: 0; font-size: 0.75rem; }
.dashboard-page .dashboard-timeline li:hover { background: transparent; }
.timeline-mark { width: 0.45rem; height: 0.45rem; margin-top: 0.35rem; border-radius: 50%; background: var(--dash-accent); box-shadow: 0 0 0 0.22rem var(--dash-accent-soft); }
.dashboard-page .dashboard-timeline .when { min-width: 5rem; color: var(--dash-faint); font-size: 0.66rem; }
.timeline-action { margin-inline-start: 0.45rem; color: var(--dash-muted); }
.dashboard-page .dashboard-timeline .note { display: block; margin-top: 0.12rem; }
.dashboard-skeleton-panel { min-height: 18rem; }

@media (min-width: 40rem) {
    .dashboard-page .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-page .dashboard-metrics .metric-card { border-right: 1px solid var(--dash-line); }
    .dashboard-page .dashboard-metrics .metric-card:nth-child(2n) { border-right: 0; }
    .dashboard-page .dashboard-metrics .metric-card:nth-last-child(-n + 2) { border-bottom: 0; }
    .dashboard-page .dashboard-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
    .dashboard-hero { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
    .dashboard-hero-actions { align-items: flex-end; }
    .dashboard-page .dashboard-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dashboard-page .dashboard-metrics .metric-card:nth-child(2n) { border-right: 1px solid var(--dash-line); }
    .dashboard-page .dashboard-metrics .metric-card:nth-child(3n) { border-right: 0; }
    .dashboard-page .dashboard-metrics .metric-card:nth-child(-n + 3) { border-bottom: 1px solid var(--dash-line); }
    .dashboard-page .dashboard-metrics .metric-card:nth-last-child(-n + 3) { border-bottom: 0; }
    .dashboard-main-grid { grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.8fr); }
}

@keyframes dashboard-enter { from { opacity: 0; transform: translateY(0.65rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes dashboard-breathe { 0%, 100% { opacity: 0.6; transform: scale(0.86); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- 14. Premium müşteri deneyimi (mobile-first) ---------- */
.customer-page {
    --customer-ink: oklch(0.225 0.024 178);
    --customer-muted: oklch(0.51 0.025 175);
    --customer-faint: oklch(0.68 0.02 175);
    --customer-line: oklch(0.9 0.016 92);
    --customer-paper: oklch(0.992 0.005 92);
    --customer-wash: oklch(0.965 0.012 94);
    --customer-accent: oklch(0.48 0.105 170);
    --customer-accent-soft: oklch(0.93 0.045 163);
    --customer-dark: oklch(0.205 0.039 171);
    width: 100%;
    color: var(--customer-ink);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}

.customer-page-header,
.customer-edit-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.customer-kicker {
    display: block;
    color: var(--customer-accent);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.customer-page-header h1,
.customer-edit-header h1 {
    margin: 0.45rem 0 0;
    color: var(--customer-ink);
    font-size: clamp(1.85rem, 6vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.08;
    text-wrap: balance;
}

.customer-page-header p,
.customer-edit-header p {
    max-width: 58ch;
    margin: 0.75rem 0 0;
    color: var(--customer-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.customer-primary-action,
.customer-save-action,
.customer-secondary-action {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 0.9rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition-property: background-color, color, transform, box-shadow;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.customer-primary-action,
.customer-save-action {
    padding: 0.7rem 1.05rem 0.7rem 1.1rem;
    background: var(--customer-dark);
    color: oklch(0.985 0.008 92);
    box-shadow: 0 0.75rem 1.8rem oklch(0.205 0.039 171 / 0.18), inset 0 1px 0 oklch(1 0 0 / 0.12);
}

.customer-primary-action:hover,
.customer-save-action:hover {
    color: oklch(0.985 0.008 92);
    background: oklch(0.27 0.055 171);
    transform: translateY(-1px);
    box-shadow: 0 1rem 2.2rem oklch(0.205 0.039 171 / 0.22), inset 0 1px 0 oklch(1 0 0 / 0.14);
}

.customer-primary-action:active,
.customer-save-action:active,
.customer-secondary-action:active { transform: translateY(0) scale(0.96); }
.customer-primary-action svg,
.customer-save-action svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.customer-primary-action:hover svg { transform: rotate(90deg); }
.customer-primary-action svg { transition-property: transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }

.customer-secondary-action {
    padding: 0.68rem 1rem;
    background: var(--customer-paper);
    color: var(--customer-muted);
    box-shadow:
        0 0 0 1px oklch(0 0 0 / 0.06),
        0 1px 2px -1px oklch(0 0 0 / 0.06),
        0 2px 4px oklch(0 0 0 / 0.04);
}
.customer-secondary-action:hover { color: var(--customer-ink); background: var(--customer-wash); }

.customer-search-panel {
    display: grid;
    gap: 1rem;
    margin-top: clamp(1.5rem, 4vw, 2.25rem);
    padding: 1rem;
    border-radius: 1.35rem;
    background: var(--customer-paper);
    box-shadow:
        0 0 0 1px oklch(0 0 0 / 0.055),
        0 0.8rem 2.4rem oklch(0.2 0.025 175 / 0.055),
        inset 0 1px 0 oklch(1 0 0 / 0.82);
    animation: customer-enter 460ms 70ms cubic-bezier(0.2, 0, 0, 1) both;
}

.customer-search-copy { display: flex; min-width: 0; align-items: center; gap: 0.75rem; }
.customer-search-copy strong { display: block; color: var(--customer-ink); font-size: 0.78rem; }
.customer-search-copy span:not(.customer-search-icon) { display: block; margin-top: 0.12rem; color: var(--customer-faint); font-size: 0.68rem; line-height: 1.45; }
.customer-search-icon {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.78rem;
    background: var(--customer-accent-soft);
    color: var(--customer-accent);
}
.customer-search-icon svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }

.customer-search-field { position: relative; min-width: 0; }
.customer-search-field > svg {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    width: 1rem;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--customer-faint);
    stroke-linecap: round;
    stroke-width: 1.7;
    pointer-events: none;
}
.customer-search-field input {
    width: 100%;
    min-height: 3rem;
    padding: 0.72rem 0.9rem 0.72rem 2.55rem;
    border: 1px solid var(--customer-line);
    border-radius: 0.9rem;
    outline: 1px solid transparent;
    background: var(--customer-wash);
    color: var(--customer-ink);
    font-size: 16px;
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.72);
    transition-property: background-color, border-color, box-shadow, outline-color;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.customer-search-field input::placeholder { color: var(--customer-faint); opacity: 1; }
.customer-search-field input:focus {
    border-color: var(--customer-accent);
    outline-color: oklch(0.48 0.105 170 / 0.15);
    background: var(--customer-paper);
    box-shadow: 0 0 0 0.25rem oklch(0.48 0.105 170 / 0.11), inset 0 1px 0 oklch(1 0 0 / 0.8);
}

.customer-list-panel,
.customer-empty-state {
    margin-top: 1rem;
    border-radius: 1.5rem;
    background: var(--customer-paper);
    box-shadow:
        0 0 0 1px oklch(0 0 0 / 0.055),
        0 1rem 2.6rem oklch(0.2 0.025 175 / 0.05),
        inset 0 1px 0 oklch(1 0 0 / 0.8);
    animation: customer-enter 460ms 140ms cubic-bezier(0.2, 0, 0, 1) both;
}

.customer-list-panel { overflow: hidden; }
.customer-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--customer-line); }
.customer-list-head h2 { margin: 0.25rem 0 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.035em; }
.customer-count { padding: 0.36rem 0.68rem; border-radius: 999px; background: var(--customer-wash); color: var(--customer-muted); font-size: 0.68rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.customer-table-wrap { padding: 0.35rem 0.75rem 0.75rem; }
.customer-table,
.customer-table tbody,
.customer-table tr,
.customer-table td { display: block; width: 100%; }
.customer-table { border-collapse: collapse; }
.customer-table thead { display: none; }
.customer-table tr { position: relative; padding: 0.85rem 0; border-bottom: 1px solid var(--customer-line); }
.customer-table tr:last-child { border-bottom: 0; }
.customer-table td { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); align-items: start; gap: 0.75rem; padding: 0.36rem 0; color: var(--customer-muted); font-size: 0.78rem; line-height: 1.5; }
.customer-table td::before { content: attr(data-label); color: var(--customer-faint); font-size: 0.65rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.customer-table td:first-child { display: block; padding: 0 6.6rem 0.65rem 0; }
.customer-table td:first-child::before,
.customer-table .customer-row-actions::before { display: none; }
.customer-table .customer-row-actions { position: absolute; top: 0.72rem; right: 0; display: flex; width: auto; gap: 0.35rem; padding: 0; }

.customer-identity { display: inline-flex; min-width: 0; align-items: center; gap: 0.72rem; color: var(--customer-ink); }
.customer-identity:hover { color: var(--customer-accent); }
.customer-avatar {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.82rem;
    background: var(--customer-accent-soft);
    color: var(--customer-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: inset 0 0 0 1px oklch(0.48 0.105 170 / 0.08);
}
.customer-identity strong { display: block; overflow: hidden; font-size: 0.8rem; font-weight: 750; line-height: 1.35; text-overflow: ellipsis; }
.customer-identity small { display: block; overflow: hidden; margin-top: 0.18rem; color: var(--customer-faint); font-size: 0.65rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.customer-contact { display: grid; min-width: 0; gap: 0.08rem; }
.customer-contact a,
.customer-contact span { overflow: hidden; text-overflow: ellipsis; }
.customer-contact a { color: var(--customer-accent); }

.customer-type { display: inline-flex; width: fit-content; min-height: 1.65rem; align-items: center; gap: 0.4rem; padding: 0.25rem 0.55rem; border-radius: 999px; background: var(--customer-wash); color: var(--customer-muted); font-size: 0.65rem; font-weight: 700; }
.customer-type > span { width: 0.38rem; height: 0.38rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0.2rem currentColor; opacity: 0.6; }
.customer-type.is-corporate { background: var(--customer-accent-soft); color: var(--customer-accent); }
.customer-type.is-individual { background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); }

.customer-icon-action {
    display: grid;
    width: 2.95rem;
    height: 2.95rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: var(--customer-faint);
    cursor: pointer;
    transition-property: background-color, color, scale;
    transition-duration: 160ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.customer-icon-action:hover { background: var(--customer-wash); color: var(--customer-ink); }
.customer-icon-action.is-danger:hover { background: oklch(0.95 0.035 27); color: oklch(0.52 0.18 27); }
.customer-icon-action:active { scale: 0.96; }
.customer-icon-action svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.customer-empty-state { min-height: 22rem; padding: clamp(2rem, 7vw, 4rem) 1.25rem; text-align: center; }
.customer-empty-visual { position: relative; display: grid; width: 7rem; height: 7rem; place-items: center; margin: 0 auto 1.5rem; }
.customer-empty-orbit { position: absolute; inset: 0; border: 1px solid oklch(0.48 0.105 170 / 0.13); border-radius: 50%; }
.customer-empty-orbit-one { inset: 0.7rem; }
.customer-empty-orbit-two { inset: 1.4rem; background: var(--customer-accent-soft); box-shadow: 0 0.8rem 2rem oklch(0.48 0.105 170 / 0.12); }
.customer-empty-icon { position: relative; display: grid; width: 3.2rem; height: 3.2rem; place-items: center; border-radius: 1rem; background: var(--customer-paper); color: var(--customer-accent); box-shadow: inset 0 0 0 1px oklch(0.48 0.105 170 / 0.08); }
.customer-empty-icon svg { width: 1.55rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.customer-empty-state h2 { margin: 0.45rem 0 0; font-size: clamp(1.2rem, 4vw, 1.55rem); font-weight: 700; letter-spacing: -0.04em; }
.customer-empty-state p { max-width: 53ch; margin: 0.8rem auto 1.4rem; color: var(--customer-muted); font-size: 0.82rem; line-height: 1.65; text-wrap: pretty; }

.customer-loading { padding: 1.25rem; }
.customer-list-heading { width: 9rem; margin-bottom: 1rem; }
.customer-row-skeleton { height: 4.2rem; margin-top: 0.45rem; border-radius: 0.85rem; }

.customer-alert { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 1rem; font-size: 0.78rem; font-weight: 600; line-height: 1.55; animation: customer-enter 300ms cubic-bezier(0.2, 0, 0, 1) both; }
.customer-alert svg { width: 1.15rem; flex: 0 0 auto; margin-top: 0.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.customer-alert.is-error { color: oklch(0.52 0.18 27); background: oklch(0.95 0.035 27); box-shadow: inset 0 0 0 1px oklch(0.75 0.1 27 / 0.22); }
.customer-alert.is-warning { color: oklch(0.51 0.1 72); background: oklch(0.95 0.045 82); box-shadow: inset 0 0 0 1px oklch(0.72 0.1 76 / 0.2); }

.customer-back-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.4rem; margin: -0.65rem 0 0.8rem; color: var(--customer-muted); font-size: 0.75rem; font-weight: 700; }
.customer-back-link:hover { color: var(--customer-accent); }
.customer-back-link svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition-property: transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.customer-back-link:hover svg { transform: translateX(-0.18rem); }
.customer-edit-header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--customer-line); }
.customer-edit-badge { display: inline-flex; width: fit-content; min-height: 2.5rem; align-items: center; gap: 0.48rem; padding: 0.5rem 0.72rem; border-radius: 999px; background: var(--customer-accent-soft); color: var(--customer-accent); font-size: 0.68rem; font-weight: 750; }
.customer-edit-badge svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.customer-edit-layout { display: grid; gap: 1rem; margin-top: 1rem; }
.customer-form-stack { display: grid; min-width: 0; gap: 1rem; }
.customer-form-card,
.customer-form-summary,
.customer-form-actions {
    border-radius: 1.5rem;
    background: var(--customer-paper);
    box-shadow:
        0 0 0 1px oklch(0 0 0 / 0.055),
        0 0.8rem 2.4rem oklch(0.2 0.025 175 / 0.045),
        inset 0 1px 0 oklch(1 0 0 / 0.8);
}
.customer-form-card { padding: clamp(1.1rem, 4vw, 1.5rem); }
.customer-form-card:nth-child(1) { animation: customer-enter 460ms 60ms cubic-bezier(0.2, 0, 0, 1) both; }
.customer-form-card:nth-child(2) { animation: customer-enter 460ms 120ms cubic-bezier(0.2, 0, 0, 1) both; }
.customer-form-card:nth-child(3) { animation: customer-enter 460ms 180ms cubic-bezier(0.2, 0, 0, 1) both; }
.customer-form-card-head { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--customer-line); }
.customer-form-card-head h2 { margin: 0; font-size: 0.9rem; font-weight: 750; letter-spacing: -0.025em; }
.customer-form-card-head p { margin: 0.2rem 0 0; color: var(--customer-faint); font-size: 0.68rem; line-height: 1.5; }
.customer-section-icon { display: grid; width: 2.2rem; height: 2.2rem; flex: 0 0 auto; place-items: center; border-radius: 0.72rem; background: var(--customer-accent-soft); color: var(--customer-accent); }
.customer-section-icon.is-blue { background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); }
.customer-section-icon.is-amber { background: oklch(0.94 0.045 82); color: oklch(0.51 0.1 72); }
.customer-section-icon svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }

.customer-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.customer-field { min-width: 0; }
.customer-field-wide { grid-column: 1 / -1; }
.customer-field label { display: block; margin-bottom: 0.45rem; color: var(--customer-ink); font-size: 0.72rem; font-weight: 700; line-height: 1.4; }
.required-mark { color: oklch(0.52 0.18 27); }
.customer-field input,
.customer-field select,
.customer-field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--customer-line);
    border-radius: 0.85rem;
    outline: 1px solid transparent;
    background: var(--customer-wash);
    color: var(--customer-ink);
    font-size: 16px;
    line-height: 1.4;
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.72), 0 1px 2px oklch(0.2 0.02 175 / 0.025);
    transition-property: background-color, border-color, box-shadow, outline-color;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.customer-field textarea { min-height: 6.5rem; resize: vertical; }
.customer-field input::placeholder,
.customer-field textarea::placeholder { color: var(--customer-faint); opacity: 1; }
.customer-field input:hover,
.customer-field select:hover,
.customer-field textarea:hover { border-color: oklch(0.79 0.025 174); }
.customer-field input:focus,
.customer-field select:focus,
.customer-field textarea:focus {
    border-color: var(--customer-accent);
    outline-color: oklch(0.48 0.105 170 / 0.15);
    background: var(--customer-paper);
    box-shadow: 0 0 0 0.25rem oklch(0.48 0.105 170 / 0.11), inset 0 1px 0 oklch(1 0 0 / 0.8);
}
.customer-field-help { display: block; margin-top: 0.38rem; color: var(--customer-faint); font-size: 0.65rem; line-height: 1.5; }

.customer-form-aside { display: grid; align-content: start; gap: 1rem; }
.customer-form-summary { position: relative; overflow: hidden; padding: 1.35rem; color: oklch(0.91 0.025 163); background: radial-gradient(circle at 100% 0, oklch(0.62 0.12 165 / 0.32), transparent 13rem), linear-gradient(145deg, oklch(0.26 0.058 171), var(--customer-dark)); animation: customer-enter 460ms 120ms cubic-bezier(0.2, 0, 0, 1) both; }
.customer-form-summary .customer-kicker { color: oklch(0.73 0.105 162); }
.customer-summary-icon { display: grid; width: 3rem; height: 3rem; place-items: center; margin-bottom: 1.5rem; border-radius: 0.95rem; background: oklch(0.9 0.03 165 / 0.1); color: oklch(0.85 0.08 162); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1); }
.customer-summary-icon svg { width: 1.35rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.customer-form-summary h2 { margin: 0.45rem 0 0; color: oklch(0.985 0.008 92); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.2; }
.customer-form-summary > p { margin: 0.7rem 0 0; color: oklch(0.78 0.025 165); font-size: 0.72rem; line-height: 1.6; }
.customer-form-summary ul { display: grid; gap: 0.65rem; margin: 1.3rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid oklch(1 0 0 / 0.1); list-style: none; }
.customer-form-summary li { display: flex; align-items: flex-start; gap: 0.55rem; color: oklch(0.84 0.022 165); font-size: 0.68rem; line-height: 1.5; }
.customer-form-summary li > span { display: grid; width: 1.15rem; height: 1.15rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: oklch(0.68 0.12 160 / 0.18); color: oklch(0.79 0.12 156); }
.customer-form-summary li svg { width: 0.7rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.1; }

.customer-form-actions { display: grid; gap: 0.65rem; padding: 1rem; animation: customer-enter 460ms 180ms cubic-bezier(0.2, 0, 0, 1) both; }
.customer-form-actions .customer-save-action,
.customer-form-actions .customer-secondary-action { width: 100%; }
.customer-save-note { display: block; padding: 0.25rem 0.3rem 0; color: var(--customer-faint); font-size: 0.62rem; line-height: 1.5; text-align: center; }
.customer-form-loading { margin-top: 1rem; padding: 1.25rem; border-radius: 1.5rem; background: var(--customer-paper); box-shadow: 0 0 0 1px oklch(0 0 0 / 0.055); }
.customer-form-loading .skeleton-line { width: 10rem; }
.customer-form-skeleton { height: 25rem; margin-top: 1rem; border-radius: 1rem; }

.customer-page :focus-visible { outline: 2px solid var(--customer-accent); outline-offset: 3px; }
.customer-page input:focus-visible,
.customer-page select:focus-visible,
.customer-page textarea:focus-visible { outline-width: 1px; outline-offset: 0; }

@media (min-width: 40rem) {
    .customer-page-header,
    .customer-edit-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .customer-search-panel { grid-template-columns: minmax(13rem, 0.7fr) minmax(18rem, 1.3fr); align-items: center; }
    .customer-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
    .customer-table-wrap { padding: 0 1.1rem 0.45rem; overflow-x: auto; }
    .customer-table { display: table; min-width: 47rem; }
    .customer-table thead { display: table-header-group; }
    .customer-table tbody { display: table-row-group; }
    .customer-table tr { display: table-row; padding: 0; border: 0; }
    .customer-table th { padding: 0.72rem 0.65rem; border-bottom: 1px solid var(--customer-line); color: var(--customer-faint); font-size: 0.62rem; font-weight: 750; letter-spacing: 0.08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
    .customer-table td { display: table-cell; width: auto; padding: 0.78rem 0.65rem; border-bottom: 1px solid var(--customer-line); color: var(--customer-muted); font-size: 0.72rem; vertical-align: middle; }
    .customer-table tr:last-child td { border-bottom: 0; }
    .customer-table tbody tr { transition-property: background-color; transition-duration: 160ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
    .customer-table tbody tr:hover { background: oklch(0.975 0.012 162); }
    .customer-table td::before { display: none; }
    .customer-table td:first-child { display: table-cell; padding: 0.78rem 0.65rem; }
    .customer-table .customer-row-actions { position: static; display: flex; width: auto; justify-content: flex-end; padding: 0.68rem 0; }
    .customer-identity { max-width: 16rem; }
}

@media (min-width: 64rem) {
    .customer-edit-layout { grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 0.32fr); align-items: start; }
    .customer-form-aside { position: sticky; top: 5.3rem; }
}

@media (min-width: 75rem) {
    .customer-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@keyframes customer-enter { from { opacity: 0; transform: translateY(0.65rem); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 15. Premium teklif deneyimi (mobile-first) ---------- */
.proposal-header-actions,
.proposal-empty-actions { display: flex; flex-direction: column; gap: 0.65rem; }
.proposal-header-actions .customer-primary-action,
.proposal-header-actions .customer-secondary-action,
.proposal-empty-actions .customer-primary-action,
.proposal-empty-actions .customer-secondary-action { width: 100%; }
.proposal-upload-action svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.proposal-filter-panel {
    display: grid;
    gap: 1rem;
    margin-top: clamp(1.5rem, 4vw, 2.25rem);
    padding: 1rem;
    border-radius: 1.35rem;
    background: var(--customer-paper);
    box-shadow:
        0 0 0 1px oklch(0 0 0 / 0.055),
        0 0.8rem 2.4rem oklch(0.2 0.025 175 / 0.055),
        inset 0 1px 0 oklch(1 0 0 / 0.82);
    animation: customer-enter 460ms 70ms cubic-bezier(0.2, 0, 0, 1) both;
}
.proposal-filter-copy { display: flex; min-width: 0; align-items: center; gap: 0.75rem; }
.proposal-filter-copy strong { display: block; font-size: 0.78rem; }
.proposal-filter-copy span:not(.proposal-filter-icon) { display: block; margin-top: 0.12rem; color: var(--customer-faint); font-size: 0.68rem; line-height: 1.45; }
.proposal-filter-icon {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.78rem;
    background: oklch(0.93 0.035 248);
    color: oklch(0.5 0.1 245);
}
.proposal-filter-icon svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.proposal-filter-controls { display: grid; min-width: 0; gap: 0.65rem; }
.proposal-search-field,
.proposal-status-field { position: relative; min-width: 0; }
.proposal-search-field > svg,
.proposal-status-field > svg {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    z-index: 1;
    width: 1rem;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--customer-faint);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    pointer-events: none;
}
.proposal-search-field input,
.proposal-status-field select {
    width: 100%;
    min-height: 3rem;
    padding: 0.72rem 0.9rem 0.72rem 2.55rem;
    border: 1px solid var(--customer-line);
    border-radius: 0.9rem;
    outline: 1px solid transparent;
    background: var(--customer-wash);
    color: var(--customer-ink);
    font-size: 16px;
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.72);
    transition-property: background-color, border-color, box-shadow, outline-color;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.proposal-search-field input::placeholder { color: var(--customer-faint); opacity: 1; }
.proposal-search-field input:focus,
.proposal-status-field select:focus {
    border-color: var(--customer-accent);
    outline-color: oklch(0.48 0.105 170 / 0.15);
    background: var(--customer-paper);
    box-shadow: 0 0 0 0.25rem oklch(0.48 0.105 170 / 0.11), inset 0 1px 0 oklch(1 0 0 / 0.8);
}

.proposal-list-panel,
.proposal-empty-state,
.proposal-locked-state {
    margin-top: 1rem;
    border-radius: 1.5rem;
    background: var(--customer-paper);
    box-shadow:
        0 0 0 1px oklch(0 0 0 / 0.055),
        0 1rem 2.6rem oklch(0.2 0.025 175 / 0.05),
        inset 0 1px 0 oklch(1 0 0 / 0.8);
    animation: customer-enter 460ms 140ms cubic-bezier(0.2, 0, 0, 1) both;
}
.proposal-list-panel { overflow: hidden; }
.proposal-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--customer-line); }
.proposal-list-head h2 { margin: 0.25rem 0 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.035em; }

.proposal-table-wrap { padding: 0.35rem 0.75rem 0.75rem; }
.proposal-table,
.proposal-table tbody,
.proposal-table tr,
.proposal-table td { display: block; width: 100%; }
.proposal-table { border-collapse: collapse; }
.proposal-table thead { display: none; }
.proposal-table tr { position: relative; padding: 0.9rem 0; border-bottom: 1px solid var(--customer-line); }
.proposal-table tr:last-child { border-bottom: 0; }
.proposal-table td { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); align-items: center; gap: 0.75rem; padding: 0.38rem 0; color: var(--customer-muted); font-size: 0.78rem; line-height: 1.5; }
.proposal-table td::before { content: attr(data-label); color: var(--customer-faint); font-size: 0.65rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.proposal-table td:first-child { display: block; padding: 0 3.4rem 0.7rem 0; }
.proposal-table td:first-child::before,
.proposal-table .proposal-row-actions::before { display: none; }
.proposal-table .proposal-row-actions { position: absolute; top: 0.8rem; right: 0; display: flex; width: auto; padding: 0; }
.proposal-identity { display: inline-flex; min-width: 0; align-items: center; gap: 0.72rem; color: var(--customer-ink); }
.proposal-identity:hover { color: var(--customer-accent); }
.proposal-document-icon {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.85rem;
    background: oklch(0.93 0.035 248);
    color: oklch(0.5 0.1 245);
    box-shadow: inset 0 0 0 1px oklch(0.5 0.1 245 / 0.08);
}
.proposal-document-icon svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.proposal-identity strong { display: block; overflow: hidden; color: inherit; font-size: 0.8rem; font-weight: 750; line-height: 1.35; text-overflow: ellipsis; }
.proposal-identity small { display: block; margin-top: 0.18rem; color: var(--customer-faint); font-size: 0.65rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.proposal-amount { color: var(--customer-ink); font-size: 0.78rem; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proposal-amount small { color: var(--customer-faint); font-size: 0.62rem; font-weight: 700; }
.proposal-status { display: inline-flex; width: fit-content; min-height: 1.7rem; align-items: center; gap: 0.4rem; padding: 0.25rem 0.58rem; border-radius: 999px; font-size: 0.64rem; font-weight: 750; white-space: nowrap; }
.proposal-status > span { width: 0.38rem; height: 0.38rem; border-radius: 50%; background: currentColor; }
.proposal-status.draft,
.proposal-status.muted { background: var(--customer-wash); color: var(--customer-muted); }
.proposal-status.info { background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); }
.proposal-status.warning { background: oklch(0.95 0.045 82); color: oklch(0.51 0.1 72); }
.proposal-status.success { background: var(--customer-accent-soft); color: var(--customer-accent); }
.proposal-status.danger { background: oklch(0.95 0.035 27); color: oklch(0.52 0.18 27); }

.proposal-empty-state,
.proposal-locked-state { min-height: 23rem; padding: clamp(2rem, 7vw, 4rem) 1.25rem; text-align: center; }
.proposal-empty-visual { position: relative; width: 7.5rem; height: 7.5rem; margin: 0 auto 1.5rem; }
.proposal-empty-visual::before,
.proposal-empty-visual::after { content: ""; position: absolute; border: 1px solid oklch(0.5 0.1 245 / 0.11); border-radius: 50%; }
.proposal-empty-visual::before { inset: 0; }
.proposal-empty-visual::after { inset: 0.7rem; }
.proposal-empty-sheet { position: absolute; inset: 1.35rem; display: grid; place-items: center; border-radius: 1.35rem; background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); box-shadow: 0 1rem 2.4rem oklch(0.5 0.1 245 / 0.14); }
.proposal-empty-sheet svg { width: 2.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.proposal-empty-badge { position: absolute; right: 0.35rem; bottom: 0.65rem; z-index: 1; display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 0.78rem; background: var(--customer-dark); color: oklch(0.985 0.008 92); box-shadow: 0 0.6rem 1.5rem oklch(0.2 0.04 171 / 0.24), inset 0 1px 0 oklch(1 0 0 / 0.12); }
.proposal-empty-badge svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.proposal-empty-state h2,
.proposal-locked-state h2 { margin: 0.45rem 0 0; font-size: clamp(1.2rem, 4vw, 1.55rem); font-weight: 700; letter-spacing: -0.04em; }
.proposal-empty-state > p,
.proposal-locked-state > p { max-width: 54ch; margin: 0.8rem auto 1.4rem; color: var(--customer-muted); font-size: 0.82rem; line-height: 1.65; text-wrap: pretty; }
.proposal-empty-actions { justify-content: center; }
.proposal-loading { padding: 1.25rem; }
.proposal-list-heading { width: 9rem; margin-bottom: 1rem; }
.proposal-row-skeleton { height: 4.2rem; margin-top: 0.45rem; border-radius: 0.85rem; }

.proposal-edit-header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--customer-line); }
.proposal-edit-badge { background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); }
.proposal-form-loading { margin-top: 1rem; padding: 1.25rem; border-radius: 1.5rem; background: var(--customer-paper); box-shadow: 0 0 0 1px oklch(0 0 0 / 0.055); }
.proposal-form-loading .skeleton-line { width: 11rem; }
.proposal-form-skeleton { height: 28rem; margin-top: 1rem; border-radius: 1rem; }
.proposal-locked-icon { display: grid; width: 4.5rem; height: 4.5rem; place-items: center; margin: 0 auto 1.5rem; border-radius: 1.4rem; background: oklch(0.95 0.045 82); color: oklch(0.51 0.1 72); box-shadow: 0 1rem 2.3rem oklch(0.51 0.1 72 / 0.12); }
.proposal-locked-icon svg { width: 2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.proposal-edit-layout { display: grid; gap: 1rem; margin-top: 1rem; }
.proposal-form-stack { display: grid; min-width: 0; gap: 1rem; }
.proposal-form-card:nth-child(1) { animation-delay: 50ms; }
.proposal-form-card:nth-child(2) { animation-delay: 110ms; }
.proposal-form-card:nth-child(3) { animation-delay: 170ms; }
.proposal-main-grid,
.proposal-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.proposal-field-full { grid-column: 1 / -1; }
.proposal-line-count { margin-left: auto; padding: 0.32rem 0.58rem; border-radius: 999px; background: var(--customer-wash); color: var(--customer-muted); font-size: 0.64rem; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proposal-lines { display: grid; gap: 0.75rem; }
.proposal-line-item {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0.95rem;
    border-radius: 1.35rem;
    background: var(--customer-wash);
    box-shadow: inset 0 0 0 1px var(--customer-line);
    transition-property: background-color, box-shadow, transform;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.proposal-line-item:focus-within { background: oklch(0.98 0.008 92); box-shadow: inset 0 0 0 1px oklch(0.48 0.105 170 / 0.2), 0 0.8rem 1.8rem oklch(0.2 0.025 175 / 0.045); transform: translateY(-1px); }
.proposal-line-item .customer-field input { background: var(--customer-paper); }
.proposal-line-number { grid-column: 1 / -1; display: flex; min-height: 2.25rem; align-items: center; gap: 0.55rem; padding-right: 3.2rem; }
.proposal-line-number > span { display: grid; width: 1.85rem; height: 1.85rem; place-items: center; border-radius: 0.6rem; background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); font-size: 0.68rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.proposal-line-number strong { font-size: 0.72rem; font-weight: 750; }
.proposal-line-name,
.proposal-line-description,
.proposal-line-price { grid-column: 1 / -1; }
.proposal-line-total { align-self: end; padding: 0.25rem 0; }
.proposal-line-total > span { display: block; color: var(--customer-faint); font-size: 0.64rem; font-weight: 700; line-height: 1.4; }
.proposal-line-total strong { display: block; margin-top: 0.25rem; color: var(--customer-ink); font-size: 0.88rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.proposal-line-total small { color: var(--customer-faint); font-size: 0.62rem; }
.proposal-remove-line {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: grid;
    width: 2.95rem;
    height: 2.95rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0.85rem;
    background: transparent;
    color: var(--customer-faint);
    cursor: pointer;
    transition-property: background-color, color, scale;
    transition-duration: 160ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.proposal-remove-line:hover { background: oklch(0.95 0.035 27); color: oklch(0.52 0.18 27); }
.proposal-remove-line:active { scale: 0.96; }
.proposal-remove-line svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.proposal-add-line {
    display: inline-flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    border: 1px dashed oklch(0.48 0.105 170 / 0.28);
    border-radius: 1rem;
    background: var(--customer-accent-soft);
    color: var(--customer-accent);
    font: inherit;
    font-size: 0.74rem;
    font-weight: 750;
    cursor: pointer;
    transition-property: background-color, border-color, transform;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.proposal-add-line:hover { border-color: var(--customer-accent); background: oklch(0.91 0.055 163); }
.proposal-add-line:active { transform: scale(0.96); }
.proposal-add-line svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; transition-property: transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.proposal-add-line:hover svg { transform: rotate(90deg); }

.proposal-summary-aside { display: grid; align-content: start; gap: 1rem; }
.proposal-total-card,
.proposal-save-card { border-radius: 1.5rem; box-shadow: 0 0 0 1px oklch(0 0 0 / 0.055), 0 0.8rem 2.4rem oklch(0.2 0.025 175 / 0.05), inset 0 1px 0 oklch(1 0 0 / 0.8); }
.proposal-total-card { position: relative; overflow: hidden; padding: 1.35rem; color: oklch(0.91 0.025 163); background: radial-gradient(circle at 100% 0, oklch(0.62 0.12 165 / 0.32), transparent 13rem), linear-gradient(145deg, oklch(0.26 0.058 171), var(--customer-dark)); animation: customer-enter 460ms 100ms cubic-bezier(0.2, 0, 0, 1) both; }
.proposal-total-card .customer-kicker { color: oklch(0.73 0.105 162); }
.proposal-total-icon { display: grid; width: 3rem; height: 3rem; place-items: center; margin-bottom: 1.5rem; border-radius: 0.95rem; background: oklch(0.9 0.03 165 / 0.1); color: oklch(0.85 0.08 162); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1); }
.proposal-total-icon svg { width: 1.35rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.proposal-total-card h2 { margin: 0.4rem 0 0; color: oklch(0.985 0.008 92); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.04em; }
.proposal-total-rows { display: grid; gap: 0.65rem; margin-top: 1.35rem; padding: 1rem 0; border-top: 1px solid oklch(1 0 0 / 0.1); border-bottom: 1px solid oklch(1 0 0 / 0.1); }
.proposal-total-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.proposal-total-rows span { color: oklch(0.75 0.025 165); font-size: 0.68rem; }
.proposal-total-rows strong { color: oklch(0.92 0.015 165); font-size: 0.72rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proposal-total-rows strong.is-discount { color: oklch(0.77 0.11 76); }
.proposal-grand-total { padding-top: 1rem; }
.proposal-grand-total > span { display: block; color: oklch(0.73 0.025 165); font-size: 0.68rem; font-weight: 650; }
.proposal-grand-total strong { display: block; margin-top: 0.28rem; color: oklch(0.99 0.008 92); font-size: clamp(1.45rem, 5vw, 1.85rem); font-weight: 750; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.proposal-grand-total small { color: oklch(0.73 0.025 165); font-size: 0.7rem; letter-spacing: 0.02em; }
.proposal-total-note { display: block; margin-top: 1rem; color: oklch(0.68 0.022 165); font-size: 0.62rem; line-height: 1.55; }
.proposal-save-card { display: grid; gap: 0.65rem; padding: 1rem; background: var(--customer-paper); animation: customer-enter 460ms 170ms cubic-bezier(0.2, 0, 0, 1) both; }
.proposal-save-card .customer-save-action,
.proposal-save-card .customer-secondary-action { width: 100%; }
.proposal-save-card > span { padding: 0.25rem 0.3rem 0; color: var(--customer-faint); font-size: 0.62rem; line-height: 1.5; text-align: center; }
.proposal-page .customer-alert a { color: currentColor; font-weight: 800; text-decoration: underline; text-underline-offset: 0.18em; }

@media (min-width: 40rem) {
    .proposal-header-actions,
    .proposal-empty-actions { flex-direction: row; align-items: center; }
    .proposal-header-actions .customer-primary-action,
    .proposal-header-actions .customer-secondary-action,
    .proposal-empty-actions .customer-primary-action,
    .proposal-empty-actions .customer-secondary-action { width: auto; }
    .proposal-filter-controls { grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.45fr); }
    .proposal-empty-actions { display: inline-flex; }
    .proposal-main-grid,
    .proposal-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proposal-line-item { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .proposal-line-number { grid-column: 1 / -1; }
    .proposal-line-name { grid-column: span 6; }
    .proposal-line-description { grid-column: span 6; }
    .proposal-line-quantity { grid-column: span 3; }
    .proposal-line-unit { grid-column: span 3; }
    .proposal-line-price { grid-column: span 6; }
    .proposal-line-discount { grid-column: span 3; }
    .proposal-line-tax { grid-column: span 3; }
    .proposal-line-total { grid-column: span 6; }
}

@media (min-width: 48rem) {
    .proposal-filter-panel { grid-template-columns: minmax(13rem, 0.58fr) minmax(24rem, 1.42fr); align-items: center; }
    .proposal-table-wrap { padding: 0 1.1rem 0.45rem; overflow-x: auto; }
    .proposal-table { display: table; min-width: 48rem; }
    .proposal-table thead { display: table-header-group; }
    .proposal-table tbody { display: table-row-group; }
    .proposal-table tr { display: table-row; padding: 0; border: 0; }
    .proposal-table th { padding: 0.72rem 0.65rem; border-bottom: 1px solid var(--customer-line); color: var(--customer-faint); font-size: 0.62rem; font-weight: 750; letter-spacing: 0.08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
    .proposal-table td { display: table-cell; width: auto; padding: 0.78rem 0.65rem; border-bottom: 1px solid var(--customer-line); color: var(--customer-muted); font-size: 0.72rem; vertical-align: middle; }
    .proposal-table tr:last-child td { border-bottom: 0; }
    .proposal-table tbody tr { transition-property: background-color; transition-duration: 160ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
    .proposal-table tbody tr:hover { background: oklch(0.975 0.012 162); }
    .proposal-table td::before { display: none; }
    .proposal-table td:first-child { display: table-cell; padding: 0.78rem 0.65rem; }
    .proposal-table .proposal-row-actions { position: static; display: flex; width: auto; justify-content: flex-end; padding: 0.68rem 0; }
    .proposal-identity { max-width: 19rem; }
}

@media (min-width: 64rem) {
    .proposal-edit-layout { grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.31fr); align-items: start; }
    .proposal-summary-aside { position: sticky; top: 5.3rem; }
    .proposal-field-wide-tablet { grid-column: span 2; }
    .proposal-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .proposal-line-name { grid-column: span 4; }
    .proposal-line-description { grid-column: span 4; }
    .proposal-line-quantity { grid-column: span 2; }
    .proposal-line-unit { grid-column: span 2; }
    .proposal-line-price { grid-column: span 4; }
    .proposal-line-discount { grid-column: span 2; }
    .proposal-line-tax { grid-column: span 2; }
    .proposal-line-total { grid-column: span 4; }
}

/* ---------- 16. Premium bildirim ve hatırlatma deneyimi (mobile-first) ---------- */
.workflow-page-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--customer-line);
}
.workflow-page-header h1 { margin: 0.45rem 0 0; color: var(--customer-ink); font-size: clamp(1.85rem, 6vw, 2.65rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1.08; text-wrap: balance; }
.workflow-page-header p { max-width: 59ch; margin: 0.75rem 0 0; color: var(--customer-muted); font-size: 0.92rem; line-height: 1.65; text-wrap: pretty; }
.workflow-header-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; }
.workflow-header-status { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.55rem; padding: 0.55rem 0.78rem; border-radius: 999px; background: oklch(0.95 0.045 82); color: oklch(0.51 0.1 72); font-size: 0.7rem; font-weight: 750; box-shadow: inset 0 0 0 1px oklch(0.65 0.09 75 / 0.1); white-space: nowrap; }
.workflow-header-status > span { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0.24rem currentColor; opacity: 0.65; }
.workflow-header-status.is-calm { background: var(--customer-accent-soft); color: var(--customer-accent); }
.workflow-header-status.is-calm > span { animation: dashboard-breathe 2.6s ease-in-out infinite; }
.workflow-mark-all svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.workflow-list-panel,
.workflow-empty-state,
.reminder-overview {
    margin-top: 1rem;
    animation: customer-enter 460ms 100ms cubic-bezier(0.2, 0, 0, 1) both;
}
.workflow-list-panel,
.workflow-empty-state {
    border-radius: 1.5rem;
    background: var(--customer-paper);
    box-shadow:
        0 0 0 1px oklch(0 0 0 / 0.055),
        0 1rem 2.6rem oklch(0.2 0.025 175 / 0.05),
        inset 0 1px 0 oklch(1 0 0 / 0.8);
}
.workflow-list-panel { overflow: hidden; }
.workflow-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--customer-line); }
.workflow-list-head h2 { margin: 0.25rem 0 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.035em; }
.workflow-loading { padding: 1.25rem; }
.workflow-list-heading { width: 10rem; margin-bottom: 1rem; }
.workflow-row-skeleton { height: 5.25rem; margin-top: 0.5rem; border-radius: 0.9rem; }

.workflow-empty-state { min-height: 23rem; padding: clamp(2rem, 7vw, 4rem) 1.25rem; text-align: center; }
.workflow-empty-visual { position: relative; display: grid; width: 7.5rem; height: 7.5rem; place-items: center; margin: 0 auto 1.5rem; }
.workflow-empty-orbit { position: absolute; inset: 0; border: 1px solid oklch(0.48 0.105 170 / 0.12); border-radius: 50%; box-shadow: inset 0 0 0 0.7rem oklch(0.48 0.105 170 / 0.018); }
.workflow-empty-icon { position: relative; display: grid; width: 4.4rem; height: 4.4rem; place-items: center; border-radius: 1.35rem; background: var(--customer-accent-soft); color: var(--customer-accent); box-shadow: 0 1rem 2.4rem oklch(0.48 0.105 170 / 0.13), inset 0 0 0 1px oklch(0.48 0.105 170 / 0.08); }
.workflow-empty-icon svg { width: 2.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.notification-empty-icon { background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); box-shadow: 0 1rem 2.4rem oklch(0.5 0.1 245 / 0.13), inset 0 0 0 1px oklch(0.5 0.1 245 / 0.08); }
.workflow-empty-check { position: absolute; right: 0.28rem; bottom: 0.65rem; display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 0.8rem; background: var(--customer-dark); color: oklch(0.985 0.008 92); box-shadow: 0 0.65rem 1.5rem oklch(0.2 0.04 171 / 0.24), inset 0 1px 0 oklch(1 0 0 / 0.12); }
.workflow-empty-check svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.workflow-empty-state h2 { margin: 0.45rem 0 0; font-size: clamp(1.2rem, 4vw, 1.55rem); font-weight: 700; letter-spacing: -0.04em; }
.workflow-empty-state > p { max-width: 55ch; margin: 0.8rem auto 1.4rem; color: var(--customer-muted); font-size: 0.82rem; line-height: 1.65; text-wrap: pretty; }

.notification-list { padding: 0.35rem 0.75rem 0.75rem; }
.notification-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.8rem; padding: 1rem 0; border-bottom: 1px solid var(--customer-line); transition-property: background-color, box-shadow, transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.notification-card:last-child { border-bottom: 0; }
.notification-card.is-unread { margin-inline: -0.35rem; padding-inline: 0.35rem; border-radius: 1rem; background: oklch(0.975 0.016 248); }
.notification-card:hover { transform: translateY(-1px); }
.notification-type-icon { display: grid; width: 2.8rem; height: 2.8rem; flex: 0 0 auto; place-items: center; border-radius: 0.9rem; background: var(--customer-wash); color: var(--customer-muted); box-shadow: inset 0 0 0 1px var(--customer-line); }
.notification-type-icon svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.notification-type-icon.is-success { background: var(--customer-accent-soft); color: var(--customer-accent); box-shadow: inset 0 0 0 1px oklch(0.48 0.105 170 / 0.08); }
.notification-type-icon.is-danger { background: oklch(0.95 0.035 27); color: oklch(0.52 0.18 27); box-shadow: inset 0 0 0 1px oklch(0.52 0.18 27 / 0.08); }
.notification-type-icon.is-warning { background: oklch(0.95 0.045 82); color: oklch(0.51 0.1 72); box-shadow: inset 0 0 0 1px oklch(0.51 0.1 72 / 0.08); }
.notification-type-icon.is-info { background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); box-shadow: inset 0 0 0 1px oklch(0.5 0.1 245 / 0.08); }
.notification-content { min-width: 0; }
.notification-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; margin-bottom: 0.32rem; }
.notification-type-label { color: var(--customer-accent); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.notification-meta time { color: var(--customer-faint); font-size: 0.65rem; font-variant-numeric: tabular-nums; }
.notification-title { display: inline-flex; max-width: 100%; align-items: center; gap: 0.35rem; color: var(--customer-ink); font-size: 0.82rem; font-weight: 750; line-height: 1.45; }
.notification-title:hover { color: var(--customer-accent); }
.notification-title > svg { width: 0.95rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition-property: transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.notification-title:hover > svg { transform: translateX(0.18rem); }
.notification-content > p { max-width: 72ch; margin: 0.35rem 0 0; color: var(--customer-muted); font-size: 0.72rem; line-height: 1.6; text-wrap: pretty; }
.notification-state { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 0.35rem; }
.notification-new-badge { display: inline-flex; min-height: 1.75rem; align-items: center; gap: 0.4rem; padding: 0.28rem 0.55rem; border-radius: 999px; background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); font-size: 0.62rem; font-weight: 800; }
.notification-new-badge > span { width: 0.38rem; height: 0.38rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0.2rem currentColor; opacity: 0.55; }
.workflow-icon-action { display: grid; width: 2.95rem; height: 2.95rem; place-items: center; padding: 0; border: 0; border-radius: 0.85rem; background: transparent; color: var(--customer-faint); cursor: pointer; transition-property: background-color, color, scale; transition-duration: 160ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.workflow-icon-action:hover { background: var(--customer-accent-soft); color: var(--customer-accent); }
.workflow-icon-action:active { scale: 0.96; }
.workflow-icon-action svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.notification-read-state { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.35rem; color: var(--customer-faint); font-size: 0.64rem; font-weight: 650; }
.notification-read-state svg { width: 0.9rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.reminder-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.reminder-overview-card { display: flex; min-width: 0; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; border-radius: 1.2rem; background: var(--customer-paper); box-shadow: 0 0 0 1px oklch(0 0 0 / 0.055), 0 0.6rem 1.8rem oklch(0.2 0.025 175 / 0.045), inset 0 1px 0 oklch(1 0 0 / 0.8); }
.reminder-overview-icon { display: grid; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; place-items: center; border-radius: 0.8rem; background: var(--customer-wash); color: var(--customer-muted); }
.reminder-overview-icon svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.reminder-overview-card.is-primary .reminder-overview-icon { background: var(--customer-accent-soft); color: var(--customer-accent); }
.reminder-overview-card.is-urgent .reminder-overview-icon { background: oklch(0.95 0.035 27); color: oklch(0.52 0.18 27); }
.reminder-overview-card > div { display: flex; min-width: 0; flex: 1; align-items: baseline; justify-content: space-between; gap: 1rem; }
.reminder-overview-card span { color: var(--customer-muted); font-size: 0.7rem; font-weight: 650; }
.reminder-overview-card strong { color: var(--customer-ink); font-size: 1.25rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.reminder-list { display: grid; gap: 0.7rem; padding: 0.8rem; }
.reminder-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; padding: 0.95rem; border-radius: 1.35rem; background: var(--customer-wash); box-shadow: inset 0 0 0 1px var(--customer-line); transition-property: background-color, box-shadow, transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.reminder-card:hover { background: oklch(0.98 0.008 92); box-shadow: inset 0 0 0 1px oklch(0.48 0.105 170 / 0.14), 0 0.8rem 1.8rem oklch(0.2 0.025 175 / 0.045); transform: translateY(-1px); }
.reminder-card.is-overdue { box-shadow: inset 0.18rem 0 0 oklch(0.52 0.18 27), inset 0 0 0 1px var(--customer-line); }
.reminder-card.is-today { box-shadow: inset 0.18rem 0 0 oklch(0.58 0.13 78), inset 0 0 0 1px var(--customer-line); }
.reminder-date-block { display: grid; width: 3.7rem; min-height: 4.5rem; align-content: center; justify-items: center; border-radius: 1rem; background: var(--customer-paper); box-shadow: inset 0 0 0 1px var(--customer-line), 0 0.3rem 1rem oklch(0.2 0.025 175 / 0.035); font-variant-numeric: tabular-nums; }
.reminder-date-block > span { color: var(--customer-accent); font-size: 0.62rem; font-weight: 800; text-transform: uppercase; }
.reminder-date-block strong { margin: 0.05rem 0; color: var(--customer-ink); font-size: 1.25rem; font-weight: 750; line-height: 1.1; }
.reminder-date-block small { color: var(--customer-faint); font-size: 0.62rem; font-weight: 650; }
.reminder-content { min-width: 0; }
.reminder-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.65rem; }
.reminder-meta > span:last-child { color: var(--customer-faint); font-size: 0.62rem; font-weight: 650; }
.reminder-urgency { display: inline-flex; min-height: 1.65rem; align-items: center; gap: 0.38rem; padding: 0.23rem 0.5rem; border-radius: 999px; color: var(--customer-muted); background: var(--customer-paper); font-size: 0.6rem; font-weight: 800; }
.reminder-urgency > span { width: 0.36rem; height: 0.36rem; border-radius: 50%; background: currentColor; }
.reminder-urgency.is-overdue { color: oklch(0.52 0.18 27); background: oklch(0.95 0.035 27); }
.reminder-urgency.is-today { color: oklch(0.51 0.1 72); background: oklch(0.95 0.045 82); }
.reminder-urgency.is-upcoming { color: oklch(0.5 0.1 245); background: oklch(0.93 0.035 248); }
.reminder-content h3 { margin: 0.55rem 0 0; color: var(--customer-ink); font-size: 0.86rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.4; }
.reminder-proposal-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; margin-top: 0.7rem; padding: 0.65rem; border-radius: 0.9rem; background: var(--customer-paper); color: var(--customer-ink); box-shadow: inset 0 0 0 1px var(--customer-line); transition-property: background-color, box-shadow; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.reminder-proposal-link:hover { color: var(--customer-accent); background: oklch(0.99 0.006 92); box-shadow: inset 0 0 0 1px oklch(0.48 0.105 170 / 0.16); }
.reminder-proposal-icon { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: 0.68rem; background: oklch(0.93 0.035 248); color: oklch(0.5 0.1 245); }
.reminder-proposal-icon svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.reminder-proposal-link strong { display: block; overflow: hidden; font-size: 0.72rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.reminder-proposal-link small { display: block; margin-top: 0.12rem; color: var(--customer-faint); font-size: 0.62rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.reminder-link-arrow { width: 0.95rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition-property: transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.reminder-proposal-link:hover .reminder-link-arrow { transform: translateX(0.18rem); }
.reminder-note { margin: 0.6rem 0 0; color: var(--customer-muted); font-size: 0.7rem; line-height: 1.55; }
.reminder-actions { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
.reminder-complete-action,
.reminder-snooze-action { display: inline-flex; width: 100%; min-height: 3rem; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.65rem 0.8rem; border: 0; border-radius: 0.9rem; font: inherit; font-size: 0.7rem; font-weight: 750; cursor: pointer; transition-property: background-color, color, box-shadow, transform; transition-duration: 170ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.reminder-complete-action { background: var(--customer-dark); color: oklch(0.985 0.008 92); box-shadow: 0 0.55rem 1.3rem oklch(0.205 0.039 171 / 0.16), inset 0 1px 0 oklch(1 0 0 / 0.12); }
.reminder-complete-action:hover { background: oklch(0.27 0.055 171); transform: translateY(-1px); }
.reminder-snooze-action { background: var(--customer-paper); color: var(--customer-muted); box-shadow: inset 0 0 0 1px var(--customer-line); }
.reminder-snooze-action:hover { color: var(--customer-ink); background: oklch(0.99 0.006 92); }
.reminder-complete-action:active,
.reminder-snooze-action:active { transform: translateY(0) scale(0.96); }
.reminder-complete-action svg,
.reminder-snooze-action svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

@media (min-width: 40rem) {
    .workflow-page-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .workflow-header-actions { align-items: flex-end; }
    .notification-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 1rem 0.35rem; }
    .notification-state { grid-column: auto; min-width: 6.7rem; }
    .reminder-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reminder-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
    .notification-list { padding: 0.35rem 1.1rem 0.75rem; }
    .reminder-list { padding: 1rem; }
    .reminder-card { grid-template-columns: auto minmax(0, 1fr) minmax(9rem, 0.28fr); align-items: center; padding: 1rem; }
    .reminder-actions { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 64rem) {
    .workflow-header-actions { flex-direction: row; align-items: center; }
    .reminder-card { grid-template-columns: auto minmax(0, 1fr) auto; }
    .reminder-actions { display: flex; }
    .reminder-complete-action,
    .reminder-snooze-action { width: auto; min-width: 7.5rem; }
}

/* ---------- 17. Premium rapor deneyimi (mobile-first) ---------- */
.report-page { padding-bottom: 3rem; }
.report-page-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.35rem; }
.report-page-header h1 { margin: 0.42rem 0 0; color: var(--customer-ink); font-size: clamp(1.9rem, 7vw, 2.65rem); letter-spacing: -0.045em; }
.report-page-header p { max-width: 62ch; margin: 0.65rem 0 0; color: var(--customer-muted); font-size: 0.95rem; line-height: 1.65; }
.report-period-badge { display: inline-flex; align-items: center; align-self: flex-start; gap: 0.55rem; min-height: 2.75rem; padding: 0.65rem 0.85rem; border: 1px solid rgba(15, 118, 110, 0.16); border-radius: 0.9rem; background: rgba(236, 253, 245, 0.82); color: #0f766e; font-size: 0.8rem; font-weight: 800; white-space: nowrap; }
.report-period-badge svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.report-filter-panel { display: grid; gap: 1.25rem; padding: 1rem; border: 1px solid var(--customer-border); border-radius: 1.25rem; background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 14px 34px rgba(15, 23, 42, 0.055); }
.report-filter-intro { display: flex; align-items: flex-start; gap: 0.8rem; }
.report-filter-icon, .report-analysis-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.85rem; background: #ecfdf5; color: #047857; }
.report-filter-icon svg, .report-analysis-icon svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.report-filter-intro h2 { margin: 0.05rem 0 0; color: var(--customer-ink); font-size: 1rem; }
.report-filter-intro p { margin: 0.32rem 0 0; color: var(--customer-muted); font-size: 0.78rem; line-height: 1.5; }
.report-filter-controls { display: grid; gap: 0.85rem; }
.report-date-grid { display: grid; gap: 0.75rem; }
.report-date-field { display: grid; gap: 0.42rem; color: #475569; font-size: 0.72rem; font-weight: 800; }
.report-date-field > label { color: inherit; font: inherit; }
.report-date-input { position: relative; display: block; }
.report-date-input svg { position: absolute; top: 50%; right: 0.82rem; width: 1rem; transform: translateY(-50%); fill: none; stroke: #64748b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; pointer-events: none; }
.report-date-input > input[type="text"] { width: 100%; min-height: 2.9rem; padding: 0 2.45rem 0 0.8rem; border: 1px solid #dbe4e1; border-radius: 0.8rem; background: #fbfdfc; color: var(--customer-ink); font: inherit; font-size: 0.82rem; font-weight: 700; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.report-date-input > input[type="text"]:focus { border-color: #10b981; background: #fff; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12); }
.report-native-date-picker { position: absolute; top: 50%; right: 0.45rem; z-index: 2; width: 1.8rem; height: 2rem; padding: 0; transform: translateY(-50%); border: 0; opacity: 0; cursor: pointer; }
.report-native-date-picker::-webkit-calendar-picker-indicator { width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.report-native-date-picker:focus-visible { outline: 3px solid rgba(16, 185, 129, 0.25); outline-offset: 1px; opacity: 0.01; }
.report-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.report-preset { min-height: 2.75rem; padding: 0.6rem 0.7rem; border: 1px solid #dbe4e1; border-radius: 0.78rem; background: #fff; color: #475569; font: inherit; font-size: 0.76rem; font-weight: 800; cursor: pointer; transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.report-preset:hover { border-color: #86d3b8; color: #047857; background: #f2fbf7; }
.report-preset:focus-visible { outline: 3px solid rgba(16, 185, 129, 0.2); outline-offset: 2px; }
.report-preset:active { transform: scale(0.96); }
.report-preset.is-active { border-color: #059669; background: #ecfdf5; color: #047857; box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.08); }
.report-loading { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 15rem; margin-top: 1.25rem; border: 1px solid var(--customer-border); border-radius: 1.25rem; background: rgba(255,255,255,.72); color: var(--customer-muted); font-size: 0.88rem; font-weight: 700; }
.report-spinner { width: 1.15rem; height: 1.15rem; border: 2px solid #d1fae5; border-top-color: #059669; border-radius: 50%; animation: report-spin 700ms linear infinite; }
@keyframes report-spin { to { transform: rotate(360deg); } }
.report-performance { margin-top: 1.6rem; }
.report-section-heading { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 0.9rem; }
.report-section-kicker, .report-analysis-header > div > span { color: #059669; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.12em; }
.report-section-heading h2 { margin: 0.24rem 0 0; color: var(--customer-ink); font-size: 1.25rem; letter-spacing: -0.025em; }
.report-section-heading p { max-width: 60ch; margin: 0; color: var(--customer-muted); font-size: 0.76rem; line-height: 1.55; }
.report-metrics { display: grid; gap: 0.75rem; }
.report-metric { --metric-color: #0f766e; --metric-soft: #ecfdf5; position: relative; display: flex; align-items: flex-start; gap: 0.8rem; min-width: 0; padding: 1rem; overflow: hidden; border: 1px solid var(--customer-border); border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.035), 0 9px 22px rgba(15,23,42,.045); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.report-metric::after { position: absolute; right: -1.5rem; bottom: -2rem; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--metric-soft); content: ""; opacity: 0.72; }
.report-metric:hover { border-color: color-mix(in srgb, var(--metric-color) 27%, #dbe4e1); box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 16px 32px rgba(15,23,42,.07); transform: translateY(-2px); }
.report-metric-icon { position: relative; z-index: 1; display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: 0.78rem; background: var(--metric-soft); color: var(--metric-color); }
.report-metric-icon svg { width: 1.12rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.report-metric-copy { position: relative; z-index: 1; display: grid; min-width: 0; }
.report-metric-copy > span { color: #64748b; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.02em; }
.report-metric-copy strong { margin-top: 0.3rem; color: var(--customer-ink); font-size: clamp(1.45rem, 6vw, 1.85rem); line-height: 1; letter-spacing: -0.045em; }
.report-metric-copy small { min-height: 1.1rem; margin-top: 0.42rem; overflow: hidden; color: var(--metric-color); font-size: 0.67rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.report-metric-info { --metric-color: #2563eb; --metric-soft: #eff6ff; }
.report-metric-success { --metric-color: #059669; --metric-soft: #ecfdf5; }
.report-metric-danger { --metric-color: #dc2626; --metric-soft: #fef2f2; }
.report-metric-warning { --metric-color: #d97706; --metric-soft: #fffbeb; }
.report-metric-neutral { --metric-color: #64748b; --metric-soft: #f1f5f9; }
.report-metric-accent { --metric-color: #7c3aed; --metric-soft: #f5f3ff; }
.report-metric-dark { --metric-color: #334155; --metric-soft: #f1f5f9; }
.report-analysis-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
.report-analysis-card { display: flex; min-width: 0; min-height: 24rem; flex-direction: column; padding: 1rem; border: 1px solid var(--customer-border); border-radius: 1.2rem; background: rgba(255,255,255,.94); box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 14px 30px rgba(15,23,42,.05); }
.report-analysis-header { display: flex; align-items: flex-start; gap: 0.8rem; padding-bottom: 0.9rem; border-bottom: 1px solid #edf2f0; }
.report-analysis-icon-danger { background: #fef2f2; color: #dc2626; }
.report-analysis-icon-primary { background: #ecfdf5; color: #047857; }
.report-analysis-header h2 { margin: 0.2rem 0 0; color: var(--customer-ink); font-size: 1.05rem; letter-spacing: -0.02em; }
.report-analysis-header p { margin: 0.28rem 0 0; color: var(--customer-muted); font-size: 0.72rem; line-height: 1.45; }
.report-chart { display: grid; gap: 1rem; padding: 1.1rem 0 0.75rem; }
.report-chart-row { display: grid; gap: 0.48rem; }
.report-chart-label { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; color: #475569; font-size: 0.76rem; font-weight: 750; }
.report-chart-label strong { flex: 0 0 auto; color: var(--customer-ink); font-size: 0.8rem; }
.report-chart-label small { margin-left: 0.25rem; color: #94a3b8; font-size: 0.65rem; }
.report-chart-track { height: 0.55rem; overflow: hidden; border-radius: 999px; background: #f1f5f4; }
.report-chart-bar { display: block; width: var(--report-value); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #10b981, #059669); transition: width 320ms ease; }
.report-chart-bar.danger { background: linear-gradient(90deg, #fb7185, #e11d48); }
.report-chart-bar.success { background: linear-gradient(90deg, #34d399, #059669); }
.report-chart-bar.muted { background: linear-gradient(90deg, #cbd5e1, #94a3b8); }
.report-empty-state { display: grid; flex: 1; place-items: center; align-content: center; padding: 2rem 1rem; text-align: center; }
.report-empty-state > span { display: inline-grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 0.8rem; border: 1px solid #d1fae5; border-radius: 1.15rem; background: #f0fdf4; color: #059669; box-shadow: 0 10px 24px rgba(5,150,105,.1); }
.report-empty-state svg { width: 1.55rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.report-empty-state strong { color: var(--customer-ink); font-size: 0.95rem; }
.report-empty-state p { max-width: 34ch; margin: 0.45rem 0 0; color: var(--customer-muted); font-size: 0.75rem; line-height: 1.55; }
.report-analysis-note { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid #edf2f0; color: #64748b; font-size: 0.68rem; line-height: 1.5; }
@media (min-width: 40rem) {
    .report-date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-presets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
    .report-page-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .report-filter-panel { grid-template-columns: minmax(12rem, .7fr) minmax(38rem, 2fr); align-items: end; padding: 1.15rem 1.25rem; }
    .report-filter-controls { grid-template-columns: minmax(20rem, .85fr) minmax(22rem, 1fr); align-items: end; }
    .report-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .report-analysis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-analysis-card { padding: 1.2rem; }
    .report-section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .report-section-heading p { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
    .report-spinner { animation: none; }
    .report-metric, .report-preset, .report-chart-bar { transition: none; }
}

/* ---------- 18. Premium abonelik deneyimi (mobile-first) ---------- */
.subscription-page {
    --subscription-navy-950: oklch(0.205 0.038 255);
    --subscription-navy-900: oklch(0.255 0.044 255);
    --subscription-navy-800: oklch(0.315 0.049 255);
    --subscription-blue-700: oklch(0.49 0.15 255);
    --subscription-blue-100: oklch(0.935 0.025 255);
    --subscription-blue-50: oklch(0.973 0.011 255);
    padding-bottom: 3.5rem;
}
.subscription-page .customer-kicker { color: var(--subscription-blue-700); }
.subscription-page-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.2rem; }
.subscription-page-header h1 { margin: .42rem 0 0; color: var(--customer-ink); font-size: clamp(1.9rem, 7vw, 2.65rem); letter-spacing: -.045em; }
.subscription-page-header p { max-width: 62ch; margin: .65rem 0 0; color: var(--customer-muted); font-size: .95rem; line-height: 1.65; }
.subscription-security-badge { display: inline-flex; align-items: center; align-self: flex-start; gap: .55rem; min-height: 2.75rem; padding: .6rem .82rem; border-radius: .9rem; background: var(--subscription-blue-50); color: var(--subscription-navy-800); box-shadow: 0 0 0 1px oklch(0.315 0.049 255 / .12), 0 8px 18px oklch(0.205 0.038 255 / .06); font-size: .75rem; font-weight: 850; }
.subscription-security-badge svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.subscription-alert { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1rem; padding: .8rem .9rem; border-radius: .95rem; background: #fffbeb; color: #92400e; box-shadow: 0 0 0 1px rgba(217,119,6,.14), 0 8px 18px rgba(15,23,42,.04); font-size: .82rem; font-weight: 700; line-height: 1.5; }
.subscription-alert.success { background: #ecfdf5; color: #047857; box-shadow: 0 0 0 1px rgba(5,150,105,.14), 0 8px 18px rgba(15,23,42,.04); }
.subscription-alert.danger { margin-top: 1rem; background: #fef2f2; color: #b91c1c; box-shadow: 0 0 0 1px rgba(220,38,38,.14), 0 8px 18px rgba(15,23,42,.04); }
.subscription-alert-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 1.4rem; height: 1.4rem; margin-top: .02rem; border-radius: 50%; background: rgba(255,255,255,.7); }
.subscription-alert-icon svg { width: .92rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.subscription-loading { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 18rem; border-radius: 1.25rem; background: rgba(255,255,255,.76); color: var(--customer-muted); box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 16px 34px rgba(15,23,42,.05); font-size: .85rem; font-weight: 750; }
.subscription-loading > span, .subscription-button-spinner { width: 1rem; height: 1rem; border: 2px solid oklch(0.49 0.15 255 / .18); border-top-color: var(--subscription-blue-700); border-radius: 50%; animation: subscription-spin 700ms linear infinite; }
@keyframes subscription-spin { to { transform: rotate(360deg); } }
.subscription-current { overflow: hidden; border-radius: 1.35rem; background: linear-gradient(135deg, var(--subscription-navy-950) 0%, var(--subscription-navy-900) 58%, var(--subscription-navy-800) 100%); color: oklch(1 0 0); box-shadow: 0 0 0 1px oklch(0.205 0.038 255 / .16), 0 22px 48px oklch(0.205 0.038 255 / .2); }
.subscription-current-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.11); }
.subscription-current-title { display: flex; align-items: center; gap: .75rem; }
.subscription-current-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: .85rem; background: oklch(1 0 0 / .1); color: oklch(0.88 0.035 245); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .1); }
.subscription-current-icon svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.subscription-current-title span { color: oklch(0.82 0.035 245); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.subscription-current-title h2 { margin: .2rem 0 0; color: oklch(1 0 0); font-size: 1.25rem; letter-spacing: -.025em; }
.subscription-active-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .65rem; border-radius: 999px; background: oklch(1 0 0 / .1); color: oklch(0.96 0.018 160); font-size: .68rem; font-weight: 850; white-space: nowrap; }
.subscription-active-badge i { width: .42rem; height: .42rem; border-radius: 50%; background: oklch(0.765 0.177 163); box-shadow: 0 0 0 4px oklch(0.765 0.177 163 / .12); }
.subscription-usage-grid { display: grid; gap: .7rem; padding: .8rem; }
.subscription-usage-card { position: relative; min-width: 0; padding: .95rem; border-radius: 1rem; background: oklch(1 0 0 / .075); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .09); }
.subscription-usage-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: oklch(0.91 0.018 245); font-size: .7rem; font-weight: 750; }
.subscription-usage-label strong { color: oklch(0.84 0.035 245); font-size: .65rem; }
.subscription-usage-value { display: flex; align-items: baseline; gap: .4rem; margin-top: .55rem; }
.subscription-usage-value strong { color: oklch(1 0 0); font-size: clamp(1.45rem, 6vw, 1.9rem); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.subscription-usage-value span { color: oklch(0.78 0.025 245); font-size: .72rem; font-weight: 650; }
.subscription-price-value strong { font-size: clamp(1.25rem, 5vw, 1.65rem); }
.subscription-usage-card small { display: block; margin-top: .42rem; color: oklch(0.72 0.025 245); font-size: .65rem; }
.subscription-usage-card-icon { position: absolute; top: .85rem; right: .85rem; color: oklch(0.82 0.035 245 / .72); }
.subscription-usage-card-icon svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.subscription-quota-track { height: .45rem; margin-top: .75rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.subscription-quota-track > span { display: block; width: var(--subscription-quota); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#6ee7b7,#34d399); transition: width 240ms ease; }
.subscription-quota-track > span.warn { background: linear-gradient(90deg,#fde68a,#f59e0b); }
.subscription-quota-track > span.full { background: linear-gradient(90deg,#fda4af,#f43f5e); }
.subscription-plans, .subscription-payments { margin-top: 1.7rem; }
.subscription-section-heading { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .9rem; }
.subscription-section-heading > div > span { color: var(--subscription-blue-700); font-size: .64rem; font-weight: 900; letter-spacing: .12em; }
.subscription-section-heading h2 { margin: .25rem 0 0; color: var(--customer-ink); font-size: 1.2rem; letter-spacing: -.025em; }
.subscription-section-heading p { max-width: 48ch; margin: 0; color: var(--customer-muted); font-size: .75rem; line-height: 1.5; }
.subscription-plan-grid { display: grid; gap: .85rem; }
.subscription-plan-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 1rem; border-radius: 1.15rem; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 2px 4px rgba(15,23,42,.025), 0 14px 30px rgba(15,23,42,.05); transition: box-shadow 180ms ease, transform 180ms ease; }
.subscription-plan-card:hover { box-shadow: 0 0 0 1px oklch(0.49 0.15 255 / .2), 0 3px 6px oklch(0.205 0.038 255 / .035), 0 20px 40px oklch(0.205 0.038 255 / .075); transform: translateY(-2px); }
.subscription-plan-card.featured { background: linear-gradient(180deg,var(--subscription-blue-50) 0%,oklch(1 0 0) 42%); box-shadow: 0 0 0 1.5px var(--subscription-blue-700), 0 18px 38px oklch(0.49 0.15 255 / .11); }
.subscription-plan-card.current { background: #f6fffb; box-shadow: 0 0 0 1.5px #059669, 0 15px 32px rgba(5,150,105,.09); }
.subscription-plan-topline { display: flex; min-height: 2.4rem; align-items: center; justify-content: space-between; gap: .6rem; }
.subscription-plan-symbol { display: inline-grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: .75rem; background: #f1f5f4; color: #64748b; }
.subscription-plan-card.featured .subscription-plan-symbol { background: var(--subscription-blue-100); color: var(--subscription-blue-700); }
.subscription-plan-card.current .subscription-plan-symbol { background: oklch(0.95 0.045 160); color: oklch(0.46 0.105 160); }
.subscription-plan-symbol svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.subscription-plan-badge { padding: .4rem .62rem; border-radius: 999px; font-size: .65rem; font-weight: 900; }
.subscription-plan-badge.featured { background: var(--subscription-navy-900); color: oklch(0.94 0.025 245); }
.subscription-plan-badge.current { background: #d1fae5; color: #047857; }
.subscription-plan-card h3 { margin: .95rem 0 0; color: var(--customer-ink); font-size: 1.05rem; }
.subscription-plan-price { display: flex; align-items: baseline; gap: .3rem; margin-top: .42rem; }
.subscription-plan-price strong { color: var(--customer-ink); font-size: 1.75rem; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.subscription-plan-price span { color: var(--customer-muted); font-size: .72rem; font-weight: 650; }
.subscription-plan-card > p { min-height: 3.5rem; margin: .65rem 0 0; color: var(--customer-muted); font-size: .72rem; line-height: 1.55; }
.subscription-plan-features { display: grid; gap: .55rem; flex: 1; margin: .9rem 0 1rem; padding: .85rem 0 0; border-top: 1px solid #edf2f0; list-style: none; }
.subscription-plan-features li { display: flex; align-items: center; gap: .55rem; color: #475569; font-size: .75rem; }
.subscription-plan-features li > span { display: inline-grid; flex: 0 0 auto; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--subscription-blue-50); color: var(--subscription-blue-700); font-size: .68rem; font-weight: 900; }
.subscription-plan-action { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 2.8rem; padding: .65rem .85rem; border: 0; border-radius: .78rem; background: #fff; color: #334155; box-shadow: 0 0 0 1px #dbe4e1, 0 5px 12px rgba(15,23,42,.04); font: inherit; font-size: .76rem; font-weight: 850; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.subscription-plan-action.primary { background: var(--subscription-navy-900); color: oklch(1 0 0); box-shadow: 0 0 0 1px var(--subscription-navy-900), 0 9px 18px oklch(0.205 0.038 255 / .2); }
.subscription-plan-action:not(:disabled):hover { background: var(--subscription-blue-50); color: var(--subscription-navy-800); box-shadow: 0 0 0 1px var(--subscription-blue-100), 0 8px 18px oklch(0.205 0.038 255 / .08); }
.subscription-plan-action.primary:not(:disabled):hover { background: var(--subscription-navy-950); color: oklch(1 0 0); box-shadow: 0 0 0 1px var(--subscription-navy-950), 0 11px 22px oklch(0.205 0.038 255 / .25); }
.subscription-plan-action:not(:disabled):active { transform: scale(.96); }
.subscription-plan-action:focus-visible { outline: 3px solid oklch(0.49 0.15 255 / .22); outline-offset: 2px; }
.subscription-plan-action:disabled { cursor: not-allowed; opacity: .65; }
.subscription-plan-action.is-current { background: #ecfdf5; color: #047857; box-shadow: 0 0 0 1px #a7f3d0; opacity: 1; }
.subscription-plan-action svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.subscription-button-spinner { width: .85rem; height: .85rem; border-color: rgba(255,255,255,.32); border-top-color: currentColor; }
.subscription-payments { padding: 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.92); box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 15px 32px rgba(15,23,42,.05); }
.subscription-empty-state { display: grid; min-height: 13rem; place-items: center; align-content: center; padding: 1.2rem; text-align: center; }
.subscription-empty-state > span { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: .8rem; border-radius: 1rem; background: var(--subscription-blue-50); color: var(--subscription-blue-700); box-shadow: 0 0 0 1px var(--subscription-blue-100), 0 10px 22px oklch(0.205 0.038 255 / .08); }
.subscription-empty-state svg { width: 1.45rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.subscription-empty-state strong { color: var(--customer-ink); font-size: .9rem; }
.subscription-empty-state p { max-width: 38ch; margin: .45rem 0 0; color: var(--customer-muted); font-size: .74rem; line-height: 1.55; }
.subscription-table-wrap { width: 100%; overflow-x: auto; border-radius: .8rem; box-shadow: inset 0 0 0 1px #edf2f0; }
.subscription-table { min-width: 42rem; margin: 0; box-shadow: none; }
.subscription-table td { vertical-align: middle; }
.subscription-table td strong { color: var(--customer-ink); }
.checkout-overlay { padding: 1rem; backdrop-filter: blur(5px); }
.checkout-dialog { overflow: hidden; border-radius: 1.2rem; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 28px 70px rgba(2,20,17,.3); }
.checkout-header { min-height: 3.2rem; padding: .75rem 1rem; background: oklch(0.205 0.038 255); color: oklch(1 0 0); }
.checkout-close { min-width: 2.75rem; min-height: 2.75rem; border-radius: .72rem; transition: background-color 150ms ease, transform 120ms ease; }
.checkout-close:active { transform: scale(.96); }
@media (min-width: 40rem) {
    .subscription-usage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .subscription-usage-wide { grid-column: 1/-1; }
    .subscription-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 64rem) {
    .subscription-page-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .subscription-current-head { padding: 1.15rem 1.25rem; }
    .subscription-usage-grid { grid-template-columns: 1.4fr 1fr 1fr; padding: 1rem; }
    .subscription-usage-wide { grid-column: auto; }
    .subscription-section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .subscription-section-heading p { text-align: right; }
    .subscription-plan-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .subscription-payments { padding: 1.15rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .subscription-loading > span, .subscription-button-spinner { animation: none; }
    .subscription-plan-card, .subscription-plan-action, .subscription-quota-track > span, .checkout-close { transition: none; }
}

/* ---------- 19. Premium işletme ayarları (mobile-first) ---------- */
.business-settings-page { max-width: 78rem; padding-bottom: 3.5rem; }
.business-settings-page .customer-kicker { color: #475569; }
.business-settings-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.2rem; }
.business-settings-header h1 { margin: .42rem 0 0; color: var(--customer-ink); font-size: clamp(1.9rem,7vw,2.65rem); letter-spacing: -.045em; }
.business-settings-header p { max-width: 62ch; margin: .65rem 0 0; color: var(--customer-muted); font-size: .95rem; line-height: 1.65; }
.business-settings-context { display: inline-flex; align-items: center; align-self: flex-start; gap: .55rem; min-height: 2.75rem; padding: .6rem .82rem; border-radius: .9rem; background: #f8fafc; color: #475569; box-shadow: 0 0 0 1px rgba(15,23,42,.08), 0 8px 18px rgba(15,23,42,.045); font-size: .78rem; font-weight: 800; }
.business-settings-context svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.business-settings-loading { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 18rem; border-radius: 1.25rem; background: rgba(255,255,255,.78); color: #64748b; box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 16px 34px rgba(15,23,42,.05); font-size: .875rem; font-weight: 750; }
.business-settings-loading > span { width: 1rem; height: 1rem; border: 2px solid rgba(71,85,105,.16); border-top-color: #475569; border-radius: 50%; animation: business-settings-spin 700ms linear infinite; }
@keyframes business-settings-spin { to { transform: rotate(360deg); } }
.business-settings-form { display: grid; gap: 1rem; }
.business-settings-grid { display: grid; gap: 1rem; }
.business-settings-side { display: grid; align-content: start; gap: 1rem; }
.business-settings-card { min-width: 0; padding: 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 2px 4px rgba(15,23,42,.025), 0 16px 34px rgba(15,23,42,.055); }
.business-settings-card-header { display: flex; align-items: flex-start; gap: .78rem; padding-bottom: .95rem; border-bottom: 1px solid #edf2f0; }
.business-settings-card-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .82rem; background: #f1f5f9; color: #475569; }
.business-settings-card-icon.blue { background: #eff6ff; color: #2563eb; }
.business-settings-card-icon.amber { background: #fffbeb; color: #b45309; }
.business-settings-card-icon svg { width: 1.18rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.business-settings-card-header > div > span { color: #64748b; font-size: .68rem; font-weight: 900; letter-spacing: .11em; }
.business-settings-card-header h2 { margin: .22rem 0 0; color: var(--customer-ink); font-size: 1.02rem; letter-spacing: -.02em; }
.business-settings-card-header p { margin: .3rem 0 0; color: var(--customer-muted); font-size: .76rem; line-height: 1.5; }
.business-settings-fields { display: grid; gap: .85rem; padding-top: 1rem; }
.business-field { display: grid; min-width: 0; align-content: start; gap: .42rem; }
.business-field label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #334155; font-size: .8rem; font-weight: 800; }
.business-required { padding: .24rem .45rem; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: .62rem; font-weight: 850; }
.business-field small { color: #64748b; font-size: .7rem; line-height: 1.45; }
.business-field input, .business-field textarea { width: 100%; min-height: 2.9rem; padding: .7rem .8rem; border: 1px solid #dbe4e1; border-radius: .78rem; background: #fbfdfc; color: var(--customer-ink); font: inherit; font-size: .875rem; font-weight: 650; outline: none; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.business-field textarea { min-height: 6.7rem; resize: vertical; line-height: 1.55; }
.business-field input::placeholder, .business-field textarea::placeholder { color: #94a3b8; font-weight: 500; }
.business-field input:hover, .business-field textarea:hover { border-color: #b9c6c2; background: #fff; }
.business-field input:focus, .business-field textarea:focus { border-color: #64748b; background: #fff; box-shadow: 0 0 0 3px rgba(100,116,139,.13); }
.business-input-with-icon, .business-input-suffix { position: relative; }
.business-input-with-icon > svg { position: absolute; top: 50%; left: .78rem; z-index: 1; width: 1rem; transform: translateY(-50%); fill: none; stroke: #64748b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; pointer-events: none; }
.business-input-with-icon input { padding-left: 2.45rem; }
.business-input-suffix > span { position: absolute; top: 50%; right: .78rem; transform: translateY(-50%); color: #64748b; font-size: .75rem; font-weight: 800; pointer-events: none; }
.business-input-suffix input { padding-right: 2.8rem; font-variant-numeric: tabular-nums; }
.business-settings-actions { display: flex; flex-direction: column; gap: .85rem; padding: .9rem; border-radius: 1.05rem; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 12px 26px rgba(15,23,42,.045); }
.business-settings-status { min-height: 1.5rem; }
.business-settings-message { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.25rem; padding: .42rem .65rem; border-radius: .7rem; font-size: .76rem; font-weight: 800; }
.business-settings-message.success { background: #ecfdf5; color: #047857; }
.business-settings-message.error { background: #fef2f2; color: #b91c1c; }
.business-settings-message svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.business-settings-message.error strong { display: inline-grid; place-items: center; width: 1rem; height: 1rem; border: 1px solid currentColor; border-radius: 50%; font-size: .68rem; }
.business-settings-save { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; min-height: 2.9rem; padding: .7rem 1rem .7rem 1.1rem; border: 0; border-radius: .8rem; background: #1e293b; color: #fff; box-shadow: 0 0 0 1px #1e293b, 0 9px 18px rgba(15,23,42,.18); font: inherit; font-size: .82rem; font-weight: 850; cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.business-settings-save:hover { background: #0f172a; box-shadow: 0 0 0 1px #0f172a, 0 12px 22px rgba(15,23,42,.24); }
.business-settings-save:focus-visible { outline: 3px solid rgba(100,116,139,.25); outline-offset: 2px; }
.business-settings-save:active { transform: scale(.96); }
.business-settings-save svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
@media (min-width: 40rem) {
    .business-settings-fields-two, .business-settings-defaults { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .business-field-wide { grid-column: 1/-1; }
    .business-settings-actions { flex-direction: row; align-items: center; justify-content: space-between; }
    .business-settings-save { width: auto; min-width: 13rem; }
}
@media (min-width: 64rem) {
    .business-settings-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .business-settings-grid { grid-template-columns: minmax(0,1.35fr) minmax(20rem,.85fr); align-items: start; }
    .business-settings-card { padding: 1.15rem; }
    .business-settings-profile { min-height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .business-settings-loading > span { animation: none; }
    .business-field input, .business-field textarea, .business-settings-save { transition: none; }
}

/* ---------- 20. Premium PDF teklif yükleme (mobile-first) ---------- */
.pdf-upload-page { max-width: 78rem; padding-bottom: 3.5rem; }
.pdf-upload-page .customer-kicker { color: #475569; }
.pdf-upload-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.2rem; }
.pdf-upload-header h1 { margin: .42rem 0 0; color: var(--customer-ink); font-size: clamp(1.9rem,7vw,2.65rem); letter-spacing: -.045em; }
.pdf-upload-header p { max-width: 64ch; margin: .65rem 0 0; color: var(--customer-muted); font-size: .95rem; line-height: 1.65; }
.pdf-upload-back { display: inline-flex; align-items: center; align-self: flex-start; gap: .42rem; min-height: 2.75rem; padding: .6rem .82rem .6rem .72rem; border-radius: .82rem; background: #fff; color: #475569; box-shadow: 0 0 0 1px rgba(15,23,42,.08), 0 7px 16px rgba(15,23,42,.045); font-size: .8rem; font-weight: 800; text-decoration: none; transition: color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.pdf-upload-back:hover { color: #0f172a; box-shadow: 0 0 0 1px rgba(15,23,42,.13), 0 10px 20px rgba(15,23,42,.07); }
.pdf-upload-back:active { transform: scale(.96); }
.pdf-upload-back:focus-visible { outline: 3px solid rgba(100,116,139,.22); outline-offset: 2px; }
.pdf-upload-back svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.pdf-upload-layout, .pdf-upload-main { display: grid; gap: 1rem; }
.pdf-upload-card { min-width: 0; padding: 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 2px 4px rgba(15,23,42,.025), 0 16px 34px rgba(15,23,42,.055); }
.pdf-upload-card-header { display: flex; align-items: flex-start; gap: .78rem; padding-bottom: .95rem; border-bottom: 1px solid #edf2f0; }
.pdf-upload-card-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .82rem; background: #f1f5f9; color: #475569; }
.pdf-upload-card-icon.pdf { background: #fef2f2; color: #dc2626; }
.pdf-upload-card-icon svg { width: 1.18rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.pdf-upload-card-header > div > span { color: #64748b; font-size: .68rem; font-weight: 900; letter-spacing: .11em; }
.pdf-upload-card-header h2 { margin: .22rem 0 0; color: var(--customer-ink); font-size: 1.02rem; letter-spacing: -.02em; }
.pdf-upload-card-header p { margin: .3rem 0 0; color: var(--customer-muted); font-size: .76rem; line-height: 1.5; }
.pdf-upload-fields { display: grid; gap: .85rem; padding-top: 1rem; }
.pdf-upload-field { display: grid; min-width: 0; align-content: start; gap: .42rem; }
.pdf-upload-field label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #334155; font-size: .8rem; font-weight: 800; }
.pdf-upload-field label > span { padding: .22rem .42rem; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: .62rem; font-weight: 850; }
.pdf-upload-field > input, .pdf-upload-field select, .pdf-upload-input-suffix > input, .pdf-upload-date-input > input[type="text"] { width: 100%; min-height: 2.9rem; padding: .7rem .8rem; border: 1px solid #dbe4e1; border-radius: .78rem; background: #fbfdfc; color: var(--customer-ink); font: inherit; font-size: .875rem; font-weight: 650; outline: none; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.pdf-upload-field > input:hover, .pdf-upload-field select:hover, .pdf-upload-input-suffix > input:hover, .pdf-upload-date-input > input[type="text"]:hover { border-color: #b9c6c2; background: #fff; }
.pdf-upload-field > input:focus, .pdf-upload-field select:focus, .pdf-upload-input-suffix > input:focus, .pdf-upload-date-input > input[type="text"]:focus { border-color: #64748b; background: #fff; box-shadow: 0 0 0 3px rgba(100,116,139,.13); }
.pdf-upload-field input::placeholder { color: #94a3b8; font-weight: 500; }
.pdf-upload-currency { text-transform: uppercase; }
.pdf-upload-input-suffix, .pdf-upload-date-input { position: relative; }
.pdf-upload-input-suffix > span { position: absolute; top: 50%; right: .78rem; transform: translateY(-50%); color: #64748b; font-size: .72rem; font-weight: 850; pointer-events: none; }
.pdf-upload-input-suffix > input { padding-right: 3.3rem; font-variant-numeric: tabular-nums; }
.pdf-upload-date-input > svg { position: absolute; top: 50%; right: .8rem; width: 1rem; transform: translateY(-50%); fill: none; stroke: #64748b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; pointer-events: none; }
.pdf-upload-date-input > input[type="text"] { padding-right: 2.45rem; }
.pdf-upload-native-date { position: absolute; top: 50%; right: .42rem; z-index: 2; width: 1.85rem; height: 2rem; padding: 0; transform: translateY(-50%); border: 0; opacity: 0; cursor: pointer; }
.pdf-upload-native-date::-webkit-calendar-picker-indicator { width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.pdf-upload-native-date:focus-visible { outline: 3px solid rgba(100,116,139,.24); outline-offset: 1px; opacity: .01; }
.pdf-upload-dropzone { position: relative; margin-top: 1rem; overflow: hidden; border-radius: 1rem; background: #f8fafc; box-shadow: inset 0 0 0 1.5px #cbd5e1; transition: background-color 180ms ease, box-shadow 180ms ease; }
.pdf-upload-dropzone:hover, .pdf-upload-dropzone:focus-within { background: #f1f5f9; box-shadow: inset 0 0 0 1.5px #64748b, 0 10px 22px rgba(15,23,42,.055); }
.pdf-upload-dropzone.has-file { background: #f6fffb; box-shadow: inset 0 0 0 1.5px #86d3b8; }
.pdf-upload-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pdf-upload-dropzone-label { display: grid; min-height: 14rem; place-items: center; align-content: center; padding: 1.25rem; color: #334155; text-align: center; cursor: pointer; }
.pdf-upload-dropzone-label:focus-visible { outline: 3px solid rgba(100,116,139,.22); outline-offset: -4px; }
.pdf-upload-dropzone-icon, .pdf-upload-file-status { display: inline-grid; place-items: center; width: 3.35rem; height: 3.35rem; margin-bottom: .75rem; border-radius: 1rem; background: #fff; color: #475569; box-shadow: 0 0 0 1px rgba(15,23,42,.08), 0 10px 22px rgba(15,23,42,.08); }
.pdf-upload-file-status { background: #ecfdf5; color: #059669; box-shadow: 0 0 0 1px #d1fae5, 0 10px 22px rgba(5,150,105,.08); }
.pdf-upload-dropzone-icon svg, .pdf-upload-file-status svg { width: 1.45rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.pdf-upload-dropzone-label strong { max-width: 100%; color: var(--customer-ink); font-size: .95rem; }
.pdf-upload-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-upload-dropzone-label p { margin: .42rem 0 0; color: #64748b; font-size: .78rem; }
.pdf-upload-browse { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin-top: .85rem; padding: .6rem .9rem; border-radius: .72rem; background: #fff; color: #334155; box-shadow: 0 0 0 1px #cbd5e1, 0 5px 12px rgba(15,23,42,.04); font-size: .78rem; font-weight: 850; }
.pdf-upload-alert { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem .9rem; border-radius: .85rem; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.pdf-upload-alert > strong { display: inline-grid; flex: 0 0 auto; place-items: center; width: 1.25rem; height: 1.25rem; border: 1px solid currentColor; border-radius: 50%; font-size: .7rem; }
.pdf-upload-alert.warning { background: #fffbeb; color: #92400e; box-shadow: 0 0 0 1px rgba(217,119,6,.14); }
.pdf-upload-alert.danger { background: #fef2f2; color: #b91c1c; box-shadow: 0 0 0 1px rgba(220,38,38,.14); }
.pdf-upload-alert a { color: inherit; font-weight: 900; }
.pdf-upload-actions { display: flex; flex-direction: column-reverse; gap: .65rem; padding: .85rem; border-radius: 1rem; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 12px 26px rgba(15,23,42,.045); }
.pdf-upload-cancel, .pdf-upload-save { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .68rem .95rem; border: 0; border-radius: .78rem; font: inherit; font-size: .82rem; font-weight: 850; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.pdf-upload-cancel { background: #fff; color: #475569; box-shadow: inset 0 0 0 1px #dbe4e1; }
.pdf-upload-cancel:hover { background: #f8fafc; color: #0f172a; }
.pdf-upload-save { background: #047857; color: #fff; box-shadow: 0 0 0 1px #047857, 0 9px 18px rgba(4,120,87,.2); }
.pdf-upload-save:not(:disabled):hover { background: #065f46; box-shadow: 0 0 0 1px #065f46, 0 12px 22px rgba(4,120,87,.25); }
.pdf-upload-cancel:active, .pdf-upload-save:not(:disabled):active { transform: scale(.96); }
.pdf-upload-cancel:focus-visible, .pdf-upload-save:focus-visible { outline: 3px solid rgba(100,116,139,.24); outline-offset: 2px; }
.pdf-upload-save:disabled { cursor: wait; opacity: .72; }
.pdf-upload-save svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.pdf-upload-spinner { width: .92rem; height: .92rem; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: pdf-upload-spin 700ms linear infinite; }
@keyframes pdf-upload-spin { to { transform: rotate(360deg); } }
.pdf-upload-aside { display: grid; align-content: start; gap: .8rem; }
.pdf-upload-guide { padding: 1.15rem; border-radius: 1.2rem; background: linear-gradient(145deg,#1e293b,#0f172a); color: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.18), 0 20px 44px rgba(15,23,42,.16); }
.pdf-upload-guide-icon { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1rem; border-radius: .88rem; background: rgba(255,255,255,.1); color: #cbd5e1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pdf-upload-guide-icon svg, .pdf-upload-security-note svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.pdf-upload-guide-kicker { display: block; color: #94a3b8; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.pdf-upload-guide h2 { margin: .35rem 0 0; color: #fff; font-size: 1.15rem; letter-spacing: -.025em; }
.pdf-upload-guide > p { margin: .65rem 0 0; color: #cbd5e1; font-size: .78rem; line-height: 1.6; }
.pdf-upload-guide ol { display: grid; gap: .9rem; margin: 1.15rem 0 0; padding: 1rem 0 0; border-top: 1px solid rgba(255,255,255,.1); list-style: none; }
.pdf-upload-guide li { display: flex; align-items: flex-start; gap: .7rem; }
.pdf-upload-guide li > span { display: inline-grid; flex: 0 0 auto; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(255,255,255,.1); color: #e2e8f0; font-size: .7rem; font-weight: 900; }
.pdf-upload-guide li strong, .pdf-upload-guide li small { display: block; }
.pdf-upload-guide li strong { color: #f8fafc; font-size: .78rem; }
.pdf-upload-guide li small { margin-top: .2rem; color: #94a3b8; font-size: .68rem; line-height: 1.4; }
.pdf-upload-security-note { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem; border-radius: .85rem; background: #f8fafc; color: #64748b; box-shadow: 0 0 0 1px rgba(15,23,42,.07); font-size: .72rem; line-height: 1.5; }
.pdf-upload-security-note svg { flex: 0 0 auto; width: 1.05rem; margin-top: .1rem; color: #475569; }
.pdf-upload-security-note strong { color: #334155; }
@media (min-width: 40rem) {
    .pdf-upload-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pdf-upload-actions { flex-direction: row; justify-content: flex-end; }
    .pdf-upload-cancel, .pdf-upload-save { min-width: 9rem; }
}
@media (min-width: 64rem) {
    .pdf-upload-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .pdf-upload-layout { grid-template-columns: minmax(0,1fr) minmax(17rem,.34fr); align-items: start; }
    .pdf-upload-card { padding: 1.15rem; }
    .pdf-upload-aside { position: sticky; top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pdf-upload-spinner { animation: none; }
    .pdf-upload-back, .pdf-upload-field input, .pdf-upload-field select, .pdf-upload-dropzone, .pdf-upload-cancel, .pdf-upload-save { transition: none; }
}

/* ---------- 21. Premium teklif detay operasyonları (mobile-first) ---------- */
.proposal-operations-page { max-width: 82rem; padding-bottom: 3.5rem; }
.proposal-operations-loading { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 20rem; border-radius: 1.25rem; background: rgba(255,255,255,.8); color: #64748b; box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 16px 34px rgba(15,23,42,.05); font-size: .875rem; font-weight: 750; }
.proposal-operations-loading > span { width: 1rem; height: 1rem; border: 2px solid rgba(71,85,105,.16); border-top-color: #475569; border-radius: 50%; animation: proposal-operations-spin 700ms linear infinite; }
@keyframes proposal-operations-spin { to { transform: rotate(360deg); } }
.proposal-operations-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.proposal-operations-title { display: flex; align-items: flex-start; gap: .75rem; min-width: 0; }
.proposal-operations-back { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .85rem; background: #fff; color: #475569; box-shadow: 0 0 0 1px rgba(15,23,42,.08), 0 7px 16px rgba(15,23,42,.05); transition: color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.proposal-operations-back:hover { color: #0f172a; box-shadow: 0 0 0 1px rgba(15,23,42,.14), 0 10px 22px rgba(15,23,42,.08); }
.proposal-operations-back:active { transform: scale(.96); }
.proposal-operations-back:focus-visible { outline: 3px solid rgba(100,116,139,.22); outline-offset: 2px; }
.proposal-operations-back svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.proposal-operations-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: #64748b; font-size: .75rem; font-weight: 850; letter-spacing: .04em; }
.proposal-operations-title h1 { max-width: 24ch; margin: .42rem 0 0; color: var(--customer-ink); font-size: clamp(1.65rem,6vw,2.4rem); letter-spacing: -.045em; line-height: 1.12; overflow-wrap: anywhere; }
.proposal-operations-title p { margin: .5rem 0 0; color: var(--customer-muted); font-size: .875rem; line-height: 1.5; }
.proposal-operations-header-actions, .proposal-operations-lifecycle-actions, .proposal-operations-action-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.proposal-operations-button { display: inline-flex; align-items: center; justify-content: center; gap: .48rem; min-height: 2.8rem; padding: .65rem .85rem .65rem .9rem; border: 0; border-radius: .78rem; background: #1e293b; color: #fff; box-shadow: 0 0 0 1px #1e293b, 0 8px 16px rgba(15,23,42,.16); font: inherit; font-size: .78rem; font-weight: 850; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.proposal-operations-button.secondary { background: #fff; color: #475569; box-shadow: 0 0 0 1px #dbe4e1, 0 5px 12px rgba(15,23,42,.04); }
.proposal-operations-button.primary { background: #047857; color: #fff; box-shadow: 0 0 0 1px #047857, 0 8px 16px rgba(4,120,87,.18); }
.proposal-operations-button.danger { background: #fff; color: #b91c1c; box-shadow: 0 0 0 1px #fecaca, 0 5px 12px rgba(185,28,28,.05); }
.proposal-operations-button:not(:disabled):hover { background: #0f172a; color: #fff; box-shadow: 0 0 0 1px #0f172a, 0 11px 22px rgba(15,23,42,.22); }
.proposal-operations-button.secondary:not(:disabled):hover { background: #f8fafc; color: #0f172a; box-shadow: 0 0 0 1px #cbd5e1, 0 8px 16px rgba(15,23,42,.07); }
.proposal-operations-button.primary:not(:disabled):hover { background: #065f46; box-shadow: 0 0 0 1px #065f46, 0 11px 22px rgba(4,120,87,.23); }
.proposal-operations-button.danger:not(:disabled):hover { background: #fef2f2; color: #991b1b; box-shadow: 0 0 0 1px #fca5a5, 0 8px 16px rgba(185,28,28,.08); }
.proposal-operations-button:not(:disabled):active { transform: scale(.96); }
.proposal-operations-button:focus-visible { outline: 3px solid rgba(100,116,139,.24); outline-offset: 2px; }
.proposal-operations-button:disabled { cursor: wait; opacity: .65; }
.proposal-operations-button svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.proposal-operations-summary { display: grid; gap: .65rem; margin: 0 0 1rem; }
.proposal-operations-summary > div { min-width: 0; padding: .82rem .9rem; border-radius: .95rem; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 9px 20px rgba(15,23,42,.04); }
.proposal-operations-summary > div.primary { background: #f8fafc; box-shadow: 0 0 0 1px #cbd5e1, 0 12px 24px rgba(15,23,42,.06); }
.proposal-operations-summary > div.danger { background: #fff7f7; }
.proposal-operations-summary dt { color: #64748b; font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.proposal-operations-summary dd { margin: .34rem 0 0; overflow: hidden; color: #1e293b; font-size: .83rem; font-weight: 750; line-height: 1.4; text-overflow: ellipsis; }
.proposal-operations-summary .primary dd { font-size: 1.35rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.proposal-operations-summary dd small { color: #64748b; font-size: .7rem; }
.proposal-operations-summary a { color: #334155; }
.proposal-operations-lifecycle { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1rem; padding: .9rem; border-radius: 1rem; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 12px 26px rgba(15,23,42,.045); }
.proposal-operations-lifecycle > div:first-child { display: grid; gap: .2rem; }
.proposal-operations-lifecycle > div:first-child > strong { color: #334155; font-size: .85rem; }
.proposal-operations-section-kicker { color: #64748b; font-size: .65rem; font-weight: 900; letter-spacing: .11em; }
.proposal-operations-layout, .proposal-operations-main { display: grid; gap: 1rem; }
.proposal-operations-card { min-width: 0; padding: 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(15,23,42,.065), 0 2px 4px rgba(15,23,42,.025), 0 16px 34px rgba(15,23,42,.055); }
.proposal-operations-card-header { display: flex; align-items: flex-start; gap: .75rem; padding-bottom: .95rem; border-bottom: 1px solid #edf2f0; }
.proposal-operations-card-header.simple { align-items: center; justify-content: space-between; }
.proposal-operations-card-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .82rem; background: #f1f5f9; color: #475569; }
.proposal-operations-card-icon svg { width: 1.18rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.proposal-operations-card-header h2 { margin: .22rem 0 0; color: var(--customer-ink); font-size: 1.03rem; letter-spacing: -.02em; }
.proposal-operations-card-header h2 + p { margin: .3rem 0 0; color: #64748b; font-size: .76rem; line-height: 1.5; }
.proposal-operations-count { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .45rem; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .72rem; font-weight: 900; }
.proposal-share-result { display: grid; gap: .75rem; margin-top: 1rem; padding: .85rem; border-radius: .9rem; background: #f8fafc; box-shadow: inset 0 0 0 1px #dbe4e1; }
.proposal-share-result > div { display: grid; min-width: 0; gap: .25rem; }
.proposal-share-result > div > span { color: #64748b; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.proposal-share-result code { overflow: hidden; color: #334155; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.proposal-operations-note { margin: .65rem 0 0; color: #64748b; font-size: .74rem; line-height: 1.55; }
.proposal-operations-alert { display: flex; align-items: flex-start; gap: .6rem; margin-top: .8rem; padding: .75rem .8rem; border-radius: .82rem; font-size: .78rem; font-weight: 700; line-height: 1.5; }
.proposal-operations-alert.success { background: #ecfdf5; color: #047857; box-shadow: inset 0 0 0 1px #d1fae5; }
.proposal-operations-alert.danger { background: #fef2f2; color: #b91c1c; box-shadow: inset 0 0 0 1px #fecaca; }
.proposal-operations-alert svg { flex: 0 0 auto; width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.proposal-active-share { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1rem; padding: .8rem; border-radius: .9rem; background: #f8fafc; }
.proposal-active-share-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .72rem; background: #fff; color: #475569; box-shadow: 0 0 0 1px #dbe4e1; }
.proposal-active-share-icon svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.proposal-active-share strong { color: #334155; font-size: .8rem; }
.proposal-active-share p { margin: .25rem 0 0; color: #64748b; font-size: .7rem; line-height: 1.45; }
.proposal-operations-action-grid { margin-top: .85rem; }
.proposal-operations-action-grid .proposal-operations-button { flex: 1 1 12rem; }
.proposal-operations-action-grid.compact .proposal-operations-button { flex: 0 1 auto; }
.proposal-email-panel { margin-top: 1rem; padding: .9rem; border-radius: 1rem; background: #f8fafc; box-shadow: inset 0 0 0 1px #dbe4e1; }
.proposal-email-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .7rem; }
.proposal-email-panel-head h3 { margin: .2rem 0 0; color: #1e293b; font-size: .95rem; }
.proposal-email-panel-head > button { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: .72rem; background: #fff; color: #64748b; box-shadow: inset 0 0 0 1px #dbe4e1; font-size: 1.25rem; cursor: pointer; transition: background-color 150ms ease, transform 120ms ease; }
.proposal-email-panel-head > button:hover { background: #f1f5f9; }
.proposal-email-panel-head > button:active { transform: scale(.96); }
.proposal-email-panel label { display: flex; justify-content: space-between; gap: .5rem; margin: .7rem 0 .4rem; color: #334155; font-size: .78rem; font-weight: 800; }
.proposal-email-panel label > span { color: #64748b; font-size: .68rem; }
.proposal-email-panel input, .proposal-email-panel textarea { width: 100%; min-height: 2.9rem; padding: .7rem .8rem; border: 1px solid #dbe4e1; border-radius: .78rem; background: #fff; color: #1e293b; font: inherit; font-size: .85rem; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.proposal-email-panel textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }
.proposal-email-panel input:focus, .proposal-email-panel textarea:focus { border-color: #64748b; box-shadow: 0 0 0 3px rgba(100,116,139,.13); }
.proposal-operations-table-wrap { width: 100%; margin-top: .85rem; overflow-x: auto; border-radius: .8rem; box-shadow: inset 0 0 0 1px #edf2f0; }
.proposal-operations-table { min-width: 42rem; margin: 0; box-shadow: none; }
.proposal-operations-table td { vertical-align: middle; }
.proposal-operations-table td strong { color: #1e293b; }
.proposal-operations-refresh, .proposal-table-action { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .5rem .7rem; border: 0; border-radius: .68rem; background: #fff; color: #475569; box-shadow: inset 0 0 0 1px #dbe4e1; font: inherit; font-size: .7rem; font-weight: 850; text-decoration: none; cursor: pointer; }
.proposal-activity-list { position: relative; display: grid; gap: 0; margin: .85rem 0 0; padding: 0; list-style: none; }
.proposal-activity-list::before { position: absolute; top: .4rem; bottom: .7rem; left: .34rem; width: 1px; background: #dbe4e1; content: ""; }
.proposal-activity-list li { position: relative; display: flex; gap: .7rem; padding: 0 0 1rem; }
.proposal-activity-dot { position: relative; z-index: 1; flex: 0 0 auto; width: .7rem; height: .7rem; margin-top: .27rem; border: 2px solid #fff; border-radius: 50%; background: #64748b; box-shadow: 0 0 0 2px #cbd5e1; }
.proposal-activity-list time, .proposal-activity-list strong, .proposal-activity-list small { display: block; }
.proposal-activity-list time { color: #94a3b8; font-size: .64rem; font-weight: 750; }
.proposal-activity-list strong { margin-top: .22rem; color: #334155; font-size: .76rem; }
.proposal-activity-list small { margin-top: .12rem; color: #64748b; font-size: .68rem; }
.proposal-activity-list p { margin: .28rem 0 0; color: #64748b; font-size: .7rem; line-height: 1.45; }
.proposal-operations-empty { display: grid; min-height: 12rem; place-items: center; align-content: center; padding: 1rem; text-align: center; }
.proposal-operations-empty > span { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .7rem; border-radius: .9rem; background: #f1f5f9; color: #64748b; }
.proposal-operations-empty svg { width: 1.3rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.proposal-operations-empty strong { color: #334155; font-size: .85rem; }
.proposal-operations-empty p { max-width: 26ch; margin: .4rem 0 0; color: #64748b; font-size: .72rem; line-height: 1.5; }
@media (min-width: 40rem) {
    .proposal-operations-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .proposal-share-result { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
    .proposal-operations-lifecycle { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 64rem) {
    .proposal-operations-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .proposal-operations-summary { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .proposal-operations-layout { grid-template-columns: minmax(0,1fr) minmax(18rem,.34fr); align-items: start; }
    .proposal-operations-card { padding: 1.15rem; }
    .proposal-activity-card { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .proposal-operations-loading > span { animation: none; }
    .proposal-operations-back, .proposal-operations-button, .proposal-email-panel input, .proposal-email-panel textarea, .proposal-email-panel-head > button { transition: none; }
}

/* ---------- 22. Premium müşteri teklif portalı (mobile-first) ---------- */
.public-shell {
    background:
        radial-gradient(60rem 28rem at 50% -12rem, rgba(30, 64, 175, .10), transparent 70%),
        linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
    padding: clamp(.75rem, 3vw, 2.5rem) .75rem 3rem;
}

.public-premium-card {
    max-width: 66rem;
    padding: clamp(1rem, 3vw, 2rem);
    border-color: #dce3ec;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .09);
}

.public-premium-card .public-header { margin-bottom: 0; padding-bottom: 1rem; }

.public-premium-card .business-avatar {
    background: #172033;
    box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .16);
}

.public-premium-card .public-ref {
    display: grid;
    gap: .1rem;
    padding: .5rem .8rem;
    border: 1px solid #dce3ec;
    border-radius: .65rem;
    background: #f8fafc;
    color: #172033;
    font-weight: 700;
}

.public-premium-card .public-ref span {
    color: #64748b;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.public-intro { max-width: 45rem; padding: clamp(1.5rem, 4vw, 2.5rem) 0 1.25rem; }
.public-intro h1 { margin: .35rem 0 .65rem; color: #111827; font-size: clamp(1.6rem, 4vw, 2.35rem); line-height: 1.12; letter-spacing: -.035em; }
.public-intro p { margin: 0; color: #526071; line-height: 1.7; }
.public-eyebrow,
.public-section-kicker,
.public-result-kicker { color: #1d4ed8; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.public-premium-card .public-meta { grid-template-columns: 1fr; margin: 0 0 1.5rem; }
.public-premium-card .public-meta > div { min-height: 5rem; padding: .9rem 1rem; background: #f8fafc; border-color: #e2e8f0; }
.public-premium-card .public-total-card { background: #172033 !important; border-color: #172033 !important; }
.public-premium-card .public-total-card dt { color: #aebbd0; }
.public-premium-card .public-total { color: #fff; font-size: clamp(1.25rem, 3vw, 1.65rem) !important; }

.public-document { overflow: hidden; border: 1px solid #dce3ec; border-radius: 1rem; background: #edf1f6; }
.public-document-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; background: #fff; border-bottom: 1px solid #dce3ec; }
.public-document-toolbar h2 { margin: .15rem 0 0; color: #172033; font-size: .95rem; }
.public-download { display: inline-flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.public-download svg,
.trust-row svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-premium-card .public-pdf { display: block; height: min(68vh, 48rem); min-height: 24rem; margin: 0; border: 0; border-radius: 0; background: #e5e9ef; }

.public-decision-section { margin-top: 1.25rem; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid #dce3ec; border-radius: 1rem; background: #fff; }
.public-decision-section .decision-heading { justify-content: space-between; align-items: flex-end; margin: 0; }
.public-decision-section .decision-heading h2 { margin: .2rem 0 0; color: #172033; font-size: 1.15rem; }
.public-decision-section .decision-buttons { margin-top: 1rem; }
.public-decision-section .decision-buttons .btn { min-height: 2.8rem; border-radius: .7rem; }
.public-decision-section .decision-buttons .revise { color: #1e3a5f; border-color: #bfcee0; background: #edf4fb; }
.public-decision-section .decision-buttons .revise:hover { background: #e2edf8; }
.public-decision-section .decision-panel { padding: clamp(1rem, 3vw, 1.5rem); border-color: #dce3ec; border-radius: .85rem; background: #f8fafc; }
.public-decision-section .decision-panel h3 { color: #172033; font-size: 1.05rem; }
.public-decision-section .decision-panel label { color: #334155; }
.public-decision-section .trust-row { align-items: flex-start; padding: .7rem .8rem; border-radius: .65rem; background: #f8fafc; color: #64748b; line-height: 1.45; }
.public-decision-section .trust-row svg { flex: 0 0 auto; color: #475569; }

.public-date-field { position: relative; }
.public-date-field > svg { position: absolute; z-index: 1; top: 50%; right: .85rem; width: 1rem; height: 1rem; transform: translateY(-50%); fill: none; stroke: #64748b; stroke-width: 1.7; stroke-linecap: round; pointer-events: none; }
.public-date-display { padding-right: 2.6rem !important; font-variant-numeric: tabular-nums; }
.public-date-native { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.public-date-field:focus-within .public-date-display { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }

.public-premium-card .warning-box { margin-top: 1.25rem; padding: .9rem 1rem; border-radius: .75rem; }
.public-premium-card .public-footer { margin-top: 1.5rem; padding-top: 1.1rem; line-height: 1.55; }
.public-loading .public-skeleton-brand { max-width: 13rem; }
.public-loading .public-skeleton-title { width: min(100%, 24rem); height: 1.5rem; }
.public-loading .skeleton-card { margin-top: 1rem; }
.public-loading .public-skeleton-document { height: 24rem; margin-top: 1rem; border-radius: 1rem; }

.public-result-premium { display: grid; justify-items: center; max-width: 34rem; padding: clamp(2.5rem, 8vw, 5rem) clamp(1.25rem, 6vw, 3.5rem); }
.public-result-icon { display: grid; place-items: center; width: 4.25rem; height: 4.25rem; margin-bottom: 1.25rem; border-radius: 1.1rem; background: #eef2f7; color: #334155; }
.public-result-icon svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.public-result-icon-warning { background: #fff7e6; color: #a16207; }
.public-result-icon-success { background: #ecfdf5; color: #047857; }
.public-result-premium h2 { margin: .55rem 0 .65rem; color: #172033; font-size: clamp(1.4rem, 4vw, 1.85rem); letter-spacing: -.025em; }

/* ---------- 23. Premium 404 ve yetkisiz durumları ---------- */
.route-state {
    display: grid;
    justify-items: center;
    width: min(100%, 46rem);
    margin: clamp(1rem, 6vh, 4rem) auto;
    padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 5vw, 3.5rem);
    border: 1px solid #dde4ed;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #fff, #f8fafc);
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .07);
    text-align: center;
}
.route-state-visual { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1.4rem; border-radius: 1.15rem; background: #edf2f8; color: #24344d; }
.route-state-visual svg { width: 2.15rem; height: 2.15rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.route-state-code { color: #64748b; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.route-state h1 { max-width: 34rem; margin: .55rem 0 .7rem; color: #172033; font-size: clamp(1.55rem, 4vw, 2.15rem); line-height: 1.15; letter-spacing: -.035em; }
.route-state p { max-width: 34rem; margin: 0; color: #64748b; line-height: 1.65; }
.route-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.6rem; }
.route-state-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .7rem; font-weight: 700; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.route-state-actions a:hover { transform: translateY(-1px); }
.route-state-primary { background: #172033; color: #fff; }
.route-state-primary:hover { background: #24344d; color: #fff; }
.route-state-secondary { border-color: #cfd8e4 !important; background: #fff; color: #334155; }
.route-state-secondary:hover { border-color: #aebdce !important; background: #f8fafc; color: #172033; }
.route-state-forbidden .route-state-visual { background: #fff5e8; color: #9a5b12; }

@media (min-width: 40rem) {
    .public-premium-card .public-meta { grid-template-columns: 1fr 1fr; }
    .public-premium-card .public-total-card { grid-column: 1 / -1; }
}

@media (min-width: 52rem) {
    .public-premium-card .public-meta { grid-template-columns: .8fr .8fr 1.35fr; }
    .public-premium-card .public-total-card { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .public-premium-card,
    .public-result-icon,
    .route-state,
    .route-state-actions a { animation: none; transition: none; }
}

/* ---------- 24. Hesap deneyimi (mobile-first) ---------- */
.account-body {
    --account-ink: oklch(0.225 0.024 178);
    --account-muted: oklch(0.505 0.025 175);
    --account-faint: oklch(0.69 0.02 175);
    --account-paper: oklch(0.985 0.008 92);
    --account-field: oklch(0.965 0.012 94);
    --account-line: oklch(0.89 0.017 92);
    --account-accent: oklch(0.56 0.112 170);
    --account-accent-deep: oklch(0.42 0.09 172);
    --account-dark: oklch(0.205 0.039 171);
    --account-danger: oklch(0.52 0.18 27);
    --account-success: oklch(0.49 0.112 160);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background: var(--account-paper);
    color: var(--account-ink);
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    font-synthesis: none;
}

.account-body::selection {
    color: oklch(0.985 0.008 92);
    background: var(--account-accent-deep);
}

.account-shell {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
}

.account-visual {
    position: relative;
    isolation: isolate;
    min-height: 15.5rem;
    overflow: hidden;
    padding: 1.25rem clamp(1.25rem, 6vw, 3rem) 2rem;
    color: oklch(0.95 0.018 163);
    background:
        radial-gradient(circle at 15% 10%, oklch(0.59 0.12 165 / 0.3), transparent 35%),
        linear-gradient(145deg, oklch(0.26 0.058 171), var(--account-dark));
}

.account-ambient,
.account-grain {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.account-grain {
    z-index: -1;
    opacity: 0.16;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.account-visual::after {
    content: "";
    position: absolute;
    right: -16%;
    bottom: -34%;
    z-index: -1;
    width: min(34rem, 72vw);
    aspect-ratio: 1;
    border: 1px solid oklch(0.86 0.09 170 / 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 4rem oklch(0.86 0.09 170 / 0.035),
        0 0 0 9rem oklch(0.86 0.09 170 / 0.025);
}

.account-brand {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    gap: 0.7rem;
    color: oklch(0.985 0.008 92);
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.account-brand:hover { color: oklch(0.985 0.008 92); }

.account-brand-mark {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border: 1px solid oklch(1 0 0 / 0.16);
    border-radius: 0.75rem;
    background: oklch(0.93 0.055 161 / 0.1);
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.12), 0 0.75rem 2rem oklch(0.08 0.02 175 / 0.18);
    backdrop-filter: blur(0.75rem);
}

.account-brand-mark svg { width: 1.3rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.account-story { max-width: 34rem; margin-top: clamp(2.2rem, 8vw, 5.75rem); }
.account-story-eyebrow,
.account-kicker {
    display: block;
    color: oklch(0.76 0.11 162);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.account-story h2 {
    max-width: 15ch;
    margin: 0.75rem 0 0;
    color: oklch(0.985 0.008 92);
    font-size: clamp(1.8rem, 7vw, 3.9rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1.04;
    text-wrap: balance;
}

.account-story p {
    display: none;
    max-width: 43ch;
    margin: 1.35rem 0 0;
    color: oklch(0.83 0.025 165);
    font-size: 1rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.proposal-preview { display: none; }
.account-proof { display: none; }

.account-workspace {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 95% 4%, oklch(0.91 0.05 154 / 0.3), transparent 22rem),
        var(--account-paper);
}

.account-page {
    width: min(100%, 37rem);
    margin: 0 auto;
    padding: clamp(2.5rem, 8vw, 5rem) clamp(1.25rem, 6vw, 4.5rem) 2rem;
}

.account-heading { margin-bottom: 2rem; }
.account-heading > *,
.account-alert,
.account-form > *,
.account-switch,
.account-legal,
.account-security-note,
.account-result > * {
    animation: account-enter 520ms cubic-bezier(0.2, 0, 0, 1) both;
}
.account-heading > :nth-child(2), .account-result > :nth-child(2) { animation-delay: 70ms; }
.account-heading > :nth-child(3), .account-result > :nth-child(3) { animation-delay: 120ms; }
.account-form > :nth-child(1), .account-result > :nth-child(4) { animation-delay: 170ms; }
.account-form > :nth-child(2), .account-result > :nth-child(5) { animation-delay: 220ms; }
.account-form > :nth-child(3) { animation-delay: 270ms; }
.account-form > :nth-child(4) { animation-delay: 320ms; }
.account-form > :nth-child(5) { animation-delay: 370ms; }
.account-form > :nth-child(6) { animation-delay: 420ms; }
.account-form > :nth-child(7), .account-switch, .account-security-note { animation-delay: 470ms; }
.account-heading h1,
.account-result h1 {
    margin: 0.55rem 0 0;
    color: var(--account-ink);
    font-size: clamp(1.85rem, 7vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.052em;
    line-height: 1.1;
    text-wrap: balance;
}

.account-heading p,
.account-result > p {
    max-width: 48ch;
    margin: 0.85rem 0 0;
    color: var(--account-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.account-form { display: grid; gap: 1.15rem; }
.account-form-grid { grid-template-columns: minmax(0, 1fr); }
.account-field { min-width: 0; }
.account-field-wide { grid-column: 1 / -1; }

.account-field label,
.account-label-row label {
    display: block;
    margin-bottom: 0.48rem;
    color: var(--account-ink);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.account-label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.account-label-row a {
    min-height: 2.25rem;
    margin: -0.5rem 0 -0.25rem;
    display: inline-flex;
    align-items: center;
    color: var(--account-accent-deep);
    font-size: 0.78rem;
    font-weight: 700;
    text-underline-offset: 0.22em;
}

.account-field input:not([type="checkbox"]) {
    width: 100%;
    min-height: 3.45rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--account-line);
    border-radius: 0.9rem;
    outline: 1px solid transparent;
    background: var(--account-field);
    color: var(--account-ink);
    caret-color: var(--account-accent-deep);
    font-size: 16px;
    line-height: 1.4;
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.72), 0 1px 2px oklch(0.2 0.02 175 / 0.025);
    transition-property: background-color, border-color, box-shadow, outline-color;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.account-field input:not([type="checkbox"])::placeholder { color: var(--account-faint); opacity: 1; }
.account-field input:not([type="checkbox"]):hover { border-color: oklch(0.79 0.025 174); }
.account-field input:not([type="checkbox"]):focus {
    border-color: var(--account-accent);
    outline-color: oklch(0.56 0.112 170 / 0.15);
    background: oklch(0.992 0.004 92);
    box-shadow: 0 0 0 0.25rem oklch(0.56 0.112 170 / 0.11), inset 0 1px 0 oklch(1 0 0 / 0.8);
}

.account-input-action { position: relative; }
.account-input-action input { padding-inline-end: 3.4rem !important; }
.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0.72rem;
    background: transparent;
    color: var(--account-muted);
    cursor: pointer;
    transition-property: color, background-color, scale;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.password-toggle:hover { color: var(--account-ink); background: oklch(0.89 0.017 92 / 0.55); }
.password-toggle:active { scale: 0.96; }
.password-toggle svg {
    position: absolute;
    inset: 0;
    width: 1.2rem;
    height: 1.2rem;
    margin: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    transition-property: opacity, scale, filter;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.password-eye-off,
.password-toggle.is-revealed .password-eye { opacity: 0; scale: 0.25; filter: blur(4px); }
.password-toggle.is-revealed .password-eye-off { opacity: 1; scale: 1; filter: blur(0); }

.account-helper,
.field-validation {
    display: block;
    margin-top: 0.38rem;
    font-size: 0.75rem;
    line-height: 1.45;
}
.account-helper { color: var(--account-muted); }
.field-validation { color: var(--account-danger); font-weight: 600; }
.field-validation:empty { display: none; }

.account-check {
    position: relative;
    display: inline-flex;
    width: fit-content;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.65rem;
    color: var(--account-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.account-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.account-check-box {
    display: grid;
    width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    border: 1px solid oklch(0.75 0.025 174);
    border-radius: 0.38rem;
    background: var(--account-field);
    transition-property: background-color, border-color, box-shadow;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.account-check-box svg { width: 0.8rem; fill: none; stroke: oklch(0.985 0.008 92); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; opacity: 0; scale: 0.25; filter: blur(4px); transition: opacity 180ms cubic-bezier(0.2, 0, 0, 1), scale 180ms cubic-bezier(0.2, 0, 0, 1), filter 180ms cubic-bezier(0.2, 0, 0, 1); }
.account-check input:checked + .account-check-box { border-color: var(--account-accent-deep); background: var(--account-accent-deep); }
.account-check input:checked + .account-check-box svg { opacity: 1; scale: 1; filter: blur(0); }
.account-check input:focus-visible + .account-check-box { box-shadow: 0 0 0 0.25rem oklch(0.56 0.112 170 / 0.16); }

.account-submit,
.account-primary-link {
    display: inline-flex;
    min-height: 3.45rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: 0;
    border-radius: 0.9rem;
    background: var(--account-dark);
    color: oklch(0.985 0.008 92);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 0.8rem 1.8rem oklch(0.205 0.039 171 / 0.2), inset 0 1px 0 oklch(1 0 0 / 0.12);
    text-decoration: none;
    user-select: none;
    transition-property: background-color, transform, box-shadow;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.account-submit { width: 100%; margin-top: 0.25rem; }
.account-submit svg,
.account-primary-link svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform 180ms cubic-bezier(0.2, 0, 0, 1); }
.account-submit:hover,
.account-primary-link:hover { background: oklch(0.28 0.055 171); color: oklch(0.985 0.008 92); box-shadow: 0 1rem 2.25rem oklch(0.205 0.039 171 / 0.24), inset 0 1px 0 oklch(1 0 0 / 0.14); transform: translateY(-1px); }
.account-submit:hover svg { transform: translateX(0.18rem); }
.account-submit:active,
.account-primary-link:active { transform: translateY(0) scale(0.96); box-shadow: 0 0.35rem 1rem oklch(0.205 0.039 171 / 0.18); }

.account-switch,
.account-legal {
    color: var(--account-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
}
.account-switch { margin: 1.75rem 0 0; }
.account-legal { margin: 1.15rem auto 0; max-width: 46ch; }
.account-switch a,
.account-back-link { color: var(--account-accent-deep); font-weight: 750; text-decoration: underline; text-decoration-color: oklch(0.42 0.09 172 / 0.3); text-decoration-thickness: from-font; text-underline-offset: 0.22em; }

.account-back-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.45rem; margin: -0.75rem 0 1.25rem; font-size: 0.8rem; text-decoration: none; }
.account-back-link svg { width: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.account-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: -0.5rem 0 1.4rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}
.account-alert svg { width: 1.15rem; flex: 0 0 auto; margin-top: 0.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.account-alert-error { color: var(--account-danger); background: oklch(0.95 0.035 27); box-shadow: inset 0 0 0 1px oklch(0.75 0.1 27 / 0.22); }

.account-security-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 1.4rem 0 0;
    color: var(--account-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}
.account-security-note svg { width: 1rem; flex: 0 0 auto; margin-top: 0.12rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.account-result { text-align: start; }
.account-result-icon {
    display: grid;
    width: 4.2rem;
    height: 4.2rem;
    place-items: center;
    margin-bottom: 1.7rem;
    border-radius: 1.35rem;
    color: var(--account-accent-deep);
    background: oklch(0.91 0.045 163);
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.7), 0 0.75rem 2rem oklch(0.42 0.09 172 / 0.11);
}
.account-result-icon svg { width: 2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.account-result-success { color: var(--account-success); background: oklch(0.93 0.045 154); }
.account-result-error { color: var(--account-danger); background: oklch(0.95 0.035 27); }
.account-result .account-primary-link { min-width: 10rem; margin-top: 1.7rem; padding-inline: 1.4rem; }
.account-result > .success,
.account-result > .error { font-size: 0.92rem; }

.account-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1.25rem 1.25rem;
    color: var(--account-faint);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}

.account-body :focus-visible { outline: 2px solid var(--account-accent-deep); outline-offset: 3px; }

@media (min-width: 40rem) {
    .account-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}

@media (min-width: 64rem) {
    .account-shell { grid-template-columns: minmax(0, 1.08fr) minmax(30rem, 0.92fr); }
    .account-visual { min-height: 100vh; min-height: 100dvh; padding: clamp(1.75rem, 4vw, 3.75rem); }
    .account-story { margin-top: clamp(4.5rem, 11vh, 8rem); }
    .account-story p { display: block; }
    .account-workspace { min-height: 100vh; min-height: 100dvh; max-height: 100dvh; overflow-y: auto; }
    .account-page { padding-top: clamp(3rem, 8vh, 6rem); }

    .proposal-preview {
        position: absolute;
        right: clamp(2rem, 5vw, 5.5rem);
        bottom: clamp(4.5rem, 10vh, 7.5rem);
        display: block;
        width: min(18.5rem, 42%);
        padding: 1rem;
        transform: rotate(-3deg) translateZ(0);
        border: 1px solid oklch(1 0 0 / 0.14);
        border-radius: 1.35rem;
        background: oklch(0.94 0.018 92 / 0.91);
        color: var(--account-ink);
        box-shadow: 0 2rem 5rem oklch(0.08 0.02 175 / 0.32), inset 0 1px 0 oklch(1 0 0 / 0.75);
        backdrop-filter: blur(1rem);
        animation: proposal-float 7s ease-in-out infinite;
    }

    .proposal-preview-top,
    .proposal-preview-amount,
    .proposal-preview-status { display: flex; align-items: center; justify-content: space-between; }
    .proposal-preview-logo { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: 0.65rem; background: var(--account-dark); color: oklch(0.985 0.008 92); font-size: 0.64rem; font-weight: 800; letter-spacing: -0.04em; }
    .proposal-preview-ref { color: var(--account-muted); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; }
    .proposal-preview-line { height: 0.38rem; margin-top: 1.1rem; border-radius: 999px; background: oklch(0.82 0.02 176); }
    .proposal-preview-line-lg { width: 68%; }
    .proposal-preview-line-sm { width: 42%; margin-top: 0.42rem; background: oklch(0.87 0.016 176); }
    .proposal-preview-amount { margin-top: 1.45rem; padding-top: 0.8rem; border-top: 1px solid oklch(0.83 0.02 175); }
    .proposal-preview-amount span { color: var(--account-muted); font-size: 0.58rem; font-weight: 750; letter-spacing: 0.09em; }
    .proposal-preview-amount strong { font-size: 1.05rem; font-weight: 750; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
    .proposal-preview-status { justify-content: flex-start; gap: 0.38rem; margin-top: 0.85rem; color: var(--account-success); font-size: 0.6rem; font-weight: 700; }
    .proposal-preview-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0.22rem oklch(0.49 0.112 160 / 0.14); animation: status-breathe 2.4s ease-in-out infinite; }
    .account-proof { position: absolute; bottom: clamp(2rem, 4vh, 3rem); left: clamp(1.75rem, 4vw, 3.75rem); display: flex; align-items: center; gap: 0.45rem; margin: 0; color: oklch(0.76 0.025 165); font-size: 0.72rem; font-weight: 600; }
    .account-proof svg { width: 1rem; fill: none; stroke: oklch(0.76 0.11 162); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
}

@media (min-width: 75rem) {
    .account-page { width: min(100%, 40rem); padding-inline: clamp(4.5rem, 6vw, 6.5rem); }
}

@keyframes proposal-float { 0%, 100% { transform: rotate(-3deg) translate3d(0, 0, 0); } 50% { transform: rotate(-2.3deg) translate3d(0, -0.6rem, 0); } }
@keyframes status-breathe { 0%, 100% { opacity: 0.55; transform: scale(0.86); } 50% { opacity: 1; transform: scale(1); } }
@keyframes account-enter { from { opacity: 0; transform: translateY(0.7rem); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 14. Skeleton + animasyonlar ---------- */
.skeleton {
    position: relative;
    overflow: hidden;
    background-color: var(--surface-sunken);
    border-radius: var(--radius-sm);
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: shimmer 1.4s infinite;
}

.skeleton-line { height: 0.9rem; margin: 0.4rem 0; }
.skeleton-card { height: 96px; border-radius: var(--radius-md); }

@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes grow-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(0.85); } 100% { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive iskelet ---------- */
@media (max-width: 900px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: transform 240ms var(--ease);
        box-shadow: var(--shadow-lg);
        width: 250px;
    }

    .sidebar.open { transform: translateX(0); }

    .menu-toggle { display: inline-flex; }

    .top-row { justify-content: space-between; padding: 0.6rem 1rem; }
    .content { padding: 1rem 1rem 2.5rem; }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background-color: rgba(15, 23, 42, 0.45);
        z-index: 45;
        animation: fade-in 180ms var(--ease);
    }
}
