/* v2.2.0 physical bundle counting and report confirmation. */
.control-shell.is-report-pane .report-task-fields{overflow:visible}
.bundle-live-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;padding-top:8px;border-top:1px solid #e8eef4;color:#7a8896;line-height:20px;min-width:0}
.bundle-live-summary b{font-weight:500;color:#566d80}
.control-shell.is-report-pane .bundle-review-button.el-button{height:28px;padding:0 10px;min-height:28px}
@media(min-width:1100px) and (max-height:780px){.control-shell.is-report-pane .bundle-review-button.el-button{height:24px;min-height:24px;padding:0 8px}}
#app .bundle-live-summary,#app .control-shell .bundle-review-button,#app .bundle-number-hint{font-size:12px!important}
.bundle-number-hint{margin:0;color:#7b8795;line-height:1.5}
.report-run-footer .task-buttons{flex-wrap:wrap}
.report-lifecycle-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.report-lifecycle-tabs>span{color:#8491a0}
#app .report-lifecycle-tabs>span{font-size:12px!important}
.bundle-report-list{min-width:1280px}
.bundle-report-list th:first-child{width:180px}
.bundle-report-list th:nth-child(2){width:130px}
.bundle-report-list th:nth-child(3){width:120px}
.bundle-report-list th:nth-child(4){width:105px}
.bundle-report-list th:nth-child(5),.bundle-report-list th:nth-child(6){width:145px}
.bundle-report-list th:nth-child(7),.bundle-report-list th:nth-child(8){width:80px}
.bundle-report-list th:last-child,.bundle-report-list .report-actions{width:295px}
.bundle-report-list td small{display:block;white-space:normal;line-height:1.5;color:#7d8b9a;margin-top:4px}
#app .bundle-report-list td small{font-size:12px!important}
.bundle-report-list .report-actions>div{gap:10px;flex-wrap:wrap}
.report-actions .el-button{--button-disabled-text:#a8abb2;--button-disabled-bg:transparent;--button-disabled-border:transparent}
.bundle-draft-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:16px;border:1px solid #e8d7ad;border-radius:6px;background:#fffbf2;color:#86672a}
.bundle-review-dialog{max-width:calc(100vw - 32px);--el-dialog-border-radius:8px}
.bundle-review-dialog .el-dialog__body{max-height:calc(100dvh - 190px);overflow-y:auto;padding-top:12px;padding-bottom:12px}
.bundle-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#53697d;margin-bottom:14px;overflow-wrap:anywhere}
.bundle-review-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e1e9f1;border-radius:6px;background:#f8fbfd;margin-bottom:20px}
.bundle-review-counts>div{display:flex;flex-direction:column;gap:7px;padding:12px 16px;border-right:1px solid #e1e9f1}
.bundle-review-counts>div:last-child{border-right:0}
.bundle-review-counts span{color:#7b8998;font-size:12px!important}
.bundle-review-counts strong{font-size:24px!important;font-weight:600;color:#456175;line-height:1.25}
.bundle-review-counts .is-actual strong{color:#157bb1}
.bundle-review-counts small{font-size:12px!important;font-weight:400;margin-left:5px;color:#8693a1}
.bundle-review-fields{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;margin-bottom:12px}
.bundle-review-fields.number-only{grid-template-columns:minmax(0,1fr)}
.removal-content-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#596e81}
.removal-content-heading b{font-weight:600;color:#456175;overflow-wrap:anywhere}
.removal-content-table{border:1px solid #e1e9f1;border-radius:6px;margin-top:16px}
.removal-content-table table{width:100%;min-width:640px;table-layout:fixed;border-collapse:collapse;text-align:left}
.removal-content-table th,.removal-content-table td{padding:12px;border-bottom:1px solid #e8eef4;line-height:1.6;overflow-wrap:anywhere}
.removal-content-table th{background:#f5f8fb;color:#63798c;font-weight:500}
.removal-content-table th:nth-child(1){width:14%}
.removal-content-table th:nth-child(2),.removal-content-table th:nth-child(5){width:23%}
.removal-content-table th:nth-child(3){width:12%}
.removal-content-table tr:last-child td{border-bottom:0}
.bundle-review-dialog .form-field{display:flex;flex-direction:column;gap:7px;color:#596e81;min-width:0}
.bundle-number-save{display:flex;gap:8px;min-width:0}
.bundle-number-save .el-input{flex:1;min-width:0}
.bundle-number-save .el-button{flex:none}
.bundle-review-note{margin:10px 0;color:#7f8c99;font-size:12px!important;line-height:1.6}
.removal-entry{padding:14px 16px;margin:18px 0;border:1px solid #e3eaf1;border-radius:6px;background:#fafcfe}
.bundle-review-dialog h3{font-size:14px!important;font-weight:600;color:#425e75;margin:0 0 8px}
.removal-entry>p{margin:0 0 12px;color:#7d8b99;font-size:12px!important}
.removal-entry-fields{display:grid;grid-template-columns:150px auto;justify-content:start;gap:12px;align-items:end}
.removal-entry-fields .el-input-number{width:100%}
.removal-section-heading,.removal-selection-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.removal-auto-preview{margin-top:12px;color:#8794a0;font-size:12px!important;line-height:1.6}
.removal-auto-preview.has-selection{padding:9px 12px;border:1px solid #dceaf4;border-radius:5px;background:#f2f8fc;color:#426c89}
.removal-auto-preview small{display:block;color:#7c8d9c;font-size:12px!important}
.removal-plate-table{max-height:210px;overflow:auto;border:1px solid #e1e9f0;border-radius:5px;background:#fff}
.removal-plate-table table{width:100%;border-collapse:collapse;text-align:left}
.removal-plate-table th,.removal-plate-table td{padding:6px 10px;border-bottom:1px solid #edf1f5;line-height:1.5;font-size:12px!important}
.removal-plate-table th{position:sticky;top:0;z-index:1;background:#f3f7fa;color:#718293;font-weight:500;white-space:nowrap}
.removal-plate-table th:first-child{width:44px}
.removal-plate-table td:nth-child(2){font-variant-numeric:tabular-nums;color:#526c80}
.removal-plate-table .is-selected{background:#f0f8fd}
.removal-plate-table .el-checkbox{height:24px}
.removal-plate-table .el-checkbox__label{display:none}
.removal-plate-table .empty{padding:18px;text-align:center;color:#96a3af}
.removal-selection-summary{margin:8px 0 12px;color:#718293;font-size:12px!important}
.removal-selection-summary b{color:#197bab;font-weight:600}
.removal-unresolved{padding:10px 12px;color:#977033;background:#fff9ec;border:1px solid #eee0bf;border-radius:5px;line-height:1.6}
.removal-history .table-wrap{max-height:180px;overflow:auto;border:1px solid #e6ecf2;border-radius:5px}
.removal-history table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left}
.removal-history .removal-time-column{width:144px}
.removal-history .removal-action-column{width:96px}
.removal-history .removal-record-time{white-space:nowrap}
.removal-history td{vertical-align:top}
.removal-history th{background:#f5f8fb;color:#718293;font-weight:500;position:sticky;top:0}
.removal-history th,.removal-history td{padding:8px 10px;border-bottom:1px solid #edf1f5;line-height:1.5;font-size:12px!important}
.removal-history td small{display:block;color:#83909b;font-size:12px!important}
.removal-history .empty{text-align:center;color:#96a3af;padding:18px}
.bundle-review-dialog.is-removal-entry{--control-height:36px}
.bundle-review-dialog.is-removal-entry .el-dialog__body{max-height:calc(100dvh - 120px);padding-top:8px;padding-bottom:8px}
.is-removal-entry .bundle-review-heading{margin-bottom:10px}
.is-removal-entry .bundle-review-counts{margin-bottom:12px}
.is-removal-entry .bundle-review-counts>div{padding:8px 12px;gap:4px}
.is-removal-entry .bundle-review-counts strong{display:flex;align-items:baseline;gap:4px;font-size:20px!important;line-height:1.3}
.is-removal-entry .bundle-review-counts small{display:inline;margin:0;line-height:1}
.is-removal-entry .removal-entry{padding:12px;margin:0 0 12px}
.is-removal-entry .removal-entry>p{margin-bottom:10px;line-height:18px}
.is-removal-entry .removal-entry-fields{grid-template-columns:auto auto;gap:12px;align-items:center}
.is-removal-entry .removal-entry-fields .form-field{display:grid;grid-template-columns:auto 150px;align-items:center;gap:10px}
.is-removal-entry .removal-entry-fields>.el-button{height:36px;min-height:36px}
.is-removal-entry .removal-auto-preview{margin-top:8px;min-height:38px;line-height:19px}
.is-removal-entry .removal-auto-preview.has-selection{padding:0;border:0;background:transparent}
.is-removal-entry .removal-auto-preview small{line-height:19px}
.is-removal-entry .removal-history .table-wrap{max-height:none;overflow:visible}
.is-removal-entry .removal-history th{position:static}
.is-removal-entry .removal-history th,.is-removal-entry .removal-history td{padding:6px 10px}
.is-removal-entry .bundle-review-note{margin:8px 0 0;line-height:18px}
.removal-history-pagination,.removal-history-pagination>div{display:flex;align-items:center;gap:12px}
.removal-history-pagination{justify-content:space-between;margin-top:8px;color:#7c8b99;font-size:12px!important;line-height:24px}
.removal-history-pagination .el-button{font-size:12px!important}
@media(max-width:560px){.is-removal-entry .removal-entry-fields{grid-template-columns:minmax(0,1fr) auto}.is-removal-entry .removal-entry-fields .form-field{grid-template-columns:minmax(0,1fr)}.is-removal-entry .bundle-review-counts>div{padding:8px 6px}}
.bundle-confirm-check{padding:12px 0 0;margin-top:12px;border-top:1px solid #e8edf2}
.bundle-confirm-check p{margin:6px 0 0;color:#a17a34;font-size:12px!important}
@media(max-width:700px){.bundle-live-summary{grid-column:1/-1}.bundle-review-fields{grid-template-columns:1fr}.bundle-review-counts>div{padding:10px 8px}.bundle-review-counts strong{font-size:20px!important}.removal-entry-fields{grid-template-columns:minmax(0,1fr)}.removal-entry-fields>.el-button{justify-self:end}.removal-plate-table table{min-width:540px}.bundle-draft-banner{flex-wrap:wrap}}
