/* PredictoFace: fichas de diseño compartidas por la página alojada, la documentación y la consola.
   Sin border-left ni barras laterales de color (regla de marca). Claro y oscuro según el sistema. */
:root {
  color-scheme: light dark;
  --pf-noche: #0b1526;
  --pf-cian: #00aeef;
  --fondo: light-dark(#f4f7fa, #0b1526);
  --superficie: light-dark(#ffffff, #111d33);
  --superficie-2: light-dark(#eaf0f6, #172642);
  --linea: light-dark(#d3dde8, #26375a);
  --texto: light-dark(#0b1526, #e8eef5);
  --texto-2: light-dark(#44546b, #a9b8cc);
  --acento: light-dark(#0062c4, #6cb4ff);
  --acento-fuerte: light-dark(#004c99, #9ccbff);
  --acento-suave: light-dark(#e3effc, #13304f);
  --sobre-acento: light-dark(#ffffff, #071226);
  --exito: light-dark(#17703a, #5fd08a);
  --exito-suave: light-dark(#e3f4e8, #12321f);
  --peligro: light-dark(#b42318, #ff8a80);
  --peligro-suave: light-dark(#fdebe9, #3a1716);
  --aviso: light-dark(#8a5a00, #f2c14e);
  --aviso-suave: light-dark(#fff4d6, #3a2d0c);
  --sombra: 0 1px 2px rgb(11 21 38 / .06), 0 8px 24px -8px rgb(11 21 38 / .14);
  --radio: 14px;
  --radio-chico: 10px;
  --fuente: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --foco: 0 0 0 3px var(--superficie), 0 0 0 6px var(--acento);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 400 1rem/1.55 var(--fuente); font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--acento); color: var(--sobre-acento); }
:focus-visible { outline: none; box-shadow: var(--foco); border-radius: 6px; }
a { color: var(--acento); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--acento-fuerte); text-decoration-thickness: 2px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
p { text-wrap: pretty; }
code, kbd, pre, samp { font-family: var(--mono); font-size: .92em; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--superficie);
  color: var(--texto); border-radius: var(--radio-chico); box-shadow: var(--sombra); }
.saltar:focus { top: 12px; }
.solo-lector { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Botones: una sola forma en todo el producto */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: 0 1.25rem; border: 1px solid transparent; border-radius: 12px; font: 600 1rem/1 var(--fuente);
  cursor: pointer; text-decoration: none; transition: background-color .15s ease-out, transform .1s ease-out; }
.boton:active { transform: translateY(1px); }
.boton[disabled], .boton[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.boton-primario { background: var(--acento); color: var(--sobre-acento); }
.boton-primario:hover:not([disabled]) { background: var(--acento-fuerte); color: var(--sobre-acento); }
.boton-secundario { background: var(--superficie); color: var(--texto); border-color: var(--linea); }
.boton-secundario:hover:not([disabled]) { background: var(--superficie-2); color: var(--texto); }
.boton-texto { background: none; color: var(--acento); min-height: 44px; padding: 0 .5rem; text-decoration: underline;
  text-underline-offset: .2em; font-weight: 500; }
.boton-texto:hover { color: var(--acento-fuerte); }
.marca { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--texto); text-decoration: none; font-size: 1.0625rem; }
.marca img { width: 28px; height: 28px; }
.marca:hover { color: var(--texto); }
.marca small { font-weight: 500; color: var(--texto-2); font-size: .8125rem; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (forced-colors: active) { .boton { border: 1px solid ButtonText; } }

[tabindex="-1"]:focus { outline: none; box-shadow: none; }
