.sales-total-strip .sales-orders-open{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin-left:auto;border-radius:6px;background:#426335;border-color:#426335;color:#fff;padding:10px 14px;font-size:13px;letter-spacing:0}
.sales-total-strip .sales-orders-open:hover{background:#354f2b}
.sales-orders-open svg{width:19px;height:19px;flex:0 0 19px}
.sales-orders-count{padding:2px 6px;background:#eef5e6;color:#243b25;border-radius:4px;min-width:26px;text-align:center;font-variant-numeric:tabular-nums}
#sales-orders-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid var(--line);border-radius:0;background:#fff;color:#20302a;box-shadow:-8px 0 30px #152b2526;overflow:hidden;letter-spacing:0}
#sales-orders-dialog[open]{display:flex;flex-direction:column}
#sales-orders-dialog::backdrop{background:#142b2547;backdrop-filter:none}
#sales-orders-dialog *{min-width:0;letter-spacing:0}
.sales-orders-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:24px 24px 18px;flex-shrink:0}
.sales-orders-header h2{font-size:21px;margin:0;line-height:1.3}
.sales-orders-header p{font-size:12px;color:var(--muted);margin:6px 0 0;line-height:1.5}
#sales-orders-dialog .sales-orders-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;min-height:38px;padding:8px;border-radius:6px;flex-shrink:0}
#sales-orders-dialog svg{width:19px;height:19px;flex-shrink:0}
.sales-orders-controls{padding:0 24px;flex-shrink:0}
#sales-orders-dialog .sales-orders-search{display:flex;align-items:center;gap:10px;background:#f5f7f3;border:1px solid var(--line);border-radius:6px;padding:0 11px;margin:0 0 12px}
#sales-orders-dialog .sales-orders-search input{border:0;background:transparent;border-radius:0;box-shadow:none;padding:11px 0;font-size:14px;min-height:44px}
#sales-orders-dialog .sales-orders-search input:focus-visible{outline:none}
#sales-orders-dialog .sales-orders-search:focus-within{outline:2px solid #426335;outline-offset:2px}
.sales-orders-channel-select{margin:0 0 12px;font-size:12px;display:flex;align-items:center;gap:10px}
.sales-orders-channel-select span{margin:0;color:var(--muted)}
.sales-orders-channel-select select{font-size:13px;padding:8px 10px;border-radius:6px;min-height:40px}
.sales-orders-methods{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
#sales-orders-dialog .sales-orders-methods button{min-height:38px;font-size:12px;padding:7px 10px;border-radius:6px}
#sales-orders-dialog .sales-orders-methods button[aria-pressed="true"]{background:#426335;border-color:#426335;color:#fff}
.sales-orders-columns{display:flex;justify-content:space-between;gap:12px;margin:0 24px;padding:11px 0;border-top:1px solid var(--line);color:var(--muted);font-size:11px;flex-shrink:0}
.sales-orders-list{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y;flex:1;min-height:0;padding:0 24px}
.sales-orders-list ul{list-style:none;padding:0;margin:0}
.sales-order{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.sales-order-description{flex:1;overflow-wrap:anywhere}
.sales-order-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:14px;line-height:1.4}
.sales-order-heading strong{font-weight:650}
.sales-order-channel{display:inline-block;font-size:10px;line-height:1.5;background:#edf5e6;color:#3b5933;border-radius:4px;padding:2px 6px}
.sales-order-channel.glovo{background:#fff6cf;color:#776008}
.sales-order-payment{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.4}
.sales-order-amount{font-size:15px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0}
.sales-order-amount small{font-size:10px}
.sales-orders-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding:14px 24px 18px;background:#fff;flex-shrink:0}
.sales-orders-footer>[data-orders-range]{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.sales-orders-footer p{width:100%;font-size:11px;line-height:1.5;color:var(--muted);margin:0}
#sales-orders-dialog button:disabled{cursor:default}
.sales-orders-empty{padding:30px 4px;color:var(--muted);font-size:13px;line-height:1.6;text-align:center}
.sales-orders-empty strong{display:block;color:#20302a;margin-bottom:8px}
.sales-orders-empty span{display:block}
@media(max-width:700px){.sales-total-strip .sales-orders-open{margin-left:0;width:100%}}
@media(max-width:480px){.sales-orders-header{padding:20px 16px 16px}.sales-orders-controls,.sales-orders-list{padding-left:16px;padding-right:16px}.sales-orders-columns{margin:0 16px}.sales-orders-footer{padding:12px 16px 16px}.sales-orders-header h2{font-size:19px}#sales-orders-dialog .sales-orders-search input{font-size:16px}}
@media(max-height:500px){.sales-orders-header{padding-top:12px;padding-bottom:10px}.sales-orders-header h2{font-size:18px}.sales-orders-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sales-orders-channel-select{margin-bottom:8px}.sales-orders-methods{grid-column:1/-1;margin-bottom:6px}.sales-orders-footer{padding-top:8px;padding-bottom:8px}.sales-orders-footer p{display:none}}
