/* J14：工具台 · AI 渲染（草图 → 效果图）。
   基础版式复用 tools_cutout.css 的 .tc-*，这里只补渲染特有的行 / 下拉 / 模型卡 /
   提示词框与模板 chips。 */

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

.tr-row + .tr-row {
  margin-top: 16px;
}

.tr-req {
  color: #dc2626;
}

.tr-opt {
  margin-left: 6px;
  font-weight: 400;
  font-size: 12px;
  color: #9ca3af;
}

.tr-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #111827;
}

.tr-note {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.6;
}

.tr-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.tr-model {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  background: #fff;
  text-align: left;
}

.tr-model.is-active {
  border-color: var(--brand-strong, #5BC85A);
  background: var(--brand-soft, rgba(113,220,104,.14));
}

.tr-model-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.tr-model-points {
  color: var(--brand-strong, #5BC85A);
  font-weight: 600;
  white-space: nowrap;
}

.tr-model-note {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

.tr-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tr-seg button {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
}

.tr-seg button.is-active {
  border-color: var(--brand-strong, #5BC85A);
  background: var(--brand-soft, rgba(113,220,104,.14));
  color: var(--brand-strong, #5BC85A);
  font-weight: 600;
}

.tr-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #111827;
  resize: vertical;
  font-family: inherit;
}

.tr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tr-chips button {
  padding: 6px 10px;
  border: 1px dashed var(--brand-line, #A9EFA4);
  background: #f8fbff;
  color: var(--brand-strong, #5BC85A);
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.tr-chips button:hover {
  background: var(--brand-soft, rgba(113,220,104,.14));
}

.tc-result-grid .tc-col-h a {
  color: var(--brand-strong, #5BC85A);
  text-decoration: none;
  font-weight: 600;
}
