.top-progress{z-index:300;pointer-events:none;opacity:0;height:3px;transition:opacity .25s;position:fixed;top:0;left:0;right:0}.top-progress.on{opacity:1}.top-progress>span{background:linear-gradient(90deg,#0000,#3fd1bd,#22488f);border-radius:0 3px 3px 0;width:38%;animation:1.6s cubic-bezier(.65,0,.35,1) infinite top-progress;position:absolute;top:0;bottom:0}@keyframes top-progress{0%{left:-40%}to{left:105%}}.btn[aria-busy=true]{pointer-events:none;opacity:.85;position:relative}.btn[aria-busy=true]:before{content:"";border:2px solid;border-right-color:#0000;border-radius:50%;flex:none;width:12px;height:12px;animation:.7s linear infinite spin}.btn[aria-busy=true]>svg:first-child{display:none}@keyframes spin{to{transform:rotate(360deg)}}.btn[data-done=true]{animation:.9s both btn-done}@keyframes btn-done{0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--status-ok) 60%, transparent)}to{box-shadow:0 0 0 8px #0000}}.toasts{z-index:200;flex-direction:column;gap:8px;max-width:min(440px,100vw - 32px);display:flex;position:fixed;bottom:20px;right:20px}.toast{background:var(--text-primary);color:#fff;min-width:260px;max-width:100%;box-shadow:var(--shadow-modal);border-radius:12px;align-items:flex-start;gap:10px;padding:11px 12px 12px 14px;font-size:13px;line-height:1.45;animation:.22s cubic-bezier(.2,.8,.3,1.2) both toast-in;display:flex;position:relative;overflow:hidden}.toast.leaving{animation:.18s ease-in both toast-out}.toast .toast-ic{background:#ffffff29;border-radius:50%;flex:none;justify-content:center;align-items:center;width:20px;height:20px;margin-top:-1px;display:inline-flex}.toast .toast-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.toast .toast-title{font-weight:600}.toast .toast-sub{opacity:.8;overflow-wrap:anywhere;font-size:12px}.toast .toast-act{color:inherit;background:#ffffff2e;border-radius:6px;flex:none;align-self:center;padding:3px 9px;font-size:12px;font-weight:600}.toast .toast-act:hover{background:#ffffff4d}.toast .toast-x{opacity:.7;color:inherit;flex:none;align-self:flex-start;padding:0 2px}.toast .toast-x:hover{opacity:1}.toast .toast-bar{background:#ffffff73;height:2px;animation:linear both toast-bar;position:absolute;bottom:0;left:0}.toast-ok{background:var(--status-ok)}.toast-error{background:var(--status-error)}.toast-warn{background:#b45309}.toast-info{background:var(--brand-900)}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)scale(.96)}to{opacity:1;transform:none}}@keyframes toast-out{to{opacity:0;transform:translate(16px)}}@keyframes toast-bar{0%{width:100%}to{width:0}}.dlg{gap:14px;max-width:480px;animation:.2s cubic-bezier(.2,.8,.3,1.15) both dlg-in}@keyframes dlg-in{0%{opacity:0;transform:translateY(8px)scale(.97)}to{opacity:1;transform:none}}.dlg-head{align-items:flex-start;gap:12px;display:flex}.dlg-ic{border-radius:10px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.dlg-ic.error{background:var(--status-error-bg,#fde8e8);color:var(--status-error)}.dlg-ic.warn{background:var(--status-warn-bg,#fdf2d6);color:var(--status-warn,#8a5a00)}.dlg-ic.info{background:var(--brand-50);color:var(--brand-700)}.dlg-ic.ok{background:var(--status-ok-bg,#e1f3e6);color:var(--status-ok)}.dlg h2{margin:0;font-size:16px;line-height:1.4}.dlg .dlg-msg{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.6}.dlg .dlg-meta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.dlg .dlg-chip{background:var(--bg-paper-deep,#efece5);color:var(--text-secondary);font-size:11px;font-family:var(--font-mono,ui-monospace, monospace);border-radius:999px;align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.dlg .dlg-chip button{color:inherit;opacity:.7;display:inline-flex}.dlg .dlg-chip button:hover{opacity:1}.dlg details{border:1px solid var(--border-subtle);border-radius:8px;padding:8px 10px}.dlg details summary{cursor:pointer;color:var(--text-secondary);font-size:12px}.dlg details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;color:var(--text-secondary);margin:8px 0 0;font-size:11px;line-height:1.5;overflow:auto}.dlg .actions{margin-top:2px}@media (prefers-reduced-motion:reduce){.toast,.toast.leaving,.dlg,.btn[data-done=true]{animation:none}.top-progress>span{animation-duration:3s}}@media (width<=640px){.toasts{max-width:none;bottom:12px;left:12px;right:12px}.toast{min-width:0}}
