.overlay.svelte-16egmh7.svelte-16egmh7{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem}.backdrop.svelte-16egmh7.svelte-16egmh7{position:absolute;top:0;right:0;bottom:0;left:0;background:#1a18148c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal.svelte-16egmh7.svelte-16egmh7{position:relative;z-index:1;width:100%;background:var(--surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);animation:svelte-16egmh7-pop .15s cubic-bezier(.34,1.56,.64,1);max-height:calc(100dvh - 2rem);display:flex;flex-direction:column}@keyframes svelte-16egmh7-pop{0%{transform:scale(.95);opacity:0}}.modal-header.svelte-16egmh7.svelte-16egmh7{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--border)}.modal-header.svelte-16egmh7 h3.svelte-16egmh7{font-size:1.1rem}.close-btn.svelte-16egmh7.svelte-16egmh7{background:none;border:none;color:var(--ink-3);padding:.3rem;border-radius:var(--radius-sm);transition:all var(--transition)}.close-btn.svelte-16egmh7.svelte-16egmh7:hover{background:var(--surface-2);color:var(--ink)}.modal-body.svelte-16egmh7.svelte-16egmh7{padding:1.5rem;overflow-y:auto;-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:0}.modal-header.svelte-16egmh7.svelte-16egmh7,.modal-footer.svelte-16egmh7.svelte-16egmh7{flex:0 0 auto}.modal-footer.svelte-16egmh7.svelte-16egmh7{padding:1rem 1.5rem;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap;padding-bottom:calc(1rem + env(safe-area-inset-bottom))}@media (max-width: 640px){.overlay.svelte-16egmh7.svelte-16egmh7{align-items:flex-end;padding:0}.modal.svelte-16egmh7.svelte-16egmh7{max-height:calc(100dvh - 1.5rem);border-radius:var(--radius-xl) var(--radius-xl) 0 0;max-width:none!important}.modal-header.svelte-16egmh7.svelte-16egmh7,.modal-body.svelte-16egmh7.svelte-16egmh7{padding:1rem 1.25rem}.modal-footer.svelte-16egmh7.svelte-16egmh7{padding:.75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom))}}
