/* Seven reports: shared accounting data, filtered tables and a dedicated print document. */
#reports-print-root{display:none}
.reports-page{min-width:0;color:#234b3d}
.reports-page .page-head{margin-bottom:16px}
.reports-page .page-head h1{font-size:28px}
.reports-page .btn{min-height:40px;padding:8px 15px;font-size:14px}
.reports-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:7px;background:#fff;border:1px solid #c4d9cb;border-radius:16px;margin-bottom:14px;box-shadow:0 4px 16px #174c3305}
.reports-nav button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;border:0;border-radius:11px;background:transparent;font:600 13px Cairo,Arial,sans-serif;color:#426650;padding:8px;cursor:pointer;line-height:1.6}
.reports-nav button:hover{background:#eef6f0;color:#175c3b}
.reports-nav button.active{color:#fff;background:linear-gradient(150deg,#2f9068,#216245);box-shadow:0 4px 9px #1e654424}
.reports-nav .icon{width:19px;height:19px;flex-shrink:0}
.report-filters{padding:17px 20px;margin-bottom:20px;border-color:#c4d9cb}
.report-period,.report-specific{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
.report-period .field{flex:0 1 185px;min-width:140px;margin:0}
.report-specific{margin-top:13px;padding-top:13px;border-top:1px solid #e2ece5}
.report-specific .field{flex:1 1 170px;min-width:140px;max-width:320px;margin:0}
.report-specific .report-search{flex:2 1 260px;max-width:440px}
.report-filters .field>span{font-size:13px;font-weight:650;color:#3b614b;margin-bottom:5px}
.report-filters .field input,.report-filters .field select{height:43px;min-height:43px;padding:8px 12px;font-size:14px;color:#244e38;border-color:#b9d0c1}
.report-filters input[type=date]{direction:ltr;text-align:left}
.report-filters .search-input{height:43px;min-width:0;width:100%}
.report-filters .search-input input{width:100%;padding-inline-start:39px}
.report-filters .search-input>.icon{width:17px;height:17px;inset-inline-start:13px}
.report-filters .form-error:empty{display:none}
.report-filters .form-error{margin-top:10px}
.report-filters-summary,.report-filters-accounts{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
.report-filters-summary .report-specific,.report-filters-accounts .report-specific{flex:1 1 250px;border:0;margin:0;padding:0}
.report-filters-summary .report-period,.report-filters-accounts .report-period{flex:0 1 530px;flex-wrap:nowrap}
.report-filters-summary .report-specific .field{max-width:none}
.report-filters-accounts .report-search{flex-basis:180px}
.report-aging-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:13px;font-size:12px;color:#526c5b}
.report-aging-presets button{border:1px solid #c8dbce;border-radius:7px;background:#f3f8f4;color:#315d40;font:600 12px Cairo,Arial,sans-serif;padding:4px 12px;cursor:pointer}
.report-aging-presets button:hover{background:#d9eddf;border-color:#7ba98a}
.report-result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.report-result-heading h2{font-size:21px;margin:0;color:#204d36}
.report-result-heading>span{font-size:13px;color:#536e5c}
.report-applied{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.report-applied>span{padding:3px 9px;border-radius:6px;background:#e9f1ec;color:#42644d;font-size:11px;overflow-wrap:anywhere;max-width:100%}
.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:10px}
.report-metric{border:1px solid #a8cdb7;border-radius:13px;padding:15px 19px;background:linear-gradient(175deg,#eefbf4 0%,#deefe5 48%,#c4e1cf 54%,#d5ecdf 100%);box-shadow:inset 0 1px 0 #fff,0 6px 15px #1c60300a;min-width:0}
.report-metric>span{font-size:13px;font-weight:600;color:#325d43;display:block}
.report-metric strong{display:flex;align-items:baseline;gap:7px;font-size:28px;font-weight:650;line-height:1.5;color:#145435;margin-top:4px}
.report-metric bdi{font-family:Outfit,Cairo,Arial,sans-serif;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.report-metric small{font:500 12px Cairo,Arial,sans-serif}
.report-basis{display:flex;align-items:flex-start;gap:7px;font-size:12px;color:#526d5b;line-height:1.9;margin:10px 2px 18px}
.report-basis .icon{width:16px;height:16px;flex-shrink:0;margin-top:3px}
.report-sections{display:grid;gap:18px}
.report-section,.report-chart{overflow:hidden;border-color:#c6dacd}
.report-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 21px;border-bottom:1px solid #d9e6dd}
.report-section-heading h3{margin:0;font-size:17px;color:#234f36;font-weight:750}
.report-section-heading>span{font-size:12px;color:#607867}
.report-table-scroll{overflow:auto;max-width:100%;scrollbar-width:thin;scrollbar-color:#b4cec0 transparent}
.report-table{width:100%;border-collapse:collapse;table-layout:auto;min-width:560px;font-size:13px}
.report-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.report-table.report-columns-8,.report-table.report-columns-9,.report-table.report-columns-10{min-width:940px}
.reports-page .report-table th{background:#deede3;color:#224c33;font-size:12px;font-weight:750;padding:13px 14px;text-align:right;white-space:normal;border-bottom:1px solid #c6dacb;line-height:1.8;min-width:80px}
.reports-page .report-table td{padding:13px 14px;border-bottom:1px solid #e3ece6;color:#294d39;vertical-align:middle;line-height:1.9;overflow-wrap:anywhere;max-width:350px}
.report-table tbody tr:nth-child(even){background:#f8fbf9}
.report-table tbody tr:hover{background:#f0f8f3}
.reports-page .report-table .report-numeric{text-align:center;font-family:Outfit,Cairo,Arial,sans-serif;font-variant-numeric:tabular-nums}
.reports-page .report-table tfoot th,.reports-page .report-table tfoot td{background:#e9f4ed;color:#204d34;font-weight:750;border-top:1px solid #b9d1c1;border-bottom:0}
.report-table .text-link{font-size:13px;font-weight:650;white-space:normal;text-align:right}
.report-table .voucher-number{white-space:nowrap;font-size:12px;padding:4px 9px;min-height:30px}
.reports-page .report-table .report-claim{white-space:nowrap;min-height:34px;padding:6px 10px;font-size:12px;gap:6px}
.reports-page .report-table .report-claim .icon{width:16px;height:16px}
.reports-page .report-table .report-empty{text-align:center;color:#667d6e;padding:34px;font-family:Cairo,Arial,sans-serif}
.report-chart{margin-bottom:18px}
.report-chart-scroll{overflow-x:auto;padding:10px 14px 6px;direction:ltr;scrollbar-width:thin}
.report-chart svg{display:block;min-width:600px;width:100%;height:auto;max-height:245px;overflow:visible}
.report-legend{display:flex;gap:18px;font-size:12px;color:#3c5f49}
.report-legend span:before{content:'';display:inline-block;width:9px;height:9px;border-radius:3px;margin-inline-end:5px;background:#3d9870}
.report-legend .report-out:before{background:#c97d76}
.report-in-bar{fill:#3d9870}.report-out-bar{fill:#c97d76}.report-grid-line{stroke:#dfe9e2;stroke-width:1}.report-chart-label{font:11px Outfit,Cairo,Arial,sans-serif;fill:#5b7464}
@media screen{
html[data-theme=dark] .reports-nav,html[data-theme=dark] .report-filters,html[data-theme=dark] .report-section,html[data-theme=dark] .report-chart{background:#1a3023;border-color:#3c5e47}
html[data-theme=dark] .reports-nav button{color:#bad5c3}html[data-theme=dark] .reports-nav button:hover{background:#294b35}html[data-theme=dark] .reports-nav button.active{background:linear-gradient(150deg,#397e54,#245b3a);color:#fff}
html[data-theme=dark] .report-specific,html[data-theme=dark] .report-section-heading{border-color:#34523d}
html[data-theme=dark] .report-filters .field>span,html[data-theme=dark] .report-result-heading h2,html[data-theme=dark] .report-section-heading h3{color:#c6e1cd}
html[data-theme=dark] .reports-page>.page-head h1{color:#c6e1cd}
html[data-theme=dark] .report-filters .field input,html[data-theme=dark] .report-filters .field select{background:#152b1d;color:#dbede1;border-color:#4d7257}
html[data-theme=dark] .report-metric{background:linear-gradient(175deg,#294d37,#254830 48%,#315b3b 54%,#2a5035);border-color:#477953;box-shadow:inset 0 1px 0 #6d98743b}
html[data-theme=dark] .report-metric>span,html[data-theme=dark] .report-metric strong{color:#c9ebd2}
html[data-theme=dark] .report-basis,html[data-theme=dark] .report-result-heading>span,html[data-theme=dark] .report-section-heading>span,html[data-theme=dark] .report-legend,html[data-theme=dark] .report-aging-presets{color:#aac8b2}
html[data-theme=dark] .report-applied>span,html[data-theme=dark] .report-aging-presets button{background:#294832;color:#c1dcca;border-color:#44654b}
html[data-theme=dark] .reports-page .report-table th{background:#294b34;color:#c6e1ce;border-color:#43664a}
html[data-theme=dark] .reports-page .report-table td{background:#1b3023;color:#c1dbca;border-color:#314c38}
html[data-theme=dark] .report-table tbody tr:nth-child(even) td{background:#1e3727}
html[data-theme=dark] .reports-page .report-table tfoot td,html[data-theme=dark] .reports-page .report-table tfoot th{background:#294c35;color:#d0ebd9}
html[data-theme=dark] .report-grid-line{stroke:#3b5942}html[data-theme=dark] .report-chart-label{fill:#a8c8b0}
}
@media(max-width:1200px){.reports-nav{display:flex;overflow-x:auto;scrollbar-width:thin}.reports-nav button{flex:1 0 145px}.report-specific .field{max-width:none}.report-metric{padding:13px}.report-metric strong{font-size:25px}}
@media(max-width:700px){.reports-page .page-head{flex-wrap:wrap;gap:12px}.reports-page .page-head h1{font-size:24px}.reports-page .btn{padding:7px 11px;font-size:12px;min-height:36px}.reports-nav{border-radius:12px;padding:5px;gap:3px}.reports-nav button{flex-basis:140px;min-height:44px;font-size:12px}.report-filters{padding:13px}.report-period{gap:9px}.report-period .field{flex:1 1 120px;min-width:115px}.report-specific .field{flex:1 1 135px;min-width:120px}.report-specific .report-search{flex-basis:100%}.report-filters .field input,.report-filters .field select{font-size:13px}.report-result-heading{align-items:flex-start;flex-direction:column;gap:3px}.report-result-heading h2{font-size:19px}.report-result-heading>span{font-size:11px}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.report-metric{padding:11px 13px}.report-metric>span{font-size:11px}.report-metric strong{font-size:24px}.report-basis{font-size:11px;margin-bottom:13px}.report-section-heading{padding:13px}.report-section-heading h3{font-size:15px}.report-applied>span{font-size:10px}.report-table{font-size:12px}}
@media(max-width:700px){.reports-page>.page-head{display:flex;flex-direction:column;align-items:stretch;gap:9px}.reports-page>.page-head>.page-actions{justify-content:flex-start;gap:7px}.report-filters-summary .report-period,.report-filters-accounts .report-period{flex-wrap:wrap;flex-basis:100%}.report-filters-summary .report-specific,.report-filters-accounts .report-specific{flex-basis:100%}.report-filters-summary .report-specific{margin:0}}
.report-print-document{background:#fff;color:#203e2b;font:9pt Cairo,Arial,sans-serif}
.report-print-document *{box-sizing:border-box}
.report-print-filters{font-size:8pt;color:#486650;line-height:1.8;overflow-wrap:anywhere;margin:0 0 10px}
.report-print-document .report-metric{border-radius:4px;box-shadow:none;background:#edf5ef;padding:8px 10px;border-color:#c6d9cc}
.report-print-document .report-metric>span{font-size:8pt;color:#31543b}
.report-print-document .report-metric strong{font-size:16pt;color:#214e30}.report-print-document .report-metric small{font-size:7pt}
.report-print-document .report-basis{display:block;font-size:8pt;color:#4d6955;line-height:1.7;margin:8px 0 13px}
.report-print-section{margin-bottom:16px}.report-print-section h3{font-size:11pt;margin:0 0 8px;color:#234e33;break-after:avoid}
.report-print-document .report-table{font-size:8pt;min-width:0;width:100%;table-layout:auto;border:1px solid #ceded2}
.report-print-document .report-table th,.report-print-document .report-table td{font-size:8pt;padding:7px 6px;line-height:1.8;border-bottom:1px solid #d7e4dc;text-align:right;color:#203e2b;overflow-wrap:anywhere;max-width:65mm;vertical-align:top}
.report-print-document .report-table thead th{background:#e3efe7;font-weight:750;white-space:normal}
.report-print-document .report-table .report-numeric{text-align:center;font-family:Outfit,Cairo,Arial,sans-serif;font-variant-numeric:tabular-nums}
.report-print-document .report-table tfoot th,.report-print-document .report-table tfoot td{background:#e9f3ed;font-weight:700}
.report-print-document .report-table thead{display:table-header-group}.report-print-document .report-table tfoot{display:table-row-group}
.report-print-document .report-table tr{break-inside:avoid;page-break-inside:avoid}
.report-print-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #bfd5c6;padding-top:8px;margin-top:16px;font-size:7pt;color:#4c6855;break-inside:avoid}
@media print{
 @page diwan-report{size:A4 portrait;margin:11mm}
 @page diwan-report-wide{size:A4 landscape;margin:11mm}
 body.printing-report{background:#fff!important;color:#203e2b!important;margin:0;padding:0}
 body.printing-report>#app,body.printing-report>#modal-root,body.printing-report>#toast,body.printing-report>#account-print-root,body.printing-report>#voucher-print-root{display:none!important}
 body.printing-report>#reports-print-root{display:block!important}
 .report-print-document{page:diwan-report;margin:0;padding:0;width:100%;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .report-print-wide{page:diwan-report-wide}
 .report-print-document .report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;break-inside:avoid}
 .report-print-document .report-metric{border-radius:0}
 .report-print-document .report-table tbody tr:nth-child(even){background:#f7faf8}
}
