/* 打印样式优化 */
@media print {
  /* 隐藏不需要打印的元素 */
  .ant-layout-sider,
  .ant-layout-header,
  .ant-btn,
  .ant-dropdown,
  .ant-steps,
  .no-print {
    display: none !important;
  }

  /* 页面布局优化 */
  body {
    margin: 0;
    padding: 20mm;
  }

  /* 卡片样式调整 */
  .ant-card {
    border: none !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  /* 标题优化 */
  .ant-typography {
    color: #000 !important;
  }

  /* 进度条隐藏 */
  .ant-progress {
    display: none !important;
  }

  /* 折叠面板展开 */
  .ant-collapse-content {
    display: block !important;
  }

  .ant-collapse-item {
    page-break-inside: avoid;
  }

  /* Tabs切换隐藏，显示所有内容 */
  .ant-tabs-nav {
    display: none !important;
  }

  .ant-tabs-content {
    display: block !important;
  }

  .ant-tabs-tabpane {
    display: block !important;
    page-break-before: always;
  }

  .ant-tabs-tabpane:first-child {
    page-break-before: auto;
  }

  /* 分页控制 */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  /* 背景色移除（节省墨水） */
  * {
    background: white !important;
    color: black !important;
  }

  /* Tag样式调整 */
  .ant-tag {
    border: 1px solid #d9d9d9 !important;
  }

  /* Alert样式调整 */
  .ant-alert {
    border: 1px solid #d9d9d9 !important;
  }
}

/* 屏幕显示样式 */
@media screen {
  .print-only {
    display: none;
  }
}































