/* 20261021-gastos-g2 */
.gg2 td small{display:block;margin-top:4px;white-space:normal}.gg2-actions{min-width:160px}.gg2-actions button{margin:2px!important}.gg2 td b{display:block}.gg2 table{min-width:1100px}.gg2-vencido{color:#b13433!important;font-weight:bold}.gg2-form label{min-width:0}.gg2-form .gg2-factura,.gg2-form .gg2-nueva{grid-column:1 / -1}.gg2-form [hidden]{display:none!important}.gg2-form input,.gg2-form select{box-sizing:border-box;max-width:100%}.gg2-history{grid-column:1 / -1;max-height:60vh;overflow:auto}.gg2-history>div{padding:10px 0;border-bottom:1px solid #d2dce8}.gg2-history small{display:block;color:#425773}.gg2-history pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:600px}.gg2-form input[readonly]{background:#e9edf5;color:#425773}#gg2error{color:#ac2734}.gg2 .gg-totales>div{min-width:0}.gg2 .gg-totales b{overflow-wrap:anywhere}
html body #contenido .pf-gastos.gg2{background:#fff!important;color:#203b5c!important;border:1px solid #d2dce9!important;border-radius:12px;padding:18px!important}
html body #contenido .gg2 h2,html body #contenido .gg2 td,html body #contenido .gg2 td b{color:#203b5c!important}
html body #contenido .gg2 td small{color:#4a607e!important}
html body #contenido .gg2 th{background:#eaf0f7!important;color:#203b5c!important;border-color:#d3dfec!important}
html body #contenido .gg2 td{background:#fff!important;border-color:#d3dfec!important}
html body #contenido .gg2 input,html body #contenido .gg2 select{background:#fff!important;color:#203b5c!important;border:1px solid #bacbe0!important}
html body #contenido .gg2 input::placeholder{color:#667b96!important;opacity:1}
html body #contenido .gg2 .gg2-vencido{color:#b13433!important}
.gg2-mas{margin-top:8px}.gg2-mas summary{cursor:pointer;padding:8px 0;color:#4a377b;font-size:12px;font-weight:600}.gg2-toolbar{display:flex;justify-content:flex-end;gap:8px;margin:8px 0}.gg2-toolbar button{padding:6px 10px!important;min-height:30px!important;font-size:12px!important}
html body dialog:has(.gg2-form){background:#fff!important;border:1px solid #bbc9df!important;color:#203b5c!important;max-height:88dvh;overflow-y:auto}
html body dialog:has(.gg2-form) h2,html body .gg2-form,html body .gg2-form p,html body .gg2-form label{color:#203b5c!important}
html body .gg2-form input,html body .gg2-form select{background:#f6f8fc!important;color:#203b5c!important;border:1px solid #bacbe0!important;min-width:0!important}
html body dialog:has(.gg2-form){width:min(780px,calc(100vw - 32px))!important;box-sizing:border-box;padding:18px!important}
html body dialog:has(.gg2-form)>form{background:#fff!important;color:#203b5c!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important}
html body .gg2-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}
html body .gg2-form>p,html body .gg2-form>.gg2-history,html body .gg2-form>.gg2-factura,html body .gg2-form>.gg2-nueva{grid-column:1 / -1}
html body dialog:has(.gg2-form) #tw-error{color:#a6283b!important}
html body #contenido .gg2 .tw-upload{background:#f5f7fc!important;color:#294763!important;border-color:#aebed5!important}
@media(max-width:600px){html body .gg2-form{grid-template-columns:1fr!important}}
