/* Light, minimal toasts: bottom-centred on phones, bottom-start on desktop */
.toast-stack{position:fixed;z-index:1000;inset-inline:0;bottom:calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 16px;pointer-events:none}
.toast{pointer-events:auto;display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;max-width:420px;min-width:0;padding:12px 16px 12px 12px;border-radius:16px;background:#fff;border:1px solid #E6E8F2;color:#1D1D1F;box-shadow:0 6px 20px rgba(29,29,31,.10);font-size:14px;line-height:1.45;font-weight:600;animation:toast-rise .24s cubic-bezier(.2,.8,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}
[dir=rtl] .toast{padding:12px 12px 12px 16px}
.toast .toast-ico{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#EEF1FB;color:#2E3A8C}
.toast .toast-ico svg{width:16px;height:16px;display:block}
.toast-success .toast-ico{background:#E8F6EE;color:#18794E}
.toast-error{background:#FFF7F6;border-color:#F5D0CC}
.toast-error .toast-ico{background:#FCE4E1;color:#B42318}
.toast .toast-msg,.toast-error .toast-msg,.toast-info .toast-msg{flex:1;min-width:0;width:auto;height:auto;display:block;background:none;border-radius:0;color:#1D1D1F;font-weight:600;overflow-wrap:anywhere}
.toast-out{opacity:0;transform:translateY(8px);transition:opacity .22s,transform .22s}
@keyframes toast-rise{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:760px){.toast-stack{align-items:flex-start;inset-inline-end:auto;inset-inline-start:24px;left:24px;right:auto;bottom:24px;padding:0}[dir=rtl] .toast-stack{left:auto;right:24px}.toast{width:auto;min-width:260px}}
@media(prefers-reduced-motion:reduce){.toast{animation:none}}
