.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__eyebrow {
  margin: 0 0 0.35rem;
  color: #53657c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.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;
}

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

@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-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__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 a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 0.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid #2f6fed;
  border-radius: 6px;
  background: #2f6fed;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.fs-owned-result {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid #15803d;
  border-radius: 8px;
  background: #f8fbf9;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.fs-owned-result__title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.28;
}

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

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

.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__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.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-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-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-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;
}

