.chemistry-modes{display:flex;flex-wrap:wrap;gap:7px;margin:24px 0 16px}.chemistry-modes button,.chemistry-presets button{padding:10px 13px;border:1px solid rgba(0,18,51,.18);color:#001233;background:transparent;font-size:.65rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.chemistry-modes button.is-active{color:#fff;border-color:#0d7164;background:#0d7164}.chemistry-experiment{display:grid;grid-template-columns:minmax(0,.8fr) minmax(340px,1.2fr);min-height:500px;background:#efe0ca}.chemistry-experiment__copy{display:flex;flex-direction:column;padding:clamp(22px,3vw,36px)}.chemistry-experiment__copy--wide{grid-column:1/-1}.chemistry-experiment h3{margin:0 0 12px;font:650 clamp(2rem,3.2vw,3rem)/.95 "Cormorant Garamond",serif}.chemistry-experiment p{line-height:1.6}.chemistry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.chemistry-experiment label{display:grid;gap:6px;font-size:.66rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.chemistry-experiment input,.chemistry-experiment select{min-width:0;width:100%;padding:11px;border:1px solid rgba(0,18,51,.2);color:#001233;background:#fff}.chemistry-experiment input[type=range]{padding:0;accent-color:#fe5000}.chemistry-actions,.chemistry-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.chemistry-result{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:auto;padding-top:18px;border-top:1px solid rgba(0,18,51,.14)}.chemistry-result strong{color:#fe5000}.chemistry-result span{font-size:.78rem}.chemistry-visual{min-width:0;min-height:500px;background:#001233}.chemistry-visual canvas{display:block;width:100%;height:100%;min-height:500px}.chemistry-ph-control{margin:26px 0}.chemistry-ph-control output{color:#fe5000;font-size:1rem}.chemistry-ph-scale{position:relative;grid-column:1/-1;align-self:center;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;min-height:210px;padding:34px 22px;background:linear-gradient(90deg,#e53935,#ffb52e 35%,#5fcf65 50%,#22a7c7 72%,#6040b8);color:#fff;font-size:.72rem;font-weight:800}.chemistry-ph-scale span:nth-of-type(2){text-align:center}.chemistry-ph-scale span:last-child{text-align:right}.chemistry-ph-scale i{position:absolute;top:25px;bottom:25px;left:50%;width:4px;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.25),0 0 22px #001233;transform:translateX(-50%);transition:left .12s}.chemistry-equation-result{margin-top:20px;padding:28px;color:#fff;background:#001233;font-size:clamp(1.2rem,3vw,2rem);text-align:center}.chemistry-equation-result span,.chemistry-equation-result i,.chemistry-equation-result strong{margin:0 5px}.chemistry-equation-result b{color:#fe5000}.chemistry-equation-result.is-error{color:#ffb3a2;font-size:.9rem}.chemistry-table-wrap{max-width:100%;overflow:auto;margin-top:18px}.chemistry-table-wrap p strong{color:#fe5000}.chemistry-table-wrap table{width:100%;min-width:620px;border-collapse:collapse;background:#fff}.chemistry-table-wrap th,.chemistry-table-wrap td{padding:13px;border:1px solid rgba(0,18,51,.14);text-align:center}.chemistry-table-wrap thead th,.chemistry-table-wrap tbody th{color:#fff;background:#001233}.chemistry-experiment--titration{grid-template-columns:minmax(310px,.75fr) minmax(420px,1.25fr)}.chemistry-chart{min-width:0;min-height:500px;padding:20px;background:#fff}.chemistry-chart canvas{width:100%!important;height:460px!important}.chemistry-titration-visual{position:relative;width:140px;height:190px;margin:20px auto 0}.chemistry-burette{position:absolute;top:0;left:62px;width:16px;height:112px;border:2px solid #001233;background:#fff}.chemistry-burette i{position:absolute;right:0;bottom:0;left:0;background:#5b7cfa;transition:height .1s}.chemistry-burette::after{content:"";position:absolute;bottom:-25px;left:5px;width:3px;height:24px;background:#001233}.chemistry-flask{position:absolute;bottom:0;left:35px;width:70px;height:62px;border:3px solid #001233;border-radius:10px 10px 35px 35px;background:#ef5353}.chemistry-drop{position:absolute;top:128px;left:67px;width:8px;height:11px;border-radius:50% 50% 55% 55%;background:#5b7cfa;opacity:0}.chemistry-drop.is-falling{opacity:1;animation:chem-drop .6s linear infinite}@keyframes chem-drop{from{transform:translateY(-12px)}to{transform:translateY(34px)}}@media(max-width:850px){.chemistry-experiment,.chemistry-experiment--titration{grid-template-columns:1fr}.chemistry-visual{min-height:400px}.chemistry-visual canvas{min-height:400px}.chemistry-chart{min-height:390px}.chemistry-chart canvas{height:350px!important}}@media(max-width:560px){.chemistry-fields{grid-template-columns:1fr}.chemistry-ph-scale{min-height:160px}.chemistry-equation-result{padding:20px 10px}.chemistry-modes button{flex:1 1 46%}}
