.fs-client-card {
  margin: 0.75rem 0 0.85rem;
  border: 1px solid #c9d7e8;
  border-left: 4px solid #2f6fed;
  border-radius: 8px;
  background: #f8fbff;
  color: #1d2a3a;
  font: 14px/1.45 Arial, sans-serif;
  box-shadow: 0 4px 16px rgba(31, 45, 61, 0.08);
}

.fs-client-card--promoted {
  max-width: 48rem;
  margin: 1rem 0 1.25rem;
}

.fs-client-card__inner {
  padding: 0.85rem 1rem;
}

.fs-client-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin: 0 0 0.35rem;
}

.fs-client-card__eyebrow {
  margin: 0;
  color: #53657c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-client-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0.12rem 0.42rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font: 700 0.74rem/1.2 Arial, sans-serif;
}

.fs-client-card__title {
  margin: 0;
  color: #10243e;
  font-size: 1.05rem;
  font-weight: 700;
}

.fs-client-card__category {
  margin: 0.2rem 0 0;
  color: #31445b;
  font-weight: 600;
}

.fs-client-card__summary {
  margin: 0.55rem 0 0;
  color: #2f3f52;
}

.fs-client-card__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.8rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid #d8e4f3;
}

.fs-client-card__link {
  display: block;
  min-width: 0;
  color: #174ea6 !important;
  text-decoration: none;
}

.fs-client-card__link:hover .fs-client-card__link-title,
.fs-client-card__link:focus .fs-client-card__link-title {
  text-decoration: underline;
}

.fs-client-card__link-title,
.fs-client-card__link-snippet {
  display: block;
  overflow-wrap: anywhere;
}

.fs-client-card__link-title {
  font-weight: 700;
}

.fs-client-card__link-snippet {
  margin-top: 0.15rem;
  color: #53657c;
  font-size: 0.86rem;
}

.fs-client-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.75rem;
}

.fs-client-card__button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border: 1px solid #2f6fed;
  border-radius: 6px;
  background: #2f6fed;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.fs-client-card__domain {
  color: #53657c;
  font-size: 0.9rem;
}

.fs-owned-results-host {
  display: block;
  width: min(48rem, calc(100% - 2rem));
  max-width: 48rem;
  margin: 1rem 0 0;
}

.fs-owned-results-band {
  max-width: 48rem;
  margin: 0.85rem 0 0.65rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid #c9d7e8;
  border-left: 4px solid #0f766e;
  border-radius: 8px;
  background: #f8fbff;
  color: #1d2a3a;
  font: 14px/1.4 Arial, sans-serif;
}

.fs-owned-results-band__eyebrow {
  margin: 0 0 0.22rem;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-owned-results-band h2 {
  margin: 0;
  color: #10243e;
  font-size: 1.06rem;
  line-height: 1.25;
}

.fs-owned-results-band p {
  margin: 0.35rem 0 0;
  overflow-wrap: anywhere;
}

/* Public search should show FutureSearch results, not backend source diagnostics. */
#sidebar,
#engines_msg,
#search_url,
#apis {
  display: none !important;
}

#sidebar[data-futuresearch-profile-rail="true"] {
  display: block !important;
}

#sidebar[data-futuresearch-profile-rail="true"] > :not(.fs-profile-rail) {
  display: none !important;
}

.fs-profile-rail {
  max-width: 24rem;
  margin: 0 0 1rem;
  color: #1d2a3a;
}

.fs-profile-rail__eyebrow {
  margin: 0 0 0.45rem;
  color: #53657c;
  font: 700 0.78rem/1.3 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-profile-rail .fs-client-card {
  margin-top: 0;
}

@media (min-width: 980px) {
  .fs-profile-rail {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 640px) {
  .fs-client-card {
    margin-right: 0.25rem;
  }

  .fs-client-card__inner {
    padding: 0.75rem;
  }

  .fs-client-card__links {
    grid-template-columns: 1fr;
  }

  .fs-client-card__badge {
    white-space: normal;
  }
}

.fs-empty-state {
  max-width: 48rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #c9d7e8;
  border-left: 4px solid #2f6fed;
  border-radius: 8px;
  background: #f8fbff;
  color: #1d2a3a;
  font: 14px/1.45 Arial, sans-serif;
  box-shadow: 0 4px 16px rgba(31, 45, 61, 0.08);
}

.fs-empty-state--coverage-gap {
  border-color: #d9cfa8;
  border-left-color: #a16207;
  background: #fffdf5;
}

.fs-empty-state__eyebrow {
  margin: 0 0 0.35rem;
  color: #53657c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-empty-state h3 {
  margin: 0;
  color: #10243e;
  font-size: 1.05rem;
}

.fs-empty-state p {
  margin: 0.55rem 0 0;
  color: #2f3f52;
}

.fs-empty-state__hint {
  color: #53657c;
}

.fs-empty-state__evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem 0.7rem;
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
  color: #42546a;
}

.fs-empty-state__evidence-list li {
  margin: 0;
  overflow-wrap: anywhere;
}

.fs-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.fs-empty-state a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border: 1px solid #2f6fed;
  border-radius: 6px;
  background: #2f6fed;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.fs-empty-state__link--secondary {
  border-color: #c9d7e8 !important;
  background: #ffffff !important;
  color: #174ea6 !important;
}

.fs-site-claim-note {
  margin-top: 0.8rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #b7d7c4;
  border-left: 3px solid #15803d;
  border-radius: 6px;
  background: #f7fcf8;
  color: #1d3528;
}

.fs-site-claim-note--compact {
  margin-top: 0.7rem;
  background: #ffffff;
}

.fs-search-status .fs-site-claim-note {
  margin-top: 0.65rem;
}

.fs-search-status .fs-site-claim-note__proof {
  display: none;
}

.fs-site-claim-note__eyebrow {
  margin: 0 0 0.25rem !important;
  color: #12613a !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-site-claim-note p {
  margin: 0.35rem 0 0;
}

.fs-site-claim-note__proof {
  color: #4c5d54 !important;
}

.fs-site-claim-note__link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 0.55rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid #15803d;
  border-radius: 6px;
  background: #15803d;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

.fs-owned-result {
  margin: 0.95rem 0;
  padding: 0.78rem 0 0.78rem 0.86rem;
  border-left: 3px solid #64748b;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fs-owned-result--client {
  border-left-color: #15803d;
  background: #f8fbf9;
  border-radius: 6px;
  padding: 0.9rem 1rem;
}

.fs-owned-result--spider {
  border-left-color: #94a3b8;
  background: transparent;
}

.fs-owned-result--reviewed {
  border-left-color: #0f766e;
  background: #f7fcfb;
  border-radius: 6px;
  padding: 0.86rem 1rem;
}

.fs-owned-result--fallback {
  border-left-color: #1d4ed8;
  background: #f8fbff;
  border-radius: 6px;
  padding: 0.86rem 1rem;
}

.fs-owned-result__title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.fs-owned-result__url,
.fs-owned-result__snippet {
  margin: 0 0 6px;
  color: #334155;
  overflow-wrap: anywhere;
}

.fs-owned-result__snippet {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.fs-owned-result__url {
  color: #166534;
  font-size: 0.92rem;
}

.fs-owned-result--spider .fs-owned-result__url {
  color: #475569;
}

.fs-owned-result__evidence {
  margin: 0 0 6px;
  color: #64748b;
  font-size: 0.82rem;
}

.fs-owned-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 6px;
}

.fs-owned-result__meta .fs-owned-result__url {
  margin: 0;
}

.fs-owned-result__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0.12rem 0.42rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font: 700 0.74rem/1.2 Arial, sans-serif;
  white-space: nowrap;
}

.fs-owned-result--client .fs-owned-result__badge {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #166534;
}

.fs-owned-result--fallback .fs-owned-result__badge {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.fs-owned-result--reviewed .fs-owned-result__badge {
  border-color: #99f6e4;
  background: #ecfdf5;
  color: #0f766e;
}

.fs-owned-result__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  align-items: center;
  margin: 0 0 0.45rem;
}

.fs-owned-result__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 20px;
  padding: 0.12rem 0.42rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font: 700 0.72rem/1.2 Arial, sans-serif;
  overflow-wrap: anywhere;
}

.fs-owned-result__chip--reviewed {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #166534;
}

.fs-owned-result__chip--more {
  background: #ffffff;
  color: #64748b;
}

.fs-owned-result__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.fs-owned-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.65rem;
}

.fs-owned-result__primary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.68rem;
  border: 1px solid #15803d;
  border-radius: 6px;
  background: #15803d;
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
}

.fs-owned-result__primary:hover,
.fs-owned-result__primary:focus {
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.14);
  outline: none;
}

.fs-owned-result__link {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #cfe3d5;
  border-radius: 6px;
  background: #ffffff;
  color: inherit !important;
  text-decoration: none;
}

.fs-owned-result__link:hover,
.fs-owned-result__link:focus {
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.11);
  outline: none;
}

.fs-owned-result__link-title {
  color: #0f4d2e;
  font-weight: 750;
  font-size: 0.9rem;
}

.fs-owned-result__link-snippet {
  color: #526071;
  font-size: 0.78rem;
  line-height: 1.3;
}

.fs-spider-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #c6d7cf;
  border-radius: 999px;
  background: #ffffff;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  vertical-align: middle;
}

.fs-spider-mark:hover,
.fs-spider-mark:focus {
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.14);
  outline: none;
}

.fs-spider-mark img {
  width: 12px;
  height: 12px;
  display: block;
}

.fs-spider-popover {
  flex-basis: 100%;
  max-width: 26rem;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #bfd7d0;
  border-radius: 8px;
  background: #ffffff;
  color: #173b36;
  font: 13px/1.35 Arial, sans-serif;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.fs-spider-popover strong,
.fs-spider-popover span {
  display: block;
}

.fs-spider-popover span {
  margin-top: 0.2rem;
}

.fs-spider-popover__link {
  display: inline-flex;
  margin-top: 0.4rem;
  color: #174ea6 !important;
  font-weight: 800;
  text-decoration: none;
}

.fs-spider-popover__link:hover,
.fs-spider-popover__link:focus {
  text-decoration: underline;
}
.fs-did-you-mean {
  max-width: 48rem;
  margin: 0.75rem 0 0.5rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d7e2ef;
  border-left: 4px solid #6d5dfc;
  border-radius: 8px;
  background: #fbfbff;
  color: #26364a;
  font: 14px/1.4 Arial, sans-serif;
  box-shadow: 0 4px 14px rgba(31, 45, 61, 0.06);
}

.fs-did-you-mean a {
  color: #1d4ed8 !important;
  font-weight: 800;
  text-decoration: none;
}

.fs-did-you-mean a:hover,
.fs-did-you-mean a:focus {
  text-decoration: underline;
}

.fs-search-context-note {
  max-width: 48rem;
  margin: 0.75rem 0 0.75rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid #d7e2ef;
  border-left: 4px solid #1d4ed8;
  border-radius: 8px;
  background: #f8fbff;
  color: #26364a;
  font: 14px/1.4 Arial, sans-serif;
  box-shadow: 0 4px 14px rgba(31, 45, 61, 0.06);
}

.fs-search-context-note__eyebrow {
  margin: 0 0 0.25rem;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-search-context-note p {
  margin: 0;
}

.fs-mixed-intent-strip {
  max-width: 48rem;
  margin: 0.75rem 0 0.75rem;
  padding: 0.62rem 0.8rem;
  border: 1px solid #d6dfec;
  border-left: 4px solid #64748b;
  border-radius: 8px;
  background: #f8fafc;
  color: #26364a;
  font: 14px/1.4 Arial, sans-serif;
}

.fs-mixed-intent-strip__eyebrow {
  margin: 0 0 0.2rem;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-mixed-intent-strip p {
  margin: 0;
}

.fs-search-status {
  max-width: 48rem;
  margin: 0.75rem 0 0.75rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid #d6dfec;
  border-left: 4px solid #475569;
  border-radius: 8px;
  background: #ffffff;
  color: #26364a;
  font: 14px/1.4 Arial, sans-serif;
  box-shadow: 0 4px 14px rgba(31, 45, 61, 0.05);
}

.fs-search-status__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  align-items: baseline;
}

.fs-search-status__eyebrow {
  margin: 0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-search-status__summary p,
.fs-search-status__detail {
  margin: 0;
}

.fs-search-status__detail {
  margin-top: 0.25rem;
  color: #46586e;
}

.fs-search-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.65rem;
}

.fs-search-pagination--empty {
  margin-top: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid #d6dfec;
}

.fs-search-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  padding: 0.25rem 0.48rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #174ea6 !important;
  font-weight: 750;
  text-decoration: none;
}

.fs-search-pagination__page:hover,
.fs-search-pagination__page:focus {
  border-color: #2f6fed;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.11);
  outline: none;
}

.fs-search-pagination__page--current {
  border-color: #475569;
  background: #475569;
  color: #ffffff !important;
}

.fs-search-pagination__page--disabled {
  color: #94a3b8 !important;
  background: #f8fafc;
  pointer-events: none;
}

.fs-freshness-note {
  max-width: 48rem;
  margin: 0.75rem 0 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #bfd7d0;
  border-left: 4px solid #0f766e;
  border-radius: 8px;
  background: #f6fffc;
  color: #173b36;
  font: 14px/1.4 Arial, sans-serif;
  box-shadow: 0 4px 14px rgba(20, 83, 75, 0.06);
}

.fs-freshness-note__eyebrow {
  margin: 0 0 0.35rem;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-freshness-note p {
  margin: 0;
}

.fs-source-answer-card {
  max-width: 48rem;
  margin: 1rem 0 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #c9d7e8;
  border-left: 4px solid #1d4ed8;
  border-radius: 8px;
  background: #f8fbff;
  color: #1d2a3a;
  font: 14px/1.45 Arial, sans-serif;
  box-shadow: 0 4px 16px rgba(31, 45, 61, 0.08);
}

.fs-source-answer-card__eyebrow {
  margin: 0 0 0.35rem;
  color: #53657c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fs-source-answer-card h3 {
  margin: 0;
  color: #10243e;
  font-size: 1.08rem;
}

.fs-source-answer-card__summary,
.fs-source-answer-card__disclaimer {
  margin: 0.55rem 0 0;
  color: #2f3f52;
}

.fs-source-answer-card__sections {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
}

.fs-source-answer-card__sections div {
  padding: 0.6rem 0.7rem;
  border: 1px solid #d8e4f3;
  border-radius: 6px;
  background: #ffffff;
}

.fs-source-answer-card__sections dt {
  margin: 0 0 0.18rem;
  color: #10243e;
  font-weight: 800;
}

.fs-source-answer-card__sections dd {
  margin: 0;
  color: #34465d;
}

.fs-source-answer-card__disclaimer {
  color: #5b4c1f;
}

.fs-source-answer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.8rem;
}

.fs-source-answer-card__button,
.fs-source-answer-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.fs-source-answer-card__button {
  border: 1px solid #2f6fed;
  background: #2f6fed;
  color: #fff !important;
}

.fs-source-answer-card__link {
  border: 1px solid #c9d7e8;
  background: #ffffff;
  color: #174ea6 !important;
}

.fs-stale-label {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 0.35rem;
  padding: 0.16rem 0.42rem;
  border: 1px solid #f0c98a;
  border-radius: 999px;
  background: #fff8e8;
  color: #775315;
  font: 700 0.78rem/1.25 Arial, sans-serif;
}

[data-futuresearch-stale-result="true"] {
  opacity: 0.86;
}

@media (max-width: 640px) {
  .fs-owned-results-host,
  .fs-owned-results-band,
  .fs-empty-state,
  .fs-search-context-note,
  .fs-mixed-intent-strip,
  .fs-search-status,
  .fs-freshness-note,
  .fs-source-answer-card {
    width: auto;
    max-width: calc(100% - 1rem);
    margin-left: 0;
    margin-right: 0.5rem;
  }

  .fs-owned-result,
  .fs-owned-result--client,
  .fs-owned-result--reviewed,
  .fs-owned-result--fallback {
    padding: 0.72rem 0.78rem;
  }

  .fs-owned-result__meta {
    align-items: flex-start;
    gap: 0.32rem;
  }

  .fs-owned-result__badge {
    white-space: normal;
  }

  .fs-owned-result__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .fs-owned-result__snippet {
    -webkit-line-clamp: 2;
  }

  .fs-empty-state__evidence-list {
    grid-template-columns: 1fr;
  }

  .fs-owned-result__primary {
    width: 100%;
    justify-content: center;
  }

  .fs-search-status__summary {
    display: block;
  }

  .fs-search-status__summary p + p {
    margin-top: 0.18rem;
  }

  .fs-search-pagination {
    flex-wrap: nowrap;
    margin-right: -0.2rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .fs-search-pagination__page {
    flex: 0 0 auto;
  }
}

