/* Horizontal, image-led shoot-day rail. Scoped to the existing TE55Y section. */
#mobile-system.shoot-day {
  display: block;
  min-height: 0;
  height: auto;
  padding: clamp(42px, 5vw, 78px) 0 56px;
  overflow: clip;
  background: #fafaf7;
}

#production-reference.shoot-day-absorbed {
  display: none !important;
}

#mobile-system.shoot-day > .te-explorer-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .82fr);
  gap: 10px 8%;
  max-width: 1440px;
  margin: 0 auto 32px;
  padding: 0 4%;
}

#mobile-system.shoot-day > .te-explorer-copy > .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

#mobile-system.shoot-day > .te-explorer-copy > h2 {
  grid-column: 1;
  grid-row: 2 / span 3;
  align-self: start;
  margin: 16px 0 0;
}

#mobile-system.shoot-day > .te-explorer-copy > p:not(.eyebrow) {
  grid-column: 2;
  margin: 12px 0 0;
  max-width: 480px;
}

#mobile-system.shoot-day > .te-explorer-copy > .te-detail {
  grid-column: 2;
  min-height: 0;
  margin: 12px 0 0;
  padding-top: 16px;
}

#mobile-system.shoot-day > .te-explorer-copy > .te-concept-note {
  grid-column: 2;
  margin: 0;
}

#mobile-system.shoot-day > .shoot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  isolation: isolate;
  background: #f3f2ee;
  transition: aspect-ratio 240ms ease;
}

#mobile-system.shoot-day .shoot-rail {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
}

#mobile-system.shoot-day .shoot-rail::-webkit-scrollbar,
#mobile-system.shoot-day .shoot-stops::-webkit-scrollbar {
  display: none;
}

#mobile-system.shoot-day .shoot-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

#mobile-system.shoot-day .shoot-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f3f2ee;
}

#mobile-system.shoot-day .shoot-stage > .te-explorer-visual {
  position: absolute !important;
  z-index: 3;
  inset: auto 3% 4% auto !important;
  width: clamp(205px, 23vw, 350px);
  max-width: 36%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #fff9;
  border-radius: 4px;
  background: rgba(250, 250, 247, .88);
  box-shadow: 0 8px 30px #0002;
  pointer-events: none;
  transition: width 220ms ease, background-color 220ms ease;
}

#mobile-system.shoot-day .te-drawing {
  height: clamp(125px, 17vw, 238px) !important;
  min-height: 0 !important;
  touch-action: pan-y;
}

#mobile-system.shoot-day .te-drawing > svg,
#mobile-system.shoot-day .te-drawing > canvas {
  width: 100% !important;
  height: 100% !important;
}

#mobile-system.shoot-day .te-explorer-toolbar,
#mobile-system.shoot-day .te-configurations,
#mobile-system.shoot-day .te-drag-hint,
#mobile-system.shoot-day .te-zoom {
  display: none !important;
}

#mobile-system.shoot-day .shoot-diagram-toggle {
  display: block;
  width: 100%;
  padding: 7px 5px;
  border: 0;
  background: transparent;
  color: #333;
  font: 11px Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
}

#mobile-system.shoot-day .shoot-diagram-state {
  display: block;
  padding: 0 5px 4px;
  color: #6d7368;
  font: 9px/1.4 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive {
  width: min(39vw, 540px);
  max-width: 54%;
  background: #fafaf7;
  pointer-events: auto;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-explorer-toolbar,
#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-configurations {
  display: flex !important;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-drag-hint {
  display: block !important;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-zoom {
  display: flex !important;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-drawing {
  height: clamp(200px, 26vw, 340px) !important;
}

#mobile-system.shoot-day .te-explorer-toolbar {
  align-items: center;
  gap: 7px;
  padding-bottom: 7px;
}

#mobile-system.shoot-day .te-explorer-toolbar > div {
  display: flex;
  gap: 4px;
}

#mobile-system.shoot-day .te-explorer-toolbar button,
#mobile-system.shoot-day .te-configurations button {
  padding: 6px 8px;
  font-size: 10px;
}

#mobile-system.shoot-day .te-configurations {
  justify-content: flex-start;
  gap: 5px;
  padding-top: 5px;
}

#mobile-system.shoot-day .shoot-caption {
  display: flex;
  max-width: 1440px;
  min-height: 144px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 24px 4%;
}

#mobile-system.shoot-day .shoot-caption-copy {
  min-width: 0;
}

#mobile-system.shoot-day .shoot-caption .eyebrow {
  margin: 0 0 10px;
  color: #6d7368;
  font-size: 10px;
  letter-spacing: .16em;
}

#mobile-system.shoot-day .shoot-caption h3 {
  margin: 0 0 9px;
  font-size: clamp(23px, 2.5vw, 37px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.035em;
}

#mobile-system.shoot-day .shoot-caption p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: #6d7368;
  font-size: 14px;
  line-height: 1.6;
}

#mobile-system.shoot-day .shoot-arrows {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

#mobile-system.shoot-day .shoot-arrows [data-shot-count] {
  min-width: 46px;
  margin-right: 8px;
  font-size: 12px;
  text-align: center;
}

#mobile-system.shoot-day .shoot-arrows button {
  width: 42px;
  height: 42px;
  border: 1px solid #c9ccc4;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 19px;
  cursor: pointer;
}

#mobile-system.shoot-day .shoot-stops {
  display: flex;
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 4%;
  overflow-x: auto;
  scrollbar-width: none;
}

#mobile-system.shoot-day .shoot-stops button {
  flex: 1 0 105px;
  min-width: 0;
  padding: 14px 8px 8px;
  border: 0;
  border-top: 2px solid transparent;
  background: none;
  color: #777d71;
  text-align: left;
  cursor: pointer;
}

#mobile-system.shoot-day .shoot-stops button[aria-current="true"] {
  border-top-color: #292c28;
  color: #292c28;
}

#mobile-system.shoot-day .shoot-stops small {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  letter-spacing: .06em;
}

#mobile-system.shoot-day .shoot-stops span {
  font-size: 11px;
}

#mobile-system.shoot-day .shoot-day-note {
  max-width: 1330px;
  margin: 14px auto 0;
  padding: 0 4%;
  color: #868b81;
  font-size: 10px;
  line-height: 1.5;
}

#mobile-system.shoot-day .te-model-credits,
#mobile-system.shoot-day .te-reference-row {
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

#mobile-system.shoot-day button:focus-visible,
#mobile-system.shoot-day .shoot-rail:focus-visible {
  outline: 2px solid #737d6b;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  #mobile-system.shoot-day {
    padding-top: 42px;
  }

  #mobile-system.shoot-day > .te-explorer-copy {
    display: block;
    padding: 0 5%;
    margin-bottom: 24px;
  }

  #mobile-system.shoot-day > .te-explorer-copy > h2 {
    margin: 18px 0;
  }

  #mobile-system.shoot-day > .te-explorer-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.6;
  }

  #mobile-system.shoot-day > .te-explorer-copy > .te-detail {
    margin-top: 18px;
    padding-top: 15px;
  }

  #mobile-system.shoot-day > .shoot-stage > .te-explorer-visual {
    right: 2% !important;
    bottom: 3% !important;
    width: 30%;
    max-width: 42%;
    padding: 4px;
  }

  #mobile-system.shoot-day .te-drawing {
    height: clamp(82px, 20vw, 122px) !important;
  }

  #mobile-system.shoot-day .shoot-diagram-toggle {
    padding: 4px 3px;
    font-size: 8px;
  }

  #mobile-system.shoot-day .shoot-diagram-state {
    padding: 0 3px 2px;
    font-size: 7px;
  }

  #mobile-system.shoot-day .te-explorer-visual.is-interactive {
    width: 64%;
    max-width: 70%;
  }

  #mobile-system.shoot-day .te-explorer-visual.is-interactive .te-drawing {
    height: 180px !important;
  }

  #mobile-system.shoot-day .shoot-caption {
    min-height: 0;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 5%;
  }

  #mobile-system.shoot-day .shoot-caption p:not(.eyebrow) {
    font-size: 12px;
  }

  #mobile-system.shoot-day .shoot-arrows {
    width: 80px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
  }

  #mobile-system.shoot-day .shoot-arrows [data-shot-count] {
    width: 100%;
    margin: 0 0 3px;
  }

  #mobile-system.shoot-day .shoot-arrows button {
    width: 32px;
    height: 32px;
  }

  #mobile-system.shoot-day .shoot-stops {
    margin: 0 5%;
    padding: 0;
  }

  #mobile-system.shoot-day .shoot-stops button {
    flex: 0 0 100px;
  }

  #mobile-system.shoot-day .shoot-day-note {
    padding: 0 5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mobile-system.shoot-day > .shoot-stage {
    transition: none;
  }
}

/* One bounded scroll sequence drives the existing horizontal rail. */
#mobile-system.shoot-day {
  overflow: visible;
}

#mobile-system.shoot-day > .shoot-scroll-track {
  position: relative;
  width: 100%;
  overflow: visible;
  overflow-anchor: none;
}

#mobile-system.shoot-day .shoot-scroll-view {
  position: sticky;
  top: var(--shoot-top-offset, var(--site-header-height, 74px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  width: 100%;
  height: calc(100svh - var(--shoot-top-offset, var(--site-header-height, 74px)));
  min-height: 520px;
  box-sizing: border-box;
  padding-bottom: 12px;
  background: #fafaf7;
}

#mobile-system.shoot-day .shoot-scroll-view > .shoot-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto !important;
}

#mobile-system.shoot-day .shoot-stage > .te-explorer-visual {
  top: auto !important;
  right: 2.5% !important;
  bottom: 2.5% !important;
  left: auto !important;
  width: clamp(145px, 14vw, 230px);
  max-width: 24%;
  padding: 4px;
  background: rgba(250, 250, 247, .12);
  box-shadow: none;
}

#mobile-system.shoot-day .te-drawing {
  height: clamp(70px, 8vw, 112px) !important;
}

#mobile-system.shoot-day .shoot-stage[data-shoot-scene="studio-shoot"] > .te-explorer-visual,
#mobile-system.shoot-day .shoot-stage[data-shoot-scene="boarding"] > .te-explorer-visual,
#mobile-system.shoot-day .shoot-stage[data-shoot-scene="travel-touchup"] > .te-explorer-visual,
#mobile-system.shoot-day .shoot-stage[data-shoot-scene="soho"] > .te-explorer-visual,
#mobile-system.shoot-day .shoot-stage[data-shoot-scene="return"] > .te-explorer-visual {
  top: 2.5% !important;
  right: auto !important;
  bottom: auto !important;
  left: 2.5% !important;
}

#mobile-system.shoot-day .shoot-stage[data-shoot-scene="touchup"] > .te-explorer-visual,
#mobile-system.shoot-day .shoot-stage[data-shoot-scene="library"] > .te-explorer-visual,
#mobile-system.shoot-day .shoot-stage[data-shoot-scene="park"] > .te-explorer-visual {
  top: 2.5% !important;
  bottom: auto !important;
}

#mobile-system.shoot-day .shoot-caption {
  min-height: 100px;
  padding-top: 12px;
  padding-bottom: 12px;
}

#mobile-system.shoot-day .shoot-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.25vw, 18px);
  width: min(100%, 1440px);
  height: 100%;
  box-sizing: border-box;
  margin: auto;
  padding: clamp(10px, 1.1vw, 16px) 4%;
}

#mobile-system.shoot-day .shoot-detail-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #363833;
  cursor: zoom-in;
  align-self: stretch;
  justify-self: stretch;
}

#mobile-system.shoot-day .shoot-detail-card img {
  object-fit: contain;
  background: transparent;
}

#mobile-system.shoot-day .shoot-detail-card span {
  padding-top: 5px;
  text-align: center;
  font: 10px/1.4 Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

#mobile-system.shoot-day .shoot-stage[data-shoot-scene="travel-touchup"] > .te-explorer-visual:not(.is-interactive) {
  width: auto;
  max-width: none;
  background: #fafaf7e6;
}

#mobile-system.shoot-day .shoot-stage[data-shoot-scene="travel-touchup"] > .te-explorer-visual:not(.is-interactive) > :not(.shoot-diagram-toggle) {
  display: none !important;
}

#mobile-system.shoot-day .shoot-photo-dialog {
  width: min(94vw, 1800px);
  max-width: none;
  max-height: 94vh;
  padding: 40px 12px 12px;
  border: 0;
  background: #181918;
  box-sizing: border-box;
}

#mobile-system.shoot-day .shoot-photo-dialog::backdrop { background: #111d; }
#mobile-system.shoot-day .shoot-photo-dialog img {
  display: block;
  width: 100%;
  max-height: calc(94vh - 52px);
  object-fit: contain;
}
#mobile-system.shoot-day .shoot-photo-close {
  position: absolute;
  top: 8px;
  right: 14px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: white;
  font: 12px Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 760px) {
  #mobile-system.shoot-day .shoot-detail-grid {
    gap: 10px;
    padding: 30px 4% 4px;
  }
  #mobile-system.shoot-day .shoot-detail-card span { font-size: 9px; }
}

#mobile-system.shoot-day .shoot-stops {
  min-height: 44px;
}

#mobile-system.shoot-day .shoot-day-note {
  margin-top: 4px;
}

#mobile-system.shoot-day .shoot-map-legend {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 6px 4px 2px;
  border-top: 1px solid #d5d8d0;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .shoot-map-legend {
  display: grid;
}

#mobile-system.shoot-day .shoot-map-legend button {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding: 5px 4px;
  border: 1px solid transparent;
  background: transparent;
  color: #343a33;
  font: 10px/1.2 Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

#mobile-system.shoot-day .shoot-map-legend button[aria-current="true"] {
  border-color: #aeb9a8;
  background: #eef1e9;
}

#mobile-system.shoot-day .shoot-map-legend button > span {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border: 1px solid #71806b;
  border-radius: 50%;
}

#mobile-system.shoot-day .shoot-map-description {
  grid-column: 1 / -1;
  margin: 2px 4px 0;
  color: #666d62;
  font: 10px/1.4 Arial, sans-serif;
}

@media (max-width: 760px) {
  #mobile-system.shoot-day .shoot-scroll-view {
    top: var(--shoot-top-offset, var(--site-header-height, 60px));
    height: calc(100svh - var(--shoot-top-offset, var(--site-header-height, 60px)));
    min-height: 500px;
    padding-bottom: 7px;
  }

  #mobile-system.shoot-day .shoot-stage > .te-explorer-visual {
    top: auto !important;
    right: 2% !important;
    bottom: 2% !important;
    left: auto !important;
    width: 24%;
    max-width: 31%;
    padding: 3px;
  }

  #mobile-system.shoot-day .te-drawing {
    height: clamp(66px, 16vw, 104px) !important;
  }

  #mobile-system.shoot-day .shoot-caption {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #mobile-system.shoot-day .shoot-map-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }

  #mobile-system.shoot-day .shoot-map-legend button {
    font-size: 9px;
  }

  #mobile-system.shoot-day .te-explorer-visual.is-interactive {
    width: 76%;
    max-width: 82%;
  }

  #mobile-system.shoot-day .te-explorer-visual.is-interactive .te-drawing {
    height: 150px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mobile-system.shoot-day .shoot-scroll-view {
    scroll-behavior: auto;
  }
}

/* The existing CAD viewer opens over vehicle scenes at a usable width. */
#mobile-system.shoot-day .shoot-stage > .te-explorer-visual[hidden] {
  display: none !important;
}

#mobile-system.shoot-day .shoot-stage > .te-explorer-visual:not(.is-interactive) {
  width: auto;
  max-width: none;
  padding: 3px 10px;
  background: rgba(250, 250, 247, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#mobile-system.shoot-day .te-explorer-visual:not(.is-interactive) > :not(.shoot-diagram-toggle) {
  display: none !important;
}

#mobile-system.shoot-day .shoot-stage > .te-explorer-visual.is-interactive {
  width: min(820px, 68vw);
  max-width: calc(100% - 32px);
  max-height: calc(100% - 24px);
  padding: 12px 16px;
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(250, 250, 247, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px #0002;
  transition: none;
}

#mobile-system.shoot-day .shoot-diagram-toggle {
  min-height: 36px;
  font-size: 12px;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-drawing {
  height: clamp(180px, 32vh, 390px) !important;
  margin-bottom: 44px;
  overflow: visible;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-zoom {
  bottom: -42px;
  right: 0;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-drag-hint {
  bottom: -29px;
  left: 0;
  max-width: calc(100% - 135px);
  font-size: 10px;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .te-configurations {
  flex-wrap: wrap;
}

#mobile-system.shoot-day .te-explorer-visual.is-interactive .shoot-map-legend button {
  min-height: 34px;
  font-size: 11px;
}

@media (max-width: 760px) {
  #mobile-system.shoot-day .shoot-stage > .te-explorer-visual.is-interactive {
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    width: auto;
    max-width: none;
    max-height: calc(100svh - var(--shoot-top-offset, 80px) - 24px);
    padding: 8px 12px;
  }

  #mobile-system.shoot-day .te-explorer-visual.is-interactive .te-drawing {
    height: clamp(160px, 26svh, 260px) !important;
  }
}

/* Clear directional controls and quiet numeric-style section dividers. */
#mobile-system.shoot-day .shoot-arrows button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:8px}
#mobile-system.shoot-day .shoot-arrows button svg{display:block;pointer-events:none}
#mobile-system.shoot-day .shoot-stops .shoot-stop-divider{align-self:center;flex:0 0 auto;padding:0 7px;font-size:12px;line-height:1;color:inherit;opacity:.5}
#mobile-studio .shoot-transition{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:grid;gap:0;min-width:44px;min-height:44px;place-content:center;text-align:center;color:inherit;text-decoration:none;font-size:14px;line-height:1.05;letter-spacing:.14em;z-index:3}
#mobile-studio .shoot-transition:focus-visible{outline:2px solid currentColor;outline-offset:4px}
