@scope([data-style-owner=toast]) to (:scope [data-style-owner]:not([data-style-owner=toast])>*){:where(:scope,*).toast-viewport{bottom:max(var(--toast-bottom-inset,var(--space-6)), env(safe-area-inset-bottom));right:max(var(--space-6), env(safe-area-inset-right));width:min(26rem, calc(100vw - var(--space-8)));max-height:min(50dvh, calc(100dvh - var(--space-12)));overscroll-behavior:contain;pointer-events:none;z-index:80;position:fixed;overflow-y:auto}:where(:scope,*).toast-stack{gap:var(--space-2);padding:var(--space-1);flex-direction:column;margin:0;list-style:none;display:flex}:where(:scope,*).toast{align-items:flex-start;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--color-line);background:var(--color-subtle);color:var(--color-ink);border-radius:var(--control-radius);font-size:var(--text-sm);pointer-events:auto;animation:fade-in var(--motion-fast) ease-out;flex-shrink:0;display:flex}:where(:scope,*).toast-icon{margin-top:var(--space-2);inline-size:var(--space-5);block-size:var(--space-5);color:inherit;flex-shrink:0;place-items:center;display:grid}:where(:scope,*).toast[data-tone=success] .toast-icon{color:var(--color-success)}:where(:scope,*).toast[data-tone=error]{background:var(--color-negative-soft);border-color:var(--color-negative);color:var(--color-negative)}:where(:scope,*).toast[data-tone=warning]{background:var(--color-warning-soft);border-color:var(--color-warning);color:var(--color-warning)}:where(:scope,*).toast:is([data-tone=error],[data-tone=warning]) .toast-action,:where(:scope,*).toast:is([data-tone=error],[data-tone=warning])>button{color:inherit}:where(:scope,*).toast-content{flex:1;min-width:0}:where(:scope,*).toast-message{padding-top:var(--space-2);overflow-wrap:anywhere}:where(:scope,*).toast-message>:first-child{margin-top:0}:where(:scope,*).toast-message>:last-child{margin-bottom:0}:where(:scope,*).toast-action{color:var(--color-primary);text-underline-offset:2px;text-decoration:underline}:where(:scope,*).toast>button{flex-shrink:0}:where(:scope,*).toast-viewport[data-dialog=true]{bottom:var(--space-3);right:var(--space-3);width:min(26rem, calc(100% - var(--space-6)));max-height:min(50dvh, var(--toast-available-height));position:absolute}@media (width<=760px){:where(:scope,*).toast-viewport:not([data-dialog=true]){bottom:max(var(--toast-bottom-inset,var(--space-4)), env(safe-area-inset-bottom));max-height:40dvh;right:max(var(--space-4), env(safe-area-inset-right));width:calc(100vw - var(--space-8))}}@media (prefers-reduced-motion:reduce){:where(:scope,*).toast{animation:none}}}
