#agent-marketplace-homepage.amh-build-first .amk-plugins {
  color: var(--color-ink);
  font-family: var(--font-sans);
}
#agent-marketplace-homepage.amh-build-first .amk-plugins [hidden] { display: none !important; }
#agent-marketplace-homepage.amh-build-first .plugin-intro {
  padding-top: var(--space-6);
  padding-bottom: var(--space-7);
}
#agent-marketplace-homepage.amh-build-first .plugin-intro h1 {
  margin: var(--space-5) 0 var(--space-4);
  font: 700 var(--text-h1) / 1.15 var(--font-sans);
  letter-spacing: normal;
}
#agent-marketplace-homepage.amh-build-first .plugin-intro > p {
  max-width: 44em;
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.5;
}
#agent-marketplace-homepage.amh-build-first .plugin-catalog { padding-bottom: var(--space-8); }
#agent-marketplace-homepage.amh-build-first .plugin-card {
  border-color: var(--color-line);
  border-radius: var(--radius-lg);
}
#agent-marketplace-homepage.amh-build-first .plugin-preview {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-accent-wash);
  border-color: var(--color-line);
  font: 600 var(--text-md) / 1.4 var(--font-sans);
}
#agent-marketplace-homepage.amh-build-first .plugin-preview-channel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
}
#agent-marketplace-homepage.amh-build-first .plugin-preview-line { color: var(--color-accent); font-size: var(--text-lg); }
#agent-marketplace-homepage.amh-build-first .plugin-card .bf-pack-copy { padding: var(--space-5); }
#agent-marketplace-homepage.amh-build-first .plugin-card h2 {
  margin: 0 0 var(--space-3);
  font: 700 var(--text-lg) / 1.3 var(--font-sans);
}
#agent-marketplace-homepage.amh-build-first .plugin-card .bf-card-status {
  font: 600 var(--text-sm) / 1.4 var(--font-sans);
  color: var(--color-muted);
}
#agent-marketplace-homepage.amh-build-first .plugin-card-cue { color: var(--color-accent); font-size: var(--text-sm); }
#agent-marketplace-homepage.amh-build-first .plugin-product { padding-top: var(--space-5); padding-bottom: var(--space-8); }
#agent-marketplace-homepage.amh-build-first .plugin-product-intro { padding-top: var(--space-5); }
#agent-marketplace-homepage.amh-build-first .plugin-product-intro h1 { margin-top: var(--space-3); }
#agent-marketplace-homepage.amh-build-first .plugin-intro > .plugin-kicker {
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 600;
}
#agent-marketplace-homepage.amh-build-first .plugin-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-7);
}
#agent-marketplace-homepage.amh-build-first .plugin-details { min-width: 0; }
#agent-marketplace-homepage.amh-build-first .plugin-details > section { padding-bottom: var(--space-6); }
#agent-marketplace-homepage.amh-build-first .plugin-details > section + section { padding-top: var(--space-6); border-top: 1px solid var(--color-line); }
#agent-marketplace-homepage.amh-build-first .amk-plugins h2 {
  margin: 0 0 var(--space-4);
  font: 700 var(--text-lg) / 1.3 var(--font-sans);
}
#agent-marketplace-homepage.amh-build-first .amk-plugins h3 { font: 700 var(--text-base) / 1.4 var(--font-sans); }
#agent-marketplace-homepage.amh-build-first .plugin-details p,
#agent-marketplace-homepage.amh-build-first .plugin-purchase > p,
#agent-marketplace-homepage.amh-build-first .plugin-feature-list {
  margin: 0 0 var(--space-4);
  font-size: var(--text-base);
  line-height: 1.5;
}
#agent-marketplace-homepage.amh-build-first .plugin-feature-list { padding-left: var(--space-5); }
#agent-marketplace-homepage.amh-build-first .plugin-feature-list li + li { margin-top: var(--space-3); }
#agent-marketplace-homepage.amh-build-first .plugin-compatibility { margin: 0 0 var(--space-4); }
#agent-marketplace-homepage.amh-build-first .plugin-compatibility > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-line);
  font-size: var(--text-md);
}
#agent-marketplace-homepage.amh-build-first .plugin-compatibility dt { font-weight: 600; }
#agent-marketplace-homepage.amh-build-first .plugin-compatibility dd { margin: 0; color: var(--color-muted); text-align: right; }
#agent-marketplace-homepage.amh-build-first .plugin-purchase {
  min-width: 0;
  padding: var(--space-6);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
#agent-marketplace-homepage.amh-build-first .plugin-purchase-heading { margin-bottom: var(--space-5); }
#agent-marketplace-homepage.amh-build-first .plugin-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); margin: 0; }
#agent-marketplace-homepage.amh-build-first .plugin-price strong { font-size: var(--text-document-title); }
#agent-marketplace-homepage.amh-build-first .plugin-price span { color: var(--color-muted); font-size: var(--text-sm); }
#agent-marketplace-homepage.amh-build-first .amk-plugins .plugin-small { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.5; }
#agent-marketplace-homepage.amh-build-first .plugin-purchase .plugin-mode {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-warn-bg);
  color: var(--color-warn-ink);
  font-size: var(--text-sm);
}
#agent-marketplace-homepage.amh-build-first .plugin-purchase .plugin-account { overflow-wrap: anywhere; font-size: var(--text-sm); }
#agent-marketplace-homepage.amh-build-first .plugin-form { display: grid; gap: var(--space-3); margin: var(--space-5) 0; }
#agent-marketplace-homepage.amh-build-first .plugin-form > label { font-size: var(--text-sm); font-weight: 600; }
#agent-marketplace-homepage.amh-build-first .plugin-form input:not([type="checkbox"]),
#agent-marketplace-homepage.amh-build-first .plugin-install textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--tap-min);
  padding: var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-ink);
  font: 400 var(--text-base) / 1.5 var(--font-sans);
}
#agent-marketplace-homepage.amh-build-first .plugin-form input:focus-visible,
#agent-marketplace-homepage.amh-build-first .plugin-install textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
#agent-marketplace-homepage.amh-build-first .plugin-form .plugin-policy {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: var(--tap-min);
  font-weight: 400;
  line-height: 1.5;
}
#agent-marketplace-homepage.amh-build-first .plugin-policy input { flex: none; margin-top: var(--space-1); }
#agent-marketplace-homepage.amh-build-first .plugin-actions { display: grid; gap: var(--space-2); margin: var(--space-5) 0 var(--space-3); justify-items: stretch; }
#agent-marketplace-homepage.amh-build-first .plugin-actions .btn-quiet { justify-self: start; }
#agent-marketplace-homepage.amh-build-first .plugin-purchase .status-line { font: 400 var(--text-sm) / 1.5 var(--font-sans); margin-bottom: var(--space-4); }
#agent-marketplace-homepage.amh-build-first .plugin-install { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-line); }
#agent-marketplace-homepage.amh-build-first .plugin-install ol { padding-left: var(--space-5); font-size: var(--text-sm); line-height: 1.5; }
#agent-marketplace-homepage.amh-build-first .plugin-install li + li { margin-top: var(--space-3); }
#agent-marketplace-homepage.amh-build-first .plugin-install textarea { display: block; margin: var(--space-2) 0 var(--space-3); resize: vertical; }
#agent-marketplace-homepage.amh-build-first .plugin-install-commands { margin-top: var(--space-4); font-size: var(--text-sm); line-height: 1.5; }
#agent-marketplace-homepage.amh-build-first .plugin-install-commands summary { min-height: var(--tap-min); cursor: pointer; }
#agent-marketplace-homepage.amh-build-first .plugin-install-commands pre { padding: var(--space-3); overflow-x: auto; background: var(--color-canvas); border-radius: var(--radius-md); }
#agent-marketplace-homepage.amh-build-first .plugin-install-commands code { font: 400 var(--text-xs) / 1.5 var(--font-mono); overflow-wrap: anywhere; }
#agent-marketplace-homepage.amh-build-first .plugin-help { font-size: var(--text-sm); }
#agent-marketplace-homepage.amh-build-first .plugin-showcase {
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid var(--color-line);
}
#agent-marketplace-homepage.amh-build-first .plugin-showcase p {
  margin: 0 0 var(--space-5);
  font-size: var(--text-base);
  line-height: 1.5;
}
#agent-marketplace-homepage.amh-build-first .plugin-screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-6);
}
#agent-marketplace-homepage.amh-build-first .plugin-screenshot-channels { grid-row: span 2; }
#agent-marketplace-homepage.amh-build-first .plugin-screenshot { min-width: 0; margin: 0; }
#agent-marketplace-homepage.amh-build-first .plugin-screenshot > a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
#agent-marketplace-homepage.amh-build-first .plugin-screenshot > a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
#agent-marketplace-homepage.amh-build-first .plugin-screenshot img { display: block; width: 100%; height: auto; }
#agent-marketplace-homepage.amh-build-first .plugin-screenshot figcaption { padding-top: var(--space-4); }
#agent-marketplace-homepage.amh-build-first .plugin-screenshot h3 { margin: 0 0 var(--space-2); }
#agent-marketplace-homepage.amh-build-first .plugin-screenshot figcaption p { margin: 0; font-size: var(--text-sm); }
@media (max-width: 900px) {
  #agent-marketplace-homepage.amh-build-first .plugin-product-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  #agent-marketplace-homepage.amh-build-first .plugin-purchase { grid-row: 1; }
}
@media (max-width: 700px) {
  #agent-marketplace-homepage.amh-build-first .plugin-intro { padding-top: var(--space-5); padding-bottom: var(--space-6); }
  #agent-marketplace-homepage.amh-build-first .plugin-purchase { padding: var(--space-5); }
  #agent-marketplace-homepage.amh-build-first .plugin-product { padding-top: var(--space-4); }
  #agent-marketplace-homepage.amh-build-first .plugin-screenshot-grid { grid-template-columns: minmax(0, 1fr); }
  #agent-marketplace-homepage.amh-build-first .plugin-screenshot-channels { grid-row: auto; }
}
