.body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0;
}

.contextBlock {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
}

.expandToggle {
  font-size: 12px;
  color: #3b82f6;
  cursor: pointer;
  user-select: none;
}

.expandToggle:hover {
  text-decoration: underline;
}

.contextContent {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: #6b7280;
  max-height: 200px;
  overflow-y: auto;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.required {
  color: #ef4444;
}

.typeList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.typeItem {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  user-select: none;
}

.textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  font-family: inherit;
  color: #374151;
  box-sizing: border-box;
}

.textarea:focus {
  border-color: #3b82f6;
}

.textarea:disabled {
  background: #f9fafb;
  color: #9ca3af;
}

.footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 4px;
}

.cancelBtn {
  height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
}

.cancelBtn:hover:not(:disabled) {
  background: #f9fafb;
}

.cancelBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submitBtn {
  height: 36px;
  padding: 0 20px;
  border-radius: 6px;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.submitBtn:hover:not(:disabled) {
  background: #2563eb;
}

.submitBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
