Fix tablas APU: Corregir TODOS los estilos vs template
PROBLEMA:
- custom-style.css tenía código DUPLICADO de tablas APU (137 líneas)
- tables-apu.css tenía 5 diferencias críticas vs template
- Usuario reportó que tablas en staging NO coinciden con template
SOLUCIÓN ARQUITECTURAL:
✅ Eliminar TODO código .analisis de custom-style.css (líneas 160-282 + responsive 914-924)
- Principio: cada componente debe tener su PROPIO archivo CSS
- custom-style.css NO debe tener estilos de componentes específicos
CORRECCIONES EN TABLES-APU.CSS:
1. ✅ box-shadow: 0 2px 8px → 0 4px 16px (línea 25)
- Template usa blur radius 16px, no 8px
2. ✅ Section header: ELIMINAR text-transform: uppercase (línea 163)
- Template usa textTransform: "none"
3. ✅ Section header: ELIMINAR letter-spacing: 0.5px (línea 165)
- Template usa letterSpacing: "normal"
4. ✅ Section header: ELIMINAR font-size: 0.95em (línea 164)
- Template no reduce el tamaño de fuente
5. ✅ Columnas numéricas: AGREGAR color: #1e3a5f (línea 139)
- Template computed muestra rgb(30, 58, 95) explícito
VERIFICACIÓN:
- ✅ style.css: NO tiene reglas .analisis
- ✅ responsive.css: Solo regla genérica table (max-width: 575.98px)
- ✅ utilities.css: Solo clases d-table de Bootstrap
- ✅ animations.css: NO tiene reglas table
- ✅ Orden de carga: custom-style (p11) → tables-apu (p15) ✓
COMPARACIÓN CON TEMPLATE:
Extraído computed styles del template index.html usando Playwright:
- table: boxShadow "0px 4px 16px", borderRadius "8px" ✓
- header: gradient #1e3a5f→#2c5282, padding 16px ✓
- col1-2: Poppins, left align ✓
- col3: center, color #6c757d ✓
- col4-6: Courier New monospace, right, color #1e3a5f ✓
- section-header: color #1e3a5f, fontWeight 600, textTransform "none" ✓
- subtotal: bg rgba(255,133,0,0.1), color #FF8600 ✓
- total: gradient, color white, fontSize 1.1rem/1.25rem ✓
RESULTADO:
- 137 líneas eliminadas (código duplicado en custom-style.css)
- 5 correcciones críticas en tables-apu.css
- Arquitectura CSS correcta: cada componente en su archivo
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>