/* Escudería · norma editorial clara v1. Ver docs/manual-estetica.md. */
:root {
  color-scheme: light;
  --bg: #f4f4f2;
  --panel: #ffffff;
  --ink: #1f1f1f;
  --muted: #5e5e5b;
  --line: #d9d9d5;
  --field-line: #858580;
  --accent: #650f2c;
  --accent-hover: #4b0b20;
  --forest: #0f4d3a;
  --ochre: #b28a42;
  --ochre-ink: #785c24;
  --tint-green: #eaf0ec;
  --tint-ochre: #efede6;
  --danger: #a3293a;
  --focus: #650f2c;
  --paper: #faf8f1;
  --surface: var(--panel);
  --surface-2: var(--tint-green);
  --outline: var(--line);
  --quiet: var(--muted);
  --text: var(--ink);
  /* Compatibility aliases; new code uses semantic tokens. */
  --gold: var(--accent);
  --brass: var(--accent);
  --radius: 4px;
  --font-body: Montserrat, Arial, sans-serif;
  --display-font: var(--font-body);
  --font-reading: Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --brand-red: #a3293a;
  --brand-red-deep: #650f2c;
  --brand-black: #111111;
  --brand-green: #0f4d3a;
  --brand-cream: #faf8f1;
  --brand-gold: #b28a42;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --content-max: 1240px;
  --reading-max: 72ch;
  --gutter: clamp(18px, 4vw, 40px);
}

/* Recursos editoriales optativos; no representan insignias ni rarezas. */
.sd-editorial-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gold);
  margin-block: var(--space-4);
}
.sd-editorial-divider::before,
.sd-editorial-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid currentColor;
}
.sd-editorial-stamp {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  border: 3px double currentColor;
  border-radius: 3px;
  color: var(--gold);
  font: 700 0.75rem/1.3 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sd-editorial-stamp--red { color: var(--brand-red); }
.sd-data { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Ilustraciones originales de marca: sólo presentación, sin estados de logros. */
.sd-brand-emblem { display: block; width: 48px; height: 48px; }
.sd-dashboard-art { display: block; width: 76%; height: auto; max-width: 160px; }
.sd-pillar-art { display: block; width: 56px; height: 56px; margin-bottom: var(--space-3); }
.sd-editorial-ornament { display: flex; justify-content: center; margin-block: var(--space-6) 0; }
.sd-ornament-art { display: block; width: 160px; height: 24px; }
.sd-section-kicker { display: flex; align-items: center; gap: var(--space-2); }
.sd-kicker-art { display: block; width: 36px; height: 36px; flex: none; }
@media (max-width: 650px) {
  .sd-brand-emblem { width: 40px; height: 40px; }
  .sd-pillar-art { width: 48px; height: 48px; }
}
