#order-trash-open{margin-left:auto;white-space:nowrap;gap:6px}
#order-trash-count{min-width:18px;padding:1px 5px;border-radius:4px;background:#e5e7eb;color:#374151;font-size:11px}
#order-trash-dialog{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;width:600px;max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid #d1d5db;background:#fff;color:#1f2937;font:13px/1.5 var(--font-sans,system-ui);letter-spacing:0;box-shadow:-8px 0 28px #0002}
#order-trash-dialog[open]{display:flex;flex-direction:column}
#order-trash-dialog::backdrop{background:#0005}
#order-trash-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;border-bottom:1px solid #e5e7eb;flex:none}
#order-trash-dialog h2{font-size:18px;margin:0;font-weight:650}
#order-trash-dialog p{color:#6b7280;margin:4px 0 0;font-size:12px}
#order-trash-close{font-size:24px;min-width:36px;height:36px;padding:0}
.order-trash-tools{padding:16px 20px;border-bottom:1px solid #e5e7eb;flex:none}
#order-trash-search{box-sizing:border-box;width:100%;height:38px;border:1px solid #d1d5db;border-radius:6px;padding:8px 10px;font:inherit;background:#fff;color:inherit}
.order-trash-tools>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.order-trash-tools label{display:flex;align-items:center;gap:4px;margin-right:auto}
#order-trash-dialog #order-trash-feedback{color:#047857;margin:10px 0 0;overflow-wrap:anywhere}
#order-trash-list{overflow-y:auto;min-height:0;flex:1;padding:0 20px}
.order-trash-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;padding:16px 0;border-bottom:1px solid #e5e7eb}
.order-trash-select{padding-top:3px}
.order-trash-record{min-width:0;overflow-wrap:anywhere}
.order-trash-record-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;justify-content:space-between}
.order-trash-record-head strong{font-size:13px}
.order-trash-record-head span{font-variant-numeric:tabular-nums;color:#047857}
.order-trash-record small{display:block;color:#6b7280;font-size:11px;margin-top:4px}
.order-trash-record .order-trash-warning{color:#b45309}
.order-trash-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:6px}
#order-trash-dialog button{border-radius:6px;white-space:normal;font-size:12px;min-height:32px}
#order-trash-dialog button:disabled{opacity:.45;cursor:not-allowed}
#order-trash-dialog button[data-trash-delete],#order-trash-delete-selected{color:#b91c1c}
.order-trash-empty{text-align:center;padding:64px 12px;color:#6b7280}
#order-trash-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:11000;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 32px);box-sizing:border-box;padding:12px 16px;border:1px solid #a7d7c3;border-radius:6px;background:#effaf4;color:#14532d;box-shadow:0 4px 20px #0002;font:13px/1.5 system-ui}
#order-trash-notice span{overflow-wrap:anywhere;min-width:0}
#order-trash-notice button{flex:none;background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:4px}
#order-trash-busy{position:fixed;inset:0;margin:auto;border:1px solid #d1d5db;border-radius:6px;padding:24px;background:#fff;color:#374151;font:14px system-ui;cursor:wait}
#order-trash-busy::backdrop{background:#ffffffaa}
@media(max-width:520px){#order-trash-dialog header{padding:16px}.order-trash-tools{padding:12px 16px}#order-trash-list{padding:0 16px}.order-trash-row{grid-template-columns:20px minmax(0,1fr);gap:8px}.order-trash-actions{grid-column:2;flex-direction:row;justify-content:flex-end}.order-trash-tools>div{gap:6px}#order-trash-notice{bottom:16px;padding:10px;gap:8px}}
