.chem-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:1.5rem;align-items:start}.chem-panel,.chem-aside,.chem-notes section{background:#fff;border:1px solid #ced8e3;border-radius:14px;padding:1.25rem;min-width:0}.chem-form,.chem-rows,.chem-row{display:grid;gap:1rem}.chem-row{border:1px solid #d8e2ec;border-radius:10px;padding:1rem}.chem-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.chem-field{display:grid;gap:.35rem;font-weight:650;color:#18354b;min-width:0}.chem-field input,.chem-field select{width:100%;max-width:100%;min-width:0;padding:.65rem;border:1px solid #788da0;border-radius:7px;font:inherit;color:#102b3e;background:#fff}.chem-field input:focus-visible,.chem-field select:focus-visible,.chem-actions button:focus-visible{outline:3px solid #1269a3;outline-offset:3px}.chem-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}.chem-error{color:#a52121;font-weight:650;min-height:1.5em}.chem-status{color:#29475b}.chem-result{border-top:2px solid #1a668d;margin-top:1.3rem;padding-top:1rem;min-width:0}.chem-result dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:.5rem 1rem;overflow-wrap:anywhere}.chem-result dt{font-weight:700}.chem-result dd{margin:0}.chem-result table{border-collapse:collapse;width:100%;min-width:480px;font-size:.9rem}.chem-result th,.chem-result td{border:1px solid #b6c6d3;padding:.35rem;text-align:left;overflow-wrap:anywhere}.chem-result th{background:#eaf1f6;white-space:nowrap}.chem-table-wrap{max-width:100%;overflow-x:auto}.chem-notes{display:grid;gap:1rem;margin-top:1.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}[hidden]{display:none!important}@media(max-width:800px){.chem-layout,.chem-notes{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.chem-grid,.chem-result dl{grid-template-columns:minmax(0,1fr)}.chem-panel,.chem-aside,.chem-notes section{padding:1rem}.chem-result table{font-size:.75rem}}
