/* ==========================================================================
   FinMinion.UI design tokens: colour, type, radius, shadow and motion, for light and dark.
   Components in this library and the app shell read these; nothing here is app-specific.
   Dark mode is html[data-bs-theme="dark"] (set by the app from localStorage "FMTheme").
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
    --nv-bg: #F3F6FA;
    --nv-surface: #FFFFFF;
    --nv-surface-2: #F8FAFC;
    --nv-ink: #13202F;
    --nv-muted: #586A7D;
    --nv-faint: #8798AB;
    --nv-line: #DCE3EB;
    --nv-primary: #003A70;
    --nv-primary-hover: #002E59;
    --nv-primary-ink: #FFFFFF;
    --nv-primary-soft: #E2ECF6;
    --nv-gold: #F0A500;
    --nv-bad: #BE2F49;
    --nv-glass: rgba(255, 255, 255, .76);
    --nv-glass-line: rgba(255, 255, 255, .7);
    --nv-hi: inset 0 1px 0 rgba(255, 255, 255, .9);
    --nv-blob1: rgba(0, 58, 112, .14);
    --nv-blob2: rgba(240, 165, 0, .2);
    --nv-glow: rgba(240, 165, 0, .5);
    --nv-shadow-1: 0 1px 2px rgba(15, 32, 50, .06), 0 1px 1px rgba(15, 32, 50, .04);
    --nv-shadow-2: 0 14px 34px rgba(15, 32, 50, .16), 0 2px 6px rgba(15, 32, 50, .08);
    --nv-font-display: 'Manrope', 'DM Sans', system-ui, sans-serif;
    --nv-font-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --nv-r-s: 6px;
    --nv-r-m: 10px;
    --nv-r-l: 14px;
    --nv-d-fast: 120ms;
    --nv-d-base: 200ms;
    --nv-d-slow: 600ms;
    --nv-ease: cubic-bezier(.2, .7, .2, 1);
    --nv-page-gutter: clamp(12px, 1.6vw, 24px);
}

html[data-bs-theme="dark"] {
    --nv-bg: #0D1520;
    --nv-surface: #142030;
    --nv-surface-2: #101A28;
    --nv-ink: #E7EEF6;
    --nv-muted: #9BABBD;
    --nv-faint: #6F8095;
    --nv-line: #25354A;
    --nv-primary: #5B9CE2;
    --nv-primary-hover: #7DB2EA;
    --nv-primary-ink: #06192E;
    --nv-primary-soft: #183250;
    --nv-gold: #F2B73F;
    --nv-bad: #F0788E;
    --nv-glass: rgba(20, 32, 48, .72);
    --nv-glass-line: rgba(255, 255, 255, .09);
    --nv-hi: inset 0 1px 0 rgba(255, 255, 255, .07);
    --nv-blob1: rgba(91, 156, 226, .22);
    --nv-blob2: rgba(242, 183, 63, .14);
    --nv-glow: rgba(242, 183, 63, .4);
    --nv-shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --nv-shadow-2: 0 16px 40px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
}
@media (prefers-reduced-motion: reduce) {
    :root { --nv-d-fast: 0ms; --nv-d-base: 0ms; --nv-d-slow: 0ms; }
}

@keyframes nvEnter { from { opacity: 0; transform: translateY(8px); } }
