#sold-backlog-view .sb-unit{margin:14px 0;padding:16px;background:rgba(255,255,255,.95);border:1px solid #dac14d;border-radius:12px;color:#171815}#sold-backlog-view summary{cursor:pointer;font-weight:700;padding:10px}#sold-backlog-view td{vertical-align:top}#sold-backlog-view td details{min-width:0;max-width:100%;width:100%}#sold-backlog-summary,#sold-backlog-status{padding:16px;background:rgba(255,255,255,.95);color:#171815;border:1px solid #dac14d;border-radius:12px}#sold-backlog-view .filterbar{flex-wrap:wrap}#sold-backlog-view table{width:100%}
.sb-job-summary{white-space:pre-wrap;overflow-wrap:anywhere}

/* Keep expanded job text inside its column instead of widening the table. */
#sold-backlog-view table{table-layout:fixed;min-width:0;width:100%}
#sold-backlog-view th,#sold-backlog-view td{white-space:normal;overflow-wrap:anywhere;word-break:normal;min-width:0}
#sold-backlog-view th:nth-child(1){width:14%}
#sold-backlog-view th:nth-child(2){width:12%}
#sold-backlog-view th:nth-child(3){width:16%}
#sold-backlog-view th:nth-child(4){width:14%}
#sold-backlog-view th:nth-child(5){width:12%}
#sold-backlog-view th:nth-child(6){width:32%}
#sold-backlog-view td details p,#sold-backlog-view td details li{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#sold-backlog-view td details .sb-job-summary{white-space:pre-wrap}
@media(max-width:700px){#sold-backlog-view .sb-unit{padding:8px}#sold-backlog-view th,#sold-backlog-view td{padding:6px;font-size:11px}#sold-backlog-view summary{padding:6px}}
#sold-backlog-view .sb-customer-name{display:block;font-weight:400;font-size:12px;line-height:1.5;margin-top:5px}#sold-backlog-view .sb-billing-notes{border:1px solid #e4d28a;background:#fffbea;border-radius:7px;padding:10px;margin:12px 0}#sold-backlog-view .sb-billing-notes h4{margin:0 0 8px}#sold-backlog-view .sb-billing-notes .button{display:block;margin-top:10px}#sold-backlog-view .sb-billing-note{border-top:1px solid #e4dcbf;padding:10px 0}#sold-backlog-view .sb-billing-note p{white-space:pre-wrap}#sold-backlog-view .sb-billing-notes small{display:block;line-height:1.5;color:#666}
