/* A86 unified public/auth toasts. Legacy flash cards remain visible without JS. */
body.public-body .velora-toast-stack {
 position:fixed;inset:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) auto auto;
 z-index:var(--velora-z-toast,11020);width:min(420px,calc(100vw - 32px));
 max-height:min(68dvh,630px);box-sizing:border-box;overflow-x:hidden;overflow-y:auto;
 display:grid;gap:10px;pointer-events:none;overscroll-behavior:contain;
}
body.public-body .velora-toast-stack .velora-toast {
 box-sizing:border-box;display:grid!important;grid-template-columns:32px minmax(0,1fr) 34px!important;
 align-items:start!important;gap:10px!important;min-height:52px!important;
 padding:12px!important;margin:0!important;max-width:100%;overflow-wrap:anywhere;
 pointer-events:auto;box-shadow:0 12px 36px rgba(0,0,0,.20)!important;
 border-radius:12px!important;font-size:13px!important;line-height:1.5!important;
}
body.public-body .velora-toast-stack .velora-toast > span:first-child {width:32px!important;height:32px!important;}
body.public-body .velora-toast-stack .velora-toast-message {min-width:0;overflow-wrap:anywhere;align-self:center;}
body.public-body .velora-toast-stack .velora-toast-dismiss {
 appearance:none;display:grid;place-items:center;box-sizing:border-box;width:34px;height:34px;
 border:1px solid transparent;border-radius:8px;padding:0;align-self:start;
 background:transparent;color:inherit;cursor:pointer;font:700 22px/1 system-ui,sans-serif;
}
body.public-body .velora-toast-stack .velora-toast-dismiss:hover {border-color:currentColor;}
body.public-body .velora-toast-stack .velora-toast-dismiss:focus-visible {outline:2px solid var(--accent,#f97316);outline-offset:2px;}
/* Keep feedback above normal content but below modal dialogs; avoid mobile dock. */
body.public-body:has(dialog[open]) .velora-toast-stack {visibility:hidden!important;pointer-events:none!important;}
@media(max-width:760px) {
 body.public-body .velora-toast-stack {top:auto;bottom:calc(90px + env(safe-area-inset-bottom));
  left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));width:auto;max-height:min(42dvh,360px);}
 body.public-body.auth-standalone .velora-toast-stack {bottom:max(16px,env(safe-area-inset-bottom));}
 body.public-body .velora-toast-stack .velora-toast {grid-template-columns:30px minmax(0,1fr) 34px!important;font-size:12px!important;}
}
@media(prefers-reduced-motion:reduce){body.public-body .velora-toast-stack .velora-toast{animation:none!important;transition:none!important}}
