#afisCatalogoAdmin[hidden], #btnAdministrarCatalogo[hidden] { display: none !important; }
.afis-adm-capa { position:fixed; inset:0; z-index:3100; display:flex; align-items:center; justify-content:center; padding:12px; background:#0c203b99; }
.afis-adm-panel { background:#fff; color:#192b42; width:min(580px,100%); max-height: min(90dvh,830px); border-radius:13px; display:flex; flex-direction:column; overflow:hidden; box-shadow:0 20px 65px #14213d55; }
.afis-adm-cabecera { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 20px; border-bottom:1px solid #e2e8f0; }
.afis-adm-cabecera h2 { margin:0; font-size:17px; }
.afis-adm-contenedor { overflow-y:auto; padding:18px 20px; }
.afis-adm-contenedor .field { display:flex; flex-direction:column; gap:7px; margin:13px 0; }
.afis-adm-contenedor .field span { font-weight:600; font-size:12px; }
.afis-adm-contenedor input:not([type="checkbox"]),.afis-adm-contenedor textarea,.afis-adm-contenedor select {width:100%; box-sizing:border-box; border:1px solid #cbd5e1; border-radius:8px; min-height:41px; padding:10px; font:inherit; font-size:13px; }
.afis-adm-contenedor textarea {resize:vertical;}
.afis-adm-aviso { font-size:12px; line-height:1.55; color:#475569; margin:0 0 15px; }
.afis-adm-grilla {display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px; padding:13px; border:1px solid #e2e8f0; border-radius:9px; background:#f8fafc; }
.afis-adm-dato {display:flex; flex-direction:column; gap:5px; min-width:0;overflow-wrap:anywhere}
.afis-adm-dato small {font-size:10px; color:#64748b; }
.afis-adm-dato strong {font-size:12px;font-weight:550; }
.afis-adm-confirmacion {padding:13px; margin-top:14px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:9px; }
.afis-adm-check {display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;margin-top:12px;}
.afis-adm-check input {width:17px;height:17px;flex:0 0 auto;}
.afis-adm-pie {display:flex;justify-content:flex-end;gap:9px;margin-top:19px;flex-wrap:wrap;}
.afis-adm-busqueda{display:flex;gap:8px;align-items:center;}.afis-adm-busqueda input{flex:1;min-width:0}
.afis-adm-ficha { width:100%;display:flex;flex-direction:column;gap:6px;padding:12px;margin-top:8px;border:1px solid #dce4ef;border-radius:9px;background:#fff;text-align:left;cursor:pointer;}
.afis-adm-ficha small{color:#64748b;}.afis-adm-ficha:hover{background:#f8fafc;}
.afis-adm-mensaje {font-size:12px;margin:10px 0;padding:9px 11px;border-radius:8px;background:#f1f5f9;}
.afis-adm-mensaje[data-error="1"]{background:#fff1f2;color:#a11e37;}
.afis-adm-exito{color:#166534; font-weight:600;}
.afis-catalogo-proponer{font-size:11px; font-weight:600; border:0;background:transparent;color:#2563eb; cursor:pointer; padding:3px 0; text-align:left;}
.afis-catalogo-proponer:hover{text-decoration:underline;}
body.afis-admin-abierto{overflow:hidden;}
@media(max-width:600px){.afis-adm-capa{padding:0;}.afis-adm-panel{height:100dvh;max-height:100dvh;border-radius:0;}.afis-adm-grilla{grid-template-columns:1fr;}}

.afis-adm-direccion { border-top: 1px solid var(--border, #e2e8f0); margin-top: 14px; padding-top: 14px; display: grid; gap: 7px; }
.afis-adm-direccion > strong { overflow-wrap: anywhere; font-size: .88rem; font-weight: 600; }
.afis-adm-direccion > small { opacity: .75; }
