/* The arriving card is fully painted in the frame that removes its flight copy. */
.lead-story.story-ready .story-crm-pane[data-story-pane-state="active"] > .story-crm-target {
  transition: none;
}

/* The middle panel is a working CRM card, with clear demo qualification. */
.lead-story .story-crm-card {
  padding: 22px;
  border: 1px solid #ded7e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px #30203b08;
}
.lead-story .story-crm-card .story-person h4 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.03em;
}
.lead-story .story-crm-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.lead-story .story-crm-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f1efb8;
  color: #555132;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.lead-story .story-crm-location { background: #eee8f6; color: #62546f; }
.lead-story .story-crm-card .story-request {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.015em;
}
.lead-story .story-crm-card .story-source-name {
  margin-top: 16px;
  color: #6b7065;
  font-size: 14px;
  line-height: 1.5;
}
.lead-story .story-crm-confidence {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 0 0;
  border-top: 1px solid #ebede5;
}
.lead-story .story-crm-confidence-label {
  display: block;
  color: #303729;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.lead-story .story-crm-confidence-note {
  display: block;
  margin-top: 4px;
  color: #72786c;
  font-size: 14px;
  line-height: 1.4;
}
.lead-story [data-story-confidence] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 42px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #e4efdb;
  color: #39542c;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.lead-story .story-crm-footer {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-color: #ebede5;
}
.lead-story .story-crm-footer .story-source-state { font-size: 14px; }
.lead-story .story-crm-pane > .story-campaign { display: none; }
.lead-story .story-run {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  width: 100%;
  max-width: 100%;
  padding: 11px 16px;
  border: 1px solid #171817;
  border-radius: 8px;
  background: #171817;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.lead-story .story-run:disabled {
  border-color: #e2e3dc;
  background: #f0f1ec;
  color: #73796d;
  cursor: default;
}
.lead-story .story-run:focus-visible { outline: 3px solid #171817; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .lead-story .story-run:not(:disabled):hover { border-color: #353c2d; background: #353c2d; }
}
@media (max-width: 600px) {
  .lead-story .story-crm-card { padding: 20px 16px; }
  .lead-story .story-crm-card .story-person h4 { font-size: 18px; }
  .lead-story .story-crm-tag { padding-inline: 9px; }
  .lead-story .story-crm-card .story-request { font-size: 16px; }
  .lead-story .story-crm-footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-story .story-run { transition: none; }
}
@media (forced-colors: active) {
  .lead-story .story-crm-tag,
  .lead-story [data-story-confidence] { border: 1px solid CanvasText; }
}
