/* Project-wide field contract: one 1px edge; focus changes its colour only.
   Important declarations override legacy page-local rings and inline borders. */
html body :is(textarea,select,input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image])) {
 border-width:1px!important;
 border-style:solid!important;
 outline:0!important;
 outline-offset:0!important;
 box-shadow:none!important;
}
html body :is(textarea,select,input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image])):focus {
 border-color:#0066cc!important;
}
/* Composite controls own their edge on the container, never both layers. */
html body :is(.iti,.aw-composer,.aw-subwrap,.slug-wrap) {
 border-width:1px!important;
 border-style:solid!important;
 outline:0!important;
 box-shadow:none!important;
}
html body :is(.iti,.aw-composer,.aw-subwrap,.slug-wrap):focus-within {
 border-color:#0066cc!important;
 outline:0!important;
 box-shadow:none!important;
}
html body :is(.iti,.aw-composer,.aw-subwrap,.slug-wrap) :is(textarea,select,input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image])) {
 border:0!important;
 outline:0!important;
 box-shadow:none!important;
}
@media(forced-colors:active) {
 html body :is(textarea,select,input):focus,
 html body :is(.iti,.aw-composer,.aw-subwrap,.slug-wrap):focus-within {
  border-color:Highlight!important;
 }
}
