@tailwind base; @tailwind components; @tailwind utilities; * { box-sizing: border-box; } img { -webkit-print-color-adjust: exact; print-color-adjust: exact; } body { @apply bg-gray-50 text-gray-900; } .template-field { display: block; min-height: 1.1em; border-bottom: 1px dotted #d1d5db; padding-bottom: 1px; } .template-field-multiline { min-height: 1.8em; white-space: pre-wrap; } .template-field[contenteditable="true"]:empty:before { content: attr(data-placeholder); color: #9ca3af; } .avoid-break { break-inside: avoid; page-break-inside: avoid; } report-editor { display: block; width: 100%; } report-editor[data-mode="page"] [data-overlay] { position: static; inset: auto; width: 100%; height: auto; z-index: auto; } report-editor[data-mode="page"] [data-backdrop] { display: none; } report-editor[data-mode="page"] [data-shell-wrap] { position: static; height: auto; width: 100%; padding: 0; } report-editor[data-mode="page"] [data-shell] { max-width: none; border-radius: 0; box-shadow: none; } summary::-webkit-details-marker { display: none; } @media print { @page { size: A4; margin: 10mm; } body { background: #ffffff; } .no-print { display: none !important; } .print-page { break-after: page; page-break-after: always; } .print-page:last-child { break-after: auto; page-break-after: auto; } }