/* Las guías visuales prevalecen sobre las medidas conservadas de los componentes. */
body{background:#fff!important;font-family:Inter,sans-serif!important;color:#111827}
html{height:auto!important;min-height:100%;background:#fff!important;overflow-y:auto!important}
body{height:auto!important;min-height:100vh!important;overflow:visible!important}
.page-main{padding:24px!important;background:#fff;overflow:visible}
main h1,.module-head h1{font-size:24px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase;margin:0}
.module-head{padding:0!important;margin:0 0 24px!important;background:#fff!important}
#module-rubros{height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important;background:#fff!important}
#module-rubros .rubro-table-area{height:auto!important;min-height:0!important;overflow:visible!important;background:#fff!important}
#module-rubros .table-wrap{max-height:calc(100vh - 280px);overflow:auto!important;background:#fff!important}
#module-rubros .rubro-category-heading th{background:#f3f4f6!important;color:#111827!important;border-color:#e5e7eb!important}
#module-rubros .rubro-category-toggle,#module-rubros .rubro-category-order{color:#111827!important;border-color:#d1d5db!important}
#module-rubros .rubro-category-toggle{font-size:12px!important;min-height:36px}
#module-rubros .rubro-category-order:focus{border-color:#e51400!important}
#module-rubros .rubro-category-heading select,#module-rubros .rubro-category-heading input{border-color:#d1d5db!important;background:#fff!important;color:#111827!important}
#module-rubros .rubro-category-heading .btn{font-size:11px!important}
#module-rubros .rubro-search-toolbar{background:#fff!important;padding:0!important;margin:0 0 16px!important}
#module-rubros .rubro-category-title{min-height:44px!important;padding:4px 8px!important}
#module-rubros .rubro-column-toggle{color:#4b5563!important}
#module-rubros .rubro-category-columns th{background:#fff!important;color:#6b7280!important}
th{background:#f3f4f6;color:#6b7280;border-color:#e5e7eb}
.module-money,td[data-label*="Precio"],td[data-label*="Cantidad"],td[data-label*="Subtotal"],td[data-label*="Monto"],td[data-label*="Costo"],td[data-label*="Jornal"],td[data-label*="Salario"],td[data-label="Hora"],td[data-label="Coeficiente"]{font-family:'JetBrains Mono',monospace;font-size:12px;text-align:right;font-variant-numeric:tabular-nums}
.module-budget-summary strong,.module-budget-financial,.module-item-totals strong,.module-section-foot strong,.module-stage-summary td{font-family:'JetBrains Mono',monospace;font-variant-numeric:tabular-nums}
.btn-primary,.btn-primary:hover{color:#fff!important}.btn-primary{background:#e51400!important;border-color:#e51400!important}.btn-primary:hover{background:#c01100!important}
.modal-card,.clients-admin-dialog,.module-admin-dialog,.module-budget-dialog{border:2px solid #111827!important;border-radius:0!important;box-shadow:none!important}
.clients-inline{border:0!important}.clients-inline .clients-dialog-header{display:none}
[type="checkbox"],[type="radio"]{color:#e51400!important;accent-color:#e51400}
.modal-card,dialog.clients-admin-dialog,.module-admin-dialog,.module-budget-dialog{width:90vw!important;max-width:1152px!important;height:85vh!important;max-height:85vh!important}
.select2-container--default .select2-selection--single{border:1px solid #d1d5db;min-height:36px;border-radius:0}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#e51400;color:#fff}
.select2-dropdown{border-color:#d1d5db;border-radius:0}
.rubro-catalog-toggle{display:none}
@media(max-width:767px){.page-main{padding:16px!important}main h1,.module-head h1{font-size:20px!important}#module-rubros .rubro-category-title{min-height:44px!important}.head-actions a.btn{min-height:44px}.page-path{line-height:1.5}#module-rubros .module-head{display:flex!important;flex-wrap:wrap}#module-rubros .module-head>div:first-child{width:100%}#module-rubros .rubro-catalog-toggle{display:inline-flex;min-height:44px}#module-rubros #btnAddRubro{min-height:44px;margin-left:auto}#rubroCatalogLinks{display:none!important;order:3;flex-basis:100%}#rubroCatalogLinks.is-open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}#module-rubros #rubroCatalogLinks .btn{min-height:44px}}
