/* Keep activity controls usable when dense handoff labels cross a card.
 * Applies to the recovered renderer; original JS/CSS remain byte-identical.
 * Source branch: codex/083-workflow-trace-review, c0712255.
 */
.activity-column { z-index: 4; }
/* The original report assumed two-column record tables. Preserve readable
 * criteria, observations, units and outcomes in wider engineering tables. */
.activity-evidence table { table-layout: fixed; }
.activity-evidence td:first-child { width: auto; }
.activity-evidence th:nth-last-child(-n+2),
.activity-evidence td:nth-last-child(-n+2) { overflow-wrap: normal; }

.step-block[data-observed-state="not_started"] .node-line i{background:#88928e}.step-block[data-observed-state="not_started"] .step-node{border-style:dashed;background:#f7f9f8}.step-block[data-observed-state="awaiting_review"] .step-node{border:2px solid #a17a2b}.edge-line{stroke-dasharray:5 3}

/* Engineering descriptions lead; original source records remain inspectable. */
.record-index { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:5px 14px; }
.record-index .document-link { padding:9px 6px; margin:0; min-height:0; align-items:start; border-bottom:1px solid #d3dfdc; font-size:.9rem; }
.record-index .document-link strong { font-size:.9rem; font-weight:600; }
.record-index .document-link small { font-size:.76rem; margin-top:2px; }
.record-index .document-thumbnail { width:48px; height:38px; object-fit:contain; }
.source-index,.original-source { margin:12px 0; padding:10px; background:#f2f6f5; border:1px solid #d3dfdc; border-radius:5px; }
.source-index summary,.original-source summary { cursor:pointer; color:#47605a; font-weight:600; }
.source-index[open] summary { margin-bottom:10px; }
.detail-body table { width:100%; border-collapse:collapse; font-size:.9rem; }
.detail-body th,.detail-body td { vertical-align:top; text-align:left; padding:8px; border:1px solid #d3dfdc; overflow-wrap:anywhere; }
.detail-body th { background:#eaf2ef; }
.detail-body section { overflow-x:auto; }
.engineering-input-summary { border-left:4px solid #668d82; padding:10px 14px; background:#f2f6f5; }
.detail-body .activity-evidence:has(table) { min-width:0; }
@media(max-width:650px) { .record-index {grid-template-columns:1fr;} .detail-body table {font-size:.8rem;} }
