/* Homelab: generado desde tokens.json. No editar a mano, ejecutar node scripts/build-tokens.js */

:root, [data-theme="light"] {
  --background-primary: #fffbf9;
  --background-surface-1: #fff4eb;
  --background-surface-2: #ffe1c4;
  --background-surface-3: #ffd0a3;
  --border-default: #ffe1c4;
  --border-strong: #dbac7f;
  --border-input: #83758c;
  --content-primary: #151217;
  --content-secondary: #43394a;
  --content-muted: #6e6076;
  --content-on-accent: #151217;
  --accent-default: #fc8143;
  --accent-fill-hover: #ff9d6b;
  --accent-hover: #b44b15;
  --accent-text: #a9440f;
  --info-default: #0187f1;
  --info-hover: #055fa6;
  --info-text: #055fa6;
  --success-default: #03a66c;
  --success-text: #026f48;
  --danger-default: #d93025;
  --danger-hover: #b3261e;
  --danger-text: #b3261e;
  --warning-default: #f5c451;
  --warning-hover: #e0aa1f;
  --warning-text: #8a5a00;
  --focus-ring: #055fa6;
  --chart-1: #c2500f;
  --chart-2: #0072b2;
  --chart-3: #007a55;
  --chart-4: #9c3f86;
  --chart-5: #6e6076;
  --overlay-scrim: #15121766;
  --disabled-background: #efe5e2;
  --disabled-content: #b5abb0;
}

[data-theme="dark"] {
  --background-primary: #151217;
  --background-surface-1: #1f1a23;
  --background-surface-2: #2a232f;
  --background-surface-3: #382f3e;
  --border-default: #43394a;
  --border-strong: #83758c;
  --border-input: #83758c;
  --content-primary: #fffbf9;
  --content-secondary: #d5cadd;
  --content-muted: #a79bb0;
  --content-on-accent: #151217;
  --accent-default: #fc8143;
  --accent-fill-hover: #ffb691;
  --accent-hover: #ffb691;
  --accent-text: #fc8143;
  --info-default: #5cb0ff;
  --info-hover: #8cc8ff;
  --info-text: #5cb0ff;
  --success-default: #3ccf92;
  --success-text: #3ccf92;
  --danger-default: #ff8a8a;
  --danger-hover: #ffb3b3;
  --danger-text: #ff8a8a;
  --warning-default: #f5c451;
  --warning-hover: #ffd97a;
  --warning-text: #f5c451;
  --focus-ring: #8cc8ff;
  --chart-1: #fc8143;
  --chart-2: #56b4e9;
  --chart-3: #3ccf92;
  --chart-4: #e58fcb;
  --chart-5: #a79bb0;
  --overlay-scrim: #000000b3;
  --disabled-background: #231e27;
  --disabled-content: #6d6273;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --background-primary: #151217;
    --background-surface-1: #1f1a23;
    --background-surface-2: #2a232f;
    --background-surface-3: #382f3e;
    --border-default: #43394a;
    --border-strong: #83758c;
    --border-input: #83758c;
    --content-primary: #fffbf9;
    --content-secondary: #d5cadd;
    --content-muted: #a79bb0;
    --content-on-accent: #151217;
    --accent-default: #fc8143;
    --accent-fill-hover: #ffb691;
    --accent-hover: #ffb691;
    --accent-text: #fc8143;
    --info-default: #5cb0ff;
    --info-hover: #8cc8ff;
    --info-text: #5cb0ff;
    --success-default: #3ccf92;
    --success-text: #3ccf92;
    --danger-default: #ff8a8a;
    --danger-hover: #ffb3b3;
    --danger-text: #ff8a8a;
    --warning-default: #f5c451;
    --warning-hover: #ffd97a;
    --warning-text: #f5c451;
    --focus-ring: #8cc8ff;
    --chart-1: #fc8143;
    --chart-2: #56b4e9;
    --chart-3: #3ccf92;
    --chart-4: #e58fcb;
    --chart-5: #a79bb0;
    --overlay-scrim: #000000b3;
    --disabled-background: #231e27;
    --disabled-content: #6d6273;
    color-scheme: dark;
  }
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --appbar-height: 72px;
  --page-gutter: 48px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --ease-standard: cubic-bezier(0.22, 0.9, 0.28, 1);
  --ease-spring: cubic-bezier(0.34, 1.25, 0.64, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, monospace;
  --font-icons: "Material Symbols Rounded";
}

.big-title { font-family: var(--font-sans); font-size: 52px; line-height: 1.35; font-weight: 600; font-style: normal; letter-spacing: -0.01px; }

.big-title-italic { font-family: var(--font-sans); font-size: 52px; line-height: 1.35; font-weight: 400; font-style: italic; letter-spacing: -0.01px; }

.basic-title { font-family: var(--font-sans); font-size: 37px; line-height: 1.35; font-weight: 600; font-style: normal; letter-spacing: -0.01px; }

.small-title { font-family: var(--font-sans); font-size: 26px; line-height: 1.35; font-weight: 600; font-style: normal; letter-spacing: -0.01px; }

.small-title-regular { font-family: var(--font-sans); font-size: 26px; line-height: 1.35; font-weight: 400; font-style: normal; letter-spacing: -0.01px; }

.big-subtitle { font-family: var(--font-sans); font-size: 22px; line-height: 1.2; font-weight: 600; font-style: normal; letter-spacing: 0; }

.basic-subtitle { font-family: var(--font-sans); font-size: 17px; line-height: 1.2; font-weight: 600; font-style: normal; letter-spacing: 0; }

.basic-paragraph { font-family: var(--font-sans); font-size: 17px; line-height: 1.5; font-weight: 400; font-style: normal; letter-spacing: 0; }

.basic-paragraph-bold { font-family: var(--font-sans); font-size: 17px; line-height: 1.5; font-weight: 600; font-style: normal; letter-spacing: 0; }

.basic-paragraph-italic { font-family: var(--font-sans); font-size: 17px; line-height: 1.5; font-weight: 400; font-style: italic; letter-spacing: 0; }

.small-paragraph { font-family: var(--font-sans); font-size: 15px; line-height: 1.5; font-weight: 400; font-style: normal; letter-spacing: 0; }

.basic-list { font-family: var(--font-sans); font-size: 17px; line-height: 2; font-weight: 400; font-style: normal; letter-spacing: 0; }

.basic-list-bold { font-family: var(--font-sans); font-size: 17px; line-height: 2; font-weight: 600; font-style: normal; letter-spacing: 0; }

.basic-list-italic { font-family: var(--font-sans); font-size: 17px; line-height: 2; font-weight: 400; font-style: italic; letter-spacing: 0; }

.code-small { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; font-weight: 400; font-style: normal; letter-spacing: 0; }

.code-basic { font-family: var(--font-mono); font-size: 15px; line-height: 1.5; font-weight: 400; font-style: normal; letter-spacing: 0; }

.code-bold { font-family: var(--font-mono); font-size: 15px; line-height: 1.5; font-weight: 600; font-style: normal; letter-spacing: 0; }
