.peptide-library { padding-top: 24px; }
.peptide-eyebrow, .peptide-field-label { display: block; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.peptide-eyebrow { margin: 0 0 18px; }
.peptide-library h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 68px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 12px; }
.peptide-library h1 em { color: #656d4a; font-weight: 400; }
.peptide-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 0 20px; }
.peptide-intro { font-size: 17px; line-height: 1.5; max-width: 650px; margin: 0; }
.peptide-how-to { font-size: 13px; text-underline-offset: 4px; white-space: nowrap; }
.peptide-reading-note { background: #e6e7dc; border: 1px solid #d4d8c6; padding: 12px 16px; color: #444b36; font-size: 12px; line-height: 1.65; margin: 0; }
.peptide-search-section { margin: 22px 0 24px; border-bottom: 1px solid var(--hairline-strong); padding-bottom: 22px; }
.peptide-search-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: end; }
.peptide-search-box > label, .peptide-filter-fields label { margin-bottom: 8px; }
.peptide-search-input-row { display: flex; align-items: center; border: 1px solid var(--hairline-strong); background: rgba(255,255,255,.4); padding: 4px; gap: 8px; }
.peptide-search-input-row input[type=search] { width: 100%; border: 0; box-shadow: none; background: transparent; padding: 9px; border-radius: 0; min-width: 0; font-size: 14px; }
.peptide-search-input-row input[type=submit] { width: auto; min-width: 76px; flex-shrink: 0; min-height: 40px; padding: 9px 14px; }
.peptide-filter-fields { display: flex; gap: 12px; align-items: end; }
.peptide-filter-fields > div { flex: 1; min-width: 0; }
.peptide-filter-fields select { width: 100%; padding: 10px 24px 10px 10px; border-radius: 0; border: 1px solid var(--hairline-strong); background-color: transparent; font-size: 12px; min-height: 50px; }
.peptide-filter-fields .button { width: auto; min-height: 50px; border-radius: 0; padding: 10px 14px; }
.peptide-filter-fields .peptide-mobile-category { display: none; }
.peptide-browser { display: grid; grid-template-columns: 195px minmax(0, 1fr); gap: 32px; }
.peptide-topics { align-self: start; position: sticky; top: 125px; max-height: calc(100dvh - 145px); overflow-y: auto; scrollbar-width: thin; }
.peptide-topics > .peptide-field-label { margin: 0 0 12px; }
.peptide-topic { display: block; font-size: 12px; text-decoration: none; padding: 11px 10px; border-bottom: 1px solid var(--hairline); transition: background .15s; }
.peptide-topic:hover { background: rgba(255,255,255,.35); }
.peptide-topic.is-selected { background: var(--ink); color: var(--paper); }
.peptide-results { min-width: 0; }
.peptide-results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.peptide-results-heading h2 { font-family: var(--sans); font-size: 17px; font-weight: 500; margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.peptide-results-heading h2 > span { font-weight: 400; }
.peptide-clear { font-size: 12px; color: var(--muted); flex-shrink: 0; text-underline-offset: 3px; }
.peptide-browse-hint { margin: 5px 0 16px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.peptide-directory { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 20px; align-items: start; }
.peptide-alphabet { grid-column: 2; grid-row: 1; position: sticky; top: 125px; display: flex; flex-direction: column; align-items: center; max-height: calc(100dvh - 145px); overflow-y: auto; scrollbar-width: thin; }
.peptide-alphabet a, .peptide-alphabet > span { display: flex; align-items: center; justify-content: center; min-height: 28px; width: 44px; flex-shrink: 0; font-family: var(--mono); font-size: 12px; text-decoration: none; }
.peptide-alphabet a { color: #435336; border-radius: 3px; }
.peptide-alphabet a:hover, .peptide-alphabet a:focus-visible { background: #dfe3d3; }
.peptide-alphabet > span { color: #a19e93; }
.peptide-letter-groups { grid-column: 1; grid-row: 1; min-width: 0; }
.peptide-letter-group { scroll-margin-top: 125px; margin-bottom: 18px; }
.peptide-letter-group > h3 { margin: 0; padding: 8px 12px; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; background: #e8e8dc; border-bottom: 1px solid var(--hairline-strong); }
.peptide-entry { border-bottom: 1px solid var(--hairline-strong); scroll-margin-top: 125px; }
.peptide-entry > summary { display: grid; grid-template-columns: minmax(0,1fr) 200px 18px; align-items: center; gap: 18px; padding: 14px 12px; min-height: 76px; list-style: none; cursor: pointer; }
.peptide-entry > summary::-webkit-details-marker { display: none; }
.peptide-entry > summary::marker { content: ''; }
.peptide-entry > summary:hover { background: rgba(255,255,255,.4); }
.peptide-entry[open] { background: rgba(255,255,255,.3); }
.peptide-entry[open] > summary { background: #eaeade; }
.peptide-entry-identity, .peptide-entry-meta { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.peptide-entry-name { font-size: 19px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; overflow-wrap: anywhere; }
.peptide-entry-aliases { font-size: 11px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.peptide-entry-aliases strong { font-weight: 500; }
.peptide-entry-targets { font-size: 11px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.peptide-entry-targets strong { font-weight: 500; }
.peptide-entry-evidence { font-size: 10px; color: var(--muted); line-height: 1.4; }
.peptide-entry-toggle { position: relative; width: 14px; height: 14px; }
.peptide-entry-toggle::before, .peptide-entry-toggle::after { content: ''; position: absolute; background: #656d4a; }
.peptide-entry-toggle::before { width: 12px; height: 1px; left: 1px; top: 6px; }
.peptide-entry-toggle::after { width: 1px; height: 12px; left: 6px; top: 1px; }
.peptide-entry[open] .peptide-entry-toggle::after { display: none; }
.peptide-status { display: inline-block; font-size: 11px; line-height: 1.5; color: #7b4c30; font-weight: 500; }
.peptide-status > span { font-size: 7px; margin-right: 3px; }
.peptide-status--approved { color: #44613e; }
.peptide-status--investigational { color: #6c5a2b; }
.peptide-status--unapproved, .peptide-status--withdrawn { color: #8e3f2e; }
.peptide-status--cosmetic { color: #625679; }
.peptide-status--discontinued { color: #696457; }
.peptide-entry-body { padding: 5px 20px 20px; }
.peptide-entry-body p, .peptide-entry-body li { font-size: 13px; line-height: 1.75; }
.peptide-entry-overview { margin: 12px 0; }
.peptide-entry-body h4 { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.peptide-entry-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; }
.peptide-entry-uses > section { padding-left: 12px; border-left: 2px solid #97a180; }
.peptide-entry-uses > section:last-child { border-left-color: #c3ad8f; }
.peptide-entry-uses ul { margin: 0; padding-left: 16px; }
.peptide-entry-uses p { margin: 0; }
.peptide-entry-research { padding-top: 18px; border-top: 1px solid var(--hairline); }
.peptide-entry-research article + article { border-top: 1px solid var(--hairline); padding-top: 14px; margin-top: 16px; }
.peptide-entry-research .peptide-study-meta { font-size: 10px; margin: 10px 0 4px; }
.peptide-entry-research article > p:not(.peptide-study-meta) { margin: 4px 0 8px; }
.peptide-entry-footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.peptide-profile-link { font-size: 13px; font-weight: 500; text-underline-offset: 4px; }
.peptide-entry-footer > span { font-size: 10px; color: var(--muted); }
.peptide-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.peptide-tag { padding: 4px 7px; border: 1px solid var(--hairline); font-size: 10px; text-decoration: none; color: #5c5d4d; background: #eae9df; }
.peptide-tag:hover { background: #dedfce; }
.peptide-source-link { font-size: 12px; line-height: 1.7; text-underline-offset: 4px; }
.peptide-empty-state { padding: 40px 24px; background: rgba(255,255,255,.25); border: 1px solid var(--hairline); text-align: center; }
.peptide-empty-state h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; margin: 0; }
.peptide-empty-state p { max-width: 420px; margin: 15px auto 25px; color: var(--muted); font-size: 13px; }
.peptide-footer { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 35px; padding: 20px 0 0; border-top: 1px solid var(--hairline-strong); font-size: 11px; line-height: 1.8; color: var(--muted); }
.peptide-footer p { max-width: 520px; margin: 0; }
.peptide-breadcrumb { display: flex; gap: 13px; margin-bottom: 45px; font-size: 11px; color: var(--muted); }.peptide-breadcrumb a { text-underline-offset: 3px; }
.peptide-detail-hero { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 65px; padding-bottom: 40px; border-bottom: 1px solid var(--hairline-strong); }.peptide-detail h1 { font-size: clamp(50px,6.3vw,88px); overflow-wrap: anywhere; }.peptide-detail-aliases { font-size: 13px; margin: -5px 0 25px; color: var(--muted); }.peptide-detail-aliases strong { display: block; font-family: var(--mono); font-weight: 400; text-transform: uppercase; font-size: 9px; margin-bottom: 6px; }.peptide-detail .peptide-tags { margin-top: 23px; }
.peptide-profile-facts { display: flex; flex-direction: column; justify-content: center; gap: 20px; border-left: 1px solid var(--hairline); padding-left: 28px; }.peptide-profile-facts > div { display: flex; flex-direction: column; gap: 8px; }.peptide-profile-facts strong { font-size: 12px; font-weight: 400; }.peptide-profile-facts .peptide-status { font-size: 12px; }.peptide-profile-facts a { font-size: 11px; }
.peptide-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 65px; }.peptide-profile-section { padding: 38px 0; border-bottom: 1px solid var(--hairline-strong); }.peptide-profile-section .peptide-eyebrow { margin-bottom: 12px; }.peptide-profile-section h2, .peptide-safety-card h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; font-size: 38px; margin: 0 0 20px; }.peptide-profile-section h3 { font-size: 14px; font-weight: 500; margin: 25px 0 12px; }.peptide-profile-section p { font-size: 14px; line-height: 1.85; }.peptide-profile-section li { font-size: 13px; line-height: 1.8; margin-bottom: 8px; }.peptide-profile-section ul { padding-left: 18px; }.peptide-use-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 25px; }.peptide-use-columns > div { padding: 0 0 0 17px; border-left: 2px solid #97a180; }.peptide-use-columns > div:last-child { border-left-color: #c3ad8f; }.peptide-use-columns h3 { margin-top: 0; }.peptide-use-columns p { font-size: 12px; }
.peptide-small-note { font-size: 11px !important; color: var(--muted); line-height: 1.8; }.peptide-study { padding: 25px 0; border-top: 1px solid var(--hairline); }.peptide-study-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 9px; color: var(--muted); }.peptide-study h3 { margin: 15px 0 12px; font-size: 18px; line-height: 1.5; letter-spacing: -.02em; }.peptide-study h3 a { text-decoration-color: var(--hairline-strong); text-underline-offset: 4px; }.peptide-study p { font-size: 13px; }.peptide-study-population { color: var(--muted); font-size: 11px !important; }.peptide-study-population strong { font-weight: 500; }
.peptide-regulatory-links { display: flex; flex-direction: column; gap: 13px; margin-top: 25px; font-size: 12px; overflow-wrap: anywhere; }.peptide-regulatory-links a { text-underline-offset: 4px; }
.peptide-detail-aside { padding-top: 40px; }.peptide-safety-card { background: #e6e3d7; border: 1px solid var(--hairline); padding: 26px; }.peptide-safety-card h2 { font-size: 31px; }.peptide-safety-card > p { font-size: 12px; line-height: 1.9; }.peptide-related { margin-top: 40px; }.peptide-related a { display: flex; justify-content: space-between; border-top: 1px solid var(--hairline); text-decoration: none; padding: 16px 0; font-size: 13px; }.peptide-related a:hover { text-decoration: underline; }
.peptide-methodology { max-width: 850px; margin: 0 auto; }.peptide-methodology h1 { font-size: clamp(53px,6.5vw,85px); }.peptide-methodology .peptide-intro { max-width: 650px; }.peptide-evidence-definitions > div { padding: 20px 0; border-bottom: 1px solid var(--hairline); }.peptide-evidence-definitions dt { font-weight: 500; font-size: 14px; margin-bottom: 9px; }.peptide-evidence-definitions dd { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.peptide-library :focus-visible { outline: 2px solid #61733f; outline-offset: 4px; }

@media (max-width: 1100px) {
  .peptide-search-form { grid-template-columns: 1fr; gap: 14px; }
  .peptide-filter-fields > div { flex: 0 1 260px; }
  .peptide-filter-fields select, .peptide-filter-fields .button { min-height: 44px; }
  .peptide-browser { grid-template-columns: 170px minmax(0,1fr); gap: 22px; }
  .peptide-entry > summary { grid-template-columns: minmax(0,1fr) 170px 16px; gap: 12px; }
  .peptide-detail-hero, .peptide-detail-grid { grid-template-columns: minmax(0,1fr) 260px; gap: 35px; }
}
@media (max-width: 780px) {
  .peptide-hero { align-items: flex-start; gap: 14px; }
  .peptide-hero h1 { font-size: 48px; }
  .peptide-intro { font-size: 15px; }
  .peptide-how-to { margin-top: 12px; font-size: 12px; }
  .peptide-browser { grid-template-columns: 1fr; }
  .peptide-topics { display: none; }
  .peptide-filter-fields { flex-wrap: wrap; }
  .peptide-filter-fields .peptide-mobile-category { display: block; }
  .peptide-filter-fields > div { flex: 1 1 25%; }
  .peptide-directory { grid-template-columns: 1fr; gap: 12px; }
  .peptide-alphabet { grid-column: 1; grid-row: 1; flex-direction: row; flex-wrap: wrap; max-height: none; overflow: visible; background: var(--paper); border-block: 1px solid var(--hairline); padding: 4px 0; z-index: 5; }
  .peptide-alphabet a, .peptide-alphabet > span { width: calc(100% / 13); min-width: 24px; min-height: 36px; }
  .peptide-letter-groups { grid-column: 1; grid-row: 2; }
  .peptide-letter-group, .peptide-entry { scroll-margin-top: 220px; }
  .peptide-detail-hero { grid-template-columns: 1fr; gap: 25px; }
  .peptide-profile-facts { padding: 23px 0 0; border-left: 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr 1fr; }
  .peptide-detail-grid { grid-template-columns: 1fr; gap: 0; }
  .peptide-detail-aside { padding-top: 30px; }
  .peptide-safety-card h2 { font-size: 34px; }
  .peptide-related { margin-top: 30px; }
  .peptide-breadcrumb { margin-bottom: 30px; }
}
@media (max-width: 720px) {
  /* The mobile site header stacks into several lines; keep it out of the way while browsing. */
  body:has(.peptide-library) .site-nav { position: relative; }
  .peptide-alphabet { top: 0; }
  .peptide-letter-group, .peptide-entry { scroll-margin-top: 130px; }
}
@media (max-width: 480px) {
  .peptide-library { padding-top: 12px; }
  .peptide-hero { flex-direction: column; padding-bottom: 16px; gap: 4px; }
  .peptide-hero h1 { font-size: 43px; }
  .peptide-how-to { margin: 0; }
  .peptide-reading-note { font-size: 11px; padding: 10px 12px; }
  .peptide-search-section { margin: 18px 0; padding-bottom: 18px; }
  .peptide-search-input-row input[type=search] { font-size: 13px; padding-left: 5px; }
  .peptide-search-input-row input[type=submit] { padding: 9px; min-width: 66px; }
  .peptide-filter-fields > .peptide-mobile-category { flex-basis: 100%; }
  .peptide-filter-fields > div { flex-basis: 35%; }
  .peptide-filter-fields { gap: 10px; }
  .peptide-filter-fields .button { padding: 10px; }
  .peptide-entry > summary { grid-template-columns: minmax(0,1fr) 16px; gap: 6px 12px; padding: 12px 9px; }
  .peptide-entry-meta { grid-column: 1; grid-row: 2; }
  .peptide-entry-toggle { grid-column: 2; grid-row: 1 / 3; }
  .peptide-entry-name { font-size: 18px; }
  .peptide-entry-body { padding: 4px 12px 18px; }
  .peptide-entry-uses { grid-template-columns: 1fr; gap: 18px; }
  .peptide-entry-evidence { display: none; }
  .peptide-results-heading h2 { font-size: 16px; }
  .peptide-browse-hint { font-size: 11px; }
  .peptide-use-columns { grid-template-columns: 1fr; gap: 23px; }
  .peptide-profile-facts { grid-template-columns: 1fr; }
  .peptide-detail h1 { font-size: 48px; }
  .peptide-profile-section h2 { font-size: 33px; }
  .peptide-breadcrumb { flex-wrap: wrap; }
}
