.chem-bench-surface { position:relative; min-width:0; }
.c318-scene:has(.chem-bench-surface) { aspect-ratio:auto; }
.chem-bench-surface > canvas,.chem-bench-surface > svg { display:block; width:100%; height:auto; }
.chem-bench-overlay { position:absolute; inset:0; pointer-events:none; }
.chem-bench-surface .chem-bench-overlay > button.chem-bench-point {
  appearance:none; position:absolute; display:grid; place-items:center; transform:translate(-50%,-50%);
  width:36px; height:36px; min-height:0!important; min-width:0; padding:0; margin:0; border-radius:50%;
  font:700 19px/1 system-ui,sans-serif; color:#ecffce; background:#112f37;
  border:2px solid #d1e88f; box-shadow:0 1px 8px #03151b99; z-index:2;
  pointer-events:auto; touch-action:none; cursor:pointer;
}
.chem-bench-surface .chem-bench-overlay > button.chem-bench-point[aria-pressed] { cursor:grab; }
.chem-bench-overlay > button.chem-bench-destination { z-index:1; border-style:dashed; opacity:.76; }
.chem-bench-overlay > button.is-armed,.chem-bench-overlay > button:focus-visible {
  background:#d1e88f; color:#10252a; opacity:1; outline:2px solid #f2ffd8; outline-offset:3px;
}
.chem-bench-hint { margin:0; padding:.7rem .9rem; border-top:1px solid #7aa39a55; color:#e5efc2; background:#12282d; font-size:.89rem; line-height:1.55; }
.chem-bench-hint[hidden] { display:none; }
@media(max-width:600px) {
  .chem-bench-overlay > button.chem-bench-point { width:32px; height:32px; font-size:15px; }
}
