/* Online lifecycle adapter only; original confirmation tables/styles are reused. */
#confirmation-editor{--d-ink:var(--cw-ink);--d-line:var(--cw-line);--d-soft:var(--cw-soft);--d-muted:var(--cw-muted);--d-blue:#275d99}
#confirmation-editor .cc-section>.bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
#confirmation-editor .cc-section>.bar h2{font-size:18px;margin:0}
#confirmation-editor .cc-section .pad{padding:16px}
#confirmation-editor .cc-image-tools{grid-template-columns:minmax(0,1fr) auto;margin-bottom:14px}
#confirmation-editor .cc-image-tools label{min-width:0}
#confirmation-editor .cc-hardware-picker{grid-template-columns:220px minmax(0,1fr) auto}
#confirmation-editor .cc-hardware-picker input,#confirmation-editor .cc-hardware-picker select,#confirmation-editor .cc-hardware-picker button,#confirmation-editor .cc-hardware-grid input{height:40px;min-height:40px;text-align:left}
#confirmation-editor .cc-material-grid{width:100%;table-layout:fixed;min-width:600px}
#confirmation-editor .cc-material-grid th,#confirmation-editor .cc-material-grid td{white-space:normal;overflow-wrap:anywhere}
#confirmation-editor .cc-hardware-grid input{min-width:0;padding:6px 8px}
#confirmation-editor .cc-hardware-grid td{padding:6px}
#confirmation-editor .cc-hardware-grid button{width:32px;height:32px;min-height:32px;padding:0}
#confirmation-editor .cc-hardware-grid th:last-child{width:54px}
#confirmation-editor .confirmation-history{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:16px}
#confirmation-editor .confirmation-history label{min-width:160px;flex:1;max-width:340px}
#confirmation-editor .confirmation-history label.revision{min-width:90px;flex:0 1 110px}
#confirmation-editor textarea{width:100%;box-sizing:border-box;resize:vertical;padding:10px;font:inherit;text-align:left}
#confirmation-editor [data-confirmation-status]{min-height:22px}
#confirmation-editor .confirmation-hint{padding:12px 16px;background:var(--cw-soft);border:1px solid var(--cw-line);margin-bottom:16px}
#confirmation-editor .confirmation-preview{max-height:80vh;overflow:auto;width:min(1080px,calc(100vw - 80px))}
#confirmation-editor .confirmation-preview .cc-section{margin:16px 0}
@media(max-width:700px){#confirmation-editor .cc-hardware-picker{grid-template-columns:minmax(0,1fr) auto}#confirmation-editor .cc-hardware-picker input{grid-column:1/-1}#confirmation-editor .cc-overview{align-items:flex-start;flex-direction:column}}

#confirmation-editor dialog.confirmation-defaults{width:min(1080px,calc(100vw - 80px));max-height:80vh;overflow:auto}#confirmation-editor .confirmation-defaults .cc-material-table{width:100%}#confirmation-editor .confirmation-defaults .cc-hardware-grid td:last-child{text-align:center}#confirmation-editor .cc-hardware-heading .cw-btn{min-height:40px;height:40px}

#confirmation-editor .paper-sign-panel summary{cursor:pointer;padding:16px;font-weight:600}#confirmation-editor .paper-sign-fields{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;align-items:end;margin-bottom:16px}#confirmation-editor .paper-sign-check{display:flex;gap:8px;align-items:center;min-height:40px}#confirmation-editor .paper-sign-check input{width:18px;height:18px;min-height:18px;flex:none}#confirmation-editor [data-confirmation-paper] .bar{padding:12px 16px}#confirmation-editor [data-confirmation-paper]{margin-top:18px}@media(max-width:600px){#confirmation-editor .paper-sign-fields{grid-template-columns:1fr}}
