/* Feedback floats above the current page/dialog without consuming layout space. */
.toast-region,.toast-region[popover]{position:fixed;inset:calc(96px + env(safe-area-inset-top)) 24px auto auto;z-index:2000;display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0;background:transparent;color:inherit;overflow-x:hidden;overflow-y:auto;max-height:calc(100dvh - 120px - env(safe-area-inset-top));overscroll-behavior:contain;scrollbar-width:thin;width:min(360px,calc(100vw - 48px));max-width:calc(100vw - 48px);pointer-events:none}
.toast-region[hidden]{display:none!important}
.toast-region::backdrop{background:transparent;pointer-events:none}
.toast-region .toast{display:flex;align-items:flex-start;gap:10px;padding:14px 12px 14px 16px;border:1px solid #ffffff1c;border-radius:13px;background:#29231f;color:#fff9f4;box-shadow:0 12px 40px #16131126;font-family:inherit;font-size:13px;line-height:1.5;pointer-events:auto;animation:ruvi-toast-in 180ms ease-out both;min-width:0}
.toast-region .toast-symbol{width:18px;height:18px;flex:none;margin-top:1px;color:#ffa56d}
.toast-region .toast[data-type=error] .toast-symbol{color:#ff9f91}
.toast-region .toast[data-type=success] .toast-symbol{color:#9edbb3}
.toast-region .toast-text{flex:1;min-width:0;overflow-wrap:anywhere;max-height:180px;overflow-y:auto;overscroll-behavior:contain}
.toast-region .toast-close{display:grid;place-items:center;flex:none;width:24px;height:24px;margin:-2px -3px -2px 0;padding:4px;border:0;border-radius:6px;background:transparent;color:#d8cec6;cursor:pointer;line-height:1}
.toast-region .toast-close svg{width:16px;height:16px;color:inherit;margin:0}
.toast-region .toast-close:hover{background:#ffffff16;color:#fff}
.toast-region .toast-close:focus-visible{outline:2px solid #ffa56d;outline-offset:2px}
:root[data-theme=dark] .toast-region .toast{background:#29231f;border-color:#494039}
@keyframes ruvi-toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.toast-region,.toast-region[popover]{inset:calc(78px + env(safe-area-inset-top)) 12px auto auto;width:min(360px,calc(100vw - 24px));max-width:calc(100vw - 24px)}.toast-region .toast{font-size:12px;padding:12px}}
@media(prefers-reduced-motion:reduce){.toast-region .toast{animation:none}}
@media print{.toast-region{display:none!important}}
