/* Application print layout; DHTMLX assets remain unchanged. */
@page { size: letter landscape; margin: .5in; }
.shop-gantt-print { font: 12px Arial, sans-serif; color: #243746; background: white; }
body.shop-gantt-print { margin: 0; }
.shop-gantt-print h1 { font-size: 18px; margin: 0 0 8px; }
.shop-gantt-print h2 { font-size: 16px; }
.shop-gantt-print h3 { font-size: 14px; break-after: avoid; }
.shop-gantt-print p { margin: 6px 0; }
.sg-print-controls { padding: 14px; background: #edf4fa; display: flex; gap: 16px; align-items: center; }
.sg-print-controls button { padding: 8px 16px; white-space: nowrap; }
.sg-print-sheet { width: 10in; height: 7.45in; margin: 20px auto; box-sizing: border-box; overflow: hidden; break-after: page; }
.sg-print-page-label { color: #50677a; }
.sg-print-chart-box { width: 960px; position: relative; margin-top: 12px; }
.sg-print-chart { position: relative; transform: scale(.75); transform-origin: top left; }
.sg-print-clip { position: absolute; overflow: hidden; }
.sg-print-note { font-size: 11px; line-height: 1.4; padding-top: 10px; }
.sg-print-appendix { width: 10in; margin: 20px auto; }
.sg-print-appendix table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.sg-print-appendix th, .sg-print-appendix td { border: 1px solid #c6d2dc; padding: 7px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.sg-print-appendix th { background: #eef3f7; }
.sg-print-appendix thead { display: table-header-group; }
.sg-print-appendix tr { break-inside: avoid; }
.shop-gantt-print .gantt_cell, .shop-gantt-print .gantt_tree_content, .shop-gantt-print .gantt_grid_head_cell { font-size: 14px; }
.shop-gantt-print .gantt_task_line { background: #cfe3f3; border-color: #a8cce5; }
.shop-gantt-print .gantt_task_progress { background: #347bac; }
.shop-gantt-print .sg-job { background: #b0bac3; border-color: #96a1ab; }
.shop-gantt-print .sg-overdue { border: 2px solid #ba4038; }
.shop-gantt-print .sg-unknown { background: repeating-linear-gradient(135deg, #e7edf2, #e7edf2 5px, #d4dde5 5px, #d4dde5 7px); }
.shop-gantt-print .sg-link-warning .gantt_line_wrapper div { background-color: #ba4038; }
.shop-gantt-print .sg-link-warning .gantt_link_arrow { border-left-color: #ba4038; border-right-color: #ba4038; }
.shop-gantt-print .gantt_task_cell.sg-weekend { background: #f2f5f8; }
@media print {
    .shop-gantt-print, .shop-gantt-print * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .sg-print-controls { display: none; }
    .sg-print-sheet, .sg-print-appendix { margin: 0; }
}
