/* Usuario: dgomez | 2026-10-14 09:45 -03:00. Campana, centro de novedades y acciones de toast adaptables al tema documental, sin cubrir formularios en móviles. */
.portal-alert-host{position:relative;color:#173b50;font-size:13px;line-height:1.4}
.portal-alert-host.client{position:fixed;right:22px;bottom:20px;z-index:1050}
.portal-alert-bell{display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #b8d5e4;background:#f7fcff;color:#16506d;border-radius:8px;cursor:pointer;box-shadow:0 2px 7px #102c4310;font:inherit}
.portal-alert-bell:hover{background:#e8f5fc;border-color:#2083aa}.portal-alert-bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.portal-alert-bell strong{min-width:22px;padding:1px 6px;border-radius:10px;background:#007fa5;color:#fff;text-align:center;font-size:12px}
.portal-alert-panel{position:absolute;right:0;top:calc(100% + 9px);width:min(430px,calc(100vw - 28px));background:#fff;border:1px solid #bdd6e3;border-radius:12px;box-shadow:0 12px 35px #102c4333;z-index:1060;overflow:hidden}
.portal-alert-host.client .portal-alert-panel{top:auto;bottom:calc(100% + 9px)}
.portal-alert-panel header{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 17px;background:#f1f8fc;border-bottom:1px solid #dce9f0;color:#163d54}
.portal-alert-panel header small{display:block;margin-top:4px;color:#57758a;font-size:11px}.portal-alert-panel header>button{width:32px;height:32px;background:#fff;border:1px solid #bdd6e3;color:#116784;border-radius:6px;font-size:21px;cursor:pointer}
.portal-alert-items{max-height:min(460px,60vh);overflow:auto;overscroll-behavior:contain}.portal-alert-item{display:flex;align-items:flex-start;gap:10px;padding:15px 17px;border-bottom:1px solid #e4edf3;background:#fff}.portal-alert-item.unread{background:#f6fbfe}.portal-alert-item.read .portal-alert-dot{background:#a4b8c4}
.portal-alert-dot{flex:0 0 8px;height:8px;border-radius:50%;background:#0082ac;margin-top:5px}.portal-alert-item.danger .portal-alert-dot{background:#cc4652}.portal-alert-item.success .portal-alert-dot{background:#18844f}.portal-alert-item.warning .portal-alert-dot{background:#b27d09}
.portal-alert-item>div{min-width:0}.portal-alert-item small{font-size:10px;color:#607c90}.portal-alert-item strong{display:block;color:#163d54;margin-top:3px;overflow-wrap:anywhere}.portal-alert-item p{margin:5px 0 9px;color:#446275;font-size:12px;overflow-wrap:anywhere}
.portal-alert-actions,.portal-alert-toast-actions{display:flex;flex-wrap:wrap;gap:7px}.portal-alert-actions button,.portal-alert-toast-actions button{border:1px solid #c7dce7;border-radius:5px;padding:5px 8px;background:#fff;color:#17617e;font:inherit;font-size:11px;cursor:pointer}.portal-alert-actions button:first-child,.portal-alert-toast-actions button:first-child{background:#007fa5;color:white;border-color:#007fa5}.portal-alert-actions button:hover,.portal-alert-toast-actions button:hover{filter:brightness(.94)}
.portal-alert-panel footer{display:flex;flex-wrap:wrap;gap:14px;padding:13px 17px;background:#f7fbfd}.portal-alert-panel footer a{font-size:11px;color:#096a8b;text-decoration:none}.portal-alert-panel footer a:hover{text-decoration:underline}.portal-alert-empty,.portal-alert-help{padding:18px;margin:0;color:#537184;font-size:12px}.portal-alert-help{background:#fff9e8;padding:11px 17px;color:#775c23}
.portal-alert-toast-actions{margin-top:10px}.portal-alert-host button:focus-visible,.portal-alert-host a:focus-visible,.portal-alert-toast-actions button:focus-visible{outline:2px solid #0089ba;outline-offset:3px}.portal-alert-host button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.portal-alert-host.client{right:12px;bottom:12px}.portal-alert-host.staff .portal-alert-bell>span{display:none}.portal-alert-host.staff .portal-alert-panel{position:fixed;right:12px;top:68px}.portal-alert-panel{width:calc(100vw - 24px)}.portal-alert-items{max-height:52vh}}
