/* Step 5 only: white panel overlaps the background; corners expose the hero image. */
.hero { padding-bottom: 34px !important; }
.hero + .tabs {
  position: relative;
  z-index: 1;
  margin-top: -12px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #fff !important;
  border: 0;
  border-bottom: 1px solid #ededed;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 34px;
  gap: 0;
  height: 54px;
  padding: 0 15px;
}
.tabs button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  height: 54px;
  min-width: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  color: #999;
  border: 0;
  background: transparent;
  white-space: nowrap;
}
.tabs button.active { color: #222; font-weight: 600; }
.tabs button.active::after {
  content: "";
  position: absolute;
  width: 27px;
  height: 3px;
  border-radius: 3px;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  background: #ff2442;
}
.tabs .tab-icon { display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs .tab-lock { width: 17px; height: 20px; }
.tabs .tab-search { width: 23px; height: 23px; }
.tabs button:focus-visible { outline: 2px solid #ff2442 !important; outline-offset: -4px; }
