.orders-heading,.order-card-head,.order-main-actions,.compact-order-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.orders-heading{justify-content:space-between}
.new-order{padding:12px 16px}
.new-order label{margin:0}
.new-order input{padding:6px 8px}
.order-card{padding:14px 16px;margin:10px 0}
.order-card-head{justify-content:space-between;margin-bottom:8px}
.order-card h2{font-size:18px;margin:0 0 3px}
.order-status{font-size:13px;color:#087f83}
.order-main-actions button,.compact-orders-table button{padding:6px 8px;margin:2px;font-size:12px}
.compact-orders-table button.production-placed:disabled{opacity:1;background:#dbe4e8;color:#52636e;border-color:#c7d2d8;cursor:default}
.compact-orders-table{font-size:13px}
.compact-orders-table th,.compact-orders-table td{padding:6px 8px;vertical-align:middle}
.compact-orders-table th{white-space:nowrap;color:#536875}
.order-integration{border-top:1px solid #e3e9ee;margin-top:8px;padding-top:8px;color:#536875}
.order-edit-form{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;padding:10px;margin:8px 0;background:#f3f7f9;border:1px solid #d7e1e7;border-radius:8px}
.order-edit-form>b{align-self:center;margin-right:4px}
.order-edit-form p{flex-basis:100%;margin:0}
.order-muted{color:#607586;font-size:13px}
@media(max-width:800px){.order-card-head{align-items:flex-start}.compact-orders-table{min-width:850px}}
.orders-view-switch{display:inline-flex;gap:4px;padding:4px;background:#dfe7ec;border-radius:9px}.orders-view-switch button{margin:0;background:transparent;color:#294656;border-color:transparent}.orders-view-switch button.active{background:#087f83;color:white;box-shadow:0 1px 3px #9aacb6}.orders-filters{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;padding:10px 14px;margin:8px 0}.orders-filters>b{align-self:center;margin-right:4px}.orders-filters label{margin:0}.orders-filters input{padding:6px 8px}.orders-list-section{padding:8px;margin-top:10px}.orders-list-table{font-size:12px;min-width:1180px}.orders-list-table th,.orders-list-table td{padding:5px 7px;vertical-align:middle}.orders-list-table th{position:sticky;top:0;background:#eef3f6;color:#536875;white-space:nowrap;z-index:1}.orders-list-table td{white-space:nowrap}.orders-list-table td:nth-child(3){white-space:normal;min-width:130px}.orders-list-number button{padding:4px 6px;margin:0;background:none;color:#087f83;border:0;text-decoration:underline;font-weight:700}.orders-list-due{font-weight:600}.orders-list-table .production-placed:disabled{opacity:1;background:#dbe4e8;color:#52636e;border-color:#c7d2d8}
main:has(.orders-list-table){max-width:none;width:100%;box-sizing:border-box;padding:14px}.orders-sort{display:flex;align-items:flex-end;padding:8px 12px;margin:8px 0}.orders-sort label{display:flex;align-items:center;gap:8px}.orders-sort select{min-width:245px;padding:6px 8px}.orders-list-section{padding:6px;overflow:visible}.orders-list-container{max-height:70vh;overflow:auto;border:1px solid #d7e1e7;border-radius:8px}.orders-list-table{width:100%;min-width:0;table-layout:fixed;font-size:11px}.orders-list-table th,.orders-list-table td{padding:5px 3px;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center}.orders-list-table th:nth-child(1){width:6%}.orders-list-table th:nth-child(2){width:11%}.orders-list-table th:nth-child(3){width:13%}.orders-list-table th:nth-child(4){width:8%}.orders-list-table th:nth-child(5){width:7%}.orders-list-table th:nth-child(6){width:8%}.orders-list-table th:nth-child(7){width:8%}.orders-list-table th:nth-child(8){width:7%}.orders-list-table th:nth-child(9){width:7%}.orders-list-table th:nth-child(10){width:10%}.orders-list-table th:nth-child(11){width:15%}.orders-list-table td.orders-list-number,.orders-list-table td.orders-list-client,.orders-list-table td.orders-list-status{vertical-align:middle;background:#f7fafb}.orders-list-table tr.orders-list-group-start td{border-top:7px solid #d7e1e7}.orders-list-table tbody tr:first-child td{border-top-width:1px}.orders-list-table button{max-width:100%;padding:5px 4px;margin:1px;font-size:11px;white-space:normal}.orders-list-client{font-weight:600}.orders-list-status{color:#087f83;font-weight:600}@media(max-width:1100px){.orders-list-table{font-size:10px}.orders-list-table button{font-size:10px;padding:4px 2px}}
.orders-list-empty td{background:#fafcfd;color:#607586}.orders-list-table thead th{position:sticky;top:0;z-index:4;box-shadow:inset 0 -1px #aebdc7}

.orders-list-table .orders-list-number button{font-size:14px;font-weight:600;line-height:1.2}.orders-list-table .orders-list-client{font-size:13px;line-height:1.25}
