/* ============================================================
 * print.css — 疗愈报告打印样式
 * 用法：应用内点击「打印 / 存档」时 body 临时挂 print-mode 类，
 *       再调用 window.print()。
 * ============================================================ */

@media print {
  body.print-mode .no-print { display: none !important; }
  body.print-mode .nav,
  body.print-mode footer,
  body.print-mode #toast-root,
  body.print-mode .sel-bar,
  body.print-mode .filter-bar,
  body.print-mode .back-link,
  body.print-mode .scape-ctl,
  body.print-mode .focus-acts,
  body.print-mode .hero-acts { display: none !important; }

  body.print-mode {
    background: #fff !important;
    color: #222 !important;
  }
  body.print-mode .card,
  body.print-mode .dim-card,
  body.print-mode .therapy-card,
  body.print-mode .chart-card,
  body.print-mode .layer-box {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #222 !important;
  }
  body.print-mode .report-hero {
    background: #f3efe4 !important;
    color: #222 !important;
    border: 1px solid #ccc;
  }
  body.print-mode .r-bottle {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #222 !important;
  }
  body.print-mode .r-bottle .bc,
  body.print-mode .report-hero .rmeta { color: #444 !important; opacity: 1 !important; }
  body.print-mode h2, body.print-mode h3, body.print-mode h4 { color: #111 !important; }
  body.print-mode .dim-card p,
  body.print-mode .therapy-card p,
  body.print-mode .therapy-card li,
  body.print-mode .chain-node .cn-d,
  body.print-mode .info-cell .v { color: #333 !important; }
  body.print-mode .view { animation: none !important; }
  body.print-mode .dim-grid { grid-template-columns: repeat(2, 1fr) !important; }
  body.print-mode .therapy-grid { grid-template-columns: repeat(2, 1fr) !important; }
  body.print-mode .chain-node { break-inside: avoid; }
  body.print-mode .section { break-inside: avoid; }

  @page {
    margin: 16mm 14mm;
    size: A4;
  }
}
