/* 标伙伴 · 自定义样式 */

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 章节树左侧栏 */
.sidebar-fixed::-webkit-scrollbar {
  width: 4px;
}

/* 正文内容排版 */
.prose-content {
  font-family: 'SimSun', '宋体', 'Times New Roman', serif;
  line-height: 1.9;
  color: #374151;
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.25s ease-out;
}

/* 表格样式（评分要求展示） */
.markdown-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.markdown-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  text-align: left;
}
.markdown-table td {
  padding: 7px 12px;
  border: 1px solid #e2e8f0;
  color: #334155;
}
.markdown-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* 步骤指示器 */
.step-active {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}

/* 文件上传拖拽高亮 */
.drop-active {
  border-color: #3b82f6 !important;
  background: #eff6ff !important;
}

/* 章节缩进指示线 */
.section-indent-line {
  border-left: 2px solid #e2e8f0;
  margin-left: 8px;
  padding-left: 8px;
}

/* 打印样式 */
@media print {
  header, nav, aside, button { display: none !important; }
  main { padding: 0 !important; }
  .bg-white { box-shadow: none !important; border: none !important; }
}
