/* EFI · controles compartidos de contexto. No modifica estilos existentes. */
.barra-contexto-efi,.dialogo-contexto-efi{color:#173d50;font-family:inherit;font-size:1rem;line-height:1.5;box-sizing:border-box}
.barra-contexto-efi{display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1280px;margin:1rem auto;padding:1rem 1.25rem;background:#fff;border:1px solid #c7dbe5;border-left:5px solid #16846e;border-radius:14px}
.barra-contexto-efi small{display:block;color:#08664f;font-size:.875rem;font-weight:800}
.barra-contexto-efi strong{display:block;font-size:1.0625rem;overflow-wrap:anywhere}
.barra-contexto-efi p{margin:.25rem 0 0;max-width:46rem;color:#405e6e}
.acciones-contexto-efi{display:flex;gap:.6rem;flex-wrap:wrap;flex-shrink:0}
.barra-contexto-efi button,.dialogo-contexto-efi button{min-height:44px;padding:.65rem 1rem;border:1px solid #075b82;border-radius:10px;background:#075b82;color:#fff;font:inherit;font-weight:750;cursor:pointer}
.barra-contexto-efi .contexto-secundario{background:#fff;color:#17485d;border-color:#a0bfce}
.dialogo-contexto-efi{position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 24px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #bcd3df;border-radius:18px;background:#fff;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 22px 70px #032a4350}
.dialogo-contexto-efi:not([open]){display:none}
.dialogo-contexto-efi::backdrop{background:#052b45b3}
.dialogo-contexto-efi.contexto-dialogo-alternativo{z-index:10020;box-shadow:0 0 0 100vmax #052b45b3}
.dialogo-contexto-efi header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid #d7e4eb;background:#f1f8fb}
.dialogo-contexto-efi header small{font-size:.875rem;color:#315a6f}
.dialogo-contexto-efi h2{font-size:1.4rem;line-height:1.3;margin:.2rem 0}
.dialogo-contexto-efi h3{font-size:1.125rem;margin:0 0 .5rem}
.dialogo-contexto-efi form,.contexto-avisos-efi{padding:1.25rem}
.dialogo-contexto-efi p{margin:0 0 1rem}
.campos-contexto-efi{display:grid;grid-template-columns:1fr;gap:1rem}
.campos-contexto-efi label{display:grid;gap:.35rem;font-size:1rem;font-weight:750;min-width:0}
.campos-contexto-efi select{width:100%;min-width:0;min-height:46px;box-sizing:border-box;border:1px solid #8facbf;border-radius:8px;padding:.6rem;background:#fff;color:#173d50;font:inherit;font-weight:400}
.dialogo-contexto-efi .contexto-nota{font-size:.875rem;color:#456371;margin:.75rem 0 1rem}
.contexto-avisos-efi{border-top:1px solid #d7e4eb;background:#f7fbfd}
.contexto-avisos-efi a{display:inline-block;color:#075b82;padding:.75rem;font-weight:750}
.dialogo-contexto-efi #efiContextoMensaje:not(:empty){padding:1rem 1.25rem;margin:0;background:#eaf6f0}
.dialogo-contexto-efi #efiContextoTemporal,.dialogo-contexto-efi [data-estado="pendiente"]{color:#6e4310}
.dialogo-contexto-efi button:disabled{opacity:.65;cursor:wait}
.barra-contexto-efi [hidden],.dialogo-contexto-efi [hidden]{display:none!important}
.barra-contexto-efi button:focus-visible,.dialogo-contexto-efi :is(button,a,select):focus-visible{outline:3px solid #df820d;outline-offset:3px}
@media(max-width:650px){.barra-contexto-efi{margin:1rem .75rem;flex-direction:column;align-items:stretch;padding:1rem}.acciones-contexto-efi{flex-shrink:1}.acciones-contexto-efi button{flex:1}.dialogo-contexto-efi header,.dialogo-contexto-efi form,.contexto-avisos-efi{padding:1rem}}
.contexto-acciones-principales{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.dialogo-contexto-efi .contexto-acciones-principales .contexto-secundario{border-color:#a0bfce;color:#17485d;background:#fff}.dialogo-contexto-efi .contexto-acciones-principales .contexto-secundario:hover{color:#075b82;background:#eef8fb}
