/* Canvas image controls share the original template toolbar's sizing and colors. */
.ll-section-component-tools[data-image-tools] {
  max-width: min(100vw - 24px, 390px);
  flex-wrap: wrap;
  justify-content: center;
  z-index: 1;
}
.ll-section-component-tools[data-image-tools] > button,
.ll-section-component-tools[data-image-tools] > details > summary {
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #7046c8;
  color: #fff;
  font: 700 12px/1.2 system-ui, sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 8px #17203333;
}
.ll-section-component-tools[data-image-tools] > details > summary { align-content: center; }
.ll-section-component-tools[data-image-tools] > .ll-section-image-remove { background: #b4232b; }
