/* A compact parcel workspace: shipment details beside its item cards. */
dialog.order-dialog{max-width:960px;border-radius:16px}
#order-form .modal-header{padding:25px 28px 22px;background:#fff}
#order-form .modal-header h2{font-size:25px;font-weight:600;letter-spacing:-.7px}
#order-form .modal-header p{font-size:12px;color:#7a8599;margin-top:7px}
#order-form .modal-body{padding:0;background:#fff}
#order-form .order-workspace{display:grid;grid-template-columns:250px minmax(0,1fr)}
#order-form .order-parcel-panel{min-width:0;background:#f7f8fa;border-right:1px solid #e8ecf2;padding:25px 22px}
#order-form .order-goods-panel{min-width:0;padding:25px 28px 28px}
#order-form .order-panel-heading{display:flex;align-items:center;gap:10px;margin:0 0 22px;min-height:32px}
#order-form .order-panel-heading h3{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:0;color:var(--navy)}
#order-form .order-panel-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid #dfe5ee;background:#fff;border-radius:9px;color:var(--blue)}
#order-form .order-panel-icon svg{width:19px;height:19px}
#order-form .order-items-count{margin-left:auto;white-space:nowrap;color:#647491;font-size:11px;padding:4px 8px;border:1px solid #e5eaf1;border-radius:6px;font-variant-numeric:tabular-nums}
#order-form .order-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#order-form .order-form-field{min-width:0;position:relative;gap:5px;margin:0 0 16px}
#order-form .order-field-label{display:flex;align-items:center;gap:6px;position:relative;min-height:32px}
#order-form .order-field-label>label{min-width:0;font-size:12px;font-weight:500;color:#53637c;line-height:1.4}
#order-form .order-form-field input{min-height:46px;font-size:14px;padding:11px 12px;border:1px solid #dce3ec;background:white;border-radius:8px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
#order-form .order-form-field input:focus{border-color:#6f8dc4;box-shadow:0 0 0 3px #234ba60a}
#order-form .order-form-field input::placeholder{font-size:12px;color:#939fb1}
#order-form #order-track{letter-spacing:.35px;font-variant-numeric:tabular-nums}
#order-form .order-parcel-note{display:flex;align-items:flex-start;gap:8px;border-top:1px solid #e2e7ee;margin-top:24px;padding-top:17px;color:#738299}
#order-form .order-parcel-note svg{width:17px;height:17px;margin-top:1px}
#order-form .order-parcel-note p{font-size:11px;line-height:1.7;margin:0}
#order-form .order-item-card{min-width:0;border:1px solid #e3e8ef;border-radius:11px;padding:16px 17px 5px;background:#fff;margin-bottom:14px}
#order-form .order-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;min-height:32px}
#order-form .order-item-caption{display:flex;align-items:center;gap:9px}
#order-form .order-item-number{display:grid;place-items:center;width:28px;height:28px;background:#eef2f9;border-radius:7px;font-size:11px;font-weight:600;color:#607da9;font-variant-numeric:tabular-nums}
#order-form .order-item-heading h4{font-size:13px;font-weight:600;margin:0;color:#3d5272}
#order-form .order-item-heading .icon-btn{width:32px;height:32px;color:#8996aa;border-radius:7px}
#order-form .order-item-heading .icon-btn:hover{color:#b25959;background:#fff3f1}
#order-form .order-item-heading .icon-btn svg{width:18px;height:18px}
#order-form .order-item-card .order-form-row:last-child .form-field{margin-bottom:12px}
#order-form .order-field-help{display:block;flex-shrink:0;line-height:1}
#order-form .order-field-help>summary{display:grid;place-items:center;list-style:none;width:32px;height:32px;border:0;border-radius:7px;color:#8697af;cursor:pointer;line-height:1}
#order-form .order-field-help>summary::-webkit-details-marker{display:none}
#order-form .order-field-help>summary svg{width:16px;height:16px}
#order-form .order-field-help>summary:hover,#order-form .order-field-help[open]>summary{background:#edf2fa;color:var(--blue)}
#order-form .order-field-help>summary:focus-visible{outline:2px solid #7c9eea;outline-offset:2px}
#order-form .order-help-bubble{position:absolute;top:calc(100% + 4px);left:0;width:300px;max-width:100%;z-index:10;border:1px solid #dce4ef;border-radius:9px;background:#fff;padding:12px 14px;font-size:12px;font-weight:400;line-height:1.65;color:#536981;box-shadow:0 6px 22px #243d671a;overflow-wrap:anywhere}
#order-form .order-add-item-row{position:relative;display:flex;align-items:center;gap:7px;margin-top:16px}
#order-form .order-add-item{flex:1;justify-content:flex-start;padding:11px 13px;background:#f9fafc;border:1px dashed #cbd6e5;border-radius:8px;color:#54729d;white-space:normal;text-align:left;font-size:12px;line-height:1.6}
#order-form .order-add-item:hover{background:#f0f4fa;border-color:#9bb0ce}
#order-form .order-add-item svg{width:18px;height:18px}
#order-form .order-form-error{margin:0;padding:0 28px 18px;font-size:12px;line-height:1.6}
#order-form .order-form-error:empty{display:none}
#order-form .modal-footer{position:sticky;bottom:0;z-index:4;padding:17px 28px;background:#fff;box-shadow:0 -5px 14px #233e6503}
#order-form .modal-footer .btn{border-radius:8px;font-size:13px;padding:11px 17px}
@media(max-width:760px){
 dialog.order-dialog{max-width:620px}
 #order-form .order-workspace{grid-template-columns:minmax(0,1fr)}
 #order-form .order-parcel-panel{border-right:0;border-bottom:1px solid #e8ecf2;padding:22px 24px}
 #order-form .order-goods-panel{padding:23px 24px}
 #order-form .order-parcel-note{margin-top:8px;padding-top:14px}
 #order-form .order-panel-heading{margin-bottom:15px}
 #order-form .order-parcel-note p{font-size:12px}
}
@media(max-width:560px){
 dialog.order-dialog{width:calc(100% - 20px);max-height:94vh;border-radius:13px}
 #order-form .modal-header{padding:22px 19px 19px}
 #order-form .modal-header h2{font-size:23px}
 #order-form .order-parcel-panel,#order-form .order-goods-panel{padding:21px 18px}
 #order-form .order-item-card{padding:13px 13px 4px;border-radius:9px}
 #order-form .order-form-row{grid-template-columns:minmax(0,1fr);gap:0}
 #order-form .order-form-field input{font-size:16px;min-height:47px}
 #order-form .order-field-label>label{font-size:12px}
 #order-form .order-panel-heading h3{font-size:16px}
 #order-form .order-add-item{font-size:12px}
 #order-form .modal-footer{padding:15px 18px;gap:9px}
 #order-form .modal-footer .btn{font-size:12px;padding:10px 13px}
 #order-form .order-form-error{padding:0 18px 16px}
}
@media(prefers-reduced-motion:reduce){#order-form .order-form-field input{transition:none}}
