.molecule-layout{grid-template-columns:280px minmax(0,1fr);align-items:start}.molecule-layout>*{min-width:0}.molecule-layout .community-directory{position:static;max-height:none}.molecule-viewer{overflow:hidden;min-width:0}.molecule-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.molecule-toolbar [aria-pressed=true]{background:#176b65;color:white}.molecule-readout{padding:16px;overflow-wrap:anywhere}.molecule-readout p{margin:0 0 10px}.molecule-readout label{display:grid;gap:6px}.molecule-readout select{width:100%;max-width:100%;min-width:0}.molecule-readout output{display:block;white-space:pre-line;padding:12px 0;line-height:1.7}#molecule-stage canvas{display:block;touch-action:none;max-width:100%}.molecule-viewer:fullscreen{background:var(--bg,#11182d);overflow:auto;height:100%;display:block}.molecule-viewer:fullscreen #molecule-stage{height:70vh!important}@media(max-width:800px){.molecule-layout{display:flex;flex-direction:column}.molecule-layout .community-directory,.molecule-viewer{width:100%}.molecule-layout .community-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.molecule-layout .community-directory>*{min-width:0}.molecule-layout .community-directory small,.molecule-layout .community-directory p{grid-column:1/-1}#molecule-stage{height:50vh!important;min-height:300px}.molecule-toolbar .button{flex:1;font-size:13px}.molecule-readout{font-size:14px}}
.molecule-builder{margin:24px 0;padding:22px}.molecule-builder summary{font-size:18px;font-weight:750;cursor:pointer}.molecule-build-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:14px 0}.molecule-builder label{display:grid;gap:5px;font-size:12px}.molecule-builder label.button{display:inline-flex;font-size:13px;cursor:pointer}.molecule-build-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px}.molecule-build-grid>*{min-width:0}.molecule-build-grid svg{width:100%;height:auto;border-radius:14px;touch-action:none;display:block}.molecule-build-grid svg g[role=button]{cursor:grab}.molecule-build-grid svg g:focus{outline:none}.molecule-build-grid svg g:focus circle{stroke:#ffdc65;stroke-width:4}.molecule-build-controls{display:grid;gap:8px;align-content:start}.molecule-coordinates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.molecule-coordinates input{width:100%;padding:8px!important;font-size:13px}.molecule-bonds{max-height:150px;overflow:auto}.molecule-bond-row{display:flex;justify-content:space-between;gap:8px;font-size:12px;align-items:center;padding:5px 0;border-bottom:1px solid var(--line)}.molecule-bond-row button{color:var(--brand-ink);background:var(--brand-soft);border:1px solid var(--line);border-radius:7px;padding:6px;font-size:11px}.molecule-builder [role=status]{padding:12px;background:var(--panel-2);border-radius:10px;font-size:13px;line-height:1.7}.molecule-builder small{display:block;color:var(--muted);line-height:1.7}
@media(max-width:800px){.molecule-build-grid{grid-template-columns:1fr}.molecule-builder{padding:14px}.molecule-build-actions .button{flex-grow:1;font-size:12px}.molecule-build-actions label{flex:1}.molecule-build-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.molecule-build-controls>strong,.molecule-coordinates,.molecule-bonds{grid-column:1/-1}}
