.mech-builder { display: grid; justify-items: start; gap: 12px; }
.mech-builder h2,.mech-builder h3,.mech-builder p { margin: 0; }
.mech-builder .board { width: min(100%, 630px); margin: 0; }
.mech-builder .board svg { width: 100%; }
.mech-builder-board { touch-action: none; }
.mech-builder .mech-builder-zoom { overflow-x: auto; touch-action: pan-x; }
.mech-builder .mech-builder-zoom svg { width: 145%; max-width: none; }
.mech-builder-board .arw,.mech-builder-board .arwh { pointer-events: none; }
.mech-builder-board [role=button]:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.mech-builder-actions { gap: 8px; }
.mech-builder .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; line-height: 1.2; text-align: center; }
.mech-builder button[aria-pressed=true] { box-shadow: inset 0 0 0 2px currentColor; }
.mech-builder > p:empty { display: none; }
.grill-mech-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline-start: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
}
