.lm-modal-overlay{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0f172a8c;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:lm-fade-in .14s ease-out}.lm-modal-overlay[hidden]{display:none}.lm-modal-dialog{width:100%;max-width:28rem;background:var(--surface);color:var(--foreground);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-2xl);overflow:hidden;transform:translateY(8px) scale(.98);opacity:0;animation:lm-pop-in .16s cubic-bezier(.16,1,.3,1) forwards;font-family:var(--font-sans)}.lm-modal-dialog[hidden]{display:none}.lm-modal-dialog.lm-leaving{animation:lm-pop-out .12s ease-in forwards}.lm-modal-header{display:flex;align-items:flex-start;gap:.75rem;padding:1.25rem 1.25rem .5rem}.lm-modal-icon{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:var(--radius-md);flex-shrink:0;background:var(--brand-soft);color:var(--brand)}.lm-modal-icon.lm-icon-danger{background:var(--danger-soft);color:var(--danger)}.lm-modal-icon.lm-icon-warning{background:var(--gold-soft);color:var(--gold-strong)}.lm-modal-icon.lm-icon-info{background:var(--surface-muted);color:var(--foreground-muted)}.lm-modal-icon svg{width:20px;height:20px}.lm-modal-title{flex:1 1 auto;margin:0;padding-top:.125rem;font-size:1.0625rem;font-weight:700;line-height:1.3;letter-spacing:-.015em;color:var(--foreground)}.lm-modal-body{padding:.25rem 1.25rem 1rem;font-size:.9375rem;line-height:1.55;color:var(--foreground-muted);white-space:pre-wrap;word-wrap:break-word}.lm-modal-input-row{padding:0 1.25rem 1rem}.lm-modal-input-row[hidden]{display:none}.lm-modal-input{width:100%;height:2.5rem;padding:0 .75rem;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg);color:var(--foreground);font-size:.9375rem;font-family:var(--font-sans);transition:border-color .12s ease,box-shadow .12s ease}.lm-modal-input::placeholder{color:var(--foreground-subtle)}.lm-modal-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--ring-soft)}.lm-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:.75rem 1.25rem 1.25rem}.lm-btn{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;height:2.5rem;min-width:5rem;padding:0 1rem;border-radius:var(--radius-md);border:1px solid transparent;font-size:.875rem;font-weight:600;line-height:1;cursor:pointer;transition:background .12s ease,color .12s ease,border-color .12s ease,box-shadow .12s ease,transform 80ms ease;user-select:none}.lm-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring-soft)}.lm-btn:active{transform:translateY(1px)}.lm-btn svg{width:16px;height:16px}.lm-btn-primary{background:var(--gradient-button-primary);color:var(--foreground-on-brand);box-shadow:var(--shadow-brand)}.lm-btn-primary:hover{background:var(--gradient-button-primary-hover);box-shadow:var(--shadow-brand-hover)}.lm-btn-danger{background:var(--danger);color:#fff;box-shadow:0 4px 16px -2px #ef444440}.lm-btn-danger:hover{background:var(--danger-strong)}.lm-btn-ghost{background:var(--surface-muted);color:var(--foreground);border-color:var(--border)}.lm-btn-ghost:hover{background:var(--surface-hover);border-color:var(--border-strong)}.lm-toast-stack{position:fixed;top:1rem;right:1rem;z-index:210;display:flex;flex-direction:column;gap:.5rem;max-width:calc(100vw - 2rem);width:22rem;pointer-events:none}@media(max-width:640px){.lm-toast-stack{top:.75rem;right:.75rem;left:.75rem;width:auto}}.lm-toast{pointer-events:auto;display:flex;align-items:flex-start;gap:.625rem;padding:.75rem .875rem;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-lg);font-size:.875rem;line-height:1.4;transform:translate(120%);opacity:0;animation:lm-toast-in .2s cubic-bezier(.16,1,.3,1) forwards}.lm-toast.lm-leaving{animation:lm-toast-out .16s ease-in forwards}.lm-toast-icon{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;flex-shrink:0;margin-top:.0625rem}.lm-toast-icon svg{width:16px;height:16px}.lm-toast-body{flex:1 1 auto;word-wrap:break-word;white-space:pre-wrap}.lm-toast.lm-toast-success .lm-toast-icon{color:var(--brand)}.lm-toast.lm-toast-error .lm-toast-icon{color:var(--danger)}.lm-toast.lm-toast-info .lm-toast-icon{color:var(--foreground-muted)}.lm-toast-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:var(--radius-sm);border:0;background:transparent;color:var(--foreground-muted);cursor:pointer;transition:background .12s ease,color .12s ease}.lm-toast-close:hover{background:var(--surface-muted);color:var(--foreground)}.lm-toast-close svg{width:14px;height:14px}@keyframes lm-fade-in{0%{opacity:0}to{opacity:1}}@keyframes lm-pop-in{0%{transform:translateY(8px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes lm-pop-out{0%{transform:translateY(0) scale(1);opacity:1}to{transform:translateY(-4px) scale(.98);opacity:0}}@keyframes lm-toast-in{0%{transform:translate(120%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes lm-toast-out{0%{transform:translate(0);opacity:1}to{transform:translate(120%);opacity:0}}@media(prefers-reduced-motion:reduce){.lm-modal-overlay,.lm-modal-dialog,.lm-toast{animation-duration:1ms!important;transition-duration:1ms!important}}
