/*
 * Optional action safety layer for method-disclosure.js.
 * Load AFTER the unchanged Pilot 38 design CSS. The .approach-body root and
 * original black method variant remain required; no light variant is supplied.
 * Rows without interactive detail descendants are unaffected.
 * No size, gap, surface, typography, transition or layout-height changes.
 */
.approach-body[data-interactive] [data-method-has-actions] > .method-details {
  position:relative;
  z-index:2;
  pointer-events:none;
}

/* The visible action must remain above the full-card toggle even during the
 * existing opacity fade. Closed details stay inert in the controller. */
.approach-body[data-interactive] [data-method-has-actions][data-open="true"] > .method-details :is(a, button, input, select, textarea, summary, [tabindex], [contenteditable="true"]) {
  pointer-events:auto;
}

/* A button may invoke the Practice's own inquiry adapter while retaining the
 * reference .action appearance. Its original gap, font size/weight, padding,
 * arrow and bottom border continue to come from the reference stylesheet. */
.approach-body .method-details button.action {
  -webkit-appearance:none;
  appearance:none;
  border-top:0;
  border-right:0;
  border-left:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font-family:inherit;
  line-height:inherit;
  text-align:left;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

/* Match the reference anchor's focus treatment; do not invent a new control. */
.approach-body .method-details button.action:focus-visible {
  outline:2px solid currentColor;
  outline-offset:7px;
}
