@keyframes modalOverlayIn{0%{opacity:0}to{opacity:1}}@keyframes modalPanelIn{0%{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes modalSheetIn{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(6px);background:#04060ab8;justify-content:center;align-items:center;padding:1.25rem;animation:.18s both modalOverlayIn;display:flex;position:fixed;inset:0;overflow:hidden}.modal{color:#fff;-webkit-backdrop-filter:blur(28px);background:#16161ef5;border:1px solid #ffffff1a;border-radius:1.25rem;flex-direction:column;width:100%;max-height:90dvh;animation:.2s cubic-bezier(.22,1,.36,1) both modalPanelIn;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #000000a6,0 0 0 1px #ffffff0a}.modal:focus{outline:none}.modal--small{max-width:26rem}.modal--medium{max-width:38rem}.modal--large{max-width:58rem}.modal__header{border-bottom:1px solid #ffffff12;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.15rem 1.25rem 1rem 1.5rem;display:flex}.modal__header--bare{z-index:2;pointer-events:none;border-bottom:0;padding:.9rem 1rem;position:absolute;top:0;left:0;right:0}.modal__header--bare .modal__close{pointer-events:auto}.modal__heading{min-width:0}.modal__title{letter-spacing:.01em;color:#fffffff0;margin:0;font-size:1.05rem;font-weight:600;line-height:1.35}.modal__description{color:#ffffff80;margin:.3rem 0 0;font-size:.85rem;line-height:1.5}.modal__close{color:#fff9;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:color .16s,background .16s,border-color .16s;display:inline-flex}.modal__close svg{width:15px;height:15px}.modal__close:hover{color:#fff;background:#ffffff1f;border-color:#ffffff38}.modal__close:focus-visible{outline-offset:2px;outline:2px solid #d8c39ad9}.modal__close:active{transform:scale(.94)}.modal__body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff1f transparent;flex:1;min-height:0;padding:1.5rem;overflow-y:auto}.modal__body::-webkit-scrollbar{width:4px}.modal__body::-webkit-scrollbar-track{background:0 0}.modal__body::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:2px}.modal__footer{border-top:1px solid #ffffff12;flex-shrink:0;padding:1rem 1.5rem 1.25rem}.modal__actions{justify-content:flex-end;gap:.75rem;display:flex}.modal__actions .btn{border-radius:200px;min-width:130px;padding:.8em 1.5em;font-weight:600}.modal__actions .btn-outline{color:#ffffffbf;background:0 0;border:1px solid #ffffff2e}.modal__actions .btn-outline:hover:not(:disabled){color:#fff;background:#ffffff14;border-color:#ffffff52}.modal__actions .btn:disabled{opacity:.6;cursor:not-allowed}@media (width<=480px){.modal__actions{flex-direction:column-reverse}.modal__actions .btn{width:100%}}.modal__drag-handle{display:none}@media (width<=600px){.modal-overlay{align-items:flex-end;padding:0}.modal{border-bottom:0;border-radius:1.25rem 1.25rem 0 0;width:100%;max-height:85dvh;animation:.32s cubic-bezier(.32,.72,0,1) both modalSheetIn;max-width:100%!important}.modal__drag-handle{touch-action:none;cursor:grab;background:#fff3;border-radius:2px;flex-shrink:0;width:40px;height:4px;margin:12px auto 2px;display:block;position:relative}.modal__drag-handle:before{content:"";position:absolute;inset:-14px -60px}.modal__header{padding:.5rem .85rem .85rem 1.1rem}.modal__header--bare{padding:.35rem .7rem}.modal__body{padding:1.1rem;padding-bottom:calc(1.1rem + env(safe-area-inset-bottom,0px))}.modal__footer{padding:.85rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom,0px))}.modal:has(.modal__footer) .modal__body{padding-bottom:1.1rem}}@media (prefers-reduced-motion:reduce){.modal-overlay,.modal{animation-duration:.01ms}}
