/* Prioridad sobre estilos antiguos de cada modulo; sin cambiar eventos ni visibilidad. */
/* Modelo aprobado de Nomina: rectangular, radio 4px, alto 28px; ancho segun texto. */
html:not(#mrj-preserve-legacy-buttons) body .btn,
html:not(#mrj-preserve-legacy-buttons) body input[type="submit"],html:not(#mrj-preserve-legacy-buttons) body input[type="button"],
html:not(#mrj-preserve-legacy-buttons) body .btn-danger.btn-removeA,
html:not(#mrj-preserve-legacy-buttons) body .mrj-action-menu .nav .navli2 > a,
html:not(#mrj-preserve-legacy-buttons) body .mrj-action-menu .nav > li > a,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a,
html:not(#mrj-preserve-legacy-buttons) body.mrj-cert-panel-page .mrj-cert-grid .mrj-cert-card .btn,
html:not(#mrj-preserve-legacy-buttons) body.mrj-cert-panel-page .cert-main-actions-compact .btn {
 box-sizing:border-box!important;min-height:28px!important;height:auto!important;
 padding:3px 7px!important;border-radius:4px!important;
 font:600 12px/20px Arial,sans-serif!important;
 text-shadow:none!important;box-shadow:none!important;background-image:none!important;
 vertical-align:middle!important;text-align:center!important;
 max-width:100%;white-space:normal!important;overflow-wrap:break-word;
}
/* Conservar el flujo, la visibilidad y las condiciones de cada control. */
html:not(#mrj-preserve-legacy-buttons) body .mrj-cert-grid .btn,html:not(#mrj-preserve-legacy-buttons) body .cert-main-actions-compact .btn {width:auto!important;min-width:0!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn:focus-visible,html:not(#mrj-preserve-legacy-buttons) body .mrj-action-menu a:focus-visible,html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a:focus-visible {outline:2px solid #183f70!important;outline-offset:2px;}
/* Cada fondo plano se define junto a su texto: evita blanco sobre transparente. */
html:not(#mrj-preserve-legacy-buttons) body .btn,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a {
 background-color:#edf5f9!important;border-color:#b8d2e1!important;color:#203f52!important;
}
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a.btn-borrarSolicitud,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a.btn-resSolicitud {background-color:#9c5650!important;border-color:#80453f!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a.btn-tv {background-color:#fff0bf!important;border-color:#d7b553!important;color:#624800!important;}
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > .mrj-verificadora-vinculada > a {background-color:#534078!important;border-color:#443363!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .mrj-status-badge > i,
html:not(#mrj-preserve-legacy-buttons) body .mrj-status-secondary > i,
html:not(#mrj-preserve-legacy-buttons) body .mrj-certificate-state-badge > i {display:none!important;}
/* Colores de las acciones existentes, con contraste legible. */
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-primary,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-info {background-color:#3d718d!important;border-color:#315c73!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-success {background-color:#507b56!important;border-color:#3d6042!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-danger,html:not(#mrj-preserve-legacy-buttons) body .btn-danger.btn-removeA {background-color:#9c5650!important;border-color:#80453f!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-warning {background-color:#815600!important;border-color:#6b4700!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-inverse {background-color:#344f63!important;border-color:#263e50!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-primary:hover,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-info:hover,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-primary:focus,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-info:focus {background-color:#315c73!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-success:hover,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-success:focus {background-color:#3d6042!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-danger:hover,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-danger:focus {background-color:#80453f!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-warning:hover,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-warning:focus {background-color:#644200!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.btn-inverse:hover,html:not(#mrj-preserve-legacy-buttons) body .btn.btn-inverse:focus {background-color:#253c4e!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn.disabled,html:not(#mrj-preserve-legacy-buttons) body .btn[disabled] {opacity:.75!important;cursor:not-allowed;}
@media(max-width:600px) {
 html:not(#mrj-preserve-legacy-buttons) body .btn,html:not(#mrj-preserve-legacy-buttons) body input[type="submit"],html:not(#mrj-preserve-legacy-buttons) body input[type="button"],
 html:not(#mrj-preserve-legacy-buttons) body .btn-danger.btn-removeA,html:not(#mrj-preserve-legacy-buttons) body .mrj-action-menu .nav .navli2 > a,
 html:not(#mrj-preserve-legacy-buttons) body .mrj-action-menu .nav > li > a,html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a,
 html:not(#mrj-preserve-legacy-buttons) body.mrj-cert-panel-page .mrj-cert-grid .mrj-cert-card .btn,
 html:not(#mrj-preserve-legacy-buttons) body.mrj-cert-panel-page .cert-main-actions-compact .btn {min-height:32px!important;padding-top:5px!important;padding-bottom:5px!important;}
}/* Estados de navegacion: fondo y texto explicitos al seleccionar o pasar el cursor. */
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > .active > a,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a.active,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a:hover,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a:focus {
 background-color:#3d718d!important;border-color:#315c73!important;color:#fff!important;
}
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > .active > a i,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a:hover i,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > a:focus i {color:currentColor!important;}
/* Prueba solicitada por Juan: azul y verde mas suaves, 20261027. */
html:not(#mrj-preserve-legacy-buttons) body .mrj-nomina-toolbar .mrj-nomina-title {background-color:#3d718d!important;border-color:#315c73!important;color:#fff!important;}
/* Centrado de la equis: los controles antiguos tenian 24px con relleno lateral. */
html:not(#mrj-preserve-legacy-buttons) body .btn-removeA:not(.btn):has(>i),
html:not(#mrj-preserve-legacy-buttons) body .btn-removeA.mrj-icon-only {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;
 padding:0!important;line-height:1!important;vertical-align:middle!important;
}
html:not(#mrj-preserve-legacy-buttons) body .btn-removeA:not(.btn)>i,
html:not(#mrj-preserve-legacy-buttons) body .btn-removeA.mrj-icon-only>i {
 display:block!important;flex:0 0 14px!important;width:14px!important;height:14px!important;
 margin:0!important;padding:0!important;line-height:14px!important;vertical-align:middle!important;
}
html:not(#mrj-preserve-legacy-buttons) body .btn-elimrem {background-color:#9c5650!important;border-color:#80453f!important;color:#fff!important;}
html:not(#mrj-preserve-legacy-buttons) body .btn-elimrem:hover {background-color:#80453f!important;}
@media(max-width:600px){
 html:not(#mrj-preserve-legacy-buttons) body .btn-removeA:not(.btn):has(>i),
 html:not(#mrj-preserve-legacy-buttons) body .btn-removeA.mrj-icon-only {width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;}
}/* Acciones de navegacion renderizadas como button en lugar de enlace. */
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > button:not(.btn-navbar) {
 box-sizing:border-box!important;min-height:28px!important;height:auto!important;padding:3px 7px!important;
 border:1px solid #443363!important;border-radius:4px!important;font:600 12px/20px Arial,sans-serif!important;
 color:#fff!important;background:#534078!important;text-shadow:none!important;box-shadow:none!important;
 max-width:100%;white-space:normal!important;vertical-align:middle!important;cursor:pointer;
}
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > button:not(.btn-navbar):hover,
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > button:not(.btn-navbar):focus {background:#40305e!important;}
html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > button:not(.btn-navbar):focus-visible {outline:2px solid #183f70!important;outline-offset:2px;}
@media(max-width:600px){html:not(#mrj-preserve-legacy-buttons) body .navbar .nav > li > button:not(.btn-navbar) {min-height:32px!important;padding-top:5px!important;padding-bottom:5px!important;}}
/* MRJ: completar navegacion rectangular y retirar figuras decorativas (Juan 09:29). */
html:not(#mrj-preserve-legacy-buttons) body .mrj-breadcrumb-guide a,
html:not(#mrj-preserve-legacy-buttons) body .mrj-breadcrumb-guide .mrj-crumb-current,
html:not(#mrj-preserve-legacy-buttons) body legend small.mrj-status-badge {
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
 border-radius:4px!important;min-height:28px!important;padding:3px 7px!important;
 font:600 12px/20px Arial,sans-serif!important;box-shadow:none!important;text-shadow:none!important;
}
html:not(#mrj-preserve-legacy-buttons) body .mrj-breadcrumb-guide .mrj-crumb-current {
 background:#3d718d!important;background-image:none!important;color:#fff!important;border-color:#315c73!important;
}
html:not(#mrj-preserve-legacy-buttons) body .mrj-role-badge {border-radius:4px!important;}
html:not(#mrj-preserve-legacy-buttons) body .mrj-user-avatar,
html:not(#mrj-preserve-legacy-buttons) body .mrj-role-badge > i,
html:not(#mrj-preserve-legacy-buttons) body .mrj-breadcrumb-guide i,
html:not(#mrj-preserve-legacy-buttons) body legend > .mrj-heading-icon,
html:not(#mrj-preserve-legacy-buttons) body h1 > .mrj-heading-icon,
html:not(#mrj-preserve-legacy-buttons) body h2 > .mrj-heading-icon,
html:not(#mrj-preserve-legacy-buttons) body h3 > .mrj-heading-icon,
html:not(#mrj-preserve-legacy-buttons) body .btn_pdf > i,
html:not(#mrj-preserve-legacy-buttons) body .mrj-action-menu .mrj-observaciones-status > i {display:none!important;}
html:not(#mrj-preserve-legacy-buttons) body .mrj-action-menu .mrj-observaciones-status {
 border-radius:4px!important;width:auto!important;min-width:0!important;height:auto!important;
 padding:1px 4px!important;font:600 10px/14px Arial,sans-serif!important;
}
html:not(#mrj-preserve-legacy-buttons) body .mrj-observaciones-status--pendiente::after {content:'Pendiente';}
html:not(#mrj-preserve-legacy-buttons) body .mrj-observaciones-status--respuesta::after {content:'Respuesta';}
@media(max-width:767px){
 html:not(#mrj-preserve-legacy-buttons) body .mrj-breadcrumb-guide a,
 html:not(#mrj-preserve-legacy-buttons) body .mrj-breadcrumb-guide .mrj-crumb-current {min-height:32px!important;padding:5px 7px!important;}
}
