.a-preview-bar{height:38px;display:flex;gap:18px;align-items:center;padding:0 22px;background:#f9f2df;border-bottom:1px solid #e6dabb;color:#665639;font-size:12px}.a-preview-bar a{margin-left:auto;color:#665639}.a-preview-bar span{opacity:.8}.a-local-preview .workspace,.a-local-preview .warehouse-layout{height:calc(100dvh - 100px)}
#modal.a-full-dialog{position:fixed!important;left:max(20px,calc((100vw - 1020px)/2));top:60px;right:auto;bottom:auto;transform:none;margin:0!important;width:min(1020px,calc(100vw - 40px))!important;height:calc(100dvh - 80px)!important;max-height:none!important;max-width:none!important;border:1px solid #cddcd2;border-radius:12px;background:#f6f8f6;box-shadow:0 18px 90px #233e342b;resize:both;overflow:auto}
.a-full-dialog>.dialog-head{position:sticky;top:0;background:#fff;z-index:8;border-bottom:1px solid #dfe7e1;padding:17px 24px}.a-full-dialog #modal-body{padding:0 24px 20px}.a-full-order .a-local-form-note{font-size:11px;color:#849185;margin:14px 0}.a-full-order>.help{font-size:12px;margin:8px 0;color:#7a8d7f}
#modal-form.a-full-order .order-entry-section{background:#fff;border:1px solid #dce5df;border-radius:10px;margin:15px 0;padding:0 18px 14px}.a-full-order .order-entry-section[data-order-section]>h3:first-of-type{font-size:16px;padding:15px 0 12px;margin:0;background:transparent;color:#254b3c;border-radius:0}.a-full-order .order-required-help{margin:0 0 10px;font-size:11px}.a-full-order .order-entry-section>label{margin:8px 0}.a-full-order .order-entry-section>.card{margin:10px 0;padding:12px}.a-full-order [data-customer-association]>summary{font-size:13px}.a-full-order label{font-size:12px}.a-full-order input,.a-full-order select{padding:8px}.a-full-order textarea{height:70px;min-height:60px}
.a-full-order [data-order-section="0"]>label:has([name=customerId]){display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.a-full-order [data-order-section="0"]>label>input[type=search]{grid-column:1}.a-full-order [data-order-section="0"]>label>select[name=customerId]{grid-column:2}.a-full-order .a-advanced-codes{border-bottom:1px dashed #dee6df;margin:0 0 16px;padding:7px 0 13px;font-size:12px;color:#728478}.a-full-order .a-advanced-codes summary{cursor:pointer}.a-full-order .a-goods-title{display:none}
#modal-form.a-full-order #order-line-editor{display:block;margin:0;container-type:inline-size}.a-warehouse-head{display:flex;flex-wrap:wrap;gap:8px 15px;align-items:center;background:#edf4ee;padding:12px 15px;border:1px solid #cfdfd2;border-bottom:0;border-radius:9px 9px 0 0;margin:16px 0 0}.a-warehouse-title{display:flex;align-items:center;gap:10px;margin:0!important;color:#56735d;font-weight:400}.a-warehouse-title select{width:150px;font-weight:650;background:transparent;border-color:#c5d8c9;margin:0;padding:6px}.a-delivery-choices{margin-left:auto;display:flex;gap:4px;background:#e0eae2;padding:3px;border-radius:6px}.a-delivery-choices button{padding:6px 16px;border:0;background:transparent;font-size:12px}.a-delivery-choices button[aria-pressed=true]{background:white;color:#176b55;font-weight:700;box-shadow:0 1px 4px #23462c15}.a-group-hint{flex-basis:100%;font-size:10px;color:#799080;margin:0}
#modal-form.a-full-order #order-line-editor>.order-line-card{grid-template-columns:minmax(220px,2fr) minmax(105px,.65fr) minmax(125px,.8fr);border:1px solid #cfdfd2;border-top:1px solid #ebf0e9;border-bottom:0;border-radius:0;margin:0;padding:15px;gap:10px 18px;box-shadow:none;background:#fff}.a-full-order .order-line-heading{grid-column:1/-1;display:flex;justify-content:space-between;border:0;padding:0;font-size:11px;color:#92a092}.a-full-order .order-line-heading button{font-size:11px;padding:2px 8px}.a-full-order .order-line-heading [data-line-heading]{font-weight:400}#modal-form.a-full-order .order-line-card>.order-product-field{grid-template-rows:auto 34px 38px;padding-bottom:0}.a-full-order .order-line-card>.order-product-field input{font-size:12px;padding:7px}#modal-form.a-full-order .order-line-card>label{grid-template-rows:auto 38px auto;margin:0;align-self:start}.a-full-order .order-line-card>.order-product-field{grid-column:1}.a-full-order .order-line-card>.order-quantity-field{grid-column:2}.a-full-order .order-line-card>.order-price-field{grid-column:3}.a-full-order .order-line-card.a-warehouse-assigned>.order-warehouse-field{display:none!important}.a-full-order .order-line-card:not(.a-warehouse-assigned)>.order-warehouse-field{grid-column:1/-1}.a-full-order .line-stock-hint{font-size:10px;line-height:1.5}.a-full-order .a-line-cost{grid-column:1/-1;border-top:1px dashed #e0e8df;padding-top:8px}.a-full-order .a-line-cost>summary{font-size:11px;color:#64816a;cursor:pointer}.a-full-order .a-line-cost .line-profit-preview{margin:9px 0 0;grid-template-columns:minmax(180px,1fr) 1fr}.a-warehouse-tail{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border:1px solid #cfdfd2;border-top:1px solid #ebf0e9;border-radius:0 0 9px 9px;margin-bottom:18px;background:#fff;font-size:12px}.a-warehouse-tail button{border:0;font-size:12px;padding:3px 0}.a-warehouse-tail span{font-size:12px;color:#587662}.a-full-order .a-add-warehouse{width:100%;border-style:dashed;margin:0 0 5px;padding:11px}.a-full-order .a-native-add{font-size:11px;color:#819084;border:0;padding-left:0;margin:0 0 8px}.a-full-order .a-order-totals{padding:8px 18px;display:flex;justify-content:space-between;gap:15px;align-items:center}.a-order-totals strong{font-size:19px;white-space:nowrap}.a-order-totals small{font-size:10px;max-width:310px}.a-full-order .a-folded-heading{display:none}.a-full-order .order-entry-section:has(.a-optional-section){padding:0 18px!important}.a-optional-section>summary{padding:15px 0;cursor:pointer;color:#456653;font-size:13px;font-weight:600}.a-optional-section .order-logistics-fields{margin:10px 0}.a-optional-section>.card{margin:10px 0}.a-full-order .form-draft-note{font-size:11px;margin:18px 0 8px}.a-full-order>.actions{border-top:1px solid #dce6dd;padding-top:15px;position:sticky;bottom:0;background:#f6f8f6;z-index:6;margin-bottom:0;padding-bottom:12px}.a-full-order .order-profit-total{font-size:12px}.a-full-order .order-profit-total small{font-size:10px}.a-full-order #order-number-choices{margin:10px 0}.a-full-order .product-selection-inline button{padding:5px 8px}
@media(max-width:680px){.a-preview-bar{height:auto;min-height:38px;padding:7px 12px;font-size:10px;gap:9px}.a-preview-bar span{display:none}#modal.a-full-dialog{inset:46px 6px 6px!important;transform:none;width:calc(100vw - 12px)!important;height:calc(100dvh - 52px)!important;resize:none}.a-full-dialog #modal-body{padding:0 12px 14px}.a-full-dialog>.dialog-head{padding:12px 16px}.a-full-order [data-order-section="0"]>label:has([name=customerId]){display:block}#modal-form.a-full-order .order-entry-section{padding:0 12px 12px}.a-warehouse-head{padding:10px;gap:6px}.a-warehouse-title{font-size:10px!important}.a-warehouse-title select{width:105px}.a-delivery-choices button{font-size:11px;padding:6px 10px}#modal-form.a-full-order #order-line-editor>.order-line-card{grid-template-columns:1fr 1fr;padding:12px;gap:10px}#modal-form.a-full-order .order-line-card>.order-product-field{grid-column:1/-1}#modal-form.a-full-order .order-line-card>.order-quantity-field{grid-column:1}#modal-form.a-full-order .order-line-card>.order-price-field{grid-column:2}.a-full-order .a-order-totals{display:block;padding:10px 5px}.a-order-totals small{display:block;margin-top:5px}.a-warehouse-tail{padding:10px;gap:8px}.a-warehouse-tail span{font-size:10px}.a-full-order .a-line-cost .line-profit-preview{grid-template-columns:1fr}.a-full-order>.actions{gap:5px}.a-full-order>.actions button{font-size:12px;padding:8px 9px}}
.a-full-order .a-line-move{grid-column:1/-1;font-size:11px;color:#789080}.a-full-order .a-line-move>summary{cursor:pointer}.a-full-order .a-line-move>.order-warehouse-field{display:block!important;max-width:360px;margin:10px 0}.a-full-order .a-line-move:has(.order-warehouse-field [name=warehouseId][value=external]){grid-column:1/-1}
#modal-form.a-full-order .order-line-card>*{order:3}#modal-form.a-full-order .order-line-card>.order-line-heading{order:0}#modal-form.a-full-order .order-line-card>.order-product-field,#modal-form.a-full-order .order-line-card>.order-quantity-field,#modal-form.a-full-order .order-line-card>.order-price-field{order:1}#modal-form.a-full-order .order-line-card>.a-line-move{order:2}#modal-form.a-full-order .order-line-card>.a-line-cost{order:4}
.a-full-order .a-customer-history{font-size:11px;color:#6b8472;margin:8px 0}.a-full-order .a-customer-history>summary{cursor:pointer;padding:3px 0}.a-full-order .a-customer-history:has(#customer-recent:empty){display:none}
.a-full-order [data-a-native-warehouse],.a-full-order [data-a-native-codes]{display:none!important}.a-full-order .a-quantity-overstock{border-color:#c24f36!important;background:#fff8f3;box-shadow:0 0 0 1px #e4a38b}#modal-form.a-full-order .order-line-card>.a-stock-warning{order:2;grid-column:1/-1;margin:0;padding:9px 12px;border:1px solid #edc6ad;border-radius:6px;color:#a64228;background:#fff3e8;font-size:12px;line-height:1.7;font-weight:600}.a-stock-warning[hidden]{display:none!important}
.a-order-overview{padding:18px!important}.a-order-card-heading{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:8px}.a-order-card-heading strong{font-size:25px;color:#176b55;letter-spacing:.4px}.a-order-card-heading>span{font-size:15px;font-weight:650}.a-order-overview>.summary{font-size:12px;color:#637e70;display:flex;align-items:center;gap:10px;justify-content:flex-start}.a-order-overview>.summary>b{font-size:12px}.a-card-goods{font-size:12px;color:#6e8276;margin:8px 0 14px!important;line-height:1.7}.a-card-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}.a-card-status-grid>section{padding:12px;border:1px solid #dde7df;border-radius:8px;background:#f7faf7;min-width:0}.a-card-status-grid small{display:block;font-size:11px;color:#7b8d80}.a-card-status-grid b{display:block;margin:4px 0;font-size:16px;font-weight:650}.a-card-status-grid span{display:block;font-size:11px;color:#809084;line-height:1.7;overflow-wrap:anywhere}.a-card-status-grid>.a-state-warn{background:#fffbf2;border-color:#ecdfbc}.a-state-warn>b{color:#a16b22}.a-state-good>b{color:#267a52}.a-state-pending>b{color:#4e6b5a}.a-state-muted>b{color:#7b8d80}.a-order-overview>.actions{gap:7px;margin:9px 0}.a-order-overview>.actions button{font-size:12px;padding:7px 10px}.a-task-details{border-top:1px solid #e6ece6;margin-top:13px;padding-top:10px;color:#849186;font-size:11px}.a-task-details>summary{cursor:pointer}.a-task-details .task-order-code{font-size:15px!important}.a-task-details .collaborator-link{font-size:11px}.a-task-details .muted{font-size:11px}.a-task-details>p{margin:6px 0}.a-task-details>.task-queue-time{display:block}.a-task-details .system-number{font-size:10px}
@media(max-width:600px){.a-card-status-grid{grid-template-columns:1fr;gap:7px}.a-card-status-grid>section{display:grid;grid-template-columns:75px 1fr;gap:1px 10px;padding:10px}.a-card-status-grid small{grid-column:1;grid-row:1/3;align-self:center}.a-card-status-grid b{font-size:14px;margin:0}.a-card-status-grid span{grid-column:2}.a-order-card-heading strong{font-size:21px}.a-order-overview{padding:13px!important}}
.a-card-status-grid>.a-state-good{background:#eff8f1;border-color:#b8d8c2}.a-card-status-grid>.a-state-bad{background:#fff1f1;border-color:#e3b5b5}.a-state-bad>b{color:#ae3131}.a-card-status-grid>.a-state-warn,.a-card-status-grid>.a-state-pending{background:#fff8eb;border-color:#ecd5ad}.a-state-pending>b{color:#a16b22}.a-draft-remove{margin-left:8px;color:#a12d2d}.a-draft-trash{border:1px solid #d9e4dc;border-radius:8px;padding:14px;margin-top:18px}.a-draft-trash>summary{cursor:pointer;font-weight:650}.a-warehouse-select-all{display:flex;gap:8px;margin:8px 0}.a-history-result-title{font-size:18px;margin:16px 0}

.a-full-order [data-a-group-shipper-hidden]{display:none!important}.a-logistics-fee{display:flex;align-items:center;gap:8px;margin:0!important;font-size:11px!important;color:#56735d}.a-logistics-fee input{width:115px;margin:0}.a-group-shipper{display:flex;gap:8px;align-items:center;margin:0!important;flex-basis:100%;color:#56735d}.a-group-shipper select{max-width:210px}.a-group-shipper b{font-size:12px}.a-warehouse-head [data-a-logistics-fee]{cursor:text}
.a-full-order .order-line-card>[data-external-fields]{order:-1!important;grid-column:1/-1;margin:0 0 4px}.a-full-order [data-external-fields]>label:has([name=externalSourceId]){width:min(100%,480px);margin:0}.a-full-order [data-external-fields][hidden]{display:none!important}
