@layer theme,base,app;@layer components{.toaster{z-index:100;pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:fixed;bottom:16px;right:16px}.toast{pointer-events:auto;box-sizing:border-box;border:1px solid var(--line-2);background:var(--sheet);width:360px;max-width:calc(100vw - 32px);color:var(--text);border-radius:10px;padding:12px 12px 12px 14px;font-size:13px;animation:.18s cubic-bezier(.2,.8,.2,1) toast-in;box-shadow:0 4px 12px #0000000f,0 12px 32px #00000014}.toast-head{align-items:center;gap:8px;display:flex}.toast-head strong{flex:1;min-width:0;font-weight:500}.toast-ok{width:16px;height:16px;color:var(--sheet);fill:var(--ok);flex:none}.toast-error{width:16px;height:16px;color:var(--sheet);fill:var(--bad);flex:none}.toast-note{width:16px;height:16px;color:var(--muted);flex:none}.toast-body>.toast-text{-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box}.toast .toast-close,.toast .toast-close:hover:not(:disabled){width:22px;height:22px;min-height:0;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.toast .toast-close:hover:not(:disabled){background:var(--hover);color:var(--text)}.toast .toast-close svg{width:14px;height:14px}.toast-body{min-width:0;color:var(--body);align-items:center;gap:8px;margin:6px 0 0 24px;display:flex}.toast-body>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.toast-action{color:#3b6fd8;margin:10px 0 0 24px;font-weight:500;text-decoration:none;display:inline-block}.toast-action:hover{text-decoration:underline}:root[data-theme=dark] .toast-action{color:#7aa2f7}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .toast-action{color:#7aa2f7}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)scale(.98)}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}@media (max-width:640px){.toaster{left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));align-items:stretch}.toast{width:auto;max-width:none}}}@layer utilities;
