/* CHASSIS BAY: additions to site.css only. */

/* Label lane: two tabs stacked, keep over build. */
.stack .tab + .tab { margin-top: .25rem; }

/* Opening: note beside the print, both inside the first window. */
.opening .mount { --strip-h: 54vh; }
.opening .sheet .link { align-self: start; }

/* ONE-SPEC BRACKET: an orange 3 px line in the label gutter ties the three rows. */
.spec { position: relative; }
.spec::before {
  content: "";
  position: absolute;
  left: calc(var(--lane) + var(--gutter) * .12);
  top: .75rem;
  bottom: 0;
  width: var(--rule-w);
  background: var(--build);
}
/* The tick sits on the bracket beside the chosen engine. It snaps; it never slides. */
.spec__tick {
  position: absolute;
  left: calc(var(--lane) - .3rem);
  top: var(--tick, 17rem);
  width: .9rem;
  height: .375rem;
  margin-top: -.1875rem;
  background: var(--build);
  box-shadow: 0 0 0 .125rem var(--ground);
  z-index: 1;
}

/* Engine choice: two underlined text options in a column. */
.pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pick .text-btn { min-height: 2.75rem; padding-block: .6rem; }

/* Engines side by side; the chosen one gets an orange frame. */
.engines { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 40rem) {
  .engines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
.engine .mount__print { padding: .5rem; }
.engine.is-on .mount__print { background: var(--build); }
.engine .mount__caption { max-width: 100%; }

/* Component rows: the note beside the print, links as plain actions. */
.spec .split .sheet .link { display: inline-block; }

/* The one-spec line beneath the rows. */
.swap > .swap__item { margin: 0; }
@media (min-width: 60rem) {
  .sum {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1.5rem 2rem;
    align-items: start;
  }
  .sum > * + * { margin-top: 0; }
}

/* The last row: two hand-offs side by side on a wide window. */
.next { display: grid; gap: 1rem; }
.next > div > p { margin-top: .25rem; }
@media (min-width: 48rem) {
  .next { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .next > * + * { margin-top: 0; }
}

/* Keep entry facts sit on their own sheet and fill its width. */
.row--keep .facts { margin: 0; }
