/* AiPax design tokens — generated from tokens.json. Light is the default; set data-theme="dark" (or class "dark") on <html> for dark. */
:root, [data-theme="light"] {
  --primary: #4ac4d7;
  --primary-blue: #2f80ed;
  --primary-light: #92dbe7;
  --primary-dark: #2494a5;
  --text-primary: #2d3242;
  --text-primary-dark: #d7d7d7;
  --light: #f3f3f3;
  --dark: #26252e;
  --dark-accent: #363441;
  --secondary: #6e59f6;
  --secondary-light: #7c69f6;
  --surface-page: var(--light);
  --ink: var(--text-primary);
  --caption: var(--primary-dark);
  --card: #ffffff;
  --logo-ink: #2a2e30;
  --mantine-dark-0: #d5d7e0;
  --mantine-dark-1: #acaebf;
  --mantine-dark-2: #8c8fa3;
  --mantine-dark-3: #8c8fa3;
  --mantine-dark-4: #4d4f66;
  --mantine-dark-5: #34354a;
  --mantine-dark-6: #2b2c3d;
  --mantine-dark-7: #1d1e30;
  --mantine-dark-8: #0c0d21;
  --mantine-dark-9: #01010a;
  --error-text: #bf1650;
  --alert-error-fg: #b91c1c;
  --alert-error-bg: #fee2e2;
  --alert-success-fg: #15803d;
  --alert-success-bg: #dcfce7;
  --badge-realization: #3b82f6;
  --badge-month: #10b981;
  --badge-whole: #eab308;
  --badge-none: #6b7280;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --pill-bg: #ffffff;
  --pill-border: var(--gray-300);
  --pill-fg: var(--text-primary);
  --pill-active-bg: rgba(47,128,237,0.1);
  --pill-active-border: rgba(47,128,237,0.4);
  --pill-active-fg: var(--primary-blue);
  --input-bg: #ffffff;
  --input-fg: #000000;
  --input-border: #ced4da;
  --input-placeholder: #adb5bd;
  --input-focus: #228be6;
  --input-error: #fa5252;
  --input-disabled-bg: #f1f3f5;
  --input-chip-bg: #f1f3f5;
  --required-mark: #dc2626;
  --optional-mark: #a1a1aa;
  --switch-on: #33cccc;
  --switch-off: #e9ecef;
  --form-section-label: var(--gray-600);
  --form-title: var(--gray-700);
  --form-rule: var(--gray-200);
  --counter-fg: var(--gray-400);
  --table-bg: #ffffff;
  --table-border: #e2e8f0;
  --table-border-hover: #d7e3f0;
  --table-head-fg: #4b5563;
  --table-head-rule: #e5e7eb;
  --table-fg: #111827;
  --table-row-rule: #eef2f7;
  --table-row-hover: rgba(15,23,42,0.035);
  --table-action-bg: #ffffff;
  --table-action-bg-hover: #f8fafc;
  --table-action-border: #e5e7eb;
  --table-action-border-hover: #cbd5e1;
  --pager-border: #dbe4ee;
  --pager-active-bg: #0ea5e9;
  --pager-active-fg: #ffffff;
  --chip-gray-bg: #f8fafc;
  --chip-gray-border: #e2e8f0;
  --chip-gray-fg: #475569;
  --chip-blue-bg: #eff6ff;
  --chip-blue-border: #bfdbfe;
  --chip-blue-fg: #1d4ed8;
  --pagination-active: #15aabf;
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-table: 0 10px 30px rgba(15,23,42,0.06), 0 2px 8px rgba(15,23,42,0.04);
  --shadow-table-hover: 0 16px 40px rgba(15,23,42,0.09), 0 6px 18px rgba(15,23,42,0.06);
  --shadow-action-hover: 0 4px 12px rgba(15,23,42,0.06);
}
[data-theme="dark"], .dark {
  --surface-page: var(--dark);
  --ink: var(--text-primary-dark);
  --caption: var(--primary);
  --alert-error-fg: #991b1b;
  --alert-error-bg: #fecaca;
  --alert-success-fg: #166534;
  --alert-success-bg: #bbf7d0;
  --pill-bg: var(--gray-700);
  --pill-border: var(--gray-500);
  --pill-fg: #ffffff;
  --pill-active-bg: rgba(47,128,237,0.2);
  --pill-active-border: rgba(47,128,237,0.6);
  --pill-active-fg: #ffffff;
  --input-bg: var(--mantine-dark-6);
  --input-fg: var(--mantine-dark-0);
  --input-border: var(--mantine-dark-4);
  --input-placeholder: var(--mantine-dark-3);
  --input-disabled-bg: var(--mantine-dark-6);
  --input-chip-bg: var(--mantine-dark-7);
  --switch-off: var(--mantine-dark-5);
  --form-section-label: var(--gray-200);
  --form-title: #ffffff;
  --form-rule: var(--gray-600);
  --table-bg: #111827;
  --table-border: #273244;
  --table-border-hover: #334155;
  --table-head-fg: #cbd5e1;
  --table-head-rule: #243041;
  --table-fg: #e5edf6;
  --table-row-rule: #1f2937;
  --table-row-hover: rgba(255,255,255,0.045);
  --table-action-bg: #162033;
  --table-action-bg-hover: #1e293b;
  --table-action-border: #334155;
  --table-action-border-hover: #475569;
  --pager-border: #334155;
  --pager-active-bg: #38bdf8;
  --pager-active-fg: #0f172a;
  --chip-gray-bg: rgba(51,65,85,0.4);
  --chip-gray-border: rgba(71,85,105,0.6);
  --chip-gray-fg: #e2e8f0;
  --chip-blue-bg: rgba(59,130,246,0.1);
  --chip-blue-border: rgba(59,130,246,0.4);
  --chip-blue-fg: #bfdbfe;
  --shadow-table: 0 12px 32px rgba(0,0,0,0.28), 0 2px 10px rgba(0,0,0,0.18);
  --shadow-table-hover: 0 18px 44px rgba(0,0,0,0.34), 0 8px 22px rgba(0,0,0,0.22);
}
:root {
  --space-1: 4px;
  --space-1\.5: 6px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-8: 32px;
  --space-2\.5: 10px;
  --space-input-x: 12px;
  --space-cell-x: 1rem;
  --space-cell-y: 0.95rem;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-control: 10px;
  --radius-table: 16px;
  --radius-pager: 32px;
  --radius-modal: 16px;
  --radius-full: 9999px;
  --font-sans: Mukta, system-ui, sans-serif;
}
.heading-hero { font-family: var(--font-sans); font-size: 60px; line-height: 60px; font-weight: 800; }
.heading-section { font-family: var(--font-sans); font-size: 30px; line-height: 36px; font-weight: 800; }
.caption { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 700; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label-pill { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.badge { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; }
.micro { font-family: var(--font-sans); font-size: 11px; line-height: 18px; font-weight: 500; }
.button { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 700; }
.button-sm { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 700; }
.field-label { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.field-input { font-family: var(--font-sans); font-size: 14px; line-height: 34px; font-weight: 400; }
.field-message { font-family: var(--font-sans); font-size: 12px; line-height: 15px; font-weight: 400; }
.form-title { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 700; }
.form-section { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; }
.table-head { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; }
.table-cell { font-family: var(--font-sans); font-size: 14px; line-height: 21px; font-weight: 400; }
