/* All figure controls remain out of the film frame, on a shared action rail. */
.ss-dual-opening .ss-cinema-gallery-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,25rem) minmax(0,8.333rem);
  grid-template-areas:"performance estimate gallery";
  align-items:start;
  gap:0 .5rem;
  margin-block-start:.35rem;
}
.ss-dual-opening .ss-cinema-gallery-row .ss-dual-diagnostics {
  grid-area:performance;
  min-width:0;
  margin:0;
}
.ss-dual-opening .ss-cinema-gallery-row .ss-dual-diagnostics summary {
  box-sizing:border-box;
  min-height:44px;
  inline-size:max-content;
  max-inline-size:100%;
  padding:.23rem 0 0;
}
.ss-dual-opening .ss-cinema-gallery-row .ss-estimate {
  grid-area:estimate;
  box-sizing:border-box;
  position:relative;
  inset:auto;
  width:100%;
  max-width:none;
  margin:0;
  z-index:auto;
}
.ss-dual-opening .ss-cinema-gallery-row .ss-cinema-gallery-link {
  grid-area:gallery;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0;
  padding:.4rem .45rem;
  border:1px solid #4b849d;
  border-radius:.55rem;
  background:#10283cf7;
  color:#d9f5ff;
  font-size:.75rem;
  font-weight:750;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
}
.ss-dual-opening .ss-cinema-gallery-row .ss-cinema-gallery-link:hover {
  background:#193c52;
  border-color:#92d4ea;
}
@media(min-width:761px){
  body.ss-home > main#top > #highveld.ss-dual-opening {padding-block-end:calc(var(--ss-section-gap-half) - 5px)}
  body.ss-home > main#top > #virtual-roof.ss-virtual-roof {padding-block-start:calc(var(--ss-section-gap-half) - 5px)}
}
@media(max-width:760px){
  .ss-dual-opening .ss-cinema-gallery-row {
    grid-template-columns:minmax(0,1fr) max-content;
    grid-template-areas:"estimate estimate" "performance gallery";
    row-gap:.3rem;
  }
  .ss-dual-opening .ss-cinema-gallery-row .ss-dual-diagnostics summary {
    padding:.45rem 0;
  }
}

/* Softer edging for the delivery imagery, with the keyboard outline intact. */
#delivery.delivery-premiere .delivery-fleet-inset {
  border:0;
  box-shadow:0 8px 22px #0006;
}
@media(max-width:760px){
  #delivery.delivery-premiere .delivery-fleet-inset {box-shadow:0 4px 12px #0004}
}
@media(min-width:681px){
  #delivery.delivery-premiere .delivery-film-play {
    border:0;
    box-shadow:0 9px 30px #0007;
  }
}

/* Shorter mobile contact dock: preserve safe-area accounting and hit targets. */
@media(max-width:760px){
  html {scroll-padding-bottom:calc(89px + env(safe-area-inset-bottom,0px))}
  body.ss-home {padding-bottom:calc(83px + env(safe-area-inset-bottom,0px))}
  #quote .ss-contact-bar {
    padding-block:5.6px calc(5.6px + env(safe-area-inset-bottom,0px));
  }
  #quote .ss-contact-tile {min-height:64.8px;padding-block:3.2px;gap:2px}
  #quote .ss-contact-icon {height:18px}
  #quote .ss-contact-tile svg {width:18px;height:18px}
}
@media(max-height:440px) and (max-width:760px){
  html {scroll-padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
  body.ss-home {padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  #quote .ss-contact-tile {min-height:59.7px;padding-block:2px}
  #quote .ss-contact-map .ss-contact-detail {display:none}
  #quote .ss-contact-icon {width:18px;height:17px}
  #quote .ss-contact-tile svg {width:17px;height:17px}
}

/* Retain the original groups, labels and focus states at smaller phone heights. */
@media(max-width:640px){
  #sheet-explorer .ss-sheet-floating {
    --ss-profile-height:29.75px;
    --ss-profile-reserve:48.75px;
    --ss-profile-live-top:57.75px;
  }
  #sheet-explorer .ss-sheet-floating .ss-sheet-stage {padding-block-start:var(--ss-profile-reserve)}
  #sheet-explorer .ss-sheet-floating .ss-sheet-live {top:var(--ss-profile-live-top)}
  #sheet-explorer .ss-sheet-floating .ss-sheet-profile-bar button {min-block-size:var(--ss-profile-height)}
  #sheet-explorer .ss-sheet-floating .ss-sheet-lower .ss-sheet-choice-bar button {min-height:30.6px}
  #sheet-explorer .ss-sheet-swatches {gap:5.6px;--chip-height:28.7px}
  #sheet-explorer .ss-sheet-swatches .ss-sheet-swatch,
  #sheet-explorer .ss-sheet-swatches .ss-sheet-swatch[aria-pressed=true] {
    grid-template-rows:var(--chip-height) 2.2em;
    row-gap:2.8px;
    block-size:calc(var(--chip-height) + 2.2em + 2.8px);
  }
  #sheet-explorer .ss-sheet-quick-ready:not(.ss-sheet-show-all) .ss-sheet-swatches {
    gap:2.8px;
    --chip-height:22.4px;
  }
  #sheet-explorer .ss-sheet-quick-ready:not(.ss-sheet-show-all) .ss-sheet-swatches .ss-sheet-swatch {
    min-height:22.4px;
    block-size:calc(25.2px + 1.54em);
    grid-template-rows:1fr;
    row-gap:0;
  }
}
/* The two-row phone bar gets a two-button height reduction, not a one-row reserve. */
@media(max-width:540px){
  #sheet-explorer .ss-sheet-floating {--ss-profile-reserve:93.5px;--ss-profile-live-top:100.5px}
}
@media(max-width:640px) and (pointer:coarse){
  #sheet-explorer .ss-sheet-floating {
    --ss-profile-height:37.4px;
    --ss-profile-reserve:56.4px;
    --ss-profile-live-top:65.4px;
  }
}
@media(max-width:540px) and (pointer:coarse){
  #sheet-explorer .ss-sheet-floating {--ss-profile-reserve:98.8px;--ss-profile-live-top:104.8px}
}
/* At 320–340 px, show the action label rather than breaking the address across several lines. */
@media(min-height:441px) and (max-width:340px){
  html {scroll-padding-bottom:calc(102px + env(safe-area-inset-bottom,0px))}
  body.ss-home {padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  #quote .ss-contact-tile {min-height:77.75px}
  #quote :is(.ss-contact-email,.ss-contact-map) .ss-contact-detail {display:none}
}
