/* Shared accessibility and responsive quality repairs.
   Loaded last, intentionally scoped to existing application components. */
:where(.ss-commerce,.ss-journey,.ss-admin-focus,.admin-portal-main,.ss-app-shell) :where(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid #e6a13b;
  outline-offset: 3px;
}
:where(.ss-commerce,.ss-journey,.ss-admin-focus,.admin-portal-main) :where(button,.ss-commerce__action,.ss-journey__link,.ss-staff-filter) {
  touch-action: manipulation;
}
:where(.ss-commerce,.ss-journey,.ss-admin-focus,.admin-portal-main) :where(h1,h2,h3,p,code,small) {
  overflow-wrap: break-word;
}
.ss-commerce__notice,
.ss-journey__link,
.ss-admin-focus__grid > a {
  overflow-wrap:anywhere;
}
.ss-commerce :where(input[type="checkbox"],input[type="radio"]),
.admin-portal-main :where(input[type="checkbox"],input[type="radio"]) {
  min-width: 18px;
  min-height: 18px;
}
.ss-commerce [hidden],.ss-journey [hidden],.admin-portal-main [hidden] {display:none!important}
.ss-commerce__option:focus-within {border-color:var(--ss-commerce-accent,#2762e0);box-shadow:0 0 0 2px rgba(39,98,224,.16)}
.ss-commerce__option input:disabled {cursor:not-allowed}
.ss-commerce__form .ss-commerce__action[type="submit"] {cursor:pointer}
.ss-commerce__form :where(input,select,textarea):disabled {opacity:.65}
.ss-commerce__empty .ss-commerce__actions {justify-content:center}
.admin-portal-main .table-responsive {max-width:100%;overscroll-behavior-inline:contain}
.admin-portal-main .ss-table {width:100%;min-width:520px}
@media(max-width:599px) {
 .ss-commerce {width:min(100% - 1.25rem,1120px)}
 .ss-commerce__card {padding:1rem}
 .ss-commerce__grid,.ss-journey__grid,.ss-admin-focus__grid {grid-template-columns:minmax(0,1fr)}
 .ss-commerce__actions {align-items:stretch}
 .ss-commerce__actions .ss-commerce__action {flex:1 1 100%}
}
@media(prefers-reduced-motion:reduce) {
 :where(.ss-commerce,.ss-journey,.ss-admin-focus,.admin-portal-main) :where(*, *::before, *::after) {
   scroll-behavior:auto!important;
   animation-duration:.01ms!important;
   transition-duration:.01ms!important;
 }
}
