.order-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.order-heading h1 { font-size:26px; margin:0; }
.order-entry,.order-review,.order-records { padding:24px 0; border-top:1px solid #dce4ed; }
.order-entry h2,.order-review h2,.order-records h2 { margin:0 0 20px; font-size:20px; }
.order-entry form { max-width:1050px; }
.order-entry label,.order-review label { display:flex; flex-direction:column; gap:8px; min-width:0; margin-bottom:16px; font-size:14px; }
.order-entry input,.order-entry select,.order-entry textarea,.order-review input,.order-review select { width:100%; min-width:0; padding:10px 12px; border:1px solid #bdcddd; border-radius:6px; background:#fff; font:inherit; color:#16334b; box-sizing:border-box; }
.order-entry textarea { resize:vertical; }
.order-entry button,.order-review button { min-height:40px; }
.order-lookup { display:flex; gap:12px; align-items:flex-end; }
.order-lookup label { flex:1; max-width:500px; margin:0; }
.order-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; }
.order-customer { display:flex; flex-wrap:wrap; gap:10px 20px; padding:18px 0; color:#276444; overflow-wrap:anywhere; }
.order-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.order-facts dt { color:#617487; font-size:13px; margin-bottom:6px; }
.order-facts dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.order-preview:not(:empty) { border-left:3px solid #29734a; padding:4px 16px; margin-top:24px; background:#eef8f3; }
.order-conflict { border:1px solid #dce4ed; border-radius:6px; padding:18px; margin-bottom:18px; background:#fff; }
.order-conflict h3 { font-size:17px; margin:0 0 16px; overflow-wrap:anywhere; }
.order-conflict form { margin-top:16px; }
.order-review table { min-width:760px; }
.order-records table { min-width:1050px; }
.order-records td,.order-review td { overflow-wrap:anywhere; }
.order-review blockquote { min-width:240px; max-width:420px; white-space:pre-wrap; }
.order-evidence-dialog { width:min(760px,calc(100% - 32px)); max-height:90vh; overflow:auto; border:1px solid #c5d3df; border-radius:8px; padding:24px; color:#16334b; }
.order-evidence-dialog::backdrop { background:#0006; }
.order-evidence-dialog form { text-align:right; }
.order-evidence-dialog img { width:100%; height:auto; }
.order-evidence-dialog blockquote { white-space:pre-wrap; overflow-wrap:anywhere; margin:20px 0; }
.order-error { overflow-wrap:anywhere; }
.order-workbench-entry { display:flex; justify-content:flex-end; margin:0 0 16px; }
@media(max-width:600px) {
 .order-heading { align-items:flex-start; } .order-heading h1 { font-size:22px; }
 .order-fields { grid-template-columns:minmax(0,1fr); }
 .order-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .order-lookup { align-items:stretch; flex-direction:column; }
 .order-conflict { padding:12px; } .order-evidence-dialog { padding:16px; }
}
