/* Personal Trainer uses the site's shared reading and surface tokens. */
#agent-marketplace-homepage.amh-build-first .fitness-page { color: var(--color-ink); font: var(--text-base)/1.6 var(--font-sans); padding-top: var(--space-6); }
#agent-marketplace-homepage.amh-build-first .fitness-page * { box-sizing: border-box; }
#agent-marketplace-homepage.amh-build-first .fitness-shell { width: min(1080px, calc(100% - 2 * var(--shell-gutter))); margin: auto; }
#agent-marketplace-homepage.amh-build-first .fitness-page :where(h1, h2, h3, p, blockquote) { margin: 0; }
#agent-marketplace-homepage.amh-build-first .fitness-page :is(h1, h2, h3) { font-family: var(--font-sans); font-weight: 650; color: var(--color-ink); }
#agent-marketplace-homepage.amh-build-first .fitness-page p { font-size: var(--text-base); line-height: 1.6; color: var(--color-muted); }
#agent-marketplace-homepage.amh-build-first .fitness-back { display: inline-flex; align-items: center; min-height: var(--tap-min); font-size: var(--text-sm); color: var(--color-muted); text-underline-offset: 3px; }
#agent-marketplace-homepage.amh-build-first .fitness-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--space-7); padding: var(--space-6) 0 var(--space-7); align-items: start; }
#agent-marketplace-homepage.amh-build-first .fitness-hero > * { min-width: 0; }
#agent-marketplace-homepage.amh-build-first .fitness-page h1 { margin-bottom: var(--space-3); font-size: var(--text-h1); line-height: 1.15; }
#agent-marketplace-homepage.amh-build-first .fitness-page p.fitness-byline { margin-bottom: var(--space-5); font-size: var(--text-sm); }
#agent-marketplace-homepage.amh-build-first .fitness-page p.fitness-lead { font-size: var(--text-lg); line-height: 1.55; max-width: 52ch; color: var(--color-ink); }
#agent-marketplace-homepage.amh-build-first .fitness-purchase { display: grid; justify-items: start; gap: var(--space-4); margin-top: var(--space-5); }
#agent-marketplace-homepage.amh-build-first .fitness-purchase p { font-size: var(--text-md); max-width: 48ch; }
#agent-marketplace-homepage.amh-build-first .fitness-sample { margin: 0; max-width: 430px; }
#agent-marketplace-homepage.amh-build-first .fitness-sample img { display: block; width: 100%; height: auto; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
#agent-marketplace-homepage.amh-build-first .fitness-sample figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); margin-top: var(--space-2); color: var(--color-muted); font-size: var(--text-sm); }
#agent-marketplace-homepage.amh-build-first .fitness-sample a { display: inline-flex; align-items: center; min-height: var(--tap-min); color: var(--color-accent); text-underline-offset: 3px; }
#agent-marketplace-homepage.amh-build-first .fitness-conversation { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-line); }
#agent-marketplace-homepage.amh-build-first .fitness-conversation blockquote { color: var(--color-ink); font-size: var(--text-base); line-height: 1.5; margin-bottom: var(--space-3); }
#agent-marketplace-homepage.amh-build-first .fitness-conversation p { font-size: var(--text-sm); }
#agent-marketplace-homepage.amh-build-first .fitness-section { border-top: 1px solid var(--color-line); padding: var(--space-6) 0; }
#agent-marketplace-homepage.amh-build-first .fitness-section-heading h2 { font-size: var(--text-lg); line-height: 1.3; margin-bottom: var(--space-3); }
#agent-marketplace-homepage.amh-build-first .fitness-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--space-5); margin-top: var(--space-5); }
#agent-marketplace-homepage.amh-build-first .fitness-features h3 { font-size: var(--text-base); line-height: 1.3; margin-bottom: var(--space-3); }
#agent-marketplace-homepage.amh-build-first .fitness-features p { font-size: var(--text-md); }
#agent-marketplace-homepage.amh-build-first .fitness-foundation { padding-top: var(--space-5); margin-top: var(--space-5); border-top: 1px solid var(--color-line); }
#agent-marketplace-homepage.amh-build-first .fitness-foundation p { font-size: var(--text-md); max-width: 80ch; }
#agent-marketplace-homepage.amh-build-first .fitness-section a { color: var(--color-accent); text-underline-offset: 3px; }
#agent-marketplace-homepage.amh-build-first .fitness-endnote { padding: var(--space-5) 0 var(--space-6); border-top: 1px solid var(--color-line); }
#agent-marketplace-homepage.amh-build-first .fitness-endnote p { font-size: var(--text-sm); max-width: 80ch; }
@media (max-width: 900px) {
  #agent-marketplace-homepage.amh-build-first .fitness-hero { grid-template-columns: minmax(0,1fr); gap: var(--space-6); }
  #agent-marketplace-homepage.amh-build-first .fitness-example { max-width: 640px; }
}
@media (max-width: 700px) {
  #agent-marketplace-homepage.amh-build-first .fitness-shell { width: calc(100% - 2 * var(--space-4)); }
  #agent-marketplace-homepage.amh-build-first .fitness-page { padding-top: var(--space-4); }
  #agent-marketplace-homepage.amh-build-first .fitness-hero { padding: var(--space-5) 0 var(--space-6); }
  #agent-marketplace-homepage.amh-build-first .fitness-features { grid-template-columns: minmax(0,1fr); gap: var(--space-5); }
  #agent-marketplace-homepage.amh-build-first .fitness-features article + article { border-top: 1px solid var(--color-line); padding-top: var(--space-5); }
}
