/* Step 282 — Scan action labels and soft, accessible idle attention.
   No scanner commands, bridge settings, or upload/save behavior changes. */
:is(#ssc-scan,#ld108-scan,#check-epson-scan,#title-scan-epson,#title-extra-scan-epson,
    #epson-direct-scan,#scan-from-expense-form,#ops-scan,.lotdesk-expense-scan-button,.ld122-scanner-btn) {
  position:relative;
  overflow:hidden;
  isolation:isolate;
  font-weight:850;
  letter-spacing:.045em;
}
:is(#ssc-scan,#ld108-scan,#check-epson-scan,#title-scan-epson,#title-extra-scan-epson,
    #epson-direct-scan,#scan-from-expense-form,#ops-scan,.lotdesk-expense-scan-button,.ld122-scanner-btn):not(:disabled):not([aria-busy="true"]):not(.is-scanning):not(.ld282-ready) {
  animation:ld282-scan-pulse 3s ease-in-out infinite!important;
}
/* The light travels across the button briefly, without covering the text or affecting clicks. */
:is(#ssc-scan,#ld108-scan,#check-epson-scan,#title-scan-epson,#title-extra-scan-epson,
    #epson-direct-scan,#scan-from-expense-form,#ops-scan,.lotdesk-expense-scan-button,.ld122-scanner-btn)::after {
  content:"";position:absolute;inset:0;width:35%;left:-48%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
  pointer-events:none;transform:skewX(-17deg);opacity:0;
}
:is(#ssc-scan,#ld108-scan,#check-epson-scan,#title-scan-epson,#title-extra-scan-epson,
    #epson-direct-scan,#scan-from-expense-form,#ops-scan,.lotdesk-expense-scan-button,.ld122-scanner-btn):not(:disabled):not([aria-busy="true"]):not(.is-scanning):not(.ld282-ready)::after {
  animation:ld282-scan-sheen 3s ease-in-out infinite;
}
@keyframes ld282-scan-pulse {
  0%,55%,100%{box-shadow:0 0 0 0 rgba(0,180,250,0),0 2px 8px rgba(0,90,160,.12);}
  25%{box-shadow:0 0 0 5px rgba(0,185,255,.16),0 0 21px rgba(0,180,255,.32);}
}
@keyframes ld282-scan-sheen {
  0%,10%{left:-48%;opacity:0;}
  18%{opacity:.5;}
  42%{left:115%;opacity:0;}
  100%{left:115%;opacity:0;}
}
@media (prefers-reduced-motion:reduce){
  :is(#ssc-scan,#ld108-scan,#check-epson-scan,#title-scan-epson,#title-extra-scan-epson,
    #epson-direct-scan,#scan-from-expense-form,#ops-scan,.lotdesk-expense-scan-button,.ld122-scanner-btn):not(:disabled):not([aria-busy="true"]):not(.is-scanning):not(.ld282-ready),
  :is(#ssc-scan,#ld108-scan,#check-epson-scan,#title-scan-epson,#title-extra-scan-epson,
    #epson-direct-scan,#scan-from-expense-form,#ops-scan,.lotdesk-expense-scan-button,.ld122-scanner-btn):not(:disabled):not([aria-busy="true"]):not(.is-scanning):not(.ld282-ready)::after {
    animation:none!important;
  }
}
