/* /css/print-schedule.css - 進度表 A3 專屬列印設定 */

@media print {
  @page { size: A3 landscape; margin: 8mm 8mm 18mm 8mm; }

  .page-hdr { padding-bottom: .4rem; margin-bottom: .4rem; border-bottom: 1px solid #111; }
  .gantt-outer { overflow: visible; border: 1px solid #111; border-radius: 0; }
  .legend { border-radius: 0; border: 1px solid #111; margin-bottom: 6px; }

  table { table-layout: fixed; }
  .gantt-outer table { width: 100% !important; }
  .grp-sticky { position: static !important; }

  th.th-task, th.th-unit, td.td-task, td.td-unit { position: relative !important; transform: none !important; left: auto !important; border-right: 1px solid #111 !important; box-shadow: none !important; }
  th.th-task, td.td-task { width: 115px; min-width: 115px; }
  th.th-unit, td.td-unit { width: 52px; min-width: 52px; }
  th.th-wk, td.td-wk { width: auto; min-width: 18px; }

  th.lny-col, td.lny-col { background: var(--lny-bg) !important; }
  .bar { height: 14px; font-size: 7.5px; box-shadow: 1.5px 1.5px 0px rgba(0,0,0,0.2); border-color: #111 !important; }
  .bar-fl-date { font-size: 6.5px; }
  .bar-date { font-size: 6px; }

  tbody tr:hover { background: transparent !important; }
  tbody tr:hover td.td-task, tbody tr:hover td.td-unit { background: var(--bg) !important; }

  .notes-section { page-break-inside: avoid; border: 1px solid #111; margin-top: 10px; }
  .task-sort-btns { display: none !important; }
  .notes-copy-row { font-size: 8pt; letter-spacing: .08em; padding: 3pt 8pt; }
}