#revenue-scenario {
  margin-block: 1.3rem;
  border-block: 1px solid #d9dce1;
  padding-block: 1rem;
}
#revenue-scenario > summary { font-weight: 500; }
#revenue-scenario > p { max-width: 60ch; line-height: 1.5; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem 1.25rem;
}
.lookup-form .scenario-grid label { font-weight: 500; }
.tool-follow-up {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 1000px;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 24px;
  background: #f9efe4;
}
.tool-follow-up h3 { font-size: 1.3rem; line-height: 1.25; }
.tool-follow-up p { max-width: 61ch; margin-top: .5rem; line-height: 1.5; }
.tool-follow-up a { flex: none; color: inherit; }
@media(max-width: 650px) {
  .tool-follow-up { flex-direction: column; align-items: start; gap: 1rem; }
  .tool-follow-up a { margin-left: 0; }
}
@media(max-width: 560px) {
  .scenario-grid { grid-template-columns: 1fr; }
}
.speed-recording {
  margin-top: 1.25rem;
  border-top: 1px solid #d9dce1;
  padding-top: 1rem;
}
.speed-recording > summary {
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.speed-recording form > p { margin: .75rem 0 1rem; max-width: 65ch; line-height: 1.55; }
.speed-recording form label { font: inherit; margin-bottom: .5rem; }
.speed-recording input { min-width: 0; max-width: 100%; }

.buyer-brief, .revenue-funnel { margin-block: 2rem 1rem; border-top: 1px solid #d1d3d6; padding-top: 1.5rem; }
.buyer-brief > label { display: grid; gap: .45rem; max-width: 48rem; }
.buyer-brief textarea { width: 100%; font: inherit; color: inherit; border: 1px solid #9399a2; border-radius: .55rem; padding: .6rem .8rem; }
.buyer-brief fieldset { margin: 1.2rem 0; padding: .8rem 1rem; border: 1px solid #dadbdc; border-radius: .6rem; }
.buyer-brief fieldset label { display: flex; align-items: baseline; gap: .65rem; padding-block: .3rem; }
.buyer-brief fieldset input { flex: 0 0 auto; }
.buyer-brief .brief-preview { padding-inline-start: 1.3rem; }
.buyer-brief .brief-preview li { margin-block: .8rem; }
.buyer-brief .brief-preview p { margin-block: .3rem; }

.speed-budget-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap:16px;
  margin-block:16px;
}
.speed-budget-grid > div {
  padding:16px;
  border:1px solid #d6d7d5;
  border-radius:12px;
  min-width:0;
}
.speed-budget-grid p {margin-block:.5em;line-height:1.45}
.speed-budget-grid input {font:inherit;width:7em;max-width:100%;padding:6px;border:1px solid #9c9b96;border-radius:6px}
.speed-budget-grid output {display:block;margin-top:.6em;font-weight:600}
.speed-budget-grid output[data-over="true"] {color:#8c3212}
