/* Each numerical track is identical across employees, months and the print view. */
:is(#reportOutput,.away #result){--absence-value-width:3.7ch}
:is(#reportOutput,.away #result):has(.absence-number-grid[data-integer-digits="2"]){--absence-value-width:4.7ch}
:is(#reportOutput,.away #result):has(.absence-number-grid[data-integer-digits="3"]){--absence-value-width:5.7ch}
.absence-number-grid{--w:var(--absence-value-width,5.7ch);display:inline-grid;grid-template-columns:var(--w) calc(var(--w) + 1.45ch) calc(var(--w) + 2.2ch);gap:0;align-items:baseline;vertical-align:baseline;text-align:right;white-space:nowrap;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum","tnum";line-height:1.35}
.absence-number-grid .absence-number{text-align:right;white-space:nowrap}
.absence-open-value,.absence-end-value{display:flex;align-items:baseline;gap:0;justify-content:flex-end;min-width:0}
.absence-open-value>*,.absence-end-value>.absence-number,.absence-end-value>.absence-punct{flex:none}
.absence-number-grid .absence-punct{font-weight:400}
.absence-number-grid .absence-divide{flex:1 0 0;text-align:center;font-weight:400}
.absence-number-grid .absence-unknown{grid-column:2/-1;white-space:normal;text-align:left;padding-inline-start:.25rem}
.absence-leave-pt table.data,.away .absence-totals-table{table-layout:fixed;width:100%;font-variant-numeric:lining-nums tabular-nums}
.absence-leave-pt td.report-number,.away .absence-totals-table td{text-align:right}
.absence-number-grid .report-vacation-outside,.absence-number-grid .outside,#reportOutput:has(.absence-leave-pt) .hint .report-vacation-outside,.away .outside{color:#18743a}
.absence-number-grid .report-vacation-inside,.absence-number-grid .inside,#reportOutput:has(.absence-leave-pt) .hint .report-vacation-inside,.away .inside{color:#a02d32}
.absence-number-grid .absence-number:not(:first-child){font-weight:700}
/* Fit the three columns to the numbers, keeping identical widths for year and month. */
#reportOutput .reports-table.absence-leave-pt{width:min(100%,47ch);max-width:100%;min-width:0;flex:0 1 auto;margin-inline:0;font-size:.75rem}
#reportOutput .absence-leave-pt table.data,.away table.absence-totals-table{border-collapse:collapse;border-spacing:0;margin-inline:0}
.away table.absence-totals-table{width:min(100%,47ch)}
#reportOutput .absence-leave-pt col:first-child{width:37%!important}
#reportOutput .absence-leave-pt col:nth-child(2){width:49%!important}
#reportOutput .absence-leave-pt col:last-child{width:14%!important}
.away .absence-totals-table thead th:first-child{width:37%}.away .absence-totals-table thead th:nth-child(2){width:49%}.away .absence-totals-table thead th:last-child{width:14%}
#reportOutput .absence-leave-pt table.data tr>:is(th,td),.away .absence-totals-table tr>:is(th,td){box-sizing:border-box;padding-inline:.35rem}
#reportOutput .absence-leave-pt table.data tr>:is(th,td)+:is(th,td),.away .absence-totals-table tr>:is(th,td)+:is(th,td){border-inline-start:1px solid #d9dcda}
.away table.absence-totals-table tbody th{overflow-wrap:anywhere}
@media(max-width:430px){
 #reportOutput .absence-leave-pt col:first-child{width:32%!important}#reportOutput .absence-leave-pt col:nth-child(2){width:54%!important}
 .away .absence-totals-table thead th:first-child{width:32%}.away .absence-totals-table thead th:nth-child(2){width:54%}
 #reportOutput .absence-leave-pt table.data tr>:is(th,td),.away .absence-totals-table tr>:is(th,td){padding-inline:.2rem}
 .absence-number-grid{font-size:min(1em,clamp(.72rem,2.9vw,.9rem))}
}
@media print{.absence-number-grid,.away .inside,.away .outside{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
#reportOutput .reports-table.absence-leave-pt table.data tr>th:first-child,.away table.absence-totals-table tr>th:first-child{text-align:left;padding-inline-start:.25rem;text-indent:0}
#reportOutput .reports-table.absence-leave-pt table.data td.report-number,.away table.absence-totals-table tr>td{text-align:right}

#reportOutput .reports-table.absence-leave-pt table.data tr>td.report-number:nth-child(2),#reportOutput .reports-table.absence-leave-pt table.data thead th:nth-child(2),.away table.absence-totals-table tr>td:nth-child(2),.away table.absence-totals-table thead th:nth-child(2){text-align:center}
