.study-figure .metrics-layout { display: grid; grid-template-columns: minmax(0, 1fr) 62px minmax(0, .8fr); gap: 12px; align-items: center; }
.study-figure .metrics-layout h3 { font-size: 1.05rem; color: var(--teal); margin-bottom: 6px; }
.study-figure .metrics-layout h3 > span { font-size: .85rem; margin-left: 5px; }
.study-figure .metrics-layout h3 > span:not(.figure-key) { color: var(--ink); }
.study-figure .metrics-row { padding: 7px 11px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; }
.study-figure .metrics-row + .metrics-row { margin-top: 7px; }
.study-figure .metrics-row p { display: flex; align-items: baseline; gap: 3px; }
.study-figure .metrics-row strong { font: 800 clamp(1.5rem, 4vw, 2.15rem)/1.25 var(--sans); color: var(--teal); }
.study-figure .metrics-row small { margin-left: auto; }
.study-figure .metric-track { height: 9px; border: 1px solid var(--line); margin-top: 4px; }
.study-figure .metric-track span { display: block; height: 100%; background: var(--mint); }
.study-figure .metric-track.metric-short span { width: 80%; background: var(--yellow); border-right: 1px solid var(--teal); }
.study-figure .metric-bridge { display: grid; justify-items: center; gap: 4px; color: var(--teal); font-size: .86rem; }
.study-figure .metric-bridge .flow-arrow { width: 100%; }
.study-figure .metrics-goal .metrics-row { border-color: var(--teal); }

.diagram-edge { position: relative; display: block; height: 4px; border-radius: 2px; background: currentColor; }
.diagram-edge::after { content: ""; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 11px; height: 16px; background: currentColor; clip-path: var(--diagram-arrowhead); }

.procure-stages { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, .92fr) 76px minmax(0, 1.06fr); gap: 0; }
.procure-stage { --stage: var(--teal); display: grid; grid-template-rows: auto minmax(195px, auto) 38px 1fr; min-width: 0; }
.procure-proposal { --stage: var(--wine); }
.study-figure .procure-stage h3 { display: flex; align-items: center; gap: 8px; color: var(--ink); margin: 0 0 12px; line-height: 1.35; font-size: 1.125rem; }
.procure-stage h3 > span:first-child { display: grid; place-items: center; flex: 0 0 25px; height: 25px; color: white; background: var(--stage); border-radius: 50%; font-size: .9375rem; font-weight: 800; }
.procure-letter {
  position: relative;
  align-self: stretch;
  padding: 6px 10px;
  border: 2px solid var(--stage);
  box-shadow: 3px 3px 0 color-mix(in srgb, var(--stage) 22%, transparent);
  background: #fffaf0;
}
.procure-rfp-letter { background: #fff1ef; }
.procure-letter::after { content: ""; position: absolute; top: 0; right: 0; width: 15px; height: 15px; border-left: 2px solid var(--stage); border-bottom: 2px solid var(--stage); background: #dceaf1; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.procure-letter p { margin: 3px 0 0; line-height: 1.35; }
.procure-letter p strong { font-size: 1.5rem; color: var(--stage); margin-right: 4px; }
.procure-sender { display: flex; align-items: center; gap: 7px; min-height: 40px; margin-bottom: 3px; border-bottom: 1px solid var(--stage); font-size: .875rem; }
.procure-sender img { width: 50px; height: auto; }
.procure-return { display: flex; gap: 9px; align-items: center; justify-content: center; color: var(--stage); font-size: .875rem; font-weight: 800; }
.procure-return .diagram-edge { width: 18px; transform: rotate(90deg); }
.procure-replies { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; line-height: 1.35; }
.procure-replies > div { text-align: center; border-bottom: 2px solid var(--stage); background: #eef8f5; padding-bottom: 7px; }
.procure-replies img { display: block; width: 74px; max-width: 100%; height: auto; margin-inline: auto; }
.procure-between { --edge-top: 180px; --edge-rise: 105px; position: relative; color: var(--teal); margin: 0 5px; font-size: .8125rem; font-weight: 800; }
.procure-between:nth-of-type(2) { --edge-top: 168px; --edge-rise: 57px; color: var(--wine); }
.procure-between::before { content: ""; position: absolute; left: 0; top: var(--edge-top); width: 22px; height: calc(var(--edge-rise) + 2px); border: solid; border-width: 0 2px 2px 0; }
.procure-between .diagram-edge { position: absolute; left: 20px; right: 0; top: var(--edge-top); }
.procure-between span { position: absolute; left: 0; right: 0; top: calc(var(--edge-top) + var(--edge-rise) + 5px); text-align: center; }
.procure-conditions { --stage: var(--ink); grid-template-rows: auto 130px auto; align-content: start; }
.procure-stock-change { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; gap: 0; border-bottom: 2px solid var(--ink); padding: 0 1px 7px; background: #f7f3df; }
.procure-stock-change > div { display: grid; justify-items: center; text-align: center; line-height: 1.35; }
.procure-stock-change img { width: 78px; max-width: 100%; height: auto; }
.procure-stock-change b { font-size: .875rem; }
.procure-stock-change strong { margin-top: 5px; font-size: 1.06rem; white-space: nowrap; }
.procure-stock-change .diagram-edge { color: var(--teal); }
.procure-stages .procure-need { display: grid; gap: 2px; align-self: start; width: fit-content; max-width: 100%; margin: 12px auto 0; padding: 3px 8px; border-inline-start: 3px solid #795e15; background: #fff2ab; color: var(--ink); font-size: .875rem; line-height: 1.4; }
.procure-need b { color: #624900; }
.procure-stages .procure-conditions > .procure-need { width: 100%; }
.procure-stages .procure-letter .procure-need { display: flex; flex-wrap: wrap; gap: 3px 5px; margin: 3px 0 0; }
.procure-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.procure-offers p { display: grid; align-content: start; gap: 3px; margin: 0; padding: 4px 5px 5px; border-bottom: 2px solid var(--stage); background: #fff9ec; line-height: 1.4; text-align: center; font-size: .8125rem; }
.procure-offers b { font-size: .9375rem; color: var(--stage); }
.study-figure .procure-summary { border-top: 2px solid var(--ink); padding-top: 8px; margin: 12px 0 0; color: var(--ink); font-size: .9375rem; line-height: 1.55; }
.procure-options { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(6em, .4fr) minmax(0, 1fr); align-items: stretch; }
.procure-choice, .procure-selected { padding: 8px 12px; background: #faf6e7; border-top: 3px solid var(--teal); }
.procure-selected { background: #fff2ec; border-color: var(--wine); text-align: center; }
.study-figure .procure-options h3 { margin: 0; line-height: 1.5; font-size: 1.125rem; text-align: left; }
.procure-options h3 span { margin-left: 5px; font-size: .9em; }
.procure-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
.procure-methods > div + div { border-inline-start: 1px solid var(--line); }
.procure-methods img, .procure-selected img { width: 96px; max-width: 100%; height: auto; display: block; margin: 5px auto 0; }
.procure-tagged-books { height: 72px; margin-top: 5px; display: grid; align-content: center; justify-content: center; gap: 1px; }
.procure-tagged-books i { display: block; position: relative; width: 66px; height: 16px; background: #fffdf5; border: 2px solid var(--ink); border-inline-start: 8px solid #f7c542; border-radius: 4px 1px 1px 4px; transform: rotate(-4deg); }
.procure-tagged-books i:nth-child(2) { border-inline-start-color: #87c8d8; transform: translateX(4px) rotate(3deg); }
.procure-tagged-books i:nth-child(3) { border-inline-start-color: #eb9da5; transform: rotate(-2deg); }
.procure-tagged-books i::after { content: ""; position: absolute; top: 2px; right: 6px; width: 16px; height: 8px; background: #acc9c6; border: 1px solid var(--ink); border-radius: 1px; }
.procure-methods span, .procure-selected > span { display: block; font-size: .9375rem; }
.procure-option-link { text-align: center; margin: 0; align-self: center; font-weight: 800; line-height: 1.35; color: var(--teal); }
.procure-option-link .diagram-edge { margin-block: 6px; }
.package-process { display: grid; grid-template-columns: minmax(16rem, 1.05fr) 30px minmax(0, 1.6fr); align-items: center; }
.package-plan { align-self: stretch; padding: 10px 12px; border-top: 3px solid var(--teal); background: #fbf5de; }
.study-figure .package-process h3 { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.4; }
.package-plan table { width: 100%; border-collapse: collapse; margin-top: 5px; font-size: .9375rem; line-height: 1.4; text-align: center; }
.package-plan caption { text-align: left; margin-block: 2px 4px; font-weight: 700; }
.package-plan td, .package-plan th { border: 1px solid #a69069; padding: 4px; }
.package-plan thead th { background: var(--yellow); }
.package-process .package-join { color: var(--teal); width: 23px; margin-inline: auto; }
.package-later { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 22px; padding: 0; margin: 0; }
.package-later li { position: relative; display: grid; justify-items: center; grid-template-rows: auto auto auto 1fr; padding: 8px 5px; text-align: center; border-bottom: 2px solid var(--teal); background: #eef8f5; line-height: 1.45; }
.package-later li + li::before { content: ""; position: absolute; right: calc(100% + 3px); top: 41%; width: 16px; height: 16px; background: var(--teal); clip-path: var(--step-arrow); }
.package-later img { width: 80px; max-width: 100%; height: auto; }
.package-later span { font-size: .9375rem; }
@media (max-width: 740px) {
  .package-process { grid-template-columns: 1fr; gap: 7px; }
  .package-process .package-join { transform: rotate(90deg); }
  .package-later { gap: 17px; }
  .package-later li + li::before { right: 100%; }
}

@media (max-width: 670px) {
  .study-figure .metrics-layout { grid-template-columns: 1fr; gap: 8px; }
  .study-figure .metric-bridge { display: flex; justify-content: center; align-items: center; }
  .study-figure .metric-bridge br { display: none; }
  .study-figure .metric-bridge .flow-arrow { width: 15px; transform: rotate(90deg); }
}

@media (max-width: 700px) {
  .procure-stages { grid-template-columns: minmax(0, 1fr); }
  .procure-stage { grid-template-rows: auto auto 38px auto; }
  .procure-conditions { grid-template-rows: auto auto auto; }
  .procure-between { display: flex; gap: 5px; align-items: center; justify-self: center; margin: 10px 0; }
  .procure-between::before { display: none; }
  .procure-between .diagram-edge { position: static; width: 18px; transform: rotate(90deg); }
  .procure-between span { position: static; }
  .procure-offers p { font-size: .875rem; }
  .procure-options { grid-template-columns: 1fr; }
  .procure-option-link .diagram-edge { width: 16px; transform: rotate(90deg); margin: 10px auto; }
}
