#cabinet-whole .cw-main.handoff-wide{max-width:none;padding-left:12px;padding-right:12px}
.handoff-online .panel-body{padding:12px}
.handoff-tabs{margin:14px 0}
.handoff-tabs [aria-pressed=true]{background:#285f9c;color:white}
.handoff-section{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px}
.handoff-section h2{margin:0;font-size:16px}
.handoff-notes{display:grid;gap:6px;margin:16px 0}
.handoff-footer{margin-top:12px}
.handoff-matching{margin:10px 0}
.handoff-matching summary{cursor:pointer;color:#285f9c}
#document-preview.handoff-online .sales-entry-table{overflow-x:auto;width:100%;min-width:0}
#document-preview.handoff-online .sales-entry-table table{width:100%;border-collapse:collapse}
#document-preview.handoff-online .sales-entry-table th{background:#4e697c;color:#fff}
#document-preview.handoff-online .sales-entry-table td{border-bottom:1px solid #d2ddea}
#document-preview.handoff-online .production-editor-table .cw-input{display:block;width:100%;max-width:100%;min-width:0}
.handoff-online .measurement-warning{white-space:normal}

#document-preview.handoff-online .production-editor-table .edge-formula .cw-input{width:52px;min-width:52px;max-width:52px;flex:0 0 52px}
#cabinet-whole .handoff-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#cabinet-whole .handoff-footer select.cw-input{width:170px}

#document-preview .handoff-hardware table{table-layout:fixed}
.handoff-hardware td{vertical-align:middle;text-align:center}
.handoff-hardware .hardware-separator td{height:10px;padding:0;background:#e5ebf1}
.handoff-hardware .hardware-brand-spec,.handoff-hardware .hardware-product-control{display:flex;align-items:center;gap:5px;min-width:0}
.handoff-hardware .hardware-brand-spec{flex:1;overflow:hidden}
.handoff-hardware .hardware-brand{max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}
#document-preview .handoff-hardware .hardware-product-control>.cw-btn{min-width:36px;width:36px;height:36px;min-height:36px;padding:0;flex:0 0 36px}
.hardware-link-state{font-size:12px;color:#526a80;white-space:nowrap;min-height:20px}
.hardware-link-state .cw-btn{padding:0 5px;min-height:20px}
#cabinet-whole .handoff-hardware-dialog{width:min(880px,94vw);max-width:94vw}
.handoff-hardware-dialog .hardware-size-fields{display:grid;grid-template-columns:180px 1fr;gap:12px}
.handoff-hardware-dialog .cw-input{width:100%;min-width:0;box-sizing:border-box}
.handoff-hardware-dialog table{width:100%;table-layout:fixed;border-collapse:collapse}
.handoff-hardware-dialog th,.handoff-hardware-dialog td{padding:6px;text-align:center;border-bottom:1px solid #d2ddea}
.handoff-hardware-dialog th{background:#4e697c;color:white}
.handoff-hardware-dialog td .cw-btn{width:36px;height:36px;padding:0;min-height:36px;margin:0 2px}
.handoff-hardware-dialog input{text-align:left}

.handoff-hardware .hardware-quantity-cell{position:relative;height:36px;display:flex;align-items:center;justify-content:center}
.handoff-hardware .hardware-quantity-cell:has(.hardware-link-state) input{padding-right:28px}
.handoff-hardware .hardware-link-state{position:absolute;right:3px;top:7px;min-height:22px;width:22px;height:22px;display:flex;align-items:center;justify-content:center}
#cabinet-whole .handoff-hardware .hardware-link-state .cw-btn{width:22px;min-width:22px;height:22px;min-height:22px;padding:0}

.handoff-hardware [hidden]{display:none!important}

#cabinet-whole dialog.handoff-external-dialog{width:min(1180px,95vw);max-width:95vw}
.handoff-external-dialog table{width:100%;table-layout:fixed;border-collapse:collapse}
.handoff-external-dialog th,.handoff-external-dialog td{padding:8px;text-align:center;border:1px solid #d2ddea;overflow-wrap:anywhere}
.handoff-external-dialog th{background:#4e697c;color:white}
.handoff-external td:first-child{white-space:normal;overflow-wrap:anywhere}

#cabinet-whole dialog.handoff-external-request-dialog{width:min(1100px,96vw);max-width:96vw;max-height:88vh;overflow:auto}
.handoff-external-request-dialog .external-request-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.handoff-external-request-dialog table{width:100%;table-layout:fixed;border-collapse:collapse}
.handoff-external-request-dialog th,.handoff-external-request-dialog td{border:1px solid #d2ddea;padding:7px;text-align:center;overflow-wrap:anywhere}
.handoff-external-request-dialog th{background:#4e697c;color:#fff}
.handoff-external-request-dialog .external-request-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.handoff-external-request-dialog .external-request-fields label{display:grid;gap:5px;min-width:0}
.handoff-external-request-dialog .external-request-fields .cw-input{width:100%;min-width:0;box-sizing:border-box}
.handoff-external-request-dialog .external-request-reason,.handoff-external-request-dialog .external-request-measures{grid-column:1/-1}
.handoff-external-request-dialog .external-request-measures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.handoff-external-request-dialog .external-request-list,.handoff-external-request-dialog .external-request-record,.handoff-external-request-dialog .external-request-form{margin-top:14px;border-top:1px solid #d2ddea;padding-top:12px}
.handoff-external-request-dialog .external-request-status{min-height:22px;color:#9a3b2f}
