.order-document-modal{max-width:1380px;width:calc(100vw - 24px);height:calc(100dvh - 24px);background:#f4f6f5}
.order-operation-switch-notice{margin:0;padding:7px 9px;border:1px solid #e3d8b8;border-radius:4px;background:#fff9eb;color:#785f25;font-size:12px;line-height:1.6}
.order-document-modal .modal-header{padding:10px 16px;min-height:50px;border-bottom:1px solid #d9e2dd}
.order-document-modal .modal-header h2{font-size:16px}.order-document-modal .modal-header p{font-size:12px}
.order-document-modal .booking-document-scroll{padding:10px 12px;scroll-padding:10px}
.order-editor{display:grid;gap:8px;color:#233e33}.order-block{border:1px solid #d9e2dd;background:#fff;border-radius:4px;overflow:hidden}
.order-section-title{display:flex;align-items:center;gap:8px;margin:0;padding:6px 10px;background:#eef4f1;border-bottom:1px solid #d9e2dd;font-size:12px;line-height:18px;font-weight:600}
.order-section-title>b{font-size:10px;color:#688776;font-weight:500}.order-section-title>small{margin-left:auto;font-size:11px;font-weight:400;color:#6a7c72}
.order-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 10px;padding:8px 10px}
.order-field{display:flex;flex-direction:column;min-width:0;gap:3px;margin:0;font-size:12px}.order-field>span:first-child{display:flex;align-items:center;gap:4px;min-height:16px;line-height:16px;color:#52665b}.order-field>span>small{margin-left:auto;font-size:10px;color:#7b8d82;font-weight:400}
.order-field em{color:#ad6335;font-style:normal}.order-field input,.order-field select,.order-field textarea{width:100%;min-width:0;border:1px solid #cfdcd3;border-radius:3px;background:#fff;color:#203d2e;padding:4px 7px;font:13px/1.4 var(--font);box-shadow:none;outline:none;margin:0}
.order-field input,.order-field select{height:29px}.order-field textarea{min-height:29px;resize:vertical}.order-field input:focus,.order-field select:focus,.order-field textarea:focus{border-color:#21846a;box-shadow:0 0 0 2px #21846a12}.order-field input[readonly]{background:#f6f8f7;color:#74857b}.order-field input::placeholder,.order-field textarea::placeholder{color:#a0ada5;font-size:12px}
.order-field .port-control{display:block;min-width:0}.order-field .port-control input{padding-right:26px;font-size:12px}.order-field .port-picker-toggle{height:27px;width:25px;top:1px;right:1px}
.order-editor .span-2{grid-column:span 2}.order-editor .span-3{grid-column:span 3}.order-editor .span-4{grid-column:span 4}
.order-inline-quantity{display:grid;grid-template-columns:minmax(0,1fr) minmax(64px,.55fr) auto;gap:8px;align-items:end;min-width:0}.order-inline-quantity[data-order-shipment=LCL]{grid-template-columns:1fr}.order-inline-quantity output{font-size:12px;font-weight:600;white-space:nowrap;line-height:29px;color:#267059}
.order-services{min-width:0;margin:0;padding:0;border:0;display:flex;flex-direction:column;justify-content:space-between}.order-services legend{font-size:12px;color:#52665b;line-height:16px;margin-bottom:3px;padding:0}.order-services legend small{margin-left:8px;font-size:10px;color:#7b8d82}.order-services em{font-style:normal;color:#ad6335}.order-services>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px 17px;min-height:29px;padding:4px 8px;border:1px solid #cfdcd3;border-radius:3px}.order-services label{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;cursor:pointer}.order-services input{accent-color:#18765d;width:14px;height:14px;margin:0}
.order-document-fields textarea{min-height:58px}.order-document-fields textarea[name=shipper],.order-document-fields textarea[name=consignee],.order-document-fields textarea[name=notifyParty]{height:67px}
.order-rules{background:#fff;border:1px solid #d9e2dd;border-radius:4px;padding:8px 10px;font-size:12px}.order-rules summary{cursor:pointer;font-weight:600}.order-rules summary span{margin-left:10px;color:#7a8d80;font-size:11px;font-weight:400}.order-rules p{font-size:11px;color:#6b8073;margin:8px 0}.order-rule-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.order-rule-options label{display:flex;gap:5px;align-items:center;font-size:12px}.order-rule-options input{accent-color:#19775f}.order-rule-footer{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.order-rule-footer .button{height:28px;font-size:12px}.order-rule-footer [data-rules-status]{color:#28775e}
.order-document-modal .modal-footer{padding:8px 16px;background:#fff;gap:8px;min-height:48px}.order-document-modal .modal-footer .button{height:32px;font-size:12px}.order-document-modal .modal-footer>span{font-size:11px}.order-document-modal .form-error{flex:none}
.detail-order-overview .detail-section{padding:12px 20px}.detail-order-overview .detail-section h3{margin-bottom:10px}.detail-order-overview .detail-grid{gap:10px 16px;grid-template-columns:repeat(3,minmax(0,1fr))}.detail-order-overview .detail-kv dt{font-size:11px;margin-bottom:4px}.detail-order-overview .detail-kv dd{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.detail-order-overview .detail-section:first-child{background:#f5f8f6}.detail-order-overview .detail-parties{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1050px){.order-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.order-editor .span-3{grid-column:span 2}.order-rule-options{grid-template-columns:repeat(4,minmax(0,1fr))}.order-field>span>small{display:none}}
@media(max-width:650px){.order-document-modal{width:100vw;height:100dvh;border-radius:0}.order-document-modal .booking-document-scroll{padding:6px}.order-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.order-editor .span-3,.order-editor .span-4{grid-column:span 2}.order-rule-options{grid-template-columns:repeat(2,minmax(0,1fr))}.order-section-title>small{display:none}.order-document-modal .modal-footer>span{display:none}.order-rules summary span{display:block;margin:5px 0}.detail-order-overview .detail-grid{grid-template-columns:1fr 1fr}.detail-order-overview .detail-parties{grid-template-columns:1fr}}

.order-document-modal .order-rules-shortcut{margin-left:auto;height:28px;padding:0 10px;font-size:12px;white-space:nowrap;flex:none}.order-document-modal .modal-header{gap:10px}.order-document-modal .modal-header>div{flex:1}
.order-identity-line{display:flex;align-items:center;gap:8px;white-space:nowrap}.order-row-edit{flex:none;color:var(--green);font-size:11px;padding:3px 5px;border:1px solid #d5e3db;border-radius:3px;line-height:16px}.order-row-edit:hover{background:#eaf3ec}
.order-event-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px;margin:5px 0 8px;font-size:11px;color:#748577}.order-event-meta time{margin:0;color:inherit;font-size:11px}
.order-boxes{padding:0 10px 10px}.order-box-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 0 7px;font-size:12px}.order-box-heading>span{color:#728579;font-size:11px;flex:1}.order-boxes button{border:1px solid #cfddd4;background:#f5f9f6;border-radius:3px;padding:4px 7px;color:#28765d;font:inherit;cursor:pointer}.order-boxes button[hidden]{display:none}.order-boxes [data-box-status]{font-size:11px;color:#527463;margin:6px 0 0}.order-boxes [data-box-status]:empty{display:none}
.box-table-wrap{max-width:100%;overflow:auto}.box-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.box-table th,.box-table td{border:1px solid #dce5df;padding:5px;vertical-align:middle;text-align:left}.box-table thead th{background:#f0f5f2;color:#536b5d;font-weight:500}.box-table th:first-child{width:40px;text-align:center}.box-table th:nth-child(2){width:90px}.box-table th:nth-child(6),.box-table th:nth-child(7){width:12%}.box-table:not(.box-readonly) th:last-child{width:55px}.box-table input,.box-table select{width:100%;min-width:0;min-height:29px;padding:4px 5px;border:1px solid #cfdcd3;border-radius:3px;background:#fff;color:#203d2e;font:12px/1.4 var(--font)}.box-table input:focus,.box-table select:focus{outline:2px solid #21846a40;border-color:#21846a}.box-mobile-label{display:none}.box-table .box-excess{background:#fff1e6}.box-readonly td{overflow-wrap:anywhere}.box-legacy{margin-top:9px}.box-legacy-text{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.box-legacy[hidden]{display:none}
@media(max-width:650px){.order-box-heading>span{flex-basis:100%}.box-table,.box-table tbody,.box-table tr,.box-table td{display:block;width:auto}.box-table thead{display:none}.box-table tr{display:grid;grid-template-columns:1fr 1fr;margin:0 0 8px;border:1px solid #dce5df;border-radius:4px;padding:4px}.box-table td,.box-table th{border:0;padding:4px}.box-table th:first-child{grid-column:1/-1;width:auto;text-align:left;color:#527463}.box-table tbody th:first-child:before{content:'第 '}.box-table tbody th:first-child:after{content:' 箱'}.box-mobile-label,.box-readonly td:before{display:block;font-size:11px;color:#6b8073;margin-bottom:3px}.box-readonly td:before{content:attr(data-label)}.box-table td:last-child:has(button){grid-column:1/-1;text-align:right}.order-boxes{padding:0 8px 8px}}
.order-change-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.5}.order-change-table th,.order-change-table td{padding:6px 8px;border:1px solid #dce5df;text-align:left;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}.order-change-table th{font-weight:500;color:#51675b}.order-change-table thead th{background:#eef4f1}.order-change-table th:first-child{width:24%}.order-change-table td:last-child{background:#f6faf7;color:#205f48}.receipt-change-note{padding:7px 9px;margin:0 0 10px;background:#eef5f0;color:#4d705c;font-size:12px;line-height:1.5}
@media(max-width:650px){.order-change-table th,.order-change-table td{padding:5px;font-size:11px}.event-timeline{padding-left:5px}.event{padding-left:13px}}
