.order-workspace{max-width:1180px;margin:0 auto}.order-compact{color:#30382a}.order-compact .order-back{padding:4px 0;min-height:32px}.compact-order-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:12px 0 22px}.compact-order-header>div:first-child{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.compact-order-header h1{font-size:30px;letter-spacing:-1px;margin:0;line-height:1.2}.compact-order-header>div>span{font-size:14px;color:#6c7465}.order-header-actions{display:flex;align-items:center;gap:10px;flex:none}.order-header-actions button{font-size:14px;min-height:44px;padding:12px 18px}.order-sheet{padding:24px 28px;background:linear-gradient(125deg,#fffefa,#fff 65%,#f9fbf5);border:1px solid #e4e7db;border-radius:22px;box-shadow:0 8px 28px #35451c0b}.order-info-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;padding-bottom:22px}.order-sheet section{min-width:0}.order-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.order-sheet h2{font-size:19px;line-height:1.3;margin:0;letter-spacing:-.3px}.order-info-grid h2{color:#707867}.order-info-grid p{font-size:16px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.order-info-grid .recipient-name,.order-info-grid .carrier-name{font-size:23px;font-weight:750;line-height:1.3;margin:0 0 12px}.order-info-grid header button{font-size:13px;padding:2px 0;min-height:30px}.order-muted,.package-line{color:#6c7465}.shipment-status{display:flex;align-items:center;gap:10px}.shipment-status>span{width:9px;height:9px;flex:none;border-radius:50%;background:#b8ae88}.shipment-status.is-created>span{background:#8bb942}.compact-tracking{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;margin-top:12px}.compact-tracking>span{color:#6c7465}.compact-tracking button{display:flex;align-items:center;gap:8px;min-height:30px;padding:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-size:14px}.compact-tracking svg{width:17px;height:17px;flex:none}.order-delivery-actions{display:flex;gap:10px;flex-wrap:wrap}.order-delivery-actions:empty{display:none}.order-delivery-actions button{margin-top:12px;font-size:13px}.order-goods{position:relative;border-top:1px solid #e0e4d7;padding:18px 0}.order-items{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.order-items th,.order-items td{padding:12px 10px;border:0;text-align:right;vertical-align:top;overflow-wrap:anywhere}.order-items th{background:#edf3df;color:#39432e;font-size:13px;font-weight:650}.order-items th:first-child,.order-items td:first-child{width:46%;text-align:left}.order-items th:nth-child(2){width:14%}.order-items td{border-bottom:1px solid #edf0e7}.order-items th:first-child{border-radius:9px 0 0 9px}.order-items th:last-child{border-radius:0 9px 9px 0}.package-line{font-size:13px;line-height:1.6;margin:12px 0 0}.order-payment-strip{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid #e0e4d7;padding-top:18px}.order-breakdown{font-size:13px;flex:1;line-height:1.6}.order-breakdown small{display:block}.order-grand{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:650}.order-grand strong{font-size:25px;white-space:nowrap}.order-pay-state{font-size:13px;color:#8a652b;background:#fff1d8;padding:7px 12px;border-radius:10px}.order-pay-state.is-paid{background:#e9f3d8;color:#4d7026}.order-header-actions .danger{border:1px solid #c98c80;background:#fff5f2;color:#a4493c;padding:10px 18px;min-height:42px;font-size:14px;box-shadow:none;border-radius:12px}.order-more{position:relative}.order-more>summary{list-style:none;cursor:pointer;font-size:25px;line-height:40px;text-align:center;width:40px;border:1px solid #e0e4d7;border-radius:10px;background:#fff}.order-more>summary::-webkit-details-marker{display:none}.order-more>div{position:absolute;z-index:5;right:0;top:46px;min-width:230px;background:#fff;border:1px solid #e0e4d7;box-shadow:0 8px 24px #26331715;border-radius:12px;padding:8px}.order-more button{white-space:nowrap}.order-more>summary:focus-visible,.order-editor>summary:focus-visible{outline:2px solid #8eae60;outline-offset:3px}.order-editor>summary{position:absolute;right:0;top:18px;cursor:pointer;font-size:13px;font-weight:650;color:#4c632e;list-style:none;padding:2px 0}.order-editor>summary::-webkit-details-marker{display:none}.order-editor form{margin-top:16px;border-top:1px solid #e0e4d7;padding-top:16px}.order-editor fieldset{border:0;padding:0;min-width:0}.order-editor .detail-item{grid-template-columns:2fr 1fr 1fr 1fr auto;gap:10px}.order-editor .form-grid{margin:16px 0}.order-editor button[type=submit]{margin-top:14px}.order-test{border:1px solid #e0e4d7;border-radius:12px;padding:12px}.order-test>summary{cursor:pointer;font-size:13px;color:#6c7465}.order-test label{margin-top:14px}.order-compact [hidden]{display:none!important}
@media(max-width:1050px){.compact-order-header{align-items:flex-start}.compact-order-header>div:first-child{gap:8px}.compact-order-header h1{font-size:25px}.order-info-grid{gap:28px}.order-grand strong{font-size:22px}.order-sheet{padding:22px}.order-editor .detail-item{grid-template-columns:1fr 1fr}.order-editor .detail-item>label:first-child{grid-column:1/-1}}
@media(max-width:650px){.compact-order-header{flex-wrap:wrap;margin:10px 0 16px;gap:14px}.compact-order-header>div:first-child{display:block}.compact-order-header h1{font-size:24px;margin-bottom:6px}.order-header-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 40px}.order-header-actions>.danger{grid-column:1;grid-row:2}.order-header-actions>.order-more{grid-column:2;grid-row:1}.order-header-actions>button{width:100%}.order-header-actions>.badge{align-self:center}.order-info-grid{grid-template-columns:1fr;gap:20px;padding-bottom:20px}.order-info-grid>section+section{border-top:1px solid #e0e4d7;padding-top:18px}.order-sheet{padding:18px;border-radius:18px}.order-info-grid .recipient-name,.order-info-grid .carrier-name{font-size:21px}.order-sheet h2{font-size:18px}.order-info-grid p{font-size:15px}.order-items th,.order-items td{padding:10px 4px;font-size:12px}.order-items th:first-child,.order-items td:first-child{width:40%}.order-items th:nth-child(2){width:16%}.order-payment-strip{gap:12px}.order-breakdown{flex-basis:100%}.order-grand{flex:1;font-size:16px}.order-grand strong{font-size:22px}.order-header-actions .danger{width:100%}.order-editor button[type=submit]{white-space:normal}.package-line{font-size:13px}}

.order-header-actions>:is(.order-download,.danger){box-sizing:border-box;width:190px;height:46px;min-height:46px;padding:0 12px;border-radius:12px;border-width:1px;border-style:solid;font-size:14px;font-weight:700;line-height:1.2;box-shadow:none}.order-header-actions>.order-download{border-color:#bdd79e;background:linear-gradient(#eef8e3,#d5eac1);color:#314725}.order-header-actions>.danger{border-color:#d8b1a8;background:linear-gradient(#fff9f6,#f5e4df);color:#963f35}.order-header-actions>.order-download:hover{background:#d2e8ba}.order-header-actions>.danger:hover{background:#f1d8d1}@media(max-width:650px){.order-header-actions>:is(.order-download,.danger){width:100%}}
.payment-balance{display:flex;align-items:center;gap:16px 28px;flex-wrap:wrap;padding-top:16px;margin-top:16px;border-top:1px solid #e0e4d7;font-size:15px;line-height:1.5}.payment-balance span{display:flex;gap:8px;flex-wrap:wrap}.payment-balance strong{white-space:nowrap}.payment-balance p{flex-basis:100%;margin:0;color:#795321}.amendment-actions{margin-top:12px}.amendment-actions .note{font-size:14px;line-height:1.5}.amendment-actions button{white-space:normal}.form-error{color:#a4493c}#amendment-form .detail-item{grid-template-columns:2fr 1fr 1fr 1fr auto}#amendment-form>button[type=submit]{margin-top:18px;white-space:normal}@media(max-width:650px){#amendment-form .detail-item{grid-template-columns:1fr 1fr}#amendment-form .detail-item>label:first-child{grid-column:1/-1}.payment-balance{align-items:flex-start;flex-direction:column;gap:8px}}
.receipt-history{flex-basis:100%;font-size:14px}.receipt-history summary{cursor:pointer;color:#4c632e;font-weight:600}.receipt-history p{margin:6px 0;color:#30382a}
.amendment-locations{display:flex;flex-direction:column;gap:8px;grid-column:1/-1}.amendment-locations:empty{display:none}.amendment-locations button{text-align:left;white-space:normal}
