.hf-note-compose-header {
  padding-right: 34px;
}

.hf-note-compose-header .hf-modal-title {
  margin: 0;
  color: var(--hf-color-text-strong);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hf-note-compose-description {
  margin: 12px 0 18px;
  color: var(--hf-color-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hf-note-compose-body > label {
  display: block;
  margin-bottom: 8px;
  color: var(--hf-color-text);
  font-size: 12px;
  font-weight: 700;
}

#hf_note_compose_content {
  box-sizing: border-box;
  width: 100%;
  min-height: 66px;
  display: block;
  resize: vertical;
  padding: 12px 13px;
  color: var(--hf-color-text-strong);
  background: var(--hf-color-surface);
  border: 1px solid var(--hf-color-line-strong);
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.65;
  outline: none;
}

#hf_note_compose_content:focus {
  border-color: var(--hf-color-primary-border);
  box-shadow: 0 0 0 3px rgba(var(--hf-color-primary-rgb), 0.08);
}

.hf-note-compose-count {
  display: block;
  padding-top: 7px;
  color: var(--hf-color-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
}

.hf-note-compose-status {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--hf-color-danger, #b94b52);
  font-size: 11px;
  line-height: 1.5;
}

.hf-note-compose-status a {
  color: var(--hf-color-primary);
  font-weight: 700;
  text-decoration: underline;
}

.hf-note-compose-actions {
  margin-top: 14px;
}

.hf-note-compose-actions button {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 15px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.hf-note-compose-submit {
  color: var(--hf-color-button-primary-text, #ffffff);
  background: var(--hf-color-primary);
  border: 1px solid var(--hf-color-primary);
}

.hf-note-compose-submit:hover:not(:disabled) {
  background: var(--hf-button-primary-hover-bg);
  border-color: var(--hf-button-primary-hover-bg);
}

.hf-note-compose-submit:disabled {
  opacity: 0.62;
  cursor: default;
}

@media (max-width: 768px) {
  #hf_note_compose_content {
    min-height: 62px;
    font-size: 16px;
  }
}
