.order-entry-form .order-account-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(180px,1fr);gap:18px;align-items:end}.order-entry-form .entry-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#46314f;min-width:0;margin:0}.order-entry-form select,.order-entry-form input,.order-entry-form textarea{display:block;box-sizing:border-box;width:100%;height:42px;min-height:42px;padding:9px 11px;border:1px solid #c6b8d2;border-radius:7px;background-color:#fff;color:#2e2436;font:400 14px/1.4 var(--font);margin:0}.order-entry-form select{appearance:none;-webkit-appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23654e78' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:18px}.order-entry-form input[readonly]{background:#f1edf5;color:#584465}.entry-account{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:11px 13px;min-height:42px;border:1px solid #ded5e5;border-radius:7px;background:#f6f3f8}.entry-account small{font-size:11px;color:#66556f}.entry-account b{font-size:13px}.entry-account span{font-size:11px;color:#66556f}.entry-help{font-size:12px;line-height:1.7;color:#62536d;margin:13px 0 17px}.entry-section-title{display:flex;justify-content:space-between;align-items:center;margin:18px 0 12px}.entry-section-title h3{margin:0;font-size:18px}.entry-section-title>span{font-size:11px;color:#756281}.entry-lines{display:grid;gap:12px}.entry-line{border:1px solid #ded4e6;background:#fcfbfd;border-radius:10px;padding:16px}.entry-product-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 34px;gap:12px;align-items:end}.entry-remove{width:34px;height:42px;min-width:34px;min-height:42px;margin:0}.entry-price-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(120px,.8fr) minmax(110px,.7fr);gap:15px;margin-top:12px;align-items:end}.entry-line-total{text-align:right;min-height:42px;display:flex;flex-direction:column;justify-content:center}.entry-line-total small{font-size:11px;color:#756180;margin-bottom:5px}.entry-line-total strong{font-size:19px;color:#4c325d;line-height:1.4}.entry-price-origin{font-size:11px;line-height:1.6;color:#6b5877;margin:9px 0 0}.entry-add{margin:12px 0 18px}.order-entry-form textarea{height:auto;min-height:66px;resize:vertical}.order-entry-form .order-summary{margin-top:18px;padding:16px 18px}.order-entry-form .order-summary h3{font-size:17px;margin:0 0 3px}.order-entry-form .order-summary strong{font-size:27px}.order-entry-form .dialog-footer{padding:13px 22px}.order-entry-form .dialog-footer p{font-size:12px}
@media(max-width:650px){.order-entry-form .order-account-grid{grid-template-columns:1fr;gap:10px}.entry-line{padding:13px}.entry-product-row{grid-template-columns:minmax(0,1fr) 65px 30px;gap:8px}.entry-remove{width:30px;min-width:30px}.entry-price-row{grid-template-columns:minmax(0,1fr) minmax(110px,1fr);gap:10px}.entry-source{grid-column:1/-1}.entry-line-total{align-self:end}.order-entry-form select,.order-entry-form input,.order-entry-form textarea{font-size:16px;height:44px;min-height:44px}.order-entry-form .entry-field{font-size:12px}.entry-price-origin{font-size:12px}.order-entry-form .dialog-footer{padding:12px 18px}.order-entry-form .order-summary{gap:12px;flex-wrap:wrap}.order-entry-form .order-summary strong{font-size:25px}}
/* Saved order status uses a full-height select rather than the native list box. */
#modal #order-status{display:block;box-sizing:border-box;width:100%;height:42px;min-height:42px;max-width:100%;margin:6px 0 0;padding:9px 36px 9px 12px;border:1px solid #c6b8d2;border-radius:7px;background-color:#fff;color:#302438;font:400 14px/1.4 var(--font);appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23654e78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:18px;cursor:pointer}
#modal .field-row:has(#order-status){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:end;margin:18px 0}
#modal .field-row:has(#order-status)>div{min-width:0}
#modal .field-row:has(#order-status) label.field{margin-top:0;font-size:13px}
#modal .field-row:has(#order-status) .btn{min-height:42px;white-space:nowrap;font-size:13px;padding:10px 14px}
#modal #order-status:focus-visible{outline:2px solid #9474ab;outline-offset:2px}
@media(max-width:650px){#modal #order-status{height:44px;min-height:44px;font-size:16px}#modal .field-row:has(#order-status){grid-template-columns:1fr;gap:10px}#modal .field-row:has(#order-status) .btn{min-height:44px;width:100%}}
