.modalLayout{--modal-animation-time:.5s;--modal-panel-width:720px;--modal-close-gutter:calc(var(--control-44) + var(--spacing-16));--modal-drawer-width:380px;--modal-inline-padding:var(--spacing-64);z-index:var(--z-index-modal);padding:var(--spacing-20) var(--modal-inline-padding);-webkit-overflow-scrolling:touch;background-color:var(--backdrop);flex-direction:column;align-items:center;display:flex;position:fixed;inset:0;overflow-y:auto}.modalLayout[data-state=open]{animation:modal-fade-in var(--modal-animation-time) ease}.modalLayout[data-state=closed]{animation:modal-fade-out var(--modal-animation-time) ease forwards}.modalLayout__frame{width:100%;max-width:calc(var(--modal-panel-width) + var(--modal-close-gutter));flex-direction:column;max-height:85dvh;margin:auto 0;display:flex;position:relative}.modalLayout__frame[data-state=open]{animation:modal-slide-in-up var(--modal-animation-time) ease}.modalLayout__frame[data-state=closed]{animation:modal-slide-out-down var(--modal-animation-time) ease forwards}.modalLayout__container{gap:var(--spacing-20);width:calc(100% - var(--modal-close-gutter));min-height:0;padding:var(--spacing-24);overscroll-behavior:contain;color:var(--overlay-foreground);background-color:var(--overlay);border-radius:var(--radius-cards);border:none;flex-direction:column;flex:auto;display:flex;overflow-y:auto}.modalLayout--sm{--modal-panel-width:440px}.modalLayout--md{--modal-panel-width:720px}.modalLayout--lg{--modal-panel-width:940px}.modalLayout--full .modalLayout__frame{max-width:none}.modalLayout--fullscreen{padding:0}.modalLayout--fullscreen .modalLayout__frame{width:100%;max-width:none;min-height:100%;max-height:100%;margin:0}.modalLayout--fullscreen .modalLayout__container{background-color:var(--background);border-radius:0;width:100%;min-height:100%;max-height:100%}.modalLayout--drawer{align-items:flex-end;padding:0;overflow:hidden}.modalLayout--drawer .modalLayout__frame{width:var(--modal-drawer-width);max-width:100%;min-height:100%;max-height:100%;margin:0}.modalLayout--drawer .modalLayout__frame[data-state=open]{animation:modal-slide-in-right var(--modal-animation-time) ease}.modalLayout--drawer .modalLayout__frame[data-state=closed]{animation:modal-slide-out-right var(--modal-animation-time) ease forwards}.modalLayout--drawer .modalLayout__container{border-radius:var(--radius-cards) 0 0 var(--radius-cards);width:100%;min-height:100%;max-height:100%}.modalLayout__hiddenTitle{white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.modalLayout__closeBtn{z-index:2;position:absolute;top:0;right:0}.modalLayout--drawer .modalLayout__closeBtn,.modalLayout--fullscreen .modalLayout__closeBtn{top:var(--spacing-16);right:var(--spacing-16)}.modalLayout__handle{display:none}.modalLayout__header{font-family:var(--font-heading);font-size:var(--text-lead);font-weight:var(--font-weight-medium);flex-shrink:0}.modalLayout__body{overscroll-behavior:contain;flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow-y:auto}.modalLayout__footer{gap:var(--inline-gap-sm);flex-shrink:0;justify-content:flex-end;display:flex}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}@keyframes modal-slide-in-up{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}@keyframes modal-slide-out-down{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(40px)}}@keyframes modal-sheet-in{0%{transform:translateY(100%)}to{transform:translateY(var(--sheet-drag-y))}}@keyframes modal-sheet-out{0%{transform:translateY(var(--sheet-drag-y))}to{transform:translateY(100%)}}@keyframes modal-slide-in-right{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes modal-slide-out-right{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100%)}}@media (max-width:1280px){.modalLayout{--modal-inline-padding:var(--spacing-40)}}@media (max-width:992px){.modalLayout{--modal-inline-padding:var(--spacing-32)}}@media (max-width:640px){.modalLayout{align-items:flex-end;padding:0;overflow:hidden}.modalLayout__frame{--sheet-drag-y:0px;width:100%;max-width:none;max-height:calc(100dvh - var(--spacing-16));padding-bottom:env(safe-area-inset-bottom);background-color:var(--overlay);border-radius:var(--radius-cards) var(--radius-cards) 0 0;transform:translateY(var(--sheet-drag-y));transition:transform var(--dur-hover) var(--ease);margin:auto 0 0}.modalLayout__frame[data-state=open]:not([data-dragged]){animation:modal-sheet-in var(--modal-animation-time) ease}.modalLayout__frame[data-state=open][data-dragged]{animation:none}.modalLayout__frame[data-state=closed]{animation:modal-sheet-out var(--modal-animation-time) ease forwards}.modalLayout__frame[data-dragging]{transition:none}.modalLayout__container{background-color:#0000;border-radius:0;width:100%}.modalLayout__handle{width:96px;height:var(--control-44);touch-action:none;cursor:grab;border-radius:var(--radius-buttons);background:0 0;border:0;flex-shrink:0;align-self:center;place-items:center;padding:0;display:grid}.modalLayout__handle span{width:var(--spacing-40);height:var(--spacing-4);pointer-events:none;background:var(--foreground-subtle);border-radius:var(--radius-full)}.modalLayout__handle:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring);outline-offset:var(--focus-ring-offset)}.modalLayout__frame[data-dragging] .modalLayout__handle{cursor:grabbing}.modalLayout__closeBtn{display:none}.modalLayout--full .modalLayout__frame,.modalLayout--fullscreen .modalLayout__frame,.modalLayout--drawer .modalLayout__frame{background-color:#0000;border-radius:0;min-height:100%;max-height:100%;margin:0;padding-bottom:0;transition:none;transform:none}.modalLayout--full .modalLayout__container,.modalLayout--fullscreen .modalLayout__container,.modalLayout--drawer .modalLayout__container{min-height:100%;max-height:100%}.modalLayout--full .modalLayout__handle,.modalLayout--fullscreen .modalLayout__handle,.modalLayout--drawer .modalLayout__handle{display:none}.modalLayout--full .modalLayout__closeBtn,.modalLayout--fullscreen .modalLayout__closeBtn,.modalLayout--drawer .modalLayout__closeBtn{top:var(--spacing-24);right:var(--spacing-24);display:flex}.modalLayout--full .modalLayout__container,.modalLayout--fullscreen .modalLayout__container,.modalLayout--drawer .modalLayout__container{background-color:var(--background)}.modalLayout--drawer .modalLayout__frame[data-state=open]{animation:modal-slide-in-right var(--modal-animation-time) ease}.modalLayout--drawer .modalLayout__frame[data-state=closed]{animation:modal-slide-out-right var(--modal-animation-time) ease forwards}.modalLayout--fullscreen .modalLayout__frame[data-state=open],.modalLayout--full .modalLayout__frame[data-state=open]{animation:modal-slide-in-up var(--modal-animation-time) ease}.modalLayout--fullscreen .modalLayout__frame[data-state=closed],.modalLayout--full .modalLayout__frame[data-state=closed]{animation:modal-slide-out-down var(--modal-animation-time) ease forwards}}@media (prefers-reduced-motion:reduce){.modalLayout[data-state],.modalLayout__frame[data-state],.modalLayout--drawer .modalLayout__frame[data-state],.modalLayout--fullscreen .modalLayout__frame[data-state],.modalLayout--full .modalLayout__frame[data-state]{animation:none}.modalLayout__frame{transition:none}}
