/* Acciones compartidas también en formularios e historiales que conservan su layout. */
body button, body a:is(.boton,.boton-nuevo-tecnico,.ui-action,.ui-button) {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; min-height: 48px; max-width: 100%; padding: 11px 18px;
    border: 1px solid #061923; border-radius: 8px; background: #061923; color: white;
    font: 700 14px/1.4 Arial,Helvetica,sans-serif; text-decoration: none; white-space: normal;
    overflow-wrap: anywhere; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
body button:hover, body a:is(.boton,.boton-nuevo-tecnico,.ui-action):hover { background: #15394d; }
body .acciones > a:not(.boton):not([aria-current=page]), body a:is(.volver,.ui-button-secondary), body :is(button,a).secundario {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; max-width: 100%; padding: 10px 16px; border: 1px solid #dce3ec;
    border-radius: 8px; background: white; color: #1c2a3b; font: 700 13px/1.4 Arial,Helvetica,sans-serif;
    text-decoration: none; overflow-wrap: anywhere; cursor: pointer;
}
body :is(button,a).secundario:hover, body a.volver:hover { background: #edf2f7; }
body :is(button,a.boton).peligro, .ui-internal .acciones > a.boton.peligro { background: #a52626; border-color: #a52626; color: white; }
body :is(button,a.boton).peligro:hover { background: #821e1e; }
body :is(button,a.boton).advertencia { background: #facc15; border-color: #eab308; color: #292000; }
body :is(button,a.boton).advertencia:hover { background: #eab308; border-color: #ca8a04; color: #292000; }
body button:disabled { opacity: .55; cursor: not-allowed; }
body :is(button,.boton,.volver,.ui-button-secondary):focus-visible { outline: 3px solid #1597e5; outline-offset: 3px; }
/* Estos controles tienen variantes compactas propias; no son acciones de formulario. */
body .ui-quantity-stepper > button { width: 44px; min-width: 44px; height: 48px; min-height: 48px; padding: 0; margin: 0; font-size: 22px; }
body .ui-quantity-stepper > button:disabled { border-color: #dce3ec; background: #f5f7fa; color: #738398; }
body .ui-logout button { min-height: 44px; background: transparent; color: white; border-color: #526671; }
body .ui-picker-selected > .producto > button { background: white; border-color: #dce3ec; color: #526477; font-size: 12px; padding: 10px; }
body [hidden] { display: none !important; }
