#left-panel {
  border-right: 1px solid #e2e8f0;
  background-color: #ffffff;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

#left-panel h5 {
  font-weight: 600 !important;
}

/* 动态题型区域容器 */
#dynamic-fields {
  min-height: 120px;
  max-height: 200px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background-color: #f8fafc;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #4a5568;
  overflow: hidden; /* 改为hidden，内部容器处理滚动 */
}

/* 题型网格容器 */
.type-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 160px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 隐藏滚动条 */
.type-grid-container::-webkit-scrollbar {
  display: none;
}

/* 题型输入组 */
.type-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
}

.type-label {
  flex: 1;
  font-size: 0.85rem;
  margin: 0;
  color: #2d3748;
}

.type-count-input {
  width: 70px;
  height: 28px;
  font-size: 0.8rem;
}

/* 占位符样式 */
#dynamic-fields:has(:first-child:not(.type-grid-container)) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 特别强调文本框 */
#special-note {
  font-size: 0.9rem;
  resize: vertical;
}

/* 思考过程面板 */
.thinking-panel {
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 12px;
  background: #f8f9fa;
  margin-top: 1rem;
}

.thinking-content {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  color: #495057;
  height: 150px;
  overflow-y: auto;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 10px;
  white-space: pre-wrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.form-control {height:10rem;}

/* 隐藏思考过程滚动条 */
.thinking-content::-webkit-scrollbar {
  display: none;
}

/* 按钮始终贴底 */
#left-panel > .d-flex.gap-2 {
  padding-top: 1rem;
  margin-bottom: 1.8rem;
}