.matrix-scroll{max-height:min(70vh,950px);overflow:auto}
.phase-matrix{width:max-content;min-width:100%;font-size:.82rem;border-collapse:separate;border-spacing:0}
.phase-matrix th,.phase-matrix td{padding:9px 11px;border-bottom:1px solid #dce5e9;min-width:100px}
.phase-matrix th:nth-child(n+4){text-align:center}
.phase-matrix thead th{position:sticky;top:0;z-index:4;background:#263f55;color:#fff;white-space:nowrap}
.phase-matrix thead tr:nth-child(2) th{top:37px;background:#dce9ef;color:#25465b}
.phase-matrix td:nth-child(1),.phase-matrix th:nth-child(1){min-width:100px;position:sticky;left:0;z-index:2;background:#fff}
.phase-matrix td:nth-child(2),.phase-matrix th:nth-child(2){min-width:290px;max-width:390px;position:sticky;left:100px;z-index:2;background:#fff}
.phase-matrix td:nth-child(3),.phase-matrix th:nth-child(3){min-width:55px;position:sticky;left:390px;z-index:2;background:#fff;border-right:2px solid #b9cbd4}
.phase-matrix thead tr:first-child th:nth-child(-n+3){z-index:5;background:#263f55}
.phase-matrix .matrix-lot th{background:#3b796b;color:white;text-align:left;position:static}
.phase-matrix .matrix-parent td{background:#f0f5f3;font-weight:600}
.phase-matrix .matrix-subtotal th,.phase-matrix .matrix-subtotal td{background:#e5eff3;font-weight:700}
.phase-matrix .matrix-total th,.phase-matrix .matrix-total td{background:#1e334b;color:white;font-weight:700}
.phase-matrix .matrix-label{white-space:normal;line-height:1.4}
.phase-matrix .matrix-label .line-notes{font-weight:400}
@media(max-width:800px){.phase-matrix td:nth-child(2),.phase-matrix th:nth-child(2){min-width:220px;max-width:220px}.phase-matrix td:nth-child(3),.phase-matrix th:nth-child(3){left:320px}}
