.commercial-pilot-room { display: grid; min-width: 0; gap: 18px; padding-block: 28px 58px; }
.commercial-pilot-room > * { min-width: 0; }

.commercial-room-bar { display: flex; min-width: 0; align-items: end; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-left: 5px solid var(--yellow-deep); border-radius: 6px; background: var(--paper); }
.commercial-room-bar label { display: grid; flex: 1 1 520px; max-width: 680px; gap: 6px; color: var(--muted); font-size: .75rem; font-weight: 850; text-transform: uppercase; }
.commercial-room-bar select { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: 0 38px 0 12px; border: 1px solid var(--line-strong); border-radius: 5px; background: white; color: var(--ink); font-size: .92rem; font-weight: 800; text-transform: none; }
.commercial-room-bar > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.commercial-lane-mark { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 0 10px; border-radius: 5px; color: var(--ink); font-size: .8rem; font-weight: 850; }
.commercial-lane-mark--contractorlink { background: var(--sky); }
.commercial-lane-mark--lead_partners { background: var(--coral); }
.commercial-lane-mark--shared { background: var(--lavender); }

.commercial-brief { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--sky-strong); border-radius: 8px; background: white; }
.commercial-brief--lead_partners { border-top-color: var(--coral-strong); }
.commercial-brief--shared { border-top-color: var(--lavender-strong); }
.commercial-brief__story { padding: 26px 28px; }
.commercial-brief__story h2 { max-width: 720px; margin-bottom: 14px; font-size: 1.55rem; }
.commercial-brief__story p { max-width: 760px; margin: 0; color: var(--ink-2); }
.commercial-brief dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-left: 1px solid var(--line); background: #fbfcfd; }
.commercial-brief dl div { min-width: 0; padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.commercial-brief dl div:nth-child(even) { border-right: 0; }
.commercial-brief dl div:nth-last-child(-n+2) { border-bottom: 0; }
.commercial-brief dt { margin-bottom: 5px; color: var(--muted); font-size: .69rem; font-weight: 850; text-transform: uppercase; }
.commercial-brief dd { overflow-wrap: anywhere; margin: 0; color: var(--ink); font-size: .86rem; font-weight: 800; }

.commercial-funnel { overflow: hidden; border: 1px solid #b9d7ed; border-radius: 8px; background: #f8fcff; }
.commercial-funnel--lead_partners { border-color: #e7c2b6; background: #fffaf8; }
.commercial-funnel--shared { border-color: #cfc4ec; background: #fbfaff; }
.commercial-funnel > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 20px 22px 16px; border-bottom: 1px solid currentColor; color: #9ec6e1; }
.commercial-funnel > header div { color: var(--ink); }
.commercial-funnel > header h2 { margin: 0; font-size: 1.28rem; }
.commercial-funnel > header > span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.commercial-funnel ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.commercial-funnel li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; min-height: 118px; align-items: start; padding: 18px 15px; border-right: 1px solid var(--line); }
.commercial-funnel li:last-child { border-right: 0; }
.commercial-funnel li > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--sky-strong); color: white; font-size: .68rem; font-weight: 900; }
.commercial-funnel--lead_partners li > span { background: var(--coral-strong); }
.commercial-funnel--shared li > span { background: var(--lavender-strong); }
.commercial-funnel li div { display: grid; min-width: 0; }
.commercial-funnel li strong { min-height: 36px; color: var(--ink-2); font-size: .75rem; line-height: 1.25; }
.commercial-funnel li b { margin-top: 4px; color: var(--ink); font-family: var(--display); font-size: 1.45rem; }
.commercial-funnel li small { margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.3; }
.commercial-funnel > footer { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-top: 1px solid var(--line); background: white; color: var(--muted); font-size: .76rem; }
.commercial-funnel > footer strong { color: var(--ink-2); }

.commercial-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.commercial-proof-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.commercial-proof-panel > header { min-height: 94px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.commercial-proof-panel > header h2 { margin: 0; font-size: 1.13rem; }
.commercial-proof-panel--confidence > header { background: var(--mint); }
.commercial-proof-panel--economics > header { background: var(--yellow-soft); }
.commercial-proof-panel--gate > header { background: var(--lavender); }
.commercial-proof-panel dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.commercial-proof-panel dl div { min-width: 0; min-height: 102px; padding: 15px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.commercial-proof-panel dl div:nth-child(even) { border-right: 0; }
.commercial-proof-panel dl div:nth-last-child(-n+2) { border-bottom: 0; }
.commercial-proof-panel dt { color: var(--muted); font-size: .69rem; font-weight: 850; text-transform: uppercase; }
.commercial-proof-panel dd { margin: 5px 0 1px; color: var(--ink); font-family: var(--display); font-size: 1.26rem; font-weight: 900; }
.commercial-proof-panel dl small { color: var(--muted); font-size: .68rem; }
.commercial-proof-panel ul { display: grid; margin: 0; padding: 0; list-style: none; }
.commercial-proof-panel li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; align-items: center; min-height: 58px; padding: 9px 15px; border-bottom: 1px solid var(--line); }
.commercial-proof-panel li:last-child { border-bottom: 0; }
.commercial-proof-panel li i { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--canvas); color: var(--muted); }
.commercial-proof-panel li.is-pass i { background: var(--mint); color: var(--success); }
.commercial-proof-panel li.is-attention i { background: var(--coral); color: var(--danger); }
.commercial-proof-panel li span { display: grid; min-width: 0; }
.commercial-proof-panel li strong { font-size: .77rem; }
.commercial-proof-panel li small { overflow-wrap: anywhere; color: var(--muted); font-size: .66rem; }

.commercial-decision-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 24px; border: 1px solid #b8d9ca; border-left: 6px solid var(--mint-strong); border-radius: 8px; background: #f7fdf9; }
.commercial-decision-strip > div:first-child { max-width: 760px; }
.commercial-decision-strip > div { min-width: 0; }
.commercial-decision-strip h2 { margin-bottom: 7px; font-size: 1.22rem; }
.commercial-decision-strip p { margin: 0; font-size: .78rem; }
.commercial-decision-strip > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.commercial-empty { display: grid; min-height: 360px; place-items: center; align-content: center; padding: 42px 24px; border: 1px dashed var(--line-strong); border-radius: 8px; background: white; text-align: center; }
.commercial-empty > .icon { margin-bottom: 12px; color: var(--sky-strong); }
.commercial-empty h2 { margin-bottom: 8px; }
.commercial-empty p { max-width: 620px; margin-bottom: 20px; }

@media (max-width: 980px) {
  .commercial-brief { grid-template-columns: 1fr; }
  .commercial-brief dl { border-top: 1px solid var(--line); border-left: 0; }
  .commercial-funnel ol { grid-template-columns: repeat(3, 1fr); }
  .commercial-funnel li:nth-child(3) { border-right: 0; }
  .commercial-funnel li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .commercial-proof-grid { grid-template-columns: 1fr 1fr; }
  .commercial-proof-panel--gate { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .commercial-pilot-room { width: min(calc(100% - 24px), var(--page)); max-width: calc(100% - 24px); gap: 14px; padding-top: 18px; }
  .commercial-pilot-room .page-heading__actions { min-width: 0; flex-direction: column; }
  .commercial-pilot-room .page-heading__actions .button { min-width: 0; max-width: 100%; }
  .commercial-room-bar { align-items: stretch; flex-direction: column; }
  .commercial-room-bar label { width: 100%; min-width: 0; max-width: 100%; flex-basis: auto; }
  .commercial-room-bar > div { justify-content: flex-start; }
  .commercial-brief__story { padding: 21px 18px; }
  .commercial-brief dl { grid-template-columns: 1fr; }
  .commercial-brief dl div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .commercial-brief dl div:last-child { border-bottom: 0 !important; }
  .commercial-funnel > header { align-items: start; flex-direction: column; }
  .commercial-funnel ol { grid-template-columns: 1fr 1fr; }
  .commercial-funnel li { min-height: 102px; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .commercial-funnel li:nth-child(even) { border-right: 0 !important; }
  .commercial-funnel li:nth-last-child(-n+2) { border-bottom: 0; }
  .commercial-proof-grid { grid-template-columns: 1fr; }
  .commercial-proof-panel--gate { grid-column: auto; }
  .commercial-decision-strip { align-items: stretch; flex-direction: column; padding: 20px 18px; }
  .commercial-decision-strip > div:last-child { display: grid; width: 100%; min-width: 0; justify-content: stretch; }
  .commercial-decision-strip .button { width: 100%; min-width: 0; max-width: 100%; }
}

@media (max-width: 420px) {
  .commercial-funnel ol { grid-template-columns: 1fr; }
  .commercial-funnel li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .commercial-funnel li:last-child { border-bottom: 0 !important; }
  .commercial-proof-panel dl { grid-template-columns: 1fr; }
  .commercial-proof-panel dl div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .commercial-proof-panel dl div:last-child { border-bottom: 0 !important; }
}
