.results-ui,
.result-report-ui {
  --result-ink: #202124;
  --result-muted: #6b7078;
  --result-line: #e5e7eb;
  --result-surface: #fff;
  color: var(--result-ink);
  padding-top: 34px;
  padding-bottom: 88px;
}
.results-ui-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}
.results-ui-heading .eyebrow,
.result-report-heading .eyebrow {
  margin-bottom: 8px;
}
.results-ui-heading h1,
.result-report-heading h1 {
  font-size: clamp(25px, 3.2vw, 34px);
  letter-spacing: -.045em;
}
.results-ui-heading p {
  margin-top: 6px;
  font-size: 12px;
}
.results-query {
  color: #696d75;
}
.results-edit-link,
.results-empty a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #51565e;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.results-edit-link:hover,
.results-empty a:hover {
  color: #111827;
}
.results-edit-link .icon,
.results-empty a .icon {
  width: 15px;
  height: 15px;
}
.candidate-list {
  display: grid;
  gap: 11px;
}
.candidate-card {
  background: var(--result-surface);
  border: 1px solid var(--result-line);
  border-radius: 15px;
  padding: 17px 19px;
  box-shadow: 0 2px 8px #11182708;
}
.candidate-card.is-selected {
  border-color: #aeb4bc;
  box-shadow: 0 0 0 2px #e9eaec;
}
.candidate-main {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.result-portrait,
.result-portrait-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 13px;
  object-fit: cover;
  background: #f0f1f2;
  color: #777d85;
}
.result-portrait-placeholder .icon {
  width: 21px;
  height: 21px;
}
.candidate-identity {
  min-width: 0;
}
.candidate-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.candidate-name-line h2 {
  color: #444951;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
}
.match-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  color: #5e636b;
  background: #f8f9fa;
  font-size: 10px;
  line-height: 1.25;
}
.matched-clues {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.matched-clue {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 5px;
  background: #f2f3f4;
  color: #666b73;
  font-size: 10px;
  line-height: 1.5;
}
.candidate-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 9px;
}
.result-count {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #777d85;
  font-size: 10px;
}
.result-count strong {
  color: #4c5158;
  font-size: 11px;
  font-weight: 650;
}
.candidate-action {
  display: flex;
  justify-content: end;
}
.result-unlock-button,
.result-view-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 13px;
  border-radius: 9px;
  background: #24272b;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.result-unlock-button:hover,
.result-view-button:hover {
  background: #454a50;
}
.result-unlock-button .icon,
.result-view-button .icon {
  width: 14px;
  height: 14px;
}
.results-empty {
  padding: 42px 24px;
  border: 1px solid var(--result-line);
  border-radius: 15px;
  text-align: center;
}
.results-empty h2 {
  font-size: 19px;
}
.results-empty p {
  margin: 8px 0 16px;
  font-size: 12px;
}
.results-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 19px;
  color: #626870;
  font-size: 12px;
}
.results-back-link .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}
.result-report-heading {
  margin-bottom: 18px;
  padding: 17px 20px;
  border: 1px solid var(--result-line);
  border-radius: 14px;
  background: #fff;
}
.result-report-heading > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.result-report-heading .result-portrait,
.result-report-heading .result-portrait-placeholder {
  width: 54px;
  height: 54px;
}
.result-report-heading .results-edit-link {
  margin-top: 4px;
  font-size: 10px;
}
.result-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.result-report-section {
  min-width: 0;
  padding: 14px 16px 8px;
  border: 1px solid var(--result-line);
  border-radius: 12px;
  background: #fff;
}
.result-report-section h2 {
  margin-bottom: 9px;
  color: #454a51;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.015em;
}
.result-report-section dl {
  margin: 0;
}
.result-field-row {
  display: grid;
  grid-template-columns: minmax(105px, 34%) minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #f0f1f2;
  font-size: 11px;
}
.result-field-row dt {
  color: #737982;
}
.result-field-row dd {
  min-width: 0;
  margin: 0;
  color: #3e434a;
  overflow-wrap: anywhere;
}
.result-field-values {
  display: grid;
  gap: 4px;
}
.candidate-results-heading {
  margin: 28px 0 24px;
}
.candidate-results-heading p {
  margin-top: 12px;
  color: #737982;
}
.candidate-results-list {
  display: grid;
  gap: 12px;
}
.candidate-result-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.candidate-result-card:hover {
  border-color: #a6aab1;
}
.candidate-result-card:focus-visible {
  outline: 2px solid #20242c;
  outline-offset: 3px;
}
.candidate-result-index {
  color: #8a8f98;
  text-align: center;
}
.candidate-result-copy strong {
  display: block;
  font-size: 20px;
  color: #171a22;
}
.candidate-result-copy > span {
  display: block;
  margin-top: 7px;
  color: #737982;
  line-height: 1.6;
}
.candidate-result-action {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .candidate-result-card {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px;
  }
  .candidate-result-action {
    grid-column: 2;
  }
}
.result-report-ui .report-panel {
  min-height: 0;
}
.result-report-ui .report-detail-grid > .report-panel:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.result-entry-meta {
  display: block;
  margin-top: 3px;
  color: #737982;
}
.result-field-values small {
  color: #858a91;
  font-size: 9px;
}
.result-field-empty {
  color: #969ba2;
  font-size: 10px;
}
.result-skeleton-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: min(100%, 190px);
}
.result-skeleton {
  display: block;
  height: 9px;
  width: 86%;
  border-radius: 4px;
  background: #e9eaec;
  filter: blur(1.7px);
}
.result-skeleton-1 {
  width: 65%;
}
.result-skeleton-2 {
  width: 76%;
}
.result-sticky-cta {
  position: sticky;
  z-index: 4;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  padding: 13px 16px;
  border: 1px solid #dfe1e4;
  border-radius: 12px;
  background: #fffffff2;
  box-shadow: 0 5px 20px #11182718;
  backdrop-filter: blur(12px);
}
.result-sticky-cta > div {
  display: grid;
  gap: 2px;
}
.result-sticky-cta strong {
  font-size: 12px;
}
.result-sticky-cta span {
  color: var(--result-muted);
  font-size: 10px;
}
@media (max-width: 700px) {
  .results-ui,
  .result-report-ui {
    padding-top: 23px;
    padding-bottom: 66px;
  }
  .candidate-main {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .candidate-main > .result-portrait,
  .candidate-main > .result-portrait-placeholder {
    width: 48px;
    height: 48px;
  }
  .candidate-action {
    grid-column: 2;
    justify-content: start;
    margin-top: 1px;
  }
  .candidate-counts {
    gap: 10px 14px;
  }
}
@media (max-width: 520px) {
  .results-ui-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .candidate-card {
    padding: 14px;
  }
  .candidate-name-line h2 {
    font-size: 15px;
  }
  .result-report-grid {
    grid-template-columns: 1fr;
  }
  .result-report-heading {
    padding: 14px;
  }
  .result-sticky-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .result-sticky-cta .result-unlock-button {
    width: 100%;
  }
}
.search-results-shell { padding-top: 32px; }
.results-loading { padding: 90px 0; color: #696e79; text-align: center; min-height: 300px; }
.unlock-includes { list-style: none; padding: 0; margin: 26px 0; text-align: left; }
.unlock-includes li { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 13px 0; }
.unlock-includes .icon { flex-shrink: 0; width: 17px; }
.checkout-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e6e7eb; padding: 22px 0; text-align: left; }
.checkout-total small { display: block; color: #747985; font-size: 12px; margin-top: 7px; }
.checkout-total strong { font-size: 28px; font-weight: 500; }
.checkout-button { width: 100%; justify-content: center; }
.candidate-action { display: flex; align-items: center; gap: 12px; }
.candidate-action button { cursor: pointer; }
.candidate-locked-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-top: 1px solid #eff0f2; margin: 18px 0 0; padding-top: 15px; }
.candidate-locked-facts dt { color: #777d85; font-size: 11px; margin-bottom: 9px; }
.candidate-locked-facts dd { margin: 0; max-width: 110px; }
@media(max-width: 600px) { .candidate-locked-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } .candidate-action { flex-wrap: wrap; } }

/* Pricing choices inside the payment dialog */
.login-modal.payment-modal { width: min(580px, 100%); max-width: 100%; min-width: 0; padding: 34px 32px 28px; }
.account-billing { text-align: left; padding: 18px 0; margin-top: 20px; border-top: 1px solid #e6e7eb; border-bottom: 1px solid #e6e7eb; }
.account-billing h3 { font-size: 16px; margin: 0; }
.account-billing p { font-size: 13px; color: #6e737c; margin: 8px 0 12px; }
.account-billing .text-link { font-size: 13px; }
.pricing-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: left;
}
.pricing-intro .eyebrow {
  margin-bottom: 9px;
}
.pricing-intro h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -.045em;
}
.pricing-intro > p {
  margin-top: 8px;
  color: #6e737c;
  font-size: 14px;
  line-height: 1.65;
}
.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 100%;
  min-width: 0;
  border: 0;
  margin: 18px 0 0;
  padding: 0;
}
.pricing-plan {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px 12px 11px;
  border: 1px solid #e2e4e7;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.pricing-plan:hover {
  border-color: #b9bec5;
}
.pricing-plan.is-selected {
  border-color: #777d85;
  background: #f8f9fa;
  box-shadow: inset 0 0 0 1px #777d85;
}
.pricing-plan input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.pricing-plan:focus-within {
  outline: 2px solid #52525b;
  outline-offset: 2px;
}
.pricing-plan-copy {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 3px;
}
.pricing-plan-copy > strong {
  padding-right: 22px;
  color: #555b63;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.pricing-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 1px;
  color: #25292e;
}
.pricing-plan-price b {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.05em;
}
.pricing-plan-price small {
  color: #70757d;
  font-size: 12px;
}
.pricing-plan-charge {
  color: #727780;
  font-size: 11px;
  line-height: 1.4;
}
.pricing-radio {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  border: 1px solid #b5bac1;
  border-radius: 50%;
  background: white;
}
.pricing-plan.is-selected .pricing-radio {
  border-color: #555b63;
}
.pricing-plan.is-selected .pricing-radio::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555b63;
  content: "";
}
.pricing-access {
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid #eceef0;
}
.pricing-access h3 {
  margin: 0 0 8px;
  color: #555b63;
  font-size: 13px;
  font-weight: 650;
}
.pricing-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #5f656d;
  font-size: 12px;
  line-height: 1.45;
}
.pricing-includes .icon {
  width: 13px;
  height: 13px;
  color: #727780;
}
.pricing-renewal {
  margin: 13px 0 10px;
  color: #6c727a;
  font-size: 12px;
  line-height: 1.5;
}
.pricing-continue {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-content: center;
  gap: 9px;
  padding-inline: 16px;
  white-space: normal;
  line-height: 1.35;
}
.pricing-continue > .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.pricing-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 15px;
  border: 1px solid #e2e4e7;
  border-radius: 10px;
  font-size: 12px;
}
@media (max-width: 480px) {
  .login-modal.payment-modal { width: 100%; padding: 32px 20px 24px; }
  .pricing-plan-grid {
    gap: 7px;
  }
  .pricing-plan {
    padding: 10px 9px;
  }
  .pricing-plan-price b {
    font-size: 20px;
  }
  .pricing-plan-charge {
    font-size: 11px;
  }
  .pricing-includes {
    grid-template-columns: 1fr;
  }
}

.auth-status,
.checkout-status,
.account-status {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #e0e3e6;
  border-radius: 9px;
  background: #f7f8f9;
  color: #555d66;
  font-size: 13px;
  line-height: 1.5;
}
.checkout-recovery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.checkout-recovery[hidden],
.checkout-status[hidden],
.auth-status[hidden],
.account-status[hidden] { display: none; }
.checkout-recovery .primary-button { min-height: 42px; padding: 10px 16px; }
.checkout-recovery button:disabled,
.google-button:disabled,
.cancel-confirm-button:disabled { cursor: wait; opacity: .65; }
.checkout-unavailable {
  margin: 12px 0 0;
  color: #666d75;
  font-size: 13px;
  line-height: 1.5;
}
.payment-status-panel {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  border-bottom: 1px solid #e2e5e8;
  background: #f8f9fa;
  color: #4f565e;
  font-size: 13px;
}
.payment-status-panel p { margin: 0; }
.payment-status-panel > div { display: flex; gap: 12px; }
.payment-status-action,
.payment-status-link {
  border: 0;
  padding: 2px;
  background: transparent;
  color: #343a40;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.payment-status-action:disabled { cursor: wait; opacity: .65; }
.payment-status-error { border-color: #e5d8d4; background: #fbf7f6; }
.saved-reports-empty { padding: 14px; border: 1px solid #e5e7e9; border-radius: 10px; background: #fafafa; }
.saved-reports-empty p { margin: 0 0 8px; color: #646b73; font-size: 13px; line-height: 1.5; }
.account-billing-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 9px; }
.cancel-confirm-button { width: 100%; justify-content: center; }
.cancellation-modal > p { line-height: 1.55; }
@media (max-width: 600px) {
  .payment-status-panel { align-items: flex-start; flex-direction: column; gap: 6px; padding: 10px 16px; }
}
