/* Site-wide link feedback. Keep focus outlines and structural borders intact. */
html body :is(a[href],button,summary,[role="button"],[role="tab"],label[for],input[type="submit"],input[type="button"]),
html body :is(a[href],button,summary,[role="button"],[role="tab"]) *{
 text-decoration:none!important;
}
/* Inline prose links need a transformable box; existing flex/grid rules win. */
:where(a[href]){display:inline-block}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 html body :is(a[href],button,summary,[role="button"],[role="tab"],label[for],input[type="submit"],input[type="button"],input[type="checkbox"],input[type="radio"],select):not(:disabled):not([aria-disabled="true"]){
  transition:scale .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease!important;
 }
 html body :is(a[href],button,summary,[role="button"],[role="tab"],label[for],input[type="submit"],input[type="button"],input[type="checkbox"],input[type="radio"],select):not(:disabled):not([aria-disabled="true"]):hover{
  scale:1.025;
  translate:none!important;
 }
 /* Do not magnify both a clickable parent and its nested control. */
 html body :is(a[href],button,summary,label[for]):hover :is(button,input,select,[role="button"]):hover{scale:1}
 html body details:has(>summary:hover){translate:none!important}
}
@media(prefers-reduced-motion:reduce),(hover:none){
 html body :is(a[href],button,summary,[role="button"],[role="tab"],label[for],input,select){scale:none!important}
}
