/* Inline master/detail keeps the list available while inspecting another task. */
.progress-table-region{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:160px;min-width:0;gap:12px}.progress-table-region.has-detail{grid-template-columns:clamp(340px,27%,445px) minmax(0,1fr)}.progress-table-region .progress-table-scroll{min-width:0}.progress-inline-detail{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid var(--site-line);border-radius:12px;padding:0;background:#fff}.progress-table-region.has-detail .progress-table{min-width:0}.progress-table-region.has-detail .progress-table th:nth-child(n+4),.progress-table-region.has-detail .progress-table td:nth-child(n+4),.progress-table-region.has-detail .progress-table col:nth-child(n+4){display:none}.progress-table-region.has-detail .col-code{width:94px}.progress-table-region.has-detail .col-type{width:90px}.progress-table-region.has-detail .col-subject{width:auto}.progress-table-region.has-detail .progress-table td,.progress-table-region.has-detail .progress-table th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.progress-table tr.selected{background:#f3f8e8}.progress-table-region.has-detail .progress-subject strong{white-space:nowrap}.progress-table-region.has-detail .progress-subject small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.task-record-heading h3{font-size:17px;line-height:1.6;margin:0;font-weight:700;overflow-wrap:anywhere}.task-record-heading .badge{flex-shrink:0}.task-record-detail table{border-collapse:collapse;width:100%;table-layout:fixed;margin:0 0 15px;font-size:11px;line-height:1.6}.task-record-detail th,.task-record-detail td{border:1px solid var(--site-line);padding:9px 10px;text-align:left;vertical-align:top;overflow-wrap:anywhere}.task-meta-table th{background:#f5f7f2;font-weight:400}.task-meta-table th,.task-meta-table td{width:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-meta-table strong{font-size:11px;font-weight:600}.task-meta-table small{display:block;font-size:10px;margin-top:4px}.task-description-table th,.task-history-table th{background:#f5f7f2;font-weight:600}.task-image-cell{width:50%;background:#fafbf7}.task-image-cell img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;border:1px solid var(--site-line);border-radius:6px;margin-bottom:8px}.task-image-cell svg{display:block;width:100%;height:auto}.task-image-cell small{display:block;font-size:10px;margin-top:7px}.task-image-empty{display:flex;align-items:center;justify-content:center;min-height:140px;font-size:12px;border:1px dashed #d7dfcf;border-radius:6px}.task-description-cell{width:50%;font-size:12px;line-height:1.9}.task-history-table th:first-child,.task-history-table td:first-child{width:145px}.task-record-detail .collab-actions{margin-block:12px}.task-record-detail .task-transition{padding-top:12px}
@media(max-width:1100px){.progress-table-region.has-detail{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(150px,.4fr) minmax(250px,.6fr);min-height:440px}.progress-panel .progress-workspace:has(.progress-table-region.has-detail){min-height:510px}.progress-inline-detail{padding:0}}
@media(max-width:600px){.task-record-heading h3{font-size:15px}.task-record-detail .task-meta-table,.task-meta-table tbody{display:block}.task-record-detail .task-meta-table tr{display:flex;flex-wrap:wrap}.task-record-detail .task-meta-table th{display:block;flex:0 0 30%;width:30%}.task-record-detail .task-meta-table td{display:block;flex:0 0 70%;width:70%}.task-record-detail th,.task-record-detail td{padding:7px}.task-description-cell{font-size:11px;line-height:1.8}.task-history-table th:first-child,.task-history-table td:first-child{width:95px}}

/* The inline tables meet the panel edge, matching the adjacent list. */
.progress-inline-detail.task-record-detail>table{margin:0}.progress-inline-detail.task-record-detail>table+table{border-top:0}

.task-project-code{display:flex;align-items:center;gap:5px;min-width:0}.task-project-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-short-code{flex:0 0 auto;white-space:nowrap}

.task-meta-table .task-overview-copy{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.7}

/* Metadata labels and values share vertical alignment in read-only and editable views. */
.task-record-detail .task-meta-table th,.task-record-detail .task-meta-table td,.task-record-detail .task-description-table thead th{vertical-align:middle}

@media(max-width:600px){.task-record-detail .task-meta-table th,.task-record-detail .task-meta-table td{display:flex;align-items:center}}
