.chem-explorer{--chem-ink:#153c3a;--chem-green:#145a4c;--chem-edge:#c9d8d0;color:var(--chem-ink);font:16px/1.55 system-ui,-apple-system,sans-serif;max-width:1280px;margin:0 auto;padding:clamp(20px,4vw,48px);background:#f5f5eb;border:1px solid #d9dfd4;border-radius:24px}.chem-explorer *{box-sizing:border-box}.chem-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.chem-heading h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(28px,4vw,44px);line-height:1.1;margin:8px 0 16px}.chem-heading p{max-width:680px}.chem-eyebrow{font-size:11px;font-weight:750;letter-spacing:2px}.chem-badge{white-space:nowrap;border:1px solid var(--chem-edge);padding:8px 14px;border-radius:100px;font-size:11px}.chem-caveat{font-size:13px;line-height:1.7;border-left:3px solid #9aa973;padding:10px 16px;background:#e9eddf}.chem-toolbar{display:flex;gap:16px;align-items:flex-end;margin-top:24px}.chem-toolbar label{display:grid;gap:6px;font-size:12px;font-weight:650;flex:1}.chem-search{font:inherit;padding:12px 14px;border-radius:8px;border:1px solid #a9bdb3;background:white;color:var(--chem-ink);width:100%;max-width:460px}.chem-explorer button{font-family:inherit;cursor:pointer;color:var(--chem-ink)}.chem-clear,.chem-presets button,.chem-selection button{border:1px solid #a5bcb0;border-radius:999px;background:#fff;padding:9px 14px;font-size:12px}.chem-clear:hover,.chem-presets button:hover,.chem-selection button:hover{background:#dbe7d9}.chem-presets{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:20px 0}.chem-presets span{font-size:12px;margin-right:5px}.chem-help,.chem-search-status{font-size:12px;color:#4b655e}.chem-scroll{overflow-x:auto;padding:5px 3px 14px}.chem-table{display:grid;grid-template-columns:repeat(18,minmax(44px,1fr));grid-template-rows:repeat(7,65px) 12px repeat(2,65px);gap:5px;min-width:900px;position:relative}.chem-element{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:4px 5px;border:1px solid #bdcfc3;border-radius:5px;position:relative;min-width:0;background:#e0e9dd;transition:background .15s,box-shadow .15s}.chem-element strong{font-size:22px;line-height:1.1;letter-spacing:-.6px}.chem-number{font-size:9px;line-height:1.2}.chem-name{font-size:7px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chem-left{background:#e4e4bb}.chem-right{background:#d4e6db}.chem-middle{background:#dde4df}.chem-inner{background:#e3dcce}.chem-element:hover{box-shadow:0 0 0 2px #607e6c}.chem-element[aria-pressed=true]{background:#174e41;color:#fff;border-color:#174e41;box-shadow:inset 0 0 0 2px #f1d37a}.chem-element[aria-pressed=true]::after{content:'✓';position:absolute;top:1px;right:3px;font-size:11px}.chem-element.chem-muted{opacity:.38}.chem-element.chem-found{outline:2px solid #758a42;outline-offset:0}.chem-series{font-size:10px;display:flex;align-items:center;justify-content:center;border:1px dashed #9fb7a4;border-radius:5px}.chem-table-note{grid-column:4/13;grid-row:1/3;align-self:center;justify-self:center;font:italic 22px Georgia,serif;color:#547165}.chem-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:16px 0;border-top:1px solid #d2dccf}.chem-selection strong{font-size:12px;margin-right:8px}.chem-results h3{font:500 25px Georgia,serif;margin:18px 0 8px}.chem-results>p{font-size:13px;max-width:800px}.chem-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:20px}.chem-card{background:white;border:1px solid #d3ddd1;border-radius:12px;padding:24px}.chem-formula{font:500 42px Georgia,serif;margin:0 0 14px;color:#216347}.chem-card h4{font-size:16px;margin:0 0 10px}.chem-card p:not(.chem-formula){font-size:13px;line-height:1.7}.chem-card a,.chem-sources a{color:#215c46;text-decoration:underline;text-underline-offset:3px}.chem-card a{font-size:12px}.chem-sources{font-size:11px;margin-top:28px;color:#4e655b}.chem-explorer :focus-visible{outline:3px solid #876326!important;outline-offset:3px}.chem-explorer button:disabled{cursor:default}@media(max-width:700px){.chem-heading{display:block}.chem-badge{display:inline-block;margin-bottom:12px}.chem-explorer{padding:20px 14px;border-radius:16px}.chem-toolbar{align-items:center}.chem-clear{white-space:nowrap}.chem-cards{grid-template-columns:1fr}.chem-search{font-size:16px}.chem-heading h2{font-size:32px}}@media(prefers-reduced-motion:reduce){.chem-element{transition:none}}
