.completion-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.completion-list small,.completion-history small{display:block;color:var(--muted);margin-top:6px}.completion-history{padding-inline-start:24px}.completion-history li{margin:12px 0}
.completion-clock,.completion-escalation{display:flex;flex-direction:column;gap:9px;padding:16px 0;border-bottom:1px solid var(--line)}
.completion-priority{padding:16px;border:1px solid var(--line);border-radius:10px;font-weight:650;background:var(--surface)}
.completion-note{margin-block:20px}.completion-pipeline{display:flex;flex-wrap:wrap;gap:12px;padding:0;list-style:none}.completion-pipeline li{flex:1 1 160px;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:10px}.completion-pipeline li.current{border-color:var(--brand);border-width:2px}.completion-pipeline li.complete{opacity:.8}
.ops-workspace td{overflow-wrap:anywhere}.ops-workspace table{width:100%;table-layout:fixed}.ops-workspace td .btn{white-space:normal}.ops-workspace .ops-toolbar{flex-wrap:wrap}
@media(max-width:650px){.completion-list>div{align-items:stretch;flex-direction:column}.completion-pipeline li{flex-basis:100%}.ops-workspace th,.ops-workspace td{padding:10px 6px;font-size:13px}.ops-workspace .table-wrap{min-width:0}.completion-list .btn{align-self:flex-start}}
/* Preserve the same table and in-column controls at narrow widths. */
html table[data-column-table="support-calculated-sla"]{min-width:0;width:100%;table-layout:fixed}
html [data-column-table="support-calculated-sla"] th:nth-child(1){width:28%}
html [data-column-table="support-calculated-sla"] th:nth-child(2){width:18%}
html [data-column-table="support-calculated-sla"] th:nth-child(3){width:20%}
html [data-column-table="support-calculated-sla"] th:nth-child(4){width:18%}
html [data-column-table="support-calculated-sla"] th:nth-child(5){width:16%}
html [data-column-table="support-calculated-sla"] .column-trigger{flex-wrap:wrap;white-space:normal;gap:4px;padding:12px 8px}
html [data-column-table="support-calculated-sla"] td{white-space:normal;overflow-wrap:anywhere}
html [data-column-table="support-calculated-sla"] .btn{min-width:0;max-width:100%;padding:10px 6px}
@media(max-width:650px){
 html [data-column-table="support-calculated-sla"] .column-trigger{padding:10px 3px;font-size:12px;min-height:70px;align-content:center}
 html [data-column-table="support-calculated-sla"] .column-trigger>span:first-child{flex-basis:100%;overflow-wrap:normal;word-break:normal}
 html [data-column-table="support-calculated-sla"] td{padding:12px 4px;font-size:12px}
 html [data-column-table="support-calculated-sla"] td small{font-size:11px}
 html [data-column-table="support-calculated-sla"] .btn{font-size:12px}
}
html [data-column-table="support-calculated-sla"] th{padding:0}
html [data-column-table="support-calculated-sla"] th:nth-child(1){width:26%}
html [data-column-table="support-calculated-sla"] th:nth-child(5){width:18%}
html [data-column-table="support-calculated-sla"] td .btn{word-break:normal;overflow-wrap:normal}
html [data-column-table="support-calculated-sla"] .ops-chip{white-space:normal;max-width:100%}
html [data-column-table="support-calculated-sla"] .ops-chip{padding:4px;font-size:12px;word-break:normal;overflow-wrap:normal;line-height:1.7}

/* Keep record timing readable in the existing detail sidebar. */
.completion-timing-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:4px 0}
.completion-timing-facts dd{overflow-wrap:anywhere;margin-inline:0;line-height:1.65}
.completion-clock>.btn{align-self:flex-start;max-width:100%;white-space:normal}
.completion-clock:first-child{padding-top:0}
.completion-clock:last-of-type{margin-bottom:16px}
