#summaryPage{min-width:0}#summaryPage:is(:fullscreen,.ds-fullscreen-fallback){background:#f3f7fa;padding:26px;overflow:auto}.ds-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 24px}.ds-heading h2{font-size:28px;margin:4px 0 8px;color:#102c43}.ds-heading p{margin:4px 0}.ds-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ds-filters{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 1fr auto;gap:14px;align-items:end;padding:20px;background:#fff;border:1px solid #dce7ed;border-radius:16px}.ds-filters label{min-width:0;margin:0}.ds-filters input,.ds-filters select{min-width:0;width:100%}.ds-filters .datefiltercontrols{display:flex;flex-direction:column;gap:5px}.ds-filters .datefiltercontrols input{width:100%;max-width:none}.ds-statusbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#617583;margin:18px 0}.ds-live{color:#067f82;font-weight:650}.ds-grid{display:grid;gap:18px;align-items:stretch}.ds-cols-1{grid-template-columns:minmax(0,1fr)}.ds-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ds-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ds-width-2{grid-column:span 2}.ds-width-3{grid-column:span 3}.ds-width-4{grid-column:span 4}.ds-tile{background:#fff;border:1px solid #dce7ed;border-radius:16px;padding:18px;min-width:0;box-shadow:0 5px 18px #153d4d06;border-top:3px solid #1ba7aa}.ds-tile h3{font-size:17px;color:#173247;margin:0 0 5px}.ds-tile-state{font-size:11px;color:#697f8e;min-height:16px;margin:0 0 16px;overflow-wrap:anywhere}.ds-error{color:#a23636}.ds-tile-body{overflow:auto;max-height:460px;min-height:180px}.ds-tile table{width:100%;border-collapse:collapse;font-size:13px}.ds-tile th{text-align:left;color:#526c7c;background:#f3f8fa}.ds-tile td,.ds-tile th{padding:10px 9px;border-bottom:1px solid #e8eff3;overflow-wrap:anywhere}.ds-tile td.ds-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ds-tile tfoot{font-weight:700}.ds-tile .reportchart{border:0;margin:0;padding:0;box-shadow:none}.ds-tile .charthead{display:none}.ds-tile .chartnotice{font-size:10px}.ds-tile .chartbody svg{max-width:100%;min-width:0!important;height:auto}.ds-cards{display:grid;gap:12px}.ds-card{padding:14px;background:#f4f9fa;border-radius:10px}.ds-card>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0}.ds-card span{font-size:12px;color:#597482}.ds-card strong{font-size:23px;color:#087f8e;text-align:right;overflow-wrap:anywhere}.ds-editor{display:grid;gap:20px}.ds-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ds-editor-grid>*{min-width:0}.ds-editor fieldset{min-width:0;border:1px solid #d7e5eb;border-radius:12px;padding:18px;background:#fff}.ds-editor legend{font-weight:700;padding:0 7px}.ds-editor textarea{font-family:Consolas,monospace;font-size:13px}.ds-editor-tiles{display:grid;gap:20px}.ds-widget-editor>.ds-actions{margin-bottom:15px}.ds-editor details>summary{cursor:pointer;font-weight:650;padding:10px 0}.ds-editor input,.ds-editor select,.ds-editor textarea{max-width:100%}.ds-editor>button{justify-self:start}.ds-editor .muted{font-size:12px;overflow-wrap:anywhere}
@media(max-width:1100px){.ds-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-filters>button{grid-column:1/-1}.ds-cols-3,.ds-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-width-3,.ds-width-4{grid-column:span 2}}
@media(max-width:600px){.ds-heading{align-items:flex-start;flex-direction:column}.ds-heading h2{font-size:24px}.ds-filters{gap:10px;padding:14px}.ds-filters label{font-size:12px}.ds-grid{grid-template-columns:minmax(0,1fr)}.ds-tile{grid-column:span 1;padding:14px}.ds-editor-grid{grid-template-columns:minmax(0,1fr)}.ds-editor fieldset{padding:12px}.ds-statusbar{font-size:11px}.ds-tile-body{max-height:370px}.ds-card strong{font-size:21px}#summaryPage:is(:fullscreen,.ds-fullscreen-fallback){padding:12px}}
/* Keep the overview compact while preserving independent scroll areas per report. */
main:has(#summaryPage:not([hidden]))>header{padding-bottom:16px;margin-bottom:16px}
#summaryPage .ds-heading{margin-bottom:16px}#summaryPage .ds-heading h2{font-size:24px}
.ds-filters .datefiltercontrols select,.ds-filters .datefiltercontrols input{margin:0;min-height:40px;padding:9px 12px}
.ds-filters{padding:15px}.ds-statusbar{margin:13px 0}.ds-tile-body{height:265px;max-height:265px;min-height:0}.ds-tile .chartbody svg,.ds-tile .chartbody svg.donutchart{height:175px;max-height:175px}.ds-tile .chartnotice{margin:0 0 8px}.ds-tile .chartlegend{max-height:64px}.ds-tile .chartbody svg text{font-size:18px}.ds-tile .chartbody svg.donutchart text{font-size:12px}.ds-tile .chartselection:empty{display:none}
@media(min-width:1101px){.ds-filters{grid-template-columns:1.25fr 1.25fr 1fr 1fr auto}.ds-heading .muted{font-size:13px}.ds-tile .chartnotice{line-height:1.2}}
/* Preserve each normal-view tile ratio; additional rows scroll with the page. */
#summaryPage:is(:fullscreen,.ds-fullscreen-fallback){display:block;height:100vh;height:100dvh;box-sizing:border-box;overflow:auto;padding-top:max(12px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left))}
.ds-fullscreen-dialog[open]{position:fixed;inset:0;width:100vw;max-width:100vw!important;height:100vh;height:100dvh;max-height:100dvh!important;margin:0;padding:0!important;border:0;border-radius:0;overflow:hidden;background:#f3f7fa}
.ds-fullscreen-dialog::backdrop{background:#f3f7fa}
.ds-fullscreen-open,.ds-fullscreen-open body{overflow:hidden!important}
#summaryPage.ds-fullscreen-fallback{width:100%;margin:0;overscroll-behavior:contain}
#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-grid{grid-auto-rows:auto;align-items:start}
#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile{display:flex;flex-direction:column;min-height:0;box-sizing:border-box;aspect-ratio:var(--ds-normal-ratio,1)}
#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile-body{flex:1;min-height:0;height:auto;max-height:none}
#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile>h3,#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile-state,#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-format-button{flex-shrink:0}
/* Size report values against their own tile, not the overall browser width. */
.ds-tile{container-type:inline-size;overflow:hidden}
.ds-tile h3{font-size:clamp(14px,4.5cqw,23px);overflow-wrap:anywhere}
.ds-tile-state{font-size:clamp(10px,2.8cqw,13px)}
.ds-tile-body{min-width:0;--ds-fit-font:12px;scrollbar-gutter:auto}
.ds-tile-body>table{min-width:0;width:100%;font-size:var(--ds-fit-font);line-height:1.3;table-layout:auto}
.ds-tile-body>table th,.ds-tile-body>table td{font-size:inherit;padding:.62em .45em;line-height:inherit}
.ds-tile-body>table th{white-space:normal;overflow-wrap:anywhere}
.ds-tile-body>table td:not(.ds-number){overflow-wrap:anywhere}
.ds-tile-body>table .ds-total-label{text-align:left;white-space:normal;font-weight:700}
.ds-tile-body.ds-wrap-values>table{table-layout:fixed}
.ds-tile-body.ds-wrap-values>table td{white-space:normal;overflow-wrap:anywhere}
.ds-tile-body>.ds-cards{font-size:var(--ds-fit-font);gap:.65em}
.ds-tile-body .ds-card{padding:.7em}
.ds-tile-body .ds-card>div{gap:.6em;padding:.25em 0;min-width:0}
.ds-tile-body .ds-card span{font-size:.8em;overflow-wrap:anywhere}
.ds-tile-body .ds-card strong{font-size:1.35em;min-width:0;overflow-wrap:anywhere}
.ds-tile .chartbody svg,.ds-tile .chartbody svg.donutchart{height:clamp(120px,48cqw,290px);max-height:290px}
#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile .chartbody svg{height:clamp(100px,22vh,420px);max-height:420px}
.ds-tile-body>table{white-space:normal}
.ds-tile-body>table th,.ds-tile-body>table td:not(.ds-number){overflow-wrap:normal;word-break:normal}
.ds-tile-body.ds-wrap-values>table td,.ds-tile-body.ds-wrap-values>table th{overflow-wrap:anywhere}
main:has(#summaryPage:not([hidden])){max-width:none}
/* The chart shares the available tile height with its legend and notices. */
.ds-tile-body>.multichartslot{height:100%;min-height:0}
.ds-tile-body .reportchart{display:flex;flex-direction:column;height:100%;min-height:0}
.ds-tile-body .chartnotice,.ds-tile-body .chartlegend,.ds-tile-body .chartselection{flex-shrink:0}
.ds-tile-body .chartbody{flex:1;min-height:0;overflow:hidden}
.ds-tile-body .chartbody svg,#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile-body .chartbody svg{height:100%;max-height:none;min-width:0!important;width:100%}
.ds-tile-body .chartbody{display:flex;flex-direction:column;overflow:auto}
.ds-tile-body .chartbody>p,.ds-tile-body .chartbody>.chartlegend{flex-shrink:0}
.ds-tile-body .chartbody svg,#summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile-body .chartbody svg{flex:1 1 0;min-height:0;height:0}
/* Summary legend: store names above centered values, aligned in equal cells. */
.ds-tile .chartlegend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:45%;margin-top:10px;padding:0;overflow:auto}
.ds-tile .chartlegend button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0;min-height:0;margin:0;padding:7px 5px;border-radius:9px;background:#f4f9fb;border:1px solid #dce9ef;white-space:normal;text-align:center;line-height:1.3;font-size:clamp(9px,2.8cqw,14px)}
.ds-tile .chartlegend .ds-legend-name{display:block;max-width:100%;overflow-wrap:anywhere;color:#426577}
.ds-tile .chartlegend .ds-legend-value{display:block;max-width:100%;overflow-wrap:anywhere;color:#087e91;font-weight:700;font-variant-numeric:tabular-nums}
.ds-tile .chartlegend button:hover{background:#e5f3f6;border-color:#61b8c3}
.ds-tile .chartnotice[hidden]{display:none}
/* Shared report formatting; newly added reports inherit Calibri or the saved global font. */
.ds-tile{font-family:var(--ds-report-font,Calibri),'Segoe UI',sans-serif;background:var(--ds-report-background,#fff)}
:is(.ds-tile-body,.ds-tile-body table,.ds-tile-body td,.ds-tile-body th,.ds-tile-body svg,.ds-tile-body svg text,.ds-tile-body button,.ds-tile-body span,.ds-tile-body strong):not(.ds-grid-report):not(.ds-grid-report *){font-family:var(--ds-report-font,Calibri),'Segoe UI',sans-serif!important}
.ds-tile-body td,.ds-tile-body .ds-card span,.ds-tile-body .ds-card strong,.ds-tile-body .ds-legend-name,.ds-tile-body .ds-legend-value{color:var(--ds-report-text,#17384b)}
.ds-tile-body svg text{fill:var(--ds-report-text,#17384b)}
.ds-tile-body table,.ds-tile-body .ds-card{background:var(--ds-report-background,#fff)}
.ds-tile-body table th{background:var(--ds-report-header,#f3f8fa);color:var(--ds-report-header-text,#17384b)}
.ds-format-button{align-self:flex-start;margin:0 0 6px;padding:3px 8px!important;min-height:24px!important;font-size:10px!important}

/* Keep refresh information together; tiles only show data warnings. */
.ds-statusbar{justify-content:flex-start;align-items:center;column-gap:14px;row-gap:5px}
.ds-statusbar [role="status"]{font-variant-numeric:tabular-nums}
.ds-tile-state:empty{display:none}

/* Column captions stay centered independently of report value alignment. */
.ds-tile table thead th{text-align:center!important}

.ds-tile-body svg text.ds-bar-value{fill:#ffffff!important;font-weight:700!important}
.ds-tile .ds-group-heading th{background:#e5f3f4;color:#096776;text-align:left!important;font-weight:700!important;border-top:2px solid #b5dadd;padding:9px}
.ds-editor{gap:14px}
.ds-editor label{font-size:12px;gap:4px}
.ds-editor input,.ds-editor select,.ds-editor textarea{padding:7px 9px;min-height:34px;font-size:12px;border-radius:7px}
.ds-editor textarea{min-height:90px;max-height:220px;resize:vertical}
.ds-editor button{padding:6px 10px;min-height:30px;font-size:12px;border-radius:7px}
.ds-editor fieldset{padding:12px}
.ds-editor .ds-editor-grid{gap:9px}
.ds-editor .muted{font-size:11px;margin:5px 0}
.ds-editor .ds-widget-editor{border:1px solid #bed6df;border-left:4px solid #119bad;scroll-margin-top:65px;background:#fff}
.ds-editor .ds-widget-editor:nth-child(even){border-left-color:#536bb4;background:#f9fbfe}
.ds-editor .ds-widget-editor legend{font-size:15px;color:#153a50;padding:5px 10px;background:#e8f3f7;border-radius:6px}
.ds-editor .ds-widget-editor>.ds-actions{margin-bottom:10px}
.ds-report-nav{position:sticky;top:0;z-index:3;display:flex;gap:6px;overflow-x:auto;padding:8px;background:#edf4f8;border:1px solid #d1e1eb;border-radius:9px}
.ds-report-nav button{flex-shrink:0;white-space:nowrap}
.ds-editor .ds-column-editor{grid-template-columns:1.2fr 1.2fr 1fr 1fr 1fr auto;align-items:end;padding:9px;margin:6px 0;background:#f0f5f8;border-radius:7px}
.ds-editor details>summary{font-size:13px;padding:8px}
@media(max-width:900px){.ds-editor .ds-column-editor{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.ds-editor .ds-column-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-editor fieldset{padding:9px}}
.ds-editor label{margin:0}
.ds-editor input,.ds-editor select,.ds-editor textarea{margin-top:4px;margin-bottom:0}
.ds-tile .ds-group-heading td{background:#e5f3f4;color:#096776;font-weight:700!important;border-top:2px solid #b5dadd}
.ds-tile .ds-group-heading td.ds-number{text-align:right}
.ds-grid-report{height:500px;max-height:500px;min-width:0;font-size:13px}
.ds-grid-report .viewcontrols{gap:6px;flex-wrap:wrap}
.ds-grid-report button,.ds-grid-report input,.ds-grid-report select{font-size:12px;min-height:30px;padding:6px 8px}
.ds-grid-report .viewtable{max-width:100%;overflow:auto}
.ds-grid-report dialog{font-size:14px}
.ds-grid-tools{margin-bottom:10px;border:1px solid #d6e4eb;border-radius:8px;padding:8px}
.ds-grid-tools>summary{cursor:pointer;font-weight:600;color:#175069;font-size:12px}
.ds-grid-tools[open]>.viewcontrols{display:flex!important}
.ds-grid-report>.viewcontrols{display:flex!important}
/* One table viewport per dashboard grid; keep controls outside its scroll area. */
.ds-tile-body.ds-grid-report{display:flex;flex-direction:column;gap:8px;padding:0;overflow:hidden;box-sizing:border-box}
.ds-grid-report>.viewtable{flex:1 1 0;min-height:100px;max-height:none;min-width:0;margin:0;border:1px solid #dce8ed;border-radius:9px;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#8daeb9 #eff5f7;overscroll-behavior:contain}
.ds-grid-report>.viewtable::-webkit-scrollbar{width:10px;height:10px}
.ds-grid-report>.viewtable::-webkit-scrollbar-thumb{background:#8daeb9;border:2px solid #eff5f7;border-radius:8px}
.ds-grid-report>.viewtable::-webkit-scrollbar-track{background:#eff5f7}
.ds-grid-report>.viewtable thead{position:sticky;top:0;z-index:5}
.ds-grid-report>.viewtable thead th{position:static}
.ds-grid-report>.viewtable tbody td{vertical-align:middle}
.ds-grid-report .photothumb{margin:0 auto;display:block;border-radius:8px}
.ds-grid-report>.ds-grid-tools{flex:0 0 auto;margin:0;padding:7px 10px;background:#f8fbfc;max-height:40%;overflow:auto}
.ds-grid-report>.muted,.ds-grid-report>.viewnote{flex:0 0 auto;margin:0;font-size:11px;line-height:1.35}
.ds-grid-report>.muted:empty{display:none}
.ds-grid-report>.gridpager{flex:0 0 auto;margin:0;gap:4px;justify-content:flex-end}
.ds-grid-report>.mobilescrollhint{margin:0;font-size:11px}
/* Dashboard tables keep a compact single-line row even with long descriptions. */
.ds-tile-body>table{table-layout:fixed}
.ds-tile-body>table th,.ds-tile-body>table td,.ds-tile-body.ds-wrap-values>table th,.ds-tile-body.ds-wrap-values>table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
#summaryPage .ds-tile-body>table th,#summaryPage .ds-tile-body>table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Match heading bottom spacing to the tile top inset. */
.ds-tile>h3{margin-bottom:18px}
@media(max-width:600px){.ds-tile>h3{margin-bottom:14px}}
#summaryPage .ds-tile-body>table th,#summaryPage .ds-tile-body>table td{padding-left:5px;padding-right:5px}
main>header.ds-main-header{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.ds-main-header>.ds-heading{flex:1;min-width:280px;margin:0;gap:20px}
.ds-main-header>.ds-heading h2{font-size:21px;margin:0 0 5px}
.ds-main-header>.ds-heading p{font-size:13px;margin:0}
.ds-main-header .ds-actions{justify-content:flex-end}
@media(max-width:700px){main>header.ds-main-header{gap:12px}.ds-main-header>.ds-heading{order:3;flex-basis:100%;min-width:0;flex-direction:row;align-items:center}.ds-main-header>.badge{margin-left:auto}.ds-main-header>.ds-heading h2{font-size:18px}}
.ds-transfer-dialog{width:min(520px,90vw);max-height:80vh;border:1px solid #d6e4eb;border-radius:14px;padding:20px}.ds-transfer-dialog>div{display:grid;gap:10px;max-height:50vh;overflow:auto;margin:16px 0}.ds-transfer-dialog>button{margin:4px}.ds-transfer-dialog::backdrop{background:#102c4377}
/* Keep the column header, entire group heading and totals in separate layers. */
.ds-tile-body>table>thead>tr>th{position:sticky;top:0;z-index:4}
.ds-tile-body>table>tbody>.ds-group-heading{position:sticky;top:var(--ds-header-height,34px);z-index:3;background:#e5f3f4}
.ds-tile-body>table>tbody>.ds-group-heading>th,.ds-tile-body>table>tbody>.ds-group-heading>td{position:static;box-shadow:inset 0 1px #b5dadd,inset 0 -1px #b5dadd}
.ds-tile-body>table>tfoot>tr>td{position:sticky;bottom:0;z-index:4;background:#e1f0eb;box-shadow:inset 0 2px #9fc8bb}
.ds-invoice-link{padding:0!important;margin:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#087f99!important;font:inherit!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.ds-invoice-link:focus-visible{outline:2px solid #087f99!important;outline-offset:3px}
.ds-invoice-dialog{width:min(1450px,96vw);max-width:96vw;max-height:90dvh;padding:22px;border:1px solid #d1e2e9;border-radius:14px;color:#17384b;background:#fff;overflow:auto}.ds-invoice-dialog::backdrop{background:#102c4370}.ds-invoice-heading{display:flex;align-items:center;gap:12px}.ds-invoice-heading h2{font-size:20px;flex:1;margin:0}.ds-invoice-heading button{flex-shrink:0}.ds-invoice-dialog>.muted{font-size:11px;margin:10px 0 15px}.ds-invoice-meta{font-size:12px;color:#607e8f}.ds-invoice-scroll{overflow:auto;max-height:64dvh}.ds-invoice-scroll table{border-collapse:collapse;width:100%;font-size:12px}.ds-invoice-scroll th{position:sticky;top:0;background:#edf6f8;text-align:center;white-space:nowrap}.ds-invoice-scroll th,.ds-invoice-scroll td{padding:10px;border-bottom:1px solid #e2ecf1}.ds-invoice-scroll td{min-width:75px}.ds-invoice-scroll td:nth-child(2){min-width:200px}.ds-invoice-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ds-invoice-scroll tfoot td{background:#e6f3ef;font-weight:700;position:sticky;bottom:0}@media(max-width:650px){.ds-invoice-dialog{padding:14px}.ds-invoice-heading{flex-wrap:wrap}.ds-invoice-heading h2{flex-basis:100%;font-size:17px}}
.ds-invoice-dialog{font-family:'Segoe UI',Arial,sans-serif;font-size:16px}
.ds-invoice-dialog table{font-family:'Segoe UI',Arial,sans-serif;font-size:16px}
.ds-invoice-dialog .ds-invoice-center{text-align:center;font-variant-numeric:tabular-nums}
.ds-invoice-dialog .ds-invoice-meta{font-size:16px}
.ds-invoice-dialog .ds-invoice-heading button{font-family:'Segoe UI',Arial,sans-serif;font-size:16px}
.ds-invoice-query-dialog{width:min(1100px,96vw);max-width:96vw;max-height:90dvh;overflow:auto;padding:22px;border:1px solid #d1e2e9;border-radius:14px;color:#17384b}.ds-invoice-query-dialog::backdrop{background:#102c4370}.ds-invoice-query-dialog h2{font-size:20px}.ds-invoice-query-dialog .muted{font-size:12px}.ds-invoice-query-dialog textarea{width:100%;height:46dvh;min-height:220px;margin:12px 0;font:13px/1.5 Consolas,monospace;white-space:pre;overflow:auto;resize:vertical}.ds-invoice-query-dialog details{font-size:12px}

/* Mobile reports retain every digit; only the table viewport scrolls. */
.ds-table-scroll-hint{display:none}
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 .ds-table-scroll-hint{display:block;margin:0 0 8px;font-size:11px;color:#617583;line-height:1.4}
 #summaryPage .ds-tile-body>table{min-width:100%;table-layout:fixed}
 #summaryPage .ds-tile-body>table th,#summaryPage .ds-tile-body>table td{white-space:nowrap;overflow:visible;text-overflow:clip;padding:10px 12px;overflow-wrap:normal}
 .ds-tile-body{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .ds-filters .datefiltercontrols{min-width:0;width:100%;max-width:100%}
 .ds-filters .datefiltercontrols input,.ds-filters .datefiltercontrols select{box-sizing:border-box;min-width:0;width:100%;max-width:100%;font-size:16px;padding:8px;overflow:hidden}
 .ds-filters input[type=date]{appearance:none;-webkit-appearance:none;display:block}
 .ds-filters input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}
 #summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile{aspect-ratio:auto;min-height:0}
 #summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile-body:not(.ds-grid-report){flex:initial;min-height:0;max-height:420px}
 .ds-tile-body:not(.ds-grid-report){min-height:0}
 #summaryPage .ds-grid-report .customizedgrid table{table-layout:auto;width:max-content!important;min-width:100%!important}
 #summaryPage .ds-grid-report .gridcellclip{width:auto;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}
 #summaryPage .ds-grid-report .customizedgrid td{overflow:visible}
}

/* Purchase and sales invoices use the same table, including an empty result. */
.ds-invoice-report .ds-invoice-empty{height:auto;padding:22px 12px!important;text-align:center;color:#617583;font-size:13px}
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 #summaryPage .ds-bestsellers .customizedgrid table{font-size:12px!important;line-height:1.25}
 #summaryPage .ds-bestsellers .customizedgrid col{width:auto!important}
 #summaryPage .ds-bestsellers .customizedgrid td{height:auto;font-size:12px!important;line-height:1.25!important}
 #summaryPage .ds-bestsellers .gridcellclip{padding:5px 6px!important;line-height:1.25}
 #summaryPage .ds-bestsellers td.ds-product-name .gridcellclip{width:110px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
 #summaryPage .ds-bestsellers th.ds-product-name{width:110px;max-width:110px}
 #summaryPage .ds-bestsellers .customizedgrid thead .gridcellclip{max-width:110px;white-space:normal}
 #summaryPage .ds-bestsellers .customizedgrid thead .gridcellclip>button:first-child{font-size:11px!important;line-height:1.25;min-height:0}
 #summaryPage .ds-bestsellers td.ds-product-photo .gridcellclip{padding:4px!important;width:38px}
 #summaryPage .ds-bestsellers .photothumb{padding:1px!important;min-height:0}
 #summaryPage .ds-bestsellers .photothumb img{width:32px!important;height:32px!important;max-width:32px!important}
 #summaryPage .ds-bestsellers .photomissing{display:block;width:32px;font-size:9px;white-space:normal}
 #summaryPage .ds-bestsellers .customizedgrid td.number .gridcellclip,#summaryPage .ds-bestsellers .customizedgrid .numeric-cell .gridcellclip{white-space:nowrap;overflow:visible;max-width:none;font-variant-numeric:tabular-nums}
}
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 #summaryPage .ds-bestsellers.ds-grid-report{height:380px;max-height:380px}
 #summaryPage .ds-bestsellers td.ds-product-photo .gridcellclip{width:44px}
}
.ds-invoice-report{height:auto;max-height:265px;min-height:0}

/* A short report fits its rows; a long report shows ten rows before scrolling. */
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 #summaryPage .ds-grid{grid-template-columns:minmax(0,1fr);align-items:start}
 #summaryPage .ds-tile{grid-column:span 1}
 #summaryPage .ds-mobile-rows:not(.ds-grid-report){height:var(--ds-row-viewport,auto)!important;max-height:none!important;min-height:0;box-sizing:border-box}
 #summaryPage .ds-mobile-rows.ds-grid-report{height:auto!important;max-height:none!important;min-height:0}
 #summaryPage .ds-mobile-rows>.viewtable{height:var(--ds-row-viewport,auto);max-height:none;min-height:0;flex:none;box-sizing:border-box}
 #summaryPage .ds-no-rows:not(.ds-mobile-rows){height:auto!important;max-height:none!important;min-height:0}
 #summaryPage .ds-no-rows>.empty{min-height:0;height:auto;padding:22px 12px;margin:0}
}
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 #summaryPage .ds-bestsellers .customizedgrid thead .gridcellclip:has(.columnheaderaction){padding-bottom:26px!important}
 #summaryPage .ds-bestsellers .customizedgrid thead .columnheaderaction{top:auto;bottom:2px;transform:none;min-height:20px;font-size:12px!important;padding:1px 3px}
}
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 #summaryPage .ds-mobile-rows>.viewtable tfoot{position:sticky;bottom:0;z-index:4}
}
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 #summaryPage .ds-mobile-rows>.viewtable>.empty{min-height:0;height:auto;padding:16px 12px;margin:0}
}

/* A chart needs a definite height: its SVG uses the remaining flex space. */
@media screen and (max-width:900px), screen and (pointer:coarse) and (max-width:1400px){
 #summaryPage .ds-tile-body.ds-chart-report:not(.ds-no-rows),
 #summaryPage:is(:fullscreen,.ds-fullscreen-fallback) .ds-tile-body.ds-chart-report:not(.ds-no-rows){height:265px;min-height:265px;max-height:265px;flex:0 0 265px}
}

.ds-product-link{display:block;max-width:100%;width:100%;padding:0!important;margin:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#087f99!important;font:inherit!important;text-align:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.ds-product-link:focus-visible{outline:2px solid #087f99!important;outline-offset:-2px}
.ds-product-dialog{width:min(660px,94vw)}.ds-product-scroll td:first-child{min-width:100px}.ds-product-scroll td:nth-child(2){min-width:100px}.ds-product-scroll td:nth-child(3){min-width:80px}.ds-product-scroll th,.ds-product-scroll td{padding:12px}.ds-product-dialog .ds-invoice-heading{flex-wrap:wrap}.ds-product-dialog .ds-invoice-heading h2{flex-basis:100%}
.ds-product-scroll td:first-child{min-width:90px}.ds-product-scroll td:nth-child(2){min-width:90px}.ds-product-scroll td:nth-child(3){min-width:75px}.ds-product-scroll th,.ds-product-scroll td{padding:10px}

.ds-product-dialog .ds-invoice-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;margin-bottom:16px}.ds-product-dialog .ds-invoice-heading h2{min-width:0;margin:0;overflow-wrap:anywhere;flex-basis:auto}.ds-product-dialog .ds-invoice-heading>button{margin:0;align-self:start}

.ds-product-dialog .ds-invoice-heading h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.35;max-height:2.7em}

.ds-product-dialog{width:min(1120px,96vw)}
