.peptide-library{padding-bottom:3rem}.peptide-toolbar{display:none;gap:1rem;align-items:end;padding:1.4rem;background:#e8edf1;border-top:3px solid var(--ink);margin-bottom:2rem}.pl-enhanced .peptide-toolbar{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto}.peptide-toolbar label{font-size:.8rem;font-weight:700;display:grid;gap:.4rem}.peptide-library input,.peptide-library select,.peptide-library button{font:inherit;color:var(--ink);min-height:48px}.peptide-toolbar input,.peptide-toolbar select{width:100%;min-width:0;padding:.7rem;border:1px solid #8091a3;background:#fff;border-radius:0}.peptide-library button{cursor:pointer;border:1px solid #8091a3;background:transparent;padding:.65rem .8rem}.peptide-library button:hover{background:#dce7ef}.peptide-library :is(input,select,button):focus-visible{outline:3px solid #a34025;outline-offset:4px}.peptide-explorer{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(0,1.4fr);gap:2rem;align-items:start}.peptide-systems h2,.peptide-results h2{font-size:1.5rem;letter-spacing:-.025em}.peptide-system-list{display:none;gap:.4rem}.pl-enhanced .peptide-system-list{display:grid}.peptide-system-list button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:1rem;font-size:.86rem}.peptide-system-list button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.peptide-system-list button span{font-size:.75rem}.peptide-note{font-family:var(--sans);font-size:.78rem;line-height:1.6;color:#526176;margin:1.2rem 0}.peptide-map{position:relative;background:#e8edf1}.peptide-map svg{display:block;width:100%;height:auto}.peptide-map .peptide-hotspot{display:none;position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:48px;height:48px;border:0;align-items:center;justify-content:center;padding:0;border-radius:50%;background:transparent}.pl-enhanced .peptide-map .peptide-hotspot{display:flex}.peptide-hotspot span{display:block;width:15px;height:15px;border-radius:50%;background:#a34025;box-shadow:0 0 0 6px #f7f5ef}.peptide-map .peptide-hotspot[aria-pressed=true]{outline:2px solid #a34025}.map-caption{position:absolute;bottom:.5rem;left:.6rem;font-size:.6rem;letter-spacing:.1em}.peptide-results-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;border-bottom:1px solid var(--ink)}.peptide-results-head p{font-size:.75rem;color:var(--muted)}.peptide-entries{list-style:none;padding:0;margin:0}.peptide-entries li{border-bottom:1px solid var(--line)}.peptide-entries a{display:grid;grid-template-columns:1.3rem minmax(0,1fr) 1rem;gap:.7rem;align-items:start;padding:1rem 0;text-decoration:none}.peptide-entries h3{font-size:1.32rem;line-height:1.3;margin:0 0 .25rem;overflow-wrap:anywhere}.peptide-entries a:hover h3{text-decoration:underline}.peptide-index{font-size:.7rem;color:var(--muted);padding-top:.25rem}.peptide-badge{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--sans);font-size:.72rem;line-height:1.5;color:var(--ink)}.peptide-badge:before{content:'';width:.45rem;height:.45rem;border-radius:50%;background:#526176;flex:none}.status-approved:before{background:#276447}.status-investigational:before{background:#99511b}.status-cosmetic:before{background:#7d4671}.status-unapproved:before{background:#9d3939}.peptide-legend{border-top:1px solid var(--ink);padding:2rem 0 1rem;margin-top:3rem}.peptide-legend h2{font-size:1.9rem}.peptide-legend dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem 2rem}.peptide-legend dt{font-size:.85rem;font-weight:700}.peptide-legend dd{margin:.3rem 0 0;font-size:.86rem;color:var(--muted)}.peptide-legend>p{font-size:.86rem}.peptide-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.5fr);gap:3rem;align-items:start;max-width:57rem;margin:auto}.peptide-scope{padding:1.4rem;background:var(--blue);font-size:.88rem;border-top:3px solid var(--ink)}.peptide-scope h2{font-size:1.6rem}.peptide-scope ul{padding-left:1.2rem}.peptide-reading{margin:0 0 3rem;max-width:none;min-width:0}.peptide-reading section:first-child h2{margin-top:0}.peptide-reading .references li{overflow-wrap:anywhere}.peptide-discovery{display:flex;align-items:center;gap:3rem;justify-content:space-between;border-top:1px solid var(--ink)}.peptide-discovery h2{font-size:2.3rem}.peptide-discovery p{max-width:36rem}.peptide-discovery .button{flex-shrink:0}.peptide-library [hidden]{display:none!important}
@media(max-width:1050px){.peptide-explorer{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.peptide-systems{grid-column:1/-1}.pl-enhanced .peptide-system-list{grid-template-columns:repeat(3,minmax(0,1fr))}.peptide-systems>.peptide-note{max-width:40rem}.peptide-discovery{display:block}.peptide-discovery .button{margin-top:.5rem}}
@media(max-width:700px){.pl-enhanced .peptide-toolbar{grid-template-columns:1fr;padding:1rem}.pl-enhanced .peptide-system-list{grid-template-columns:repeat(2,minmax(0,1fr))}.peptide-explorer{grid-template-columns:minmax(0,1fr);gap:1.4rem}.peptide-map{max-width:280px;width:100%;margin:auto}.peptide-systems{grid-column:auto}.peptide-system-list button{font-size:.8rem;padding:.5rem}.peptide-legend dl,.peptide-profile-layout{grid-template-columns:minmax(0,1fr)}.peptide-profile-layout{gap:2rem}.peptide-entries h3{font-size:1.5rem}.peptide-toolbar input,.peptide-toolbar select{font-size:1rem}.peptide-reading{font-size:1.08rem}.peptide-library .page-heading h1{font-size:clamp(2.1rem,9vw,2.55rem)}}
@media print{.peptide-toolbar,.peptide-map,.peptide-system-list{display:none!important}.peptide-explorer,.peptide-profile-layout{display:block}.peptide-entries li[hidden]{display:list-item!important}.peptide-profile-layout a{overflow-wrap:anywhere}}

/* Reflow the existing masthead/footer and library controls with enlarged text. */
.wordmark{max-width:100%;white-space:normal;min-width:0}.wordmark>.monogram{flex-shrink:0}.wordmark>span:last-child{min-width:0;overflow-wrap:anywhere}.peptide-library,.peptide-profile,.science-prose,.article-heading{overflow-wrap:anywhere}.peptide-system-list button{min-width:0}.peptide-system-list button span{flex-shrink:0}
@media(max-width:700px){.pl-enhanced .peptide-system-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}.footer-top{display:flex;flex-wrap:wrap}.footer-top>.footer-brand,.footer-top>p{flex:1 1 9rem;min-width:0}.footer-top nav{flex:1 0 100%;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}.footer-top>*{overflow-wrap:anywhere}}

/* Keep legacy home cards readable when text is enlarged. */
@media(max-width:700px){.hero,.provider-grid,.story-grid,.guide-index,.new-reviews .provider-grid{grid-template-columns:minmax(0,1fr)}.hero>*,.provider-card,.story-card{min-width:0;overflow-wrap:anywhere}.cover>a{flex-wrap:wrap}.button{max-width:100%;overflow-wrap:anywhere}}

/* Reflow the home feature and library discovery when text is enlarged. */
@media(max-width:700px){.feature-story{grid-template-columns:minmax(0,1fr)}.feature-story>*{min-width:0;overflow-wrap:anywhere}.peptide-discovery{overflow-wrap:anywhere}}

/* Let existing guide-index headings wrap at enlarged text sizes. */
@media(max-width:700px){.page-heading{overflow-wrap:anywhere}}
