.wk-inputedit {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--wk-sp-1);
}

/* Semi TextArea 样式重置 */
.wk-inputedit .semi-input-textarea-wrapper {
  background-color: var(--wk-bg-surface);
  border: 1px solid var(--wk-border-default);
  border-radius: var(--wk-r-md);
  transition: border-color var(--wk-dur-fast) var(--wk-ease);
}

.wk-inputedit .semi-input-textarea-wrapper:hover {
  border-color: var(--wk-border-strong);
}

.wk-inputedit .semi-input-textarea-wrapper-focus {
  border-color: var(--wk-brand-primary) !important;
  box-shadow: 0 0 0 3px var(--wk-purple-alpha-08);
}

.wk-inputedit .semi-input-textarea {
  background-color: transparent;
  color: var(--wk-text-primary);
  font-size: var(--wk-text-size-md);
  font-family: var(--wk-font-sans);
  line-height: var(--wk-leading-normal);
  resize: none;
}

.wk-inputedit .semi-input-textarea::placeholder {
  color: var(--wk-text-tertiary);
}

/* 超出限制时边框变红 */
.wk-inputedit--exceeded .semi-input-textarea-wrapper {
  border-color: var(--wk-color-error) !important;
  box-shadow: 0 0 0 3px rgba(255, 92, 114, 0.08);
}

/* 字数统计 */
.wk-inputedit__count {
  font-size: var(--wk-text-size-sm);
  color: var(--wk-text-tertiary);
  text-align: right;
  line-height: 1;
}

.wk-inputedit__count--exceeded {
  color: var(--wk-color-error);
}
