/* Keep the visual hierarchy in weight and color, with room for complete values. */
.result-page,.analytics-page { min-width:0; }
.result-page .table-wrap,.analytics-page .table-wrap { max-width:100%; }
.result-page .result-table,.result-page .transfer-grid {
 font-size:clamp(12px, .79vw, 13px);
 font-variant-numeric:tabular-nums;
}
.result-page .result-table :is(.level-0,.level-1,.operational-result,.operational-margin) > td {
 font-size:inherit;
}
.result-page .result-table :is(.level-0,.operational-result) > td { font-weight:700; }
.result-page .result-table .trend {
 font-size:.85em; line-height:1; margin-right:.35em; vertical-align:baseline; text-shadow:none;
}
.result-page .result-table .tree-label { min-width:0; }
.result-page .result-table .tree-label > span { min-width:0; overflow-wrap:anywhere; }
.result-page .result-table .drill-value,.analytics-page .analytics-kpis .drill-value {
 max-width:100%; overflow-wrap:anywhere;
}
.result-page .result-kpis article,.result-page .analytics-kpis article,.analytics-page .analytics-kpis article {
 min-width:0; padding:14px 16px;
}
.result-page .result-kpis article > b,.result-page .analytics-kpis article > b,.analytics-page .analytics-kpis article > b {
 font-size:clamp(15px,1.35vw,21px); line-height:1.22; font-variant-numeric:tabular-nums; overflow-wrap:anywhere;
}
.annual-kpis dl div { flex-wrap:wrap; }
.indicator-series > b { min-width:0; overflow-wrap:anywhere; }
@media screen {
 .result-page .table-wrap > :is(.result-table,.transfer-grid) {
  width:100%; min-width:0; table-layout:auto;
 }
 .result-page .result-table :is(th,td),.result-page .transfer-grid :is(th,td) {
  padding-inline:clamp(5px,.65vw,9px);
 }
 .result-page .table-wrap .result-table > thead > tr:first-child > th:first-child,
 .result-page .table-wrap .result-table > tbody > tr > td:first-child:not([colspan]) {
  width:auto; min-width:0; max-width:none;
 }
 .result-page .result-table .tree-label {
  width:max-content;
  max-width:min(620px,52vw);
  padding-left:calc(var(--level,0)*12px);
  white-space:normal;
  overflow-wrap:break-word;
 }
 .result-page .result-table .tree-label > span { overflow-wrap:break-word; word-break:normal; }
 .result-page .result-table .tree-leaf { width:14px; flex:none; }
 .result-page .result-table thead th { font-size:10px; letter-spacing:.02em; }
 .result-page .result-table tbody td:not(:first-child) { white-space:nowrap; }
 .result-page .detailed-result-table thead th:not(:first-child) { min-width:0; }
 .table-wrap > :is(.movement-table,.planning-table,.users-table) { width:100%; min-width:0; }
 .table-wrap > :is(.movement-table,.planning-table,.users-table) :is(th,td) { padding-inline:7px; }
 .table-wrap > :is(.movement-table,.planning-table) td:nth-last-child(2),
 .table-wrap > .movement-table td:nth-last-child(3) { white-space:nowrap; }
 .report-drill .drill-text { min-width:112px; max-width:190px; }
}

@media print {
 html,body,.app,.main {
  height:auto!important; max-height:none!important; overflow:visible!important;
 }
 .result-page .table-wrap,.analytics-page .table-wrap { max-height:none!important; overflow:visible!important; }
 .result-page .result-table,.result-page .transfer-grid {
  width:100%!important; min-width:0!important; table-layout:fixed;
  font-size:8pt; line-height:1.28; border-collapse:collapse;
 }
 .result-page .result-table :is(th,td),.result-page .transfer-grid :is(th,td) {
  position:static!important; min-width:0!important; max-width:none!important;
  padding:3pt 3pt!important; white-space:normal!important; overflow-wrap:anywhere;
  box-shadow:none;
 }
 .result-page .result-table tbody td,.result-page .transfer-grid tbody td { font-size:inherit!important; }
 .result-page .result-table thead th,.result-page .transfer-grid thead th {
  font-size:7pt!important; letter-spacing:0; line-height:1.2;
 }
 .result-page .result-table thead,.result-page .transfer-grid thead { display:table-header-group; }
 .result-page .result-table tr,.result-page .transfer-grid tr { break-inside:avoid; }
 .result-page .result-table .tree-label {
  display:block; padding-left:calc(var(--level,0)*5pt)!important;
 }
 .result-page .result-table .trend {
  font-size:6pt!important; margin-right:2pt; vertical-align:baseline;
 }
 .result-page :is(.mixed-operational-table,.detailed-result-table) :is(th,td),
 .result-page :is(.mixed-operational-table,.detailed-result-table) :is(.row-margin,.row-total) { width:auto!important; }
 .result-page :is(.mixed-operational-table,.detailed-result-table) thead tr:first-child > th:first-child {
  width:20%!important; text-align:left;
 }
 .result-page .mixed-operational-table thead tr:first-child > th:nth-last-child(2) { width:8.5%!important; }
 .result-page .mixed-operational-table thead tr:first-child > th:last-child { width:6.5%!important; }
 .result-page .mixed-operational-table :is(th,td) { border-left-width:1px; }
 .result-page .detailed-result-table { font-size:7.4pt; }
 .result-page .detailed-result-table thead th { font-size:6.5pt!important; }
 .result-page .detailed-result-table thead th small { font-size:6pt; }
 .result-page .detailed-result-table :is(th,td) { padding-inline:2pt!important; }
 .result-page .drill-value,.analytics-page .drill-value { display:contents; }
 .result-page:not(:has(.print-report-header)) > .result-hero {
  display:block!important; margin-bottom:6mm; padding:8pt 12pt; print-color-adjust:exact;
 }
 .result-page .transfer-dashboard .transfer-grid { font-size:8pt; }
 .result-page .transfer-grid th:first-child { width:27%; }
 .result-page .transfer-grid .transfer-status { display:inline; white-space:normal; font-size:inherit; }
 .result-page .transfer-grid .tree-toggle { display:none; }
 .analytics-page .chart-card,.result-page .indicator-charts .chart-card { break-inside:avoid; }
}
