.buyer-journey {
  color: var(--text);
  font: 15px/1.55 Arial, Helvetica, sans-serif;
}
.buyer-journey :is(h1, h2, h3, strong) { color: var(--navy); }
.buyer-journey :is(button, input, select, textarea) { font: inherit; }
.buyer-journey button { cursor: pointer; }
.buyer-journey :focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.buyer-journey .sr {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%);
}
.buyer-journey .journey-intro { background: var(--cream); border-bottom: 1px solid var(--border); padding: 30px 0; }
.buyer-journey .journey-intro .eyebrow { color: var(--gold-text-light); margin-bottom: 8px; }
.buyer-journey h1 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 8px; }
.buyer-journey p { margin: 0; }
.buyer-journey .journey-wrap { padding: 20px 0 32px; }
.buyer-journey .topnav {
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin: 0 0 14px;
}
.buyer-journey :is(.topnav button, .primary, .outline) {
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--navy); border-radius: .35rem;
  background: white; color: var(--navy); font-weight: 700; font-size: 14px;
}
.buyer-journey .topnav .active { background: var(--navy); color: white; }
.buyer-journey .primary { background: var(--gold); border-color: var(--gold); }
.buyer-journey :is(.outline, .topnav button:not(.active)):hover { background: var(--cream); }
.buyer-journey .primary:hover { border-color: var(--navy); }
.buyer-journey .text-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; text-align: left;
  border: 0; background: transparent; color: var(--navy); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.buyer-journey .scenario-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px;
  border: 1px solid var(--border); background: var(--cream); padding: 10px 14px; margin-bottom: 16px;
}
.buyer-journey :is(.scenario-bar > div, .scenario-actions) { display: flex; align-items: center; gap: 10px; min-width: 0; }
.buyer-journey .scenario-icon { display: none; }
.buyer-journey .scenario-bar small { display: block; font-weight: 700; }
.buyer-journey .scenario-bar select { max-width: min(100%, 280px); }
.buyer-journey .scenario-actions span { font-size: 13px; }
.buyer-journey .layout {
  display: grid; grid-template-columns: 192px minmax(0, 1fr) 224px; align-items: start; gap: 14px;
}
.buyer-journey .layout > * { min-width: 0; }
.buyer-journey :is(.rail, .panel, .snapshot, .resources) { border: 1px solid var(--border); background: white; }
.buyer-journey .rail { padding: 10px; }
.buyer-journey .rail-head { padding: 2px 4px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.buyer-journey .rail-head span { display: block; font-size: 13px; }
.buyer-journey progress { display: block; width: 100%; height: 8px; margin-top: 7px; accent-color: var(--navy); }
.buyer-journey #steps { display: grid; gap: 4px; margin: 0; }
.buyer-journey .step {
  width: 100%; min-height: 48px; display: flex; gap: 7px; align-items: center; padding: 6px;
  text-align: left; border: 1px solid transparent; border-radius: .35rem; background: white; color: var(--text);
}
.buyer-journey .step:hover { background: var(--cream); }
.buyer-journey .step[aria-current="step"] { background: var(--cream); border-color: var(--gold); }
.buyer-journey .step i {
  display: grid; place-items: center; flex: 0 0 26px; height: 26px;
  border-radius: .35rem; background: var(--cream); color: var(--navy); font: 700 12px Arial, sans-serif;
}
.buyer-journey .step[aria-current="step"] i { background: var(--gold); }
.buyer-journey .step.done i { background: var(--navy); color: white; }
.buyer-journey .step strong, .buyer-journey .step small { display: block; line-height: 1.3; }
.buyer-journey .step strong { font-size: 13px; }
.buyer-journey .step small { font-size: 12px; margin-top: 3px; }
.buyer-journey .panel { padding: clamp(14px, 2vw, 22px); }
.buyer-journey .panel-heading { border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 12px; }
.buyer-journey .kicker { color: var(--gold-text-light); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.buyer-journey :is(.panel, .resources) h2 { font-size: clamp(24px, 2.7vw, 32px); margin: 3px 0 6px; }
.buyer-journey h3 { font: 700 16px/1.35 Arial, sans-serif; margin: 14px 0 8px; }
.buyer-journey .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.buyer-journey .field { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--navy); font-weight: 700; }
.buyer-journey .field.wide { grid-column: 1 / -1; }
.buyer-journey .field small { color: var(--text); font-weight: 400; }
.buyer-journey :is(.field input, .field select, .field textarea, .scenario-bar select) {
  width: 100%; min-height: 44px; padding: 7px 9px; border: 1px solid #8290a0;
  border-radius: .35rem; background: white; color: var(--navy); font-size: 16px;
}
.buyer-journey textarea { resize: vertical; }
.buyer-journey input:invalid { border-color: #a13d36; }
.buyer-journey .paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.buyer-journey .path {
  text-align: left; background: white; color: var(--navy); border: 1px solid var(--border); border-radius: .35rem; padding: 10px;
}
.buyer-journey .path > span { display: none; }
.buyer-journey .path :is(b, small) { display: block; }
.buyer-journey .path small { color: var(--text); line-height: 1.35; }
.buyer-journey .path:hover, .buyer-journey .path[aria-pressed="true"] { border-color: var(--gold); background: var(--cream); }
.buyer-journey :is(.controls, .action-row) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.buyer-journey .controls {
  justify-content: space-between; border-top: 1px solid var(--border); margin-top: 14px; padding-top: 10px;
}
.buyer-journey :is(.action-row, .check) { margin: 8px 0; }
.buyer-journey .check { display: flex; align-items: flex-start; gap: 8px; }
.buyer-journey :is(.check, .controls) label, .buyer-journey .check { cursor: pointer; }
.buyer-journey input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--navy); margin: 3px 0 0; flex: none; vertical-align: middle; }
.buyer-journey :is(.callout, .hint) { border-left: 3px solid var(--gold); background: var(--cream); padding: 10px 12px; margin: 12px 0; }
.buyer-journey .issue-list { padding-left: 22px; }
.buyer-journey :is(.mini-card, .panel details) { border: 1px solid var(--border); padding: 10px 12px; margin: 8px 0; overflow-wrap: anywhere; }
.buyer-journey .mini-card h3 { margin-top: 0; }
.buyer-journey summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.buyer-journey .scroll { overflow: auto; }
.buyer-journey table { width: 100%; border-collapse: collapse; font-size: 13px; }
.buyer-journey :is(th, td) { border-bottom: 1px solid var(--border); padding: 8px; text-align: left; }
.buyer-journey th { background: var(--cream); min-width: 92px; }
.buyer-journey .snapshot-header { background: var(--navy); color: white; padding: 12px; }
.buyer-journey .snapshot-header h2 { color: white; font-size: 21px; margin: 0; }
.buyer-journey .snapshot-header p, .buyer-journey .hint { font-size: 13px; }
.buyer-journey .metrics { margin: 0; padding: 0 12px; }
.buyer-journey .metric { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.buyer-journey .metric dd { margin: 0; color: var(--navy); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.buyer-journey .metric .negative { color: #a13d36; }
.buyer-journey .snapshot-bottom { padding: 2px 12px; }
.buyer-journey .hint-icon { display: none; }
.buyer-journey .resources {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; margin: 20px 0 10px;
}
.buyer-journey .resources h3 { margin-top: 6px; }
.buyer-journey .journey-disclaimer { font-size: 13px; }
@media (max-width: 940px) {
  .buyer-journey .layout { grid-template-columns: minmax(0, 1fr) 210px; }
  .buyer-journey .rail { grid-column: 1 / -1; }
  .buyer-journey #steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .buyer-journey .step small { display: none; }
}
@media (max-width: 700px) {
  .buyer-journey .layout, .buyer-journey .resources { grid-template-columns: minmax(0, 1fr); }
  .buyer-journey #steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buyer-journey .journey-intro { padding: 22px 0; }
}
@media (max-width: 460px) {
  .buyer-journey .form-grid, .buyer-journey .paths { grid-template-columns: minmax(0, 1fr); }
}
