.report-dialog{width:min(960px,calc(100% - 48px));max-width:none;max-height:none;height:min(940px,calc(100dvh - 48px));margin:auto;padding:0;border:1px solid #dbe2ea;border-radius:18px;background:#f1f4f8;color:#0f172a;box-shadow:0 24px 80px #0f172a40;font-family:inherit;font-variant-numeric:tabular-nums}.report-dialog::backdrop{background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.report-frame{height:100%;min-height:0;display:flex;flex-direction:column}.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 20px;border-bottom:1px solid #dbe2ea;background:#fff;flex-shrink:0}.report-toolbar-label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:#475569}.report-toolbar-label svg{color:#2563eb}.report-close{width:44px;height:44px;display:grid;place-items:center;color:#475569;border-radius:10px;flex-shrink:0}.report-close:hover{background:#f1f5f9;color:#0f172a}.report-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px;scroll-padding:24px}.report-paper{max-width:794px;margin:0 auto;padding:40px 44px 24px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0f172a08;overflow-wrap:anywhere}.report-document-header{border-bottom:2px solid #1e293b;padding-bottom:22px;margin-bottom:28px}.report-brand{display:flex;align-items:baseline;gap:3px;font-size:14px;font-weight:700;margin-bottom:26px;letter-spacing:-.03em}.report-brand strong{color:#2563eb}.report-brand>span{margin-left:auto;color:#64748b;font-size:10px;font-weight:500;letter-spacing:.04em}.report-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.report-heading-row>div:first-child{min-width:0}.report-heading-row h1{font-size:25px;font-weight:750;line-height:1.2;letter-spacing:-.035em;margin:0;text-wrap:balance}.report-subtitle{font-size:12px;line-height:1.6;color:#64748b;margin-top:8px}.report-date{flex-shrink:0;text-align:right;font-size:11px;line-height:1.7}.report-date>span{display:block;color:#64748b;font-size:10px}.report-date time{font-weight:600}.report-content{font-size:13px;line-height:1.6}.report-content :is(h2,h3,h4){text-wrap:balance}.report-content :is(.text-slate-400,.text-slate-500){color:#526174}.report-content .text-\[10px\]{font-size:11px}.report-content .grid>*{min-width:0}.report-content .grid-cols-2{column-gap:16px}.report-content .text-right{font-variant-numeric:tabular-nums}.report-content .shadow-sm{box-shadow:none}.report-content .bg-slate-50.rounded-xl{border-radius:8px;padding:20px;background:#f8fafc}.report-content .flex.justify-between{gap:16px}.report-content .flex.justify-between>p{flex-shrink:0;max-width:65%}.report-content .bg-slate-900{background:#eef4ff;color:#0f172a;border:1px solid #cbdcf6}.report-content .bg-slate-900 :is(.text-slate-400,.text-emerald-400){color:#475569}.report-section{margin:0 0 24px}.report-section>h2{font-size:12px;font-weight:700;padding-bottom:8px;margin-bottom:2px;border-bottom:1px solid #dbe2ea;color:#334155}.report-rows{margin:0}.report-rows>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;padding:9px 0;border-bottom:1px solid #eef2f6}.report-rows dt{color:#526174}.report-rows dd{text-align:right;font-weight:600;margin:0}.report-total{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px;margin:24px 0;background:#eef4ff;border:1px solid #cbdcf6;border-radius:8px}.report-total p{font-size:12px;font-weight:600;margin:0;color:#334155}.report-total small{display:block;margin-top:4px;font-size:11px;color:#526174}.report-total>strong{font-size:25px;line-height:1.3;letter-spacing:-.035em;text-align:right}.report-notes{font-size:11px;line-height:1.7;color:#526174;margin-top:24px;border-top:1px solid #e2e8f0;padding-top:14px}.report-notes h2{font-size:11px;font-weight:700;margin-bottom:4px}.report-notes p+p{margin-top:5px}.report-table{width:100%;border-collapse:collapse;font-size:12px}.report-table th{color:#526174;background:#f8fafc;font-weight:600;text-align:left}.report-table :is(th,td){padding:10px 8px;border-bottom:1px solid #e2e8f0;vertical-align:top}.report-table .numeric{text-align:right}.report-document-footer{display:flex;justify-content:space-between;gap:16px;margin-top:28px;padding-top:12px;border-top:1px solid #e2e8f0;color:#64748b;font-size:9px}.report-actions{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid #dbe2ea;background:#fff}.report-actions>p{max-width:230px;font-size:11px;line-height:1.5;color:#64748b}.report-actions>div{display:flex;gap:10px}.report-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;font-size:13px;font-weight:600;border-radius:9px;transition:background .15s}.report-button-primary{background:#1d4ed8;color:#fff}.report-button-primary:hover{background:#1e40af}.report-button-secondary{border:1px solid #dbe2ea;background:#fff;color:#334155}.report-button-secondary:hover{background:#f1f5f9}.report-button-danger{color:#b91c1c}.report-button-danger:hover{background:#fef2f2}.report-dialog :is(button,input,textarea,[tabindex]):focus-visible{outline:2px solid #2563eb;outline-offset:3px}.report-letter .report-content{font-family:Georgia,Times New Roman,serif;font-size:14px;line-height:1.8;white-space:pre-wrap}.payslip-identity{margin-bottom:24px}.payslip-fields{display:grid;gap:14px}.payslip-fields label{display:grid;gap:6px;font-size:11px;font-weight:600;color:#526174}.payslip-fields :is(input,textarea){width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;font:inherit;font-size:13px;background:#fff}.payslip-fields textarea{resize:vertical;min-height:66px}.payslip-printed-identity{display:none}@media(min-width:700px){.report-content .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:699px){.report-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:12px}.report-toolbar{padding:6px 12px}.report-scroll{padding:12px}.report-paper{padding:24px 20px 20px}.report-brand{margin-bottom:20px}.report-brand>span{font-size:9px}.report-heading-row{flex-direction:column;gap:12px}.report-heading-row h1{font-size:23px}.report-date{text-align:left}.report-date>span{display:inline;margin-right:8px}.report-actions{padding:12px;flex-direction:column;align-items:stretch;gap:10px}.report-actions>p{max-width:none;text-align:center;font-size:10px}.report-actions>div>:last-child{flex:1}.report-actions>div:has(.report-button-danger){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-actions>div:has(.report-button-danger)>.report-button-primary{grid-column:1 / -1}.report-total{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.report-total>strong{font-size:24px;max-width:100%}.report-content .flex.justify-between{flex-wrap:wrap;gap:8px}.report-content .flex.justify-between>p{max-width:100%}.report-content .bg-slate-50.rounded-xl{padding:16px}.report-table{font-size:10px;table-layout:fixed}.report-table :is(th,td){padding:8px 4px}}@media print{@page tax-report{size:A4;margin:14mm 15mm}body:has(.report-dialog){height:auto!important;overflow:visible!important}body:has(.report-dialog)>:not(.report-dialog){display:none!important}body:has(.report-dialog) .report-dialog.modal-container{page:tax-report;display:block!important;position:static!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important;background:#fff!important}.report-dialog::backdrop{display:none}body:has(.report-dialog) .report-frame.receipt-modal{display:block!important;border-radius:0!important}body:has(.report-dialog) .report-frame>.report-scroll{display:block!important;padding:0!important;overflow:visible!important;height:auto!important}body:has(.report-dialog) .report-frame>.no-print{display:none!important}.report-paper{max-width:none;padding:0;margin:0;box-shadow:none;border:0}.report-document-header{margin-bottom:5mm;padding-bottom:4mm;break-inside:avoid}.report-brand{margin-bottom:5mm}.report-heading-row{flex-direction:row;gap:20px}.report-heading-row h1{font-size:22px}.report-date{text-align:right}.report-date>span{display:block}.report-content{font-size:10pt}.report-content .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.report-content .grid{gap:4mm}.report-content .grid.grid-cols-2{gap:2mm 4mm}.report-content .grid.print\:block{display:block!important}.report-content .mb-8,.report-content .mb-6{margin-bottom:5mm!important}.report-content .space-y-4>:not([hidden])~:not([hidden]){margin-top:2mm}.report-content .bg-slate-50.rounded-xl{padding:4mm!important;border:1px solid #dbe2ea!important}.report-content .bg-slate-900{background:#eef4ff!important;color:#0f172a!important}.report-content .text-white{color:#0f172a!important}.report-content :is(.text-emerald-600,.text-blue-600,.text-red-500,.text-red-600,.text-orange-500){color:#1e293b!important}.report-content :is(h2,h3,h4){break-after:avoid}.report-content :is(tr,.report-rows>div,.report-total,.report-notes){break-inside:avoid}.report-content .report-total{flex-direction:row;align-items:center;padding:4mm;margin:5mm 0}.report-total>strong{font-size:22px}.report-section{margin-bottom:3mm}.report-table{font-size:9pt;line-height:1.4;table-layout:auto}.report-table thead{display:table-header-group}.report-table :is(td,th){padding:1mm 2mm}.report-rows>div{padding:4px 0}.report-document-footer{margin-top:3mm;break-inside:avoid}.report-notes{font-size:8pt;margin-top:3mm;padding-top:3mm}.payslip-printed-identity{display:block;white-space:pre-wrap;margin-bottom:6mm}.report-letter .report-content{font-size:11pt}}.report-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.report-columns .report-rows>div{grid-template-columns:minmax(0,1fr) minmax(0,auto);column-gap:14px}.payroll-statement .report-rows>div:last-child{border-top:1px solid #94a3b8;border-bottom:0}.payroll-statement .report-rows>div:last-child dt{color:#1e293b;font-weight:600}.report-content .report-total{border:0;border-left:3px solid #334155;border-radius:0;background:#f4f6f8}.payroll-note{font-size:12px;color:#475569;line-height:1.55}@media screen and (max-width:699px){.report-columns{grid-template-columns:1fr;gap:0}}@media print{.report-columns{gap:7mm}.payroll-note{font-size:9pt}}
