.toast-stack { position: fixed; z-index: 40; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); left: max(14px, env(safe-area-inset-left)); display: grid; gap: 10px; pointer-events: none; }
.toast { width: min(100%, 420px); margin-left: auto; overflow: hidden; border: 1px solid #b8decf; border-left: 4px solid var(--brand); border-radius: 12px; background: #f5fcf8; box-shadow: 0 12px 30px rgba(21, 35, 31, .14); color: var(--ink); pointer-events: auto; transition: opacity .16s ease, transform .16s ease; }
.toast__row { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 12px 12px 14px; }
.toast-body { flex: 1; min-width: 0; font-size: .9rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.toast__close { flex: 0 0 38px; width: 38px; min-height: 38px; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: currentColor; font-size: 1.5rem; font-weight: 400; line-height: 1; box-shadow: none; }
.toast__close:hover { background: rgba(21, 35, 31, .08); box-shadow: none; }
.toast.info, .toast.warning { border-color: #b9cae4; border-left-color: #376ea8; background: #f2f7fe; color: #193f68; }
.toast.error { border-color: #edc3bd; border-left-color: var(--warn); background: #fff5f2; color: #7a3025; }
.toast.is-closing { opacity: 0; transform: translateY(-8px); }
.inline-notice { margin: 0 0 18px; padding: 13px 15px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; background: var(--surface-soft); color: var(--ink); font-weight: 650; }
.inline-notice--warning { border-color: #b9cae4; border-left-color: #376ea8; background: #f2f7fe; color: #193f68; }
.inline-notice--error { border-color: #edc3bd; border-left-color: var(--warn); background: #fff5f2; color: #7a3025; }
@media (min-width: 720px) { .toast-stack { left: auto; width: min(420px, calc(100vw - 32px)); } }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
