/* Minimum tap area. Several footer links and document buttons render
        16-17px tall, below the 24px WCAG 2.5.8 floor and far below a usable
        thumb target. Inline links inside running prose are intentionally
        excluded, since they are exempt and padding them breaks line rhythm. */
  a:not(p a):not(li a):not(small a):not(span a),
  button, [role="button"], summary,
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select {
    min-height: 44px !important;
  }
  /* Deliberately no display override here: forcing inline-flex on anchors
     turned block-level cards into inline items and broke a grid. min-height
     plus the existing padding is enough for the tap area. */
  input[type="checkbox"], input[type="radio"] {
    min-width: 22px !important; min-height: 22px !important;
  }
