[hidden]{display:none!important}
#toast{position:fixed;right:auto;bottom:auto;transform:none;z-index:5000;display:flex;align-items:flex-start;gap:14px;margin:0;padding:18px 20px;border-radius:14px;border:1px solid #93c5fd;border-left:5px solid #2563eb;background:#eff6ff;color:#153b70;box-shadow:0 10px 30px #10243b26;font:600 16px/1.5 'Segoe UI',Arial,sans-serif;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overflow-wrap:anywhere;pointer-events:auto;isolation:isolate}
#toast .gfw-toast-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:2px solid currentColor;border-radius:50%;font-weight:800;font-size:18px;line-height:1}
#toast .gfw-toast-message{flex:1;min-width:0;white-space:pre-wrap;font-weight:700}
#toast .gfw-toast-close{flex:0 0 36px;display:grid;place-items:center;min-width:36px;min-height:36px;margin:-4px -6px -4px 0;border:0;border-radius:8px;background:transparent;color:inherit;font-size:25px;line-height:1;cursor:pointer}
#toast .gfw-toast-close:hover{background:#0000000c}#toast .gfw-toast-close:focus-visible{outline:3px solid currentColor;outline-offset:2px}
#toast[data-variant=success]{background:#ecfdf5;border-color:#86c9a7;border-left-color:#25865b;color:#14532d}
#toast[data-variant=error]{background:#fff1f2;border-color:#f0a5ac;border-left-color:#bd2439;color:#881b2b}
#toast[data-variant=warning]{background:#fffbeb;border-color:#eac875;border-left-color:#ad6b0a;color:#754409}
#toast.gfw-toast-enter{animation:gfw-toast-in .18s ease-out}@keyframes gfw-toast-in{from{opacity:0;translate:0 -6px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){#toast.gfw-toast-enter{animation:none}}
@media(max-width:600px){#toast{padding:16px 14px;font-size:16px;gap:10px;max-width:calc(100vw - 32px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px)}#toast .gfw-toast-close{min-width:44px;min-height:44px}}
.auth-logo{width:170px;height:170px;object-fit:contain;display:block;margin:0 auto}.brand-logo{width:62px;height:62px;object-fit:contain;border-radius:12px;background:white}.sidebar .logo{gap:8px}.sidebar .logo b{font-size:18px}.sidebar .logo small{font-size:10px;max-width:145px;white-space:normal}.avia-avatar{width:36px;height:36px;object-fit:contain;border-radius:50%;background:white}.ai-head{gap:8px}.ai-head strong{font-size:14px}.avia-attachments{display:flex;align-items:center;gap:8px;padding:8px 16px;font-size:12px}.avia-attachments input{max-width:230px;font-size:11px}.ai-panel{width:min(480px,calc(100vw - 24px));max-height:85vh}.ai-msg{white-space:pre-wrap;overflow-wrap:anywhere}.ai-msg button{margin:6px 6px 0 0;font-size:12px}#gfw-confirm{z-index:1000}#gfw-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 system-ui;max-height:55vh;overflow:auto;background:#edf5fa;padding:16px;border-radius:12px}#view-usuario .form-grid,#view-usuario .form-actions,#forgot-password{display:none}#view-usuario> .panel>p{font-size:0}#view-usuario> .panel>p:after{content:'Acceso local de demostración. Las claves se generan por ejecución y aparecen solo en la consola. No es autenticación de usuarios reales.';font-size:14px}button:disabled{opacity:.6;cursor:wait}
@media(max-width:760px){.sidebar .logo{justify-content:center}.sidebar .logo small{display:none}.sidebar .logo b{font-size:16px}.brand-logo{width:44px;height:44px}.ai-panel{bottom:8px;right:8px;max-height:88vh}.ai-head{flex-wrap:wrap}.ai-input{display:flex}.ai-input input{min-width:0}.modal-content{max-width:calc(100vw - 24px);padding:16px}.table-wrap{overflow-x:auto}main header{flex-wrap:wrap;gap:12px}.auth-card{max-width:calc(100vw - 24px)}}
.gfw-readonly dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gfw-readonly dl>div{min-width:0}.gfw-readonly .wide{grid-column:1/-1}.gfw-readonly dt{font-size:12px;color:#64748b}.gfw-readonly dd{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.gfw-history{white-space:pre-wrap;overflow-wrap:anywhere}.gfw-new-provider{margin:12px 0;padding:12px;border:1px solid #dbeafe;border-radius:12px}.gfw-new-provider input[type=checkbox]{width:auto}.gfw-new-provider fieldset{border:0;padding:12px 0}.gfw-readonly{max-width:100%}@media(max-width:600px){.gfw-readonly dl{grid-template-columns:1fr}}
#modal:has(.gfw-readonly) .modal-content{max-width:900px;width:calc(100vw - 32px)}
#view-inicio .metric>small,#view-inicio #months .month>b{font-weight:700}
.gfw-provider-prepared.notice{background:#ecfdf5;border:1px solid #86efac;color:#14532d;overflow-wrap:anywhere}.gfw-provider-prepared>strong{font-size:17px;font-weight:700}.gfw-provider-prepared p{margin:8px 0}.gfw-provider-prepared [data-provider-summary]{font-weight:600}
.gfw-provider-alert{padding:16px 18px;margin-bottom:16px;border-left:4px solid #d97706;background:#fff8e8;border-radius:10px;color:#713f12;font-size:15px;line-height:1.5}.gfw-provider-alert>strong{display:block;font-size:18px;font-weight:700}.gfw-provider-alert p{margin:8px 0 0}.gfw-provider-name{font-weight:700;overflow-wrap:anywhere}.gfw-provider-options{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gfw-new-provider legend{font-size:16px;font-weight:600;margin-bottom:12px}.gfw-new-provider [data-provider-continue]{margin-top:16px;white-space:normal}.gfw-provider-status{margin-top:12px;line-height:1.5;font-weight:600}.gfw-provider-known{font-weight:600}@media(max-width:600px){.gfw-new-provider .form-grid{grid-template-columns:1fr}.gfw-provider-options button,.gfw-new-provider [data-provider-continue]{width:100%}.gfw-provider-alert{padding:14px}}
