/* ==========================================================================
   Asiltürk Site Yönetim — tasarım token'ları ve marka stilleri
   Tek kaynak: Theme/BrandTokens.cs (MudBlazor) ile bu dosya aynı değerleri taşır.
   Harici yazı tipi / CDN yok (KVKK, çevrimdışı sunucu): yalnızca sistem yazı tipi yığını.
   ========================================================================== */

/* ---------- 1. Token'lar ---------- */
:root,
.asy-app[data-theme="light"] {
    color-scheme: light;
    --asy-primary: #1E4FD8;
    --asy-primary-dark: #1E3A8A;
    --asy-primary-contrast: #FFFFFF;
    --asy-primary-hover: #1A44BC;
    --asy-accent: #0EA5A4;
    --asy-success: #16A34A;
    --asy-warning: #D97706;
    --asy-error: #DC2626;
    --asy-info: #0284C7;
    --asy-bg: #F5F7FB;
    --asy-surface: #FFFFFF;
    --asy-surface-2: #F8FAFC;
    --asy-drawer: #0F172A;
    --asy-text: #0F172A;
    --asy-text-2: #64748B;
    --asy-border: #E2E8F0;
    --asy-input-border: #CBD5E1;
    --asy-skeleton: #E2E8F0;
    --asy-skeleton-shine: #F1F5F9;

    /* Durum rozetleri: açık zemin + koyu metin (WCAG AA ≥ 4.5:1). */
    --asy-success-bg: #DCFCE7; --asy-success-fg: #166534;
    --asy-warning-bg: #FEF3C7; --asy-warning-fg: #92400E;
    --asy-error-bg: #FEE2E2;   --asy-error-fg: #991B1B;
    --asy-info-bg: #E0F2FE;    --asy-info-fg: #075985;
    --asy-neutral-bg: #F1F5F9; --asy-neutral-fg: #334155;
    --asy-primary-bg: #E8EEFC; --asy-primary-fg: #1E3A8A;

    --asy-brand-from: #1E3A8A;
    --asy-brand-to: #1E4FD8;

    --asy-font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --asy-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
    --asy-radius: 8px;
    --asy-radius-card: 10px;
    --asy-space: 8px;
    --asy-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.04);
    --asy-scroll-shadow: rgba(15, 23, 42, 0.16);
    --asy-shadow-lg: 0 1px 2px rgba(15, 23, 42, 0.05), 0 12px 32px -12px rgba(15, 23, 42, 0.18);
    --asy-focus: 0 0 0 3px rgba(30, 79, 216, 0.28);
}

/* Koyu tema: açık seçim (data-theme="dark") veya seçim yokken işletim sistemi tercihi. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --asy-primary: #5B8CFF;
        --asy-primary-contrast: #0B1220;
        --asy-primary-hover: #7AA2FF;
        --asy-accent: #2DD4BF;
        --asy-success: #22C55E;
        --asy-warning: #F59E0B;
        --asy-error: #F87171;
        --asy-info: #38BDF8;
        --asy-bg: #0B1220;
        --asy-surface: #111A2E;
        --asy-surface-2: #0F1729;
        --asy-drawer: #0A1020;
        --asy-text: #E2E8F0;
        --asy-text-2: #94A3B8;
        --asy-border: #1E293B;
        --asy-input-border: #334155;
        --asy-skeleton: #1E293B;
        --asy-skeleton-shine: #243247;
        --asy-success-bg: #0B2A1A; --asy-success-fg: #86EFAC;
        --asy-warning-bg: #2D1F06; --asy-warning-fg: #FCD34D;
        --asy-error-bg: #2D0F12;   --asy-error-fg: #FCA5A5;
        --asy-info-bg: #082A3D;    --asy-info-fg: #7DD3FC;
        --asy-neutral-bg: #1E293B; --asy-neutral-fg: #CBD5E1;
        --asy-primary-bg: #15224A; --asy-primary-fg: #A5C0FF;
        --asy-brand-from: #0A1020;
        --asy-brand-to: #1E3A8A;
        --asy-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        --asy-scroll-shadow: rgba(0, 0, 0, 0.55);
        --asy-shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
        --asy-focus: 0 0 0 3px rgba(91, 140, 255, 0.35);
    }
}

:root[data-theme="dark"],
.asy-app[data-theme="dark"] {
    color-scheme: dark;
    --asy-primary: #5B8CFF;
    --asy-primary-contrast: #0B1220;
    --asy-primary-hover: #7AA2FF;
    --asy-accent: #2DD4BF;
    --asy-success: #22C55E;
    --asy-warning: #F59E0B;
    --asy-error: #F87171;
    --asy-info: #38BDF8;
    --asy-bg: #0B1220;
    --asy-surface: #111A2E;
    --asy-surface-2: #0F1729;
    --asy-drawer: #0A1020;
    --asy-text: #E2E8F0;
    --asy-text-2: #94A3B8;
    --asy-border: #1E293B;
    --asy-input-border: #334155;
    --asy-skeleton: #1E293B;
    --asy-skeleton-shine: #243247;
    --asy-success-bg: #0B2A1A; --asy-success-fg: #86EFAC;
    --asy-warning-bg: #2D1F06; --asy-warning-fg: #FCD34D;
    --asy-error-bg: #2D0F12;   --asy-error-fg: #FCA5A5;
    --asy-info-bg: #082A3D;    --asy-info-fg: #7DD3FC;
    --asy-neutral-bg: #1E293B; --asy-neutral-fg: #CBD5E1;
    --asy-primary-bg: #15224A; --asy-primary-fg: #A5C0FF;
    --asy-brand-from: #0A1020;
    --asy-brand-to: #1E3A8A;
    --asy-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    --asy-scroll-shadow: rgba(0, 0, 0, 0.55);
    --asy-shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --asy-focus: 0 0 0 3px rgba(91, 140, 255, 0.35);
}

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: var(--asy-font);
    background: var(--asy-bg);
    color: var(--asy-text);
    -webkit-font-smoothing: antialiased;
}

h1:focus { outline: none; }

.tabular { font-variant-numeric: tabular-nums; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- 3. Logo işareti ---------- */
.brand-mark { display: inline-block; flex: none; }
.brand-mark__tile { fill: var(--asy-primary); }
.brand-mark__letter { fill: #FFFFFF; }
.brand-mark__pulse { fill: var(--asy-accent); }
.brand-mark--on-dark .brand-mark__tile { fill: #FFFFFF; fill-opacity: 0.12; stroke: #FFFFFF; stroke-opacity: 0.28; }
.brand-mark--on-dark .brand-mark__pulse { fill: #2DD4BF; }

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    line-height: 1.1;
}
.wordmark__text { display: flex; flex-direction: column; }
.wordmark__name { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.wordmark__sub { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; }

/* ---------- 4. Hesap (statik SSR) kabuğu ---------- */
.acct {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(400px, 44%) 1fr;
    background: var(--asy-bg);
}

.acct-brand {
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.14) 1px, transparent 0) 0 0 / 22px 22px,
        radial-gradient(120% 80% at 100% 0%, rgba(45, 212, 191, 0.22) 0%, transparent 55%),
        linear-gradient(150deg, var(--asy-brand-from) 0%, var(--asy-brand-to) 100%);
}

/* İnce ızgara: ölçüm cihazı hissi, dikkat dağıtmaz. */
.acct-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 88px 88px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 88px 88px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    pointer-events: none;
}

.acct-brand__inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 48px 56px;
}

.acct-brand__copy { margin-top: auto; max-width: 30rem; }

.kit .acct-eyebrow {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #A7F3D0;
}

.kit .acct-tagline {
    margin: 0 0 32px;
    font-size: clamp(1.75rem, 2.6vw, 2.375rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.acct-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }

.acct-feature { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }

.acct-feature__icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}
.acct-feature__icon svg { width: 20px; height: 20px; }

.acct-feature__title { display: block; font-weight: 600; font-size: 0.9375rem; }
.acct-feature__text { display: block; margin-top: 2px; font-size: 0.8125rem; color: #CBD5E1; line-height: 1.45; }

/* İmza öğesi: durum sayfası tarzı 30 günlük çalışma şeridi (dekoratif). */
.uptime-strip { margin: 0; padding: 16px 18px; border-radius: 12px; background: rgba(10, 16, 32, 0.28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.uptime-strip__head { display: flex; justify-content: space-between; font-size: 0.75rem; color: #CBD5E1; margin-bottom: 10px; }
.uptime-strip__head strong { color: #FFFFFF; font-variant-numeric: tabular-nums; }
.uptime-strip svg { display: block; width: 100%; height: 28px; }
.uptime-strip__bar { fill: #2DD4BF; }
.uptime-strip__bar--warn { fill: #FBBF24; }
.uptime-strip__bar--down { fill: #F87171; }

.acct-main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 20px;
    min-width: 0;
}

.acct-topbar { align-self: stretch; display: flex; justify-content: flex-end; min-height: 40px; }

.acct-center { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 0; }

.acct-card {
    width: 100%;
    max-width: 420px;
    background: var(--asy-surface);
    border: 1px solid var(--asy-border);
    border-radius: 14px;
    box-shadow: var(--asy-shadow-lg);
    padding: 36px 36px 32px;
    animation: acct-rise 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes acct-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.acct-footer { font-size: 0.75rem; color: var(--asy-text-2); }

.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    border: 1px solid var(--asy-border);
    background: var(--asy-surface);
    color: var(--asy-text-2);
    cursor: pointer;
}
.theme-toggle:hover { color: var(--asy-text); }
.theme-toggle:focus-visible { outline: none; box-shadow: var(--asy-focus); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle[aria-pressed="true"] .icon-sun { display: block; }
.theme-toggle[aria-pressed="true"] .icon-moon { display: none; }

@media (max-width: 959.98px) {
    .acct { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .acct-brand__inner { padding: 16px 20px; gap: 0; flex-direction: row; align-items: center; }
    .acct-brand__copy, .uptime-strip { display: none; }
    .acct-main { padding: 12px 16px 20px; }
    .acct-topbar { position: absolute; top: -52px; right: 16px; }
    .acct-topbar .theme-toggle { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: #FFFFFF; }
    .acct-card { padding: 28px 22px 24px; box-shadow: var(--asy-shadow); }
}

/* ---------- 5. Hesap form kiti (.acct ve .manage altında; MudBlazor ile çakışmaz) ---------- */
.kit h1 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.kit h2 { margin: 0 0 16px; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.kit h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 600; }
.kit p { margin: 0 0 16px; line-height: 1.55; }
.kit hr { border: 0; border-top: 1px solid var(--asy-border); margin: 20px 0; }
.kit a { color: var(--asy-primary); font-weight: 500; text-decoration: none; }
.kit a:hover { text-decoration: underline; }
.kit a:focus-visible { outline: none; border-radius: 4px; box-shadow: var(--asy-focus); }

.acct-lead { color: var(--asy-text-2); font-size: 0.9375rem; }

.acct-icon-badge {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 12px;
    margin-bottom: 18px;
    background: var(--asy-primary-bg);
    color: var(--asy-primary-fg);
}
.acct-icon-badge svg { width: 24px; height: 24px; }
.acct-icon-badge--error { background: var(--asy-error-bg); color: var(--asy-error-fg); }
.acct-icon-badge--success { background: var(--asy-success-bg); color: var(--asy-success-fg); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }

.kit .form-label,
.kit label.control-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--asy-text);
    margin: 0;
}

.kit .form-control,
.kit input[type="text"],
.kit input[type="email"],
.kit input[type="password"] {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--asy-text);
    background: var(--asy-surface);
    border: 1px solid var(--asy-input-border);
    border-radius: var(--asy-radius);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.kit .form-control::placeholder { color: var(--asy-text-2); opacity: 0.8; }
.kit .form-control:focus { outline: none; border-color: var(--asy-primary); box-shadow: var(--asy-focus); }
.kit .form-control:disabled,
.kit .form-control[readonly] { background: var(--asy-surface-2); color: var(--asy-text-2); }
.kit .form-control.invalid { border-color: var(--asy-error); }
.kit .form-control.modified.valid { border-color: var(--asy-input-border); }

/* Bootstrap "form-floating" işaretlemesi (girdi, etiket, hata sırası) yığın düzene çevrilir. */
.kit .form-floating { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.kit .form-floating > label { order: 0; }
.kit .form-floating > input,
.kit .form-floating > .pw-field { order: 1; }
.kit .form-floating > .validation-message,
.kit .form-floating > .text-danger { order: 2; }

.validation-message,
.kit .text-danger { color: var(--asy-error-fg); font-size: 0.8125rem; }
.kit .text-success { color: var(--asy-success-fg); }
.kit .text-secondary { color: var(--asy-text-2); }
.kit .text-info { color: var(--asy-info-fg); }

.kit .validation-errors {
    list-style: none;
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: var(--asy-radius);
    background: var(--asy-error-bg);
    color: var(--asy-error-fg);
    font-size: 0.8125rem;
}
.kit .validation-errors:empty { display: none; }

.pw-field { position: relative; }
.pw-field > input { padding-right: 46px !important; }
.pw-toggle {
    position: absolute;
    top: 50%; right: 4px;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 0; border-radius: 6px;
    background: transparent;
    color: var(--asy-text-2);
    cursor: pointer;
}
.pw-toggle:hover { color: var(--asy-text); }
.pw-toggle:focus-visible { outline: none; box-shadow: var(--asy-focus); }
.pw-toggle svg { width: 18px; height: 18px; }
.pw-toggle .icon-eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .icon-eye { display: none; }
.pw-toggle[aria-pressed="true"] .icon-eye-off { display: block; }

.check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; cursor: pointer; margin-bottom: 20px; }
.kit input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--asy-primary); }

.kit .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--asy-radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.kit .btn:focus-visible { outline: none; box-shadow: var(--asy-focus); }
.kit .btn:disabled { cursor: progress; opacity: 0.85; }
.kit .btn-lg { min-height: 46px; font-size: 0.9375rem; }
.kit .w-100 { width: 100%; }
.kit .btn-primary { background: var(--asy-primary); color: var(--asy-primary-contrast); }
.kit .btn-primary:hover { background: var(--asy-primary-hover); text-decoration: none; }
.kit .btn-danger { background: var(--asy-error-bg); color: var(--asy-error-fg); border-color: transparent; }
.kit .btn-danger:hover { border-color: var(--asy-error); text-decoration: none; }
.kit .btn-secondary,
.kit .btn-outline { background: var(--asy-surface); color: var(--asy-text); border-color: var(--asy-input-border); }
.kit .btn-link { background: transparent; color: var(--asy-primary); border-color: transparent; }
.kit .btn-link:hover { text-decoration: underline; }

.btn-spinner {
    display: none;
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: asy-spin 700ms linear infinite;
}
.btn[aria-busy="true"] .btn-spinner { display: inline-block; }
@keyframes asy-spin { to { transform: rotate(360deg); } }

.divider-text {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0 12px;
    color: var(--asy-text-2);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
}
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--asy-border); }

.acct-links { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.875rem; }
.acct-links p { margin: 0; }

.kit .alert {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: var(--asy-radius);
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid transparent;
}
.kit .alert::before { flex: none; font-weight: 700; }
.kit .alert-danger { background: var(--asy-error-bg); color: var(--asy-error-fg); }
.kit .alert-danger::before { content: "!"; }
.kit .alert-success { background: var(--asy-success-bg); color: var(--asy-success-fg); }
.kit .alert-success::before { content: "✓"; }
.kit .alert-warning { background: var(--asy-warning-bg); color: var(--asy-warning-fg); }
.kit .alert-warning::before { content: "!"; }
.kit .alert-info { background: var(--asy-info-bg); color: var(--asy-info-fg); }
.kit .alert p:last-child { margin-bottom: 0; }

.kit code,
.kit kbd { font-family: var(--asy-mono); font-size: 0.875em; padding: 2px 6px; border-radius: 4px; background: var(--asy-surface-2); border: 1px solid var(--asy-border); }

/* Basit ızgara ve yardımcılar (eski Bootstrap sınıfları; yalnızca hesap sayfalarında). */
.kit .row { display: flex; flex-wrap: wrap; gap: 0 24px; }
.kit [class*="col-"] { flex: 1 1 100%; min-width: 0; }
@media (min-width: 768px) {
    .manage .col-md-4, .manage .col-md-6, .manage .col-xl-6 { flex: 1 1 320px; max-width: 560px; }
}
.kit .mb-3 { margin-bottom: 16px; }
.kit .mt-2 { margin-top: 8px; }
.kit .mx-auto { margin-left: auto; margin-right: auto; }
.kit .d-flex { display: flex; }
.kit .flex-column { flex-direction: column; }
.kit .d-inline { display: inline; }
.kit .h-100 { height: 100%; }
.kit .font-weight-bold { font-weight: 700; }
.kit .input-group { display: flex; align-items: stretch; }
.kit .input-group > .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.kit .input-group-append, .kit .input-group-text {
    display: flex; align-items: center; padding: 0 10px;
    border: 1px solid var(--asy-input-border); border-left: 0;
    border-radius: 0 var(--asy-radius) var(--asy-radius) 0;
    background: var(--asy-surface-2); color: var(--asy-success-fg);
}
.kit .table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.kit .table th, .kit .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--asy-border); }
.kit .recovery-code { font-family: var(--asy-mono); }
.kit .list { padding-left: 20px; }

/* ---------- 6. Hesap yönetimi kabuğu (Account/Manage) ---------- */
.manage { min-height: 100vh; display: flex; flex-direction: column; background: var(--asy-bg); }

.manage-bar {
    display: flex; align-items: center; gap: 16px;
    height: 64px;
    padding: 0 24px;
    background: var(--asy-drawer);
    color: #FFFFFF;
}
.manage-bar .wordmark { color: #FFFFFF; }
.manage-bar__spacer { flex: 1; }
.manage-bar a.manage-bar__back { color: #CBD5E1; font-size: 0.875rem; font-weight: 500; }
.manage-bar a.manage-bar__back:hover { color: #FFFFFF; }
.manage-bar .theme-toggle { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: #CBD5E1; }

.manage-body { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 32px 24px 24px; }
.manage-head { margin-bottom: 24px; }
.manage-head p { color: var(--asy-text-2); margin: 0; }

.manage-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }

.manage-nav { list-style: none; margin: 0; padding: 8px; background: var(--asy-surface); border: 1px solid var(--asy-border); border-radius: var(--asy-radius-card); }
.manage-nav a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--asy-text-2) !important;
    font-size: 0.875rem;
    font-weight: 500;
}
.manage-nav a:hover { background: var(--asy-surface-2); color: var(--asy-text) !important; text-decoration: none !important; }
.manage-nav a.active { background: var(--asy-primary-bg); color: var(--asy-primary-fg) !important; font-weight: 600; }

.manage-card {
    background: var(--asy-surface);
    border: 1px solid var(--asy-border);
    border-radius: var(--asy-radius-card);
    box-shadow: var(--asy-shadow);
    padding: 28px;
    min-width: 0;
}

.manage-footer { text-align: center; padding: 16px; }

@media (max-width: 767.98px) {
    .manage-grid { grid-template-columns: 1fr; }
    .manage-nav { display: flex; overflow-x: auto; gap: 4px; }
    .manage-nav a { white-space: nowrap; }
    .manage-body { padding: 20px 16px; }
    .manage-card { padding: 20px 16px; }
    .manage-bar { padding: 0 16px; }
    .manage-bar__back-text { display: none; }
}

/* ---------- 7. Uygulama kabuğu (MudBlazor) ---------- */
.asy-app { min-height: 100vh; background: var(--asy-bg); color: var(--asy-text); }

.asy-appbar.mud-appbar { border-bottom: 1px solid var(--asy-border); box-shadow: none; }
.asy-appbar__title { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.asy-appbar__crumbs { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--asy-text-2); white-space: nowrap; }
.asy-appbar__crumbs a { color: inherit; text-decoration: none; }
.asy-appbar__crumbs a:hover { color: var(--asy-text); text-decoration: underline; }
.asy-appbar__heading { margin: 0; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cekmece ekran yuksekligini doldurur (kisa icerik, koyu tema, mobil adres cubugu): yukseklik dvh ile, arka plan dogrudan
   marka belirtecinden gelir; icerik sarmalayicisi da ayni renkte kalir, altta bosluk gorunmez. */
.asy-drawer.mud-drawer { border-right: 0; height: 100vh; height: 100dvh; background-color: var(--asy-drawer); }
.asy-drawer.mud-drawer .mud-drawer-content { min-height: 100%; background-color: var(--asy-drawer); }
.asy-drawer__brand { display: flex; align-items: center; height: 64px; padding: 0 20px; color: #FFFFFF; }
.asy-drawer__brand .wordmark { color: #FFFFFF; }
.asy-drawer__area { margin: 4px 20px 8px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #64748B; }

.asy-nav { padding: 4px 12px 24px; }
.asy-nav__group { margin: 18px 12px 6px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #94A3B8; }
.asy-nav .mud-nav-link {
    border-radius: 8px;
    margin: 2px 0;
    padding: 8px 12px;
    color: #CBD5E1;
    font-weight: 500;
}
.asy-nav .mud-nav-link:hover:not(.mud-nav-link-disabled) { background: rgba(255, 255, 255, 0.06); color: #FFFFFF; }
.asy-nav .mud-nav-link .mud-nav-link-icon { color: #94A3B8; }
.asy-nav .mud-nav-link.active:not(.mud-nav-link-disabled) {
    background: rgba(91, 140, 255, 0.18);
    color: #FFFFFF;
    box-shadow: inset 3px 0 0 #5B8CFF;
}
.asy-nav .mud-nav-link.active .mud-nav-link-icon { color: #A5C0FF; }
.asy-nav .mud-nav-link:focus-visible { box-shadow: inset 0 0 0 2px #5B8CFF; }
.asy-nav__ext { margin-left: 6px; font-size: 0.6875rem; color: #94A3B8; }

.asy-main.mud-main-content { background: var(--asy-bg); }
.asy-content { padding-top: 24px; padding-bottom: 48px; }

.asy-user { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: 999px; }
.asy-avatar {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 999px;
    background: var(--asy-primary-bg);
    color: var(--asy-primary-fg);
    font-size: 0.8125rem; font-weight: 700;
}
.asy-user__meta { padding: 12px 16px 10px; min-width: 240px; border-bottom: 1px solid var(--asy-border); }
.asy-user__name { font-weight: 600; font-size: 0.875rem; word-break: break-all; }
.asy-user__role { font-size: 0.75rem; color: var(--asy-text-2); margin-top: 2px; }
.asy-menu-form { margin: 0; }
.asy-menu-button {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 10px 16px;
    font: inherit; font-size: 0.875rem;
    color: var(--asy-text);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.asy-menu-button:hover, .asy-menu-button:focus-visible { background: var(--asy-surface-2); outline: none; }
.asy-menu-button .mud-icon-root { color: var(--asy-text-2); }

/* ---------- 8. Bileşenler ---------- */
.page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-header__text { min-width: 0; }
.page-header__title { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--asy-text); }
.page-header__subtitle { margin: 4px 0 0; color: var(--asy-text-2); font-size: 0.875rem; }
.page-header__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.asy-card.mud-paper {
    border: 1px solid var(--asy-border);
    border-radius: var(--asy-radius-card);
    box-shadow: var(--asy-shadow);
    background: var(--asy-surface);
}
.asy-card__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.asy-card__title h2, .asy-card__title h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.asy-card__hint { font-size: 0.75rem; color: var(--asy-text-2); }

.asy-grid-table.mud-table, .asy-card .mud-table { background: transparent; }
.asy-card .mud-table-container { overflow-x: auto; }

/* Durum rozeti: renk + ikon + metin (yalnızca renge dayanmaz). */
.pill {
    display: inline-flex; align-items: center; gap: 5px;
    height: 24px;
    padding: 0 9px 0 7px;
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 600; line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.pill svg, .pill .mud-icon-root { width: 14px; height: 14px; font-size: 14px; flex: none; }
.pill--success { background: var(--asy-success-bg); color: var(--asy-success-fg); }
.pill--warning { background: var(--asy-warning-bg); color: var(--asy-warning-fg); }
.pill--error { background: var(--asy-error-bg); color: var(--asy-error-fg); }
.pill--info { background: var(--asy-info-bg); color: var(--asy-info-fg); }
.pill--neutral { background: var(--asy-neutral-bg); color: var(--asy-neutral-fg); }
.pill--primary { background: var(--asy-primary-bg); color: var(--asy-primary-fg); }

.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 16px; gap: 6px; }
.empty-state__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--asy-primary-bg); color: var(--asy-primary-fg); margin-bottom: 8px; }
.empty-state__title { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--asy-text); }
.empty-state__text { margin: 0; max-width: 36rem; font-size: 0.875rem; color: var(--asy-text-2); }
.empty-state__actions { margin-top: 10px; }
.empty-state--compact { padding: 20px 12px; }

.skeleton-stack { display: flex; flex-direction: column; gap: 10px; }
.skeleton-row { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 16px; }
.skeleton-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

/* KPI kartı */
.stat-card {
    position: relative;
    display: flex; flex-direction: column; gap: 6px;
    height: 100%;
    padding: 16px 18px 14px;
    background: var(--asy-surface);
    border: 1px solid var(--asy-border);
    border-radius: var(--asy-radius-card);
    box-shadow: var(--asy-shadow);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}
a.stat-card:hover { border-color: var(--asy-primary); }
a.stat-card:focus-visible { outline: none; box-shadow: var(--asy-focus); }
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--stat-accent, var(--asy-border)); }
.stat-card--primary { --stat-accent: var(--asy-primary); }
.stat-card--accent { --stat-accent: var(--asy-accent); }
.stat-card--success { --stat-accent: var(--asy-success); }
.stat-card--warning { --stat-accent: var(--asy-warning); }
.stat-card--error { --stat-accent: var(--asy-error); }
.stat-card--info { --stat-accent: var(--asy-info); }
.stat-card--neutral { --stat-accent: var(--asy-border); }
.stat-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-card__label { font-size: 0.8125rem; font-weight: 600; color: var(--asy-text-2); }
.stat-card__icon { color: var(--asy-text-2); }
.stat-card__value { display: flex; align-items: baseline; gap: 4px; font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--asy-text); }
.stat-card__unit { font-size: 0.875rem; font-weight: 600; color: var(--asy-text-2); }
.stat-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.stat-card__note { font-size: 0.75rem; color: var(--asy-text-2); }

.sparkline { width: 96px; height: 28px; flex: none; overflow: visible; }
.sparkline__line { fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; stroke: var(--stat-accent, var(--asy-primary)); }
.sparkline__area { stroke: none; fill: var(--stat-accent, var(--asy-primary)); fill-opacity: 0.12; }
.stat-card--neutral .sparkline__line { stroke: var(--asy-primary); }
.stat-card--neutral .sparkline__area { fill: var(--asy-primary); }

/* Grafik sarmalayıcıları */
.chart-box { position: relative; width: 100%; min-width: 0; }
.chart-box .mud-chart { width: 100%; }
.chart-box svg text { font-family: var(--asy-font); font-variant-numeric: tabular-nums; }
.chart-legend { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.chart-legend__item { display: grid; grid-template-columns: 12px 1fr auto auto; align-items: center; gap: 10px; font-size: 0.8125rem; }
.chart-legend__swatch { width: 10px; height: 10px; border-radius: 3px; }
.chart-legend__swatch--primary { background: var(--asy-primary); }
.chart-legend__swatch--accent { background: var(--asy-accent); }
.chart-legend__swatch--success { background: var(--asy-success); }
.chart-legend__swatch--warning { background: var(--asy-warning); }
.chart-legend__swatch--error { background: var(--asy-error); }
.chart-legend__swatch--info { background: var(--asy-info); }
.chart-legend__swatch--neutral { background: var(--asy-text-2); }
.chart-legend__value { font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-legend__pct { color: var(--asy-text-2); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
/* Kart genişliğine göre (ekran değil) yerleşim: 1280 px'te dar kartta açıklama kırpılmasın. */
.donut-host { container-type: inline-size; container-name: donut; }
.donut-wrap { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 20px; align-items: center; }
.donut-wrap .chart-legend { min-width: 0; }
.donut-wrap .chart-legend__item > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.donut-wrap__chart { position: relative; }
.donut-wrap__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.donut-wrap__total { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.donut-wrap__caption { font-size: 0.6875rem; color: var(--asy-text-2); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 599.98px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } .chart-legend { width: 100%; } }
@container donut (max-width: 379.98px) {
    .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
    .donut-wrap__chart { width: min(200px, 100%); }
    .donut-wrap .chart-legend { width: 100%; }
}

/* ---------- 9. Basit SSR düzeni (hata/bulunamadı sayfaları) ---------- */
.plain { min-height: 100vh; display: flex; flex-direction: column; }
.plain-bar { display: flex; align-items: center; height: 64px; padding: 0 24px; background: var(--asy-drawer); color: #FFFFFF; }
.plain-bar .wordmark { color: #FFFFFF; }
.plain-body { flex: 1; width: 100%; max-width: 880px; margin: 0 auto; padding: 32px 24px; }

/* ---------- 10. Blazor hata çubuğu ---------- */
#blazor-error-ui {
    background: var(--asy-warning-bg);
    color: var(--asy-warning-fg);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}
#blazor-error-ui a { color: inherit; font-weight: 600; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

.blazor-error-boundary { background: var(--asy-error-bg); color: var(--asy-error-fg); padding: 1rem; border-radius: var(--asy-radius); }
.blazor-error-boundary::after { content: "Bir hata oluştu."; }

/* ---------- 11. Hesap yönetimi tipografisi ---------- */
.kit h4 { margin: 20px 0 10px; font-size: 0.9375rem; font-weight: 600; }
.manage-card > h3:first-child { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.btn-icon { width: 16px; height: 16px; vertical-align: -3px; }
.kit .btn svg { width: 16px; height: 16px; }
.asy-skeleton-card.mud-skeleton { border-radius: var(--asy-radius-card); }
.manage-bar__logout { margin: 0; }
.manage-bar__logout-btn {
    min-height: 36px; padding: 0 14px;
    font: inherit; font-size: 0.875rem; font-weight: 600;
    color: #FFFFFF; background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--asy-radius);
    cursor: pointer;
}
.manage-bar__logout-btn:hover { background: rgba(255, 255, 255, 0.08); }
.manage-bar__logout-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.5); }

/* Kit bağlantı/paragraf kurallarının marka öğelerini ezmemesi için. */
.kit a.wordmark, .kit a.wordmark:hover { color: inherit; text-decoration: none; }
.acct-brand .wordmark, .manage-bar .wordmark, .plain-bar .wordmark { color: #FFFFFF; }
.kit .field__row a { font-size: 0.8125rem; }

/* MudBlazor'un etkin bağlantı kuralı (birincil renk metin) koyu çekmecede kontrastı düşürür; daha özgül kural. */
.asy-drawer .mud-navmenu.asy-nav .mud-nav-link { color: #CBD5E1; }
.asy-drawer .mud-navmenu.asy-nav .mud-nav-link:hover:not(.mud-nav-link-disabled) { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.asy-drawer .mud-navmenu.asy-nav .mud-nav-link.active:not(.mud-nav-link-disabled) {
    color: #FFFFFF;
    background: rgba(91, 140, 255, 0.18);
    box-shadow: inset 3px 0 0 #5B8CFF;
}
.asy-drawer .mud-navmenu.asy-nav .mud-nav-link.active:not(.mud-nav-link-disabled) .mud-nav-link-icon { color: #A5C0FF; }

/* Alan grafiği dolgusu: MudBlazor varsayılanı (0.4) veri çizgisini bastırır. */
.chart-box path.mud-chart-line:not([fill="none"]) { fill-opacity: 0.14; }

/* ---------- 12. Gösterge panelleri (Task 15) ---------- */
/* Taşma koruması: ızgara/flex çocukları içerik genişliğine kilitlenmez; geniş tablolar kendi kabında kayar. */
.asy-main .asy-content { min-width: 0; }
.asy-card.mud-paper { min-width: 0; max-width: 100%; }
/* Kayan kap MudSimpleTable'in ic .mud-table-container'idir (MudBlazor overflow-y:auto verir, x de auto olur);
   dis sarmalayici kaymaz, yalnizca tabloya en az genislik verir. */
.asy-table-scroll { width: 100%; }
.asy-table-scroll .mud-table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.asy-table-scroll table { min-width: 560px; }
/* Kaydırma ipucu: kenarda daha fazla içerik varsa o kenarda gölge belirir (background-attachment: local tekniği).
   Örtüler (local) içerikle kayar ve kenara gelindiğinde gölgeyi (scroll) kapatır. Tablo arka planı saydam olmalı. */
.asy-table-scroll .mud-table-container,
.asy-card .mud-table-container {
    background:
        linear-gradient(to right, var(--asy-surface) 50%, transparent) left center / 40px 100% no-repeat local,
        linear-gradient(to left, var(--asy-surface) 50%, transparent) right center / 40px 100% no-repeat local,
        radial-gradient(farthest-side at 0 50%, var(--asy-scroll-shadow), transparent) left center / 14px 100% no-repeat scroll,
        radial-gradient(farthest-side at 100% 50%, var(--asy-scroll-shadow), transparent) right center / 14px 100% no-repeat scroll,
        var(--asy-surface);
}
.asy-card .mud-data-grid, .asy-card .mud-table { max-width: 100%; }
.asy-nowrap { white-space: nowrap; }
.asy-chip-row { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.asy-narrow.mud-paper { max-width: 640px; }

.asy-kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.asy-kpis > * { min-width: 0; }
@media (min-width: 1280px) { .asy-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .asy-kpis--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .asy-kpis--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .asy-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .stat-card__value { font-size: 1.5rem; } }
@media (max-width: 379.98px) { .asy-kpis { grid-template-columns: minmax(0, 1fr); } }

.asy-dash-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.asy-dash-grid > * { min-width: 0; }
@media (min-width: 1024px) {
    .asy-dash-grid--trend { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .asy-dash-grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sistem bandı: kırmızı vurgu + AA kontrastlı metin (her iki temada token'lardan). */
.asy-system-banner {
    display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap;
    margin-bottom: 24px; padding: 14px 16px;
    background: var(--asy-error-bg); color: var(--asy-error-fg);
    border: 1px solid var(--asy-error); border-left-width: 4px;
    border-radius: var(--asy-radius-card);
}
.asy-system-banner__icon { flex: none; margin-top: 2px; }
.asy-system-banner__body { flex: 1 1 260px; min-width: 0; }
.asy-system-banner__title { margin: 0 0 4px; font-weight: 700; }
.asy-system-banner__list { margin: 0; padding-left: 18px; font-size: 0.875rem; overflow-wrap: anywhere; }
.asy-system-banner__time { opacity: 0.85; margin-left: 4px; }
.asy-system-banner__link { color: inherit; font-weight: 600; text-decoration: underline; white-space: nowrap; align-self: center; }
.asy-system-banner__link:focus-visible { outline: none; box-shadow: var(--asy-focus); border-radius: 4px; }

/* Açık olaylar zaman çizelgesi */
.asy-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--asy-border); display: flex; flex-direction: column; gap: 14px; }
.asy-timeline__item { position: relative; min-width: 0; }
.asy-timeline__item::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--asy-error); box-shadow: 0 0 0 3px var(--asy-surface); }
.asy-timeline__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.asy-timeline__time { font-size: 0.75rem; color: var(--asy-text-2); }
.asy-timeline__target { margin-top: 4px; font-size: 0.875rem; font-weight: 600; overflow-wrap: anywhere; }
.asy-timeline__detail { margin: 2px 0 0; font-size: 0.8125rem; color: var(--asy-text-2); overflow-wrap: anywhere; }

/* Müşteri site kartları */
.asy-site-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.asy-site-cards > li { min-width: 0; }
@media (max-width: 599.98px) { .asy-site-cards { grid-template-columns: minmax(0, 1fr); } }
.asy-site-card {
    display: flex; flex-direction: column; gap: 14px; height: 100%;
    padding: 16px 18px;
    background: var(--asy-surface); color: var(--asy-text);
    border: 1px solid var(--asy-border); border-radius: var(--asy-radius-card); box-shadow: var(--asy-shadow);
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.asy-site-card:hover { border-color: var(--asy-primary); box-shadow: var(--asy-shadow-lg); }
.asy-site-card:focus-visible { outline: none; box-shadow: var(--asy-focus); border-color: var(--asy-primary); }
.asy-site-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.asy-site-card__domain { font-weight: 700; font-size: 1rem; min-width: 0; overflow-wrap: anywhere; }
.asy-site-card__metric { display: flex; flex-direction: column; gap: 2px; }
.asy-site-card__value { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.asy-site-card__caption { font-size: 0.75rem; color: var(--asy-text-2); }
.asy-site-card__facts { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--asy-border); }
.asy-site-card__fact { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.8125rem; color: var(--asy-text-2); }
.asy-site-card__fact > .tabular { color: var(--asy-text); font-weight: 600; }
.asy-site-card__more { display: inline-flex; align-items: center; gap: 2px; margin-top: auto; font-size: 0.8125rem; font-weight: 600; color: var(--asy-primary-fg); }

.asy-setting__status { margin: 0 0 12px; }
.stat-card > .pill { align-self: flex-start; }
/* Açık olaylar + son işlemler: denetim tablosu daha geniş sütunda (geniş ekranda yan yana, aksi halde alt alta). */
@media (min-width: 1280px) { .asy-dash-grid--feed { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }

/* Y ekseni taban serisi (AreaTrendChart AutoFloor) gorunmez ve etkilesimsizdir. */
.chart-box [stroke="transparent"] { pointer-events: none; }
