.order-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:30px 0}.order-intro h2{font-size:30px;margin:8px 0}.order-intro p,.order-live{color:var(--muted);font-size:14px}.order-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0 10px}.order-filters>input{flex:1;min-width:210px}.order-filters label{font-size:12px}.order-filters input,.order-filters select{min-height:42px;border:1px solid var(--line);border-radius:6px;padding:9px 12px;background:white}.order-list{overflow:hidden}.order-list table{min-width:730px}.order-list small{display:block;color:var(--muted);margin-top:5px}.order-pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:12px 24px}.order-status{display:inline-block;font-size:12px;font-weight:700;border-radius:30px;padding:7px 11px;background:#edf0e9;white-space:nowrap}.order-status.issued,.order-status.production{background:#fff2ce;color:#765722}.order-status.ready,.order-status.shipped,.order-status.completed{background:#e4f0df;color:#29543c}.order-status.cancelled{background:#f9e9e5;color:#8a3934}.order-status.draft{background:#eaf0f3;color:#45606c}.order-editor,.order-detail{margin-top:24px}.order-editor form{padding:0 26px 26px}.order-editor h3{font-size:18px;margin:32px 0 20px}.order-editor input,.order-editor select,.order-editor textarea,.order-documents input,.order-documents select,.order-operations input,.order-operations select,.order-operations textarea{border:1px solid var(--line);border-radius:6px;background:white;padding:10px 12px;min-width:0;width:100%;font:inherit}.order-editor label,.order-documents label,.order-operations label{display:flex;flex-direction:column;gap:8px;color:var(--ink);font-size:14px;font-weight:600}.order-editor .editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.order-editor .wide{grid-column:1/-1}.order-item-title{display:flex;align-items:center;justify-content:space-between}.order-items-edit table{min-width:1250px}.order-items-edit th{white-space:nowrap}.order-items-edit td{padding:8px;vertical-align:top}.order-items-edit td:nth-child(3){min-width:260px}.order-items-edit input{min-width:110px}.order-items-edit input[type=date]{min-width:155px}.order-items-edit textarea{min-width:250px}.order-totals-input{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}.order-calculation{text-align:right;font-weight:700;font-size:20px;color:#264e3e}.order-detail-body{padding:0 26px 26px}.order-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.order-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:#eff3ea;border-radius:8px;padding:22px;margin:24px 0}.order-summary small,.order-summary strong{display:block}.order-summary strong{font-size:20px;margin-top:8px}.order-summary small{font-size:12px;color:#607368}.order-detail td{max-width:450px;white-space:pre-wrap}.order-detail td small{display:block;color:var(--muted);margin-top:5px}.order-addresses{margin-top:24px}.order-addresses summary{cursor:pointer;font-weight:700}.order-addresses dl{display:grid;grid-template-columns:1fr 1fr;gap:18px}.order-addresses dt,.order-operations dt{font-size:12px;font-weight:700;color:var(--muted)}.order-addresses dd,.order-operations dd{margin:6px 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}.order-notifications,.order-warning{background:#f4f5eb;padding:18px;border-radius:8px;margin:18px 0;font-size:13px}.order-notifications p{margin:6px 0;color:var(--muted)}.order-warning{border:1px solid #e3d8ae;color:#755c27}.order-operation-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.order-documents,.order-operations,.order-history{padding:26px}.order-documents h3,.order-operations h3,.order-history h3{margin:0 0 22px}.order-documents article{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.order-documents article strong{overflow-wrap:anywhere}.order-documents small{display:block;color:var(--muted);margin:6px 0}.order-documents form,.order-operations form{display:flex;flex-direction:column;gap:18px;margin-top:24px}.order-history{margin-top:24px}.order-history article{display:flex;gap:18px;padding:14px 0;border-left:1px solid var(--line);margin-left:6px}.order-history article>i{width:9px;height:9px;flex-shrink:0;background:#879e72;border-radius:50%;margin-left:-5px;margin-top:6px}.order-history article small{display:block;color:var(--muted);margin:7px 0}.order-history pre{white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;background:#f4f6f1;padding:16px;font-size:12px}.order-history summary{cursor:pointer;font-size:12px;color:var(--muted)}@media(max-width:800px){.order-operation-grid,.order-summary,.order-editor .editor-grid,.order-totals-input,.order-addresses dl{grid-template-columns:1fr}.order-intro{align-items:start;flex-direction:column}.order-editor form,.order-detail-body{padding:0 16px 16px}.order-documents,.order-operations,.order-history{padding:18px}}

.order-change-list{padding-left:20px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.order-change-list li{margin:8px 0;white-space:pre-wrap}

.order-intake{margin:24px 0}.order-drop{margin:0 26px 24px;padding:48px 24px;text-align:center;border:2px dashed #adc5ad;border-radius:14px;background:linear-gradient(145deg,#f6f9f2,#edf4ec)}.order-drop.dragover{background:#e1eedc;border-color:#356d4f}.order-drop h3{font-size:26px;margin:20px 0 12px}.order-drop p{max-width:530px;margin:12px auto 24px;line-height:1.6;color:#526b5c}.order-file-icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#dcebd5;color:#2d6146;font-size:36px}.order-intake-footer{margin:0 26px 26px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:13px}.order-intake>.order-warning{margin:18px 26px}.order-import-review{margin:0 26px 26px;border:1px solid #cbdcc5;padding:22px;border-radius:10px;background:#f5f8f1;font-size:14px;line-height:1.5}.order-import-file{display:flex;justify-content:space-between;align-items:center;gap:18px}.order-import-file strong,.order-import-file small{display:block;overflow-wrap:anywhere}.order-import-file strong{font-size:17px;margin:8px 0 5px}.order-import-file small{color:var(--muted)}.order-import-review details summary{cursor:pointer;color:#456453;font-size:13px}.order-import-review pre{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:white;padding:16px;font-size:12px}.order-import-review #order-import-missing{font-weight:700;color:#315b40}.order-editor [data-missing]{border:2px solid #bd963f;background:#fffaf0}.order-editor .editor-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}@media(max-width:800px){.order-import-file,.order-intake-footer{align-items:flex-start;flex-direction:column}.order-drop{margin:0 16px 20px;padding:30px 16px}.order-import-review{margin:0 16px 20px;padding:16px}.order-drop h3{font-size:22px}}

.order-simple .order-drop{padding:24px;margin-bottom:26px}.order-simple .order-drop h3{font-size:21px;margin:0 0 16px;overflow-wrap:anywhere}.order-simple .order-drop p{font-size:13px;margin:16px auto 0}.order-simple form{padding:0 26px 26px}.order-simple fieldset{border:0;margin:0;padding:0;min-width:0}.order-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.order-simple-grid .wide{grid-column:1/-1}.order-simple label{display:flex;flex-direction:column;gap:9px;font-size:15px;font-weight:600}.order-simple input,.order-simple select{width:100%;min-width:0;padding:12px;border:1px solid var(--line);background:white;border-radius:7px;font:inherit;min-height:48px}.order-simple-total{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;background:#edf4e9;border-radius:9px;margin-top:26px}.order-simple-total span{font-size:14px;color:var(--muted)}.order-simple-total strong{font-size:25px;white-space:nowrap}.order-simple .editor-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:26px}.order-simple .editor-actions p{font-size:13px;color:var(--muted);max-width:400px}.order-simple .editor-actions button{white-space:nowrap}@media(max-width:800px){.order-simple-grid{grid-template-columns:1fr}.order-simple form{padding:0 16px 20px}.order-simple-total,.order-simple .editor-actions{flex-direction:column;align-items:stretch}.order-simple .editor-actions button{white-space:normal}}
