/* Extend the accepted stage bar without turning questions into approval stages. */
#pod, #deploy, #scale, #one, #evidence { scrollbar-gutter: stable; }
#one, #evidence { padding-top: 19px; }
#one > .room-heading, #evidence > .room-heading {
  min-block-size: 104px;
  align-items: flex-start;
  margin-bottom: 12px;
}
#one > .room-heading .eyebrow, #evidence > .room-heading .eyebrow {
  display: block; min-block-size: 25px; font: 9px/25px var(--mono); color: var(--muted);
}
.stage-rail .comparison-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage-rail .evidence-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stage-rail .comparison-steps button { border: 1px solid #bbcbb1; }
.stage-rail .comparison-steps button[aria-pressed=true] { border-color: var(--teal); }
.stage-rail .evidence-steps button { min-height: 44px; gap: 4px; justify-content: center; text-align: center; }
.stage-rail .evidence-steps b { font: 9px var(--mono); color: inherit; }
.stage-rail .evidence-steps span { min-width: 0; }
.stage-rail #one-next, .stage-rail #evidence-next {
  width: 100%; max-width: none; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: var(--white);
  border: 1px solid var(--teal); border-radius: 3px;
  padding: 6px 9px; font: 600 12px/1.4 var(--sans); text-align: center;
}
#evidence > .evidence-workbench { display: block; flex: 1 0 auto; min-height: 0; }
#evidence .evidence-card { min-height: 360px; }
#evidence .evidence-card h3 { min-block-size: 2.3em; }
.evidence-tools {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex: 0 0 auto; margin: 0 0 16px;
}
.evidence-tools label { font: 11px var(--sans); color: var(--muted); white-space: nowrap; }
.evidence-tools select { margin-left: 8px; max-width: 100%; width: 256px; flex: 0 1 256px; }
.evidence-tools .evidence-caption { margin: 0; font-size: 12px; line-height: 1.6; max-width: 540px; }
#one .one-copy h3 { min-block-size: 2.3em; }
#one .one-copy > p:last-of-type { min-block-size: 7em; }

@media (max-width: 1100px) {
  .stage-rail .evidence-steps b { display: none; }
}

@media (max-width: 760px) {
  #one, #evidence { padding-top: 13px; }
  #one > .room-heading, #evidence > .room-heading {
    display: grid; grid-template-columns: minmax(0, 1fr);
    min-block-size: 132px; gap: 6px;
  }
  #one > .room-heading .note-button, #evidence > .room-heading .note-button {
    justify-self: end; min-height: 32px; padding: 3px 0; max-width: none;
  }
  .stage-rail .comparison-steps button { min-height: 48px; height: 48px; line-height: 1.3; }
  .stage-rail .evidence-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-block-size: 93px; align-content: start;
  }
  .stage-rail .evidence-steps button { min-height: 44px; height: 44px; line-height: 1.3; }
  .stage-rail .evidence-steps b { display: none; }
  .evidence-tools { display: block; }
  .evidence-tools label { display: block; }
  .evidence-tools select { display: block; width: 100%; margin: 6px 0 0; font-size: 12px; }
  .evidence-tools .evidence-caption { display: none; }
  #evidence .evidence-card { min-height: 380px; }
  #evidence .evidence-card h3 { min-block-size: 3.45em; }
  #one .one-body { align-items: stretch; }
  #one .one-scene { min-height: 210px; }
  #one .one-visual { flex: 0 0 auto; min-height: 130px; }
}

@media print { .evidence-tools { display: none; } }
