/* GERADO por scripts/tokens.js a partir de docs/design/sistema/tokens.json.
   Não edite à mão: rode `npm run tokens`. */

/* Fontes servidas pelo próprio app: a TV não depende de terceiro para
   desenhar os números. Subconjunto latino, licenças em /fontes. */
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fontes/zilla-slab-700.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fontes/ibm-plex-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fontes/ibm-plex-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fontes/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fontes/ibm-plex-mono-600.woff2') format('woff2');
}

:root {
  /* Cores — tema Escuro, único */
  --ground: #121112;
  --surface-sunken: #1a1819;
  --surface: #201e1f;
  --surface-raised: #2b2829;
  --line-strong: #7a7375;
  --ink: #f4f1ee;
  --ink-muted: #a8a2a0;
  --red: #ca333a;
  --on-red: #ffffff;
  --red-text: #ec6b72;
  --warn: #f2b33d;
  --ok: #4cc38a;
  --ink-disabled: #5c5758;

  /* Famílias */
  --font-display: "Zilla Slab", Rockwell, Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Estilos de texto: tamanho, altura de linha e peso */
  --text-display-size: 40px;
  --text-display-line: 44px;
  --text-display-weight: 700;
  --text-title-size: 22px;
  --text-title-line: 28px;
  --text-title-weight: 700;
  --text-body-size: 16px;
  --text-body-line: 24px;
  --text-body-weight: 400;
  --text-label-size: 14px;
  --text-label-line: 20px;
  --text-label-weight: 600;
  --text-caption-size: 13px;
  --text-caption-line: 18px;
  --text-caption-weight: 400;
  --text-money-size: 20px;
  --text-money-line: 24px;
  --text-money-weight: 600;
  --text-clock-tv-size: 300px;
  --text-clock-tv-line: 291px;
  --text-clock-tv-weight: 600;
  --text-clock-tv-intervalo-size: 250px;
  --text-clock-tv-intervalo-line: 244px;
  --text-clock-tv-intervalo-weight: 600;
  --text-blinds-tv-size: 170px;
  --text-blinds-tv-line: 170px;
  --text-blinds-tv-weight: 600;

  /* Espaçamento */
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --tap-min: 48px;

  /* Raios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-full: 999px;
}
