.mc-logo-editor {
  width: min(48rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.25rem;
  color: var(--mc-text);
  background: var(--mc-sidebar);
  border: 1px solid var(--mc-border);
  border-radius: .85rem;
}
.mc-logo-editor::backdrop { background: rgba(3, 8, 16, .78); }
.mc-logo-editor > header,
.mc-logo-editor > footer {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  color: inherit;
  background: transparent;
  border: 0;
  margin: 0;
}
.mc-logo-editor h2 { margin: 0 0 .25rem; }
.mc-logo-editor p { margin: 0; color: var(--mc-muted); }
#logoEditorCanvasWrap {
  display: grid;
  place-items: center;
  min-height: 6rem;
  padding: .75rem;
  margin: .9rem 0;
  background: var(--mc-field);
  border-radius: .65rem;
}
#logoEditorCanvas {
  display: block;
  max-width: 100%;
  height: auto;
  touch-action: none;
  cursor: crosshair;
  background: repeating-conic-gradient(#25384f 0% 25%, #354a62 0% 50%) 0 0 / 20px 20px;
}
.mc-logo-editor > footer { margin-top: 1rem; }
.mc-logo-editor button:focus-visible { outline: 2px solid var(--mc-accent); outline-offset: 3px; }
.mc-logo-editor .mc-customer-button {
  padding: .5rem .75rem;
  color: var(--mc-text);
  background: #203550;
  border: 1px solid #55729a;
  border-radius: .5rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.mc-logo-editor .mc-customer-button.primary { color: #111d36; background: var(--mc-accent); }
.mc-logo-editor .mc-customer-button:disabled { opacity: .55; cursor: default; }

