/* Each tile shows the panel in the context of the car. */
.est-builder { container: estimate-builder / inline-size; }
.est-zones {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.45rem, .85vw, .8rem);
}
.est-zones .est-zone {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.est-zone-picture {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: var(--night-3);
}
.est-zone-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease-out;
}
.est-zone-picture > svg {
  width: 2.85rem;
  color: var(--muted-on-dark);
}
.est-zones .est-zone-label {
  display: flex;
  align-items: center;
  min-height: 2.65rem;
  margin: 0;
  padding: .58rem .85rem;
  font-size: clamp(.94rem, 1.15vw, 1.12rem);
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.est-zone[aria-pressed="true"] .est-zone-label {
  background: var(--accent);
  color: var(--on-accent);
}
.est-zones .est-zone-mark {
  right: .47rem;
  top: .47rem;
  width: 1.35rem;
  height: 1.35rem;
  box-shadow: 0 1px 6px color-mix(in srgb, var(--night-deep) 50%, transparent);
}
.est-zone-mark > svg { width: .85rem; height: .85rem; }
@container estimate-builder (max-width: 30rem) {
  .est-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .est-zones .est-zone-label { min-height: 2.35rem; padding: .5rem .65rem; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .est-zone:hover .est-zone-photo { transform: scale(1.045); }
}
@media (forced-colors: active) {
  .est-zone[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
}
