/* Keep totals outside the horizontal table scroller; leave printed templates intact. */
.report-top-totals{position:sticky;top:0;z-index:7;direction:rtl;box-sizing:border-box;max-width:100%;margin:4px 0 6px;padding:5px 8px;border:1px solid #a6abb0;border-top:3px solid #2164a0;background:#fffdd0;color:#172b40;font:13px Arial,sans-serif;box-shadow:0 2px 3px #00000012}
.report-top-totals .rt-caption{font-weight:bold;font-size:12px;color:#294b69;margin-bottom:4px}
.report-top-totals .rt-measures{display:flex;flex-wrap:wrap;gap:3px 0}
.report-top-totals .rt-measure{display:flex;align-items:center;gap:7px;padding:2px 10px;border-inline-end:1px solid #c2c4ac;min-width:95px}
.report-top-totals .rt-measure:first-child{padding-inline-start:0}.report-top-totals .rt-measure:last-child{border:0}
.report-top-totals strong{color:#123e6a;direction:ltr;unicode-bidi:isolate;font:700 14px Arial,sans-serif;white-space:nowrap}
.report-top-totals .rt-note{display:block;color:#6c5023;font-size:11px;line-height:1.4;margin-top:4px}
.monthly-statement>.rt-existing-summary{position:sticky;top:0;z-index:7;background:#fffdd0;border:1px solid #a6abb0;border-top:3px solid #2164a0}
@media screen{.monthly-statement>.rt-replaced-summary{display:none!important}.sales-register-main:has(.report-top-totals)>.report-totals{display:none!important}}
@media(max-width:650px){.report-top-totals .rt-measure{padding:2px 5px;min-width:75px}.report-top-totals strong{font-size:13px}}
@media print{.report-top-totals{display:none!important}.monthly-statement>.rt-existing-summary{position:static!important;box-shadow:none!important}}
.sales-register-main:has(> .report-top-totals) > .kpi-grid.report-totals{display:none}
