:where(.sth-toast-layer){--surface-card:#ffffff;--surface-elevated:#ffffff;--surface-sunken:#f5f5f5;--border-default:#e8e8e8;--text-primary:#171717;--text-secondary:#4d4d4d;--text-tertiary:#6b6b6b;--text-muted:#a1a1a1;--color-success-50:#e7f5ec;--color-success-500:#1f9d5f;--color-success-600:#14854c;--color-warning-50:#fbf1e2;--color-warning-500:#db8a24;--color-warning-600:#b86c12;--color-error-50:#fbece9;--color-error-500:#d6483f;--color-error-600:#b73229;--color-info-50:#e9f1f8;--color-info-500:#2e7bb5;--color-info-600:#1f649a;--color-brand-400:#38c2bb;--color-brand-500:#00a19c;--color-brand-600:#00857f;--color-brand-700:#0f6f6a;--accent-subtle:#e2f5f3}.sth-toast-layer{position:fixed;z-index:9999;display:flex;flex-direction:column;gap:10px;pointer-events:none;bottom:24px;right:24px;width:384px;max-width:calc(100vw - 32px)}@media (max-width:640px){.sth-toast-layer{top:auto;left:0;right:0;bottom:calc(104px + env(safe-area-inset-bottom, 0px));width:auto;max-width:none;align-items:center;padding:0 13px}}.sth-toast{pointer-events:auto;position:relative;overflow:hidden;display:flex;align-items:flex-start;gap:12px;background:var(--surface-elevated,var(--surface-card));border:1px solid var(--border-default);border-radius:14px;box-shadow:var(--shadow-pop,0 20px 44px rgba(0,0,0,.18));padding:13px 14px;animation:sth-toast-in .26s var(--ease-out,cubic-bezier(.16,1,.3,1)) both}.sth-toast.leaving{animation:sth-toast-out .17s ease-in both}.sth-toast[data-variant=success]{--tc:var(--color-success-600);--tc-bg:var(--color-success-50);--tc-bar:var(--color-success-500)}.sth-toast[data-variant=error]{--tc:var(--color-error-600);--tc-bg:var(--color-error-50);--tc-bar:var(--color-error-500)}.sth-toast[data-variant=warning]{--tc:var(--color-warning-600);--tc-bg:var(--color-warning-50);--tc-bar:var(--color-warning-500)}.sth-toast[data-variant=info]{--tc:var(--color-info-600);--tc-bg:var(--color-info-50);--tc-bar:var(--color-info-500)}.sth-toast-ic{width:36px;height:36px;border-radius:10px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:var(--tc-bg);color:var(--tc)}.sth-toast-ic svg{width:20px;height:20px}.sth-toast-body{flex:1;min-width:0;padding-top:1px}.sth-toast-title{font-size:13.5px;font-weight:650;color:var(--text-primary);line-height:1.35}.sth-toast-desc{font-size:12px;color:var(--text-secondary);margin-top:2px;line-height:1.45;word-break:break-word}.sth-toast-x{flex-shrink:0;width:26px;height:26px;margin:-2px -3px 0 0;border:none;border-radius:8px;background:transparent;color:var(--text-tertiary);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s,color .12s}.sth-toast-x:hover{background:var(--surface-sunken);color:var(--text-primary)}.sth-toast-x svg{width:16px;height:16px}.sth-toast-bar{position:absolute;left:0;bottom:0;height:3px;width:100%;transform-origin:left center;background:var(--tc-bar);opacity:.85;animation:sth-toast-bar linear forwards}.sth-toast:hover .sth-toast-bar{animation-play-state:paused}@keyframes sth-toast-in{0%{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}@keyframes sth-toast-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(6px) scale(.97)}}@keyframes sth-toast-bar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.sth-toast.cs-ai-toast{width:384px;max-width:calc(100vw - 32px);gap:12px;padding:12px 12px 13px 13px;border-radius:18px;background:radial-gradient(135% 130% at 0 0,color-mix(in srgb,var(--color-brand-500) 14%,transparent),transparent 58%),var(--surface-card);border:1px solid color-mix(in srgb,var(--color-brand-500) 34%,var(--border-default));box-shadow:0 18px 44px rgba(0,0,0,.22),0 0 0 4px color-mix(in srgb,var(--color-brand-500) 8%,transparent);animation-name:sth-aitoast-in}.sth-toast.cs-ai-toast:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.42),transparent 44%);pointer-events:none}.sth-toast.cs-ai-toast .sth-toast-ic{position:relative;width:42px;height:42px;border-radius:14px;background:linear-gradient(140deg,var(--color-brand-500),var(--color-brand-700));color:#fff;box-shadow:0 8px 16px color-mix(in srgb,var(--color-brand-700) 46%,transparent)}.sth-toast.cs-ai-toast .sth-toast-spark{display:inline-flex;animation:sth-aitoast-spark 1.9s ease-in-out infinite}.sth-toast.cs-ai-toast .sth-toast-spark svg{width:20px;height:20px}.sth-toast.cs-ai-toast .sth-toast-dot{position:absolute;top:-3px;right:-3px;width:14px;height:14px;border-radius:50%;background:#B2E92E;border:2.5px solid var(--surface-card);animation:sth-aitoast-limepulse 1.9s ease-out infinite}.sth-toast.cs-ai-toast .sth-toast-body{position:relative;padding-top:0;display:flex;flex-direction:column;gap:2px}.sth-toast.cs-ai-toast .sth-toast-title{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:800;letter-spacing:0;color:var(--text-primary)}.sth-toast.cs-ai-toast .sth-toast-live{font-family:var(--font-mono);font-size:9px;font-weight:700;letter-spacing:.07em;color:var(--color-brand-700);background:var(--accent-subtle);padding:2px 6px;border-radius:99px}html.dark .sth-toast.cs-ai-toast .sth-toast-live{color:var(--color-brand-400)}.sth-toast.cs-ai-toast .sth-toast-desc{margin-top:0;font-size:11.5px;color:var(--text-secondary);line-height:1.34}.sth-toast.cs-ai-toast .sth-toast-x{position:relative;align-self:flex-start;width:24px;height:24px;margin:0;color:var(--text-muted)}.sth-toast.cs-ai-toast .sth-toast-bar{height:3px;background:linear-gradient(90deg,#B2E92E,var(--color-brand-500));opacity:1}.sth-toast.cs-ai-toast[data-cs-ai-state=off]{background:radial-gradient(135% 130% at 0 0,color-mix(in srgb,var(--text-tertiary) 10%,transparent),transparent 58%),var(--surface-card);border-color:color-mix(in srgb,var(--color-brand-500) 22%,var(--border-default));box-shadow:0 18px 44px rgba(0,0,0,.18),0 0 0 4px color-mix(in srgb,var(--text-tertiary) 7%,transparent)}.sth-toast.cs-ai-toast[data-cs-ai-state=off] .sth-toast-ic{background:linear-gradient(140deg,var(--color-brand-600),color-mix(in srgb,var(--text-secondary) 70%,var(--color-brand-700)));box-shadow:0 8px 16px color-mix(in srgb,var(--text-secondary) 32%,transparent)}.sth-toast.cs-ai-toast[data-cs-ai-state=off] .sth-toast-dot{background:var(--text-tertiary);animation:none;box-shadow:none}.sth-toast.cs-ai-toast[data-cs-ai-state=off] .sth-toast-live{color:var(--text-secondary);background:var(--surface-sunken)}.sth-toast.cs-ai-toast[data-cs-ai-state=off] .sth-toast-bar{background:linear-gradient(90deg,var(--text-tertiary),var(--color-brand-500))}@media (max-width:640px){.sth-toast:not(.cs-ai-toast)[data-has-description=false]{width:max-content;max-width:calc(100vw - 32px);align-items:center;gap:0;padding:10px 18px;border:none;border-radius:99px;background:var(--text-primary);color:var(--surface-card);box-shadow:0 10px 24px rgba(0,0,0,.28)}.sth-toast:not(.cs-ai-toast)[data-has-description=false] .sth-toast-bar,.sth-toast:not(.cs-ai-toast)[data-has-description=false] .sth-toast-ic,.sth-toast:not(.cs-ai-toast)[data-has-description=false] .sth-toast-x{display:none}.sth-toast:not(.cs-ai-toast)[data-has-description=false] .sth-toast-body{padding-top:0}.sth-toast:not(.cs-ai-toast)[data-has-description=false] .sth-toast-title{font-size:12.5px;font-weight:600;color:var(--surface-card);line-height:1.35;white-space:nowrap}.sth-toast.cs-ai-toast{width:min(330px,calc(100vw - 26px));padding:11px 11px 12px 12px}}@keyframes sth-aitoast-in{0%{opacity:0;transform:translateY(14px) scale(.95)}to{opacity:1;transform:none}}@keyframes sth-aitoast-spark{0%,to{transform:scale(1) rotate(0)}50%{transform:scale(1.16) rotate(9deg)}}@keyframes sth-aitoast-limepulse{0%{box-shadow:0 0 0 0 rgba(178,233,46,.55)}70%{box-shadow:0 0 0 7px rgba(178,233,46,0)}to{box-shadow:0 0 0 0 rgba(178,233,46,0)}}@media (prefers-reduced-motion:reduce){.sth-toast,.sth-toast.leaving{animation-duration:1ms}.sth-toast-bar{display:none}}