.history-view-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}.history-view-tabs button{border:1px solid var(--line);background:white;border-radius:7px;font-size:12px;padding:9px 14px}.history-view-tabs button.selected{background:var(--ink);border-color:var(--ink);color:white}.history-import-notice{padding:14px 17px;border:1px solid #dce5d3;border-radius:10px;background:#f5f8f1;font-size:12px;line-height:1.8;color:#5c6e4d;margin-bottom:20px}.history-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.history-controls>input{flex:1;min-width:200px;margin:0;max-width:470px}.history-controls select{width:auto;margin:0;min-width:150px}.history-controls .history-check{display:flex;align-items:center;gap:8px;font-size:12px;margin:0}.history-check input{width:auto;min-height:0;margin:0}.history-totals{display:flex;gap:12px 25px;flex-wrap:wrap;margin:0 0 17px;color:var(--muted);font-size:11px}.history-totals strong{font-size:18px;color:var(--ink);font-weight:650;margin-right:4px}.history-list-panel td{white-space:normal;min-width:100px;max-width:280px}.history-list-panel table{min-width:930px}.history-import-batches{margin-top:24px;border:1px solid var(--line);background:white;border-radius:10px;padding:18px}.history-import-batches summary{font-size:12px;cursor:pointer}.history-import-batches summary span{margin-left:8px;color:var(--muted)}.history-import-batches .table-wrap{margin-top:15px}.history-loading{padding:25px;color:var(--muted);font-size:12px;background:white;border:1px solid var(--line);border-radius:10px}.history-error{padding:20px;color:var(--red);font-size:12px;background:white;border:1px solid var(--line);border-radius:10px}.history-customer-summary{display:flex;flex-direction:column;gap:7px;margin:0 0 20px}.history-customer-summary strong{font-size:20px;font-weight:600}.history-customer-summary span{font-size:12px;color:var(--muted)}.editor-dialog:has(#customer-history-dialog-content),.editor-dialog:has(#woo-order-details),.editor-dialog:has(#woo-import-form){width:min(1000px,95vw)}#customer-history-dialog-content table{min-width:700px}#woo-import-form input[type=file]{padding:12px;font-size:12px}#woo-import-form .form-actions{margin-bottom:24px}.history-import-preview{padding-top:24px;border-top:1px solid var(--line)}.history-import-preview h3{margin-top:24px}.history-import-preview>.table-wrap:first-of-type table{min-width:340px}.history-import-preview details{margin:20px 0}.history-import-preview summary{cursor:pointer;font-size:12px}.history-import-preview details .table-wrap{margin-top:12px}.history-import-preview>.small{line-height:1.8}.history-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.history-detail-heading .eyebrow{margin-bottom:8px}.history-detail-heading h2{margin:0}.history-import-success{padding:25px;border-radius:12px;border:1px solid #bcd9b5;background:#f3f9f0}.history-import-success strong{font-size:20px}.history-import-success p{color:#6a805c;font-size:12px;margin-top:12px}.courier-own-woo-history{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;border-top:1px solid var(--line);padding-top:10px;font-size:11px}.courier-own-woo-history button{font-size:10px}.courier-own-woo-history strong{font-size:14px}@media(max-width:750px){.history-controls>input,.history-controls select{width:100%;max-width:none}.history-totals{gap:12px 18px}.history-totals span{line-height:1.8}.history-list-panel table{min-width:880px}.history-detail-heading{align-items:flex-start}.history-detail-heading .badge{max-width:160px;white-space:normal}.history-import-preview .table-wrap{max-width:100%}.history-import-batches{padding:14px}}
