/* SGV - Estándar visual corporativo de tablas y filtros.
   Presentación únicamente: no altera datos ni lógica de negocio. */
:root{--sgv-brand-blue:#17365D;--sgv-brand-yellow:#F2C230;--sgv-table-line:#dce5ef;--sgv-table-text:#203b59;}
/* Encabezados de tarjetas */
.sgv-card-header{background:var(--sgv-brand-blue)!important;color:#fff!important;border-radius:12px 12px 0 0!important;}
.sgv-card-header h1,.sgv-card-header h2,.sgv-card-header h3,.sgv-card-header p,.sgv-card-header .sgv-section-title{color:#fff!important;}
/* Cabeceras de columnas corporativas, excluyendo impresión */
main.container table thead th{background:var(--sgv-brand-yellow)!important;color:var(--sgv-brand-blue)!important;border-color:#e0b328!important;font-weight:800;}
main.container table{border-collapse:collapse;}
main.container table tbody td{border-bottom:1px solid var(--sgv-table-line);}
main.container table tbody tr:hover td{background:#f7f9fc;}
/* El filtro integrado pasa a ser una sección interna de la tarjeta de tabla. */
.sgv-filter-integrated,.sgv-filter-integrated form{margin:0!important;}
.sgv-filter-integrated{padding:14px 16px!important;border-bottom:1px solid var(--sgv-table-line)!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;}
.sgv-filter-integrated .sgv-card-header,.sgv-filter-integrated h1,.sgv-filter-integrated h2,.sgv-filter-integrated h3,.sgv-filter-integrated p{display:none!important;}
.sgv-filter-integrated .sgv-card-body{padding:0!important;}
.sgv-filter-integrated form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;}
.sgv-filter-integrated label{font-size:11px;font-weight:800;color:#496481;}
.sgv-filter-integrated input,.sgv-filter-integrated select{min-height:38px;}
/* Compatibilidad con módulos de estilos propios */
.rep-filters,.nov-filters,.aop-filters,.ma-filters{margin:0!important;}
@media(max-width:700px){.sgv-filter-integrated{padding:10px!important}.sgv-filter-integrated form{gap:9px}}
