[data-markdown-field] { min-width: 0; }
[data-markdown-field] .toastui-editor-defaultUI { border-radius: .375rem; }
[data-markdown-field] .toastui-editor-contents { font-family: inherit; font-size: 1rem; }
[data-markdown-field] .toastui-editor-ww-container .toastui-editor-contents { height: auto; min-height: inherit; }
[data-markdown-field] .toastui-editor-toolbar { flex-wrap: wrap; height: auto; }
[data-markdown-field] [contenteditable]:focus-visible { outline: 2px solid #1a66c4; outline-offset: -2px; }
[data-theme=dark] [data-markdown-field] .toastui-editor-defaultUI { border-color: var(--input-border); }
[data-theme=dark] [data-markdown-field] .toastui-editor-defaultUI-toolbar {
  background: var(--input-bg);
  border-bottom-color: var(--input-border);
}
[data-theme=dark] [data-markdown-field] .toastui-editor-ww-container { background: var(--input-bg); }
[data-theme=dark] [data-markdown-field] .toastui-editor-contents,
[data-theme=dark] [data-markdown-field] .toastui-editor-contents p,
[data-theme=dark] [data-markdown-field] .toastui-editor-contents h1,
[data-theme=dark] [data-markdown-field] .toastui-editor-contents h2,
[data-theme=dark] [data-markdown-field] .toastui-editor-contents h3,
[data-theme=dark] [data-markdown-field] .toastui-editor-contents h4,
[data-theme=dark] [data-markdown-field] .toastui-editor-contents h5,
[data-theme=dark] [data-markdown-field] .toastui-editor-contents h6 { color: var(--default-color); }
[data-theme=dark] [data-markdown-field] .toastui-editor-toolbar-divider { background-color: var(--input-border); }
[data-theme=dark] [data-markdown-field] .toastui-editor-toolbar-icons { filter: invert(.85); }
[data-theme=dark] [data-markdown-field] .toastui-editor-toolbar-icons:hover,
[data-theme=dark] [data-markdown-field] .toastui-editor-toolbar-icons.active { background-color: #cbd5e1; }
/* Nested Crispy fieldsets must start below Bootstrap's floating legends. */
.builder-form-card legend { float: none; width: auto; }
.builder-form-card fieldset { min-width: 0; }
