/* BR-UI-7152-004：輸入框 36px；按鍵 32px（71.70 起全系統統一，BR-UI-7170-003）；觸控 44px */html body main button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body main input[type=submit],html body .dc-page-actions button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body .dc-page-actions a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body .dc-page-actions input[type=submit],html body .document-page-actions button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body .document-page-actions a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body .document-page-actions input[type=submit],html body .product-page-actions button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body .product-page-actions a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body .product-page-actions input[type=submit]{height:32px!important;min-height:32px!important;max-height:32px!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important}html body main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=color]):not([type=range]):not([type=image]):not(td *),html body main select:not([multiple]):not([size]):not(td *),html body main .dc-search-toggle,html body main .dc-date-range-control{height:36px!important;min-height:36px!important;max-height:36px!important;box-sizing:border-box!important}html body main .dc-search-control{height:36px!important;min-height:36px!important}html body main .dc-cost-alert-editor .dc-segment{height:36px!important}html body main td button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main td a.button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .dc-row-action:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .role-card .role-edit-link:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .dc-row-actions-auto button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .dc-row-actions-auto a.button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open){height:32px!important;min-height:32px!important;max-height:32px!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important}@media (pointer:coarse),(max-width:700px){html body main button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body main input[type=submit],html body .dc-page-actions button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body .dc-page-actions a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body .dc-page-actions input[type=submit],html body .document-page-actions button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body .document-page-actions a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body .document-page-actions input[type=submit],html body .product-page-actions button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.store-cart-checkout):not(.minus):not(.plus):not([role=switch]):not([hidden]):not([class*=photo]):not(.dc-segment *):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body .product-page-actions a.button:not(.dc-audit-icon):not([hidden]):not([class*=photo]):not([class*=shortcut]):not([class*=tile]):not([class*=-icon]),html body .product-page-actions input[type=submit],html body main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=color]):not([type=range]):not([type=image]):not(td *),html body main select:not([multiple]):not([size]):not(td *),html body main .dc-search-toggle,html body main .dc-date-range-control{height:44px!important;min-height:44px!important;max-height:44px!important}html body main .dc-search-control{height:44px!important;min-height:44px!important}html body main td button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main td a.button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .dc-row-action:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .role-card .role-edit-link:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .dc-row-actions-auto button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open),html body main .dc-row-actions-auto a.button:not(.dc-drag-handle):not(.dc-image-edit):not(.dc-audit-icon):not(.dc-close-icon):not(.quantity-step):not(.minus):not(.plus):not([class*=photo]):not([class*=-icon]):not(#dc-none):not(.dc-search-toggle):not(.remove-transfer-item):not(.dc-po-more):not(.dc-hm-open){height:44px!important;min-height:44px!important;max-height:44px!important}html body main .dc-cost-alert-editor .dc-segment{height:44px!important}}/* BR-UI-7152-005：相鄰按鍵間距 6px（同一組），不同組 16px。 */html body main .dc-row-actions,html body main .dc-row-actions-auto,html body .dc-page-actions .dc-action-right,html body main .unit-tools-actions,html body main .dc-page-utility-actions,html body main .dc-list-actions,html body main td>.toolbar{gap:6px!important;column-gap:6px!important;row-gap:6px!important}html body main .dc-row-actions-auto{display:inline-flex;align-items:center;flex-wrap:wrap;vertical-align:middle}html body main .dc-row-actions-auto>form{display:inline-flex;margin:0}html body main .unit-tools-actions,html body main .dc-list-actions{margin-left:16px}/* BR-UI-71172-002（使用者回報）：批量單位設定的編輯／取消編輯／儲存並生效放在工具列最右邊（原本被上一行的 16px 蓋掉 margin-left:auto，緊貼篩選欄位） */html body main .dc-compact-tools>.unit-tools-actions:is(#dc-none,div){margin-left:auto!important}/* BR-UI-71172-002：不編輯時「儲存並生效」隱形但佔位（切換編輯時表格不移動），排到「編輯」左邊，「編輯」才在最右邊；編輯中儲存回到最右邊。「編輯」與「取消編輯」同寬（四個字），切換時整組寬度不變、不會換行 */html body main .unit-tools-actions>#unitSaveAll:is(#dc-none,button){order:-1!important}html body main .unit-tools-actions:has(>#unitEditMode[aria-pressed=true])>#unitSaveAll:is(#dc-none,button){order:0!important}html body main .unit-tools-actions>#unitEditMode:is(#dc-none,button){min-width:max(84px,calc(4em + 24px))!important}