/* Pantalla de entrada: lo ÚNICO de la interfaz que se sirve sin sesión (ver app/acceso/puerta.py).
   Autónoma a propósito: no carga nada de comun/ salvo el icono y las fuentes. */
@font-face { font-family: "Barlow SC"; font-weight: 700; font-display: swap; src: url(/comun/fuentes/BarlowSemiCondensed-700-latin.woff2) format("woff2"); }
@font-face { font-family: "Atkinson"; font-weight: 400; font-display: swap; src: url(/comun/fuentes/AtkinsonHyperlegible-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Atkinson"; font-weight: 700; font-display: swap; src: url(/comun/fuentes/AtkinsonHyperlegible-700-latin.woff2) format("woff2"); }
:root { --lodo: #E2E3DC; --losa: #F8F8F5; --losa-2: #EFEFEA; --grafito: #23272B; --polvo: #64685F; --linea: #CBCDC4;
  --veta: #C99419; --veta-clara: #F3E3B5; --agua: #1D5A60; --rojo: #A3302A;
  --f-rotulo: "Barlow SC", "Arial Narrow", sans-serif; --f-texto: "Atkinson", system-ui, sans-serif;
  --sombra: 0 1px 0 rgba(35,39,43,.06), 0 2px 8px -4px rgba(35,39,43,.18); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--lodo); color: var(--grafito); font-family: var(--f-texto); font-size: 1.0625rem; line-height: 1.5; }
a { color: var(--agua); }
.tenue { color: var(--polvo); }
:focus-visible { outline: 3px solid var(--veta); outline-offset: 2px; }
.entrar { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.panel { background: var(--losa); border-radius: 8px; padding: 1.1rem 1.25rem; box-shadow: var(--sombra); width: min(380px, 100%); }
.marca { font-family: var(--f-rotulo); font-size: 2.4rem; font-weight: 700; margin-bottom: .1rem; }
h1 { font-family: var(--f-rotulo); font-size: 1.6rem; line-height: 1.15; margin: 1.2rem 0 .5rem; }
label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: .25rem; }
input { font: inherit; width: 100%; padding: .55em .7em; border: 1.5px solid var(--linea); border-radius: 4px; background: #fff; color: var(--grafito); min-height: 44px; }
input:focus { border-color: var(--grafito); outline: none; box-shadow: 0 0 0 3px var(--veta-clara); }
.campo { margin-bottom: .9rem; }
button, .boton { font: inherit; font-weight: 700; cursor: pointer; border-radius: 4px; border: 1.5px solid var(--veta); background: var(--veta);
  color: var(--grafito); padding: .5em 1em; min-height: 44px; width: 100%; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
button:hover, .boton:hover { background: #B5830F; }
.pin { width: min(340px, 100%); text-align: center; }
.puntos { display: flex; justify-content: center; gap: .8rem; margin: 1.2rem 0; min-height: 26px; }
.puntos span { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--grafito); }
.puntos span.lleno { background: var(--grafito); }
.teclado { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.teclado button { min-height: 76px; font-size: 2rem; font-family: var(--f-rotulo); background: var(--losa); border: 0; box-shadow: var(--sombra); border-radius: 14px; }
.teclado button.ok { background: var(--veta); }
#toasts { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; }
.toast { background: var(--rojo); color: #fff; padding: .7rem 1.1rem; border-radius: 8px; font-weight: 700; max-width: 90vw; }
