/* Keep feedback in the form's scroll container, including native dialogs. */
.form-error-summary,.form-error-repeat{grid-column:1/-1;box-sizing:border-box;max-width:100%;padding:12px 14px;border:1px solid #c88c83;border-left:4px solid #a1372b;border-radius:6px;background:#fff2ef;color:#812b23;font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:normal}
.form-error-summary{scroll-margin-top:24px}.form-error-summary:focus{outline:2px solid #a1372b;outline-offset:3px}.form-error-repeat{flex-basis:100%;margin:10px 0}.form-actions:has(.form-error-repeat){flex-wrap:wrap}
form,fieldset,form label,form .form-field,form .form-row,form .public-form-row{min-width:0;max-width:100%;box-sizing:border-box}
form input,form select,form textarea,form button{box-sizing:border-box;min-width:0;max-width:100%}form input[type=file]{width:100%}form textarea{resize:vertical}form label,form legend,form button,form a{overflow-wrap:anywhere}form button{white-space:normal}form [aria-invalid=true]{border-color:#a1372b}
dialog{box-sizing:border-box;min-width:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}dialog form,dialog>div{min-width:0;max-width:100%}
@media(max-width:600px){dialog,.public-dialog,.verification-dialog{width:calc(100% - 24px);max-width:calc(100vw - 24px);padding:28px 16px 20px;margin:auto}form .form-row,form .public-form-row,form.polished-form,.provider-application fieldset,.provider-signup-fields{grid-template-columns:minmax(0,1fr)}form input:not([type=checkbox]):not([type=radio]),form select,form textarea{width:100%;font-size:16px}form fieldset{min-inline-size:0}form legend{white-space:normal;max-width:100%}.settings-layout,.settings-body,.settings-panel,#content,main{min-width:0;max-width:100%}.contact-settings,.card.provider-application{padding:18px 12px}form .form-actions{flex-wrap:wrap}form .form-actions button{width:100%}}
