.operations-panel{margin-top:18px;border:1px solid var(--line);border-radius:7px;padding:12px;background:#fff}.operations-panel>summary{cursor:pointer;font-size:13px;font-weight:600;color:#41606a;padding:4px}.operations-panel .history{padding:10px;display:flex;gap:12px;flex-wrap:wrap}.operations-cost-editor{width:min(1120px,calc(100% - 32px))}.purchase-expense-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 32px;gap:10px;padding:12px;margin:10px 0;border:1px solid #dce6e9;border-radius:7px;background:#f6fafb}.purchase-expense-row>.icon-button{grid-column:5;grid-row:1}.operations-cost-editor input{min-width:0;width:100%}.cost-status{margin:8px 0}.local-role-note{font-size:10px;color:#8a6a3a}.finance-reminder{display:inline-flex;align-items:center;padding:3px 8px;border-radius:12px;background:#fff0db;color:#8e5717;font-size:11px}@media(max-width:800px){.purchase-expense-row{grid-template-columns:repeat(2,minmax(0,1fr)) 28px}.purchase-expense-row>.icon-button{grid-column:3}.operations-cost-editor .table-wrap{overflow:auto}}

.purchase-document{width:min(1000px,calc(100% - 32px))}
.order-supplier-picker{position:relative;min-width:240px}
#modal .form-field[hidden],#modal [data-import-fields][hidden]{display:none!important}
.order-supplier-results{max-height:220px;overflow-y:auto;border:1px solid var(--line);border-radius:6px;background:white;margin:4px 0 12px;box-shadow:0 4px 12px #20333f15}
.order-supplier-results[hidden]{display:none}
.order-supplier-results>button{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:white;text-align:left;white-space:normal;color:var(--ink)}
.order-supplier-results>button:hover,.order-supplier-results>button:focus{background:#eaf5f5}
.order-supplier-results>.hint{padding:10px}
.operations-cost-editor [hidden]{display:none!important}
.operations-cost-editor [data-review-product]{width:150px;max-width:100%}
.operations-cost-editor .checkbox-label{display:flex;align-items:center;gap:8px;min-width:0;white-space:normal;overflow-wrap:anywhere}
.operations-cost-editor input[type="checkbox"]{width:auto;flex:none}
.operations-cost-editor .purchase-expense-row>input[type="hidden"]{display:none}
.fixed-purchase-expense{grid-template-columns:minmax(180px,1fr) repeat(2,minmax(120px,1fr));background:white;margin:0;border-radius:0;border-width:0 0 1px;padding:12px 0;align-items:start}
.fixed-purchase-expense [data-input-currency]{grid-column:2/-1}
.fixed-purchase-expense .expense-advanced{grid-column:1/-1;font-size:12px;color:var(--muted)}
.expense-advanced>summary{cursor:pointer}
.expense-advanced-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
@media(max-width:650px){.fixed-purchase-expense{grid-template-columns:repeat(2,minmax(0,1fr))}.fixed-purchase-expense>label:first-child{grid-column:1/-1}.fixed-purchase-expense [data-input-currency]{grid-column:1/-1}.expense-advanced-fields{grid-template-columns:1fr}}
.purchase-document [role="tabpanel"][hidden]{display:none}
.purchase-document .po-source-tabs{margin-bottom:20px}
.purchase-cost-summary{border:1px solid var(--line);border-radius:8px;padding:8px 18px 16px;margin-bottom:16px}
.purchase-cost-line{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}
.purchase-cost-line strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:15px}
.purchase-cost-line.cost-display-only{color:var(--muted);background:#f7f9fa}
.purchase-cost-line.cost-fees-subtotal{border-top:1px solid var(--line);font-weight:600}
.purchase-cost-line.cost-grand-total{color:var(--teal-dark);font-weight:700;margin-bottom:12px}
.purchase-cost-line.cost-grand-total strong{font-size:21px}
.purchase-document .po-supplier-panel .document-heading{margin-bottom:18px}
@media print{.purchase-document .po-internal-panel,.purchase-document .po-source-tabs{display:none!important}.purchase-document #po-supplier-panel{display:block!important}.purchase-document .po-supplier-panel table{width:100%;min-width:0!important}.purchase-document .po-supplier-panel .detail-grid{break-inside:avoid}.purchase-document .po-supplier-panel td{overflow-wrap:anywhere}}

.expense-vendor-results{max-height:220px;overflow-y:auto;border:1px solid #cbd8dc;border-radius:6px;background:white}.expense-vendor-results[hidden]{display:none}.expense-vendor-results button{display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;border:0;border-bottom:1px solid #e5edef;border-radius:0;padding:10px 12px;background:white;color:#243c43;white-space:normal}.expense-vendor-results button:hover,.expense-vendor-results button:focus-visible{background:#edf6f4}.expense-vendor-results strong{flex-shrink:0;font-variant-numeric:tabular-nums}.expense-vendor-empty{padding:12px;color:#78878f;font-size:12px}

.list-sort-button{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.list-sort-button:hover{color:var(--teal)}.list-sort-button:focus-visible{outline:2px solid var(--teal);outline-offset:4px}.list-sort-marker{font-size:10px;opacity:.55;flex-shrink:0}th[aria-sort="ascending"] .list-sort-marker,th[aria-sort="descending"] .list-sort-marker{opacity:1;color:var(--teal)}
@media print{.list-sort-marker{display:none}}

.product-photo-field{margin:20px 0;padding:16px;border:1px solid #e0e9ef;background:#f8fafc;border-radius:10px}.product-photo-field .form-section-title{margin-top:0}.product-photo-upload{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.product-photo-preview{width:128px;height:110px;display:grid;place-items:center;background:white;border:1px dashed #c9d9e2;border-radius:9px;overflow:hidden;color:#8aa6b5}.product-photo-preview img{width:100%;height:100%;object-fit:contain}.product-photo-thumb{display:block;width:58px;height:52px;object-fit:contain;border:1px solid #e2eaf0;border-radius:7px;background:white}.product-photo-none{color:#8795a5;font-size:11px}.product-photo-detail img{max-width:100%;max-height:260px;object-fit:contain;border:1px solid #e4eaf0;border-radius:9px;margin-bottom:20px}@media(max-width:800px){.product-photo-upload{gap:12px}.product-photo-upload .form-field{width:100%;min-width:0}.product-photo-upload input{max-width:100%}}

@media(max-width:800px){#main td[data-label="商品資訊"],#main td[data-label="商品 / 型號"]{grid-column:1/-1}#main td[data-label="商品照片"]:has(.product-photo-thumb){min-height:52px}}

.expense-entry-tools{align-items:center;gap:10px}.expense-entry-tag{font-size:10px;font-weight:400;padding:2px 6px;border-radius:4px;background:#ffffff26;color:white;margin-left:3px}.expense-entry-progress{display:flex;align-items:center;flex-wrap:wrap;gap:5px;background:#edf7f3;border:1px solid #d3e9df;color:#386e5b;border-radius:9px;padding:12px 14px;margin-bottom:18px;font-size:12px;line-height:1.7}.expense-entry-progress svg{width:16px;height:16px}.modal-footer .expense-save-next{order:2}.modal-footer .expense-save-close{order:1}@media(max-width:650px){.expense-entry-tools{width:100%}.expense-entry-tools button{flex:1}.expense-entry-tag{display:none}.modal-footer:has(.expense-save-next){flex-wrap:wrap}.modal-footer .expense-save-next{flex:1;min-width:180px}.expense-entry-progress{font-size:11px}}

.catalog-photo-gallery{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0;max-height:340px;overflow:auto}
.catalog-photo-tile{display:flex;flex-direction:column;gap:4px;align-items:center}
.catalog-photo-preview{width:110px;height:100px;padding:4px;border:1px solid #d7e3ea;border-radius:8px;background:white;cursor:zoom-in}
.catalog-photo-preview img{width:100%;height:100%;object-fit:contain}
.product-photo-viewer{width:min(1000px,94vw);max-width:94vw;padding:14px;border:0;border-radius:12px;background:#16232c;color:white}
.product-photo-viewer::backdrop{background:#07121ccd}
.photo-viewer-toolbar{display:flex;gap:16px;align-items:center;margin-bottom:12px}
.photo-viewer-toolbar button{padding:6px 12px;background:#fff;color:#253c49;border:0;border-radius:6px}
.photo-viewer-toolbar button:last-child{margin-left:auto}
.product-photo-viewer>img{display:block;max-width:100%;width:auto;max-height:75vh;object-fit:contain;margin:auto}
.recurring-finance-panel{padding:16px 18px;border:1px solid #dce6ed;border-radius:10px;background:#f6f9fc;margin:16px 0}.recurring-finance-panel>.form-section-title{margin:0 0 8px}.recurring-finance-panel summary{cursor:pointer;color:#426579;font-size:12px;padding:8px 0}.recurring-finance-panel .hint{line-height:1.7}.recurring-finance-panel .dialog-tools{flex-wrap:wrap}@media(max-width:800px){.recurring-finance-panel>.form-section-title{align-items:flex-start;gap:12px;flex-direction:column}}
.order-editor{width:min(1140px,calc(100vw - 32px))}
.order-editor .item-table{overflow:visible}
.order-editor .item-table td{vertical-align:top;padding:16px 10px;border-bottom:1px solid #dce5eb}
.order-editor .item-table td:first-child{min-width:0}
.order-editor .item-table table{table-layout:fixed;min-width:0!important}
.order-editor .item-table th:nth-child(2),.order-editor .item-table td:nth-child(2){width:82px}
.order-editor .item-table th:nth-child(3),.order-editor .item-table td:nth-child(3){width:112px}
.order-editor .item-table th:last-child,.order-editor .item-table td:last-child{width:38px;padding-inline:3px}
.order-item-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.order-item-heading strong{font-size:12px;color:#315d74;background:#eaf2f7;padding:4px 9px;border-radius:5px}
.order-item-heading span{font-size:11px;color:#7d8d99}
.order-custom-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.order-custom-meta{display:grid;grid-template-columns:minmax(0,1fr) 80px minmax(0,1.65fr);gap:12px;align-items:start;margin-bottom:12px}
.order-custom-meta .order-supplier-picker{min-width:0}
.order-editor .order-supplier-results{position:absolute;left:0;right:0;top:100%;z-index:20;margin:4px 0 0;max-height:220px}
.order-editor textarea[data-order-field="description"]{width:100%;min-height:58px;resize:vertical}
.order-add-actions{position:relative;z-index:5;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 15px;border:1px solid #d4e2ea;border-radius:8px;background:#f0f6fa;box-shadow:0 -3px 12px #263d4e09}
.order-add-actions>span{font-size:12px;font-weight:600;color:#45677c}
.order-add-actions .dialog-tools{flex-wrap:wrap}
.order-add-actions #add-custom-order-item{background:#e0f0ee;color:#25655f;border-color:#b5d6d0}
@media(max-width:650px){.order-editor .item-table thead{display:none}.order-editor .item-table tbody{display:block}.order-editor .item-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;border-bottom:1px solid #dce5eb;padding-bottom:14px;margin-bottom:10px}.order-editor .item-table td{display:block;border:0;width:auto!important;min-width:0;padding:8px}.order-editor .item-table td:first-child{grid-column:1/-1}.order-editor .item-table td:nth-child(2)::before{content:'數量';display:block;font-size:11px;margin-bottom:5px}.order-editor .item-table td:nth-child(3)::before{content:'售價 TWD';display:block;font-size:11px;margin-bottom:5px}.order-custom-identity{grid-template-columns:1fr}.order-custom-meta{grid-template-columns:minmax(0,1fr) 80px}.order-custom-meta .order-supplier-picker{grid-column:1/-1}.order-add-actions{padding:10px}.order-add-actions .dialog-tools{width:100%}}
@media screen and (min-width:801px){#modal .modal-header{cursor:grab;touch-action:none}#modal.is-dragging .modal-header{cursor:grabbing;user-select:none}#modal .modal-header button{cursor:pointer}}
@media print{#modal{height:auto!important;min-height:0!important;left:auto!important;top:auto!important;resize:none!important}}
.order-compound-search{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;padding:15px 16px;margin:-6px 0 18px;background:#f6f9fc;border:1px solid #dce6ed;border-radius:9px}.order-compound-search .form-field{font-size:11px;color:#60768a}.order-compound-search input{min-height:38px;background:white}.order-compound-search small{grid-column:1/-1;color:#7d8e9b;font-size:11px}.order-compound-search>button{min-height:38px}@media(max-width:800px){.order-compound-search{grid-template-columns:1fr 1fr}.order-compound-search>label:first-child{grid-column:1/-1}.order-compound-search>button{grid-column:1/-1}} 
#modal [data-bank-foreign][hidden],#modal [data-bank-domestic][hidden]{display:none!important}

.supplier-purchase-customers{margin:0;padding-left:18px;min-width:150px;white-space:normal}.supplier-purchase-customers li+li{margin-top:8px}

#supplier-background-modal{max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto}#supplier-background-modal::backdrop{background:rgba(15,35,45,.35)}@media print{#supplier-background-modal{display:none!important}}
.profit-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) minmax(180px,1.5fr) auto;gap:12px;align-items:end;margin:18px 0}.profit-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.profit-stats .stat-value{font-size:26px}.profit-positive{color:#126b59}.profit-negative{color:#b13546}.profit-bar{display:block;height:4px;background:#e9eff0;border-radius:4px;margin-top:7px}.profit-bar>span{display:block;height:100%;background:currentColor;border-radius:4px}@media(max-width:1100px){.profit-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.profit-filter-grid,.profit-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-stats .stat-value{font-size:21px}}

#modal [data-worklog-times][hidden]{display:none!important}.worklog-preview{display:block;max-width:260px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

.statement-paper{margin-top:20px;background:#fff;border:1px solid #dce5ec;border-radius:14px;padding:24px;color:#263844}.statement-paper h2{margin:0 0 8px;font-size:21px}.statement-paper h3{margin:0 0 16px;color:#456783;font-size:16px}.statement-paper .notice{margin:18px 0}.statement-paper .split-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.statement-paper td{vertical-align:top}.statement-paper .hint{line-height:1.8}
@media(max-width:800px){.statement-paper{padding:14px}.statement-paper .split-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.statement-paper{border:0!important;border-radius:0!important;padding:0!important;margin:0!important}.statement-paper table{min-width:0!important;width:100%!important;font-size:10px}.statement-paper td,.statement-paper th{padding:7px!important;white-space:normal!important}.statement-paper .split-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;break-inside:avoid}.statement-paper .list-sort-marker{display:none!important}.statement-paper .list-sort-button{padding:0!important}.statement-paper .notice{break-inside:avoid}}

.system-update-card{background:#fff;border:1px solid #e1e8ed;border-left:4px solid #548b90;border-radius:12px;padding:22px 26px;margin:18px 0}.system-update-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.system-update-meta time{font-size:13px;font-weight:600;color:#456777}.system-update-card h2{font-size:17px;margin:16px 0 12px;color:#243e4e}.system-update-card ul{margin:0;padding-left:20px;line-height:1.9;color:#536778;font-size:13px}.system-update-card li+li{margin-top:5px}

.kpi-formula{background:#f4f8fb;border:1px solid #dde7ee;border-radius:10px;padding:18px 22px;line-height:1.9;font-size:13px}.kpi-formula>div:last-child{margin-top:10px;padding-top:10px;border-top:1px solid #ccdbe5;color:#285d64}.kpi-calculation-notes{padding-left:22px;line-height:1.9;font-size:13px;color:#4c6472}.kpi-calculation-notes li+li{margin-top:6px}

.employee-space-tabs{margin-bottom:24px}.employee-leave-day{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;margin:14px 0}.employee-leave-day .form-field{margin:0}@media(max-width:600px){.employee-leave-day{grid-template-columns:1fr 1fr}.employee-leave-day button{grid-column:1/-1}}

.order-price-confirmation{width:min(480px,calc(100vw - 32px));padding:26px;border:1px solid #dbe5eb;border-radius:14px;box-shadow:0 24px 80px #193d5050}.order-price-confirmation h2{font-size:19px;margin:0 0 18px}.order-price-confirmation p{font-size:14px;line-height:1.8}.order-price-confirmation::backdrop{background:#18374470}

.employee-leave-day{grid-template-columns:minmax(150px,1fr) auto 90px auto}.leave-period-buttons{display:flex;gap:4px}.leave-period-buttons button{padding:8px 10px;border:1px solid #d9e4eb;background:white;border-radius:6px;color:#56717f}.leave-period-buttons button.active{background:#2d747c;color:white;border-color:#2d747c}.leave-date-tools{flex-wrap:wrap;margin:18px 0}.leave-date-tools span{font-size:12px;color:#627b87}.employee-leave-calendar{width:min(490px,calc(100vw - 24px));padding:24px;border-radius:14px}.employee-leave-calendar h2{margin:0 0 12px;font-size:20px}.employee-leave-calendar p{font-size:12px;color:#5a727d}.leave-calendar-navigation{display:flex;justify-content:space-between;align-items:center;margin:20px 0 14px}.leave-calendar-navigation button{border:1px solid #dde6ec;background:white;border-radius:6px;padding:5px 14px}.leave-calendar-week,.leave-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.leave-calendar-week{font-size:12px;color:#6f8794;margin-bottom:9px}.leave-calendar-grid{user-select:none;touch-action:none}.leave-calendar-grid button{aspect-ratio:1;border:1px solid #e1e9ed;border-radius:6px;background:#f8fbfc;color:#294753}.leave-calendar-grid button.other-month{color:#a6b4bc}.leave-calendar-grid button.selected{background:#2d747c;color:white;border-color:#2d747c}.leave-calendar-grid button:disabled{opacity:.35}.employee-leave-calendar::backdrop{background:#17394580}@media(max-width:600px){.employee-leave-day{grid-template-columns:1fr 90px}.employee-leave-day .leave-period-buttons{grid-column:1/-1;grid-row:2}}

.order-price-confirmation .dialog-tools{justify-content:flex-end;gap:12px;margin-top:20px}.order-price-confirmation .dialog-tools button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;font-weight:600;border-radius:8px}.order-price-confirmation .zero-price-back{background:#f4f8fb;border:1px solid #bfcfd9;color:#36576b}.order-price-confirmation .zero-price-back:hover{background:#e7f0f5;border-color:#7596ab;color:#214b60}.order-price-confirmation .zero-price-back svg{width:17px;height:17px}

[data-order-dependent]{border:0;margin:10px 0 0;padding:0;min-width:0}[data-order-dependent]:disabled{opacity:.5}[data-order-dependent] .order-custom-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.order-supplier-picker+[data-order-supplier-hint]{margin:8px 0}

.statement-section{margin-top:24px}.statement-section>h3{border-bottom:2px solid #4b8f99;padding-bottom:8px}.statement-section .total-row{margin:10px 0;break-inside:avoid}@media print{.statement-section>h3{break-after:avoid}.statement-section .total-row{break-inside:avoid}}

#modal :is([data-supplier-bank-fields],[data-payment-days],[data-payment-domestic],[data-foreign-payment-mode],[data-bank-domestic],[data-bank-foreign])[hidden]{display:none!important}

.purchase-document-uploaders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.purchase-document-upload-card{padding:12px;border:1px solid #d8e4e8;border-radius:9px;background:#f4f9fb}.purchase-document-upload-card input{max-width:100%;font-size:12px}.purchase-document-evidence [data-document-status]{font-size:12px;color:#397780;margin:8px 0}.purchase-document-evidence td{overflow-wrap:anywhere}@media(max-width:650px){.purchase-document-uploaders{grid-template-columns:1fr}}

/* Direct delivery: keep item cards full width inside the shared form grid. */
dialog:has(.direct-shipment-form){width:min(1060px,calc(100% - 32px))}
.direct-shipment-form{column-gap:22px;row-gap:16px}
.direct-section-heading,.direct-items,.direct-item-actions,.direct-supplier-hint{grid-column:1/-1;min-width:0}
.direct-section-heading{display:flex;align-items:baseline;gap:12px;padding:14px 0 10px;border-bottom:1px solid var(--line);margin-top:4px}
.direct-section-heading:first-child{padding-top:0;margin-top:0}
.direct-section-heading strong{font-size:14px;color:var(--ink);flex-shrink:0}
.direct-section-heading small{font-size:11px;color:var(--muted);line-height:1.6}
.direct-supplier-hint{margin:-8px 0 0}
.direct-items{display:grid;gap:14px}
.direct-item-card{min-width:0;border:1px solid #d9e4e8;border-radius:8px;background:#fff;overflow:hidden}
.direct-item-header{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f4f8f9;border-bottom:1px solid #e2eaed;padding:10px 16px}
.direct-item-header strong{font-size:12px;color:#416871}
.direct-item-header .direct-item-remove{font-size:11px;padding:5px 9px;background:transparent;color:#8d5552;border-color:#e2d6d5}
.direct-item-header .direct-item-remove:disabled{opacity:.4;cursor:not-allowed}
.direct-item-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 18px;padding:16px}
.direct-item-brand,.direct-item-model{grid-column:span 3}
.direct-item-qty,.direct-item-cost,.direct-item-sale{grid-column:span 2}
.direct-item-fields .form-field{position:relative;color:#566973}
.direct-item-fields .form-field small{position:absolute;right:0;top:0;color:#8a99a1;font-size:10px}
.direct-item-fields input{height:39px;font-size:14px}
.direct-item-cost input,.direct-item-sale input{text-align:right;font-variant-numeric:tabular-nums}
.direct-item-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:0 0 4px}
.direct-item-actions>button{flex-shrink:0;border-style:dashed}
.direct-totals{margin:0;padding:12px 16px;border-radius:6px;background:#edf7f6;color:#2f6665;font-size:13px;font-weight:600;line-height:1.8;font-variant-numeric:tabular-nums}
@media(max-width:600px){
 dialog:has(.direct-shipment-form){width:calc(100% - 16px);max-height:94vh}
 .direct-section-heading{display:block;padding-bottom:8px}
 .direct-section-heading small{display:block;margin-top:4px}
 .direct-item-header{padding:10px 12px}
 .direct-item-fields{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 12px;gap:14px 12px}
 .direct-item-brand,.direct-item-model,.direct-item-qty{grid-column:1/-1}
 .direct-item-cost,.direct-item-sale{grid-column:span 1}
 .direct-item-fields .form-field small{position:static;margin-top:-4px}
 .direct-item-actions{align-items:stretch;gap:12px}
 .direct-item-actions>button,.direct-totals{width:100%}
 .direct-totals{font-size:12px}
}
