/* Shared discovery for the 28-serum collection. */
.product-picker nav{max-height:min(60vh,520px);overflow-y:auto;overscroll-behavior:contain}
.library-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.library-heading .outline{white-space:nowrap;flex-shrink:0}
.library-english{font-size:11px;color:var(--muted);line-height:1.6;margin-top:8px}
.product-cautions{padding:24px 0;border-bottom:1px solid var(--line)}
.product-cautions h3{font-size:16px;font-weight:400;color:#425b34;margin-bottom:12px}
.product-cautions p{font-size:14px;color:var(--muted);line-height:1.9;margin:8px 0}
.catalog-intro{padding:64px 0 44px;max-width:850px}
.catalog-intro h1{font-size:clamp(36px,5vw,64px);font-weight:400;line-height:1.3;letter-spacing:.02em;margin:20px 0 24px}
.catalog-intro>p:last-child{color:var(--muted);font-size:16px;line-height:1.9}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}
.catalog-filters{display:flex;flex-wrap:wrap;gap:8px}
.catalog-filters button{padding:11px 18px;border-radius:24px;border:1px solid transparent;color:#647359;font-size:13px;min-height:44px;transition:background .2s,color .2s}
.catalog-filters button[aria-pressed=true]{background:#354828;color:#fff}
.catalog-filters button:hover{border-color:#a7b39b}
.catalog-search{display:flex;align-items:center;gap:12px;border-bottom:1px solid #a7b39b;width:290px;max-width:100%;min-height:44px}
.catalog-search input{width:100%;min-width:0;border:0;background:transparent;padding:10px 2px;font:inherit;font-size:13px;color:var(--ink)}
.catalog-search span:last-child{font-size:25px;color:#647359}
.catalog-count{font-size:12px;color:var(--muted);margin:24px 0 0}
.catalog-grid{margin-top:20px;gap:24px}
.catalog-grid .library-card{padding:32px 18px;min-width:0}
.catalog-grid .library-card img{height:210px;width:100%;margin-bottom:28px}
.catalog-grid .library-card h3{font-size:17px}
.catalog-grid .library-action{margin-top:auto;padding-top:22px}
.library-card[hidden],.catalog-empty[hidden]{display:none!important}
.catalog-empty{text-align:center;padding:75px 20px}
.catalog-empty h2{font-size:26px;font-weight:400;margin-bottom:18px}
.catalog-empty p{color:var(--muted);margin-bottom:28px}
.catalog-footer{margin-top:80px;padding-block:32px;display:flex;align-items:center;gap:24px;border-top:1px solid var(--line)}
.catalog-footer span{font-size:12px;letter-spacing:.1em;color:var(--muted)}
.catalog-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.catalog-page :focus-visible{outline:2px solid #6b8358;outline-offset:4px}
.handbook-data .handbook-stat strong{overflow-wrap:anywhere}
@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.catalog-toolbar{align-items:flex-start;flex-direction:column;gap:14px}.catalog-search{width:100%}.catalog-grid .library-card img{height:185px}}
@media(max-width:700px){.library-heading{align-items:flex-start;flex-direction:column;gap:20px}.catalog-intro{padding:32px 0}.catalog-intro>p:last-child{font-size:14px}.catalog-filters{gap:4px}.catalog-filters button{padding:10px 13px;font-size:12px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-grid .library-card{padding:24px 12px}.catalog-grid .library-card img{height:165px}.catalog-grid .library-card h3{font-size:14px}.catalog-grid .eyebrow{font-size:9px;letter-spacing:.1em}.library-english{font-size:10px}.catalog-footer{margin-top:48px}.catalog-page{padding-bottom:0}.product-picker nav{max-height:52vh}.handbook-data .handbook-stat strong{font-size:clamp(36px,11vw,54px)}}
@media(prefers-reduced-motion:reduce){.catalog-filters button{transition:none}}
.handbook-data .stat-wide strong{font-size:clamp(32px,4vw,50px)}
.ingredient-copy h3{overflow-wrap:anywhere}
/* Give scanned illustrations the paper backdrop used by their blend layer. */
.ingredient-float{background:var(--paper);isolation:isolate}
.ingredient-panel:hover .ingredient-float{filter:none}
/* Exclude neighboring source text in the empty corner without trimming the molecule. */
.ingredient-figure img[src$="/216-ingredient-2.webp"]{clip-path:polygon(24% 0,100% 0,100% 100%,0 100%,0 12%,24% 12%)}
@media(max-width:700px){.handbook-data .stat-wide strong{font-size:36px}}
@media(max-width:700px){#formula .section-heading h2{white-space:normal;text-wrap:balance}}
