/* Separate, black-and-white report. Original PDF is never changed. */
@page portrait { size: A4 portrait; margin: 16mm 14mm; @bottom-center { content: "Pracovní návrh · demo — " counter(page); font: 8pt Arial, sans-serif; color: #000; } }
@page landscape { size: A4 landscape; margin: 14mm; @bottom-center { content: "Účetní příloha · demo — " counter(page); font: 8pt Arial, sans-serif; color: #000; } }
.print-route .sidebar,.print-route .topbar,.print-route .workspace-footer{display:none}.print-route .workspace{margin:0;width:100%}.print-route main{max-width:none;padding:24px}.print-toolbar{max-width:1100px;margin:0 auto 24px;display:flex;gap:12px;flex-wrap:wrap}.print-toolbar p{font-size:12px;width:100%;margin:0}.print-scroll{overflow:auto;max-width:100%}.print-document{width:max-content;min-width:100%;color:#000;font:11pt Arial,Helvetica,sans-serif;line-height:1.4}.report-page{background:#fff;color:#000;box-shadow:0 2px 12px #0002;margin:0 auto 24px;padding:16mm 14mm;box-sizing:border-box}.report-page.portrait{page:portrait;width:210mm;min-height:297mm}.report-page.landscape{page:landscape;width:297mm;min-height:210mm}.report-page h1{font-size:25pt;letter-spacing:0;font-weight:700}.report-page h2{font-size:15pt;letter-spacing:0;margin:0 0 18px}.report-page h3{font-size:12pt;margin:24px 0 12px}.report-page p{line-height:1.5;margin:0 0 15px}.report-client{font-weight:bold;font-size:16pt;line-height:1.7;text-align:center;margin-top:30mm}.report-client small{font-size:11pt;font-weight:normal}.report-cover h1{text-align:center;margin:58mm 0 24mm}.cover-state{text-align:center;font-size:11pt}.report-cover .cover-note{margin-top:38mm;font-size:9pt;text-align:center}.report-warning{border:1px solid #000;padding:10px;margin:18px 0;font-size:9pt}.report-warning p:last-child{margin-bottom:0}.report-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:9pt;margin:12px 0 18px;color:#000}.report-table caption{text-align:left;font-size:9pt;margin-bottom:7px}.report-table th,.report-table td{border:1px solid #333;padding:5px 6px;vertical-align:top;white-space:normal;overflow-wrap:anywhere;color:#000;background:#fff;line-height:1.3;text-align:left;font-weight:normal}.report-table th{font-weight:bold}.report-table .amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.report-table thead{display:table-header-group}.report-table tr{break-inside:avoid;page-break-inside:avoid}.summary-table{font-size:8pt}.summary-table th,.summary-table td{padding:2px 5px}.summary-table th:first-child,.summary-table td:first-child{width:65%}.summary-table th:nth-child(2),.summary-table td:nth-child(2){width:21%}.summary-table th:nth-child(3),.summary-table td:nth-child(3){width:14%}.summary-table .group-title th{border-top:2px solid #000;background:#eee;font-weight:bold}.summary-table .group-total th{font-weight:bold}.summary-table .grand-total th{border-top:3px double #000;font-weight:bold;font-size:9pt}.report-small{font-size:8pt}.worker-assumptions{font-size:7.5pt}.worker-assumptions th:first-child{width:26%}.appendix-table{font-size:8pt}.appendix-table th:nth-child(1){width:8%}.appendix-table th:nth-child(2){width:15%}.appendix-table th:nth-child(3){width:9%}.appendix-table th:nth-child(4){width:7%}.appendix-table th:nth-child(5){width:19%}.appendix-table th:nth-child(6){width:12%}.appendix-table th:nth-child(7){width:23%}.appendix-table th:nth-child(8){width:7%}
@media print {
  html,body{margin:0;padding:0;background:#fff!important;color:#000!important}.sidebar,.topbar,.workspace-footer,.print-toolbar,.toast,dialog,.skip-link{display:none!important}.app-shell,.workspace,.print-route .workspace{display:block;margin:0;width:auto;min-height:0}.print-route main{display:block;margin:0;padding:0;max-width:none;width:auto}.print-scroll{overflow:visible;max-width:none}.print-document{width:auto;min-width:0}.report-page{margin:0;padding:0;box-shadow:none;break-after:page;page-break-after:always}.report-page.portrait,.report-page.landscape{width:auto;min-height:0}.report-page:last-child{break-after:auto;page-break-after:auto}.report-cover{height:260mm}.report-page h2,.report-page h3{break-after:avoid}.report-table{break-inside:auto}.report-group{break-inside:auto}.report-table thead{display:table-header-group}.report-table tfoot{display:table-footer-group}.report-table tr{break-inside:avoid;page-break-inside:avoid}.report-page p{orphans:3;widows:3}body:not(.print-route) .app-shell{display:none}body:not(.print-route)::before{content:"Pro tisk otevřete Náhled finální kalkulace v kroku Výsledek / PDF."}
}

.print-preview-card .panel-heading{flex-wrap:wrap;gap:16px}.print-preview-card .button{white-space:normal}

@media print {
  .report-cover{height:auto;min-height:245mm!important;display:flow-root;padding-top:20mm}.report-cover .report-client{margin-top:0}.report-summary .summary-table{font-size:7pt;margin:8px 0}.report-summary .summary-table th,.report-summary .summary-table td{padding:1px 5px;line-height:1.08}.report-summary>h2{margin-bottom:8px}.report-summary>p{margin-bottom:8px}.report-summary .report-small{font-size:7pt;line-height:1.25}
}
