.checkbox-list {
  display: grid;
  gap: 8px;
}

.checkbox-row,
.compact-base-check,
label.check,
.confirmation-list label.check {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

input[type="checkbox"],
.checkbox-control,
input[type="checkbox"].checkbox-control,
.checkbox-row input[type="checkbox"],
.compact-base-check input[type="checkbox"],
label.check input[type="checkbox"],
.confirmation-list label.check input[type="checkbox"] {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  flex: 0 0 18px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  appearance: auto !important;
  accent-color: var(--accent);
}

.checkbox-text,
.checkbox-row span,
.compact-base-check .checkbox-text,
label.check .checkbox-text,
.confirmation-list label.check .checkbox-text,
.compact-base-check span,
label.check span,
.confirmation-list label.check span {
  display: inline !important;
  min-width: 0 !important;
  font-weight: 400 !important;
  line-height: 1.4;
}

.checkbox-text a,
.checkbox-row a,
.compact-base-check a,
label.check a,
.confirmation-list label.check a {
  font-weight: 500;
}

.form-consents {
  display: grid;
  gap: 8px;
  margin: 2px 0;
}

.form-consents .checkbox-row {
  border: 0;
  background: transparent;
  padding: 0;
}

.compact-base-check {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.confirmation-list label.check {
  padding: 12px 14px !important;
}

.message-editor-form label.write-field,
.message-editor-form .write-field {
  font-weight: 700 !important;
}

.message-editor-form .field-title {
  font-weight: 700 !important;
}

.message-editor-form .field-hint,
.message-editor-form input,
.message-editor-form textarea,
.message-editor-form select,
.message-editor-form input::placeholder,
.message-editor-form textarea::placeholder,
.message-editor-form input[type="file"] {
  font-weight: 400 !important;
}

.message-body-editor {
  display: grid !important;
  gap: 12px !important;
}

.message-body-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.message-format-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
}

.message-service-hint {
  display: block !important;
  margin-top: 8px !important;
  color: var(--muted) !important;
}

.message-service-hint a {
  font-weight: 400 !important;
  text-underline-offset: 3px;
}
