:root{--font-sans:var(--font-aeonik), system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-mono:var(--font-geist-mono), ui-monospace, "SF Mono", Menlo, monospace;--weight-air:100;--weight-thin:200;--weight-light:300;--weight-regular:400;--weight-medium:500;--weight-bold:700;--weight-black:900;--weight-heading:500;--weight-body:400;--weight-label:500;--weight-strong:500}html.modal-locked{padding-right:var(--modal-scrollbar,0px);overflow:hidden}.modal-layer{z-index:1000;overscroll-behavior:contain;background:#0405089e;justify-content:center;align-items:center;padding:24px 16px;animation:.2s cubic-bezier(.16,1,.3,1) both modal-fade;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-layer.is-leaving{pointer-events:none;animation:.14s ease-in both modal-fade-out}:root[data-theme=light] .modal-layer{background:#0f111a52}.modal{--modal-bg:var(--bg-raised);--modal-pad:24px;--modal-radius:20px;--menufx-card:var(--modal-bg);width:min(var(--modal-w,480px),100%);border-radius:var(--modal-radius);background:var(--modal-bg);max-height:calc(100dvh - 48px);color:var(--text-primary);outline:none;flex-direction:column;margin:auto 0;animation:.2s cubic-bezier(.16,1,.3,1) both modal-in;display:flex;position:relative;box-shadow:0 0 0 1px #ffffff0d,0 2px 6px #00000040,0 28px 64px -16px #0009}.is-leaving>.modal{animation:.14s ease-in both modal-out}:root[data-theme=light] .modal{--modal-bg:var(--color-white);box-shadow:0 0 0 1px #0f111a0f,0 2px 6px #0f111a0d,0 28px 64px -16px #0f111a38}.modal__head{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:18px 16px 14px 24px;display:flex}.modal__heading{align-items:center;gap:10px;min-width:0;display:flex}.modal__icon{width:20px;height:20px;color:var(--text-tertiary);flex-shrink:0;place-items:center;display:grid}.modal__icon svg{width:18px;height:18px}.modal__title{color:var(--text-primary);font-size:18px;line-height:24px;font-weight:var(--weight-medium);letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.modal__close{width:32px;height:32px;color:var(--text-tertiary);cursor:pointer;border-radius:50%;flex-shrink:0;place-items:center;transition:background .12s,color .12s;display:grid}.modal__close svg{width:18px;height:18px}.modal__close:hover,.modal__close:focus-visible{background:var(--bg-hover);color:var(--text-primary)}.modal__body{min-height:0;padding:2px var(--modal-pad) var(--modal-pad);overscroll-behavior:contain;display:grid;overflow-y:auto}@keyframes modal-fade{0%{opacity:0}}@keyframes modal-fade-out{to{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(6px)scale(.98)}}@keyframes modal-out{to{opacity:0;transform:translateY(4px)scale(.985)}}@media (max-width:760px){.modal-layer{align-items:flex-end;padding:0}.modal{width:100%;max-height:calc(100dvh - 40px);padding-bottom:env(safe-area-inset-bottom);border-radius:20px 20px 0 0;margin:0;animation:.26s cubic-bezier(.16,1,.3,1) both modal-sheet-in}.is-leaving>.modal{animation:.18s ease-in both modal-sheet-out}.modal__head{padding:16px 12px 12px 20px}.modal{--modal-pad:20px}.modal__body{padding:0 var(--modal-pad) var(--modal-pad)}}@keyframes modal-sheet-in{0%{transform:translateY(100%)}}@keyframes modal-sheet-out{to{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.modal-layer,.modal,.modal-layer.is-leaving,.is-leaving>.modal{animation-duration:1ms}}
