/* Let each slide close around its content, without hidden panels reserving height. */
#hero-panel-2 { min-height: 0; }
#hero-panel-2 .alt-inner { min-height: 0; }
#hero-panel-2 .z-plan { align-self: center; }
#hero-panel-2 .z-plan figcaption {
  position: static;
  justify-self: end;
  margin-top: 14px;
  padding-top: 8px;
}
.emc-banner-foot {
  width: min(1320px, 92%);
  margin: 0 auto;
  padding: 22px 0 24px;
  border-top: 1px solid #54717d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #c3d6d9;
  font-size: 14px;
  line-height: 1.6;
}
.emc-banner-foot p { margin: 0; }
.emc-banner-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #e7bc90;
}
.emc-banner-foot li { white-space: nowrap; }
@media (min-width: 761px) {
  .emc-banner-foot { padding-right: 180px; }
}
@media (max-width: 760px) {
  .emc-banner-foot { align-items: flex-start; flex-direction: column; gap: 10px; padding: 18px 0 22px; }
  #hero-panel-2 .z-plan figcaption { margin-top: 12px; }
}

/* Taller cover window, preserving proportions and the original video. */
#hero-panel-2 .z-plan-play {
  aspect-ratio: 1.7;
  overflow: hidden;
}
#hero-panel-2 .z-plan-play img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 760px) {
  #hero-panel-2 .z-plan-play { width: min(100%, 440px); }
  #hero-panel-2 .z-plan { padding-top: 8px; padding-bottom: 40px; }
}

/* A denied autoplay must always leave an accessible way to start the greeting. */
body.zt-base-browsing #avatar-assistant .aa-dock:not(.is-open):not(.is-compact) {
  gap: 7px;
  align-items: flex-end;
}
body.zt-base-browsing #avatar-assistant .aa-dock:not(.is-open):not(.is-compact) .aa-voice-toggle {
  position: static;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 24px;
  opacity: 1;
  color: #23689b;
  border-color: #c9dff0;
  box-shadow: 0 3px 12px #102b4012;
  white-space: nowrap;
}
body.zt-base-browsing #avatar-assistant .aa-dock:not(.is-open):not(.is-compact) .aa-voice-label {
  display: inline;
  font-size: 14px;
  line-height: 20px;
}
body.zt-base-browsing #avatar-assistant .aa-voice-toggle:focus-visible {
  outline: 3px solid #087bff;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  body.zt-base-browsing:has(#avatar-assistant .aa-dock:not(.is-open):not(.is-compact)) .mobile-bar {
    right: 94px;
  }
  body.zt-base-browsing #avatar-assistant .aa-dock:not(.is-open):not(.is-compact) {
    right: 0;
    bottom: 0;
    width: 94px;
    gap: 0;
  }
  body.zt-base-browsing #avatar-assistant .aa-dock:not(.is-open):not(.is-compact) .aa-voice-toggle {
    width: 94px;
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 2px;
    border: 0;
    border-top: 1px solid #dce5eb;
    border-radius: 0;
    box-shadow: none;
  }
}
