/* Adapted from simplr24's notification component to the canonical suite theme. */
.toast-container{position:fixed;top:20px;right:20px;z-index:10000;pointer-events:none;width:min(430px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow-y:auto;padding:4px}
.toast{background:#fff;border:1px solid #d8e1d1;border-left:4px solid #5b755a;border-radius:12px;padding:16px;margin-bottom:12px;box-shadow:0 8px 30px rgba(23,47,43,.14);display:flex;align-items:flex-start;gap:12px;pointer-events:auto;opacity:0;transform:translateY(-8px);transition:opacity .15s,transform .15s;overflow-wrap:anywhere;color:#26352b}
.toast.show{opacity:1;transform:translateY(0)}
.toast-icon{width:24px;height:24px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;font-size:14px;font-weight:700;background:#edf3e4;color:#3e5936}
.toast-content{flex:1;min-width:0}.toast-title{display:block;font-size:14px;margin-bottom:4px}.toast-message{font-size:13px;line-height:1.6;margin:0;color:#4d5e4d;white-space:pre-wrap}
.toast-close{background:transparent;border:0;color:#4d5e4d;cursor:pointer;padding:4px;border-radius:6px;flex-shrink:0;font-size:22px;line-height:1;min-width:32px;min-height:32px}.toast-close:hover{background:#f2f5ee}.toast-close:focus-visible{outline:3px solid #538f74;outline-offset:2px}
.toast.error{border-left-color:#aa3e34}.toast.error .toast-icon{background:#fff1ef;color:#932d25}.toast.warning{border-left-color:#926a24}.toast.warning .toast-icon{background:#fff7df;color:#76551d}.toast.info{border-left-color:#477086}.toast.info .toast-icon{background:#edf5fa;color:#35596c}
@media(max-width:480px){.toast-container{top:10px;right:10px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.toast{padding:12px;gap:8px}}
@media(prefers-reduced-motion:reduce){.toast{transition:none;transform:none}}
.recovery-options{display:grid;gap:12px}.recovery-options .button{justify-content:space-between}
