/* post-print.css — 文章页打印样式（允许打印） */
@media print {
  @page { size: A4; margin: 12mm 15mm; }
  body {
    background: #fff !important;
    color: #000 !important;
    padding-top: 0 !important;
    font-size: 13px !important;
  }
  .gs-header, .gs-footer, .gs-actions, .no-print { display: none !important; }
  .gs-main { padding: 0 !important; max-width: 100% !important; }
  .gs-doc {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .print-table { width: 100%; border-collapse: collapse; }
  .print-table > thead > tr > td,
  .print-table > tbody > tr > td,
  .print-table > tfoot > tr > td {
    padding: 0; border: none; vertical-align: top;
  }
  .print-header {
    display: block;
    padding-bottom: 3mm;
    margin-bottom: 3mm;
    border-bottom: 1px solid #ccc;
    font-size: 10pt;
    color: #0c148b;
  }
  .print-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2mm;
  }
  .print-header-left { font-weight: bold; }
  .print-header-right { color: #666; }
  .print-header-notice {
    font-size: 9pt;
    color: #666;
    line-height: 1.4;
    text-align: center;
  }
  .print-footer {
    display: block;
    padding-top: 3mm;
    margin-top: 3mm;
    border-top: 1px solid #ccc;
    font-size: 9pt;
    color: #666;
    text-align: center;
    line-height: 1.4;
  }
  .gs-doc-header {
    page-break-after: avoid;
    margin-bottom: 6mm !important;
    padding-bottom: 6mm !important;
  }
  .gs-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6mm !important;
    page-break-inside: auto;
  }
  .gs-col, .gs-step-card {
    page-break-inside: auto;
    background: #fff !important;
    border: 1px solid #ccc !important;
  }
  .gs-compare, .gs-issues {
    page-break-inside: avoid;
    margin-bottom: 6mm !important;
  }
  .gs-steps {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6mm !important;
    page-break-inside: auto;
  }
  .gs-section {
    page-break-inside: auto;
    margin-bottom: 5mm !important;
  }
  .gs-h2 { page-break-after: avoid; }
  .gs-table, .verdict, .callout { page-break-inside: avoid; }
  .gs-doc-header h1 { font-size: 26px !important; }
  .gs-doc-header .subtitle { font-size: 17px !important; }
  .gs-h2 { font-size: 16pt !important; }
  .gs-h2-zh { font-size: 11pt !important; }
  .gs-h3 { font-size: 13pt !important; }
  .gs-p, .gs-doc-list li, .gs-list li { font-size: 10pt !important; }
  .gs-col-title { font-size: 18px !important; }
  .gs-group-title { font-size: 15px !important; }
  .gs-list li { padding: 3px 0 !important; }
  .gs-step-title { font-size: 16px !important; }
  .gs-compare td, .gs-compare thead th { font-size: 13px !important; padding: 8px 10px !important; }
  .gs-issues td, .gs-issues thead th { font-size: 12px !important; padding: 6px 8px !important; }
  .gs-table td, .gs-table thead th { font-size: 9pt !important; padding: 6px 8px !important; }
  .verdict-text { font-size: 13pt !important; }
  a { color: inherit !important; text-decoration: none !important; }

  .gs-code { background: #f3f4f6 !important; color: #1f2937 !important; font-size: 9pt !important; page-break-inside: auto; }

  .gs-color-sections {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6mm !important;
    page-break-inside: auto;
  }

  .toc { page-break-after: always; }
  .gs-swatch { page-break-inside: avoid; }
}