@media(max-width:1000px),(pointer:coarse){
 html:root body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=hidden]){font-size:16px;box-sizing:border-box;min-inline-size:0;max-inline-size:100%}
 html:root body :is(.gallery-form,.horse-form,.profile-form) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=hidden]){inline-size:100%;min-inline-size:0;max-inline-size:100%;font-size:16px}
 html:root body :is(.gallery-form,.horse-form,.profile-form) fieldset{min-inline-size:0;max-inline-size:100%;box-sizing:border-box}
 html:root body :is(.form-pair,.horse-fields,.profile-fields)>div{min-inline-size:0;max-inline-size:100%}
 html:root body :is(.gallery-form,.horse-form,.profile-form) legend{max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}
 html:root body :is(input[type=date],input[type=time],input[type=datetime-local]){appearance:none;-webkit-appearance:none;min-height:44px;text-align:left}
 html:root body :is(input[type=date],input[type=time],input[type=datetime-local])::-webkit-date-and-time-value{min-width:0;text-align:left}
 html:root body input[type=file]{overflow:hidden}html:root body input[type=file]::file-selector-button{max-inline-size:100%;white-space:normal}
}
