/* Shared native dialogs must remain scrollable within the available viewport. */
body.figma-ui dialog:not(.fg-modal){box-sizing:border-box;min-height:0;max-width:calc(100dvw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
body.figma-ui dialog:not(.fg-modal) :is(input,select,textarea){box-sizing:border-box;max-width:100%}
@media(max-height:800px){body.figma-ui dialog:not(.fg-modal){scroll-padding-block:12px}}
