/* Weddings: petrol page. Runs in reading order: opening, ledger, note and tabs, hand-off. */

/* Opening: h1 stack beside the cut photograph, then the bare table-edge line. */
.frame-start { padding-block: 1.75rem 0; }
.frame-start .start-page { align-items: center; }
.frame-start .hold-photo { flex: 1.15 1 24rem; }
.frame-start .cut-photo { aspect-ratio: 4 / 3; max-height: 62vh; }
.frame-start .point-action { width: fit-content; }
.frame-start .run-edge { color: var(--tone-type); }

/* Ledger: five rows, each with a hand-cut toggle at the right and a blue bar that extends when it is got. */
.fit-ledger { padding-top: 1rem; }
.head-need {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--measure-part) 2rem;
}
.head-need > .stack-parts { flex: 1 1 26rem; }
.say-intro { max-width: 40rem; }
.show-tally {
  display: none;
  font-family: var(--face-board);
  font-size: var(--step-head);
  line-height: 1.2;
}
.js .show-tally { display: block; }
.list-need { display: flex; flex-direction: column; padding: 0; list-style: none; }
.need-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.9rem 1.15rem;
  border-top: 0.125rem solid currentColor;
}
.list-need > .need-row:last-child { border-bottom: 0.125rem solid currentColor; }
.need-row::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: var(--measure-bar);
  background: var(--tone-bar);
  transition: width 180ms;
}
.need-row.readied::after { width: 100%; }
.tell-need {
  flex: 1 1 20rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 2rem;
  min-width: 0;
}
.tell-need .name-dish { flex: 1 1 14rem; font-size: 1.375rem; }
.say-need { flex: 2 1 18rem; }
.mark-ready {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  min-height: var(--measure-tap);
  padding: 0.4rem 1.3rem 0.5rem;
  font-family: var(--face-board);
  font-size: 1.0625rem;
  line-height: 1.2;
  color: var(--tone-type);
  background: var(--tone-floor);
  border: 0;
  box-shadow: inset 0 0 0 0.125rem var(--tone-type);
  clip-path: polygon(0 10%, 5% 0, 55% 4%, 60% 0, 100% 6%, 96% 55%, 100% 100%, 32% 94%, 4% 100%);
  cursor: pointer;
  transition: color 180ms, background-color 180ms;
}
.js .mark-ready { display: inline-flex; }
.mark-ready:focus-visible { outline-offset: -0.45rem; }
.mark-ready[aria-pressed="true"] { color: var(--tone-floor); background: var(--tone-type); }
.mark-ready[aria-pressed="true"]:focus-visible { outline-color: var(--tone-floor); }
@media (max-width: 40em) {
  .mark-ready { margin-left: calc(var(--measure-number) + 1rem); }
}

/* Note and tabs: two columns on a desk, one stack on a phone. */
.split-note {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--measure-part) clamp(1.5rem, 5vw, 4rem);
}
.split-note > * { flex: 1 1 24rem; min-width: 0; }
.hold-tabs { align-items: flex-start; }
.hold-tabs .press-tab { max-width: 100%; overflow-wrap: anywhere; }
.outline-tab {
  color: var(--tone-type);
  background: var(--tone-floor);
  box-shadow: inset 0 0 0 0.125rem var(--tone-type), inset 0 calc(-1 * var(--measure-bar)) 0 transparent;
  transition: box-shadow 180ms, transform 180ms, color 180ms, background-color 180ms;
}
.outline-tab:hover {
  box-shadow: inset 0 0 0 0.125rem var(--tone-type), inset 0 calc(-1 * var(--measure-bar)) 0 var(--tone-bar);
}
.outline-tab.readied { color: var(--tone-floor); background: var(--tone-type); }
.say-hint { max-width: 26rem; font-size: var(--step-fine); }

/* Hand-off on yellow: a hard seam before the petrol footer. */
.lay-griddle .pass-table { padding-top: 0.25rem; }
