.moli-design-editor { border-block: 1px solid var(--line); padding-block: .55rem; margin-block: .8rem; }
.moli-design-editor summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 750; }
.moli-design-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-block: .55rem; }
.moli-design-map button { border: 2px dashed currentColor; border-radius: .35rem; min-height: 44px; overflow-wrap: anywhere; }
.moli-design-map button:first-child { grid-column: 1 / -1; }
.moli-design-map button[aria-pressed=true] { box-shadow: 0 0 0 2px white, 0 0 0 4px #31594a; }
.moli-design-editor input[type=color] { display: block; max-width: 7rem; padding: .25rem; cursor: pointer; }
.moli-design-editor input[type=file] { overflow: hidden; }
.moli-design-editor button:not(.moli-design-map button) { min-height: 44px; }
.moli-design-message { min-height: 1.4em; overflow-wrap: anywhere; }
.moli-logo-tools img { display: block; max-width: 100%; width: max-content; height: auto; margin-block: .5rem; cursor: crosshair; }
.moli-design-head .moli-logo { display: block; max-width: 100%; max-height: 120px; height: auto; object-fit: contain; margin-block-end: .4rem; }
[data-logo-position=center] .moli-design-head .moli-logo { margin-inline: auto; }
.moli-themed { background: var(--moli-background) !important; color: var(--moli-text); border-color: var(--moli-frame) !important; }
.moli-themed .moli-design-head { background: var(--moli-head); padding: .55rem; border-radius: .35rem; }
.moli-themed .moli-design-head .job-tag,.moli-themed .showcase-type,.moli-themed .showcase-title,.moli-themed p { color: var(--moli-text); }
.moli-themed .moli-design-action { background: var(--moli-button); color: var(--moli-text); border: 1px solid var(--moli-frame); }
.moli-design-editor [hidden],.moli-design-editor img[hidden] { display: none !important; }
.moli-themed .showcase-title[data-color] { color: var(--moli-text); }
.moli-canvas-editing, .moli-canvas-editing :is(.moli-design-head, h3, h4, .moli-design-action) {
  outline: 1px dashed currentColor;
  outline-offset: -1px;
  cursor: pointer;
}
.moli-typography { border: 1px solid var(--line); border-radius: .5rem; margin-block: .7rem; padding: .6rem; }
[data-moli-title][data-font="serif"] { font-family: Georgia, serif; }
[data-moli-title][data-font="mono"] { font-family: ui-monospace, monospace; }
[data-moli-title][data-scale="compact"] { font-size: clamp(1.15rem, 4.2vw, 2.1rem); }
[data-moli-title][data-scale="large"] { font-size: clamp(1.7rem, 6vw, 3.9rem); }
[data-moli-title][data-align="center"] { text-align: center; }
