/* Release C: human CAD-IST review remains visible without restoring the legacy project UI. */
.pc-cad-ist-entry{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(420px,1.8fr) minmax(220px,1fr);gap:14px;align-items:center;margin-bottom:10px;padding:12px 16px;border:1px solid #cfdcdf;border-left:5px solid #d2a13e;border-radius:10px;background:#fff;box-shadow:0 4px 14px rgba(15,37,54,.06)}
.pc-cad-ist-entry.is-reviewed{border-left-color:#7653a6}.pc-cad-ist-entry.is-authoritative{border-left-color:#087e61;background:#f7fcfa}.pc-cad-ist-heading{min-width:0}.pc-cad-ist-heading>span{display:block;color:#58707c;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.pc-cad-ist-heading>strong,.pc-cad-ist-heading>small{display:block;min-width:0;overflow-wrap:anywhere}.pc-cad-ist-heading>strong{margin-top:2px;color:#173746;font-size:15px}.pc-cad-ist-heading>small{margin-top:3px;color:#667b86;font-size:10px;line-height:1.4}.pc-cad-ist-entry>dl{display:grid;grid-template-columns:repeat(4,minmax(78px,1fr));gap:5px;margin:0}.pc-cad-ist-entry>dl>div{min-width:0;padding:7px 8px;border-radius:7px;background:#f3f7f8}.pc-cad-ist-entry>dl>div.is-warning{background:#fff5e8;color:#8a5915}.pc-cad-ist-entry dt,.pc-cad-ist-entry dd{margin:0;overflow-wrap:anywhere}.pc-cad-ist-entry dt{color:#687d88;font-size:9px;font-weight:750}.pc-cad-ist-entry dd{margin-top:2px;font-size:12px;font-weight:850}.pc-cad-ist-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.pc-cad-ist-actions button{min-height:44px;padding:8px 11px;border:1px solid #087e61;border-radius:8px;background:#087e61;color:#fff;font-weight:800}.pc-cad-ist-actions button.secondary{border-color:#c8d7db;background:#fff;color:#294956}.pc-cad-ist-actions button:disabled{opacity:.46}.pc-cad-ist-actions small{flex-basis:100%;color:#6c7f89;font-size:10px;line-height:1.35;text-align:right}
.cad-ist-review-dialog,.cad-ist-viewer-dialog{width:min(1120px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 30px);padding:0;border:0;border-radius:14px;background:#fff;box-shadow:0 24px 80px rgba(8,30,48,.32);overflow:hidden}.cad-ist-review-dialog::backdrop,.cad-ist-viewer-dialog::backdrop{background:rgba(8,25,39,.62)}.cad-review-dialog-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 30px);margin:0}.cad-review-dialog-shell>header,.cad-review-dialog-shell>footer{display:flex;align-items:center;gap:14px;padding:16px 20px}.cad-review-dialog-shell>header{justify-content:space-between;border-bottom:1px solid #dae5e7}.cad-review-dialog-shell h2,.cad-review-dialog-shell h3,.cad-review-dialog-shell p{margin:0}.cad-review-dialog-shell>header h2{margin-top:3px;font-size:20px}.cad-review-dialog-shell>header p{margin-top:3px;color:#617782}.cad-review-close,.cad-review-viewer-shell>header button{width:44px;height:44px;border:1px solid #cedadd;border-radius:9px;background:#fff;color:#2a4755;font-size:24px}.cad-review-body{display:grid;gap:12px;min-width:0;padding:16px 20px;overflow:auto}.cad-review-body>section{min-width:0;padding:14px;border:1px solid #dce6e8;border-radius:10px;background:#fff}.cad-review-body h3{margin-bottom:10px;font-size:15px}.cad-review-identity,.cad-review-object-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}.cad-review-identity>div,.cad-review-object-counts>div{min-width:0;padding:9px;border-radius:7px;background:#f4f8f9}.cad-review-identity dt,.cad-review-object-counts dt{color:#667d88;font-size:10px;font-weight:750}.cad-review-identity dd,.cad-review-object-counts dd{margin:3px 0 0;font-weight:800;overflow-wrap:anywhere}.cad-review-identity code{font-size:10px;overflow-wrap:anywhere;white-space:normal}.cad-review-kpis,.cad-review-quality{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.cad-review-kpis span,.cad-review-quality article{display:grid;gap:2px;padding:9px;border-radius:7px;background:#f3f7f8}.cad-review-kpis b,.cad-review-quality b{font-size:18px}.cad-review-kpis span,.cad-review-quality span{color:#5f7580;font-size:10px}.cad-review-quality article.is-warning{background:#fff3e1;color:#8a5915}.cad-review-assembly{margin-top:9px;border:1px solid #d8e4e6;border-radius:8px;overflow:hidden}.cad-review-assembly>summary{display:flex;justify-content:space-between;gap:12px;min-height:44px;align-items:center;padding:8px 11px;cursor:pointer;background:#f8fbfb;font-weight:800}.cad-review-assembly>summary small{color:#687d88;font-weight:600;text-align:right}.cad-review-table-wrap{max-width:100%;overflow:auto}.cad-review-table-wrap table{width:100%;border-collapse:collapse;font-size:11px}.cad-review-table-wrap th,.cad-review-table-wrap td{padding:8px 10px;border-top:1px solid #e1e9eb;text-align:left;vertical-align:top;overflow-wrap:anywhere}.cad-review-table-wrap th{background:#f3f7f8}.cad-review-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.cad-review-links button,.cad-review-dialog-shell>footer button{min-height:44px;padding:8px 12px;border:1px solid #087e61;border-radius:8px;background:#087e61;color:#fff;font-weight:800}.cad-review-links button.secondary,.cad-review-dialog-shell>footer button.secondary{border-color:#cbd9dc;background:#fff;color:#2b4a58}.cad-review-human-state{border-left:4px solid #7653a6!important;background:#faf7fd!important}.cad-review-human-state.is-authoritative{border-left-color:#087e61!important;background:#f1faf7!important}.cad-review-dialog-shell>footer{justify-content:flex-end;border-top:1px solid #dae5e7}.cad-review-dialog-shell>footer p{margin-right:auto;color:#617782;font-size:11px}.cad-review-viewer-shell{display:grid;grid-template-rows:auto minmax(0,1fr);height:calc(100dvh - 30px)}.cad-review-viewer-shell>header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #dae5e7}.cad-review-viewer-shell>header h2{margin:0;font-size:18px}.cad-review-viewer-shell>[data-cad-review-viewer]{min-width:0;min-height:0;overflow:auto}.cad-review-viewer-shell .cad-viewer-panel{margin:0;border:0;border-radius:0}
@media(max-width:1050px){.pc-cad-ist-entry{grid-template-columns:minmax(200px,1fr) minmax(360px,2fr)}.pc-cad-ist-actions{grid-column:1/-1;justify-content:flex-start}.pc-cad-ist-actions small{text-align:left}.cad-review-kpis,.cad-review-quality{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.pc-cad-ist-entry{display:block;margin:0 8px 8px;padding:12px}.pc-cad-ist-entry>dl{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.pc-cad-ist-actions{justify-content:stretch;margin-top:10px}.pc-cad-ist-actions button{flex:1 1 100%}.cad-ist-review-dialog,.cad-ist-viewer-dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.cad-review-dialog-shell{height:100dvh;max-height:100dvh}.cad-review-dialog-shell>header,.cad-review-dialog-shell>footer{padding:11px 12px}.cad-review-dialog-shell>footer{flex-wrap:wrap}.cad-review-dialog-shell>footer p{flex-basis:100%;margin:0}.cad-review-body{padding:10px 12px}.cad-review-identity,.cad-review-object-counts,.cad-review-kpis,.cad-review-quality{grid-template-columns:repeat(2,minmax(0,1fr))}.cad-review-assembly>summary{align-items:flex-start;flex-direction:column}.cad-review-viewer-shell{height:100dvh}.cad-review-dialog-shell>footer button{flex:1 1 140px}}
