/* Native overflow regions remain keyboard-visible across product themes. */
.yw-scroll-region:focus-visible {
    outline: 0.25rem solid var(--accent-ink, #0b5cab) !important;
    outline-offset: -0.25rem;
}

/* Explanatory links must remain identifiable without relying on colour. */
.page-description a { text-decoration: underline; text-underline-offset: .15em; }

/* Anything you can click shows the pointing hand. JWt attaches click listeners as JS
   properties, never onclick attributes, so CSS cannot see "has a handler": this covers the
   clickable element types and the JWt/Bootstrap classes that carry them. Zero specificity
   (:where) so any deliberate cursor (Bootstrap's active tab, grab, wait, text) still wins.
   For a clickable <div>/<span> this misses, add the `pointer` class or `data-clickable`. */
:where(
  button, summary, select, a[href], area[href], label[for],
  [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="option"],
  [role="switch"], [role="checkbox"], [role="radio"],
  input:is([type="button"], [type="submit"], [type="reset"], [type="checkbox"], [type="radio"],
    [type="file"], [type="range"], [type="color"], [type="image"]),
  label:has(input:is([type="checkbox"], [type="radio"], [type="file"])),
  .btn, .btn-link, .Wt-header .Wt-tv-c:has(.Wt-tv-sh), .Wt-tv-sh, .Wt-tv-rh,
  [data-clickable]
) {
  cursor: pointer;
}
/* Switched off: say so rather than invite a click that does nothing. */
:where(button, select, input, .btn, [role="button"], [role="tab"], [role="option"]):where(
  :disabled, [aria-disabled="true"], .disabled) {
  cursor: not-allowed;
}
