main{max-width:1200px;margin:auto;padding:1rem;color:#193c36}.heading,.controls{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.heading{justify-content:space-between}.samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.samples section{border:1px solid #bdcec4;border-radius:16px;background:#fffefa;padding:1rem}.controls{margin:.6rem 0 1rem}button,select{font:inherit;min-height:44px;padding:.45rem .7rem;border:1px solid #89a59a;border-radius:9px;background:white;color:#173d33}button{cursor:pointer}.action,button[aria-pressed=true]{background:#21694e;color:white}input[type=range]{width:100%;accent-color:#685099}.samples label{display:block;margin:.7rem 0}output{font-weight:bold}.bed{display:grid;grid-template-columns:repeat(4,1fr);align-content:center;justify-items:center;min-height:145px;gap:.6rem;background:#eaf2ed;border-radius:10px;padding:.8rem}.dot{display:grid;place-items:center;border:2px solid #355b60;border-radius:50%;width:46px;height:46px;font-weight:800;background:#aedbd9;animation:jitter var(--period) infinite alternate ease-in-out}.dot:nth-child(even){animation-direction:alternate-reverse}.temp,#reading{font-size:1.7rem;font-weight:800;color:#146954}.beaker{height:300px;border:4px solid #5c8383;border-top:0;border-radius:0 0 18px 18px;display:flex;align-items:end;overflow:hidden}.beaker #liquid{position:relative;width:100%;background:#def2f6;border-top:3px solid #86cbd5}.speck{position:absolute;width:12px;height:12px;border-radius:50%;background:#69afc7;animation:drift 2s ease-in-out infinite alternate}.speck.solute{background:#85429b;border:2px solid #552767;width:16px;height:16px}.legend b{color:#85429b}.legend i{color:#69afc7}@keyframes jitter{from{transform:translate(-1px,-1px)}to{transform:translate(2px,2px)}}@keyframes drift{to{transform:translate(5px,-4px)}}@media(prefers-reduced-motion:reduce){.dot,.speck{animation:none}}@media(max-width:650px){.samples{grid-template-columns:1fr}}.model-board header{display:none}
