/* ============================================
   ZeroLabs Security - Design System
   Version: 2.0.0

   A comprehensive design system for security
   vulnerability scanning applications.
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */

:root {
  /* ----------------------------------------
     1.1 Color Palette
     ---------------------------------------- */

  /* Primary - Navy/Deep Blue (Professional security feel) */
  --color-primary-50: #eef2ff;
  --color-primary-100: #e0e7ff;
  --color-primary-200: #c7d2fe;
  --color-primary-300: #a5b4fc;
  --color-primary-400: #818cf8;
  --color-primary-500: #6366f1;
  --color-primary-600: #4f46e5;
  --color-primary-700: #4338ca;
  --color-primary-800: #3730a3;
  --color-primary-900: #312e81;
  --color-primary-950: #1e1b4b;

  /* Secondary - Slate (Neutral professional) */
  --color-secondary-50: #f8fafc;
  --color-secondary-100: #f1f5f9;
  --color-secondary-200: #e2e8f0;
  --color-secondary-300: #cbd5e1;
  --color-secondary-400: #94a3b8;
  --color-secondary-500: #64748b;
  --color-secondary-600: #475569;
  --color-secondary-700: #334155;
  --color-secondary-800: #1e293b;
  --color-secondary-900: #0f172a;
  --color-secondary-950: #020617;

  /* Accent - Cyan (Tech/Security highlight) */
  --color-accent-50: #ecfeff;
  --color-accent-100: #cffafe;
  --color-accent-200: #a5f3fc;
  --color-accent-300: #67e8f9;
  --color-accent-400: #22d3ee;
  --color-accent-500: #06b6d4;
  --color-accent-600: #0891b2;
  --color-accent-700: #0e7490;
  --color-accent-800: #155e75;
  --color-accent-900: #164e63;

  /* Semantic Colors */
  /* Success - Green */
  --color-success-50: #ecfdf5;
  --color-success-100: #d1fae5;
  --color-success-200: #a7f3d0;
  --color-success-300: #6ee7b7;
  --color-success-400: #34d399;
  --color-success-500: #10b981;
  --color-success-600: #059669;
  --color-success-700: #047857;
  --color-success-800: #065f46;
  --color-success-900: #064e3b;

  /* Warning - Amber */
  --color-warning-50: #fffbeb;
  --color-warning-100: #fef3c7;
  --color-warning-200: #fde68a;
  --color-warning-300: #fcd34d;
  --color-warning-400: #fbbf24;
  --color-warning-500: #f59e0b;
  --color-warning-600: #d97706;
  --color-warning-700: #b45309;
  --color-warning-800: #92400e;
  --color-warning-900: #78350f;

  /* Danger - Red */
  --color-danger-50: #fef2f2;
  --color-danger-100: #fee2e2;
  --color-danger-200: #fecaca;
  --color-danger-300: #fca5a5;
  --color-danger-400: #f87171;
  --color-danger-500: #ef4444;
  --color-danger-600: #dc2626;
  --color-danger-700: #b91c1c;
  --color-danger-800: #991b1b;
  --color-danger-900: #7f1d1d;

  /* Info - Blue */
  --color-info-50: #eff6ff;
  --color-info-100: #dbeafe;
  --color-info-200: #bfdbfe;
  --color-info-300: #93c5fd;
  --color-info-400: #60a5fa;
  --color-info-500: #3b82f6;
  --color-info-600: #2563eb;
  --color-info-700: #1d4ed8;
  --color-info-800: #1e40af;
  --color-info-900: #1e3a8a;

  /* Neutral - Gray Scale */
  --color-neutral-0: #ffffff;
  --color-neutral-50: #fafafa;
  --color-neutral-100: #f4f4f5;
  --color-neutral-200: #e4e4e7;
  --color-neutral-300: #d4d4d8;
  --color-neutral-400: #a1a1aa;
  --color-neutral-500: #71717a;
  --color-neutral-600: #52525b;
  --color-neutral-700: #3f3f46;
  --color-neutral-800: #27272a;
  --color-neutral-900: #18181b;
  --color-neutral-950: #09090b;

  /* Severity Colors (Security-specific) */
  --color-severity-critical: #7f1d1d;
  --color-severity-critical-bg: #fef2f2;
  --color-severity-critical-border: #fecaca;

  --color-severity-high: #9a3412;
  --color-severity-high-bg: #fff7ed;
  --color-severity-high-border: #fed7aa;

  --color-severity-medium: #a16207;
  --color-severity-medium-bg: #fefce8;
  --color-severity-medium-border: #fef08a;

  --color-severity-low: #166534;
  --color-severity-low-bg: #f0fdf4;
  --color-severity-low-border: #bbf7d0;

  --color-severity-info: #1e40af;
  --color-severity-info-bg: #eff6ff;
  --color-severity-info-border: #bfdbfe;

  /* ----------------------------------------
     1.2 Light Mode (Default)
     ---------------------------------------- */

  /* Background */
  --bg-base: var(--color-neutral-50);
  --bg-surface: var(--color-neutral-0);
  --bg-elevated: var(--color-neutral-0);
  --bg-sunken: var(--color-neutral-100);
  --bg-muted: var(--color-neutral-100);
  --bg-subtle: var(--color-neutral-50);
  --bg-overlay: rgba(0, 0, 0, 0.5);

  /* Foreground/Text */
  --text-primary: var(--color-neutral-900);
  --text-secondary: var(--color-neutral-600);
  --text-tertiary: var(--color-neutral-500);
  --text-muted: var(--color-neutral-400);
  --text-inverse: var(--color-neutral-0);
  --text-link: var(--color-primary-600);
  --text-link-hover: var(--color-primary-700);

  /* Border */
  --border-default: var(--color-neutral-200);
  --border-muted: var(--color-neutral-100);
  --border-strong: var(--color-neutral-300);
  --border-focus: var(--color-primary-500);

  /* Interactive States */
  --interactive-normal: var(--color-neutral-0);
  --interactive-hover: var(--color-neutral-50);
  --interactive-active: var(--color-neutral-100);
  --interactive-selected: var(--color-primary-50);

  /* ----------------------------------------
     1.3 Typography
     ---------------------------------------- */

  /* Font Families */
  --font-sans: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ----------------------------------------
     1.4 Spacing (8px base system)
     ---------------------------------------- */

  --space-0: 0;
  --space-0-5: 0.125rem;  /* 2px */
  --space-1: 0.25rem;     /* 4px */
  --space-1-5: 0.375rem;  /* 6px */
  --space-2: 0.5rem;      /* 8px */
  --space-2-5: 0.625rem;  /* 10px */
  --space-3: 0.75rem;     /* 12px */
  --space-3-5: 0.875rem;  /* 14px */
  --space-4: 1rem;        /* 16px */
  --space-5: 1.25rem;     /* 20px */
  --space-6: 1.5rem;      /* 24px */
  --space-7: 1.75rem;     /* 28px */
  --space-8: 2rem;        /* 32px */
  --space-9: 2.25rem;     /* 36px */
  --space-10: 2.5rem;     /* 40px */
  --space-11: 2.75rem;    /* 44px */
  --space-12: 3rem;       /* 48px */
  --space-14: 3.5rem;     /* 56px */
  --space-16: 4rem;       /* 64px */
  --space-20: 5rem;       /* 80px */
  --space-24: 6rem;       /* 96px */
  --space-28: 7rem;       /* 112px */
  --space-32: 8rem;       /* 128px */

  /* ----------------------------------------
     1.5 Border Radius
     ---------------------------------------- */

  --radius-none: 0;
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* ----------------------------------------
     1.6 Shadows
     ---------------------------------------- */

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Focus ring shadow */
  --shadow-focus: 0 0 0 3px rgba(99, 102, 241, 0.3);
  --shadow-focus-danger: 0 0 0 3px rgba(239, 68, 68, 0.3);

  /* ----------------------------------------
     1.7 Transitions
     ---------------------------------------- */

  --duration-instant: 0ms;
  --duration-fast: 100ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --duration-slower: 500ms;

  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --transition-fast: all var(--duration-fast) var(--ease-out);
  --transition-normal: all var(--duration-normal) var(--ease-out);
  --transition-slow: all var(--duration-slow) var(--ease-out);

  /* ----------------------------------------
     1.8 Z-Index Scale
     ---------------------------------------- */

  --z-hide: -1;
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-sidebar: 400;
  --z-header: 500;
  --z-overlay: 600;
  --z-modal: 700;
  --z-popover: 800;
  --z-tooltip: 900;
  --z-toast: 1000;

  /* ----------------------------------------
     1.9 Breakpoints (for reference)
     ---------------------------------------- */

  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ----------------------------------------
     1.10 Layout
     ---------------------------------------- */

  --sidebar-width: 260px;
  --sidebar-collapsed-width: 72px;
  --header-height: 64px;
  --container-max-width: 1280px;
}

/* ============================================
   2. DARK MODE
   ============================================ */

[data-theme="dark"] {
  /* Background */
  --bg-base: var(--color-secondary-950);
  --bg-surface: var(--color-secondary-900);
  --bg-elevated: var(--color-secondary-800);
  --bg-sunken: var(--color-neutral-950);
  --bg-muted: var(--color-secondary-800);
  --bg-subtle: var(--color-secondary-900);
  --bg-overlay: rgba(0, 0, 0, 0.75);

  /* Foreground/Text */
  --text-primary: var(--color-neutral-50);
  --text-secondary: var(--color-neutral-300);
  --text-tertiary: var(--color-neutral-400);
  --text-muted: var(--color-neutral-400);
  --text-inverse: var(--color-neutral-900);
  --text-link: var(--color-primary-400);
  --text-link-hover: var(--color-primary-300);

  /* Border */
  --border-default: var(--color-secondary-700);
  --border-muted: var(--color-secondary-800);
  --border-strong: var(--color-secondary-600);
  --border-focus: var(--color-primary-400);

  /* Interactive States */
  --interactive-normal: var(--color-secondary-800);
  --interactive-hover: var(--color-secondary-700);
  --interactive-active: var(--color-secondary-600);
  --interactive-selected: rgba(99, 102, 241, 0.2);

  /* Shadows (darker in dark mode) */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);

  /* Severity Colors (Dark mode adjusted) */
  --color-severity-critical: #fca5a5;
  --color-severity-critical-bg: rgba(239, 68, 68, 0.15);
  --color-severity-critical-border: rgba(239, 68, 68, 0.3);

  --color-severity-high: #fdba74;
  --color-severity-high-bg: rgba(249, 115, 22, 0.15);
  --color-severity-high-border: rgba(249, 115, 22, 0.3);

  --color-severity-medium: #fde047;
  --color-severity-medium-bg: rgba(234, 179, 8, 0.15);
  --color-severity-medium-border: rgba(234, 179, 8, 0.3);

  --color-severity-low: #86efac;
  --color-severity-low-bg: rgba(34, 197, 94, 0.15);
  --color-severity-low-border: rgba(34, 197, 94, 0.3);

  --color-severity-info: #93c5fd;
  --color-severity-info-bg: rgba(59, 130, 246, 0.15);
  --color-severity-info-border: rgba(59, 130, 246, 0.3);
}

/* ============================================
   3. BASE RESET & TYPOGRAPHY
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-4xl); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-3xl); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* Body text utilities */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

/* Font weight utilities */
.font-light { font-weight: var(--font-light); }
.font-regular { font-weight: var(--font-regular); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* Text color utilities */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-muted { color: var(--text-muted); }

/* Monospace / Code */
code, pre, kbd, samp {
  font-family: var(--font-mono);
}

code {
  padding: var(--space-0-5) var(--space-1-5);
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  font-size: 0.875em;
  color: var(--color-danger-600);
}

[data-theme="dark"] code {
  color: var(--color-danger-400);
}

pre {
  padding: var(--space-4);
  background: var(--color-secondary-900);
  border-radius: var(--radius-md);
  overflow-x: auto;
  color: var(--color-neutral-100);
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

/* Links */
a {
  color: var(--text-link);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--text-link-hover);
}

/* ============================================
   4. COMPONENT STYLES
   ============================================ */

/* ----------------------------------------
   4.1 Buttons
   ---------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: var(--font-medium);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Sizes */
.btn-sm {
  height: 32px;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
}

.btn-md {
  height: 40px;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
}

.btn-lg {
  height: 48px;
  padding: 0 var(--space-6);
  font-size: var(--text-base);
}

/* Button Variants */
.btn-primary {
  background: var(--color-primary-600);
  color: var(--color-neutral-0);
  border-color: var(--color-primary-600);
}

.btn-primary:hover {
  background: var(--color-primary-700);
  border-color: var(--color-primary-700);
}

.btn-primary:active {
  background: var(--color-primary-800);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-secondary:hover {
  background: var(--interactive-hover);
  border-color: var(--border-strong);
}

.btn-danger {
  background: var(--color-danger-600);
  color: var(--color-neutral-0);
  border-color: var(--color-danger-600);
}

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

.btn-danger:focus-visible {
  box-shadow: var(--shadow-focus-danger);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--interactive-hover);
  color: var(--text-primary);
}

.btn-link {
  background: transparent;
  color: var(--text-link);
  border-color: transparent;
  padding: 0;
  height: auto;
}

.btn-link:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

/* Icon-only button */
.btn-icon {
  padding: 0;
  aspect-ratio: 1;
}

.btn-icon.btn-sm { width: 32px; }
.btn-icon.btn-md { width: 40px; }
.btn-icon.btn-lg { width: 48px; }

/* ----------------------------------------
   4.2 Form Inputs
   ---------------------------------------- */

/* Input wrapper for icons */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper .input-icon {
  position: absolute;
  left: var(--space-3);
  color: var(--text-muted);
  pointer-events: none;
}

.input-wrapper .input-icon + input {
  padding-left: var(--space-10);
}

/* Base input styles */
.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: var(--space-2-5) var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.input:hover,
input:hover,
select:hover,
textarea:hover {
  border-color: var(--border-strong);
}

.input:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

.input:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  background: var(--bg-muted);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Input sizes */
.input-sm { height: 32px; font-size: var(--text-xs); }
.input-md { height: 40px; }
.input-lg { height: 48px; font-size: var(--text-base); }

/* Input states */
.input-error,
.input.error {
  border-color: var(--color-danger-500);
}

.input-error:focus,
.input.error:focus {
  box-shadow: var(--shadow-focus-danger);
}

/* Textarea */
textarea {
  min-height: 100px;
  resize: vertical;
}

/* Select */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-2) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-10);
}

/* Checkbox & Radio */
.checkbox,
.radio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  user-select: none;
}

.checkbox input,
.radio input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-primary-600);
  cursor: pointer;
}

/* Form group */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-1-5);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

.form-label.required::after {
  content: '*';
  color: var(--color-danger-500);
  margin-left: var(--space-1);
}

.form-hint {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.form-error {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-danger-500);
}

/* ----------------------------------------
   4.3 Cards
   ---------------------------------------- */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-muted);
}

.card-body {
  padding: var(--space-5);
}

.card-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-muted);
  background: var(--bg-subtle);
}

/* Interactive card */
.card-interactive {
  cursor: pointer;
  transition: var(--transition-normal);
}

.card-interactive:hover {
  border-color: var(--color-primary-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Stat card */
.card-stat {
  padding: var(--space-5);
}

.card-stat .stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: var(--leading-none);
}

.card-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

.card-stat .stat-change {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  margin-top: var(--space-2);
}

.card-stat .stat-change.positive { color: var(--color-success-600); }
.card-stat .stat-change.negative { color: var(--color-danger-600); }

/* ----------------------------------------
   4.4 Badges (Severity Levels)
   ---------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-0-5) var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: var(--leading-normal);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Badge variants */
.badge-default {
  background: var(--bg-muted);
  color: var(--text-secondary);
}

.badge-primary {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}

[data-theme="dark"] .badge-primary {
  background: rgba(99, 102, 241, 0.2);
  color: var(--color-primary-300);
}

/* Severity badges */
.badge-critical {
  background: var(--color-severity-critical-bg);
  color: var(--color-severity-critical);
  border: 1px solid var(--color-severity-critical-border);
}

.badge-high {
  background: var(--color-severity-high-bg);
  color: var(--color-severity-high);
  border: 1px solid var(--color-severity-high-border);
}

.badge-medium {
  background: var(--color-severity-medium-bg);
  color: var(--color-severity-medium);
  border: 1px solid var(--color-severity-medium-border);
}

.badge-low {
  background: var(--color-severity-low-bg);
  color: var(--color-severity-low);
  border: 1px solid var(--color-severity-low-border);
}

.badge-info {
  background: var(--color-severity-info-bg);
  color: var(--color-severity-info);
  border: 1px solid var(--color-severity-info-border);
}

/* Status badges */
.badge-success {
  background: var(--color-success-100);
  color: var(--color-success-700);
}

.badge-warning {
  background: var(--color-warning-100);
  color: var(--color-warning-700);
}

.badge-danger {
  background: var(--color-danger-100);
  color: var(--color-danger-700);
}

[data-theme="dark"] .badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-success-400);
}

[data-theme="dark"] .badge-warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-warning-400);
}

[data-theme="dark"] .badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: var(--color-danger-400);
}

/* Badge with dot indicator */
.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: currentColor;
}

/* ----------------------------------------
   4.5 Alerts / Notifications
   ---------------------------------------- */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.alert-content {
  flex: 1;
  min-width: 0;
}

.alert-title {
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
}

.alert-description {
  font-size: var(--text-sm);
  color: inherit;
  opacity: 0.9;
}

.alert-dismiss {
  flex-shrink: 0;
  padding: var(--space-1);
  margin: calc(var(--space-1) * -1);
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.alert-dismiss:hover {
  opacity: 1;
}

/* Alert variants */
.alert-info {
  background: var(--color-info-50);
  border-color: var(--color-info-200);
  color: var(--color-info-800);
}

.alert-success {
  background: var(--color-success-50);
  border-color: var(--color-success-200);
  color: var(--color-success-800);
}

.alert-warning {
  background: var(--color-warning-50);
  border-color: var(--color-warning-200);
  color: var(--color-warning-800);
}

.alert-danger {
  background: var(--color-danger-50);
  border-color: var(--color-danger-200);
  color: var(--color-danger-800);
}

[data-theme="dark"] .alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--color-info-300);
}

[data-theme="dark"] .alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-success-300);
}

[data-theme="dark"] .alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--color-warning-300);
}

[data-theme="dark"] .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--color-danger-300);
}

/* ----------------------------------------
   4.6 Toast Notifications
   ---------------------------------------- */

.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 300px;
  max-width: 420px;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-slide-in var(--duration-normal) var(--ease-out);
}

@keyframes toast-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-icon {
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: var(--font-medium);
  color: var(--text-primary);
}

.toast-message {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.toast-dismiss {
  flex-shrink: 0;
  padding: var(--space-1);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.toast-dismiss:hover {
  color: var(--text-primary);
}

/* Toast variants */
.toast-success .toast-icon { color: var(--color-success-500); }
.toast-warning .toast-icon { color: var(--color-warning-500); }
.toast-danger .toast-icon { color: var(--color-danger-500); }
.toast-info .toast-icon { color: var(--color-info-500); }

/* ----------------------------------------
   4.7 Modal
   ---------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: var(--z-modal);
  animation: modal-fade-in var(--duration-normal) var(--ease-out);
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - var(--space-8));
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modal-slide-up var(--duration-normal) var(--ease-out);
}

@keyframes modal-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-sm { max-width: 400px; }
.modal-lg { max-width: 700px; }
.modal-xl { max-width: 900px; }
.modal-full { max-width: calc(100vw - var(--space-8)); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-muted);
}

.modal-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--interactive-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: var(--space-5);
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-muted);
  background: var(--bg-subtle);
}

/* ----------------------------------------
   4.8 Table
   ---------------------------------------- */

.table-container {
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th,
.table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border-muted);
}

.table th {
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  white-space: nowrap;
}

.table tbody tr {
  transition: var(--transition-fast);
}

.table tbody tr:hover {
  background: var(--interactive-hover);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Sortable header */
.table th.sortable {
  cursor: pointer;
  user-select: none;
}

.table th.sortable:hover {
  background: var(--interactive-hover);
}

.table th .sort-icon {
  margin-left: var(--space-1);
  opacity: 0.5;
}

.table th.sorted .sort-icon {
  opacity: 1;
}

/* Striped table */
.table-striped tbody tr:nth-child(even) {
  background: var(--bg-subtle);
}

/* ----------------------------------------
   4.9 Tabs
   ---------------------------------------- */

.tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--border-default);
}

.tab {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab:hover {
  color: var(--text-primary);
}

.tab.active {
  color: var(--color-primary-600);
  border-bottom-color: var(--color-primary-600);
}

[data-theme="dark"] .tab.active {
  color: var(--color-primary-400);
  border-bottom-color: var(--color-primary-400);
}

/* Pill tabs */
.tabs-pills {
  border-bottom: none;
  gap: var(--space-2);
}

.tabs-pills .tab {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border-bottom: none;
  margin-bottom: 0;
}

.tabs-pills .tab.active {
  background: var(--color-primary-600);
  color: var(--color-neutral-0);
}

/* ----------------------------------------
   4.10 Progress Bar
   ---------------------------------------- */

.progress {
  height: 8px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--color-primary-600);
  border-radius: var(--radius-full);
  transition: width var(--duration-slow) var(--ease-out);
}

/* Progress sizes */
.progress-sm { height: 4px; }
.progress-lg { height: 12px; }

/* Progress variants */
.progress-success .progress-bar { background: var(--color-success-500); }
.progress-warning .progress-bar { background: var(--color-warning-500); }
.progress-danger .progress-bar { background: var(--color-danger-500); }

/* Striped progress */
.progress-striped .progress-bar {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
}

.progress-animated .progress-bar {
  animation: progress-stripe 1s linear infinite;
}

@keyframes progress-stripe {
  from { background-position: 1rem 0; }
  to { background-position: 0 0; }
}

/* Circular progress */
.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle-bg {
  fill: none;
  stroke: var(--bg-muted);
  stroke-width: 8;
}

.progress-circle-fill {
  fill: none;
  stroke: var(--color-primary-600);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--duration-slow) var(--ease-out);
}

.progress-circle-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
}

/* ----------------------------------------
   4.11 Tooltip
   ---------------------------------------- */

[data-tooltip] {
  position: relative;
}

[data-tooltip]::before,
[data-tooltip]::after {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: var(--z-tooltip);
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1-5) var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-neutral-0);
  background: var(--color-neutral-800);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

[data-tooltip]::after {
  content: '';
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-neutral-800);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  visibility: visible;
  opacity: 1;
}

/* ============================================
   5. ANIMATIONS
   ============================================ */

/* Fade */
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

/* Slide */
.slide-up-enter {
  transform: translateY(20px);
  opacity: 0;
}

.slide-up-enter-active {
  transform: translateY(0);
  opacity: 1;
  transition: var(--transition-normal);
}

/* Spin (for loading) */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Bounce */
@keyframes bounce {
  0%, 100% {
    transform: translateY(-5%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* Loading Spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border-default);
  border-top-color: var(--color-primary-600);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm { width: 16px; height: 16px; border-width: 2px; }
.spinner-lg { width: 32px; height: 32px; border-width: 4px; }

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-muted) 25%,
    var(--bg-subtle) 50%,
    var(--bg-muted) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1em;
  margin-bottom: var(--space-2);
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-circle {
  border-radius: var(--radius-full);
}

.skeleton-rect {
  border-radius: var(--radius-md);
}

/* ============================================
   6. UTILITY CLASSES
   ============================================ */

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* Flex utilities */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* Gap */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Margin */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* Padding */
.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-full { max-width: 100%; }

/* Height */
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Border radius */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* User select */
.select-none { user-select: none; }
.select-text { user-select: text; }

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text overflow */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   7. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Mobile first approach */

/* Small devices (640px and up) */
@media (min-width: 640px) {
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:grid { display: grid; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:gap-4 { gap: var(--space-4); }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:gap-6 { gap: var(--space-6); }
  .md\:w-auto { width: auto; }

  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }

  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
  .xl\:hidden { display: none; }
  .xl\:block { display: block; }
  .xl\:flex { display: flex; }

  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Print styles */
@media print {
  .no-print { display: none !important; }

  body {
    background: white;
    color: black;
  }

  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

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

/* ============================================
   8. DARK MODE SYSTEM PREFERENCE
   ============================================ */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* Automatically apply dark mode if no explicit theme is set */
    --bg-base: var(--color-secondary-950);
    --bg-surface: var(--color-secondary-900);
    --bg-elevated: var(--color-secondary-800);
    --bg-sunken: var(--color-neutral-950);
    --bg-muted: var(--color-secondary-800);
    --bg-subtle: var(--color-secondary-900);

    --text-primary: var(--color-neutral-50);
    --text-secondary: var(--color-neutral-300);
    --text-tertiary: var(--color-neutral-400);
    --text-muted: var(--color-neutral-400);

    --border-default: var(--color-secondary-700);
    --border-muted: var(--color-secondary-800);
    --border-strong: var(--color-secondary-600);
  }
}
