/* Cultivera V1.45 Batch 9: release QA and accessibility corrections.
   Scoped corrections only. Page composition and canonical project cascades remain unchanged. */

.page-advisory .concept-video-toggle,
.page-farms .route-playback button {
  min-height: 44px;
}

body.page-mavh .source-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 10px;
  touch-action: manipulation;
}

@media (max-width: 1180px) {
  body.page-mavh .corridor-mobile-progress__nodes {
    gap: 2px;
  }
}

.mavh-floriculture-page .source-note summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 8px;
  touch-action: manipulation;
}

.solar-investment-page .lab-controls input[type="range"] {
  min-height: 44px;
  margin: 0;
  cursor: pointer;
  touch-action: manipulation;
}

 body.theme-sgc .sgc-atlas__tabs button,
 body.theme-sgc .sgc-gates__reset {
  min-height: 44px;
  touch-action: manipulation;
}

 body.theme-sgc .sgc-gates__reset {
  display: inline-flex;
  align-items: center;
  padding-block: 8px;
}

@media (max-width: 640px) {
  body.page-field-systems .field-systems-experience .map-marker {
    pointer-events: none;
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-advisory .concept-video-toggle,
  .page-farms .route-playback button,
  body.page-mavh .source-trigger,
  .mavh-floriculture-page .source-note summary,
   body.theme-sgc .sgc-atlas__tabs button,
   body.theme-sgc .sgc-gates__reset {
    transition-duration: 0.01ms !important;
  }
}

/* RC hotfix 1: keep Field Systems action underlines inside the authored control box. */
body.page-field-systems .field-systems-experience :is(
  .tour-nav,
  .browse-toggle,
  .selected-project-link,
  .field-closing-link,
  .btn.text-link
) {
  position: relative;
  border-bottom: 0;
  text-decoration: none;
}

body.page-field-systems .field-systems-experience :is(.tour-nav, .browse-toggle)::after,
body.page-field-systems .field-systems-experience :is(.selected-project-link, .field-closing-link, .btn.text-link)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  width: auto;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

body.page-field-systems .field-systems-experience :is(.tour-nav, .browse-toggle)::after {
  opacity: 0;
  transform: scaleX(.72);
  transition: opacity 180ms ease, transform 180ms ease;
}

body.page-field-systems .field-systems-experience :is(.tour-nav, .browse-toggle):is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: scaleX(1);
}

body.page-field-systems .field-systems-experience :is(.selected-project-link, .field-closing-link)::after {
  opacity: .55;
  transform: scaleX(1);
}

body.page-field-systems .field-systems-experience .btn.text-link::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.page-field-systems .field-systems-experience :is(.tour-nav, .browse-toggle)::after {
    transition: none;
  }
}
