:root{--sn-z-modal-shell: 1000}.sn-modal-shell-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--sn-z-modal-shell);display:flex;align-items:center;justify-content:center;padding:16px;background:#0f172a61;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-sizing:border-box;animation:sn-modal-backdrop-in .18s ease-out both}@keyframes sn-modal-backdrop-in{0%{opacity:0}to{opacity:1}}.sn-modal-shell-panel{display:flex;flex-direction:column;width:100%;max-height:min(90vh,880px);border-radius:12px;overflow:hidden;background:var(--surface-card);border:1px solid color-mix(in srgb,var(--border-soft, rgba(15, 23, 42, .1)) 100%,transparent);box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0a;animation:sn-modal-panel-in .18s cubic-bezier(.22,1,.36,1) both}@keyframes sn-modal-panel-in{0%{opacity:0;transform:scale(.98) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}.sn-modal-shell-panel--sm{max-width:min(520px,100%)}.sn-modal-shell-panel--md{max-width:min(600px,100%)}.sn-modal-shell-panel--lg{max-width:min(720px,100%)}.sn-modal-shell-panel--xl{max-width:min(900px,100%)}.sn-modal-shell-header{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 20px 12px;border-bottom:1px solid var(--border-soft, var(--sn-border-soft));background:var(--surface-card)}.sn-modal-shell-header-text{min-width:0}.sn-modal-shell-title{margin:0 0 4px;font-size:1.0625rem;font-weight:600;letter-spacing:-.02em;color:var(--text-primary);line-height:1.3}.sn-modal-shell-subtitle{margin:0;font-size:.8125rem;color:var(--text-muted);line-height:1.45;max-width:52ch}.sn-modal-shell-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:-4px -6px 0 0;padding:0;border:none;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;transition:background .15s ease,color .15s ease}.sn-modal-shell-close:hover{background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:var(--text-primary)}.sn-modal-shell-close:focus-visible{outline:2px solid color-mix(in srgb,var(--primary) 45%,transparent);outline-offset:2px}.sn-modal-shell-body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 20px}.sn-modal-shell-body--flush{padding:0}.sn-modal-shell-footer{flex-shrink:0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:10px 20px 12px;border-top:1px solid var(--border-soft, var(--sn-border-soft));background:color-mix(in srgb,var(--surface-card) 92%,var(--surface-2))}@media (max-width: 480px){.sn-modal-shell-backdrop{padding:12px;align-items:flex-end}.sn-modal-shell-panel{max-height:min(92vh,900px);animation:sn-modal-panel-in-mobile .18s cubic-bezier(.22,1,.36,1) both}@keyframes sn-modal-panel-in-mobile{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.sn-modal-shell-footer{flex-direction:column-reverse;align-items:stretch}.sn-modal-shell-footer>*{width:100%;justify-content:center;min-height:44px}.sn-modal-shell-close{width:44px;height:44px}}.theme-dark .sn-modal-shell-footer,html.theme-dark .sn-modal-shell-footer{background:color-mix(in srgb,var(--surface-card) 88%,transparent)}
