.orders-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px 0;border-bottom:1px solid #d8dde3}
.orders-filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;min-width:120px}
.orders-filters input,.orders-filters select{height:32px;padding:5px 8px;border:1px solid #bdc6cc;border-radius:3px;background:white;color:#26333b;max-width:100%}
.orders-filters .orders-check{flex-direction:row;align-items:center;min-height:32px}
.orders-check input{height:16px;width:16px}
.orders-filters button{min-height:32px}.orders-filters svg{width:16px;height:16px}
.orders-summary{padding:16px 0;font-size:13px}
#ordersError{padding:12px;background:#fff4dc;color:#72450b;margin:8px 0}
.orders-table{width:100%;border-collapse:collapse;font-size:13px;min-width:880px}
.orders-table th,.orders-table td{padding:10px 8px;border:1px solid #dce1e5;text-align:left}
.orders-table th{background:#e9edf0}.orders-table tr:nth-child(even){background:#f8fafb}
.orders-table td:nth-child(n+4):nth-child(-n+7){text-align:right;font-variant-numeric:tabular-nums}
.orders-pager{display:flex;align-items:center;gap:14px;padding:16px 0}
@media(max-width:720px){.orders-filters label{flex:1 1 140px;min-width:0}.orders-summary{line-height:1.7}}
.orders-workspace{min-width:0}
.orders-main-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px 0;border-bottom:1px solid #d4dce2}
.orders-warning-square{position:relative}.orders-warning-square>span{position:absolute;left:11px;top:7px;font-size:11px;line-height:16px;color:#a64040}
.orders-main-toolbar button,.orders-indicators button,.orders-main-toolbar summary,.orders-quick summary{height:32px;min-width:32px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid #c4cdd3;border-radius:3px;background:#f8fafb;color:#587080;padding:5px;cursor:pointer;box-sizing:border-box}
.orders-main-toolbar svg,.orders-indicators svg,.orders-quick svg{height:16px;width:16px;flex-shrink:0}
.orders-main-toolbar button:disabled,.orders-indicators button:disabled{opacity:.45;cursor:not-allowed}
.order-tool-unavailable{display:inline-flex;cursor:help}.orders-add button{padding:5px 10px;background:#2789b9;color:white}
.orders-toolbar-spacer{flex:1 1 20px}.orders-indicators{display:flex;flex-wrap:wrap;gap:5px}.order-problem-indicator svg{color:#a64040}
.orders-presets,.orders-quick{position:relative}.orders-main-toolbar summary,.orders-quick summary{list-style:none}
.orders-presets-menu,.orders-quick>div{position:absolute;right:0;top:100%;z-index:20;width:280px;max-width:85vw;background:white;border:1px solid #c4cdd3;box-shadow:0 4px 12px #0002;padding:12px;box-sizing:border-box;font-size:13px}
.orders-presets-menu form{display:grid;gap:8px;margin-top:10px}.orders-presets-menu input{min-width:0;width:100%;box-sizing:border-box;padding:6px;border:1px solid #c4cdd3}
.orders-preset-row{display:flex;gap:4px}.orders-preset-row button:first-child{flex:1;text-align:left;justify-content:start;height:auto;overflow-wrap:anywhere;min-width:0}
.orders-quick label{display:flex;align-items:center;gap:8px;padding:5px}.orders-quick input{width:16px;height:16px}
.orders-divider[hidden],.orders-status-strip button[hidden]{display:none!important}
.orders-actions{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:12px}
.orders-actions button{width:32px;height:30px;display:grid;place-items:center;border:1px solid #bdc6cc;border-radius:3px;background:#f7f8f9;cursor:pointer}
.orders-actions button:disabled{opacity:.4;cursor:default}.orders-actions svg{width:16px;height:16px}
.orders-workspace .order-selection{width:30px;min-width:30px;text-align:center!important}
.orders-workspace #ordersRows td:nth-child(3),.orders-workspace #ordersRows td:nth-child(4),.orders-workspace #ordersRows td:last-child{text-align:left}
.orders-workspace #ordersRows td:nth-child(n+5):nth-child(-n+8),.orders-workspace #ordersRows td:nth-child(10){text-align:right}
.order-selection input{width:16px;height:16px}
.order-tag{font-size:12px;border:1px solid #b5c7d3;border-radius:3px;padding:2px 5px;margin:2px;background:#eaf2f7;color:#235775;cursor:pointer;max-width:220px;overflow-wrap:anywhere;white-space:normal}
.orders-tag-dialog{width:420px;max-width:calc(100vw - 32px);border:1px solid #bdc6cc;border-radius:6px;padding:20px;color:#26333b}
.orders-tag-dialog::backdrop{background:#0005}.orders-tag-dialog h2{font-size:18px;margin:0 0 14px}
.orders-tag-dialog label{display:grid;gap:8px;font-size:13px}.orders-tag-dialog input{height:34px;border:1px solid #bdc6cc;padding:6px;min-width:0;width:100%;box-sizing:border-box}
.orders-tag-dialog footer{display:flex;justify-content:end;gap:8px}.orders-tag-dialog button{padding:7px 12px;border:1px solid #bdc6cc;border-radius:3px;background:#f5f6f7;cursor:pointer}
.orders-tag-dialog [type=submit]{background:#2789b9;color:white}.orders-tag-dialog [role=alert]{color:#a62722;font-size:13px}
.orders-status-strip{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #dce1e5;font-size:12px}
.orders-status-strip button{font:inherit;color:#31434e;background:#f4f6f7;border:1px solid #c2ccd3;border-radius:3px;padding:5px 7px;cursor:pointer}
.orders-status-strip button[aria-pressed=true]{background:#dcecf7;border-color:#368ac0;color:#16547c}
.orders-status-strip b{display:inline-block;min-width:18px;margin-left:3px;padding:1px 4px;background:#e0e5e9;border-radius:3px;font-variant-numeric:tabular-nums}
.orders-columns{position:relative;margin-left:auto}
.orders-columns summary{cursor:pointer;list-style:none;border:1px solid #bdc6cc;border-radius:3px;padding:6px 8px;background:#f5f6f7}
.orders-columns>div{position:absolute;right:0;top:100%;background:white;border:1px solid #bdc6cc;box-shadow:0 4px 12px #0002;z-index:10;padding:10px;min-width:180px}
.orders-columns label{flex-direction:row!important;align-items:center;padding:4px;white-space:nowrap}
.orders-columns input{width:16px;height:16px}
.orders-workspace .orders-top-pane{resize:none!important;border-bottom:1px solid #c4ccd2!important}
.orders-divider{height:18px;display:flex;align-items:center;justify-content:center;background:#eef1f4;border-block:1px solid #c4ccd2;cursor:row-resize;touch-action:none;color:#617b8b}
.orders-divider svg{width:20px;height:16px}.orders-divider:focus-visible{outline:2px solid #278cc1;outline-offset:1px}
.orders-workspace td[hidden],.orders-workspace th[hidden]{display:none}
.orders-workspace #ordersRows td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.orders-workspace .orders-filters{gap:8px;padding:8px 0;align-items:center}
.orders-workspace .orders-filters>label{flex-direction:row;align-items:center;min-width:0}
.orders-advanced{position:relative;font-size:13px}
.orders-advanced summary{cursor:pointer;padding:8px;border:1px solid #bdc6cc;background:#f5f6f7;border-radius:3px}
.orders-advanced-fields{position:absolute;top:100%;left:0;z-index:10;display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px;padding:16px;width:360px;max-width:85vw;background:white;border:1px solid #bdc6cc;box-shadow:0 4px 12px #0002}
.orders-workspace .orders-summary{padding:8px 0;color:#566570;font-size:12px}
.orders-workspace .orders-table th,.orders-workspace .orders-table td{padding:6px 8px}
.orders-workspace .orders-top-pane{height:38vh;min-height:180px;max-height:65vh;resize:vertical;overflow:auto;border-bottom:5px solid #c4ccd2}
.orders-workspace .orders-table th{position:sticky;top:0;z-index:1;background:#e8ecef}
.orders-workspace #ordersRows tr{cursor:pointer}
.orders-workspace #ordersRows tr.order-selected{background:#d9ebf8}
.orders-workspace #ordersRows td.order-paid{background:#e3f2dd}
.orders-workspace .orders-pager{padding:6px 0;font-size:12px}
.orders-position-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #c4ccd2}
.orders-position-toolbar strong{margin-right:auto}
.orders-position-toolbar input{height:32px;width:280px;max-width:100%;border:1px solid #bdc6cc;border-radius:3px;padding:5px 8px}
.orders-positions #positionMessage{font-size:12px;color:#566570;padding:0 0 8px}
.orders-positions .table-wrap{max-height:45vh;overflow:auto}
.orders-positions td:nth-child(2){min-width:280px;max-width:500px;white-space:normal}
.orders-positions td:nth-child(6){text-align:left!important}
@media(max-width:720px){.orders-workspace .orders-filters>label{flex:1 1 180px;flex-direction:column;align-items:stretch}.orders-position-toolbar input{width:100%}.orders-workspace .orders-top-pane{height:300px}.orders-advanced-fields{grid-template-columns:1fr;width:260px}}
