/* Isolation + local chrome for the MCP page. Vendor utilities live in landings.css / mcp.css. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/images/hf-mcp/fonts/inter/inter-latin-100-900.woff2) format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/images/hf-mcp/fonts/space-grotesk/space-grotesk-latin-300-700.woff2) format("woff2");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/images/hf-mcp/fonts/space-mono/space-mono-latin-400.woff2) format("woff2");
}

.hf-mcp-scope {
  --font-inter: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-space-grotesk: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-space-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-sans: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
  --font-grotesk: var(--font-space-grotesk);
  --font-mono: var(--font-space-mono);
  --spacing: 0.25rem;
  --header-height-v2: 4.25rem;
  background: #080809;
  color: #f5f5f5;
  width: 100%;
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color-scheme: dark;
  display: block !important;
  grid-template: none !important;
}

.hf-mcp-scope #main {
  display: block;
  width: 100%;
  min-width: 0;
}

.hf-mcp-scope .q-button-md {
  height: 3rem;
  min-width: 3rem;
  gap: 0.375rem;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.375rem;
}

.hf-mcp-scope ._actions_gdaa0_109 {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.hf-mcp-scope ._actions_gdaa0_109 .q-button-sm {
  height: 2.5rem;
  min-height: 2.5rem;
  min-width: 0;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  white-space: nowrap;
}

.hf-mcp-scope ._heroButton_1i2ms_186 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: normal;
}

.hf-mcp-scope ._navigation_19b1d_1 {
  background: transparent;
  border-bottom: 0;
}

.hf-mcp-scope ._hero_1i2ms_1 {
  background: transparent;
}

.hf-mcp-scope ._intro_tm0b9_12 > ._background_tm0b9_1 {
  pointer-events: none;
  opacity: 0.7;
}

.hf-mcp-scope ._title_1i2ms_39 {
  letter-spacing: 0.04em;
  line-height: 1.35;
  font-size: clamp(calc(2rem + 3px), calc(3.5vw + 3px), calc(3rem + 3px));
  max-width: 62rem;
}

.hf-mcp-scope ._title_1i2ms_39 > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
}

.hf-mcp-scope ._title_1i2ms_39 > span > br {
  display: none;
}

.hf-mcp-scope ._titleLine_1i2ms_52,
.hf-mcp-scope ._titleLine_1lmio_4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  line-height: 1;
}

.hf-mcp-scope ._badge_1i2ms_53,
.hf-mcp-scope ._badge_1lmio_5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.hf-mcp-scope ._setup_1lmio_37 {
  width: min(42rem, 100%);
}

.hf-mcp-scope ._prompt_1lmio_59,
.hf-mcp-scope ._setup_1lmio_37 .text-q-mono-sm-regular {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1rem;
}

.hf-mcp-scope ._setup_1lmio_37 .q-button-xxs {
  height: 1.5rem;
  min-height: 1.5rem;
  min-width: 1.5rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 999px;
}

.hf-mcp-scope ._skillRowActions_rh31f_295 .q-button-xs {
  height: 2rem;
  min-height: 2rem;
  min-width: 2rem;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 0.5rem;
}

.hf-mcp-scope ._content_1i2ms_14 {
  gap: 2.75rem;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-list {
  height: 3.25rem;
  padding: 0.3rem;
  gap: 0.3rem;
  border-radius: 999px;
  background: color-mix(in srgb, white 8%, transparent);
  border: 1px solid color-mix(in srgb, white 14%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 12%, transparent);
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab {
  position: relative;
  isolation: isolate;
  height: 2.65rem;
  min-height: 2.65rem;
  width: auto;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  box-sizing: border-box;
  flex: 0 0 auto;
  color: color-mix(in srgb, white 68%, transparent);
  background: transparent;
  transition: color 0.2s ease;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab-content {
  position: relative;
  z-index: 1;
}

.hf-mcp-scope ._navigation_19b1d_1 .hf-mcp-tab-thumb {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px;
  background: color-mix(in srgb, white 16%, transparent);
  pointer-events: none;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab[data-agent="chatgpt"] {
  min-width: 8.75rem;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab[data-agent="claude"] {
  min-width: 7.5rem;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab[data-agent="cli"] {
  min-width: 13.5rem;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab-text {
  font-weight: inherit;
  overflow: visible;
  text-overflow: clip;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab-icon svg,
.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab-icon img,
.hf-mcp-scope ._navigation_19b1d_1 .hf-cli-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.hf-mcp-scope ._navigation_19b1d_1 .q-tabs-tab[data-active] {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  box-shadow: none;
}

.hf-mcp-scope ._catalog_rh31f_265 {
  width: 100%;
  max-width: 85rem;
  margin-inline: auto;
}

.hf-mcp-scope ._connectorCopy_1i2ms_19,
.hf-mcp-scope .text-q-label-sm-medium {
  font-size: 0.875rem;
  line-height: 1rem;
}

.hf-mcp-scope .hf-mcp-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  background: #1c1d20;
  color: #f5f5f5;
  border: 1px solid #ffffff1f;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 13px;
  pointer-events: none;
}

.hf-mcp-scope .hf-mcp-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #00000099;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hf-mcp-scope .hf-mcp-overlay[data-open="true"] {
  opacity: 1;
}

.hf-mcp-scope .hf-mcp-modal {
  width: min(86rem, calc(100vw - 3rem));
  height: 66vh;
  max-height: 66vh;
  overflow: hidden;
  background: #131517;
  color: #f5f5f5;
  border: 1px solid var(--hf-color-border-subtle, #ffffff1a);
  border-radius: 1.25rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hf-mcp-scope .hf-mcp-overlay[data-open="true"] .hf-mcp-modal {
  transform: none;
  opacity: 1;
}

.hf-mcp-scope .hf-mcp-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.5rem;
}

.hf-mcp-scope .hf-mcp-modal header h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.hf-mcp-scope .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hf-mcp-scope .hf-mcp-modal-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff14;
  color: inherit;
  cursor: pointer;
}

.hf-mcp-scope .hf-mcp-guide {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  padding: 0.75rem 1.25rem 1.5rem;
  min-height: 0;
  flex: 1;
}

.hf-mcp-scope .hf-mcp-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hf-mcp-scope .hf-mcp-step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hf-mcp-scope .hf-mcp-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, white 10%, transparent);
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.hf-mcp-scope .hf-mcp-guide-media {
  aspect-ratio: auto;
  width: 100%;
  min-height: 0;
  height: 100%;
  border-radius: 1rem;
  background: #0b0c0e;
  overflow: hidden;
  position: relative;
}

.hf-mcp-scope .hf-mcp-guide-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0b0c0e;
  pointer-events: none;
}

@media (max-width: 47.999rem) {
  .hf-mcp-scope .hf-mcp-guide {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hf-mcp-scope .hf-mcp-step img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}

.hf-mcp-scope .hf-mcp-step h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1rem;
}

.hf-mcp-scope .hf-mcp-step p {
  margin: 0;
  font-size: 0.875rem;
  color: #b4b6bb;
  white-space: pre-wrap;
}

.hf-mcp-scope .hf-cli-icon,
.hf-mcp-scope .hf-other-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* Vendor `.q-button-*` colors live in @layer utilities; `.hf-mcp-scope a { color: inherit }` would keep white text on white CTAs. */
.hf-mcp-scope a.q-button {
  text-decoration: none;
}

.hf-mcp-scope a.q-button-primary,
.hf-mcp-scope a.q-button-secondary,
.hf-mcp-scope a.q-button-marketing-primary,
.hf-mcp-scope a.q-button-marketing-secondary {
  color: var(--hf-color-text-inverse);
}

.hf-mcp-scope a.q-button-tertiary,
.hf-mcp-scope a.q-button-marketing-tertiary {
  color: var(--hf-color-text-primary);
}

.hf-mcp-scope ._navigation_19b1d_1 {
  top: calc(var(--header-height-v2) + 1.25rem);
  padding-top: 1.25rem;
}

.hf-mcp-scope button._skillRowLink_rh31f_284 {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
