/* The top edge of the print continues as the registration rule of the atlas. */
.vt-atlas .body-stage { isolation: isolate; }
.vt-atlas .vt-board-field {
  position: absolute; z-index: -1; inset: 0;
  overflow: hidden; pointer-events: none;
}
.vt-atlas .vt-board-field::before {
  content: ""; position: absolute; inset: 0; background: #665044;
  clip-path: polygon(0 0, calc(var(--plate-cut, 0%) + 11%) 0,
    var(--plate-cut, 0%) 100%, 0 100%);
}
.vt-atlas .vt-board-field::after {
  content: ""; position: absolute; left: 9px; top: 7%; bottom: 7%;
  width: 2px; background: #e0ba86; transform-origin: center top;
  transform: scaleY(var(--atlas-depth, 1));
}
.vt-atlas .body-illustration { transform-origin: 50% 60%; }
.vt-atlas #map-front .body-point::after {
  content: ""; position: absolute; width: 30px; height: 30px;
  border-radius: 50%; border: 2px solid #ffe3b0;
  opacity: 0; pointer-events: none;
}
.vt-atlas #map-front .body-point.vt-area-echo::after { animation: vt-area-echo .48s ease-out; }
.vt-atlas #map-back .body-point.vt-area-echo::before { animation: vt-rear-echo .48s ease-out; }
@keyframes vt-rear-echo {
  from { box-shadow: 0 0 0 1px #ffe3b0; }
  to { box-shadow: 0 0 0 9px transparent; }
}
@keyframes vt-area-echo {
  0% { opacity: .95; transform: scale(.78); }
  100% { opacity: 0; transform: scale(1.63); }
}
.vt-atlas .body-stage .body-explore { position: relative; }
.vt-atlas .pricing-mode { transform-origin: left center; }

/* A receipt sits in the margin of the body study. Both the summary and the
   calendar receive the same catalogue quote and current area selection. */
.body-stage > .map-quote:not([hidden]) {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 0;
  margin: 8px 0 4px;
  text-align: left;
  color: #faf9ef;
  border-block: 1px solid #aeb8a7;
}
.map-quote-details {
  display: grid;
  min-width: 0;
  gap: 2px;
  overflow-wrap: anywhere;
}
.map-quote-mode, .map-quote-pending {
  font: 400 .8125rem/1.35 var(--sans);
  color: #e0e4d9;
}
.map-quote-names {
  font: 500 1.05rem/1.2 var(--serif);
}
.map-quote-price {
  font: 550 .9375rem/1.35 var(--sans);
  font-variant-numeric: tabular-nums;
}
.map-quote-times {
  flex: none;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #e3d8be;
  background: #eee9dd;
  color: #273129;
  font: 600 .875rem/1.2 var(--sans);
  cursor: pointer;
}
.map-quote-times:focus-visible {
  outline: 2px solid #f6d391;
  outline-offset: 3px;
}
.map-count-slot { display: inline-grid; }
.map-count-slot > span { grid-area: 1 / 1; }
.map-count-in { animation: map-count-arrive .26s cubic-bezier(.22,1,.36,1) both; }
.map-count-out { animation: map-count-leave .26s cubic-bezier(.22,1,.36,1) both; }
@keyframes map-count-arrive {
  from { opacity: 0; transform: translateY(calc(.14em * var(--map-count-direction))); }
}
@keyframes map-count-leave {
  to { opacity: 0; transform: translateY(calc(-.14em * var(--map-count-direction))); }
}
@media (max-width:760px) {
  .configurator .body-stage:has(.map-quote:not([hidden])) {
    grid-template-rows: repeat(5,auto);
  }
  .configurator .body-stage .map-quote { grid-column: 1; grid-row: 3; }
  .configurator .map-quote-first .map-quote { grid-row: 2; }
  .configurator .body-stage.map-quote-first :is(.body-illustration,#body-fallback) { grid-row: 3; }
  .configurator .body-stage:has(.map-quote:not([hidden])) .body-explore { grid-row: 4; }
  .configurator .body-stage:has(.map-quote:not([hidden])) .body-explore-note { grid-row: 5; }
}
@media (prefers-reduced-motion:reduce) {
  .map-count-in, .map-count-out { animation: none; }
  .map-count-out { visibility: hidden; }
}
@media (prefers-reduced-motion:reduce) {
  .vt-board-field { display:none; }
  .vt-atlas #map-front .body-point.vt-area-echo::after,
  .vt-atlas #map-back .body-point.vt-area-echo::before { animation: none; }
}
