/* Base: tipografía, íconos y foco (dueño: Diseño). Solo usa tokens. */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-ui); font-size: 1.0625rem; line-height: 1.375rem; color: var(--text-1); background: var(--canvas);
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
@media (min-width: 768px) { body { font-size: 0.9375rem; line-height: 1.25rem; background: var(--sidebar); } }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.saltar { position: absolute; left: 8px; top: -64px; z-index: 90; background: var(--surface); color: var(--text-1); padding: 12px 16px; border-radius: var(--r-control); }
.saltar:focus-visible { top: 8px; }

svg.ic { width: 18px; height: 18px; flex: none; stroke-width: 1.5; display: block; }
svg.ic.s12 { width: 12px; height: 12px; } svg.ic.s14 { width: 14px; height: 14px; } svg.ic.s16 { width: 16px; height: 16px; }
svg.ic.s20 { width: 20px; height: 20px; } svg.ic.s24 { width: 24px; height: 24px; } svg.ic.s96 { width: 96px; height: 96px; }
svg.ic.acento { color: var(--accent-text); }

.t1 { color: var(--text-1); } .t2 { color: var(--text-2); } .t3 { color: var(--text-3); }
.title-l { font-size: 2.125rem; line-height: 2.5625rem; font-weight: 600; letter-spacing: -0.01em; }
.title-m { font-size: 1.375rem; line-height: 1.75rem; font-weight: 600; }
.title-s { font-size: 1.0625rem; line-height: 1.375rem; font-weight: 600; }
.sub { font-size: 0.9375rem; line-height: 1.25rem; }
.foot { font-size: 0.8125rem; line-height: 1.125rem; }
.meta { font-size: 0.75rem; line-height: 1rem; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .title-l { font-size: 1.75rem; line-height: 2.125rem; }
  .title-m { font-size: 1.25rem; line-height: 1.5625rem; }
  .title-s { font-size: 0.9375rem; line-height: 1.25rem; }
  .sub { font-size: 0.8125rem; line-height: 1.125rem; }
  .foot { font-size: 0.75rem; line-height: 1rem; }
}
.trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.grow { flex: 1; min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
