body, .font-body { font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif; }
  .font-heading { font-family: 'Lexend', sans-serif; }
  .comercial-modern,
  .comercial-modern input,
  .comercial-modern select,
  .comercial-modern button,
  .comercial-modern textarea,
  .signo-hifi,
  .signo-hifi input,
  .signo-hifi select,
  .signo-hifi button,
  .signo-hifi textarea {
    font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  }
  .comercial-modern .font-mono,
  .comercial-modern .mono,
  .signo-hifi .font-mono,
  .signo-hifi .mono {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  }
  /* ============================================================
     HIFI-SHELL (handoff update5 §2) · tokens del design system hi-fi
     compartidos por los módulos rediseñados (Catálogo hoy; Comercial/
     Editor convergen después). Scoped a .signo-hifi — no pisa el
     chrome general de la app. Consumir SIEMPRE via var(--hf-*).
     ============================================================ */
  .signo-hifi {
    --hf-bg: #F3F4F6;            /* fondo app */
    --hf-surface: #FFFFFF;       /* cards, toolbar, filas */
    --hf-surface-subtle: #FAFBFC;/* header tabla, hover, dropzones */
    --hf-text: #11151C;          /* títulos, valores */
    --hf-text-2: #3A4250;        /* labels, celdas fuertes */
    --hf-text-3: #5A6472;        /* subtítulos, ayudas */
    --hf-text-mute: #8B94A1;     /* placeholders, th, meta */
    --hf-text-disabled: #9AA3AF;
    --hf-border: #E6E8EC;
    --hf-border-subtle: #ECEEF1;
    --hf-border-dashed: #C7D0DB;
    --hf-accent: #E8590C;        /* naranja marca — SOLO acción primaria */
    --hf-accent-hover: #C2410C;
    --hf-accent-row: #FFF6F0;    /* fila abierta */
    --hf-accent-bg: #FCEFE8;
    --hf-blue: #1D4FD8;          /* acción secundaria / selección masiva */
    --hf-blue-strong: #2A4FC4;
    --hf-blue-bg: #EEF4FF;
    --hf-blue-border: #CBDBFB;
    --hf-green: #12924A; --hf-green-dark: #1B6B38; --hf-green-bg: #E7F6EC;
    --hf-red: #DC2626; --hf-red-dark: #B42318; --hf-red-bg: #FCE9E9;
    --hf-amber: #D97706; --hf-amber-dark: #9A5B06; --hf-amber-bg: #FBF0DD;
    --hf-violet: #6D28D9; --hf-violet-bg: #EFE7FD;
    --hf-cyan: #0891B2; --hf-cyan-dark: #0E7490; --hf-cyan-bg: #E0F2F6;
    --hf-sidebar: #0E1626;       /* nav lateral */
    --hf-sidebar-icon: #18233A;  /* recuadro de ícono inactivo */
    --hf-sidebar-text: #D5DBE4; --hf-sidebar-sub: #6B7688; --hf-sidebar-heading: #5C6677;
    --hf-shadow-card: 0 1px 2px rgba(17,21,28,.04);
    --hf-shadow-panel: -14px 0 40px rgba(14,22,38,.22);
    --hf-shadow-modal: 0 30px 80px rgba(14,22,38,.32);
    --hf-overlay-panel: rgba(14,22,38,.42);
    --hf-overlay-modal: rgba(14,22,38,.5);
    color: var(--hf-text);
    -webkit-font-smoothing: antialiased;
  }
  .signo-hifi ::selection { background: #FAD4BC; }
  /* HIFI-SHELL · componentes base reutilizables (botones toolbar 40px, filtros, pager, bulk bar, filas) */
  .signo-hifi .hf-btn { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; background: #fff; border: 1px solid var(--hf-border); border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--hf-text-2); cursor: pointer; white-space: nowrap; }
  .signo-hifi .hf-btn:hover { background: #F6F7F9; }
  .signo-hifi .hf-btn-excel { background: var(--hf-green-bg); border-color: #C6EBD3; color: var(--hf-green-dark); }
  .signo-hifi .hf-btn-excel:hover { background: var(--hf-green-bg); filter: brightness(1.02); }
  .signo-hifi .hf-btn-primary { background: var(--hf-accent); border: none; color: #fff; padding: 0 16px; }
  .signo-hifi .hf-btn-primary:hover { background: var(--hf-accent); filter: brightness(1.06); }
  .signo-hifi .hf-filter-sel { appearance: none; height: 40px; padding: 0 32px 0 13px; background: #fff; border: 1px solid var(--hf-border); border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--hf-text-2); cursor: pointer; }
  .signo-hifi .hf-pager { width: 36px; height: 36px; border: 1px solid var(--hf-border); background: #fff; border-radius: 9px; color: #6B7480; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .signo-hifi .hf-pager:hover { background: #F6F7F9; }
  .signo-hifi .hf-pager:disabled { opacity: .35; cursor: default; background: #fff; }
  .signo-hifi .hf-btn-blue { background: var(--hf-blue); border: none; color: #fff; padding: 0 18px; }
  .signo-hifi .hf-btn-blue:hover { background: var(--hf-blue); filter: brightness(1.06); }
  .signo-hifi .hf-btn-green { background: var(--hf-green); border: none; color: #fff; padding: 0 18px; }
  .signo-hifi .hf-btn-green:hover { background: var(--hf-green); filter: brightness(1.06); }
  .signo-hifi .hf-btn:disabled { opacity: .5; cursor: default; filter: none; }
  .signo-hifi .hf-bulk-btn { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; background: #fff; border: 1px solid var(--hf-blue-border); border-radius: 9px; font-size: 12.5px; font-weight: 700; color: #1D3A8A; cursor: pointer; white-space: nowrap; }
  .signo-hifi .hf-bulk-btn:hover { background: #F4F8FF; }
  .signo-hifi .hf-bulk-btn-danger { border-color: #F1C7C4; color: var(--hf-red-dark); }
  .signo-hifi .hf-bulk-btn-danger:hover { background: #FDF2F2; }
  .signo-hifi .hf-row { border-top: 1px solid #F1F2F5; }
  .signo-hifi .hf-row:hover { background: #FAFBFC; }
  .signo-hifi .hf-row:hover .hf-act { opacity: 1; }
  .signo-hifi ::-webkit-scrollbar { height: 11px; width: 11px; }
  .signo-hifi ::-webkit-scrollbar-thumb { background: #D3D8DF; border-radius: 9px; border: 3px solid #F3F4F6; }
  .signo-hifi ::-webkit-scrollbar-thumb:hover { background: #BCC3CC; }
