/* ===== 全局 ===== */
body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(180deg, #f6f7fb 0%, #f9fafb 100%);
  color: #222;
}

.app {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
}

/* ===== 标题区 ===== */
.head h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: #374151;
  margin-bottom: 4px;
}

.notice {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* ===== 卡片 ===== */
.card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid #eef0f4;
}

/* ===== 输入区 ===== */
.panel label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

select {
  margin-left: 6px;
}

button {
  margin-top: 10px;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
}

/* ===== 输出区 ===== */
.light-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#lightLine {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

/* ✅ 为什么 ? */
.why-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 14px;
  background: #eef2ff;
  color: #1e3a8a;
  cursor: pointer;
}

.why-tip.hide {
  display: none;
}

.risk-tags {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.risk-tags.hide {
  display: none;
}

/* ===== 高光 & 风险提示 ===== */
.hl {
  background: #fff3bf;
  padding: 2px 4px;
  border-radius: 4px;
}

.risk-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 12px;
  color: #d92d20;
  border: 1px solid #fda29b;
  background: #fff5f5;
  border-radius: 999px;
}

/* ===== AI 原稿 + 我的优化 ===== */
.ai-block {
  display: flex;
  gap: 10px;
  max-width: 100%;
}

.ai-col {
  flex: 0 0 calc(50% - 6px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}


.ai-col h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.ai-col textarea {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 140px;
  resize: vertical;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  background: #fafafa;
  color: #333;
}

/* ===== 依据 ===== */
.basis-btn {
  background: #e5e7eb;
  color: #111;
}

.basis-detail {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.basis-note {
  margin-top: 6px;
  color: #777;
}
``