.route-to-market-card {
  margin: 0 0 20px;
  padding: 24px;
  border: 1px solid #b9dfe3;
  border-top: 4px solid var(--teal);
  border-radius: 10px;
  background: linear-gradient(145deg, #f8ffff 0%, #ffffff 58%, #f4fbfd 100%);
  box-shadow: 0 12px 28px rgba(16, 53, 75, .06);
}
.route-to-market-card.hidden { display: none; }
.rtm-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.rtm-header h3 { margin-bottom: 6px; font-size: 22px; }
.rtm-header p:not(.eyebrow) { max-width: 850px; margin-bottom: 0; color: var(--muted); }
.rtm-status-stack { display: grid; justify-items: end; gap: 8px; flex: 0 0 auto; }
.rtm-status, .rtm-confidence, .rtm-coverage, .rtm-priority, .rtm-one-approval {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.rtm-status { padding: 7px 10px; border: 1px solid #b8d7df; background: #f2fbfc; color: #235c68; }
.rtm-status.ready { border-color: #a9d7c5; background: #effaf5; color: var(--green); }
.rtm-status.validate { border-color: #f0d19b; background: #fff8e9; color: #865105; }
.rtm-status.running { border-color: #a9d7e8; background: #edf9ff; color: #17617b; }
.rtm-confidence { gap: 5px; color: #52677a; }
.rtm-confidence strong { color: var(--ink); }
.rtm-thesis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.rtm-thesis-grid article { min-width: 0; padding: 14px; border: 1px solid #d8e8ed; border-radius: 8px; background: rgba(255, 255, 255, .88); }
.rtm-thesis-grid article.rtm-route { border-color: #9ed6da; background: #f2fcfc; }
.rtm-thesis-grid article > span { display: block; margin-bottom: 5px; color: #597080; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rtm-thesis-grid article > strong { display: block; color: #193a4c; font-size: 14px; line-height: 1.45; }
.rtm-thesis-grid article > p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.rtm-section { margin-top: 22px; }
.rtm-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.rtm-section-heading h4 { margin: 0; color: #24475b; font-size: 14px; }
.rtm-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.rtm-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.rtm-channel { min-width: 0; padding: 15px; border: 1px solid #d8e6eb; border-radius: 8px; background: #fff; }
.rtm-channel.missing { border-left: 4px solid #d99a32; }
.rtm-channel.active { border-left: 4px solid #2d91b4; }
.rtm-channel.completed_with_results { border-left: 4px solid #2b996d; }
.rtm-channel.completed_no_results { border-left: 4px solid #c97836; }
.rtm-channel.not_searchable { border-left: 4px solid #8596a6; }
.rtm-channel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rtm-channel-head h5 { margin: 5px 0 0; color: #183d51; font-size: 15px; line-height: 1.35; }
.rtm-priority { padding: 3px 7px; background: #eef7f8; color: #27707a; }
.rtm-coverage { padding: 5px 8px; border: 1px solid #d7e3e8; background: #f8fbfc; color: #536b79; white-space: nowrap; }
.rtm-target-label { display: flex; align-items: center; gap: 7px; margin: 11px 0 8px; color: #5b7180; font-size: 12px; }
.rtm-target-label strong { color: #285b68; }
.rtm-channel p { margin: 6px 0 0; color: #536879; font-size: 13px; }
.rtm-channel p strong { color: #314e5e; }
.rtm-channel .rtm-risk { color: #755628; }
.rtm-search-box { margin-top: 20px; padding: 16px; border: 1px solid #e8ca8f; border-radius: 9px; background: #fffaf0; }
.rtm-one-approval { min-width: 34px; min-height: 34px; justify-content: center; border: 1px solid #dfbd77; background: #fff; color: #8a5a08; font-size: 13px; }
.rtm-search-list { display: grid; gap: 8px; margin: 12px 0 14px; padding: 0; list-style: none; }
.rtm-search-list li { padding: 11px 12px; border: 1px solid #eeddbd; border-radius: 7px; background: rgba(255,255,255,.82); }
.rtm-search-list li > div { display: flex; justify-content: space-between; gap: 10px; }
.rtm-search-list li > div > strong { color: #4f3e20; }
.rtm-search-list li > div > span { color: #876b3a; font-size: 12px; font-weight: 800; }
.rtm-search-list p { margin: 5px 0 0; color: #6b5a3d; font-size: 13px; }
.rtm-approval-button { margin-top: 2px; }
.rtm-validation { margin-top: 16px; padding: 13px 15px; border-left: 3px solid #66bbc3; background: #f3fbfc; color: #405d6c; }
.rtm-validation > strong { display: block; color: #245b66; font-size: 13px; }
.rtm-validation ul { margin: 7px 0 0; padding-left: 19px; }
.rtm-validation li { margin: 3px 0; font-size: 13px; }
.rtm-contract { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #d9e9ed; color: #27727a; font-size: 13px; }
.rtm-contract span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e8f8f9; font-weight: 900; }
.rtm-target-help { margin-top: 1px; color: #6a7888; font-size: 12px; font-weight: 500; letter-spacing: normal; line-height: 1.35; text-transform: none; }

@media (max-width: 940px) {
  .rtm-thesis-grid { grid-template-columns: 1fr; }
  .rtm-channel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .route-to-market-card { padding: 18px; }
  .rtm-header { display: grid; }
  .rtm-status-stack { justify-items: start; }
  .rtm-channel-head, .rtm-search-list li > div { display: grid; }
}
