/* Material takeoff: one title and one necessary quantity per row. */
.cs-table.cs-quantity-table{table-layout:fixed;font-size:16px}
.cs-table.cs-quantity-table th:first-child{width:63%}
.cs-table.cs-quantity-table th:last-child,.cs-table.cs-quantity-table td:last-child{width:37%;white-space:normal;overflow-wrap:anywhere}
.cs-table.cs-quantity-table th{font-size:14px;line-height:1.5}
.cs-table.cs-quantity-table td{padding:12px;line-height:1.5}
.cs-table.cs-quantity-table td:last-child{font-size:16px;font-weight:600}
.cs-quantity-table td:first-child{color:var(--cs-ink,#252b32)}
.cs-result-actions{min-width:0}
@media(max-width:767px){
.cs-table.cs-quantity-table th:first-child{width:56%}
.cs-table.cs-quantity-table th:last-child,.cs-table.cs-quantity-table td:last-child{width:44%}
.cs-table.cs-quantity-table th{font-size:13px}
.cs-table.cs-quantity-table td{padding:11px 7px;font-size:14px}
.cs-table.cs-quantity-table td:last-child{font-size:14px}
.cs-results-heading{align-items:flex-start;gap:12px}
.cs-result-actions{max-width:none;display:flex;width:auto;flex-wrap:wrap}
.cs-results-heading button{min-height:42px;line-height:1.4;white-space:normal}
.cs-result-actions button{flex:1}
.cs-gypsum-controls{margin-bottom:16px}
}
@media(max-width:575px){.cs-results-heading{flex-direction:column}.cs-result-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.cs-quantity-table td{overflow-wrap:anywhere}}
@media print{
.cs-table.cs-quantity-table{font-size:13px!important}
.cs-table.cs-quantity-table th{font-size:12px!important}
.cs-table.cs-quantity-table td,.cs-table.cs-quantity-table td:last-child{font-size:13px!important;padding:9px 10px}
.cs-table.cs-quantity-table th:first-child{width:63%}
.cs-table.cs-quantity-table th:last-child,.cs-table.cs-quantity-table td:last-child{width:37%}
.cs-table tr{break-inside:avoid}
}

.cs-material-content{display:flex;align-items:center;gap:10px;min-width:0}
.cs-material-content>span{min-width:0;overflow-wrap:anywhere}
.cs-material-thumb{display:block;flex:0 0 38px;width:38px;height:38px;object-fit:contain;background:#fff;border:1px solid #edf0f2;border-radius:4px}
@media(max-width:767px){.cs-material-content{gap:8px}.cs-material-thumb{width:32px;height:32px;flex-basis:32px}}
@media print{.cs-material-content{gap:8px}.cs-material-thumb{width:26px;height:26px;flex-basis:26px}}
