.iis-toasts{position:fixed;top:48px;right:24px;z-index:100001;display:flex;flex-direction:column;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}
body.iis-transport-app .iis-toasts{top:24px}
.iis-toasts .iis-toast{position:relative;display:flex!important;align-items:flex-start;gap:12px;margin:0!important;padding:14px 44px 14px 14px!important;border:0!important;border-radius:16px!important;background:#fff!important;color:#1b2b4b!important;box-shadow:0 18px 44px rgba(30,52,130,.2)!important;font-family:Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;pointer-events:auto;animation:iis-toast-in .25s ease}
.iis-toasts .iis-toast::before{content:"";flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#e7f8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/18px no-repeat}
.iis-toasts .iis-toast.notice-error::before,.iis-toasts .iis-toast.error::before{background:#ffecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/18px no-repeat}
.iis-toasts .iis-toast.notice-warning::before{background:#fff4e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/18px no-repeat}
.iis-toasts .iis-toast.notice-info::before{background:#e8f1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E") center/18px no-repeat}
.iis-toasts .iis-toast-body{min-width:0;flex:1}
.iis-toasts .iis-toast-title{display:block;margin:0 0 2px;font-size:14px;font-weight:700;color:#1b2b4b}
.iis-toasts .iis-toast p{margin:0!important;padding:0!important;font-size:13px;line-height:1.45;color:#475569}
.iis-toasts .iis-toast a{color:#2563eb}
.iis-toasts .iis-toast .notice-dismiss{display:none}
.iis-toasts .iis-toast-close{position:absolute;top:10px;right:10px;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:#f1f5f9;color:#334155;font-size:16px;line-height:26px;text-align:center;cursor:pointer}
.iis-toasts .iis-toast-close:hover{background:#e2e8f0}
.iis-toasts .iis-toast-bar{position:absolute;left:14px;right:14px;bottom:6px;height:3px;border-radius:99px;background:#16a34a;opacity:.35;transform-origin:left;animation:iis-toast-bar 5s linear forwards}
.iis-toasts .iis-toast.is-leaving{opacity:0;transform:translateX(16px);transition:opacity .25s ease,transform .25s ease}
@keyframes iis-toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes iis-toast-bar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media(max-width:782px){.iis-toasts{top:60px;right:16px}}
.iis-toasts .iis-toast.notice-error .iis-toast-bar{background:#ef4444}
.iis-toasts .iis-toast.notice-warning .iis-toast-bar{background:#f59e0b}
.iis-toasts .iis-toast.notice-info .iis-toast-bar{background:#2563eb}
.iis-toasts .iis-toast-close:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.iis-toasts .iis-toast{animation:none}.iis-toasts .iis-toast.is-leaving{transition:none}.iis-toasts .iis-toast-bar{animation:none}}
/* Compact shared notices remain in the active student dialog's top layer. */
dialog.iis-student-profile .iis-toasts{width:min(330px,calc(100vw - 32px));top:16px;right:16px}
dialog.iis-student-profile .iis-toasts .iis-toast{gap:9px;padding:11px 38px 13px 11px!important;border-radius:12px!important}
dialog.iis-student-profile .iis-toasts .iis-toast::before{flex-basis:26px;width:26px;height:26px;border-radius:8px;background-size:16px}
dialog.iis-student-profile .iis-toasts .iis-toast-title{font-size:12px}
dialog.iis-student-profile .iis-toasts .iis-toast p{font-size:11px}
