.header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.overview-header{flex-wrap:wrap;gap:18px}.view-switch{display:flex;border:1px solid var(--line);border-radius:7px;padding:3px;background:#edf0f5;font-size:12px}.view-switch a{padding:8px 14px;border-radius:5px}.view-switch .selected{background:#fff;color:var(--accent);box-shadow:0 2px 4px #17233610}.overview-stats{display:flex;align-items:center;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.overview-stats b{font-size:18px;margin-right:4px}.overview-stats small{margin-left:auto;font-size:10px}.overview-stats a{color:var(--accent)}.danger-text{color:#b52c3a!important}.good-text{color:var(--green)!important}.overview-tools{display:flex;align-items:center;gap:22px;padding:16px 0;font-size:11px;color:var(--muted)}.overview-tools>input{max-width:320px;margin:0;padding:9px 12px;font-size:12px}.filter-check{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap;font-size:12px;font-weight:400}.filter-check input{width:16px;height:16px;margin:0;accent-color:var(--accent)}#visible-count{margin-left:auto;white-space:nowrap}.role-progress{margin:22px 0 0}.role-progress .progress-label{margin:0 0 8px;gap:15px}.role-progress .progress-label span{min-width:0}.role-progress .progress-label strong{flex:none;color:var(--ink)}.role-progress small{font-size:10px;margin-top:7px}.filled progress::-webkit-progress-value{background:var(--green)}.filled progress::-moz-progress-bar{background:var(--green)}.inactive-progress{height:5px;border-radius:5px;background:#edf0f6}.problem-banner{margin:14px -5px -5px;padding:9px 10px;border-radius:5px;background:#ffeaed;color:#ad2433;font-size:11px;font-weight:600}.overview-mode .sidebar{display:none}.overview-mode .workspace{margin:0;max-width:none;padding:25px 28px}.overview-mode .overview-header{margin-bottom:17px}.overview-mode h1{font-size:26px;margin-bottom:8px}.overview-mode .eyebrow{margin-bottom:7px}.overview-mode .overview-header .muted{font-size:12px}.overview-mode footer{margin:12px 0}.matrix-scroll{overflow:auto;max-height:calc(100dvh - 310px);min-height:150px;border:1px solid #dce3eb;border-radius:9px;background:white}.matrix{table-layout:fixed;min-width:1120px;width:100%;font-size:11px;border-collapse:separate;border-spacing:0}.matrix .object-col{width:220px}.matrix th,.matrix td{padding:0;border-bottom:1px solid #e5e9ef;border-right:1px solid #edf0f4}.matrix thead th{position:sticky;background:#f0f4fa;z-index:3;text-align:center;color:#44556c;font-weight:600;padding:7px 3px;line-height:1.25;overflow-wrap:anywhere}.matrix .group-head th{top:0;height:30px}.matrix .column-head th{top:30px;height:47px;font-size:10px}.matrix .estimator-group{background:#eaf0fd}.matrix .foreman-group{background:#e6f2ef}.matrix th.object-column{position:sticky;left:0;text-align:left;z-index:2;background:#fff;padding:8px 12px}.matrix thead th.object-column{z-index:4;background:#f0f4fa}.matrix .object-column strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.matrix .object-column span{display:block;margin-top:3px;font-size:9px;color:#7b8899;font-weight:400}.matrix .object-column small{font-size:9px;margin-top:5px}.matrix .has-problem .object-column{border-left:3px solid #d84754;padding-left:9px}.matrix .role-divider{border-left:2px solid #bccbd7}.matrix-cell{text-align:center;white-space:pre-line;font-size:10px;font-weight:600;line-height:1.3}.matrix-cell a{display:flex;align-items:center;justify-content:center;min-height:51px;padding:5px 3px;width:100%;height:100%}.matrix-cell a:hover{box-shadow:inset 0 0 0 2px #718db5}.matrix .yes,.matrix-legend .yes{color:#137452;background:#e8f6ed}.matrix .answered,.matrix-legend .answered{color:#34617c;background:#eef5fb}.matrix .problem,.matrix-legend .problem{color:#a5182b;background:#ffdce2;font-weight:700}.matrix .missing,.matrix-legend .missing{color:#9d6811;background:#fff3d8}.matrix .waiting,.matrix .na,.matrix-legend .waiting{color:#929aa7;background:#f5f6f8}.matrix .yes{font-size:17px}.matrix .problem a{font-size:12px}.matrix .missing a{font-size:15px}.matrix-legend{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 8px}.matrix-legend span{font-size:10px;padding:4px 7px;border-radius:4px}.matrix-note{font-size:11px;color:var(--muted);margin:7px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.task:target{background:#fff7dc;outline:2px solid #e5c76b;border-radius:6px;scroll-margin-top:20px}@media(max-width:750px){.overview-mode .workspace{padding:20px 14px}.overview-stats{gap:10px 17px}.overview-stats small{margin-left:0;width:100%}.overview-stats b{font-size:16px}.overview-tools{flex-wrap:wrap;gap:12px}.overview-tools>input{max-width:none}.matrix-scroll{max-height:65dvh}.matrix .object-col{width:170px}.header-actions{gap:7px}.header-actions .primary,.header-actions .secondary{padding:9px 12px}.matrix{min-width:1070px}.matrix-note{line-height:1.5}}

/* Readable overview and compact checklist rows. */
.matrix{font-size:14px;min-width:1360px}.matrix .column-head th{font-size:13px;height:52px}.matrix .group-head th{font-size:12px}.matrix-cell{font-size:14px}.matrix-cell a{min-height:56px}.matrix .problem a{font-size:14px}.matrix .object-column strong{font-size:14px}.matrix .object-column span,.matrix .object-column small{font-size:12px}.matrix-legend span,.matrix-note{font-size:13px}.overview-stats,.overview-tools,.filter-check,.view-switch,.overview-mode .overview-header .muted{font-size:14px}.overview-stats small{font-size:12px}.role-progress .progress-label{font-size:14px}.role-progress small,.card-footer,.problem-banner{font-size:13px}.role-progress{margin-top:16px}.object-card{padding:20px}.matrix-scroll{min-height:0}.checklist{padding:18px 20px}.checklist .section-head{margin-bottom:12px}.task{padding:10px 0;gap:10px}.task-body{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr);column-gap:18px;align-items:center}.task-body h3{font-size:16px;margin:0;grid-row:1/3}.task-answer{font-size:15px}.task-body small{font-size:12px;margin-top:3px}.status{font-size:12px;padding:2px 6px}.pill{font-size:12px}.task-symbol.problem,.status.problem{background:#ffdce2;color:#a5182b;border-color:#ffdce2}.task-symbol.problem:before{content:'!';font-weight:700}.task-symbol.problem{font-size:0}.task-symbol.problem:before{font-size:15px}.facts{padding:16px 20px;margin-bottom:18px}.detail-grid{gap:18px}.history{padding:18px}.event{padding-top:10px;margin-top:10px}.event p{font-size:13px}.event small,.event span{font-size:11px}
@media(max-width:1350px){.detail-grid{grid-template-columns:1fr}.history{max-height:320px;overflow:auto}}
@media(max-width:750px){.task-body{display:block}.task-body h3{margin-bottom:4px}.checklist{padding:14px}.matrix{min-width:1360px}.task{padding:10px 0}.role-progress .progress-label{flex-wrap:wrap}.object-grid{grid-template-columns:1fr}}

.act-card{border-top:1px solid var(--line);padding:14px 0}.act-card summary,.full-section>summary{cursor:pointer;font-size:16px}.act-states{display:flex;gap:8px;flex-wrap:wrap}.report{padding:12px 0;border-top:1px solid var(--line);margin-top:12px}.review-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.review-form input{max-width:400px;margin:0}.full-matrix{min-width:1000px;font-size:14px}.full-matrix th{font-size:13px;min-width:135px}.full-matrix th:first-child{position:sticky;left:0;min-width:230px;background:#fff;z-index:1}.full-matrix td{padding:12px}.full-matrix thead th{background:#eef3fa}.full-section{padding:16px;margin-bottom:12px}.act-link{display:block;white-space:nowrap;margin-bottom:6px}.full-section .table-wrap{max-height:65vh;margin-top:12px}.full-matrix thead{position:sticky;top:0;z-index:2}.checklist details>summary{padding:10px 0}

.detail-links{margin-bottom:18px}.review-form select{width:auto;max-width:320px}.act-card:target{outline:2px solid #315de8;outline-offset:8px}.full-section summary{padding:4px}
