/* 流星农跨境法税 · 打印与导出
 * 授权读者可用浏览器"打印为 PDF"把一本专题导出成书式文档。
 * 打印视图（?print=1）会渲染整本书，此表只负责版式。
 */
@media print {
  :root {
    --bk-ink: #000;
    --bk-ink-soft: #1a1a1a;
    --bk-ink-muted: #444;
    --bk-ink-faint: #666;
    --bk-line: #bbb;
    --bk-line-strong: #888;
    --bk-surface: #fff;
    --bk-surface-raised: #fff;
    --bk-surface-sunken: #f2f2f2;
    --bk-accent: #000;
    --bk-accent-strong: #000;
    --bk-accent-soft: #eee;
  }

  .bk-header, .bk-footer, .bk-read-nav, .bk-rail, .bk-read-tools,
  .bk-chapter-nav, .bk-progress-bar, .bk-lightbox, .bk-skip, .no-print { display: none !important; }

  .bk { font-size: 10.5pt; line-height: 1.6; background: #fff; }
  .bk-read, .bk-read-rail { display: block; }
  .bk-article { max-width: none; }
  .bk-article h1 { font-size: 20pt; }
  .bk-article h2 { font-size: 14pt; page-break-after: avoid; }
  .bk-article h3 { font-size: 12pt; page-break-after: avoid; }

  a { color: #000; text-decoration: none; }
  /* 印刷体里保留可核查的链接地址 */
  .bk-article-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #444; word-break: break-all; }

  .bk-print-title { page-break-after: always; text-align: center; padding-top: 30vh; }
  .bk-print-title h1 { font-size: 24pt; }
  .bk-print-toc { page-break-after: always; }
  .bk-print-toc ol { list-style: none; padding-left: 0; }
  .bk-print-toc li { margin: 2pt 0; }
  .bk-print-toc .lvl-2 { padding-left: 12pt; }
  .bk-print-toc .lvl-3 { padding-left: 24pt; }
  .bk-print-unit { page-break-before: always; }

  .bk-statute { border: 1px solid #888; break-inside: avoid; }
  .bk-statute-body { font-size: 10pt; }
  .bk-figure { break-inside: avoid; }
  .bk-figure img { max-height: 100mm; width: auto; margin: 0 auto; }
  .bk-callout { break-inside: avoid; }
  .bk-matrix { break-inside: avoid; }
  .bk-locked { display: none; }

  @page { margin: 18mm 16mm; }
}
