/* DEX Admin — design tokens (TZ admin panel, section 4).
   Palette and type are taken from dex-official.com (Framer: Inter Variable 500/600/700,
   gradient #38bdf8 -> #6366f1 55% -> #7c3aed, white cards with a .06 shadow on #eef3ff)
   and from the managers' LK (dark sidebar #0d1826, pill buttons, status pills, notices:
   lead_scanner_bot/web/templates/dialogs.html:17-29, 841-864, 1266-1287, 1485-1529).
   The font is self-hosted: Inter 4.1 (SIL OFL 1.1, fonts/LICENSE.txt). No external URLs. */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/InterVariable.woff2?v=4.1") format("woff2");
}

:root {
    color-scheme: light;

    /* brand */
    --grad: linear-gradient(135deg, #38bdf8 0%, #6366f1 55%, #7c3aed 100%);
    --grad-soft: linear-gradient(135deg, rgba(56, 189, 248, .14) 0%, rgba(99, 102, 241, .12) 55%, rgba(124, 58, 237, .14) 100%);
    --sky: #38bdf8;
    --indigo: #6366f1;
    --violet: #7c3aed;
    --brand-teal: #2b9372;
    --brand-navy: #193455;
    --brand-grad: linear-gradient(45deg, #193455 0%, #2b9372 100%);

    /* ink and surfaces */
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --muted-ink: #556476; /* muted text on tinted surfaces (keeps 4.5:1 on --tint and grey pills) */
    --line: #e2e8f0;
    --line-strong: #dce4ef;
    --tint: #eef3ff;
    --surface: #ffffff;
    --surface-2: #f8fbff;
    --surface-3: #f1f5fb;
    --link: #2563eb;

    /* dark sidebar (LK) */
    --deep: #0d1826;
    --deep-2: #15263a;
    --deep-3: #20354c;
    --deep-ink: #dbeafe;
    --deep-muted: #93a7bf;

    /* statuses (LK) */
    --ok-bg: #dcfce7;
    --ok: #166534;
    --bad-bg: #ffe4e6;
    --bad: #9f1239;
    --bad-solid: #be123c;
    --warn-bg: #fff7ed;
    --warn: #9a3412;
    --warn-line: #fed7aa;
    --info-bg: #eef3ff;
    --info: #3730a3;
    --neutral-bg: #f1f5f9;
    --neutral: #334155;
    --muted-bg: #f1f5f9;
    --on-grad-shadow: 0 1px 2px rgba(15, 23, 42, .28);
    --progress-bg: #e0f2fe;
    --progress: #075985;

    /* notices (LK dialogs.html:1485-1529) */
    --notice-err-bg: #fff1f4;
    --notice-err-line: #ffd7df;
    --notice-err: #9f1239;
    --notice-ok-bg: #ecfffb;
    --notice-ok-line: #b9f3e8;
    --notice-ok: #115e59;
    --notice-warn-bg: #fff7ed;
    --notice-warn-line: #fed7aa;
    --notice-warn: #9a3412;
    --notice-info-bg: #eef3ff;
    --notice-info-line: #c7d2fe;
    --notice-info: #3730a3;

    /* radii */
    --r-10: 10px;
    --r-12: 12px;
    --r-14: 14px;
    --r-16: 16px;
    --r-20: 20px;
    --r-24: 24px;
    --r-28: 28px;
    --r-32: 32px;
    --pill: 999px;

    /* shadows (site: cards .06; LK: popovers) */
    --shadow-card: 0 8px 24px rgba(23, 37, 84, .06);
    --shadow-soft: 0 6px 16px rgba(23, 37, 84, .05);
    --shadow-pop: 0 18px 44px rgba(42, 55, 105, .18);
    --shadow-cta: 0 12px 30px rgba(99, 102, 241, .35);
    --shadow-cta-sm: 0 6px 16px rgba(99, 102, 241, .35);
    --shadow-deep: 0 22px 60px rgba(4, 16, 33, .24);
    --focus: 0 0 0 4px rgba(56, 189, 248, .16);
    --focus-strong: 0 0 0 3px rgba(99, 102, 241, .45);

    /* type (site) */
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    --fs-12: 12px;
    --fs-13: 13px;
    --fs-15: 15px;
    --fs-18: 18px;
    --fs-22: 22px;
    --fs-28: 28px;
    --fs-34: 34px;
    --lh-text: 1.35;
    --lh-head: 1.15;
    --ls-text: -0.01em;
    --ls-h3: -0.02em;
    --ls-h1: -0.03em;
    --w-text: 500;
    --w-sub: 600;
    --w-head: 700;
    --w-brand: 800;

    /* layout (LK breakpoints 1320 / 980 / 700 / 560) */
    --sidebar-w: 264px;
    --gap: 16px;
    --topbar-h: 64px;
    --control-h: 40px;
    --row-h: 46px;
    --bottom-nav-h: 64px;
}
