/* ============================================================
   Acentio — Color tokens
   Generated OKLCh ramps anchored on the Tricom theme base colors.
   Base values: primary #4a6b8a · secondary #D8B24C · tertiary #2f4858
   Public brand navy: #1B2A4A
   ============================================================ */
:root {
  /* Brand */
  --brand-navy: #1B2A4A;        /* acentio.com public brand */
  --brand-link: #0000ff;        /* native link blue */

  /* primary — base #4a6b8a */
  --color-primary: #4a6b8a;
  --color-primary-50: #edf7ff;
  --color-primary-100: #deedfc;
  --color-primary-200: #c2d8ee;
  --color-primary-300: #a2bfdb;
  --color-primary-400: #81a2c2;
  --color-primary-500: #6485a6;
  --color-primary-600: #4d6c8a;
  --color-primary-700: #3b5670;
  --color-primary-800: #2c4358;
  --color-primary-900: #1f3141;
  --color-primary-950: #111d28;
  --color-primary-light: #deedfc;
  --color-primary-dark: #2c4358;
  --color-primary-text: #ffffff;

  /* secondary — base #D8B24C */
  --color-secondary: #D8B24C;
  --color-secondary-50: #fff5db;
  --color-secondary-100: #f9eac3;
  --color-secondary-200: #ead399;
  --color-secondary-300: #d7b869;
  --color-secondary-400: #bd9a37;
  --color-secondary-500: #a17c00;
  --color-secondary-600: #866300;
  --color-secondary-700: #6c4e00;
  --color-secondary-800: #543c00;
  --color-secondary-900: #3f2c00;
  --color-secondary-950: #271900;
  --color-secondary-light: #f9eac3;
  --color-secondary-dark: #543c00;
  --color-secondary-text: #031016;

  /* tertiary — base #2f4858 */
  --color-tertiary: #2f4858;
  --color-tertiary-50: #eff7fd;
  --color-tertiary-100: #e1edf5;
  --color-tertiary-200: #c6d8e4;
  --color-tertiary-300: #a8bfcf;
  --color-tertiary-400: #88a3b4;
  --color-tertiary-500: #6b8698;
  --color-tertiary-600: #546d7d;
  --color-tertiary-700: #415765;
  --color-tertiary-800: #31434f;
  --color-tertiary-900: #23313a;
  --color-tertiary-950: #141d23;
  --color-tertiary-light: #e1edf5;
  --color-tertiary-dark: #31434f;
  --color-tertiary-text: #ffffff;

  /* red — base #AF3133 */
  --color-red: #AF3133;
  --color-red-50: #ffebe7;
  --color-red-100: #ffdad5;
  --color-red-200: #ffbbb5;
  --color-red-300: #ff9790;
  --color-red-400: #f0726d;
  --color-red-500: #d1514f;
  --color-red-600: #b13939;
  --color-red-700: #91292a;
  --color-red-800: #731c1e;
  --color-red-900: #561415;
  --color-red-950: #370809;
  --color-red-light: #ffdad5;
  --color-red-dark: #731c1e;
  --color-red-text: #ffffff;

  /* green — base #009479 */
  --color-green: #009479;
  --color-green-50: #e1fdf4;
  --color-green-100: #cbf6e8;
  --color-green-200: #a5e5d1;
  --color-green-300: #77cfb6;
  --color-green-400: #46b499;
  --color-green-500: #0c977c;
  --color-green-600: #007d64;
  --color-green-700: #00644f;
  --color-green-800: #004e3d;
  --color-green-900: #003a2c;
  --color-green-950: #00231a;
  --color-green-light: #cbf6e8;
  --color-green-dark: #004e3d;
  --color-green-text: #ffffff;

  /* error — base #EF4444 */
  --color-error: #EF4444;
  --color-error-50: #ffe8e2;
  --color-error-100: #ffd5cd;
  --color-error-200: #ffb3aa;
  --color-error-300: #ff8a81;
  --color-error-400: #ff5f5a;
  --color-error-500: #e3383a;
  --color-error-600: #c21824;
  --color-error-700: #9f0216;
  --color-error-800: #7e000d;
  --color-error-900: #5f0008;
  --color-error-950: #3d0003;
  --color-error-light: #ffd5cd;
  --color-error-dark: #7e000d;
  --color-error-text: #031016;

  /* warning — base #FACC15 */
  --color-warning: #FACC15;
  --color-warning-50: #fff6d1;
  --color-warning-100: #fceab4;
  --color-warning-200: #efd380;
  --color-warning-300: #dcb83c;
  --color-warning-400: #c49900;
  --color-warning-500: #a77b00;
  --color-warning-600: #8b6200;
  --color-warning-700: #714d00;
  --color-warning-800: #593b00;
  --color-warning-900: #422b00;
  --color-warning-950: #291900;
  --color-warning-light: #fceab4;
  --color-warning-dark: #593b00;
  --color-warning-text: #031016;

  /* success — base #22C55E */
  --color-success: #22C55E;
  --color-success-50: #ddffe3;
  --color-success-100: #c5fbce;
  --color-success-200: #9bebab;
  --color-success-300: #67d782;
  --color-success-400: #24bd5b;
  --color-success-500: #009f39;
  --color-success-600: #008321;
  --color-success-700: #006a13;
  --color-success-800: #005309;
  --color-success-900: #003d06;
  --color-success-950: #002602;
  --color-success-light: #c5fbce;
  --color-success-dark: #005309;
  --color-success-text: #031016;

  /* info — base #3B82F6 */
  --color-info: #3B82F6;
  --color-info-50: #e1f7ff;
  --color-info-100: #ccedff;
  --color-info-200: #a8d7ff;
  --color-info-300: #7fbbff;
  --color-info-400: #569bff;
  --color-info-500: #357cf0;
  --color-info-600: #1e62ce;
  --color-info-700: #114daa;
  --color-info-800: #083b88;
  --color-info-900: #052b66;
  --color-info-950: #021942;
  --color-info-light: #ccedff;
  --color-info-dark: #083b88;
  --color-info-text: #031016;

  /* Neutral gray */
  --color-white: #ffffff;
  --color-black: #031016;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-gray-950: #030712;

  /* Utility */
  --color-border: rgba(10, 62, 117, 0.25);   /* #0a3e7540 */
  --color-muted: #757575;
  --color-muted-text: #111827;
  --color-disabled: #f3f4f6;
  --color-disabled-dark: #9ca3af;
  --color-active: #9ca3af;
  --color-overlay: rgba(3, 16, 22, 0.55);

  /* ---- Semantic aliases ---- */
  --surface-app: var(--color-gray-100);        /* app canvas */
  --surface-card: #ffffff;                     /* cards, panels */
  --surface-header: #E6EDEF;                   /* page header bar */
  --surface-sidebar: var(--color-tertiary);    /* shell sidebar */
  --surface-muted: var(--color-gray-50);
  --surface-edit: var(--color-secondary-100);  /* edit-mode tint */

  --text-strong: var(--color-gray-900);
  --text-body: var(--color-gray-800);
  --text-muted: var(--color-muted);
  --text-on-primary: #ffffff;
  --text-link: var(--color-primary-700);

  --border-subtle: var(--color-gray-200);
  --border-default: var(--color-border);
  --border-strong: var(--color-gray-300);
  --focus-ring: var(--color-primary);
}

/* ============================================================
   Acentio — Typography tokens
   Primary typeface: Roboto Condensed (the Tricom theme's configured
   default family). Its condensed metrics suit the product's dense,
   utilitarian tables and forms.
   The UI runs compact: 14.1px root, slight positive tracking.
   ============================================================ */
:root {
  /* Families */
  --font-sans: 'Roboto Condensed', 'Arial Narrow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Roboto Condensed', 'Arial Narrow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Root size — the product renders at a compact 14.1px base */
  --font-size-root: 14.1px;

  /* Type scale (rem, relative to root) */
  --font-size-xxs: 0.625rem;   /* 10px @ 16 · ~8.8px @ root */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line heights */
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-body: 1.4;     /* product body default */
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;

  /* Letter spacing */
  --letter-spacing-tighter: -0.05em;
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-body: 0.02em;     /* product body default */
  --letter-spacing-heading: 0.03em;  /* product heading default */
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;
}

/* ============================================================
   Acentio — Spacing, radii, borders, shadows, z-index, motion
   Mirrors the Tricom Tailwind theme scale.
   ============================================================ */
:root {
  /* Spacing scale (rem) */
  --space-0: 0;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Border radius — sm 2px · md ~11px · lg 8px · xl 12px */
  --radius-sm: 0.125rem;          /* 2px  — inputs, banners (rounded) */
  --radius-md: calc(0.75rem - 1px); /* ~11px — buttons, cards (rounded-md) */
  --radius-lg: 0.5rem;            /* 8px */
  --radius-xl: 0.75rem;           /* 12px */
  --radius-2xl: 1rem;             /* 16px */
  --radius-3xl: 1.5rem;           /* 24px */
  --radius-full: 9999px;          /* pills, chips, avatars */

  /* Border widths */
  --border-0: 0; /* @kind spacing */
  --border-1: 1px;
  --border-2: 2px;
  --border-4: 4px;
  --border-8: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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 0 rgba(0, 0, 0, 0.06);

  /* z-index scale (from the theme) */
  --z-base: 0; /* @kind other */
  --z-label: 1; /* @kind other */
  --z-thead: 2; /* @kind other */
  --z-menu: 20; /* @kind other */
  --z-overlay: 30; /* @kind other */
  --z-drawer: 40; /* @kind other */
  --z-dialog-backdrop: 49; /* @kind other */
  --z-dialog: 50; /* @kind other */
  --z-toast: 60; /* @kind other */
  --z-dropdown: 70; /* @kind other */
  --z-tooltip: 9999; /* @kind other */

  /* Motion */
  --duration-fast: 150ms; /* @kind other */
  --duration-normal: 200ms; /* @kind other */
  --duration-slow: 300ms; /* @kind other */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */  /* ease-in-out */
}
