/* ValEd · Demo de la App de gestión: identidad ValEd sobre la app original */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(fuentes/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(fuentes/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url(fuentes/exo-2-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url(fuentes/exo-2-latin-700-normal.woff2) format("woff2"); }

:root {
  --black: #12233f; --graphite: #0c1a30; --steel: #2b3c57; --mute: #4a5a73; --line: #dbe2ec;
  --bg: #f6f8fb; --paper: #ffffff; --red: #c8372d; --red-dark: #a32a22; --red-tint: #fbeceb;
  --green: #00866c; --green-tint: #e3f5f0; --amber: #a87304; --amber-tint: #fdf4dd;
  --azul: #0B3875; --azul-tint: #e8eef8; --verde: #00A887; --verde-luz: #49e3c2;
}
body { font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif; }

/* Franja de demo */
.demo-banda { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 14px; background: var(--verde); color: #03261f; font-size: 13px; line-height: 1.3; }
.demo-banda b { font-family: "Exo 2", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: .02em; }
.demo-banda .demo-acc { display: flex; gap: 12px; align-items: center; flex: none; }
.demo-banda button, .demo-banda a { background: none; border: 0; padding: 4px 0; color: #03261f; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.demo-banda button:focus-visible, .demo-banda a:focus-visible { outline: 2px solid #03261f; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 420px) { .demo-banda .solo-ancho { display: none; } }

/* Encabezado */
header { background: var(--azul); }
.logo { width: auto; height: 38px; border-radius: 0; box-shadow: none; overflow: visible; }
.logo img { width: auto; height: 100%; transform: none; }
.brand b { font-family: "Exo 2", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: .01em; }
.brand small, .clock small { color: #b9c8e2; }

/* Acentos de marca (el rojo queda solo para errores y alertas) */
.primary { background: var(--azul); box-shadow: 0 6px 16px rgba(11, 56, 117, .22); }
.link { color: var(--azul); }
.t-out { background: var(--azul); }
/* Menú: familia de azules, verdes y tinta de ValEd */
.t-res { background: #1f5a9e; } .t-turnos { background: #0f6b5c; } .t-tiempo { background: #2b4a75; }
.t-corr { background: #3b4d68; } .t-prov { background: #4a5a73; } .t-gastos { background: #0c1a30; }
.tu-dia.hoy .tu-fecha { color: var(--azul); }
.rs-barras i.sel { background: var(--azul); }
.ti-cal .d.hoy { box-shadow: inset 0 0 0 2px var(--azul); }
.doc-ico { background: var(--azul-tint); color: var(--azul); }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(11, 56, 117, .14); }

/* Lista de personas con su rol y PIN de demo */
.name-btn .nb { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.name-btn .nb small { font-weight: 400; font-size: 13px; color: var(--mute); }
.pin-demo { flex: none; font-family: "Exo 2", "Segoe UI", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--azul-tint); color: var(--azul); border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.pin-pista { text-align: center; margin: -4px 0 10px; font-size: 14px; color: var(--azul); font-weight: 600; }

.saludo-dia.DEMO { background: linear-gradient(135deg, var(--green-tint), var(--azul-tint)); border-left-color: var(--verde); }
.saludo-dia.DEMO b { color: var(--azul); }
.m-icon.info { background: var(--azul-tint); color: var(--azul); }
footer a { color: var(--azul); }
