html[data-sa-writing] :is(nav.bottom-menu,nav.sa-purpose-nav,nav.mobile,#sa-social-site-footer,#saWebChatLauncher,.sa-guide-dock,.sa-module-invite,#portal-promo,.sw-notice,#sa-privacy:not(:focus-within)){visibility:hidden!important;pointer-events:none!important}
html[data-sa-writing] [data-sa-writing-dialog]{box-sizing:border-box;max-height:calc(var(--sa-writing-height) - 12px)!important;top:calc(var(--sa-writing-top) + 6px)!important;bottom:auto!important;margin-block:0!important;overflow-y:auto!important;min-height:0!important;overscroll-behavior-y:contain}
html[data-sa-writing] :is(input,textarea,[contenteditable=true]){scroll-margin-block:12px}

html[data-sa-writing]{scroll-padding-block:12px calc(var(--sa-writing-covered,0px) + 12px)}
html[data-sa-writing] body::after{content:"";display:block;height:var(--sa-writing-covered,0px);pointer-events:none}
html[data-sa-writing] textarea{max-block-size:calc(var(--sa-writing-height) - 3rem);overflow-y:auto}
@media(max-width:760px),(pointer:coarse){
 :where(form,[role=dialog]) :is(input:not([type=checkbox],[type=radio],[type=range],[type=hidden]),textarea,select){font-size:max(16px,1em);box-sizing:border-box;max-inline-size:100%;min-inline-size:0}
 :where(form) :is(button[type=submit],input[type=submit]){min-block-size:44px}
}

:where(form,fieldset,[role="dialog"]) {min-inline-size:0}
:where(form,fieldset) :where(label,legend){overflow-wrap:anywhere}
:where(form,fieldset) :where(input,textarea,select){box-sizing:border-box;max-inline-size:100%;min-inline-size:0}
:where(form) :where(input,textarea,select,button):focus-visible{outline:2px solid var(--sa-form-focus,#087b84);outline-offset:2px}
@media(min-width:761px){:where(form) textarea{resize:vertical}}
