/* European Salvage v7.20.58 — safe mobile presentation scrolling.
   Entire system is disabled on desktop, reduced-motion preferences and form mode. */
@media (max-width: 767px) {
  html.es-story-snap {
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--es-story-top, 0px);
    overscroll-behavior-y: auto;
  }
  html.es-story-snap body:not(.request-focus-mode) .es-story-panel:not([hidden]),
  html.es-story-snap body:not(.request-focus-mode) .es-story-card {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  html.es-story-snap body:not(.request-focus-mode) .es-story-panel:not([hidden]) {
    /* Complete viewport-sized panels only when content is short;
       longer panels grow naturally and remain fully readable. */
    min-height: calc(100svh - var(--es-story-top, 0px));
  }
  html.es-story-snap body:not(.request-focus-mode) .es-story-card {
    scroll-margin-top: var(--es-story-top, 0px);
  }
  html.es-story-snap body:not(.request-focus-mode) .services-section .service-card {
    min-height: clamp(400px, calc(100svh - var(--es-story-top, 0px) - 20px), 900px);
    scroll-snap-align: start;
  }
  html.es-story-snap body:not(.request-focus-mode) .es-story-marker {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    scroll-snap-align: start;
  }
  /* Do not force or shift emergency forms, security dialogs or expanded surveys. */
  html.es-story-snap:has(.service-modal.open),
  html.es-story-snap:has(.modal-open),
  html.es-story-snap:has(.prepurchase-section details[open]),
  html.es-story-snap:has(.prepurchase-section [aria-expanded="true"]),
  html.es-story-snap:has(:focus-visible:is(input, textarea, select, [contenteditable="true"])) {
    scroll-snap-type: none;
  }
  html.es-story-snap body.request-focus-mode,
  html.es-story-snap body.request-focus-mode .request-section,
  html.es-story-snap body.request-focus-mode .wizard-panel,
  html.es-story-snap body.request-focus-mode .help-form {scroll-snap-align: none; min-height: auto;}
}
@media (min-width:768px), (prefers-reduced-motion: reduce) {
  html.es-story-snap {scroll-snap-type: none !important;}
  .es-story-marker {display:none !important;}
}
