:root{--anchored-modal-duration:.52s;--anchored-modal-ease:cubic-bezier(.2, .8, .2, 1);--anchored-modal-shift:24px}.anchored-modal[data-state=open]{animation:anchored-modal-wipe-in var(--anchored-modal-duration) var(--anchored-modal-ease) backwards}.anchored-modal[data-state=closed]{animation:anchored-modal-wipe-out var(--anchored-modal-duration) var(--anchored-modal-ease) forwards}.anchored-modal[data-state=open]>*{animation:anchored-modal-slide-in var(--anchored-modal-duration) var(--anchored-modal-ease) backwards}.anchored-modal[data-state=closed]>*{animation:anchored-modal-slide-out var(--anchored-modal-duration) var(--anchored-modal-ease) forwards}.anchored-modal[data-side=below]{--wipe-from:inset(0 0 100% 0);--slide-from:translateY(calc(-1 * var(--anchored-modal-shift)))}.anchored-modal[data-side=above]{--wipe-from:inset(100% 0 0 0);--slide-from:translateY(var(--anchored-modal-shift))}.anchored-modal[data-side=right]{--wipe-from:inset(0 100% 0 0);--slide-from:translateX(calc(-1 * var(--anchored-modal-shift)))}.anchored-modal[data-side=left]{--wipe-from:inset(0 0 0 100%);--slide-from:translateX(var(--anchored-modal-shift))}.anchored-modal[data-side=below]>*{border-top-width:0}.anchored-modal[data-side=above]>*{border-bottom-width:0}.anchored-modal[data-side=right]>*{border-left-width:0}.anchored-modal[data-side=left]>*{border-right-width:0}@keyframes anchored-modal-wipe-in{0%{clip-path:var(--wipe-from)}to{clip-path:inset(0)}}@keyframes anchored-modal-wipe-out{0%{clip-path:inset(0)}to{clip-path:var(--wipe-from)}}@keyframes anchored-modal-slide-in{0%{transform:var(--slide-from)}to{transform:none}}@keyframes anchored-modal-slide-out{0%{transform:none}to{transform:var(--slide-from)}}.anchored-modal-dim[data-state=open]{animation:anchored-modal-fade-in var(--anchored-modal-duration) ease backwards}.anchored-modal-dim[data-state=closed]{animation:anchored-modal-fade-out var(--anchored-modal-duration) ease forwards}@keyframes anchored-modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes anchored-modal-fade-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.anchored-modal,.anchored-modal>*,.anchored-modal-dim{animation:none!important}}.modal-frame{container-type:inline-size}@container (width<=359px){.modal-frame [data-modal-footer]{flex-direction:column-reverse}.modal-frame [data-modal-footer]>*{flex:none;width:100%}}.centred-modal-pop[data-state=open]{animation:.26s backwards anchored-modal-fade-in}.centred-modal-pop[data-state=closed]{animation:.18s forwards anchored-modal-fade-out}.centred-modal-pop[data-state=open]>*{animation:.46s cubic-bezier(.34,1.4,.64,1) backwards centred-modal-pop-in}.centred-modal-pop[data-state=closed]>*{animation:.18s forwards centred-modal-pop-out}@keyframes centred-modal-pop-in{0%{transform:translateY(16px)scale(.94)}to{transform:none}}@keyframes centred-modal-pop-out{0%{transform:none}to{transform:translateY(8px)scale(.97)}}@media (prefers-reduced-motion:reduce){.centred-modal-pop,.centred-modal-pop>*{animation:none!important}}
