/* Limiar — gerado de tokens.json (Design System Limiar). Não edite os valores à mão: mude o design system e gere de novo. */
:root {
  --bg: #f3f5f4;
  --surface: #fbfcfb;
  --surface-2: #f6f8f7;
  --line: #e2e7e5;
  --line-strong: #cdd6d3;
  --text: #15211f;
  --text-muted: #576763;
  --text-faint: #7a8985;
  --brand: #0e6b7a;
  --brand-hover: #0b5965;
  --on-brand: #f7fbfb;
  --brand-text: #0e6b7a;
  --brand-soft: #ddeff1;
  --accent: #22a77c;
  --on-accent: #15211f;
  --accent-text: #126e51;
  --accent-soft: #cfeee2;
  --warning: #a34a0c;
  --warning-soft: #fcebdc;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --focus: #0e6b7a;
  --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;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-16: 64px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow-menu: 0 8px 24px rgba(11, 22, 23, 0.12);
  /* nomes antigos do planner, apontando para os tokens do Limiar */
  --card: var(--surface);
  --card-2: var(--surface-2);
  --linha: var(--line);
  --linha-forte: var(--line-strong);
  --texto: var(--text);
  --suave: var(--text-muted);
  --fraco: var(--text-muted);
  --marca: var(--brand);
  --marca-hover: var(--brand-hover);
  --marca-texto: var(--brand-text);
  --marca-suave: var(--brand-soft);
  --marca-area: var(--brand-soft);
  --marca-media: var(--accent);
  --hero-a: var(--brand);
  --hero-b: var(--brand-hover);
  --sombra-marca: transparent;
  --alerta: var(--warning);
  --alerta-suave: var(--warning-soft);
  --perigo: var(--danger);
  --perigo-suave: var(--danger-soft);
  --trilho: var(--line);
  --seg-fundo: var(--line);
  --escuro: var(--text);
  --escuro-texto: var(--bg);
  --sombra-menu: var(--shadow-menu);
  --raio: var(--radius-lg);
  --raio-p: var(--radius-md);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1617;
    --surface: #122224;
    --surface-2: #172a2c;
    --line: #1f3437;
    --line-strong: #2c464a;
    --text: #e6f0f1;
    --text-muted: #9cb3b5;
    --text-faint: #6f8789;
    --brand: #62b0b9;
    --brand-hover: #7cc2ca;
    --on-brand: #0b1617;
    --brand-text: #8cc7cd;
    --brand-soft: #16353a;
    --accent: #86c9ae;
    --on-accent: #0b1617;
    --accent-text: #94d3b9;
    --accent-soft: #174a3c;
    --warning: #f0a061;
    --warning-soft: #3a2616;
    --danger: #ff8a80;
    --danger-soft: #3b1a17;
    --focus: #8cc7cd;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1617;
  --surface: #122224;
  --surface-2: #172a2c;
  --line: #1f3437;
  --line-strong: #2c464a;
  --text: #e6f0f1;
  --text-muted: #9cb3b5;
  --text-faint: #6f8789;
  --brand: #62b0b9;
  --brand-hover: #7cc2ca;
  --on-brand: #0b1617;
  --brand-text: #8cc7cd;
  --brand-soft: #16353a;
  --accent: #86c9ae;
  --on-accent: #0b1617;
  --accent-text: #94d3b9;
  --accent-soft: #174a3c;
  --warning: #f0a061;
  --warning-soft: #3a2616;
  --danger: #ff8a80;
  --danger-soft: #3b1a17;
  --focus: #8cc7cd;
  color-scheme: dark;
}
