/* Gastos en dos grupos contables sin duplicación */
.gastos-panel{display:flex;flex-direction:column;gap:15px;min-width:0}
.gastos-tabs{display:flex;gap:9px;flex-wrap:wrap}
.gastos-tab{background:#f1f6fa;color:#245575;border:1px solid #d6e4ee;border-radius:10px;padding:12px 17px;font-size:13px;font-weight:750;min-height:45px}
.gastos-tab:hover{background:#e0edf6}
.gastos-tab.selected{background:#075b8d;color:white;border-color:#075b8d}
.gastos-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gastos-kpi{background:#fff;padding:17px 20px;box-shadow:0 4px 18px #0f355b0e;border-radius:12px;border:1px solid #dce8ef;display:flex;flex-direction:column;gap:8px;border-left:4px solid #1780b3}
.gastos-kpi:nth-child(2){border-left-color:#efa44f}
.gastos-kpi span{font-size:12px;font-weight:650;color:#537388}
.gastos-kpi strong{font-size:clamp(18px,2.25vw,27px);line-height:1.25;color:#17415c;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.gastos-kpi small{color:#6b8597;font-size:11px}
.gastos-filtros{background:white;border:1px solid #dce9ef;padding:12px;border-radius:11px}
.gastos-filtros input{min-width:210px;flex:2}
.gastos-filtros select{min-width:150px;flex:1}
.gastos-panel .notice{font-size:13px;line-height:1.6;margin:0}
.gastos-panel #gastos-numero{font-size:12px;margin:1px 0 0}
.gastos-panel #gastos-list{overflow-x:auto;background:#fff;border:1px solid #dce6ed;border-radius:13px}
.gastos-panel #gastos-list table{width:100%;min-width:980px}
.gastos-panel #gastos-list table td{vertical-align:top}
.gastos-panel #gastos-list table small{display:block;color:#678194;font-size:11px;margin-top:5px}
.gastos-fuente{display:block;color:#3e6380;font-size:12px;font-weight:600}
@media(max-width:640px){.gastos-kpis{grid-template-columns:1fr}.gastos-kpi{padding:14px}.gastos-tab{flex:1 1 46%;padding:10px}.gastos-filtros select,.gastos-filtros input{flex:1 1 100%}}
