.pharma-discovery,.pharma-archive-heading{padding:3rem var(--pad)}.pharma-discovery{background:var(--ice)}.pharma-intro{display:flex;justify-content:space-between;gap:2rem;align-items:center}.pharma-intro h2,.pharma-archive-heading h2{font-size:clamp(1.8rem,3vw,3rem);line-height:1.2;margin:.3rem 0}.pharma-discovery p{max-width:75ch}.pharma-sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}.pharma-sector-grid button{display:flex;flex-direction:column;align-items:start;text-align:start;gap:.8rem;background:white;border:1px solid var(--line);border-top:3px solid var(--gold);padding:1.4rem;cursor:pointer;color:var(--navy);min-width:0}.pharma-sector-grid button[aria-pressed=true]{background:var(--navy);color:white}.pharma-sector-grid button:hover{border-color:var(--blue)}.pharma-sector-grid button span{color:var(--gold);font-weight:800}.pharma-sector-grid strong{font-size:1.1rem}.pharma-sector-grid small{margin-top:auto}.pharma-selectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;border-block:1px solid var(--line);padding:1.5rem 0}.pharma-selectors label{font-weight:700;font-size:.9rem;min-width:0}.pharma-selectors select{display:block;width:100%;min-height:3rem;margin-top:.7rem;padding:.6rem;background:white;color:var(--ink);border:1px solid var(--line);border-radius:0}.pharma-path{margin-top:1.5rem;background:white;border:1px solid var(--line);padding:clamp(1.2rem,3vw,2.5rem)}.pharma-path h3{font-size:1.8rem;margin:.5rem 0}.pharma-muted,.pharma-path small{color:var(--muted);font-size:.85rem}.pharma-path ul{padding-inline-start:1.2rem}.pharma-path li{padding:.8rem 0;border-bottom:1px solid var(--line)}.pharma-path li small{display:block;margin-top:.3rem}.pharma-notice{border-inline-start:3px solid var(--gold);padding:1rem;background:#fff}.pharma-genome{display:flex;gap:2rem;justify-content:space-between;align-items:center;margin-top:2rem;padding:2rem 0}.pharma-genome .button{flex-shrink:0}.pharma-genome h3{margin:0}.pharma-archive-heading{padding-bottom:0}.pharma-archive-heading~.program-controls{padding-top:2rem}.pharma-discovery a:focus-visible,.pharma-discovery button:focus-visible,.pharma-discovery select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}#program-records,.program-domains article{scroll-margin-top:7rem}.pharma-discovery [hidden]{display:none!important}@media(max-width:1000px){.pharma-sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pharma-selectors{grid-template-columns:1fr}.pharma-intro,.pharma-genome{align-items:start;flex-direction:column}}@media(max-width:560px){.pharma-sector-grid{grid-template-columns:1fr}.pharma-sector-grid button{min-height:10rem}.pharma-discovery,.pharma-archive-heading{padding-inline:1.2rem}.pharma-genome{gap:1rem}.pharma-path h3{font-size:1.5rem}}

.pharma-selection-context{min-width:0;scroll-margin-top:7rem}.pharma-availability{display:block;font-size:.85rem;line-height:1.6;color:var(--muted);margin-top:.4rem}.pharma-genome-return{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.75rem}.pgi-destination{display:block;font-size:.75rem;line-height:1.5;font-weight:500;white-space:normal}.pgi-return-note{font-size:.85rem;line-height:1.7;color:var(--muted)}
@media(max-width:760px){.pharma-sector-grid>.pharma-selection-context{grid-column:1/-1;width:100%}.pharma-selection-context .pharma-selectors{margin-top:.5rem}.pharma-selection-context .pharma-path{margin-top:.5rem}}

/* V35 uses the established pathway card; text and controls remain fluid in RTL/LTR. */
.pathway-development,.pathway-development section,.pathway-development li{min-width:0;overflow-wrap:anywhere}.pathway-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1.5rem}.pathway-development h4{font-size:1.15rem;line-height:1.5;margin:1.3rem 0 .6rem}.pathway-development h5{font-size:1rem;margin:1.2rem 0 .3rem}.pathway-development p{line-height:1.8}.pathway-development ul,.pathway-development ol{padding-inline-start:1.35rem}.pathway-development li{padding:.55rem 0}.pathway-roadmap{border-block:1px solid var(--line);padding-bottom:1rem}.pathway-roadmap li p{margin:.35rem 0}.pathway-resources a{display:inline-block;max-width:100%;padding-block:.45rem}.pathway-permalink{margin-block:.75rem;font-weight:700}.pathway-resources ul{margin-top:.25rem}.pathway-development a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media(max-width:760px){.pathway-grid{grid-template-columns:minmax(0,1fr);gap:0}.pathway-development h4{font-size:1.05rem}.pathway-development ul,.pathway-development ol{padding-inline-start:1.2rem}}
