/*
 * Identidad del Colegio Nobel para el área del personal y el portal de familias.
 * Figtree (SIL Open Font License 1.1, ver Figtree-OFL.txt) se sirve desde este mismo servidor:
 * la política CSP del sitio solo admite fuentes propias (font-src 'self').
 */
@font-face {
  font-family: "Figtree";
  src: url("/marca/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Paleta única: /docentes/app.css y /portal/app.css toman sus colores de aquí. */
:root {
  --marca: #f8be14;          /* barra superior */
  --marca-titulo: #ffffff;   /* «Colegio Nobel» en la barra */
  --marca-texto: #211d15;    /* resto del texto de la barra */
  --texto: #211d15;
  --texto-ligero: #85837e;
  --fondo: #fafaf5;
  --boton: #f8be14;          /* botones sólidos */
  --boton-texto: #ffffff;
  --linea: #e5e3da;
  --suave: #f2f1ea;          /* encabezados de tabla y zonas neutras */
  --fuente: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body { font-family: var(--fuente); background: var(--fondo); color: var(--texto); }
button, input, select, textarea { font-family: inherit; }

.logo-img { width: 40px; height: 40px; border-radius: 8px; display: block; flex: none; }

/* Login del personal: su base /login.css es compartida con la pantalla de asistencia, que no cambia. */
body.login {
  --bg: var(--fondo); --text: var(--texto); --muted: var(--texto-ligero); --line: var(--linea); --accent: var(--boton);
}
body.login button { color: var(--boton-texto); }
body.login input { background: #fff; }
body.login input:focus { border-color: var(--texto); box-shadow: 0 0 0 4px rgba(248, 190, 20, .35); }
