/* Base compartida: fuentes propias (sin llamadas a Google), reinicio y accesibilidad. */
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400; font-display: swap; src: url('/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 700; font-display: swap; src: url('/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url('/fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url('/fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }

:root {
  --paper: #FFFFFF;
  --ink: #1F2328;
  --muted: #57606A;
  --line: #D0D7DE;
  --wash: #F6F8FA;
  --ok: #1A7F37;
  --danger: #CF222E;
  --warn: #9A6700;
  --focus: #0969DA;
  --radius-s: 6px;
  --radius-m: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 'Atkinson Hyperlegible Next', system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0 0 0.75em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Contenido de artículos: mismo aspecto en la página pública y en la vista previa del panel. */
.article-body { font-size: 1rem; line-height: 1.6; max-width: 62ch; }
.article-body h3 { font-size: 1.05rem; margin: 1.1em 0 0.4em; }
.article-body ul { margin: 0 0 0.75em; padding-left: 1.2em; }
.article-body li { margin-bottom: 0.25em; }
.article-body a { color: var(--focus); }
