:root{color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif;--blue: #0f6bff;--primary: #0f6bff;--blue-soft: #eaf3ff;--border: #d9e3f2;--text: #17233c;--muted: #64748b;--bg: #f4f7fb;--danger: #d92d20;--row-hover-bg: #d8eaff;--row-selected-bg: #c7ddff;--list-hover-bg: #dcecff}*{box-sizing:border-box}*{scrollbar-color:#64748b #e8eef7;scrollbar-width:auto}*::-webkit-scrollbar{width:14px;height:14px}*::-webkit-scrollbar-track{background:#e8eef7;border-radius:999px}*::-webkit-scrollbar-thumb{min-height:44px;border:3px solid #e8eef7;border-radius:999px;background:#64748b}*::-webkit-scrollbar-thumb:hover{background:#334155}*::-webkit-scrollbar-corner{background:#e8eef7}body{margin:0;min-width:1180px;color:var(--text);background:var(--bg);font-size:14px}.table-wrap,.detail-table-wrap,.customer-order-table-wrap,.order-table-scroll,.finance-table-card,.finance-compact-table-wrap,.cost-center-table-wrap,.boss-vehicle-profit-table-wrap,.supplier-cost-rule-table-wrap,.supplier-cost-extra-table-wrap,.fee-item-table-wrap,.address-picker-table-wrap,.dispatch-copy-table-wrap,.template-page-table,.modal-card,.full-detail-body,.sidebar,.main-panel,.data-table-column-popover{scrollbar-gutter:stable both-edges}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.toast{position:fixed;top:20px;left:50%;z-index:60;transform:translate(-50%);max-width:360px;padding:10px 14px;color:#0f2d52;background:#eaf3ff;border:1px solid #9cc5ff;border-radius:8px;box-shadow:0 12px 30px #0f234629;font-size:13px;font-weight:700}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:24px;background:#0f172a52}.nested-modal-backdrop{z-index:45;background:#0f172a6b}.modal-card{width:min(980px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 28px 80px #0f23463d}body.is-modal-dragging{-webkit-user-select:none;user-select:none;cursor:grabbing}body.is-modal-dragging .modal-backdrop,body.is-modal-dragging .modal-head{cursor:grabbing}.compact-modal{width:min(840px,calc(100vw - 48px))}.recycle-modal{width:min(1040px,calc(100vw - 48px))}.recycle-tabs{width:fit-content;margin-bottom:14px}.recycle-section{display:grid;gap:10px}.recycle-section h3{margin:0;color:#1f2a44;font-size:14px;font-weight:800}.customer-edit-modal{width:min(880px,calc(100vw - 32px))}.order-modal-card{width:min(1280px,calc(100vw - 16px))}.fee-item-manager-modal{width:min(1360px,calc(100vw - 24px));height:min(900px,calc(100vh - 24px));max-height:calc(100vh - 24px);display:flex;flex-direction:column;overflow:hidden}.finance-wage-detail-backdrop{padding:12px}.finance-wage-detail-modal{width:calc(100vw - 24px);height:calc(100vh - 24px);max-height:calc(100vh - 24px);display:flex;flex-direction:column;overflow:hidden}.full-detail-backdrop{padding:12px}.full-detail-modal{width:calc(100vw - 24px);height:calc(100vh - 24px);max-height:calc(100vh - 24px);display:flex;flex-direction:column;overflow:hidden}.modal-subtitle{margin:6px 0 0;color:var(--muted);font-size:12px;font-weight:600}.full-detail-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:12px;overflow:auto;background:#f8fbff}.detail-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-section{border:1px solid var(--border);border-radius:8px;background:#fff;overflow:hidden}.detail-section-wide{grid-column:1 / -1}.detail-section h3{margin:0;padding:10px 12px;border-bottom:1px solid var(--border);background:#f6f9ff;font-size:14px}.detail-dl{display:grid;grid-template-columns:108px minmax(0,1fr);gap:0;margin:0}.detail-dl-wide{grid-template-columns:108px minmax(0,1fr)}.detail-dl dt,.detail-dl dd{margin:0;padding:9px 12px;border-bottom:1px solid #edf2f8;min-width:0}.detail-dl dt{color:var(--muted);background:#fbfdff;font-weight:700}.detail-dl dd{overflow-wrap:anywhere}.detail-table-wrap{max-height:42vh;overflow:auto}.order-list-detail-scroll{flex:1;min-height:0;max-height:none}.order-list-detail-table{min-width:max-content}.order-list-detail-table th{position:sticky;top:0;z-index:2;background:#f6f9ff;white-space:nowrap}.order-list-detail-table td{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.former-driver-modal{width:min(1240px,calc(100vw - 32px));height:min(720px,calc(100vh - 32px))}.former-driver-modal .modal-head{align-items:flex-start}.former-driver-modal .full-detail-body{overflow:hidden}.former-driver-modal .nested-table-scroll{width:100%;max-width:100%;overflow:auto}.former-driver-table .former-driver-actions-head,.former-driver-table .former-driver-actions-cell{position:sticky;right:0;display:table-cell;width:112px;min-width:112px;max-width:none;overflow:visible;white-space:nowrap;box-shadow:-8px 0 12px #0f172a0f}.former-driver-table .former-driver-actions-head{z-index:4;background:#f6f9ff}.former-driver-table .former-driver-actions-cell{z-index:3;background:#fff}.former-driver-table tbody tr:hover .former-driver-actions-cell{background:var(--row-hover-bg)}.former-driver-actions-cell .icon-btn{margin-right:6px}.former-driver-actions-cell .icon-btn:last-child{margin-right:0}.finance-wage-detail-body{flex:1;min-height:0;padding:12px;overflow:hidden}.finance-wage-detail-scroll{height:100%;max-height:none}.finance-wage-detail-table{min-width:max-content;table-layout:fixed}.finance-wage-detail-table thead th{position:sticky;top:0;z-index:2;background:#f6f9ff}.finance-wage-detail-table th.sortable{cursor:pointer}.finance-wage-detail-table .sticky-first-column{position:sticky;z-index:3;background:#fff;box-shadow:1px 0 #e5edf6}.finance-wage-detail-table thead .sticky-first-column{z-index:5;background:#f6f9ff}.finance-wage-detail-table tfoot .sticky-first-column{z-index:5;background:#f8fbff}.finance-wage-detail-table th,.finance-wage-detail-table td{overflow:hidden;text-overflow:ellipsis}.finance-wage-detail-table tbody tr:hover td,.finance-wage-detail-table tbody tr:hover .sticky-first-column{background:var(--row-hover-bg)}.finance-wage-detail-table tbody tr.selected td,.finance-wage-detail-table tbody tr.selected .sticky-first-column,.finance-wage-detail-table tbody tr.selected:hover td,.finance-wage-detail-table tbody tr.selected:hover .sticky-first-column{background:var(--row-selected-bg)}.finance-wage-detail-table tfoot td{position:sticky;bottom:0;z-index:2;background:#f8fbff;border-top:1px solid #b7d3ff;color:var(--text);font-weight:800}.modal-body.fee-item-manager-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:12px 14px 14px;overflow:hidden}.modal-fee-item-table-wrap{flex:1;min-height:0;max-height:none}.empty-action-cell{height:72px;text-align:center}.empty-action-cell>span{display:inline-block;color:var(--muted)}.modal-head{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--border);background:#fff;cursor:grab}.modal-head h2{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;font-size:18px}.modal-head .modal-detail-actions,.modal-head .icon-btn,.modal-head .ghost-btn,.modal-head .primary-btn{cursor:pointer}.modal-head :is(input,select,textarea,label,button){cursor:auto}.modal-head .modal-subtitle{pointer-events:none}.order-title-meta{color:var(--primary);font-size:13px;font-weight:800}.order-modal-readonly-fieldset{min-width:0;margin:0;padding:0;border:0}.order-modal-review-body.is-readonly input,.order-modal-review-body.is-readonly select,.order-modal-review-body.is-readonly textarea{color:var(--text);background:#f8fafc;opacity:1;cursor:default}.order-modal-review-body.is-readonly input:disabled,.order-modal-review-body.is-readonly input[readonly],.order-modal-review-body.is-readonly textarea:disabled,.order-modal-review-body.is-readonly textarea[readonly],.order-modal-review-body.is-readonly select:disabled{border-color:#d7dee8}.modal-body{padding:14px 14px 0}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px}.form-grid .span-2{grid-column:span 2}.form-grid .span-4{grid-column:span 4}.form-grid .span-6{grid-column:1 / -1}.order-compact-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:12px;padding:0 0 12px}.order-layout-grid .hidden-order-customer{grid-column:span 2}.order-layout-grid .order-location-wide{grid-column:span 3}.order-layout-grid .order-outsourced-field{grid-column:span 3;display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(112px,.85fr);align-items:end;gap:10px;min-width:0}.order-layout-grid .order-outsourced-field .order-compact-field{min-width:0}.order-layout-grid .order-outsourced-field .order-compact-field input,.order-layout-grid .order-outsourced-field .order-compact-field select,.order-layout-grid .order-outsourced-field .order-supplier-search{width:100%}.order-supplier-dropdown{width:100%;min-width:min(320px,calc(100vw - 96px))}.order-layout-grid .order-own-vehicle-field{grid-column:span 2}.order-layout-grid .order-compact-field-wide{grid-column:span 1}.order-layout-grid .order-switch-field{display:inline-flex;min-height:34px;align-items:center;justify-content:start;gap:6px}.order-layout-grid .order-switch-field input{width:16px;min-width:16px}.order-toggle-input{display:grid;grid-column:span 2;grid-template-columns:max-content minmax(0,1fr);align-items:end;gap:10px;min-width:0}.order-toggle-input>input{min-width:0}.form-grid label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:800}.table-inline-input{width:100%;min-width:72px;height:28px;padding:4px 7px;font-size:12px}.contact-area-tree{display:block;min-width:130px}.table-inline-tree-trigger{height:28px;padding:0 7px;font-size:12px}.contact-area-dropdown{width:min(420px,calc(100vw - 96px))}.customer-contact-table{align-self:start;width:100%;min-width:0;height:auto;table-layout:fixed}.customer-contact-table th,.customer-contact-table td{height:34px;max-height:34px;padding-top:0;padding-bottom:0;overflow:hidden;text-overflow:ellipsis;line-height:34px;vertical-align:middle;white-space:nowrap}.customer-contact-table tbody tr{height:34px}.customer-contact-table td>template,.customer-contact-table td>span:not(.contact-area-tree),.customer-contact-table td>input,.customer-contact-table td>select{max-width:100%}.customer-contact-table .contact-name-col{width:9%}.customer-contact-table .contact-gender-col{width:5%}.customer-contact-table .contact-title-col{width:8%}.customer-contact-table .contact-mobile-col{width:10%}.customer-contact-table .contact-phone-col{width:9%}.customer-contact-table .contact-area-col{width:13%}.customer-contact-table .contact-address-col{width:18%}.customer-contact-table .contact-fax-col{width:7%}.customer-contact-table .contact-email-col{width:8%}.customer-contact-table .contact-wechat-col{width:7%}.customer-contact-table .contact-qq-col{width:5%}.customer-contact-table .contact-remark-col{width:11%}.customer-contact-table .contact-action-col{width:54px}.customer-contact-table .table-inline-input{min-width:0;padding-inline:2px 4px;text-align:left}.customer-contact-table .contact-area-tree{min-width:0}.customer-contact-table .row-actions{min-width:54px;gap:4px;overflow:visible;line-height:1;white-space:nowrap}.searchable-select{position:relative;display:block;min-width:0}.searchable-select>input{width:100%}.customs-business-company-combobox{display:flex;align-items:center;gap:6px;min-height:34px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:#fff;box-sizing:border-box}.customs-business-company-combobox:focus-within{border-color:#8bbcff;box-shadow:0 0 0 3px #0f6bff14}.customs-business-company-combobox>.ui-icon{color:#94a3b8}.customs-business-company-input{flex:1;min-width:0;height:32px;padding:0;border:0;background:transparent;outline:none}.customs-business-company-clear,.customs-business-company-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer}.customs-business-company-clear:hover,.customs-business-company-toggle:hover{background:#eef6ff;color:#0f6bff}.searchable-select-dropdown{position:absolute;z-index:35;top:calc(100% + 6px);left:0;width:min(360px,calc(100vw - 80px));max-height:260px;overflow:auto;padding:6px;border:1px solid #cfe0f4;border-radius:8px;background:#fff;box-shadow:0 16px 36px #0f172a29}.searchable-select-dropdown button{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;border:0;border-radius:6px;background:transparent;color:#1f2a44;text-align:left;cursor:pointer}.searchable-select-dropdown button:hover,.searchable-select-dropdown button.active{background:var(--list-hover-bg);color:#075fc4}.searchable-select-dropdown strong,.searchable-select-dropdown span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchable-select-dropdown p{margin:0;padding:8px;color:#64748b;font-size:12px;font-weight:700}.searchable-select-dropdown.customs-business-company-dropdown{width:100%;min-width:0}.order-compact-field-wide{grid-column:span 2}.order-location-field{min-width:0}.location-input-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:6px}.order-layout-grid .order-location-field .route-tree-trigger{height:32px;padding:0 8px;font-size:11px}.order-layout-grid .order-location-field .address-book-trigger{width:30px;height:30px}.route-tree-wrap{position:relative}.route-tree-trigger{display:flex;width:100%;min-width:0;height:34px;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;color:#1f2a44;font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.route-tree-trigger:hover,.route-tree-trigger:focus,.route-tree-trigger.active{border-color:#0b74de;box-shadow:0 0 0 3px #0b74de14;outline:none}.route-tree-trigger.is-empty{color:#94a3b8;font-weight:600}.route-tree-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-tree-trigger .ui-icon{flex:0 0 auto;width:14px;height:14px}.address-book-trigger{width:34px;height:34px;color:#475569;background:#fff}.route-tree-dropdown{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:min(520px,calc(100vw - 72px));overflow:hidden;padding:8px;border:1px solid #cfe0f4;border-radius:8px;background:#fff;box-shadow:0 16px 36px #0f172a29}.route-tree-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:stretch}.route-tree-list{display:grid;gap:2px;max-height:260px;overflow:auto;padding-right:4px}.route-tree-node{display:grid;grid-template-columns:16px minmax(0,1fr);width:100%;min-height:30px;align-items:center;gap:8px;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:#1f2a44;font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.route-tree-node:hover,.route-tree-node.checked{background:var(--list-hover-bg);color:#075fc4}.route-tree-node span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-tree-children{display:grid;gap:2px;margin-left:16px;padding-left:9px;border-left:1px solid #dbe7f5}.route-tree-node.level-2{padding-left:6px}.route-tree-node.level-3{padding-left:10px}.tree-check{display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;border:1px solid #b8c8dc;border-radius:3px;background:#fff;color:#fff}.tree-check.checked{border-color:#0b74de;background:#0b74de}.tree-check .ui-icon{width:10px;height:10px}.route-tree-empty{margin:0;padding:8px;color:#64748b;font-size:12px;font-weight:700}.route-tree-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;align-items:center;gap:8px;padding-top:8px;border-top:1px solid #e2ebf6}.route-tree-actions span{min-height:0;color:#475569;font-size:12px;font-weight:800;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-word}.route-tree-confirm{width:auto;min-height:32px;justify-content:center;padding-inline:10px}.order-switch-field{align-content:end;grid-auto-flow:column;grid-template-columns:auto 1fr;align-items:center;min-height:48px}.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-width:0;font-weight:600}.form-grid textarea{box-sizing:border-box;min-height:92px;resize:vertical}.customer-modal-tabs{display:flex;align-items:center;justify-content:flex-start;gap:16px;padding:0 0 8px;border-bottom:1px solid var(--border)}.customer-form-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 8px;padding:12px 0 8px}.customer-form-grid textarea{min-height:78px}.customer-invoice-actions{display:flex;justify-content:flex-end}.order-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.detail-tab-list,.modal-detail-actions,.op-group{display:flex;align-items:center;gap:6px}.modal-detail-actions{flex-wrap:wrap;justify-content:flex-end}.upload-status-pill{display:inline-flex;align-items:center;gap:8px;flex:1 1 220px;min-width:180px;max-width:420px;height:30px;padding:0 10px;border:1px solid #bae6fd;border-radius:8px;color:#075985;background:#f0f9ff;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden}.upload-status-pill span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.upload-status-pill.is-success{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.upload-status-pill.is-error{color:#b42318;border-color:#fecaca;background:#fff1f2}.upload-status-dot{width:8px;height:8px;flex:0 0 auto;border-radius:999px;background:currentColor}.upload-status-pill.is-busy .upload-status-dot{animation:uploadPulse .9s ease-in-out infinite}@keyframes uploadPulse{0%,to{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}.order-freight-preview{max-width:min(480px,100%);border:1px solid var(--border);border-radius:8px;padding:7px 10px;color:var(--muted);background:#f8fafc;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-freight-preview.is-matched{color:#075985;border-color:#bae6fd;background:#f0f9ff}.order-freight-preview.is-empty{color:#92400e;border-color:#fed7aa;background:#fff7ed}.tab-btn{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:8px 10px;font-weight:800}.tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}.fee-table-wrap{height:clamp(260px,38vh,430px);overflow-x:hidden;overflow-y:auto;border:1px solid var(--border);border-radius:8px}.invoice-fee-table{width:100%;min-width:0;table-layout:fixed}.invoice-seq-col{width:38px}.invoice-name-col{width:238px}.invoice-category-col{width:72px}.invoice-qty-col{width:62px}.invoice-price-col{width:88px}.invoice-cost-col{width:168px}.invoice-amount-col{width:156px}.invoice-driver-col{width:132px}.invoice-remark-col{width:120px}.invoice-actions-col{width:82px}.invoice-fee-table th,.invoice-fee-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.invoice-fee-table input,.invoice-fee-table select{width:100%;min-width:0;border-color:transparent;background:transparent;font-weight:700}.invoice-fee-table input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-align:left;font-variant-numeric:tabular-nums}.invoice-fee-table input[type=number]::-webkit-outer-spin-button,.invoice-fee-table input[type=number]::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.invoice-fee-table input:focus,.invoice-fee-table select:focus{border-color:#9cc5ff;background:#fff;outline:none}.fee-name-picker{display:grid;grid-template-columns:minmax(0,1fr) 28px 28px;align-items:center;gap:6px;min-width:0}.invoice-fee-table .invoice-name-cell{overflow:visible;text-overflow:clip}.fee-name-picker .order-fee-name-search{min-width:0}.fee-name-picker .order-fee-name-search>input{height:30px;padding:0 4px;border-color:transparent;background:transparent;font-weight:700}.fee-name-picker .order-fee-name-search>input:focus{border-color:#9cc5ff;background:#fff}.order-fee-name-dropdown{width:min(360px,calc(100vw - 96px));max-height:260px}.order-fee-name-dropdown button{min-height:38px}.fee-name-picker select{min-width:0}.fee-category-badge{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:0 6px;height:22px;border-radius:999px;background:#eef2f7;color:#475569;font-size:12px;font-weight:900}.fee-category-badge.advance{background:#fff7ed;color:#b45309}.fee-category-badge.self-pay{background:#fff1f2;color:#b42318}.fee-category-badge.other-expense{background:#fffbeb;color:#92400e}.invoice-fee-table tbody tr.company-self-pay-row>td{background:#fff4f4}.invoice-fee-table tbody tr.company-self-pay-row:hover>td{background:#ffdada}.invoice-fee-table tbody tr.other-expense-cost-row>td{background:#fffbeb}.invoice-fee-table tbody tr.other-expense-cost-row:hover>td{background:#fde68a}.invoice-fee-table .invoice-category-col,.invoice-fee-table .invoice-actions-col,.invoice-fee-table .invoice-category-cell,.invoice-fee-table .invoice-actions-cell{overflow:visible;text-overflow:clip}.invoice-fee-table .invoice-category-cell,.invoice-fee-table .invoice-qty-cell,.invoice-fee-table .invoice-price-cell,.invoice-fee-table .invoice-driver-cell,.invoice-fee-table .invoice-cost-cell,.invoice-fee-table .invoice-amount-cell,.invoice-fee-table .invoice-actions-cell{padding-right:6px;padding-left:6px}.invoice-fee-table .invoice-category-cell{min-width:0;text-align:center}.fee-inline-tools{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:4px;width:100%;max-width:100%;margin-top:4px;min-width:0;overflow:hidden}.fee-inline-tools.has-address{grid-template-columns:minmax(0,114px) minmax(0,1fr)}.fee-inline-tools .fee-address-input{width:100%;min-width:0;height:26px;padding:0 8px;border:1px solid #fb923c;border-radius:7px;background:#fff7ed;box-shadow:inset 0 0 0 1px #fb923c1f;color:#7c2d12;font-size:12px;font-weight:800;text-overflow:ellipsis}.fee-inline-tools .fee-address-input::placeholder{color:#c08457}.fee-inline-tools .fee-address-input:focus{border-color:#fb923c;background:#fff;box-shadow:0 0 0 3px #fb923c24}.fee-inline-tools .fee-row-attachments{display:inline-flex;align-items:center;gap:3px;width:100%;min-width:0;max-width:100%;overflow:hidden}.fee-inline-tools .fee-row-file-chip{flex:0 1 100%;width:100%;max-width:100%}.fee-inline-tools.has-address .fee-row-file-chip{flex:0 1 100%;max-width:100%}.fee-inline-tools .fee-row-file-chip .file-chip-name{flex:1 1 auto;max-width:none}.fee-inline-tools.has-address .fee-row-file-chip .file-chip-name{max-width:none}.fee-inline-tools .fee-row-file-chip button{width:14px;height:14px}.fee-inline-tools .fee-row-file-chip .ui-icon{width:12px;height:12px}.invoice-driver-cell{color:#20324d;font-size:12px;font-weight:800}.fee-assignee-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;width:100%;min-width:0}.fee-assignee-editor input{min-width:0;height:28px;padding:0 5px;color:#20324d;text-overflow:ellipsis}.fee-assignee-editor input:disabled{opacity:1;color:#20324d}.fee-assignee-reset{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid #d7e2f4;border-radius:6px;background:#fff;color:#64748b;cursor:pointer}.fee-assignee-reset:hover{border-color:#9cc5ff;background:#eaf4ff;color:#075fc4}.fee-assignee-reset .ui-icon{width:13px;height:13px}.invoice-price-cell input,.invoice-cost-cell input,.invoice-amount-cell input{padding-right:6px}.invoice-price-cell input,.invoice-qty-cell input{height:28px;padding-left:4px}.invoice-cost-input{color:#075985}.invoice-cost-money-input{display:grid;grid-template-columns:minmax(56px,1fr) 70px;align-items:center;gap:4px;min-width:0}.invoice-cost-money-input select{min-width:0;width:70px;padding-left:6px;padding-right:16px;color:#075985;font-size:11px;font-weight:900;text-align:left}.invoice-cost-breakdown{display:block;color:#075985}.invoice-cost-breakdown strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:900}.invoice-remark-cell input{text-overflow:ellipsis}.invoice-actions-cell .op-group{justify-content:center;gap:4px;min-width:60px}.invoice-actions-cell .table-op{flex:0 0 28px}.address-picker-modal{width:min(980px,calc(100vw - 48px));height:min(680px,calc(100vh - 80px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.address-picker-body{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px;min-height:0;padding-bottom:14px}.address-picker-body.is-address-book{grid-template-rows:auto minmax(0,1fr) auto auto}.address-picker-toolbar{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(200px,1fr) auto;gap:10px;align-items:end}.address-picker-toolbar label{display:grid;gap:6px;min-width:0;color:#475569;font-size:12px;font-weight:800}.address-picker-toolbar input{width:100%;min-width:0}.address-book-manager{display:grid;gap:10px}.address-book-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto auto;gap:8px;align-items:end}.address-book-toolbar label,.address-book-form label{display:grid;gap:6px;min-width:0;color:#475569;font-size:12px;font-weight:800}.address-book-toolbar input,.address-book-form input,.address-book-form select{width:100%;min-width:0}.address-book-toolbar span{align-self:center;color:#64748b;font-size:12px;font-weight:800}.address-book-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px;align-items:end;min-width:0;max-width:100%;padding:12px;border:1px solid #dbe7f5;border-radius:8px;background:#fbfdff}.address-book-form .primary-btn,.address-book-form .ghost-btn{min-width:0;padding-inline:10px;white-space:nowrap}.address-book-area-tree{display:block;min-width:0}.address-book-city-field,.address-book-district-field{grid-column:span 2;min-width:0}.address-book-address-field{grid-column:span 8;min-width:0}.address-book-contact-field,.address-book-phone-field{grid-column:span 2;min-width:0}.address-book-note-field{grid-column:span 6;min-width:0}.address-book-save-btn{grid-column:span 2;width:100%;max-width:136px;min-height:34px;align-self:end;justify-self:end}.address-book-district-search{display:flex;align-items:center;gap:4px;width:100%;min-height:34px;padding:0 6px;border:1px solid var(--border);border-radius:8px;background:#fff;box-sizing:border-box}.address-book-district-search>input{width:auto;min-width:0;height:32px;flex:1;padding:0;border:0;background:transparent;outline:none}.address-book-district-search:focus-within{border-color:#8bbcff;box-shadow:0 0 0 3px #0f6bff14}.address-book-district-search.is-disabled{background:#f8fafc;opacity:.78}.address-book-district-dropdown{width:100%;min-width:0}.address-book-district-dropdown button{grid-template-columns:minmax(0,1fr)}.address-book-district-dropdown p{cursor:pointer}.address-book-area-dropdown{width:min(460px,calc(100vw - 96px));max-width:calc(100vw - 96px)}.address-picker-modal .address-book-area-dropdown{width:min(420px,calc(100vw - 120px));max-width:min(420px,calc(100vw - 120px))}@media(max-width:1040px){.address-book-form{grid-template-columns:repeat(6,minmax(0,1fr))}.address-book-city-field,.address-book-district-field,.address-book-contact-field,.address-book-phone-field{grid-column:span 3}.address-book-address-field,.address-book-note-field,.address-book-save-btn{grid-column:1 / -1}.address-book-form .primary-btn,.address-book-form .ghost-btn{width:100%;justify-content:center}}.template-location-picker{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) minmax(180px,1.2fr) auto;gap:10px;align-items:end}.template-location-picker label{display:grid;gap:6px;min-width:0;color:#475569;font-size:12px;font-weight:800}.template-location-picker select,.template-location-picker input{width:100%;min-width:0}.template-location-picker select:disabled{color:#94a3b8;background:#f8fafc}.address-picker-current{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 10px;border:1px solid #dbe7f5;border-radius:8px;background:#f7fbff;color:#49617e;font-size:12px;font-weight:700}.address-picker-current strong{color:#0b63ce}.address-picker-table-wrap{max-height:none;min-height:220px;overflow:auto}.address-picker-table-wrap table{min-width:820px}.address-picker-value{min-width:220px;color:#0f172a;font-weight:800}.address-picker-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:10px;border-top:1px solid #dbe7f5}.address-source-badge,.address-level-badge,.address-match-badge{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:999px;background:#eef2f7;color:#475569;font-size:11px;font-weight:800;white-space:nowrap}.address-source-badge.is-template{background:#e8f2ff;color:#075fc4}.address-level-badge{margin-right:6px;background:#f1f5f9}.address-match-badge{margin-left:6px;background:#eefbf3;color:#108047}.address-picker-hint{margin:0;color:var(--muted);font-size:12px;font-weight:700}@media(max-width:900px){.address-picker-toolbar,.address-book-toolbar,.address-book-form,.template-location-picker{grid-template-columns:1fr}}.fee-row-attachments{display:contents}.fee-row-upload{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #bfdbfe;border-radius:8px;background:#f8fbff;color:var(--blue);cursor:pointer}.fee-row-upload input{display:none}.fee-row-upload.is-disabled,.file-upload-btn.is-disabled{color:var(--muted);border-color:var(--border);background:#f8fafc;cursor:pointer}.fee-row-upload.is-uploading,.file-upload-btn.is-uploading{color:#075985;border-color:#bae6fd;background:#f0f9ff;cursor:wait;pointer-events:none}.fee-row-file-chip{display:inline-flex;align-items:center;gap:2px;min-width:0;max-width:156px;min-height:20px;padding:0 3px 0 5px;border:1px solid #dbeafe;border-radius:6px;background:#eff6ff;color:#1f3b5f;font-size:11px;font-weight:700}.file-chip-name,.vehicle-expense-receipt-name{display:block;min-width:0;max-width:72px;flex:1 1 72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fee-row-file-chip .file-chip-name,.fee-row-file-chip .vehicle-expense-receipt-name{min-width:0}.fee-row-file-chip button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:0;border-radius:4px;background:transparent;color:#31577c;cursor:pointer}.fee-row-file-chip button:hover{background:#dbeafe}.fee-money-input{display:grid;grid-template-columns:minmax(64px,1fr) 88px;align-items:center;gap:4px;min-width:0}.fee-money-input input{min-width:0}.fee-money-input select{min-width:0;width:88px;padding-left:6px;padding-right:18px;color:#20324d;font-size:12px;font-weight:900;text-align:left}.fee-money-input span{color:#64748b;font-size:12px;font-weight:900}.fee-driver-cell{display:flex;gap:4px;min-width:0}.fee-driver-cell select{flex:1 1 0;min-width:0}.muted-cell{color:var(--muted)}.table-op{display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#334155;font-weight:900}.order-modal-total{display:grid;grid-template-columns:110px 1fr;align-items:center;min-height:36px;padding:0 16px;border:1px solid var(--border);border-top:0;border-radius:0 0 8px 8px;background:#f8fbff;color:#334155;font-weight:800}.order-modal-card .fee-table-wrap{min-height:365px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,rgba(217,227,242,.65) 32px)}.order-modal-card .invoice-fee-table{min-height:0;background:#fff}.order-modal-card .invoice-fee-table tbody tr{height:44px}.order-modal-card .invoice-fee-table td{vertical-align:middle}.order-modal-card .modal-actions{position:sticky;bottom:0;background:#fff}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 18px 18px;border-top:1px solid var(--border)}.modal-actions-leading{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-right:12px}.order-status-action-btn{border-color:var(--dispatch-status-active-border, var(--border));color:#fff;background:var(--dispatch-status-active-border, var(--blue));box-shadow:0 8px 18px #0f172a1a}.order-status-action-btn:hover:not(:disabled){border-color:var(--dispatch-status-active-border, var(--accent));color:#fff;background:var(--dispatch-status-text, var(--blue));transform:translateY(-1px)}.order-status-action-btn:disabled{border-color:#cbd5e1;color:#64748b;background:#f1f5f9;box-shadow:none;opacity:1}.order-modal-audit-btn{margin-right:10px}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#f4f8ff,#eef4fb)}.login-card{width:380px;display:grid;gap:16px;padding:28px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 20px 55px #0f23461f}.login-card h1,.brand h1,.section-head h2{margin:0}.login-card label{display:grid;gap:6px;color:var(--muted);font-size:13px}input,select{height:34px;border:1px solid var(--border);border-radius:7px;padding:0 10px;background:#fff;color:var(--text);min-width:0}.app-shell{height:100vh;min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr);gap:14px;padding:14px;overflow:hidden}.sidebar,.main-panel,.login-card,.table-card,.detail-panel,.policy-card,.placeholder-panel{background:#ffffffeb;border:1px solid var(--border);border-radius:10px}.sidebar{min-height:0;padding:18px 16px;display:flex;flex-direction:column;gap:18px;overflow:auto}.brand{display:grid;gap:8px}.brand-home-button{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.brand h1{color:#075ec8;font-size:20px}.brand span,.hint,.eyebrow,.nav-group{color:var(--muted)}.nav{display:grid;gap:14px}.sidebar-footer{display:grid;gap:8px;margin-top:auto}.logout-btn{width:100%}.account-status-card{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff}.account-status-head{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center}.account-avatar{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;color:var(--primary);background:linear-gradient(180deg,#edf6ff,#dcecff);border:1px solid #b7d4ff;border-radius:10px;box-shadow:inset 0 1px #fffc}.account-avatar .ui-icon{width:26px;height:26px;stroke-width:2.25}.account-avatar-large{width:52px;height:52px}.account-avatar-large .ui-icon{width:31px;height:31px}.account-status-head>div strong,.account-status-head>div span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-status-head>div strong{color:#0f2d52;font-size:13px}.account-status-head>div span{margin-top:2px;color:var(--muted);font-size:12px;font-weight:700}.account-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:6px}.account-action-grid .ghost-btn{min-width:0;justify-content:center;padding-inline:6px}.account-password-modal{width:min(520px,calc(100vw - 48px))}.account-profile-modal{width:min(580px,calc(100vw - 48px))}.account-create-modal,.account-edit-modal{width:min(760px,calc(100vw - 48px))}.account-profile-summary{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;margin:0 16px 14px;padding:12px;background:#f7faff;border:1px solid var(--border);border-radius:8px}.account-profile-summary>div strong,.account-profile-summary>div span{display:block}.account-profile-summary>div strong{color:#0f2d52;font-size:15px}.account-profile-summary>div span{margin-top:3px;color:var(--muted);font-size:12px;font-weight:700}.account-password-grid,.account-profile-grid,.account-create-grid,.account-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-table{min-width:980px;table-layout:fixed}.account-table th,.account-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-username-col{width:140px}.account-name-col{width:130px}.account-hire-col,.account-role-col{width:120px}.account-status-col{width:80px}.account-permissions-col{width:210px}.account-actions-col{width:180px}.account-permissions{max-width:210px;color:#51627a}.account-actions-header,.account-actions{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-10px 0 14px -14px #0f234670}.account-actions-header{z-index:3;background:#f7faff}.account-actions{justify-content:flex-start;overflow:visible;white-space:nowrap}.account-table td.account-actions{overflow:visible}.account-table tbody tr:hover .account-actions{background:var(--row-hover-bg)}.account-table tbody tr.selected .account-actions,.account-table tbody tr.selected:hover .account-actions{background:var(--row-selected-bg)}.user-role{color:var(--muted);font-size:12px;font-weight:700}.db-status{margin:0;padding:10px;color:#37506e;background:#f4f8ff;border:1px solid var(--border);border-radius:8px;font-size:12px;line-height:1.5}.nav-group{margin:0 0 6px;font-size:12px;font-weight:700}.nav-item{width:100%;height:36px;border:0;border-radius:8px;background:transparent;color:var(--text);padding:0 12px;font-weight:600;display:flex;align-items:center;justify-content:flex-start;gap:8px;text-align:left}.nav-item .ui-icon{width:16px;height:16px}.nav-item.active{color:#0559c9;background:#dcecff}.main-panel{min-width:0;min-height:0;padding:12px;overflow:hidden}.work-page{height:calc(100vh - 52px);min-height:680px;display:flex;flex-direction:column;gap:10px}.toolbar{display:flex;align-items:center;gap:8px;min-height:40px}.customer-page{min-height:0;overflow:hidden}.customer-page-toolbar{flex:0 0 auto;flex-wrap:nowrap;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;overflow-x:auto;scrollbar-width:thin}.customer-page-search{flex:1 1 auto;min-width:280px;max-width:none}.customer-category-segmented{flex:0 0 auto}.customer-category-segmented button{min-width:76px}.customer-toolbar-actions{display:flex;flex:0 0 auto;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.vehicle-driver-toolbar{flex-wrap:wrap;align-items:center;gap:10px 12px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff}.vehicle-driver-title{min-width:120px;margin-right:4px}.vehicle-driver-title h2{margin:0;color:var(--text);font-size:20px;line-height:1.2;letter-spacing:0}.vehicle-driver-search{flex:1 1 260px;max-width:460px}.vehicle-driver-actions{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}.vehicle-expense-page{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}.vehicle-expense-card{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.vehicle-expense-card>.table-wrap{min-height:0;overflow:auto}.vehicle-expense-summary{color:var(--muted);font-size:12px}.vehicle-expense-period-controls{justify-content:flex-end}.vehicle-expense-period-label{color:var(--text);font-size:12px;white-space:nowrap}.vehicle-expense-table{min-width:980px;table-layout:fixed}.vehicle-expense-table.is-annual{min-width:1080px}.vehicle-expense-table th:nth-child(1),.vehicle-expense-table td:nth-child(1){width:13%}.vehicle-expense-table th:nth-child(2),.vehicle-expense-table td:nth-child(2){width:14%}.vehicle-expense-table th:nth-child(3),.vehicle-expense-table td:nth-child(3),.vehicle-expense-table th:nth-child(4),.vehicle-expense-table td:nth-child(4),.vehicle-expense-table th:nth-child(5),.vehicle-expense-table td:nth-child(5){width:11%}.vehicle-expense-table th:nth-child(6),.vehicle-expense-table td:nth-child(6){width:20%}.vehicle-expense-table th:nth-child(8),.vehicle-expense-table td:nth-child(8){width:84px}.vehicle-expense-table.is-annual th:nth-child(3),.vehicle-expense-table.is-annual td:nth-child(3){width:17%}.vehicle-expense-table.is-annual th:nth-child(4),.vehicle-expense-table.is-annual td:nth-child(4){width:11%}.vehicle-expense-table.is-annual th:nth-child(5),.vehicle-expense-table.is-annual td:nth-child(5),.vehicle-expense-table.is-annual th:nth-child(6),.vehicle-expense-table.is-annual td:nth-child(6){width:10%}.vehicle-expense-table.is-annual th:nth-child(7),.vehicle-expense-table.is-annual td:nth-child(7){width:10%}.vehicle-expense-table.is-annual th:nth-child(8),.vehicle-expense-table.is-annual td:nth-child(8){width:auto}.vehicle-expense-table.is-annual th:nth-child(9),.vehicle-expense-table.is-annual td:nth-child(9){width:84px}.vehicle-expense-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-expense-table.is-fuel{min-width:1760px}.vehicle-expense-table.is-fuel th,.vehicle-expense-table.is-fuel td{vertical-align:top;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.vehicle-expense-table.is-fuel th:nth-child(1),.vehicle-expense-table.is-fuel td:nth-child(1){width:120px}.vehicle-expense-table.is-fuel th:nth-child(2),.vehicle-expense-table.is-fuel td:nth-child(2){width:96px}.vehicle-expense-table.is-fuel th:nth-child(3),.vehicle-expense-table.is-fuel td:nth-child(3){width:104px}.vehicle-expense-table.is-fuel th:nth-child(4),.vehicle-expense-table.is-fuel td:nth-child(4){width:82px}.vehicle-expense-table.is-fuel th:nth-child(5),.vehicle-expense-table.is-fuel td:nth-child(5){width:108px}.vehicle-expense-table.is-fuel th:nth-child(6),.vehicle-expense-table.is-fuel td:nth-child(6){width:126px}.vehicle-expense-table.is-fuel th:nth-child(7),.vehicle-expense-table.is-fuel td:nth-child(7){width:150px}.vehicle-expense-table.is-fuel th:nth-child(8),.vehicle-expense-table.is-fuel td:nth-child(8){width:120px}.vehicle-expense-table.is-fuel th:nth-child(9),.vehicle-expense-table.is-fuel td:nth-child(9){width:116px}.vehicle-expense-table.is-fuel th:nth-child(10),.vehicle-expense-table.is-fuel td:nth-child(10){width:240px}.vehicle-expense-table.is-fuel th:nth-child(11),.vehicle-expense-table.is-fuel td:nth-child(11){width:260px}.vehicle-expense-table.is-fuel th:nth-child(12),.vehicle-expense-table.is-fuel td:nth-child(12){width:108px}.vehicle-expense-table.is-fuel td:nth-child(10),.vehicle-expense-table.is-fuel td:nth-child(11){line-height:1.35}.vehicle-expense-table.is-fuel .table-sort-trigger{justify-content:flex-start}.vehicle-expense-table.is-fuel .table-sort-trigger span:first-child{overflow:visible;text-overflow:clip;white-space:normal}.vehicle-expense-range-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px}.vehicle-expense-range-inputs span{color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.vehicle-expense-range-hint{min-height:0}.vehicle-expense-expiry-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid #dbe5f2;border-radius:999px;background:#eef2f7;color:#475569;font-size:12px;font-weight:800}.vehicle-expense-expiry-pill.is-normal{border-color:#dbe5f2;background:#eef2f7;color:#475569}.vehicle-expense-expiry-pill.is-warning{border-color:#fed7aa;background:#fff4d6;color:#9a5b00}.vehicle-expense-expiry-pill.is-danger{border-color:#fecaca;background:#ffe4e0;color:#b42318}.vehicle-expense-expiry-pill.is-muted{border-color:#e2e8f0;background:#f8fafc;color:#64748b}.vehicle-detail-expense-panel{display:grid;gap:8px}.vehicle-expense-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-expense-receipt-panel{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:#f8fbff}.vehicle-expense-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.vehicle-expense-receipt-head strong{color:var(--text);font-size:13px}.vehicle-expense-receipt-upload{flex:0 0 auto;width:30px;height:30px}.vehicle-expense-receipt-upload.is-disabled{cursor:not-allowed;opacity:.55;pointer-events:none}.vehicle-expense-upload-status{flex:0 1 auto;width:100%;max-width:none}.vehicle-expense-receipt-list{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.vehicle-expense-receipt-chip{max-width:min(100%,260px);gap:4px}.vehicle-expense-receipt-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-expense-receipt-chip button{flex:0 0 auto}.vehicle-expense-receipt-chip small{min-width:0;color:#64748b;font-size:11px;font-weight:800}.vehicle-expense-draft-chip.is-busy{color:#075985;border-color:#bae6fd;background:#f0f9ff}.vehicle-expense-draft-chip.is-success{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.vehicle-expense-draft-chip.is-error{color:#b42318;border-color:#fecaca;background:#fff1f2}.vehicle-expense-receipt-empty{margin:0;color:var(--muted);font-size:12px;font-weight:700}.home-page{display:block;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:2px;padding-bottom:12px;scroll-behavior:smooth}.home-page>*+*{margin-top:10px}.home-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:#fff}.home-hero h2{margin:2px 0 4px;color:var(--text);font-size:22px;letter-spacing:0}.home-hero span{color:var(--muted);font-size:13px;font-weight:700}.home-hero-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.home-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.home-kpi-card{display:grid;gap:6px;min-width:0;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:#fff;color:inherit;text-align:left;cursor:pointer}.home-kpi-card:hover,.home-kpi-card:focus{border-color:var(--primary);box-shadow:0 0 0 3px #0b74de14;outline:none}.home-kpi-card span,.home-kpi-card small{color:var(--muted);font-size:12px;font-weight:800}.home-kpi-card strong{color:var(--text);font-size:24px;line-height:1.1}.home-kpi-reminder-card{border-color:#fed7aa;background:#fffaf4}.home-reminder-panel{display:grid;align-content:start;min-height:min(720px,calc(100vh - 260px));overflow:hidden}.home-reminder-summary-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px 0}.home-reminder-stat{display:inline-flex;min-width:0;align-items:center;gap:6px;padding:11px 12px;border:1px solid #dbe7f5;border-radius:8px;color:#475569;background:#f8fbff;font-size:12px;font-weight:800}.home-reminder-stat strong{color:var(--text);font-size:22px;line-height:1}.home-reminder-stat.danger{border-color:#fecaca;color:#b42318;background:#fff7f7}.home-reminder-stat.warning{border-color:#fed7aa;color:#9a5b00;background:#fffaf0}.home-reminder-filters{display:flex;flex-wrap:wrap;gap:10px;padding:14px 16px}.home-reminder-filters button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid #d6e3f2;border-radius:999px;background:#fff;color:#475569;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.home-reminder-filters button span{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:#edf2f7;color:#334155;font-size:11px}.home-reminder-filters button.active{border-color:#8bbcff;color:#075fc4;background:#eef6ff}.home-reminder-filters button.active span{background:#d6eaff;color:#075fc4}.home-reminder-list{display:grid;gap:8px;overflow:visible;padding:0 16px 16px}.home-reminder-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,auto) minmax(116px,auto) auto;align-items:center;gap:14px;min-width:0;min-height:54px;padding:12px 14px;border:1px solid #e2ebf6;border-radius:8px;background:#fff;color:inherit;text-align:left;cursor:pointer}.home-reminder-row:hover,.home-reminder-row:focus-visible{border-color:#6ea8ff;background:var(--list-hover-bg);box-shadow:0 0 0 3px #0b74de1f;outline:none}.home-reminder-row.fresh{border-left:4px solid #0b74de}.home-reminder-row.danger{background:snow}.home-reminder-row.warning{background:#fffdf7}.home-reminder-row-main{display:grid;gap:4px;min-width:0}.home-reminder-row-main strong,.home-reminder-row-main span,.home-reminder-date{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-reminder-row-main strong{color:var(--text);font-size:15px}.home-reminder-row-main span,.home-reminder-date{color:var(--muted);font-size:13px;font-weight:800}.home-reminder-new{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:999px;background:#e8f1ff;color:#075fc4;font-size:11px;font-weight:900}.expiry-reminder-modal{width:min(720px,calc(100vw - 48px))}.expiry-reminder-modal-copy{margin:0 0 12px;color:var(--muted);font-size:13px;font-weight:800}.expiry-reminder-modal-list{display:grid;gap:8px;max-height:min(420px,54vh);overflow:auto}.expiry-reminder-modal-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e2ebf6;border-radius:8px;background:#fff;color:inherit;text-align:left;cursor:pointer}.expiry-reminder-modal-row.danger{border-color:#fecaca;background:snow}.expiry-reminder-modal-row.warning{border-color:#fed7aa;background:#fffdf7}.expiry-reminder-modal-row span:first-child{display:grid;gap:3px;min-width:0}.expiry-reminder-modal-row strong,.expiry-reminder-modal-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expiry-reminder-modal-row strong{color:var(--text);font-size:14px}.expiry-reminder-modal-row small,.expiry-reminder-modal-row>span:nth-child(2){color:var(--muted);font-size:12px;font-weight:800}.expiry-reminder-modal-row b{color:#b42318;font-size:12px}@media(max-width:760px){.home-reminder-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))}.home-reminder-row,.expiry-reminder-modal-row{grid-template-columns:minmax(0,1fr);align-items:start}.home-reminder-row .status-badge{width:fit-content}.home-reminder-new{width:fit-content;padding:0 8px}}.home-board-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:10px;margin-top:2px;min-height:0}.home-board-card{min-height:320px;overflow:hidden}.home-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border)}.home-board-head>div{display:grid;gap:3px}.home-board-head strong{color:var(--text);font-size:14px}.home-board-head span{color:var(--muted);font-size:12px;font-weight:700}.home-customer-list{display:grid;gap:8px;padding:10px}.home-customer-row{display:grid;gap:4px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:inherit;text-align:left;cursor:pointer}.home-customer-row:hover,.home-customer-row:focus{border-color:#6ea8ff;background:var(--list-hover-bg);outline:none}.home-customer-row strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.home-customer-row span,.home-customer-row small{overflow:hidden;color:var(--muted);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.order-page-toolbar{flex:0 0 auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;padding:2px 0;overflow:visible}.order-period-row,.dispatch-period-row{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;min-height:40px}.order-period-row{justify-content:space-between;gap:10px 12px;flex-wrap:wrap}.order-top-actions{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}.order-page{min-height:0;overflow:hidden}.order-page .order-table-card{flex:1 1 0;min-height:0}.order-filter-group,.order-action-group{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0}.order-filter-group{flex:0 0 auto;width:100%;overflow-x:auto;scrollbar-width:thin}.order-action-group{flex:0 0 auto;width:100%;justify-content:flex-end;flex-wrap:wrap;overflow:visible}.order-action-group .data-table-density-select select{height:30px}.order-column-menu{flex:0 0 auto;position:relative;z-index:12}.order-column-menu .data-table-column-popover{right:0;left:auto}.compact-segmented{flex:0 0 auto}.compact-segmented button{min-width:44px;padding:0 11px}.order-date-segmented{max-width:430px;overflow-x:auto;scrollbar-width:none}.order-date-segmented::-webkit-scrollbar{display:none}.order-date-segmented button{padding:0 9px;white-space:nowrap}.order-custom-date-range{display:flex;align-items:center;flex:0 0 auto;gap:6px;color:#64748b;font-size:12px}.order-custom-date-range input{width:124px;height:34px;border:1px solid var(--border);border-radius:7px;padding:0 8px;color:var(--text);font:inherit;background:#fff}.order-customer-filter{flex:0 0 176px;width:190px;max-width:190px;min-width:136px;overflow:hidden;text-overflow:ellipsis}.order-small-filter{flex:0 0 118px;width:118px}.order-toolbar-stat{flex:0 0 auto;min-height:34px}.order-search-field{position:relative;display:flex;align-items:center;flex:0 0 280px;min-width:220px}.order-search-field input{width:100%;height:34px;padding:0 26px 0 12px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);font:inherit}.order-search-field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1f;outline:none}.order-search-clear{position:absolute;right:7px;display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:999px;background:#e8f2ff;color:var(--blue);font-size:13px;font-weight:900;cursor:pointer}.order-action-group .primary-btn,.order-action-group .ghost-btn,.order-action-group .danger-btn{white-space:nowrap}.order-action-group .order-icon-btn{width:auto;min-width:0;padding:0 10px;gap:6px}.order-action-group .order-export-trigger{width:auto;min-width:70px;gap:4px}@media(max-width:1280px){.order-page-toolbar{align-items:stretch}.order-action-group{width:100%;justify-content:flex-start;flex-wrap:wrap}}.search-input{flex:1 1 420px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.segmented{display:inline-flex;padding:3px;gap:2px;border:1px solid var(--border);border-radius:999px;background:#f7faff}.segmented button,.pill{border:0;border-radius:999px;height:30px;padding:0 14px;background:transparent;color:var(--muted);font-weight:700}.segmented button.active,.pill.active{background:#fff;color:var(--blue);box-shadow:0 1px 5px #0f6bff29}.primary-btn,.ghost-btn,.danger-btn,.icon-btn{height:34px;border-radius:8px;padding:0 12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.ui-icon{width:15px;height:15px;flex:0 0 auto}.icon-only{width:28px;height:28px;padding:0;gap:0}.icon-only .ui-icon,.table-op .ui-icon{margin:0}.primary-btn{color:#fff;background:var(--blue);border:1px solid var(--blue)}.primary-btn.small{height:30px;margin-left:auto}.ghost-btn.small,.danger-btn.small{height:28px;padding:0 10px;font-size:12px}.ghost-btn,.icon-btn{color:#334155;background:#fff;border:1px solid var(--border)}.ghost-btn.active{border-color:var(--blue);background:#eef6ff;color:var(--blue)}.icon-btn.active{color:var(--blue);background:#eef6ff;border-color:#8bbcff}.danger-btn{color:var(--danger);background:#fff;border:1px solid #ffccc7}.icon-btn.success{color:#057a55;border-color:#b7ead3;background:#f0fdf7}.icon-btn:disabled{color:#94a3b8;border-color:#d8e0ea;background:#f4f7fb}.audit-locked-btn,.audit-locked-btn:disabled{color:#64748b!important;border-color:#cbd5e1!important;background:#eef2f7!important;opacity:1!important;box-shadow:none!important;cursor:not-allowed!important}.audit-locked-btn .ui-icon{color:currentColor;opacity:.72}.icon-btn.danger{color:var(--danger);border-color:#ffccc7}.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;white-space:nowrap;width:1%}.file-name-column{min-width:0;max-width:320px;overflow:hidden}.file-name-cell{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-order-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;overflow:hidden}.customer-order-toolbar{position:sticky;left:0;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:40px;padding:6px 10px;border-bottom:1px solid var(--border);background:#fff}.customer-order-count{margin-right:auto;color:#475569;font-size:12px;font-weight:800}.customer-order-export-wrap,.order-export-wrap{position:relative;display:inline-flex}.customer-order-export-menu,.order-export-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:12;min-width:280px;max-width:360px;padding:4px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 12px 30px #0f172a24}.order-export-menu-title{padding:8px 10px;border-bottom:1px solid var(--border);color:#475569;font-size:12px;font-weight:800}.order-export-exchange{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:6px;padding:8px 6px;border-bottom:1px solid #eef2f7}.order-export-exchange select,.order-export-exchange input{width:100%;min-width:0;height:28px;border:1px solid var(--border);border-radius:7px;padding:0 7px;background:#fff;color:var(--text);font:inherit;font-size:12px}.statement-export-menu-meta{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:8px 6px;border-bottom:1px solid #eef2f7;color:#475569;font-size:12px;font-weight:800}.statement-export-menu-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-export-template-row{display:grid;grid-template-columns:minmax(0,1fr) 54px 44px;align-items:center;gap:6px;padding:6px}.order-export-template-row+.order-export-template-row{border-top:1px solid #eef2f7}.order-export-template-row>span{color:#1f2a44;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-order-export-menu button,.order-export-menu button{width:100%;height:30px;display:flex;align-items:center;gap:7px;border:0;border-radius:6px;background:transparent;color:#1f2a44;font-size:12px;font-weight:800;cursor:pointer}.order-export-template-row>button{height:28px;justify-content:center;border:1px solid var(--border);background:#f8fbff;color:var(--blue)}.customer-order-export-menu button:hover,.order-export-menu button:hover{background:var(--list-hover-bg);color:var(--blue)}.customer-order-table{width:100%;min-width:0;table-layout:fixed}.customer-order-table-wrap{min-width:0;min-height:0;overflow:auto}.order-table{width:100%;min-width:0;table-layout:fixed}.table-card.order-table-card{display:flex;flex-direction:column;overflow:hidden}.order-table-scroll{flex:1 1 auto;min-height:0;overflow:auto}.order-summary-bar{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:22px;min-height:36px;padding:0 12px;border-top:1px solid #dbe8f7;background:#f8fbff;color:#20324d;font-size:12px;font-weight:800}.order-summary-bar span{margin-right:auto}.order-summary-bar strong{font:inherit}.finance-page{gap:10px}.statement-page{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:2px}.finance-page .section-head{margin-bottom:0}.finance-filter-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff}.order-page .order-table th,.order-page .order-table td{height:34px;max-height:34px;padding-top:0;padding-bottom:0;line-height:34px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-page .order-table th.order-full-cell,.order-page .order-table td.order-full-cell,.order-page .order-table td.order-driver-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;overflow-wrap:normal;line-height:34px}.order-page .order-table td.order-full-cell .table-link-btn{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.order-page .order-table th.order-sequence-column,.order-page .order-table th:has(>.order-sequence-head-label),.order-page .order-table td.order-sequence-column{overflow:visible;text-align:center;text-overflow:clip}.order-page .order-table th.order-sequence-column,.order-page .order-table th:has(>.order-sequence-head-label){padding-left:8px;padding-right:14px}.order-page .order-table .order-sequence-head-label{display:inline-flex;width:100%;min-width:2.5em;align-items:center;justify-content:center;overflow:visible;text-overflow:clip;white-space:nowrap}.order-page .order-table .status-badge,.order-page .order-table .icon-btn{vertical-align:middle}.order-page .order-table .status-badge{line-height:1}.order-page .order-table input[type=checkbox]{width:16px;min-width:16px;height:16px;margin:0;padding:0;vertical-align:middle}.order-page .order-table td.row-actions{display:table-cell;height:auto;max-height:none;padding-top:0;padding-bottom:0;line-height:normal;overflow:visible;vertical-align:middle}.finance-date-tabs{flex:0 1 auto}.finance-custom-range,.statement-date-selects{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.period-filter-controls{flex:0 1 auto;min-width:0}.order-period-controls{flex:0 1 auto;justify-content:center}.dispatch-period-controls{flex:1 1 560px;flex-wrap:wrap;justify-content:flex-start}.section-actions .period-filter-controls{justify-content:flex-end}.centered-period-bar{justify-content:center}.customs-business-filter-bar{justify-content:flex-start;padding:0;border:0;border-radius:0;background:transparent}.customs-business-period-bar{align-items:center;justify-content:space-between;gap:10px 14px}.customs-business-filter-bar .period-filter-controls{justify-content:flex-start}.customs-business-period-bar .customs-business-top-actions{flex:0 0 auto;margin-left:auto}.customs-business-top-actions{display:inline-flex;align-items:center;gap:8px}.customs-business-column-manager{margin-right:0}.customs-business-column-menu{right:auto;left:0;z-index:80}.order-column-menu,.dispatch-column-menu{margin-left:4px}.order-column-menu .ghost-btn.small,.dispatch-column-menu .ghost-btn.small{white-space:nowrap}.order-column-menu .column-manager-menu,.dispatch-column-menu .column-manager-menu{z-index:120}.customs-business-column-row{grid-template-columns:minmax(0,1fr) 22px 22px 22px}.customs-business-search-row{position:relative;z-index:30;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-height:40px;padding:0;overflow:visible}.customs-business-search-field{position:relative;display:flex;align-items:center;flex:1 1 420px;min-width:300px;max-width:620px}.customs-business-search-field .ui-icon{position:absolute;left:10px;width:15px;height:15px;color:#68809c;pointer-events:none}.customs-business-search-field input{width:100%;height:34px;padding:0 30px 0 32px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:800}.customs-business-search-field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1f;outline:none}.customs-business-search-clear{position:absolute;right:7px;display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:999px;background:#e8f2ff;color:var(--blue);font-size:13px;font-weight:900}.customs-statement-search-row{margin:8px 0 0}.customs-statement-search-field{flex-basis:360px;max-width:520px}.customs-business-select-filter{flex:0 0 190px;width:190px;height:34px;padding:0 28px 0 10px;border:1px solid var(--border);border-radius:8px;background-color:#fff;color:var(--text);font-size:12px;font-weight:800}.customs-business-select-filter.small{flex-basis:128px;width:128px}.statement-mode-tabs{flex:0 0 auto}.statement-date-selects label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:800}.statement-date-selects select,.statement-date-selects input[type=date]{width:104px;height:30px;padding:0 28px 0 10px}.statement-date-selects input[type=date]{width:142px;padding-right:8px}.finance-custom-range label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:700}.finance-custom-range input{width:138px;height:30px}.finance-period-chip{min-height:28px;padding:6px 10px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:800;white-space:nowrap}.finance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:8px}.finance-summary-card{display:grid;gap:4px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff}.finance-summary-card span{color:var(--muted);font-size:12px;font-weight:700}.finance-summary-card strong{color:var(--text);font-size:18px}.cost-center-page{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;min-height:0;overflow:hidden}.cost-center-source-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:8px}.cost-center-source-card{display:grid;gap:4px;min-height:58px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);text-align:left;cursor:pointer}.cost-center-source-card span{font-size:13px;font-weight:900}.cost-center-source-card strong{color:var(--muted);font-size:12px}.cost-center-source-card.active{border-color:#0b63ce;background:#eef6ff;box-shadow:inset 0 0 0 1px #0b63ce1f}.cost-center-supplier-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;padding:0 0 2px}.cost-center-supplier-card{display:flex;align-items:center;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #d6e3f2;border-radius:8px;background:#fff;color:var(--text);text-align:left;cursor:pointer}.cost-center-supplier-card span{overflow:hidden;color:inherit;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.cost-center-supplier-card:hover{border-color:#6ea8ff;background:var(--list-hover-bg)}.cost-center-supplier-card.active{border-color:#0b63ce;background:#eef6ff;color:#0b4bb3;box-shadow:inset 0 0 0 1px #0b63ce1f}.cost-center-card{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden}.cost-center-card>.table-wrap{flex:1 1 auto;min-height:0}.cost-center-table-wrap{max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}.cost-center-actions{display:flex;justify-content:flex-end}.cost-center-driver-selector{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:0}.cost-center-driver-selector label{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:800}.cost-center-driver-selector select{min-width:180px;height:32px}.cost-center-driver-selector span,.cost-center-empty-hint{color:var(--muted);font-size:12px;font-weight:700}.cost-center-empty-hint{margin:0;padding:10px}.cost-center-rule-modal{width:min(1060px,calc(100vw - 48px))}.cost-center-rule-body{display:grid;gap:12px;padding:16px 18px 4px}.cost-center-rule-grid,.cost-center-rule-cost-grid{display:grid;gap:10px}.cost-center-rule-grid{grid-template-columns:minmax(180px,.8fr) minmax(240px,1fr) minmax(240px,1fr) minmax(150px,.6fr)}.cost-center-rule-grid.has-tonnage{grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr) minmax(220px,1fr) minmax(120px,.5fr) minmax(150px,.6fr)}.cost-center-rule-cost-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.cost-center-rule-value-row{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:6px;align-items:center}.cost-center-rule-body label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:800}.cost-center-route-field{display:grid;gap:6px;min-width:0;color:var(--muted);font-size:12px;font-weight:800}.cost-center-route-picker{min-width:0}.cost-center-route-dropdown{z-index:70;width:min(360px,calc(100vw - 96px))}.cost-center-route-trigger{height:34px}.cost-center-rule-body input,.cost-center-rule-body select{width:100%;min-width:0;height:34px;padding:0 10px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:var(--text);font:inherit;font-size:13px;font-weight:700}.cost-center-rule-note{grid-column:1 / -1}.cost-center-driver-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;flex:1 1 auto;min-height:0;padding:0}.driver-wage-rules-panel.cost-center-driver-panel{grid-template-rows:auto auto minmax(0,1fr)}.cost-center-driver-panel .driver-rule-mode-strip{padding:0;border:0;border-radius:0;background:transparent}.cost-center-driver-panel .driver-rule-mode-strip small{display:none}.cost-center-driver-panel .driver-wage-rule-toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:6px 8px;padding:0;border:0;border-radius:0;background:transparent;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.cost-center-driver-panel .driver-wage-rule-toolbar label{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;min-height:28px;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.cost-center-driver-panel .driver-wage-rule-toolbar input,.cost-center-driver-panel .driver-wage-rule-toolbar select{width:96px;height:28px;padding:0 8px}.cost-center-driver-panel .driver-wage-rule-toolbar .driver-rule-area{min-width:0}.cost-center-driver-panel .driver-wage-rule-toolbar .driver-rule-area select{width:150px}.cost-center-driver-panel .driver-wage-rule-toolbar .driver-rule-note{min-width:0}.cost-center-driver-panel .driver-wage-rule-toolbar .driver-rule-note input{width:180px}.cost-center-driver-panel .driver-rule-actions{display:inline-flex;flex:0 0 auto;grid-column:auto;margin-left:0}.cost-center-table,.cost-center-driver-table{width:max-content;min-width:100%}.cost-center-table th,.cost-center-table td{min-width:118px}.cost-center-table th:nth-child(1),.cost-center-table td:nth-child(1),.cost-center-table th:nth-child(2),.cost-center-table td:nth-child(2),.cost-center-table th:nth-child(3),.cost-center-table td:nth-child(3){min-width:150px}.cost-center-table.has-tonnage th:nth-child(4),.cost-center-table.has-tonnage td:nth-child(4){min-width:88px}.cost-center-table th:nth-last-child(2),.cost-center-table td:nth-last-child(2){min-width:160px}.cost-center-table th:last-child,.cost-center-table td:last-child{min-width:150px}.cost-center-table input{width:100%;min-width:0;height:30px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:var(--text);font:inherit;font-size:12px}.cost-center-name-input{min-width:150px}.cost-center-amount-input{min-width:92px}.cost-center-note-input{min-width:150px}.cost-center-entity-cell{display:grid;gap:2px;min-width:150px}.cost-center-entity-cell strong{color:var(--text);font-size:13px}.cost-center-entity-cell span{color:var(--muted);font-size:12px}@media(max-width:980px){.cost-center-source-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}.cost-center-rule-grid{grid-template-columns:1fr}}@media(max-width:620px){.cost-center-source-grid{grid-template-columns:1fr}.cost-center-route-dropdown{width:min(320px,calc(100vw - 48px))}}.finance-table-card{min-height:0;overflow:auto}.section-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.month-filter{display:inline-flex;align-items:center;gap:8px;color:#475569;font-size:12px;font-weight:800}.month-filter input{min-width:148px}.customs-business-table{min-width:1460px}.other-business-table{min-width:1120px}.customs-business-table .customs-business-text-col{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customs-business-table .customs-business-amount-col{text-align:right}.customs-business-table .customs-business-actions-col{position:sticky;right:0;z-index:3;width:118px;min-width:118px;text-align:center;background:#fff;box-shadow:-8px 0 16px #0f172a0f}.customs-business-table thead .customs-business-actions-col{z-index:4;background:#f8fafc}.customs-business-table tbody tr:hover .customs-business-actions-col{background:var(--row-hover-bg)}.customs-business-table td.customs-business-actions-col{justify-content:center}.customs-business-form-grid,.other-business-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.other-business-title-field{grid-column:span 3}.customs-business-company-field{align-content:start;gap:6px}.customs-business-custom-fields{display:grid;gap:10px;align-content:start}.customs-business-custom-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#475569;font-size:12px;font-weight:800}.customs-business-custom-list{display:grid;gap:8px}.customs-business-custom-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(120px,.8fr) 28px;gap:8px;align-items:end}.other-business-custom-row{grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(104px,.7fr)) 28px}.customs-business-custom-row label{min-width:0}@media(max-width:920px){.other-business-custom-row{grid-template-columns:1fr}}.finance-wage-page{overflow:hidden}.finance-wage-card{flex:1 1 auto;display:flex;flex-direction:column;min-height:320px;overflow:hidden}.finance-wage-card .data-table-toolbar{flex:0 0 auto}.finance-wage-table-scroll{flex:1 1 auto;min-height:0;overflow:auto;background:#fff}.finance-wage-table-scroll .finance-wage-table{width:100%;min-width:980px}.finance-wage-table-scroll .finance-wage-table thead th{position:sticky;top:0;z-index:3}.finance-insight-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start}.finance-operations-grid{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(460px,1.1fr);gap:8px;align-items:start}.finance-tool-card{min-height:0;overflow:auto}.table-card.statement-customer-card,.table-card.statement-supplier-card,.table-card.statement-customs-card{overflow:visible}.statement-customer-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}.statement-customer-table th,.statement-customer-table td{padding:7px 6px;vertical-align:middle}.finance-tool-card .data-table.compact.statement-customer-table th,.finance-tool-card .data-table.compact.statement-customer-table td{padding:7px 6px}.statement-customer-table th:first-child,.statement-customer-table td:first-child{width:4.5%;text-align:center}.statement-customer-table th:nth-child(2),.statement-customer-table td:nth-child(2){width:16%;white-space:normal;word-break:break-word}.statement-customer-table th:nth-child(3),.statement-customer-table td:nth-child(3){width:7.5%}.statement-customer-table th:nth-child(4),.statement-customer-table td:nth-child(4){width:7%}.statement-customer-table th:nth-child(5),.statement-customer-table td:nth-child(5){width:4.5%;text-align:center}.statement-customer-table th:nth-child(6),.statement-customer-table td:nth-child(6),.statement-customer-table th:nth-child(7),.statement-customer-table td:nth-child(7){width:8.5%;white-space:nowrap}.statement-customer-table th:nth-child(8),.statement-customer-table td:nth-child(8){width:8%}.statement-customer-table th:nth-child(9),.statement-customer-table td:nth-child(9){width:8.5%}.statement-customer-table th:nth-child(10),.statement-customer-table td:nth-child(10){width:12%}.statement-customer-table th:nth-child(11),.statement-customer-table td:nth-child(11){width:11.5%}.statement-customer-table th:nth-last-child(2),.statement-customer-table td:nth-last-child(2){white-space:nowrap}.statement-customer-table th:last-child,.statement-customer-table td:last-child{white-space:nowrap}.statement-supplier-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}.statement-supplier-table th,.statement-supplier-table td{padding:7px 6px;vertical-align:middle}.statement-supplier-table th:first-child,.statement-supplier-table td:first-child{width:4.5%;text-align:center}.statement-supplier-table th:nth-child(2),.statement-supplier-table td:nth-child(2){width:31%;white-space:normal;word-break:break-word}.statement-supplier-table th:nth-child(3),.statement-supplier-table td:nth-child(3){width:8.5%;text-align:center}.statement-supplier-table th:nth-child(4),.statement-supplier-table td:nth-child(4),.statement-supplier-table th:nth-child(5),.statement-supplier-table td:nth-child(5){width:12%;white-space:nowrap}.statement-supplier-table th:nth-child(6),.statement-supplier-table td:nth-child(6){width:16%}.statement-supplier-table th:nth-child(7),.statement-supplier-table td:nth-child(7){width:8.5%;white-space:nowrap}.statement-customs-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}.statement-customs-table th,.statement-customs-table td{padding:7px 6px;vertical-align:middle}.statement-customs-table th:first-child,.statement-customs-table td:first-child{width:4.5%;text-align:center}.statement-customs-table th:nth-child(2),.statement-customs-table td:nth-child(2){width:32%;white-space:normal;word-break:break-word}.statement-customs-table th:nth-child(3),.statement-customs-table td:nth-child(3),.statement-customs-table th:nth-child(4),.statement-customs-table td:nth-child(4){width:9%;text-align:center}.statement-customs-table th:nth-child(5),.statement-customs-table td:nth-child(5){width:15%;white-space:nowrap}.statement-customs-table th:nth-child(6),.statement-customs-table td:nth-child(6){width:16%}.statement-customs-table th:nth-child(7),.statement-customs-table td:nth-child(7){width:8.5%;white-space:nowrap}.statement-settlement-chip{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:24px;padding:0 8px;border-radius:999px;background:#eef6ff;color:#1d4ed8;font-size:12px;font-weight:900}.statement-settlement-chip.hkd{background:#ecfdf5;color:#047857}.statement-exchange-rate-input{width:100%;min-width:0;height:30px;padding:0 8px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:800}.statement-unreceived-input{width:100%;min-width:0;height:30px;padding:0 7px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:800}.statement-unreceived-input:focus,.statement-exchange-rate-input:focus{border-color:var(--primary);box-shadow:0 0 0 2px #0b74de1a;outline:none}.statement-payment-status-chip,.statement-payment-date-text{display:inline-flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:30px;border:1px solid var(--border);border-radius:7px;background:#fff;color:#92400e;font-size:12px;font-weight:900}.statement-payment-status-chip{padding:0 8px;background-color:#fff7ed;border-color:#fed7aa}.statement-payment-status-chip.paid{border-color:#86efac;background-color:#ecfdf5;color:#047857}.statement-payment-date-text{padding:0 7px;color:#0f3f2e;background:#f8fafc;border-color:#dbe4f0}.statement-payment-date-text.empty{color:#94a3b8;background:transparent;border-color:transparent}.statement-customer-actions{display:table-cell;vertical-align:middle;justify-content:flex-start;overflow:visible;white-space:nowrap}.statement-customer-actions .statement-export-wrap{display:inline-flex;max-width:100%}.statement-customer-actions .primary-btn{width:100%;min-width:0;padding:0 7px;gap:4px;font-size:12px}.statement-customer-table .statement-status-select,.statement-supplier-table .statement-status-select,.statement-customs-table .statement-status-select{width:100%;padding:0 4px;border-radius:7px}.statement-customer-table .statement-status-inline .statement-status-select,.statement-customer-table .statement-status-inline .statement-status-chip{flex:1 1 auto;width:auto;min-width:0;height:28px;font-size:11px}.statement-customer-actions .statement-export-menu{z-index:30}.statement-export-backdrop{z-index:120}.statement-export-dialog{width:min(520px,calc(100vw - 32px));overflow:visible}.statement-export-dialog-meta{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f8fbff}.statement-export-dialog-meta span{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#fff;color:#475569;font-size:12px;font-weight:800}.statement-export-template-list{display:grid;gap:0;padding:8px}.statement-export-template-row{display:grid;grid-template-columns:minmax(0,1fr) 68px 58px;align-items:center;gap:8px;padding:8px;border-radius:8px}.statement-export-template-row+.statement-export-template-row{border-top:1px solid #eef2f7;border-radius:0}.statement-export-template-row span{min-width:0;overflow:hidden;color:#1f2a44;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.statement-export-template-row button{height:30px;border:1px solid #dbe7f5;border-radius:7px;background:#fff;color:#1d4ed8;font-size:12px;font-weight:900;cursor:pointer}.statement-export-template-row button:hover{border-color:#8ab7ff;background:var(--list-hover-bg)}.finance-tool-card .table-card-head{min-height:0;padding:9px 10px}.finance-tool-card .data-table.compact th,.finance-tool-card .data-table.compact td{padding:7px 8px}.finance-tool-card .table-card-head span{display:block;margin-top:2px;color:var(--muted);font-size:12px;font-weight:600}.boss-page .table-card-head{min-height:0;padding:9px 10px;border-bottom:1px solid var(--line)}.boss-page{min-height:0;overflow-x:hidden;overflow-y:auto}.boss-page>.section-head,.boss-page>.finance-filter-bar,.boss-page>.finance-summary-grid,.boss-page>.finance-insight-grid,.boss-page>.table-card{flex:0 0 auto}.boss-page .table-card-head span,.boss-kpi-card span:last-child{display:block;margin-top:2px;color:var(--muted);font-size:12px;font-weight:600}.boss-kpi-card-clickable{cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.boss-kpi-card-clickable:hover{border-color:#93c5fd;box-shadow:0 8px 20px #2563eb1f;transform:translateY(-1px)}.boss-dashboard-detail-backdrop{padding:12px}.boss-dashboard-detail-modal{width:calc(100vw - 24px)}.boss-dashboard-detail-body{gap:14px;background:#f9fbff}.boss-dashboard-detail-summary{grid-template-columns:repeat(3,minmax(160px,1fr));margin-bottom:2px}.boss-dashboard-detail-summary .finance-summary-card strong{font-size:16px}.boss-dashboard-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.boss-dashboard-detail-section{display:flex;min-width:0;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid #e6edf7;overflow:visible}.boss-dashboard-detail-summary+.boss-dashboard-detail-section{padding-top:0;border-top:0}.boss-dashboard-detail-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;min-height:0;padding:0 2px}.boss-dashboard-detail-section-head strong{color:#172033;font-size:14px;font-weight:800}.boss-dashboard-detail-section-head span{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:600}.boss-dashboard-detail-table-wrap{max-height:360px;overflow:auto;border:1px solid #e6edf7;border-radius:8px;background:#fff}.boss-dashboard-detail-table-wrap .data-table{min-width:980px}.boss-dashboard-detail-table-wrap .data-table th,.boss-dashboard-detail-table-wrap .data-table td{white-space:nowrap}.boss-dashboard-detail-table-wrap .data-table th{position:sticky;top:0;z-index:2;background:#f7faff}.boss-dashboard-month-table{min-width:1080px}.boss-dashboard-order-table{min-width:1280px}.boss-dashboard-unreceived-table{min-width:1560px}.boss-data-table{min-width:1080px}.boss-vehicle-profit-card{overflow:hidden}.boss-vehicle-profit-table-wrap{width:100%;overflow:auto}.boss-vehicle-profit-table{min-width:2260px;table-layout:fixed}.boss-vehicle-profit-table th,.boss-vehicle-profit-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-vehicle-profit-table th:nth-child(1),.boss-vehicle-profit-table td:nth-child(1){width:120px}.boss-vehicle-profit-table th:nth-child(2),.boss-vehicle-profit-table td:nth-child(2){width:130px}.boss-vehicle-profit-table th:nth-child(3),.boss-vehicle-profit-table td:nth-child(3){width:76px}.boss-vehicle-profit-table th:nth-child(6),.boss-vehicle-profit-table td:nth-child(6),.boss-vehicle-profit-table th:nth-child(7),.boss-vehicle-profit-table td:nth-child(7),.boss-vehicle-profit-table th:nth-child(8),.boss-vehicle-profit-table td:nth-child(8),.boss-vehicle-profit-table th:nth-child(9),.boss-vehicle-profit-table td:nth-child(9),.boss-vehicle-profit-table th:nth-child(10),.boss-vehicle-profit-table td:nth-child(10),.boss-vehicle-profit-table th:nth-child(11),.boss-vehicle-profit-table td:nth-child(11){width:170px}.boss-vehicle-profit-table th:nth-child(4),.boss-vehicle-profit-table td:nth-child(4),.boss-vehicle-profit-table th:nth-child(5),.boss-vehicle-profit-table td:nth-child(5){width:240px}.boss-vehicle-profit-table th:nth-child(12),.boss-vehicle-profit-table td:nth-child(12){width:132px}.boss-vehicle-profit-row{cursor:pointer}.boss-vehicle-profit-row:hover td,.boss-vehicle-profit-row:hover .sticky-profit-col,.boss-vehicle-profit-row:hover .sticky-profit-hkd-col,.boss-vehicle-profit-row:hover .sticky-margin-col{background:var(--row-hover-bg)}.boss-vehicle-profit-actions{justify-content:center}.boss-supplier-profit-insights{grid-template-columns:minmax(360px,.85fr) minmax(520px,1.15fr)}.boss-supplier-profit-highlight-card,.boss-supplier-month-card,.boss-supplier-profit-card{overflow:hidden}.boss-supplier-month-table-wrap{max-height:268px;overflow:auto}.boss-supplier-month-table{min-width:980px;table-layout:fixed}.boss-supplier-month-table th,.boss-supplier-month-table td,.boss-supplier-profit-table th,.boss-supplier-profit-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-supplier-profit-table{min-width:1960px;table-layout:fixed}.boss-supplier-profit-table th:nth-child(1),.boss-supplier-profit-table td:nth-child(1){width:220px}.boss-supplier-profit-table th:nth-child(2),.boss-supplier-profit-table td:nth-child(2),.boss-supplier-profit-table th:nth-child(3),.boss-supplier-profit-table td:nth-child(3),.boss-supplier-profit-table th:nth-child(4),.boss-supplier-profit-table td:nth-child(4),.boss-supplier-profit-table th:nth-child(5),.boss-supplier-profit-table td:nth-child(5),.boss-supplier-profit-table th:nth-child(13),.boss-supplier-profit-table td:nth-child(13){width:90px}.boss-supplier-profit-table th:nth-child(6),.boss-supplier-profit-table td:nth-child(6),.boss-supplier-profit-table th:nth-child(8),.boss-supplier-profit-table td:nth-child(8),.boss-supplier-profit-table th:nth-child(10),.boss-supplier-profit-table td:nth-child(10){width:220px}.boss-supplier-profit-table th:nth-child(7),.boss-supplier-profit-table td:nth-child(7),.boss-supplier-profit-table th:nth-child(9),.boss-supplier-profit-table td:nth-child(9),.boss-supplier-profit-table th:nth-child(11),.boss-supplier-profit-table td:nth-child(11),.boss-supplier-profit-table th:nth-child(12),.boss-supplier-profit-table td:nth-child(12){width:150px}.boss-supplier-profit-table th:nth-child(14),.boss-supplier-profit-table td:nth-child(14),.boss-supplier-profit-table th:nth-child(15),.boss-supplier-profit-table td:nth-child(15){width:128px}.boss-supplier-profit-fee-table{min-width:980px}.boss-supplier-profit-fee-table th:nth-child(6),.boss-supplier-profit-fee-table td:nth-child(6){min-width:180px;white-space:normal}.boss-vehicle-analysis-board{gap:10px}.boss-vehicle-analysis-card,.boss-vehicle-diagnosis-card{overflow:hidden}.boss-vehicle-analysis-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:8px;padding:10px}.boss-vehicle-analysis-item{display:grid;gap:4px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#f8fbff}.boss-vehicle-analysis-item span,.boss-vehicle-analysis-item small{color:var(--muted);font-size:12px;font-weight:700}.boss-vehicle-analysis-item strong{color:var(--text);font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-vehicle-diagnosis-wrap{overflow:auto}.boss-vehicle-diagnosis-table{min-width:1180px;table-layout:fixed}.boss-vehicle-diagnosis-table th:nth-child(1),.boss-vehicle-diagnosis-table td:nth-child(1){width:116px}.boss-vehicle-diagnosis-table th:nth-child(2),.boss-vehicle-diagnosis-table td:nth-child(2){width:120px}.boss-vehicle-diagnosis-table th:nth-child(3),.boss-vehicle-diagnosis-table td:nth-child(3),.boss-vehicle-diagnosis-table th:nth-child(5),.boss-vehicle-diagnosis-table td:nth-child(5){width:72px}.boss-vehicle-diagnosis-table th:nth-child(4),.boss-vehicle-diagnosis-table td:nth-child(4){width:130px}.boss-vehicle-diagnosis-table th:nth-child(6),.boss-vehicle-diagnosis-table td:nth-child(6){width:190px}.boss-vehicle-diagnosis-table th:nth-child(9),.boss-vehicle-diagnosis-table td:nth-child(9){width:126px}.boss-diagnosis-tags{display:flex;flex-wrap:wrap;gap:4px}.boss-diagnosis-tag{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:12px;font-weight:800;white-space:nowrap}.boss-diagnosis-primary,.boss-diagnosis-suggestion{color:var(--text);line-height:1.45;white-space:normal}.boss-diagnosis-primary{font-weight:800}.boss-diagnosis-suggestion{color:#475569}.boss-vehicle-fuel-card{overflow:hidden}.boss-vehicle-fuel-card .table-card-head{align-items:center;gap:12px}.boss-vehicle-fuel-highlight{display:inline-grid;grid-template-columns:auto auto auto;align-items:baseline;gap:6px;min-height:32px;padding:6px 10px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.boss-vehicle-fuel-highlight strong{color:var(--primary);font-size:14px}.boss-vehicle-fuel-highlight small{color:var(--text);font-size:12px;font-weight:900}.boss-vehicle-fuel-table{min-width:1080px;table-layout:fixed}.boss-vehicle-fuel-table th,.boss-vehicle-fuel-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.boss-vehicle-fuel-table th:nth-child(1),.boss-vehicle-fuel-table td:nth-child(1),.boss-vehicle-fuel-table th:nth-child(4),.boss-vehicle-fuel-table td:nth-child(4){width:76px}.boss-vehicle-fuel-table th:nth-child(2),.boss-vehicle-fuel-table td:nth-child(2),.boss-vehicle-fuel-table th:nth-child(3),.boss-vehicle-fuel-table td:nth-child(3){width:120px}.boss-vehicle-fuel-table th:nth-child(5),.boss-vehicle-fuel-table td:nth-child(5),.boss-vehicle-fuel-table th:nth-child(6),.boss-vehicle-fuel-table td:nth-child(6),.boss-vehicle-fuel-table th:nth-child(7),.boss-vehicle-fuel-table td:nth-child(7){width:140px}.boss-vehicle-fuel-table th:nth-child(8),.boss-vehicle-fuel-table td:nth-child(8){width:190px}.boss-vehicle-fuel-table th:nth-child(9),.boss-vehicle-fuel-table td:nth-child(9){width:180px}.boss-vehicle-fuel-status{color:#475569;font-weight:800}.boss-vehicle-fuel-status.is-normal{color:#047857}.boss-vehicle-fuel-status.is-warning{color:#b45309}.boss-vehicle-fuel-status.is-muted{color:var(--muted)}.boss-vehicle-profit-table .sticky-profit-col,.boss-vehicle-profit-table .sticky-profit-hkd-col,.boss-vehicle-profit-table .sticky-margin-col{position:sticky;background:#fff;box-shadow:-1px 0 0 var(--border)}.boss-vehicle-profit-table thead .sticky-profit-col,.boss-vehicle-profit-table thead .sticky-profit-hkd-col,.boss-vehicle-profit-table thead .sticky-margin-col{z-index:5}.boss-vehicle-profit-table tbody .sticky-profit-col,.boss-vehicle-profit-table tbody .sticky-profit-hkd-col,.boss-vehicle-profit-table tbody .sticky-margin-col{z-index:3}.boss-vehicle-profit-table .sticky-margin-col{right:0;width:92px}.boss-vehicle-profit-table .sticky-profit-hkd-col{right:92px;width:160px}.boss-vehicle-profit-table .sticky-profit-col{right:252px;width:180px}.boss-vehicle-rate-input{width:84px;min-width:0;height:32px;padding:0 8px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:800}.monthly-exchange-rate-field{flex:0 0 auto;white-space:nowrap}.monthly-exchange-rate-input{width:88px}.boss-vehicle-profit-detail-modal{width:calc(100vw - 24px);height:calc(100vh - 24px);max-height:calc(100vh - 24px);display:flex;flex-direction:column;overflow:hidden}.boss-vehicle-profit-detail-modal .modal-head{align-items:flex-start}.boss-vehicle-profit-detail-modal .modal-head>div:first-child{min-width:0}.boss-vehicle-profit-detail-modal .modal-head h2,.boss-vehicle-profit-detail-modal .modal-subtitle{overflow-wrap:anywhere;line-height:1.45}.boss-vehicle-profit-detail-modal .modal-detail-actions{flex:0 0 auto}.boss-vehicle-profit-detail-body{display:block;overflow-x:hidden;overflow-y:auto}.boss-vehicle-profit-detail-summary{margin-bottom:12px;grid-template-columns:repeat(6,minmax(120px,1fr))}.boss-vehicle-profit-detail-summary .finance-summary-card{padding:8px 10px}.boss-vehicle-profit-detail-summary .finance-summary-card strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.boss-vehicle-profit-detail-section{min-height:auto}.boss-vehicle-profit-detail-section-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;min-height:28px;margin-bottom:8px}.boss-vehicle-profit-detail-section-head strong{color:var(--text);font-size:14px;font-weight:900}.boss-vehicle-profit-detail-section-head span{color:var(--muted);font-size:12px;font-weight:700}.boss-vehicle-profit-order-list{display:grid;gap:10px;min-height:auto}.boss-vehicle-profit-order-group{border:1px solid #dbe7f5;border-radius:8px;background:#fff;overflow:visible}.boss-vehicle-profit-order-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:10px 12px;background:#f8fbff;cursor:pointer;line-height:1.45;list-style:none}.boss-vehicle-profit-order-summary::-webkit-details-marker{display:none}.boss-vehicle-profit-order-main,.boss-vehicle-profit-order-metrics{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-width:0}.boss-vehicle-profit-order-main strong{color:var(--primary);font-size:14px;overflow-wrap:anywhere}.boss-vehicle-profit-order-main span,.boss-vehicle-profit-order-metrics span{color:var(--muted);font-size:12px;font-weight:800;overflow-wrap:anywhere;white-space:normal}.boss-vehicle-profit-order-metrics strong{color:var(--text);font-size:12px;font-weight:900;overflow-wrap:anywhere;white-space:normal}.boss-vehicle-profit-order-fees{overflow-x:auto;padding:8px 10px 10px}.boss-vehicle-profit-fee-table{min-width:820px}.boss-vehicle-profit-fee-table th,.boss-vehicle-profit-fee-table td{white-space:nowrap}.boss-vehicle-profit-fee-table th:nth-child(5),.boss-vehicle-profit-fee-table td:nth-child(5){min-width:180px;white-space:normal}.boss-vehicle-profit-order-empty{margin:0;padding:14px;color:var(--muted);text-align:center;font-size:13px;font-weight:800}.boss-insight-grid .data-table{min-width:680px}.statement-export-grid,.route-adjust-form,.company-expense-form{display:grid;gap:8px;padding:10px;border-top:1px solid var(--line)}.statement-export-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.route-adjust-form{grid-template-columns:repeat(2,minmax(0,1fr))}.company-expense-form{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));align-items:end;border:1px solid var(--border);border-radius:8px;background:#fff}.route-adjust-driver-picker{position:relative;display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:700}.route-adjust-driver-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font-size:12px;font-weight:700;cursor:pointer}.route-adjust-driver-trigger svg{width:14px;height:14px;color:var(--muted)}.route-adjust-driver-menu{position:absolute;z-index:90;top:calc(100% + 4px);left:0;right:0;display:grid;gap:6px;padding:8px;border:1px solid #b7d3ff;border-radius:8px;background:#fff;box-shadow:0 12px 28px #0f172a24}.route-adjust-driver-actions{display:flex;gap:6px;flex-wrap:wrap}.route-adjust-driver-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:6px;max-height:104px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff}.route-adjust-driver-options label{display:flex;align-items:center;gap:6px;min-width:0;color:var(--text);font-size:12px;font-weight:600}.route-adjust-driver-options input{width:14px;height:14px;flex:0 0 auto}.statement-export-grid label,.route-adjust-form label,.company-expense-form label{display:grid;gap:4px;color:var(--muted);font-size:12px;font-weight:700}.statement-export-grid input,.statement-export-grid select,.route-adjust-form input,.route-adjust-form select,.company-expense-form input,.company-expense-form select{min-width:0;height:32px}.route-adjust-form .route-adjust-driver-options input[type=checkbox]{width:14px;height:14px}.route-adjust-form .primary-btn{align-self:end;justify-self:end;width:max-content;min-height:32px}.company-expense-table input,.company-expense-table select{width:100%;min-width:0;height:30px}.company-expense-table tr.is-row-editing td{background:#f8fbff}.company-expense-readonly-value{display:block;min-height:30px;line-height:30px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-expense-category-cell{display:grid;gap:4px}.finance-compact-table-wrap{max-height:178px;overflow:auto;border-top:1px solid var(--line)}.finance-compact-table-wrap .data-table{border-radius:0}@media(max-width:1180px){.finance-insight-grid,.finance-operations-grid,.boss-supplier-profit-insights{grid-template-columns:1fr}.finance-summary-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.boss-vehicle-analysis-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.boss-dashboard-detail-summary{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:760px){.statement-export-grid,.route-adjust-form,.company-expense-form,.finance-summary-grid,.boss-vehicle-analysis-grid,.boss-dashboard-detail-summary{grid-template-columns:1fr}}.data-table-toolbar{position:sticky;left:0;z-index:4;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:8px 10px;border-bottom:1px solid var(--border);background:#fff}.data-table-tool-group,.data-table-column-toggles,.data-table-column-menu{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.data-table-title{margin-right:4px;color:var(--text);font-size:13px;white-space:nowrap}.data-table-density-select{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:700}.data-table-density-select select{width:74px;height:28px;padding:0 8px}.data-table-column-toggles{max-width:min(680px,100%);color:var(--muted);font-size:12px;font-weight:700}.data-table-column-toggles label{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 7px;border:1px solid var(--border);border-radius:6px;background:#f8fafc;color:var(--text);white-space:nowrap}.data-table-column-toggles label.disabled{opacity:.55}.data-table-column-menu{position:relative;margin-left:auto;justify-content:flex-end}.data-table-column-menu summary{list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none}.data-table-column-menu summary::-webkit-details-marker{display:none}.data-table-column-menu summary span{margin-left:2px;color:var(--muted);font-size:11px;font-weight:700}.data-table-column-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:60;display:grid;grid-template-columns:repeat(2,minmax(96px,1fr));gap:6px;width:min(320px,calc(100vw - 48px));padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:var(--shadow)}.data-table-column-popover label{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 7px;border:1px solid #dbe7f5;border-radius:6px;background:#f8fafc;color:var(--text);font-size:12px;font-weight:700;white-space:nowrap}.data-table-column-popover label.disabled{opacity:.58}.finance-wage-detail-column-popover{grid-template-columns:1fr;width:min(280px,calc(100vw - 48px));max-height:min(620px,calc(100vh - 118px));overflow:auto}.finance-wage-detail-column-popover label{display:grid;grid-template-columns:16px minmax(0,1fr) 24px 24px 24px}.finance-wage-detail-column-popover label span{overflow:hidden;text-overflow:ellipsis}.finance-wage-detail-column-popover .icon-btn{width:22px;height:22px;min-height:22px;padding:0}.finance-wage-detail-column-popover .icon-btn.active{border-color:#8ab7ff;background:#e8f2ff;color:var(--blue)}.finance-wage-detail-column-popover .icon-btn:first-of-type .ui-icon{transform:rotate(180deg)}.managed-data-table{width:max-content;min-width:100%;table-layout:fixed}.data-table-density-compact th,.data-table-density-compact td{height:28px;padding-top:3px;padding-bottom:3px}.data-table-density-normal th,.data-table-density-normal td{height:34px;padding-top:6px;padding-bottom:6px}.data-table-density-comfortable th,.data-table-density-comfortable td{height:42px;padding-top:9px;padding-bottom:9px}.finance-wage-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1180px){.finance-summary-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}.customer-order-table th:first-child,.customer-order-table td:first-child,.order-table th:first-child,.order-table td:first-child{text-align:center}.customer-order-table th,.customer-order-table td,.order-table th,.order-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-table th.order-full-cell,.order-table td.order-full-cell{overflow:visible;text-overflow:clip}.order-table th.order-full-cell{white-space:nowrap}.order-table td.order-full-cell{white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.35}.order-table td.order-full-cell .table-link-btn{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.order-table td.order-driver-cell{white-space:normal;line-height:1.28;word-break:keep-all}.customer-order-table .sticky-managed-column,.order-table .sticky-managed-column{position:sticky;z-index:3;background:#fff;box-shadow:1px 0 #e5edf6}.order-table .sticky-order-right-column{position:sticky;z-index:4;background:#fff;box-shadow:-10px 0 14px -14px #0f234670}.customer-order-table thead .sticky-managed-column,.order-table thead .sticky-managed-column{z-index:5;background:#f6f9ff}.order-table thead .sticky-order-right-column{z-index:6;background:#f6f9ff}.customer-order-table tbody tr:hover .sticky-managed-column,.order-table tbody tr:hover .sticky-managed-column,.order-table tbody tr:hover .sticky-order-right-column{background:var(--row-hover-bg)}.customer-order-table tbody tr.selected .sticky-managed-column,.customer-order-table tbody tr.selected:hover .sticky-managed-column,.order-table tbody tr.selected .sticky-managed-column,.order-table tbody tr.selected:hover .sticky-managed-column,.order-table tbody tr.selected .sticky-order-right-column,.order-table tbody tr.selected:hover .sticky-order-right-column{background:var(--row-selected-bg)}.customer-order-table .row-actions,.order-table .row-actions{width:auto;align-items:center;justify-content:flex-start;gap:8px}.order-row-actions{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;height:34px;vertical-align:middle}.order-table .row-actions .icon-btn:not(.icon-only){flex:0 0 auto;min-width:78px;height:34px;padding:0 12px;gap:6px;line-height:1}.order-table .row-actions .icon-btn:not(.icon-only) .ui-icon{width:15px;height:15px}.customer-order-table .icon-only,.order-table .icon-only{width:24px;height:24px}.order-table .row-actions .icon-btn.icon-only{width:34px;height:34px;padding:0}.customer-order-table .resizable-th,.order-table .resizable-th,.related-order-table .resizable-th,.finance-wage-detail-table .resizable-th,.managed-data-table .resizable-th{position:sticky;padding-right:14px;overflow:visible}.column-resize-handle{position:absolute;top:0;right:-3px;z-index:3;width:7px;height:100%;cursor:col-resize;touch-action:none}.column-resize-handle:after{content:"";position:absolute;top:7px;right:3px;width:1px;height:calc(100% - 14px);background:transparent}.column-resize-handle:hover:after,body.is-column-resizing .column-resize-handle:after{background:#4f8fe8}.column-manager-wrap{position:relative;display:inline-flex;vertical-align:middle;margin-right:4px}.column-manager-trigger{width:22px;height:22px}.column-manager-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:90;width:256px;max-height:300px;overflow:auto;padding:6px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 14px 34px #0f172a29}.column-manager-row,.column-manager-menu button{display:grid;grid-template-columns:14px 16px minmax(0,1fr) 22px 22px 22px;align-items:center;gap:7px;width:100%;min-height:28px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:#1f2a44;font-size:12px;font-weight:800;cursor:pointer}.column-manager-menu button{display:inline-flex;justify-content:center}.column-manager-row>span:nth-child(3){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-column-order-menu .column-manager-row,.dispatch-column-order-menu .column-manager-row,.customs-business-column-menu .column-manager-row{grid-template-columns:minmax(0,1fr) 22px 22px 22px;gap:12px;min-height:30px;padding:0 6px}.order-column-order-menu .column-manager-row>span:first-child,.dispatch-column-order-menu .column-manager-row>span:first-child,.customs-business-column-menu .column-manager-row>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}.column-manager-row .icon-btn{width:22px;height:22px;min-height:22px;padding:0}.column-manager-row .icon-btn.active{border-color:#8ab7ff;background:#e8f2ff;color:var(--blue)}.column-manager-row .column-manager-check{width:22px;height:22px;min-height:22px;padding:0;border:1px solid #c8d5e8;border-radius:6px;background:#2f7df6;color:#fff}.column-manager-menu button:hover{background:var(--list-hover-bg);color:var(--blue)}.column-manager-row[draggable=true]{cursor:grab}.column-manager-row[draggable=true]:active{cursor:grabbing}.column-manager-row.disabled{opacity:.58;cursor:default}.column-manager-row.disabled button{cursor:not-allowed}.column-manager-drag{width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:#8a9bb3}.column-manager-drag svg{width:12px;height:12px}.column-manager-check{width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid #c8d5e8;border-radius:3px;color:#fff}.column-manager-check.checked{border-color:var(--blue);background:var(--blue)}.column-manager-check svg{width:11px;height:11px}body.is-column-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.customer-order-check-col{width:32px}.customer-order-no-col{width:98px}.customer-order-compact-col{width:48px}.customer-order-port-col{width:76px}.customer-order-qty-col{width:62px}.customer-order-weight-col{width:64px}.customer-order-source-col{width:74px}.customer-order-plate-col{width:56px}.customer-order-driver-col{width:52px}.customer-order-mode-col{width:64px}.customer-order-location-col{width:auto;min-width:0}.customer-order-date-col,.customer-order-money-col{width:82px}.customer-order-status-col{width:64px}.customer-order-actions-col{width:82px}.inline-new-row{background:#f8fbff}.file-panel{min-height:0;display:grid;gap:10px;padding:10px}.file-toolbar{display:flex;align-items:center;gap:10px;min-height:34px}.file-upload-btn{display:inline-flex;gap:6px;align-items:center;justify-content:center;height:32px;padding:0 12px;border:1px solid var(--blue);border-radius:8px;color:var(--blue);background:#fff;font-weight:800;cursor:pointer}.file-upload-btn input{display:none}.file-upload-btn.compact{height:30px;padding:0 10px;border-radius:7px}.vehicle-insurance-upload{min-width:0}.vehicle-insurance-row{display:flex;align-items:center;gap:6px;min-width:0;height:32px;overflow:hidden}.vehicle-insurance-row .fee-row-file-chip{max-width:140px}.file-toolbar .hint{color:var(--muted);font-size:12px}.upload-panel-backdrop{z-index:70}.upload-panel-modal{width:min(720px,calc(100vw - 48px))}.upload-panel-body{display:grid;gap:12px}.upload-panel-description{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.upload-panel-file-input{display:none}.upload-dropzone{display:grid;place-items:center;gap:8px;min-height:180px;padding:24px;border:1.5px dashed #93c5fd;border-radius:10px;background:#f8fbff;color:#0f2d52;text-align:center;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.upload-dropzone:hover,.upload-dropzone:focus-visible,.upload-dropzone.is-dragging{border-color:var(--blue);background:#eff6ff;box-shadow:inset 0 0 0 1px #2563eb1f;outline:none}.upload-dropzone.is-uploading{cursor:wait;opacity:.72}.upload-dropzone-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#dbeafe;color:var(--blue)}.upload-dropzone strong{font-size:16px}.upload-dropzone span:last-child{color:var(--muted);font-size:13px}.upload-panel-queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px}.upload-panel-file-list{display:grid;gap:8px;max-height:230px;overflow:auto}.upload-panel-file-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:42px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff}.upload-panel-file-name{min-width:0;overflow:hidden;color:var(--text);font-weight:800;text-overflow:ellipsis;white-space:nowrap}.upload-panel-file-meta{color:var(--muted);font-size:12px;white-space:nowrap}.upload-panel-empty{margin:0;padding:10px 12px;border:1px dashed var(--border);border-radius:8px;color:var(--muted);font-size:13px;text-align:center}.order-attachment-panel{border-top:1px solid var(--border)}.file-preview-backdrop{z-index:55;padding:12px}.file-preview-modal{width:min(1280px,calc(100vw - 24px));height:calc(100vh - 24px);max-height:calc(100vh - 24px);display:flex;flex-direction:column;overflow:hidden}.file-preview-body{flex:1 1 auto;min-height:0;padding:12px;background:#f8fafc;overflow:hidden}.file-preview-stage{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.file-preview-stage.is-image{width:100%;height:100%;min-height:280px}.file-preview-stage.is-frame{height:100%;min-height:100%}.file-preview-stage.is-spreadsheet{height:100%;min-height:100%;align-items:stretch;justify-content:stretch}.file-preview-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;margin:0 auto;object-fit:contain;object-position:center;border:1px solid var(--border);border-radius:8px;background:#fff}.spreadsheet-preview{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;width:100%;min-width:0;min-height:0}.spreadsheet-preview-tabs{display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;padding-bottom:2px}.spreadsheet-preview-tabs button{flex:0 0 auto;min-height:30px;padding:0 10px;border:1px solid #d7e3f3;border-radius:6px;background:#fff;color:#334155;font-weight:800;cursor:pointer}.spreadsheet-preview-tabs button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.spreadsheet-preview-note,.spreadsheet-preview-state{margin:0;padding:10px 12px;border:1px solid #d7e3f3;border-radius:8px;background:#fff;color:#475569;font-size:13px;font-weight:700}.spreadsheet-preview-state{display:grid;place-items:center;min-height:220px}.spreadsheet-preview-state.is-error{border-color:#fecaca;background:#fff7f7;color:#b42318}.spreadsheet-preview-table-wrap{grid-row:3;min-width:0;min-height:0;overflow:auto;border:1px solid #d7e3f3;border-radius:8px;background:#fff}.spreadsheet-preview-table{border-collapse:collapse;table-layout:fixed;min-width:100%;color:#17233c;font-size:12px}.spreadsheet-preview-table th,.spreadsheet-preview-table td{min-width:96px;max-width:260px;height:28px;padding:5px 8px;border:1px solid #e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.spreadsheet-preview-table th{position:sticky;left:0;z-index:1;min-width:46px;width:46px;max-width:46px;background:#f1f5f9;color:#64748b;text-align:right;font-weight:900}.spreadsheet-preview-table tr:nth-child(2n) td{background:#fbfdff}.file-preview-frame{display:block;width:100%;height:100%;min-height:100%;border:1px solid var(--border);border-radius:8px;background:#fff}.status-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid transparent;border-radius:999px;color:#9a5b00;background:#fff4d6;font-size:12px;font-weight:800}.status-badge.audited{border-color:#c4b5fd;color:#5b21b6;background:#f3e8ff}.status-badge.signed{border-color:#86efac;color:#047857;background:#dcfce7}.status-badge.warning{color:#9a5b00;background:#fff4d6}.status-badge.danger{color:#b42318;background:#ffe4e0}.split-workspace{flex:1 1 auto;min-height:0;display:grid;grid-template-rows:minmax(180px,var(--top-pane-height, 56%)) 10px minmax(180px,1fr)}.table-card,.detail-panel{min-height:0;overflow:auto}.full-height{flex:1 1 auto}.resizer{align-self:center;width:100%;height:10px;cursor:row-resize;position:relative;touch-action:none}.resizer:before{content:"";display:block;width:80px;height:4px;border-radius:999px;background:#c9d6e8;margin:3px auto}.resizer:hover:before{background:#8fb1dc}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{height:36px;border-bottom:1px solid #e9eef6;padding:0 10px;text-align:left;font-size:13px}th{position:sticky;top:0;z-index:1;color:#51627a;background:#f7faff;font-weight:800}tfoot td{position:sticky;bottom:0;background:#f8fbff;font-weight:800}tbody tr:hover td,tbody tr:hover{background:var(--row-hover-bg)}tbody tr.selected:hover td,tbody tr.selected td,tr.selected{background:var(--row-selected-bg)}.table-link-btn{display:inline;max-width:100%;border:0;padding:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-link-btn:hover{text-decoration:none}.tabs{display:flex;align-items:center;gap:6px;min-height:42px;padding:0 10px;border-bottom:1px solid var(--border)}.tabs button{border:0;background:transparent;color:#475569;height:32px;font-weight:700}.tabs button.active{color:var(--blue);border-bottom:2px solid var(--blue)}.tabs .detail-tab-action-right{margin-left:auto}.customer-detail-tabs{flex-wrap:wrap;align-content:center;row-gap:4px;min-width:0;width:100%;max-width:100%;box-sizing:border-box;height:auto;padding-top:5px;padding-bottom:5px;overflow:hidden}.customer-detail-tabs button{flex:0 0 auto}.customer-detail-tabs .detail-tab-action-right{margin-left:0}.customer-detail-panel{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.supplier-cost-batch-panel{display:flex;align-items:center;gap:10px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:6px 8px;border-bottom:1px solid var(--border);background:#f8fbff;overflow:hidden}.supplier-cost-batch-summary{display:flex;flex:0 0 250px;align-items:center;gap:6px;min-width:210px;color:#49617d;font-size:12px;white-space:nowrap}.supplier-cost-batch-summary strong{color:#17345f;font-size:13px}.supplier-cost-batch-summary small{display:none}.supplier-cost-batch-controls{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:6px;align-items:end;min-width:0}.supplier-cost-batch-controls label{display:flex;align-items:center;gap:5px;min-width:0;color:#607089;font-size:12px;font-weight:800;white-space:nowrap}.supplier-cost-batch-controls label:not(.supplier-cost-batch-note){flex:0 1 138px}.supplier-cost-batch-note{flex:1 1 170px}.supplier-cost-batch-controls input,.supplier-cost-batch-controls select{width:100%;min-width:0;height:26px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:#213049;font:inherit;font-size:12px}.statement-status-text{color:var(--text);font-size:12px;font-weight:800}.statement-status-inline{display:inline-flex;width:100%;min-width:0;align-items:center;gap:4px;white-space:nowrap}.statement-status-select{width:96px;min-width:0;height:30px;padding:0 8px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:900;outline:none}.statement-status-chip{display:inline-flex;width:96px;min-width:0;height:30px;align-items:center;justify-content:center;padding:0 8px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-size:12px;font-weight:900}.statement-status-select.exported,.statement-status-chip.exported{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.statement-status-select.sent,.statement-status-chip.sent{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.statement-status-select.invoiced,.statement-status-chip.invoiced{border-color:#fde68a;background:#fffbeb;color:#92400e}.statement-status-select.paid,.statement-status-chip.paid{border-color:#c4b5fd;background:#f5f3ff;color:#6d28d9}.statement-status-return.icon-only{flex:0 0 24px;width:24px;height:28px;border-color:#dbe4f0;border-radius:999px;color:#475569;background:#fff}.statement-status-return .ui-icon{width:13px;height:13px}.statement-status-return.icon-only:hover{border-color:#9fb4d0;background:#f8fafc;color:#0f172a}.supplier-cost-batch-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;margin-left:auto}.supplier-cost-batch-actions .small{height:26px;white-space:nowrap}.customer-detail-panel>.empty-state,.customer-detail-panel>.customer-order-panel{min-height:0}.customer-detail-panel>.data-table,.customer-detail-panel>.file-panel,.customer-detail-panel>.info-grid{min-height:0;overflow:auto}.customer-order-table-wrap{height:100%}.related-order-panel{display:flex;flex-direction:column;min-height:0;overflow:auto}.related-order-table{width:max-content;min-width:0;table-layout:fixed}.related-order-table th,.related-order-table td{overflow:hidden;height:32px;padding-top:4px;padding-bottom:4px;text-overflow:ellipsis;white-space:nowrap}.related-order-no-col{width:104px}.related-order-date-col{width:82px}.related-order-customer-col{width:176px}.related-order-route-col{width:auto}.related-order-mode-col,.related-order-status-col{width:72px}.related-order-money-col{width:76px}.related-order-customer-cell{max-width:0}.related-order-route-cell{min-width:0;max-width:0;white-space:nowrap!important;line-height:1.25}.driver-related-order-table{min-width:1320px}.vehicle-related-order-table{min-width:720px}.related-order-summary{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:34px;padding:6px 10px;border-bottom:1px solid var(--border);background:#f8fbff;color:#475569;font-size:12px}.related-order-summary strong{color:#0f172a}.related-order-filter{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid var(--border);background:#f8fbff}.related-order-filter button{height:28px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:#fff;color:#475569;font-weight:700;white-space:nowrap}.related-order-filter button.active{border-color:#93c5fd;background:#e7f1ff;color:var(--blue)}.tabs-date-filter{margin-left:auto;padding:0;border:0;background:transparent}.tabs-date-filter button{height:26px;padding:0 8px}.empty-state,.placeholder-panel{display:grid;place-items:center;color:var(--muted)}.info-grid{display:grid;grid-template-columns:140px 1fr 140px 1fr 140px 1fr;align-content:start;margin:10px;border:1px solid #e9eef6}.info-grid span,.info-grid strong{min-height:36px;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid #e9eef6}.info-grid span{color:#64748b;background:#f8fafc}.invoice-info-grid{align-self:start;grid-template-columns:112px minmax(180px,1fr) 112px minmax(180px,1fr);gap:0;margin:12px;border-radius:8px;overflow:hidden;background:#fff}.invoice-info-grid span,.invoice-info-grid strong{min-height:42px;padding:8px 12px}.invoice-info-grid span{font-weight:700}.invoice-info-grid strong{color:#18304f;font-weight:700;line-height:1.45;word-break:break-word}.invoice-info-grid strong:nth-of-type(5),.invoice-info-grid strong:nth-of-type(6){grid-column:span 3}.section-head{display:flex;align-items:center;justify-content:space-between}.eyebrow{margin:0 0 4px;font-size:12px;font-weight:800}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.security-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.security-policy-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px;background:#f8fbff;border:1px solid #e4ecf7;border-radius:8px}.policy-card{padding:18px;min-height:150px}.security-policy-item{min-height:0;padding:0 10px;background:transparent;border:0;border-left:1px solid #dfe8f5;border-radius:0;box-shadow:none;cursor:default}.security-policy-item:first-child{padding-left:0;border-left:0}.policy-card h3{margin:0 0 10px;font-size:16px}.security-policy-item h3{margin-bottom:4px;font-size:13px}.policy-card p,.placeholder-panel p{margin:0;color:var(--muted);line-height:1.7}.security-policy-item p{display:-webkit-box;overflow:hidden;color:#64748b;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.placeholder-panel{flex:1 1 auto;align-content:center;gap:8px}.placeholder-panel.compact{min-height:180px;margin:10px}.module-grid{flex:1 1 auto;min-height:0;display:grid;gap:12px}.module-grid.two-columns{grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)}.module-grid .table-card{min-height:0}.template-list-table{width:100%;table-layout:fixed}.template-name-col{width:30%}.template-format-col{width:96px}.template-desc-col{width:auto}.template-actions-col{width:132px}.template-list-table th,.template-list-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-list-table .row-actions{width:132px;min-width:132px;overflow:visible;justify-content:center;gap:6px}.template-list-table .row-actions .icon-btn.icon-only{flex:0 0 28px}.template-edit-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:calc(100vw - 32px);height:calc(100vh - 32px);max-height:none;overflow:hidden}.template-loading-banner{padding:8px 14px;margin:-12px -12px 12px;color:#7a4b00;background:#fff7db;border-bottom:1px solid #f5d88a;font-size:13px;font-weight:800}.template-designer-body{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;overflow:hidden;padding:12px}.template-designer-body:has(.template-loading-banner){grid-template-rows:auto auto minmax(0,1fr)}.template-designer-toolbar{display:grid;grid-template-columns:minmax(220px,1.1fr) 130px minmax(260px,1.4fr);gap:10px;padding:0 0 12px;border-bottom:1px solid var(--border)}.template-designer-toolbar label,.template-property-panel label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:800}.template-designer-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:12px;padding-top:12px;min-height:0;overflow:hidden}.template-page-wrap{order:2;display:grid;grid-template-rows:auto minmax(0,1fr);align-items:start;justify-items:stretch;min-width:0;min-height:0;overflow:auto;padding:10px;border:1px solid var(--border);border-radius:8px;background:#f7fafc}.template-preview-tools{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-10px -10px 10px;padding:8px 10px;border-bottom:1px solid #dbe7f5;background:#f8fbfff0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.template-zoom-tools{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto}.template-zoom-status{min-width:64px;color:var(--muted);font-size:12px;font-weight:800;text-align:center}.template-preview-viewport{position:relative;justify-self:center;flex:0 0 auto;overflow:visible}.template-preview-canvas{position:absolute;inset:0 auto auto 0;width:var(--template-page-width, 1123px);height:var(--template-page-height, 794px);transform:scale(var(--template-preview-scale, 1));transform-origin:top left}.template-a4-page{position:relative;display:grid;grid-template-rows:auto 1fr auto;width:var(--template-page-width, 1123px);height:var(--template-page-height, 794px);min-height:0;background:#fff;border:1px solid #cbd5e1;box-shadow:0 14px 34px #0f23461f;color:#0f172a;overflow:hidden}.template-a4-page.portrait,.template-a4-page.landscape,.template-a4-page.fluid{width:var(--template-page-width, 1123px);height:var(--template-page-height, 794px)}.template-page-header,.template-page-footer{position:relative;display:flex;align-items:center;gap:14px;padding:14px 18px;overflow:hidden;border-color:#e2e8f0}.template-page-header{border-bottom:1px solid #e2e8f0}.template-page-footer{border-top:1px solid #e2e8f0}.template-page-header pre,.template-page-footer pre{margin:0;white-space:pre-wrap;font:inherit;font-weight:700}.template-page-logo-frame{position:absolute;z-index:2;overflow:hidden;padding:2px;border:1px dashed #93c5fd;border-radius:4px;background:#ffffffb3;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.template-page-logo-frame:hover{border-color:var(--blue);box-shadow:0 0 0 2px #2563eb1f}.template-page-logo{display:block;width:100%;height:100%;object-position:center;pointer-events:none;-webkit-user-select:none;user-select:none}.template-free-text-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;pointer-events:none}.template-free-text-box{position:absolute;min-width:60px;min-height:24px;padding:4px 22px 4px 6px;border:1px dashed transparent;border-radius:4px;background:transparent;cursor:move;line-height:1.35;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none}.template-free-text-box:hover,.template-free-text-box.is-active,.template-free-text-box.is-editing{border-color:#2563eb;background:#ffffffc7;box-shadow:0 6px 16px #2563eb1f}.template-free-text-box pre{width:100%;height:100%;margin:0;overflow:hidden;color:inherit;font:inherit;text-align:inherit;white-space:pre-wrap}.template-free-text-editor{width:100%;height:100%;min-height:100%;padding:0;border:0;outline:0;background:transparent;color:inherit;font:inherit;line-height:inherit;resize:none;text-align:inherit}.template-free-text-delete{position:absolute;top:2px;right:2px;display:grid;width:16px;height:16px;place-items:center;border:1px solid #fecaca;border-radius:999px;background:#fff5f5;color:#ef4444;cursor:pointer;font-size:12px;line-height:1;opacity:0}.template-free-text-box:hover .template-free-text-delete,.template-free-text-box.is-active .template-free-text-delete,.template-free-text-box.is-editing .template-free-text-delete{opacity:1}.template-text-resize-handle{position:absolute;right:-4px;bottom:-4px;width:10px;height:10px;border:1px solid #2563eb;border-radius:3px;background:#fff;cursor:nwse-resize;opacity:0}.template-free-text-box:hover .template-text-resize-handle,.template-free-text-box.is-active .template-text-resize-handle,.template-free-text-box.is-editing .template-text-resize-handle{opacity:1}.template-header-text-item{position:absolute;z-index:1;max-width:calc(100% - 16px);padding:2px 4px;border:1px dashed transparent;border-radius:4px;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.template-header-text-item:hover{border-color:#93c5fd;background:#ffffffb8}.template-page-table{position:relative;z-index:3;overflow:auto;padding:14px 18px;background:#fff;scrollbar-gutter:stable both-edges}.template-page-table table{border-collapse:collapse;table-layout:fixed;font-size:11px}.template-page-table::-webkit-scrollbar{height:10px;width:10px}.template-page-table::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:999px;background:#b7c6d9}.template-page-table::-webkit-scrollbar-track{background:#eef4fb}.template-page-table th,.template-page-table td{overflow:hidden;padding:6px;border:var(--template-table-border-width, 1px) solid var(--template-table-border-color, #dbeafe);cursor:cell;line-height:1.25}.template-page-table th{white-space:normal;word-break:break-word;overflow-wrap:anywhere}.template-page-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal}.template-page-table th{position:relative;background:var(--template-table-header-bg, #eef6ff);color:var(--template-table-header-color, #164e8f);cursor:pointer}.template-page-table th.is-active-template-column,.template-page-table td.is-active-template-column{outline:2px solid var(--blue);outline-offset:-2px}.template-page-table th.is-active-template-row,.template-page-table td.is-active-template-row{background-color:color-mix(in srgb,var(--blue) 10%,#ffffff);outline:2px solid var(--blue);outline-offset:-2px}.template-page-table tr.template-total-row td.is-active-template-row{background-color:color-mix(in srgb,var(--blue) 14%,var(--template-table-header-bg, #eef6ff))}.template-page-table tr.template-total-row td{background:var(--template-table-header-bg, #eef6ff);font-weight:700}.template-table-header-label{display:block;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-a4-page.fluid .template-page-table th,.template-a4-page.fluid .template-page-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal}.template-a4-page.fluid .template-table-header-label{display:block;overflow:visible;-webkit-line-clamp:unset;-webkit-box-orient:initial}.template-table-header-currency{display:block;overflow:hidden;margin-top:2px;color:inherit;font-size:.82em;line-height:1.1;opacity:.72}.template-column-resize-handle{position:absolute;top:0;right:-6px;z-index:5;width:14px;height:100%;cursor:col-resize;touch-action:none}.template-column-resize-handle:after{position:absolute;top:6px;right:3px;bottom:6px;width:2px;border-radius:2px;background:transparent;content:""}.data-table th.sortable,.managed-data-table th.sortable,.table-card th.sortable{cursor:pointer}.table-sort-trigger{display:inline-flex;width:100%;min-width:0;align-items:center;justify-content:inherit;gap:4px;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit;padding:0;text-align:inherit;cursor:pointer}.table-sort-trigger span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.sort-mark{flex:0 0 auto;width:10px;color:var(--blue);font-size:11px;font-weight:800;line-height:1}.data-table th.sorted,.managed-data-table th.sorted,.table-card th.sorted{color:var(--blue)}.template-page-table th:hover .template-column-resize-handle:after,.template-column-resize-handle:hover:after{background:var(--blue)}.template-property-panel{order:1;display:grid;align-content:start;gap:12px;min-width:0;min-height:0;overflow:auto;padding:10px;border:1px solid var(--border);border-radius:8px;background:#f8fbff}.template-property-panel textarea{min-height:76px;resize:vertical}.template-panel-section{display:grid;gap:10px;padding:10px;border:1px solid #dbe7f5;border-radius:8px;background:#fff}.template-inline-text-toolbar{display:inline-flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.template-inline-text-toolbar strong{color:#0f172a;font-size:13px}.template-inline-target{color:var(--muted);font-size:12px;font-weight:800}.template-inline-text-toolbar label{display:inline-flex;align-items:center;gap:5px;color:#475569;font-size:12px;font-weight:800;white-space:nowrap}.template-inline-text-toolbar select{width:118px;height:28px}.template-inline-text-toolbar input[type=number]{width:64px;height:28px}.template-inline-text-toolbar input[type=color]{width:42px;height:28px;padding:2px}.template-toolbar-toggle{display:inline-flex;align-items:center;gap:6px;height:28px;color:#334155;white-space:nowrap}.template-toolbar-toggle input{width:14px;height:14px}.template-align-tools{display:inline-flex;align-items:center;gap:4px}.template-align-tools .icon-btn.active{border-color:var(--blue);background:#eaf2ff;color:var(--blue)}.template-style-row{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:8px}.template-logo-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.template-logo-tools strong{grid-column:1 / -1}.template-property-panel .template-logo-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;width:76px;justify-self:start;overflow:hidden}.template-logo-tools .danger{justify-self:end}.template-logo-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.template-logo-name{grid-column:1 / -1;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.template-logo-hint{color:var(--muted);font-size:12px}.template-variable-panel{display:grid;gap:8px;padding:10px;border:1px solid #dbe7f5;border-radius:8px;background:#fff}.template-variable-panel .template-column-head span{color:var(--muted);font-size:12px}.template-variable-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.template-variable-group>span{min-width:54px;color:var(--muted);font-size:12px}.template-variable-chip{height:26px;padding:0 8px;border:1px solid #cfe0f4;border-radius:6px;background:#fff;color:#1f3b57;cursor:pointer;font:inherit;font-size:12px}.template-variable-chip:hover{border-color:var(--primary);color:var(--primary)}.template-column-editor{display:grid;gap:8px}.template-textbox-panel{display:grid}.template-add-textbox-btn{justify-content:center;width:100%}.template-table-style-panel{display:grid;gap:8px}.template-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.template-color-grid label{display:grid;gap:4px}.template-color-grid input[type=color]{width:100%;height:30px;padding:2px}.template-header-text-editor,.template-header-text-list{display:grid;gap:8px}.template-header-text-row{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:8px;padding:8px;border:1px solid #dbe7f5;border-radius:8px;background:#fbfdff}.template-header-text-row.is-active{border-color:var(--primary);box-shadow:0 0 0 1px #0e64f21f}.template-header-text-row textarea{grid-column:1;min-height:64px}.template-color-field{display:grid;grid-template-columns:1fr 64px;align-items:center;gap:8px}.template-color-field input[type=color]{width:64px;height:30px;padding:2px}.template-bold-toggle{grid-column:1;display:inline-flex;align-items:center;gap:6px;width:max-content;color:var(--muted);font-size:12px}.template-bold-toggle input{width:14px;height:14px}.template-header-text-row>.icon-btn{grid-column:2;grid-row:1;align-self:start}.template-column-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.template-column-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.template-order-field-palette{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:6px;border:1px solid #dbe7f5;border-radius:8px;background:#f8fbff}.template-order-field-palette span{color:var(--muted);font-size:12px;font-weight:700;line-height:24px}.template-order-field-palette button{min-height:24px;padding:3px 7px;border:1px solid #cfe0f3;border-radius:6px;background:#fff;color:#1f3b57;cursor:pointer;font:inherit;font-size:12px;line-height:1.2}.template-order-field-palette button:hover{border-color:var(--primary);color:var(--primary)}.template-column-list{display:grid;gap:4px;max-height:230px;overflow:auto}.template-column-row{display:grid;gap:4px;padding:4px 6px;border:1px solid #dbe7f5;border-radius:6px;background:#fff;cursor:pointer}.template-column-row.is-editing{padding:5px 6px;border-color:var(--blue);background:#eef6ff;box-shadow:0 0 0 1px #0e64f21f}.template-column-main{display:grid;grid-template-columns:18px 50px minmax(0,1fr) 28px 28px;align-items:center;gap:5px}.template-column-row.is-editing .template-column-main{grid-template-columns:18px 50px minmax(0,1fr) 28px 28px 28px}.template-column-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:4px 5px}.template-column-controls label{display:grid;gap:2px;color:var(--muted);font-size:10px;font-weight:800;line-height:1.1}.template-column-controls input,.template-column-controls select{min-width:0;height:24px;padding:0 5px;font-size:11px}.template-column-color{width:100%;height:24px;padding:2px}.template-column-controls .template-column-check{display:flex;align-items:center;gap:5px;min-height:24px}.template-column-style-actions{display:flex;grid-column:1 / -1;justify-content:flex-end;gap:5px}.template-column-name{min-width:0}.template-column-order{min-width:0;height:24px;padding:0 4px;font-size:11px;font-variant-numeric:tabular-nums;text-align:center}.template-column-display{overflow:hidden;min-width:0;height:24px;padding:0 6px;border:0;background:transparent;color:#1f2937;cursor:pointer;font:inherit;font-weight:800;text-align:left;text-overflow:ellipsis;white-space:nowrap}.template-column-size,.template-column-width{min-width:0;padding-inline:5px}.freight-split-workspace{flex:1 1 auto;min-height:0;display:grid;grid-template-rows:minmax(310px,1fr) 10px auto minmax(220px,.72fr)}.freight-single-workspace{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.freight-template-board,.fee-item-board{display:flex;flex-direction:column;min-height:0;overflow:hidden}.freight-template-board{min-height:min(720px,calc(100vh - 155px))}.fee-item-board{min-height:220px}.fee-item-list-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:40px;padding:4px 0 8px;border:0;background:transparent}.fee-item-search-field{position:relative;flex:1 1 260px;min-width:180px;max-width:420px}.fee-item-search-field .ui-icon{position:absolute;top:50%;left:10px;width:15px;height:15px;color:#68809c;transform:translateY(-50%);pointer-events:none}.fee-item-search-field input{width:100%;min-width:0;height:30px;padding:0 10px 0 32px;border:1px solid #cfdced;border-radius:8px;background:#fff;color:#20324d;font-size:12px;font-weight:800}.fee-item-search-field input:focus{border-color:#80b9ff;outline:none;box-shadow:0 0 0 2px #2184ff1f}.fee-item-search-count{margin-left:auto;color:#607089;font-size:12px;font-weight:800;white-space:nowrap}.freight-resizer{align-self:center}.freight-template-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px}.freight-template-head .primary-btn{margin-left:auto}.freight-direction-tabs{width:fit-content;margin:0}.freight-directory-actions{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border:1px solid #dbe7f5;border-bottom:0;border-radius:10px 10px 0 0;background:#f7fbff;overflow:hidden}.freight-directory-toolbar-main{min-width:0;display:flex;align-items:center;gap:8px;flex:1 1 auto;overflow:hidden}.freight-breadcrumb{display:none!important}.freight-directory-count{flex:0 0 auto;color:#1d4f92;font-size:12px;font-weight:800;white-space:nowrap}.freight-directory-create{flex:0 0 auto;display:flex;align-items:center;gap:6px}.freight-quote-template-list{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:12px;padding:12px;border:1px solid #dbe7f5;border-radius:10px;background:#f7fbff}.freight-quote-template-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:88px;padding:14px;border:1px solid #d8e5f4;border-radius:8px;background:#fff;color:#20324d;font:inherit;text-align:left;cursor:pointer}.freight-quote-template-card:hover{border-color:#8fb9ea;box-shadow:0 10px 24px #275d9e1f}.freight-quote-template-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#edf6ff;color:#0b63ce}.freight-quote-template-copy{display:grid;gap:4px;min-width:0}.freight-quote-template-copy strong{color:#17233c;font-size:15px;font-weight:900}.freight-quote-template-copy span,.freight-quote-template-meta span{color:#607089;font-size:12px;font-weight:700}.freight-quote-template-meta{display:grid;gap:4px;min-width:118px;color:#49617e;text-align:right}.freight-quote-template-meta b{color:#1d4f92;font-size:12px}.freight-customer-template-list{display:flex;flex:1 1 auto;min-height:0;flex-direction:column}.freight-customer-template-wrap{flex:1 1 auto;min-height:420px;overflow:auto;border:1px solid #dbe7f5;border-radius:0 0 10px 10px}.freight-customer-template-table{min-width:760px}.freight-customer-template-row{cursor:pointer}.freight-customer-template-row:hover td{background:var(--row-hover-bg)}.freight-customer-template-table th:last-child,.freight-customer-template-table td:last-child{width:1%;min-width:92px;text-align:center}.freight-directory-summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:7px 10px;border:1px solid #dbe7f5;border-bottom:0;background:#fff;color:#49617e;font-size:12px;font-weight:700}.freight-directory-summary strong{color:#0b63ce}.freight-template-toolbar{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr)) 96px 96px 96px auto auto;gap:8px;align-items:end;padding:7px 8px;border:1px solid #dbe7f5;border-bottom:0;border-radius:0;background:#fbfdff}.fee-item-toolbar{grid-template-columns:110px minmax(200px,1fr) minmax(160px,220px) 100px 120px 130px auto auto}.fee-item-toolbar .wide{min-width:200px}.fee-item-toolbar .primary-btn,.fee-item-toolbar .ghost-btn{white-space:nowrap}.driver-wage-rules-panel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0}.driver-rule-mode-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;border:1px solid #dbe7f5;border-radius:10px;background:#f8fbff}.driver-rule-mode-strip>span{color:#213049;font-size:12px;font-weight:900}.driver-rule-mode-strip small{flex-basis:100%;color:#64748b;font-size:12px;line-height:1.45}.customer-detail-panel .driver-wage-rules-panel{display:flex;flex-direction:column;height:100%;min-height:0}.supplier-cost-scope-banner{display:flex;align-items:center;gap:8px;min-height:30px;padding:6px 10px;border:1px solid #cfe1f7;border-radius:8px;background:#f4f9ff;color:#49617d;font-size:12px}.supplier-cost-scope-banner strong{color:#12345c;font-size:13px}.supplier-cost-card-switch{display:flex;align-items:center;gap:6px}.supplier-cost-card-switch button{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:32px;padding:5px 12px;border:1px solid #dbe7f5;border-radius:8px;background:#fff;color:#213049;text-align:center;cursor:pointer}.supplier-cost-card-switch button.active{border-color:#0b63ce;background:#eef6ff;box-shadow:inset 0 0 0 1px #0b63ce14}.supplier-cost-card-switch strong{font-size:12px}.supplier-cost-card-switch span{display:none}.driver-wage-rule-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;align-items:end;padding:8px;border:1px solid #dbe7f5;border-radius:10px;background:#fbfdff;overflow:auto}.driver-wage-rule-toolbar label{display:grid;gap:4px;min-width:0;color:#607089;font-size:12px;font-weight:800}.driver-wage-rule-toolbar input,.driver-wage-rule-toolbar select{width:100%;min-width:0;height:30px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:#213049;font:inherit;font-size:12px}.driver-wage-rule-toolbar .driver-rule-direction,.driver-wage-rule-toolbar .driver-rule-currency{grid-column:span 1}.driver-wage-rule-toolbar .driver-rule-area,.driver-wage-rule-toolbar .driver-rule-note{grid-column:span 2;min-width:180px}.driver-rule-actions{display:flex;grid-column:span 3;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.driver-adjustment-panel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0}.driver-adjustment-toolbar{display:grid;grid-template-columns:120px 110px 90px 110px 120px minmax(180px,1fr) auto auto;gap:8px;align-items:end;padding:8px;border:1px solid #dbe7f5;border-radius:10px;background:#fbfdff;overflow-x:auto}.driver-adjustment-toolbar label{display:grid;gap:4px;min-width:0;color:#607089;font-size:12px;font-weight:800}.driver-adjustment-toolbar input,.driver-adjustment-toolbar select{width:100%;min-width:0;height:30px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:#213049;font:inherit;font-size:12px}.driver-wage-rule-table{min-width:max(1120px,100%);table-layout:auto}.driver-wage-rule-table th,.driver-wage-rule-table td{white-space:nowrap}.driver-wage-rule-table th:nth-last-child(2),.driver-wage-rule-table td:nth-last-child(2){min-width:180px;white-space:normal}.supplier-cost-rule-table-wrap{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;scrollbar-gutter:stable}.supplier-cost-rule-table{width:100%;min-width:860px;table-layout:fixed}.supplier-cost-rule-table th{text-align:center}.supplier-cost-rule-table td{vertical-align:middle;text-align:center}.supplier-cost-rule-table th,.supplier-cost-rule-table td{white-space:nowrap}.supplier-cost-rule-table th:first-child,.supplier-cost-rule-table td:first-child{width:30px;min-width:30px;padding-right:4px;padding-left:4px}.supplier-cost-rule-table th:nth-child(10),.supplier-cost-rule-table td:nth-child(10){min-width:0}.supplier-tonnage-head{min-width:82px;text-align:center}.supplier-cost-tree-cell{width:112px;min-width:96px;max-width:none;text-align:left}.supplier-cost-tree-content{display:flex;align-items:center;gap:6px;min-width:0}.supplier-cost-tree-content>span:last-child{white-space:nowrap}.supplier-cost-group-row.is-child .supplier-cost-tree-content{padding-left:22px}.tree-toggle-btn,.tree-toggle-spacer{flex:0 0 22px;width:22px;height:22px}.tree-toggle-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8e4f2;border-radius:6px;background:#fff;color:#1f6feb;font-weight:900;line-height:1;cursor:pointer}.supplier-cost-group-row.is-editing td{background:#eff6ff;box-shadow:inset 0 1px #2563eb2e,inset 0 -1px #2563eb2e}.supplier-cost-group-row.is-editing td:first-child{box-shadow:inset 2px 0 #2563eb,inset 0 1px #2563eb2e,inset 0 -1px #2563eb2e}.supplier-tonnage-cell{min-width:82px}.supplier-tonnage-rule{display:grid;grid-template-columns:12px minmax(42px,1fr);align-items:center;gap:3px;min-height:38px}.supplier-tonnage-check{width:12px;height:12px;margin:0}.supplier-tonnage-content{display:grid;gap:3px;min-width:0;width:100%;padding:0;border:0;background:transparent;color:#26364d;font:inherit;font-size:12px;line-height:1.25;text-align:left;cursor:pointer}.supplier-tonnage-price{display:grid;grid-template-columns:28px minmax(24px,1fr);gap:4px;align-items:center;justify-content:space-between;white-space:nowrap}.supplier-tonnage-price.pending{color:#94a3b8}.supplier-tonnage-currency{color:#47627f;font-weight:700}.supplier-tonnage-amount{min-width:24px;text-align:right}.supplier-row-editor{display:grid;gap:3px;min-width:0}.supplier-price-edit-line{display:grid;grid-template-columns:28px minmax(38px,1fr);align-items:center;gap:6px;margin:0;color:#47627f;font-size:12px;font-weight:700}.supplier-price-edit-line input{width:100%;min-width:0;height:24px;padding:2px 5px;border:1px solid #cfe0f3;border-radius:6px;background:#fff;color:#172033;font:inherit;font-size:12px;font-weight:500;text-align:right}.supplier-price-edit-line input:focus{border-color:#4096ff;outline:2px solid rgba(64,150,255,.16);outline-offset:0}.supplier-cost-row-actions{text-align:center;white-space:nowrap}.supplier-cost-rule-table .supplier-cost-row-actions,.supplier-cost-rule-table th:last-child{position:sticky;right:0;z-index:2;width:104px;min-width:104px;max-width:104px;background:#fff;box-shadow:-8px 0 12px #0f172a0f}.supplier-cost-rule-table th:last-child{z-index:3;background:#f8fbff}.supplier-cost-group-row.is-editing .supplier-cost-row-actions{background:#eff6ff}.supplier-cost-row-actions .table-row-actions{display:flex;width:100%;min-width:0;align-items:center;justify-content:center;gap:3px}.supplier-save-row-btn{min-width:58px;height:28px;padding:0 6px}.supplier-cost-rule-table .supplier-cost-row-actions .icon-btn:not(.supplier-save-row-btn){width:28px;height:28px;padding:0}.supplier-tonnage-content:hover{color:#0b63ce}.supplier-tonnage-empty{color:#94a3b8}.supplier-cost-fee{min-width:96px;text-align:right;color:#26364d;white-space:nowrap}.supplier-cost-fee.pending{color:#94a3b8}.supplier-cost-extra-card{display:grid;grid-template-rows:auto minmax(0,1fr);flex:1 1 auto;gap:8px;min-height:0;padding:10px;border:1px solid #dbe7f5;border-radius:10px;background:#fbfdff}.supplier-cost-extra-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.supplier-cost-extra-head>div{display:grid;gap:2px;min-width:0}.supplier-cost-extra-head strong{color:#213049;font-size:13px}.supplier-cost-extra-head span,.supplier-cost-extra-head small{color:#607089;font-size:12px}.supplier-cost-extra-table-wrap{min-height:0;max-height:none;overflow:auto;scrollbar-gutter:stable}.supplier-cost-extra-table{width:100%;min-width:max(820px,100%);table-layout:auto}.supplier-cost-extra-table th,.supplier-cost-extra-table td{white-space:nowrap}.supplier-cost-extra-table th,.supplier-cost-extra-table .supplier-cost-fee{text-align:center}.supplier-cost-extra-row.is-editing td{background:#eff6ff;box-shadow:inset 0 1px #2563eb2e,inset 0 -1px #2563eb2e}.supplier-cost-extra-row.is-editing td:first-child{box-shadow:inset 2px 0 #2563eb,inset 0 1px #2563eb2e,inset 0 -1px #2563eb2e}.supplier-cost-extra-row input{width:100%;min-width:0;height:28px;border:1px solid #cbd9ea;border-radius:6px;background:#fff;color:#213049;font:inherit;font-size:12px}.supplier-cost-extra-row input:focus{border-color:#4096ff;outline:2px solid rgba(64,150,255,.16);outline-offset:0}.supplier-cost-extra-row.is-child .supplier-cost-tree-content{padding-left:22px}.supplier-inline-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;min-width:132px}.supplier-price-edit-line{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:6px}.supplier-price-edit-line span{color:#47627f;font-size:11px;font-weight:800}.supplier-inline-editor input{width:100%;min-width:0;height:24px;padding:0 6px;border:1px solid #cfe0f3;border-radius:6px;background:#fff;color:#172033;font:inherit;font-size:12px}.supplier-inline-editor input::placeholder{color:#8a9bb2}.supplier-inline-actions{display:flex;gap:4px;align-items:center}.supplier-inline-actions .icon-btn{width:24px;height:24px;padding:0}.supplier-cost-note{min-width:140px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.freight-template-toolbar.is-editing-record{background:#f3f9ff;border-color:#9dc8ff}.freight-template-toolbar label{display:grid;gap:4px;min-width:0;color:#607089;font-size:12px;font-weight:800}.freight-template-toolbar input,.freight-template-toolbar select{width:100%;min-width:0;height:30px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:#213049;font:inherit;font-size:12px}.fee-cost-source-field{display:grid;gap:4px;min-width:0;color:#607089;font-size:12px;font-weight:800}.fee-cost-source-select{position:relative;display:block;min-width:0}.fee-cost-source-select summary{position:relative;display:flex;align-items:center;width:100%;height:30px;min-width:0;padding:0 28px 0 10px;overflow:hidden;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:#213049;cursor:pointer;font-size:12px;font-weight:800;list-style:none;text-overflow:ellipsis;white-space:nowrap}.fee-cost-source-select summary::-webkit-details-marker{display:none}.fee-cost-source-select summary:after{content:"";position:absolute;top:50%;right:10px;width:0;height:0;border-color:#607089 transparent transparent;border-style:solid;border-width:5px 4px 0;transform:translateY(-50%)}.fee-cost-source-select[open] summary{border-color:#80b9ff;box-shadow:0 0 0 2px #2184ff1f}.fee-cost-source-select.has-self-pay summary{border-color:#fecaca;background:#fff5f5;color:#b42318}.fee-cost-source-select.has-other-expense summary{border-color:#fde68a;background:#fffbeb;color:#92400e}.fee-cost-source-options{position:absolute;top:calc(100% + 6px);left:0;z-index:80;display:grid;gap:6px;width:max-content;min-width:100%;padding:8px;border:1px solid #d6e3f2;border-radius:8px;background:#fff;box-shadow:0 14px 34px #0f234629}.fee-cost-source-options label{display:flex;align-items:center;gap:6px;min-width:0;color:#213049;font-size:12px;font-weight:700;white-space:nowrap}.fee-cost-source-options label.self-pay{color:#b42318}.fee-cost-source-options label.other-expense{color:#92400e}.freight-template-toolbar .fee-cost-source-options input[type=checkbox],.fee-cost-source-options input[type=checkbox]{width:14px;min-width:14px;height:14px;margin:0}.fee-cost-source-select.compact summary{height:28px;padding-left:8px;font-weight:700}.fee-item-category-badge{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:22px;padding:0 8px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:900;line-height:1}.fee-item-category-badge.normal{border-color:#bbf7d0;background:#ecfdf3;color:#047857}.fee-item-category-badge.advance{border-color:#fed7aa;background:#fff7ed;color:#b45309}.fee-cost-source-chip-list{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:center;min-width:0;white-space:normal}.fee-cost-source-chip{display:inline-flex;align-items:center;height:22px;padding:0 7px;border:1px solid #dbe7f5;border-radius:999px;background:#f8fafc;color:#475569;font-size:12px;font-weight:800;line-height:1}.fee-cost-source-chip.self-pay{border-color:#fecaca;background:#fff1f2;color:#b42318}.fee-cost-source-chip.other-expense{border-color:#fde68a;background:#fffbeb;color:#92400e}.freight-parent-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:end;padding:7px 8px;border:1px solid #dbe7f5;border-bottom:0;background:#fbfdff}.freight-parent-filters label{display:grid;gap:4px;min-width:160px;color:#607089;font-size:12px;font-weight:800}.freight-parent-filters select{width:100%;height:30px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:#213049;font:inherit;font-size:12px}.freight-batch-toolbar{display:grid;grid-template-columns:auto 112px 128px 128px auto auto auto auto 1fr;gap:8px;align-items:end;padding:7px 8px;border:1px solid #dbe7f5;border-bottom:0;background:#f7fbff}.freight-batch-toolbar strong{align-self:center;white-space:nowrap;color:#1d4f92;font-size:12px}.freight-batch-toolbar label{display:grid;gap:4px;min-width:0;color:#607089;font-size:12px;font-weight:800}.freight-batch-toolbar input,.freight-batch-toolbar select{width:100%;min-width:0;height:30px;border:1px solid #d6e3f2;border-radius:7px;background:#fff;color:#213049;font:inherit;font-size:12px}.table-check-label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.freight-rate-matrix-wrap{flex:1 1 auto;min-height:420px;overflow:auto;border:1px solid #dbe7f5;border-radius:0 0 10px 10px}.freight-rate-matrix{width:max-content;min-width:100%;table-layout:auto}.freight-rate-matrix th,.freight-rate-matrix td{white-space:nowrap}.freight-rate-matrix thead th{text-align:center;vertical-align:middle}.freight-rate-matrix th:not(:first-child),.freight-rate-matrix td:not(:first-child){border-left:1px solid #e7eef8}.freight-rate-matrix td:first-child,.freight-rate-matrix th:first-child{width:48px;text-align:center}.freight-rate-matrix th:nth-child(2),.freight-rate-matrix td:nth-child(2){width:1%;min-width:116px;max-width:180px}.freight-rate-matrix th:nth-child(2){text-align:center}.freight-rate-matrix td:nth-child(2){text-align:left}.freight-directory-main small{display:block;margin-top:2px;color:#7b8da8;font-size:11px;font-weight:700}.freight-directory-link{display:inline-flex;max-width:100%;padding:0;border:0;background:transparent;color:#0b63ce;font:inherit;font-weight:900;text-align:left;cursor:pointer}.freight-directory-link:hover{text-decoration:underline}.freight-rate-matrix th:nth-child(3),.freight-rate-matrix td:nth-child(3){width:1%;min-width:108px;text-align:right}.freight-rate-matrix th:nth-child(n+4):not(:last-child),.freight-rate-matrix td:nth-child(n+4):not(:last-child){width:1%;min-width:108px;text-align:right}.freight-rate-matrix thead th:nth-child(n+3){text-align:center}.freight-enter-btn{color:#0b63ce}.freight-rate-matrix th:last-child,.freight-rate-matrix td:last-child{min-width:72px;width:72px;text-align:center}.freight-rate-matrix .row-actions{justify-content:center;gap:4px}.freight-rate-matrix .icon-actions-head{padding:0}.freight-rate-matrix tr.is-row-editing td{background:#f8fbff}.freight-rate-edit-cell{display:grid;gap:4px;width:92px;min-width:92px}.freight-rate-edit-cell label{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:6px}.freight-rate-edit-cell label span{color:#58708f;font-size:11px;font-weight:800;text-align:left}.freight-rate-edit-cell input{width:100%;min-width:0;height:26px;padding:0 6px;border:1px solid #bfd1e8;border-radius:6px;background:#fff;color:#17233c;font-size:12px;font-weight:800;text-align:right}.freight-rate-edit-cell input::placeholder{color:#8aa0bd}.freight-directory-main strong{display:block;color:#20324d;font-weight:800}.freight-level1-cell strong,.freight-level1-cell .muted{display:block}.freight-level1-cell strong{color:#20324d;font-weight:700}.freight-level1-cell .muted{margin-top:2px;font-size:11px}.freight-level1-cell.is-repeated{color:#94a3b8}.freight-level1-repeat{font-size:12px}.freight-path-cell{color:#233750;font-weight:600}.fee-item-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;border:1px solid #dbe7f5;border-radius:0 0 10px 10px}.fee-item-table{width:100%;min-width:1040px;table-layout:auto}.fee-item-table th:nth-child(1),.fee-item-table td:nth-child(1),.fee-item-table th:nth-child(2),.fee-item-table td:nth-child(2){width:1%;min-width:54px;white-space:nowrap;text-align:center}.fee-item-table th:nth-child(3),.fee-item-table td:nth-child(3),.fee-item-table th:nth-child(6),.fee-item-table td:nth-child(6){width:1%;min-width:90px;white-space:nowrap}.fee-item-table th:nth-child(4),.fee-item-table td:nth-child(4){width:auto;min-width:240px}.fee-item-table th:nth-child(5),.fee-item-table td:nth-child(5){width:1%;min-width:150px;white-space:nowrap}.fee-item-table th:nth-child(7),.fee-item-table td:nth-child(7){width:1%;min-width:110px;white-space:nowrap;text-align:right}.fee-item-table th:nth-child(8),.fee-item-table td:nth-child(8){width:1%;min-width:120px;white-space:nowrap}.fee-item-table th:nth-child(9),.fee-item-table td:nth-child(9){width:1%;min-width:150px;white-space:nowrap}.fee-item-table tr[draggable=true]{cursor:grab}.fee-item-table tr.is-dragging{opacity:.55}.fee-item-drag-handle{cursor:grab}.freight-fee-head{min-height:42px;margin:0}.rate-cell{width:100%;min-width:92px;display:grid;gap:2px;padding:3px 6px;color:inherit}.rate-cell span{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:baseline;gap:8px;font-size:12px;line-height:1.25;text-align:right}.rate-cell b{color:#58708f;font-size:11px;text-align:left}@media(max-width:1180px){.freight-quote-template-list{grid-template-columns:1fr}.freight-quote-template-card{grid-template-columns:38px minmax(0,1fr)}.freight-quote-template-meta{grid-column:2;text-align:left}.freight-template-toolbar{grid-template-columns:repeat(4,minmax(120px,1fr))}.freight-batch-toolbar,.fee-item-toolbar{grid-template-columns:repeat(3,minmax(120px,1fr))}}.edit-card{min-height:0;padding:16px;display:grid;align-content:start;gap:12px;background:#fff;border:1px solid var(--border);border-radius:10px;overflow:auto}.edit-card.is-editing-record{border-color:#8bbcff;box-shadow:0 0 0 2px #1d6fe81a}.edit-card h3{margin:0 0 4px;font-size:16px}.edit-card label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:800}.edit-card input,.edit-card select,.edit-card textarea{width:100%;min-width:0}.edit-card textarea{min-height:120px;resize:vertical}.edit-card-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1.3fr;gap:8px;margin:4px -16px 0;padding:12px 16px 16px;background:linear-gradient(180deg,#ffffffdb,#fff 28%);border-top:1px solid var(--border)}.edit-card-actions .ghost-btn,.edit-card-actions .primary-btn{width:100%;justify-content:center}.inline-check{grid-template-columns:auto 1fr;align-items:center}.inline-check input{width:auto}.audit-table{flex:1 1 auto;min-height:260px}.dispatch-popover-wrap{position:relative}.dispatch-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:4;width:min(420px,70vw);padding:10px;background:#fff;border:1px solid #9cc5ff;border-radius:10px;box-shadow:0 18px 44px #0f23462e}.popover-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.dispatch-popover textarea{width:100%;min-width:0;resize:vertical;line-height:1.55}.template-load-wrap{position:relative}.template-load-split{display:inline-flex;align-items:stretch}.template-load-split .ghost-btn:first-child{border-radius:8px 0 0 8px}.template-load-arrow{width:34px;min-width:34px;justify-content:center;padding:0;border-left:0;border-radius:0 8px 8px 0}.template-load-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:5;width:min(420px,74vw);max-height:320px;overflow:auto;padding:6px;border:1px solid #c7d8ef;border-radius:10px;background:#fff;box-shadow:0 18px 44px #0f23462e}.template-load-option-row{display:grid;grid-template-columns:minmax(0,1fr) 30px 30px;align-items:center;gap:6px;padding:2px}.template-load-option{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;width:100%;gap:8px;min-height:42px;padding:7px 8px;border:0;border-radius:8px;color:var(--text);background:transparent;text-align:left;cursor:pointer}.template-load-option:hover{background:#edf6ff}.template-load-last,.template-load-default{grid-template-columns:22px minmax(0,1fr)}.template-load-row-index,.template-load-row-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;color:var(--blue);background:#e8f2ff;font-size:12px;font-weight:900}.template-load-row-icon .ui-icon{width:14px;height:14px}.template-load-text{display:grid;min-width:0;gap:2px}.template-load-date{color:#64748b;font-size:12px;white-space:nowrap}.template-load-option strong,.template-load-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-load-option span,.template-load-empty{color:var(--muted);font-size:12px}.template-load-empty{margin:4px 8px 6px}.dispatch-page{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:10px;min-height:0}.dispatch-toolbar{align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;overflow:visible}.dispatch-actions{display:flex;flex:0 0 auto;align-items:center;flex-wrap:nowrap;gap:8px;margin-left:auto}.dispatch-search-field{position:relative;display:flex;align-items:center;flex:0 0 230px;min-width:180px}.dispatch-search-field input{width:100%;height:36px;padding:0 20px 0 12px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);font:inherit}.dispatch-search-field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1f;outline:none}.dispatch-search-clear{position:absolute;right:7px;display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:999px;background:#e8f2ff;color:var(--blue);font-size:13px;font-weight:900;cursor:pointer}.dispatch-filter-row{display:flex;align-items:center;flex:1 0 auto;flex-wrap:nowrap;gap:8px;min-height:36px}.dispatch-filter-field{display:inline-flex;align-items:center;gap:6px;min-width:150px;color:var(--muted);font-size:12px;font-weight:800}.dispatch-filter-field span{flex:0 0 auto;white-space:nowrap}.dispatch-filter-field select{width:100%;height:32px;min-width:98px;max-width:190px;padding:0 28px 0 9px;border:1px solid var(--border);border-radius:7px;background-color:#fff;color:var(--text);font:inherit}.dispatch-filter-row .ghost-btn{flex:0 0 auto}.dispatch-date-segmented{max-width:390px;overflow-x:auto;scrollbar-width:none}.dispatch-date-segmented::-webkit-scrollbar{display:none}.dispatch-date-segmented button{padding:0 9px;white-space:nowrap}.dispatch-custom-date-range{display:flex;align-items:center;flex:0 0 auto;gap:6px;color:#64748b;font-size:12px}.dispatch-custom-date-range input{width:124px;height:34px;border:1px solid var(--border);border-radius:7px;padding:0 8px;color:var(--text);font:inherit}.dispatch-date-group label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:800}.dispatch-date-group input{width:150px}.dispatch-summary-row{display:flex;align-items:center;gap:8px;min-height:32px;overflow-x:auto;scrollbar-width:thin}.dispatch-toolbar-stat{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.dispatch-toolbar-stat strong{color:var(--text);font-size:16px;line-height:1}.dispatch-panel-actions{flex-wrap:wrap}.dispatch-status-pool{align-self:start;display:grid;grid-template-columns:repeat(6,minmax(86px,1fr));gap:8px;padding:8px;border:1px solid #dbe7f5;border-radius:8px;background:#f8fbff}.dispatch-status-pool button{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;height:36px;padding:0 10px 0 26px;border:1px solid var(--dispatch-status-border, #dbe7f5);border-radius:8px;background:#fff;color:var(--dispatch-status-text, var(--text));font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 1px 2px #0f172a0d;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease}.dispatch-status-pool button:before{content:"";position:absolute;top:50%;left:11px;width:7px;height:7px;border-radius:999px;background:var(--dispatch-status-active-border, var(--primary));opacity:.68;transform:translateY(-50%)}.dispatch-status-pool button:not(.active):hover{border-color:var(--dispatch-status-active-border, var(--primary));background:var(--dispatch-status-soft-bg, var(--list-hover-bg));box-shadow:0 3px 10px #0f172a1f}.dispatch-status-pool button.active{border-color:var(--dispatch-status-active-border, var(--primary));background:var(--dispatch-status-active-bg, #eaf4ff);color:var(--dispatch-status-text, var(--primary));box-shadow:0 6px 16px #0f172a1f}.dispatch-status-pool button.active:before{width:8px;height:8px;opacity:1;box-shadow:0 0 0 4px var(--dispatch-status-dot-bg, rgb(15 107 255 / 12%))}.dispatch-status-pool span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-status-pool strong{display:inline-grid;min-width:24px;height:22px;place-items:center;border-radius:999px;background:var(--dispatch-status-count-bg, #f1f5f9);color:var(--dispatch-status-text, var(--text));font-size:12px;box-shadow:inset 0 0 0 1px #ffffffb3}.dispatch-status-pool button.active strong{background:var(--dispatch-status-active-border, var(--primary));color:#fff;box-shadow:none}.dispatch-status-planned{--dispatch-status-soft-bg: #f5f9ff;--dispatch-status-active-bg: #eaf3ff;--dispatch-status-border: #d5e7ff;--dispatch-status-active-border: #3b82f6;--dispatch-status-dot-bg: rgb(59 130 246 / 13%);--dispatch-status-text: #1d4ed8;--dispatch-status-count-bg: #eff6ff}.dispatch-status-dispatched{--dispatch-status-soft-bg: #f7f3ff;--dispatch-status-active-bg: #eee5ff;--dispatch-status-border: #ddd0fe;--dispatch-status-active-border: #7c3aed;--dispatch-status-dot-bg: rgb(124 58 237 / 14%);--dispatch-status-text: #6d28d9;--dispatch-status-count-bg: #f5f0ff}.dispatch-status-crossing{--dispatch-status-soft-bg: #fffaf3;--dispatch-status-active-bg: #fff1dc;--dispatch-status-border: #f8ddb7;--dispatch-status-active-border: #ea580c;--dispatch-status-dot-bg: rgb(234 88 12 / 13%);--dispatch-status-text: #c2410c;--dispatch-status-count-bg: #fff7ed}.dispatch-status-signed{--dispatch-status-soft-bg: #effdf5;--dispatch-status-active-bg: #d8f8e6;--dispatch-status-border: #a7f3c6;--dispatch-status-active-border: #16a34a;--dispatch-status-dot-bg: rgb(22 163 74 / 14%);--dispatch-status-text: #15803d;--dispatch-status-count-bg: #dcfce7}.dispatch-status-exception{--dispatch-status-soft-bg: #fff7f7;--dispatch-status-active-bg: #ffecec;--dispatch-status-border: #f7c8c8;--dispatch-status-active-border: #dc2626;--dispatch-status-dot-bg: rgb(220 38 38 / 13%);--dispatch-status-text: #b91c1c;--dispatch-status-count-bg: #fef2f2}.dispatch-status-all{--dispatch-status-soft-bg: #f8fafc;--dispatch-status-active-bg: #eef2f7;--dispatch-status-border: #d7e0eb;--dispatch-status-active-border: #475569;--dispatch-status-dot-bg: rgb(71 85 105 / 13%);--dispatch-status-text: #334155;--dispatch-status-count-bg: #f1f5f9}.dispatch-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-height:0}.dispatch-panel{min-height:0;overflow:hidden}.dispatch-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border)}.dispatch-panel-title{display:grid;gap:3px;min-width:150px}.dispatch-panel-head strong{white-space:nowrap}.dispatch-panel-head span{color:var(--muted);font-size:12px}.dispatch-panel-actions{display:flex;flex:1;flex-wrap:wrap;gap:6px;justify-content:flex-end;min-width:0}.dispatch-panel-actions .ghost-btn,.dispatch-panel-actions .primary-btn{height:30px;min-height:30px;padding:0 9px;white-space:nowrap}.dispatch-panel-actions .data-table-density-select select{height:30px}.dispatch-column-menu{margin-left:0}.dispatch-order-list{display:grid;gap:8px;max-height:100%;overflow:auto;padding:10px}.dispatch-order-card{display:grid;gap:5px;width:100%;padding:10px;border:1px solid #dbe7f5;border-radius:8px;background:#fbfdff;color:var(--text);text-align:left;cursor:pointer}.dispatch-order-card:hover{border-color:var(--primary);background:var(--list-hover-bg)}.dispatch-order-card span,.dispatch-order-card small,.dispatch-order-card em{min-width:0;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.dispatch-order-card em{font-style:normal}.dispatch-plan-panel{display:flex;flex-direction:column;overflow:hidden}.dispatch-plan-panel>.table-wrap{flex:1 1 auto;min-height:0;overflow:auto}.dispatch-warning-list{display:flex;flex-wrap:wrap;gap:6px;padding:8px 10px;border-bottom:1px solid #fde68a;background:#fffbeb}.dispatch-warning-list span{padding:3px 7px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:12px;font-weight:800}.dispatch-table{min-width:1620px}.dispatch-table.managed-data-table{min-width:100%}.dispatch-table .sticky-data-table-column,.order-list-detail-table .sticky-data-table-column{position:sticky;z-index:3;background:#fff;box-shadow:1px 0 #e5edf6}.dispatch-table thead .sticky-data-table-column,.order-list-detail-table thead .sticky-data-table-column{z-index:5;background:#f6f9ff}.dispatch-table tbody tr:hover .sticky-data-table-column,.order-list-detail-table tbody tr:hover .sticky-data-table-column{background:var(--row-hover-bg)}.dispatch-table td{vertical-align:top}.dispatch-table td strong,.dispatch-table td small{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-table td small{color:var(--muted)}.dispatch-table .dispatch-missing-order-label{color:#b45309}.dispatch-table select,.dispatch-table input{width:100%;min-width:96px;height:30px}.dispatch-table .dispatch-driver-cell input,.dispatch-table .dispatch-driver-cell select{min-width:0}.dispatch-table .dispatch-driver-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-table .dispatch-plate-input{min-width:0;height:32px;padding-inline:9px;line-height:32px}.dispatch-driver-cell{min-width:72px}.dispatch-table .dispatch-driver-manual-field{display:block;width:min(100%,96px);min-width:0}.dispatch-table .dispatch-driver-manual-field .dispatch-driver-search-input{width:100%;min-width:0;height:30px;padding:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-table .dispatch-driver-select{display:flex;align-items:center;gap:0;width:min(100%,96px);min-width:0;height:30px;padding:0 1px 0 7px;border:1px solid var(--border);border-radius:7px;background:#fff;box-sizing:border-box;font-weight:800}.dispatch-table .dispatch-driver-select:focus-within,.dispatch-table .dispatch-driver-select.is-open{border-color:#8bbcff;box-shadow:0 0 0 3px #0f6bff14}.dispatch-table .dispatch-driver-select>input{flex:1;width:auto;min-width:0;height:28px;padding:0 4px 0 0;border:0;background:transparent;outline:none;font:inherit;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-table .dispatch-driver-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:20px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#64748b}.dispatch-table .dispatch-driver-toggle:hover{background:#eef6ff;color:#0f6bff}.dispatch-driver-dropdown{width:min(360px,calc(100vw - 120px));max-height:280px}.dispatch-table .dispatch-status-select{min-width:92px}.dispatch-status-select{border-color:var(--dispatch-status-border, var(--border));background:linear-gradient(180deg,#ffffffd1,#ffffff6b),var(--dispatch-status-soft-bg, #fff);color:var(--dispatch-status-text, var(--text));font-weight:900;box-shadow:inset 0 0 0 1px #fff9}.dispatch-status-select:hover:not(:disabled),.dispatch-status-select:focus{border-color:var(--dispatch-status-active-border, var(--primary));background:var(--dispatch-status-active-bg, #eaf4ff);color:var(--dispatch-status-text, var(--primary));outline:none}.dispatch-status-select:disabled{border-color:var(--dispatch-status-border, #dbe7f5);background:var(--dispatch-status-soft-bg, #f8fafc);color:var(--dispatch-status-text, #64748b);opacity:.82}.dispatch-sequence-cell,.dispatch-sequence-head{width:72px}.dispatch-select-label{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0}.dispatch-select-label .table-check{width:14px!important;min-width:14px!important;height:14px;margin:0}.dispatch-select-label strong,.dispatch-select-label span{display:inline;min-width:0}.dispatch-no-cell{min-width:118px}.dispatch-customer-cell{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-supplier-cell{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-sequence-cell .move-up .ui-icon,.dispatch-sequence-cell button:first-child .ui-icon,.dispatch-row-actions button:first-child .ui-icon{transform:rotate(180deg)}.dispatch-route-cell{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-load-time-cell{min-width:176px}.dispatch-load-time-field{display:grid;grid-template-columns:minmax(82px,1fr) 54px auto 64px;align-items:center;gap:4px;min-width:0}.dispatch-load-date{display:inline-flex;min-width:0;min-height:24px;align-items:center;justify-content:center;padding:2px 7px;border:1px solid #dbe7f5;border-radius:6px;background:#f8fbff;color:var(--muted);font-size:12px;font-weight:800;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-time-input{min-width:0!important;height:32px!important;line-height:32px}.dispatch-time-hour-input,.dispatch-time-minute-input{width:64px;padding-inline:6px!important}.dispatch-time-hour-input{width:54px;text-align:center;font-weight:800}.dispatch-time-colon{display:inline-flex;align-items:center;justify-content:center;min-width:6px;color:#334155;font-size:14px;font-weight:900;line-height:1}.dispatch-row-actions{display:table-cell;vertical-align:middle;white-space:nowrap}.dispatch-row-actions .icon-btn{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;flex:0 0 28px;margin-right:4px}.dispatch-row-actions .dispatch-status-return-btn{margin-right:0;border-color:#b7d5f8;background:#eef6ff;color:#0b74de}.dispatch-row-actions .dispatch-status-return-btn:not(:disabled):hover{border-color:#7cb4f2;background:#dcecff}.dispatch-edit-modal{width:min(1120px,calc(100vw - 48px));max-width:none;display:flex;flex-direction:column;overflow:hidden}.dispatch-edit-modal .modal-body{flex:1;min-height:0;overflow:auto}.dispatch-recognition-file-input,.dispatch-excel-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.dispatch-edit-modal .modal-actions{flex-wrap:wrap}.dispatch-recognition-status{margin-right:auto}.dispatch-recognize-btn,.dispatch-excel-recognize-btn{white-space:nowrap}.dispatch-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dispatch-form-grid label{min-width:0}.dispatch-form-grid input,.dispatch-form-grid select,.dispatch-date-picker-row input{min-height:36px;line-height:36px}.dispatch-form-grid textarea{min-height:70px;line-height:1.45;resize:vertical}.dispatch-note-field{align-content:start}.dispatch-form-grid .span-2{grid-column:span 2}.dispatch-load-time-picker-field{min-width:0}.dispatch-load-time-picker{display:grid;grid-template-columns:minmax(58px,.75fr) auto minmax(68px,.9fr);align-items:center;gap:6px;min-width:0}.dispatch-load-time-picker input,.dispatch-load-time-picker select{width:100%;min-width:0}.dispatch-load-time-picker select{padding-right:22px}.dispatch-load-time-hour-manual{text-align:center;font-weight:800}.dispatch-load-time-colon{display:inline-flex;align-items:center;justify-content:center;min-width:8px;color:#334155;font-size:16px;font-weight:900;line-height:1}.dispatch-load-time-picker select:disabled{background:#f4f7fb;color:#94a3b8;cursor:not-allowed}.dispatch-boolean-field .boolean-toggle{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#17233c;font-weight:700}.dispatch-boolean-field .boolean-toggle input{width:18px;min-width:18px;height:18px;accent-color:var(--blue)}.dispatch-location-pair{display:grid;grid-column:1 / -1;grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;min-width:0}.dispatch-location-field{align-content:start;gap:6px;min-width:0}.dispatch-location-field.is-disabled{opacity:.66}.dispatch-location-field.is-disabled .dispatch-address-stack{background:#f1f5f9}.dispatch-location-field.is-disabled .dispatch-address-item{border-style:dashed;background:#f8fafc}.dispatch-location-field.is-disabled input,.dispatch-location-field.is-disabled button{cursor:not-allowed}.dispatch-location-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.dispatch-location-count{display:inline-flex;min-height:22px;align-items:center;padding:2px 8px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#075fc4;font-size:11px;font-weight:800;white-space:nowrap}.dispatch-location-count.is-empty{border-color:#dbe3ee;background:#f8fafc;color:#64748b}.dispatch-location-row{align-items:start}.dispatch-address-stack{display:grid;min-width:0;gap:6px;padding:6px;border:1px solid #cbd9ea;border-radius:10px;background:#f7fbff}.dispatch-location-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:2px 0 0 30px}.dispatch-location-actions .ghost-btn.small{min-height:30px;padding:0 10px}.dispatch-address-item{display:grid;grid-template-columns:24px minmax(118px,.18fr) minmax(150px,.22fr) minmax(0,1fr) auto;min-width:0;align-items:start;gap:8px;min-height:48px;padding:5px 6px;border:1px solid #dbe7f5;border-radius:8px;background:#fff;transition:border-color .12s ease,box-shadow .12s ease}.dispatch-address-item:focus-within{border-color:#7eb5f1;box-shadow:0 0 0 2px #0b74de1a}.dispatch-address-item.is-empty{border-style:dashed;background:#fbfdff}.dispatch-address-index{display:grid;width:22px;height:22px;margin-top:5px;place-items:center;border-radius:6px;background:#e8f2ff;color:#075fc4;font-size:11px;font-weight:900}.dispatch-address-item input,.dispatch-address-item textarea{width:100%;min-width:0;padding:0 4px;border:0;border-radius:6px;background:transparent;color:var(--text);font-weight:700;box-shadow:none}.dispatch-address-item input{height:32px}.dispatch-address-item textarea{box-sizing:border-box;min-height:52px;padding:6px 4px;line-height:1.45;resize:vertical}.dispatch-address-item .dispatch-location-district-search{display:flex;align-items:center;gap:4px;width:100%;min-width:0;min-height:32px;padding:0 4px;border:0;border-radius:6px;background:transparent;box-sizing:border-box}.dispatch-address-item .dispatch-location-district-search>input{width:auto;flex:1;min-width:0;height:32px;padding:0;border:0;background:transparent;outline:none}.dispatch-address-item .dispatch-location-district-search:focus-within{background:#f8fbff}.dispatch-location-district-search.is-disabled{opacity:.78}.dispatch-location-district-dropdown{width:100%;min-width:0}.dispatch-location-district-dropdown button{grid-template-columns:minmax(0,1fr)}.dispatch-location-district-dropdown p{cursor:pointer}.dispatch-address-item input:focus,.dispatch-address-item textarea:focus{border-color:transparent;box-shadow:none;outline:none}.dispatch-address-city-input,.dispatch-address-district-input{text-align:center}.dispatch-address-detail-input{text-align:left;white-space:pre-wrap}.dispatch-address-remove.icon-only{width:22px;height:22px;margin-top:5px;padding:0;border:0;border-radius:999px;background:transparent;color:#94a3b8;opacity:.7;transition:background .12s ease,color .12s ease,opacity .12s ease,transform .12s ease}.dispatch-address-remove .ui-icon{width:13px;height:13px}.dispatch-address-remove.icon-only:hover,.dispatch-address-remove.icon-only:focus-visible{color:#b42318;background:#fff1f2;opacity:1;outline:none}.dispatch-address-remove.icon-only:active{transform:scale(.94)}.dispatch-date-picker-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px;padding:8px 10px;border:1px solid #dbe7f5;border-radius:8px;background:#f8fbff}.dispatch-date-picker-row label{display:grid;grid-template-columns:max-content 168px;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:800}.dispatch-date-picker-row input{width:168px;min-width:168px;padding-right:10px}@media(max-width:760px){.dispatch-edit-modal .modal-actions{align-items:stretch;flex-wrap:wrap}.dispatch-recognition-status,.dispatch-recognize-btn,.dispatch-excel-recognize-btn{width:100%;margin-right:0;justify-content:center}.dispatch-location-pair{grid-template-columns:1fr}.dispatch-address-item{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) auto}.dispatch-address-detail-input{grid-column:2 / -1}.dispatch-address-remove.icon-only{grid-column:4;grid-row:1}.dispatch-location-actions{padding-left:0}}.dispatch-customer-dropdown{width:min(420px,calc(100vw - 120px))}.dispatch-copy-modal{width:min(1180px,calc(100vw - 32px))}.modal-helper-text{margin:0 0 10px;color:var(--muted);font-size:12px;font-weight:700}.dispatch-copy-table-wrap{max-height:min(420px,52vh);overflow:auto}.dispatch-copy-table-wrap table{min-width:1120px}.dispatch-copy-table-wrap input,.dispatch-copy-table-wrap select{width:100%;min-width:0;height:30px}.dispatch-copy-table-wrap td small{display:block;margin-top:2px;color:var(--muted);font-size:11px}.finance-wage-table tbody tr:not(.finance-wage-detail-row){cursor:pointer}.finance-wage-table .is-expanded-row td{background:#eef6ff}.finance-wage-detail-row>td{padding:10px;background:#f8fbff}.nested-table-scroll{max-width:100%;overflow:auto;border:1px solid #dbe7f5;border-radius:8px;background:#fff}.nested-data-table{min-width:1120px}.nested-data-table .nested-fee-detail-cell{white-space:normal;min-width:360px;max-width:520px;line-height:1.65}@media(max-width:980px){.dispatch-layout{grid-template-columns:1fr}.dispatch-status-pool{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-filter-field{flex:1 1 180px}.dispatch-filter-field select{max-width:none}}
