.sales-customer-history{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #cfdbe9;border-radius:5px;background:#fff;color:#253c59;font-family:inherit}
.sales-customer-history [hidden]{display:none!important}
.sales-customer-history .sch-head{display:flex;align-items:center;gap:5px;min-height:36px;padding:0 9px;background:#f6f8fc;border-bottom:1px solid #dce5ef;flex:none}
.sales-customer-history .sch-title{margin:0;font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap}
.sales-customer-history button{font-family:inherit;cursor:pointer}
.sales-customer-history .sch-help{width:19px;height:19px;padding:0;border:1px solid #9aacc3;border-radius:50%;background:transparent;color:#476384;font-size:12px;line-height:16px}
.sales-customer-history .sch-toggle{display:flex;align-items:center;justify-content:center;width:28px;height:30px;margin-left:auto;border:0;border-radius:3px;background:transparent;color:#476384}
.sales-customer-history .sch-chevron{width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.sales-customer-history .sch-body{display:flex;flex:1;min-height:0;flex-direction:column}
.sales-customer-history .sch-columns{display:flex;justify-content:space-between;gap:4px;flex:none;padding:6px 10px;border-bottom:1px solid #dce5ef;color:#526780;font-size:12px;white-space:nowrap}
.sales-customer-history .sch-column-name{padding-left:24px}
.sales-customer-history .sch-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a5b5ca #f6f8fc;position:relative}
.sales-customer-history .sch-list{position:relative}
.sales-customer-history .sch-row{display:grid;grid-template-columns:20px minmax(0,1fr) 62px;align-items:center;gap:4px;min-height:40px;padding:6px 8px;border-bottom:1px solid #e6edf5;font-size:14px;line-height:20px}
.sales-customer-history .sch-add{width:20px;height:30px;padding:0;border:0;border-radius:3px;background:transparent;color:#245fcb;font-size:21px;line-height:1}
.sales-customer-history .sch-add:hover:not(:disabled),.sales-customer-history .sch-toggle:hover{background:#d5e5fc}
.sales-customer-history .sch-add:disabled{color:#7a899d;cursor:not-allowed}
.sales-customer-history .sch-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;line-height:20px;font-size:14px;font-weight:500}
.sales-customer-history .sch-price{text-align:right;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.sales-customer-history .sch-row.is-visited{background:#eef4fc;color:#45658c}
.sales-customer-history .sch-row.is-match{background:#cbdfff;color:#163f83}
.sales-customer-history .sch-state{padding:16px 10px;color:#526780;font-size:13px;line-height:1.6}
.sales-customer-history .sch-retry,.sales-customer-history .sch-more{display:block;min-height:32px;margin:4px auto 8px;padding:3px 12px;border:1px solid #c9d7e9;border-radius:4px;background:#fff;color:#245fcb;font-size:13px}
.sales-customer-history button:focus-visible,.sales-customer-history .sch-scroll:focus-visible{outline:2px solid #245fcb;outline-offset:-2px}
.sales-customer-history ::selection{background:#cbdfff;color:#163f83}
.sales-customer-history.is-collapsed .sch-head{flex:1;flex-direction:column;justify-content:flex-start;padding:8px 3px;gap:8px;border-bottom:0}
.sales-customer-history.is-collapsed .sch-title{writing-mode:vertical-rl;letter-spacing:2px}
.sales-customer-history.is-collapsed .sch-help{display:none}
.sales-customer-history.is-collapsed .sch-toggle{margin:0;width:26px}
.sales-customer-history.is-collapsed .sch-chevron{transform:rotate(-135deg)}
@media(max-width:700px){.sales-customer-history{height:236px;flex:none}.sales-customer-history .sch-row{min-height:40px}.sales-customer-history .sch-add{min-height:36px}.sales-customer-history.is-collapsed{height:38px}.sales-customer-history.is-collapsed .sch-head{flex-direction:row;align-items:center;padding:0 9px}.sales-customer-history.is-collapsed .sch-title{writing-mode:horizontal-tb;letter-spacing:0}.sales-customer-history.is-collapsed .sch-toggle{margin-left:auto}}

.sch-name-tooltip{position:fixed;z-index:2147483101;max-width:min(360px,calc(100vw - 24px));padding:9px 12px;border:1px solid #becde0;border-radius:5px;background:#fff;color:#253c59;box-shadow:0 6px 18px #20314d24;font:14px/1.5 "Microsoft YaHei UI","Microsoft YaHei",sans-serif;overflow-wrap:anywhere;pointer-events:none}.sch-name-tooltip[hidden]{display:none!important}
@media print{.sch-name-tooltip{display:none!important}}
