/* Styles of the reports area of the backoffice: the report tiles (.rptSpace of the old reports.aspx), the parameter
   popup and the toolbar of the Data analysis page. */
.rpt-page { padding: 5px 0; }
.rptSpace { background-color: #E0E0FF; cursor: pointer; margin-top: 5px; box-sizing: border-box; max-width: calc(100vw - 20px); }
.rptSpace:focus { outline: 2px solid #4040FF; }
.rptSpace ul { margin: 1em 0; padding: 0 0 0 40px; }
.rptSpace p { margin: 1em 0; }
.rpt-blocked { clear: both; padding: 8px 5px; }
.rpt-parameter-table td { padding: 2px 0; vertical-align: middle; }
.rpt-parameter-table .repCap { width: 130px; }
.rpt-scope { color: #404080; font-size: 90%; margin-left: 4px; }
.rpt-buttons { margin-top: 10px; }

.da-toolbar { display: flex; align-items: stretch; gap: 5px; margin: 5px 0; flex-wrap: wrap; }
.da-dates { display: flex; flex-direction: column; gap: 3px; }
.da-dates label { display: flex; align-items: center; }
.da-caption { width: 100px; display: inline-block; text-align: right; padding-right: 5px; }
.da-grow { flex-grow: 1; }
.da-totals { display: flex; gap: 10px; align-items: flex-start; }
.da-totals-column { display: flex; flex-direction: column; gap: 3px; }
.da-totals label { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.da-excel { display: inline-flex; align-items: center; border: 1px solid transparent; padding: 1px; }
.da-excel img { width: 32px; height: 32px; }
.da-excel:hover { border-color: #2020C0; background-color: #8080FF; }
.da-load { width: 150px; }
.da-scope { color: #404080; margin: 2px 0 4px 0; }

/* Data analysis: the totals switched off on the screen (reports.js). A hidden row is not drawn; a hidden column keeps its
   cells (so headers and values stay aligned) but gets no width. */
.da-pivot tr.oe-pivot-hidden { display: none; }
.da-pivot col.oe-pivot-hidden { width: 0 !important; }
.da-pivot th.oe-pivot-hidden, .da-pivot td.oe-pivot-hidden { padding: 0 !important; border-width: 0 !important; font-size: 0 !important; line-height: 0 !important; overflow: hidden; visibility: hidden; }
