/* WebMCP Directory — extends registry look with teal accent to separate from MCP indigo */
.webmcp-page .dir-hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(13, 148, 136, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(15, 23, 42, 0.04), transparent 50%);
}
.webmcp-page .dir-hero__eyebrow { color: #0f766e; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; font-weight: 600; }
.webmcp-diff {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.75rem;
  font-size: 0.9rem; color: #334155;
}
.webmcp-diff a { color: #0f766e; font-weight: 600; }
.webmcp-metrics {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 1rem; font-size: 0.92rem; color: #475569;
}
.webmcp-metrics b { color: #0f172a; }
.webmcp-card {
  display: flex; flex-direction: column; gap: 0.65rem; padding: 1.1rem 1.15rem;
  border: 1px solid #e2e8f0; border-radius: 14px; background: #fff;
  text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
.webmcp-card:hover { border-color: #99f6e4; box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08); }
.webmcp-card__top { display: flex; gap: 0.75rem; align-items: flex-start; }
.webmcp-card__favicon { width: 36px; height: 36px; border-radius: 8px; background: #f8fafc; object-fit: contain; }
.webmcp-card__host { font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; color: #64748b; }
.webmcp-card__name { font-weight: 650; font-size: 1.05rem; margin: 0; color: #0f172a; }
.webmcp-card__desc { margin: 0; color: #475569; font-size: 0.92rem; line-height: 1.45; }
.webmcp-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.webmcp-badge {
  font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.45rem; border-radius: 999px;
  background: #f1f5f9; color: #334155;
}
.webmcp-badge--live { background: #ccfbf1; color: #115e59; }
.webmcp-badge--demo { background: #fef3c7; color: #92400e; }
.webmcp-badge--verified { background: #dbeafe; color: #1e40af; }
.webmcp-badge--unverified { background: #f8fafc; color: #64748b; }
.webmcp-badge--transact { background: #ffe4e6; color: #9f1239; }
.webmcp-card__tools { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.webmcp-chip {
  font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; padding: 0.15rem 0.4rem;
  border-radius: 6px; background: #f8fafc; color: #0f766e; border: 1px solid #e2e8f0;
}
.webmcp-card__meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8rem; color: #64748b; }
.webmcp-filters {
  display: grid; gap: 0.75rem; margin: 1rem 0 1.25rem;
}
@media (min-width: 900px) {
  .webmcp-filters { grid-template-columns: 1.4fr repeat(4, 1fr) auto; align-items: end; }
}
.webmcp-filters label { display: grid; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; color: #64748b; }
.webmcp-filters input, .webmcp-filters select {
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 0.55rem 0.7rem; font: inherit; background: #fff;
}
.webmcp-grid {
  display: grid; gap: 0.9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .webmcp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .webmcp-grid { grid-template-columns: repeat(3, 1fr); } }
.webmcp-pager { display: flex; gap: 0.75rem; align-items: center; justify-content: center; margin: 1.5rem 0; }
.webmcp-pager a, .webmcp-pager span { font-size: 0.9rem; }
.webmcp-site-layout { display: grid; gap: 1.25rem; }
@media (min-width: 960px) {
  .webmcp-site-layout { grid-template-columns: 280px 1fr; align-items: start; }
}
.webmcp-tool-list { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; max-height: 70vh; overflow: auto; }
.webmcp-tool-list a {
  display: block; padding: 0.7rem 0.85rem; border-bottom: 1px solid #f1f5f9; text-decoration: none; color: #0f172a;
}
.webmcp-tool-list a.is-active, .webmcp-tool-list a:hover { background: #f0fdfa; }
.webmcp-tool-detail { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; padding: 1.1rem 1.2rem; }
.webmcp-schema-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 0.75rem 0; }
.webmcp-schema-table th, .webmcp-schema-table td { border: 1px solid #e2e8f0; padding: 0.45rem 0.55rem; text-align: left; vertical-align: top; }
.webmcp-schema-table th { background: #f8fafc; }
.webmcp-code {
  background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 0.9rem 1rem; overflow: auto;
  font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; line-height: 1.45;
}
.webmcp-cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.webmcp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.55rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; text-decoration: none;
  border: 1px solid transparent;
}
/* Beat .registry-page a { color: var(--hp-link) } so primary text stays white */
a.webmcp-btn--primary,
button.webmcp-btn--primary,
.webmcp-btn--primary {
  background: #0f766e;
  color: #fff;
}
a.webmcp-btn--primary:visited,
a.webmcp-btn--primary:hover,
button.webmcp-btn--primary:hover,
.webmcp-btn--primary:hover {
  background: #0d9488;
  color: #fff;
}
a.webmcp-btn--ghost,
button.webmcp-btn--ghost,
.webmcp-btn--ghost {
  background: #fff;
  color: #0f766e;
  border-color: #99f6e4;
}
a.webmcp-btn--ghost:visited,
a.webmcp-btn--ghost:hover,
button.webmcp-btn--ghost:hover,
.webmcp-btn--ghost:hover {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #5eead4;
}
.webmcp-note { font-size: 0.85rem; color: #64748b; }
.webmcp-prose { max-width: 720px; line-height: 1.6; color: #334155; }
.webmcp-prose h2 { color: #0f172a; margin-top: 1.6rem; }
.webmcp-empty { padding: 2rem 1rem; text-align: center; color: #64748b; border: 1px dashed #cbd5e1; border-radius: 14px; }

/* Influzer first-party WebMCP demo console */
.webmcp-demo__hero { margin-bottom: 1.5rem; max-width: 46rem; }
.webmcp-demo__hero h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.35rem 0 0.6rem; color: #0f172a; }
.webmcp-demo__panel {
  display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem;
}
@media (min-width: 960px) {
  .webmcp-demo__panel { grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr); align-items: start; }
}
.webmcp-demo__controls, .webmcp-demo__results {
  border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; padding: 1.1rem 1.2rem;
}
.webmcp-demo__controls h2, .webmcp-demo__results h3 { margin: 0 0 0.55rem; color: #0f172a; font-family: "Space Grotesk", sans-serif; }
.webmcp-demo__controls label {
  display: grid; gap: 0.35rem; margin: 0.85rem 0; font-size: 0.78rem; font-weight: 650; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em;
}
.webmcp-demo__controls select,
.webmcp-demo__controls textarea {
  width: 100%; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0.65rem 0.75rem;
  font: 500 0.86rem/1.45 "IBM Plex Mono", ui-monospace, monospace; background: #f8fafc; color: #0f172a;
}
.webmcp-demo__presets { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.35rem 0 0.25rem; }
#webmcp-demo-status[data-state="ok"] { color: #0f766e; }
#webmcp-demo-status[data-state="warn"] { color: #b45309; }
.webmcp-demo__log { max-height: 160px; }
.webmcp-demo__howto { margin-top: 0.5rem; }
.webmcp-demo__howto code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.86em; }

/* Scan-gated listing */
.webmcp-scan__hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0.35rem 0 0.65rem;
  color: #0f172a;
}
.webmcp-scan__form,
.webmcp-scan__live,
.webmcp-scan__report {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 1.15rem 1.2rem;
  margin: 1rem 0;
  display: grid;
  gap: 0.85rem;
}
.webmcp-scan__form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: #334155;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.webmcp-scan__form input,
.webmcp-scan__form select {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: 500 1rem/1.4 "Space Grotesk", sans-serif;
  color: #0f172a;
  background: #f8fafc;
}
.webmcp-scan__check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.65rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  line-height: 1.45;
}
.webmcp-scan__check input { margin-top: 0.2rem; }
.webmcp-scan__hp { position: absolute; left: -10000px; }
.webmcp-scan__error { color: #9f1239; margin: 0; font-size: 0.92rem; }
.webmcp-scan__live-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.webmcp-scan__live-host { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 0.9rem; color: #0f766e; }
.webmcp-scan__live-msg { margin: 0.25rem 0 0; color: #0f172a; font-weight: 600; }
.webmcp-scan__timer {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #ccfbf1;
  color: #115e59;
  white-space: nowrap;
}
.webmcp-scan__progress-label {
  display: flex; justify-content: space-between; font-size: 0.82rem; color: #64748b; margin-bottom: 0.35rem;
}
.webmcp-scan__bar {
  height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden;
}
.webmcp-scan__bar > span {
  display: block; height: 100%; width: 0; background: #0f766e; transition: width 0.35s ease;
}
.webmcp-scan__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; text-align: center;
}
.webmcp-scan__stats b {
  display: block; font-size: 1.45rem; color: #0f766e; font-family: "Space Grotesk", sans-serif;
}
.webmcp-scan__stats span { font-size: 0.78rem; color: #64748b; }
.webmcp-scan__grade { display: flex; gap: 0.9rem; align-items: center; }
.webmcp-scan__grade-mark {
  width: 72px; height: 72px; border-radius: 14px; background: #115e59; color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.25rem;
  font-family: "Space Grotesk", sans-serif;
}
.webmcp-scan__grade-label { margin: 0; font-weight: 700; color: #0f172a; font-size: 1.1rem; }
.webmcp-scan__banner {
  padding: 0.75rem 0.85rem; border-radius: 12px; background: #f1f5f9; color: #334155; font-size: 0.92rem;
}
.webmcp-scan__banner.is-ok { background: #ecfeff; color: #155e75; }
.webmcp-scan__banner.is-bad { background: #fff1f2; color: #9f1239; }
.webmcp-scan__findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.webmcp-scan__findings li {
  padding: 0.55rem 0.7rem; border-radius: 10px; background: #f8fafc; color: #334155; font-size: 0.92rem;
  border-left: 3px solid #94a3b8;
}
.webmcp-scan__findings li[data-tone="good"] { border-left-color: #0f766e; }
.webmcp-scan__findings li[data-tone="bad"] { border-left-color: #e11d48; }
.webmcp-scan__findings li[data-tone="warn"] { border-left-color: #d97706; }
.webmcp-scan__tools { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.webmcp-scan__journeys h2 { margin: 0.5rem 0 0.35rem; font-size: 1.05rem; }
.webmcp-scan__journeys ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: #334155; }
.webmcp-scan__journeys li { margin: 0.45rem 0; }
.webmcp-scan__next { margin: 0.75rem 0 0; padding-left: 1.2rem; color: #334155; }
.webmcp-scan__next li { margin: 0.4rem 0; font-size: 0.92rem; line-height: 1.45; }
.webmcp-site-scorecard {
  margin: 1rem 0; padding: 1rem 1.1rem; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff;
}
.webmcp-site-scorecard__top { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 0.75rem; }
