/* TOKEN DESAIN — satu-satunya tempat nilai warna, ukuran, dan jarak didefinisikan.
   File lain hanya boleh memakai var(--...). Diperiksa otomatis oleh tools/check-ui.js. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter-Semi-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter-Bold.woff2") format("woff2"); }

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-xs: 11px; --fs-sm: 12px; --fs-body: 13px; --fs-base: 14px; --fs-md: 16px; --fs-lg: 18px; --fs-xl: 24px; --fs-2xl: 32px;
  --fs-kpi: 22px; --fs-nav: 13px; --fs-nav-section: 10px;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;

  --c-navy: #19283f; --c-navy-deep: #121d30; --c-navy-hover: #30415f; --c-navy-active: #263a5c;
  --c-primary: #263f83; --c-primary-hover: #1e3470; --c-primary-soft: #eaf0ff;
  --c-brand-light: #8ea6ff; --c-accent: #63b7f2;
  --c-bg: #f4f6fb; --c-surface: #ffffff; --c-surface-alt: #f8fafd;
  --c-border: #e2e8f0; --c-border-strong: #d6deea;
  --c-text: #1b2740; --c-text-muted: #5f6f87; --c-text-faint: #8a97ab; --c-text-on-dark: #e6ecf7; --c-text-on-dark-muted: #9fb0cc;
  --c-danger: #b42318; --c-danger-hover: #961c12; --c-danger-soft: #fff0f0;
  --c-success: #15803d; --c-success-soft: #e9f8ef;
  --c-warning: #b45309; --c-warning-soft: #fff6e5;
  --c-info: #1d4ed8; --c-info-soft: #eaf1ff;
  --c-purple: #6d4bb8; --c-purple-soft: #f4efff;
  --chart-1: #263f83; --chart-2: #15803d; --chart-3: #b45309; --chart-4: #6d4bb8; --chart-5: #0e7490; --chart-6: #b42318;
  --c-scroll-thumb: #c3cddd; --c-scroll-thumb-hover: #a4b2c8; --c-scroll-thumb-dark: #3a4e72; --c-scroll-thumb-dark-hover: #55709f;
  --c-overlay: rgba(16, 24, 40, 0.55); --c-white: #ffffff;

  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-pop: 0 12px 32px rgba(16, 24, 40, 0.18);
  --shadow-login: 0 24px 60px rgba(25, 40, 63, 0.18);
  --focus-ring: 0 0 0 3px rgba(38, 63, 131, 0.25);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;

  --sidebar-w: 250px; --header-h: 70px; --content-max: 1480px;
  --z-raised: 1; --z-sidebar: 30; --z-header: 20; --z-modal: 100; --z-toast: 200;
  --t-fast: 120ms ease; --t-base: 180ms ease;
}
