/* 作者写作风格页样式 */
.container {
  max-width: 960px;
  margin: 18px auto 60px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 30px rgba(20, 80, 180, 0.10);
}
.card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #1f2937;
}
.form-item { margin-bottom: 14px; }
.form-item label {
  display: block;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 6px;
}
.form-item input[type="text"],
.form-item select,
.form-item textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fbfcfe;
}
.form-item textarea { resize: vertical; line-height: 1.7; }
.hint { color: #9ca3af; font-size: 12px; margin: 6px 0 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.status { margin-top: 12px; color: #374151; font-size: 14px; white-space: pre-wrap; }
.status.error { color: #cf1322; }
.preview { margin-top: 14px; }
.preview .summary {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  white-space: pre-wrap;
  line-height: 1.8;
  color: #1f2937;
  font-size: 14px;
}
.preview .phrases { margin-top: 10px; }
.preview .phrases span {
  display: inline-block;
  background: #eef4ff;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 4px 10px;
  margin: 0 6px 6px 0;
  font-size: 13px;
}
.style-list { display: flex; flex-direction: column; gap: 10px; }
.style-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.style-item .info { min-width: 0; }
.style-item .name { font-weight: 600; color: #111827; }
.style-item .meta { color: #6b7280; font-size: 12px; margin-top: 4px; }
.style-item .desc { color: #4b5563; font-size: 13px; margin-top: 6px; }
.style-item .ops { display: flex; gap: 8px; flex-shrink: 0; }
.btn-small {
  padding: 5px 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}
.btn-small:hover { border-color: #1677ff; color: #1677ff; }
.btn-small.danger:hover { border-color: #ef4444; color: #ef4444; }

.preview .quality {
  background: #f0f9eb;
  border: 1px solid #d9f0c6;
  color: #389e0d;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 10px;
}
.preview .warn {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  color: #ad6800;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.mode-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f7fbff 100%);
  border: 1px solid #cfe3ff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.mode-box label { display: block; margin-bottom: 6px; font-size: 14px; }
