/* B131 — Identidad visual oficial de SquadHub (referencia: login aprobado).
   Única fuente de: tipografía Inter, tokens de color, radios, sombras, foco de campos y logotipo.
   Se carga al inicio de app.css y de family-b83.css; las páginas sueltas la enlazan directo. */
@font-face{font-family:"Inter";src:url("/asset.php?f=brand/fonts/inter-var.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{
  --sh-blue:#2563EB; --sh-blue-hover:#1D4ED8; --sh-navy:#0B1530; --sh-muted:#64748B;
  --sh-bg:#F8FAFC; --sh-surface:#FFFFFF; --sh-line:#E2E8F0; --sh-field-active:#DBEAFE;
  --sh-ok:#16A34A; --sh-warn:#D97706; --sh-bad:#DC2626;
  --sh-font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --sh-radius:12px; --sh-radius-lg:16px; --sh-radius-xl:24px;
  --sh-shadow:0 1px 2px rgba(11,21,48,.04),0 8px 24px rgba(11,21,48,.05);
  --sh-shadow-lg:0 2px 4px rgba(11,21,48,.04),0 24px 48px rgba(11,21,48,.08);
  /* Variables existentes alineadas a la marca (pantallas anteriores) */
  --p-font:var(--sh-font);
}
html body{font-family:var(--sh-font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
html body :where(h1,h2){color:var(--sh-navy);letter-spacing:-.02em}
html body :where(h1){font-weight:800}
html body :where(h2,h3){font-weight:700}
/* Campos: foco azul institucional con halo #DBEAFE (como el login aprobado) */
html body :where(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus{outline:none;border-color:var(--sh-blue)!important;box-shadow:0 0 0 3px var(--sh-field-active)!important}
html body :where(a,button,summary,[tabindex]):focus-visible{outline:2px solid var(--sh-blue);outline-offset:2px}
/* Logotipo oficial: solo la palabra SquadHub (brand/squadhub-wordmark.svg). Sin isotipo. */
html body img.sh-wm.sh-wm.sh-wm{display:block;height:24px!important;width:auto!important;max-width:100%;flex:none;border-radius:0!important;box-shadow:none!important;background:none!important;padding:0!important;object-fit:contain}
html body img.sh-wm.sh-wm.lg{height:34px!important}html body img.sh-wm.sh-wm.sm{height:20px!important}
/* B133: en pantallas antiguas con el menú nuevo, se oculta su encabezado viejo (duplicaba el logotipo) */
html body:has(.sh-nav-brand) .site-header{display:none!important}
