.hs-history-tabs{display:flex;gap:6px;border-bottom:1px solid #443139;margin:20px 0 22px;overflow-x:auto;padding-bottom:0}
.hs-history-tabs a,.hs-history-tabs button{display:block;text-decoration:none;padding:13px 17px;color:#bcb0b8;font-size:12px;font-weight:600;white-space:nowrap;border:0;border-bottom:3px solid transparent;background:transparent;cursor:pointer}
.hs-history-tabs .active{color:#ffb0b5;border-bottom-color:#e5424d;background:linear-gradient(0deg,#62253055,transparent)}
.hs-history-tabs a:hover,.hs-history-tabs button:hover{color:#fff;background-color:#301c25}
.hs-history-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 12px}
.hs-history-metrics>div{border:1px solid #48323c;background:linear-gradient(125deg,#291821,#151318);padding:18px;border-radius:9px;min-width:0}
.hs-history-metrics span{display:block;color:#b7a8b1;font-size:11px;line-height:1.5;margin-bottom:10px}
.hs-history-metrics strong{display:block;color:#f6eaf0;font-size:27px;line-height:1.3;letter-spacing:-.5px}
.hs-history-metrics strong.hs-history-metric-date{font-size:15px;line-height:1.65;letter-spacing:0}
.hs-history-note{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#b8aab3;line-height:1.8;margin:13px 0 20px}
.hs-history-note svg{width:16px;height:16px;flex:none;margin-top:3px;color:#cc7c8f}
.hs-history-pending-note{padding:12px 15px;border:1px solid #6d5130;background:#5b3e1822;border-radius:7px;color:#d7be97}
.hs-history-search-panel{padding:18px;margin:20px 0}
.hs-history-search{display:flex;gap:12px;align-items:flex-end}
.hs-history-search label{display:flex;flex:1;flex-direction:column;gap:9px;color:#ded1da;font-size:12px;min-width:0}
.hs-history-search input{width:100%;padding:12px;border:1px solid #51404a;border-radius:6px;background:#111015;color:#eee4eb;font:inherit;outline-offset:3px}
.hs-history-search input::placeholder{color:#a79aa4}
.hs-history-search .btn{min-height:41px}
.hs-history-filter-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #714152;border-radius:6px;background:#42212d;color:#dfb8c8;margin-top:14px;font-size:12px;line-height:1.6}
.hs-history-filter-chip strong{font-weight:600;color:#fae5ee}
.hs-history-filter-chip button{border:0;border-radius:4px;background:#ffffff0c;color:#f5d2df;display:grid;place-items:center;padding:5px;cursor:pointer;flex:none}
.hs-history-filter-chip svg{width:17px;height:17px}
.hs-history-loading{display:flex;justify-content:center;align-items:center;gap:12px;padding:50px 20px;font-size:13px;color:#bbaab6;min-height:150px}
.hs-history-spinner{width:18px;height:18px;border:2px solid #563340;border-top-color:#ef6f85;border-radius:50%;animation:hs-history-spin .8s linear infinite}
@keyframes hs-history-spin{to{transform:rotate(360deg)}}
.hs-history-records{overflow:hidden;min-height:170px}
.hs-history-records table{min-width:980px;width:100%}
.hs-history-records table th{font-size:10px;text-transform:uppercase;letter-spacing:.6px}
.hs-history-records table td{vertical-align:top;padding-top:17px;padding-bottom:17px;font-size:12px;line-height:1.5}
.hs-history-records table strong{font-weight:600}
.hs-history-sales-table td:nth-child(2){min-width:180px;max-width:260px;white-space:normal;overflow-wrap:anywhere}
.hs-history-sales-table td:nth-child(3){min-width:170px;max-width:240px;white-space:normal;overflow-wrap:anywhere}
.hs-history-sales-table .table-subtext,.hs-history-operators-table .table-subtext{margin-top:5px;font-size:10px;line-height:1.6;color:#b3a3ae}
.hs-history-money{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}
.hs-history-status{display:inline-flex;align-items:center;width:fit-content;max-width:200px;border:1px solid #59424e;padding:5px 8px;font-size:10px;line-height:1.4;border-radius:5px;color:#e7cad8;background:#3f293533;white-space:normal;overflow-wrap:anywhere}
.hs-history-status.is-former{border-color:#594b58;color:#c9b6c4;background:#352e3733;margin-top:6px}
.hs-history-status.is-pending{border-color:#806131;color:#e7c689;background:#5f491e33;margin-top:6px}
.hs-history-missing{display:block;margin-top:6px;font-size:10px;color:#e1b57a}
.hs-history-open{font-size:11px;padding:8px 10px}
.hs-history-open svg{height:14px;width:14px}
.hs-history-pagination{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#b9aab4;font-size:11px;border-top:1px solid #382c34}
.hs-history-pagination>div{display:flex;align-items:center;gap:12px}
.hs-history-pagination .btn{font-size:11px;padding:8px 12px}
.hs-history-pagination .btn:disabled{opacity:.4;cursor:default}
.hs-history-count-link{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#edabbc;font:inherit;cursor:pointer;padding:4px 0}
.hs-history-count-link:hover{text-decoration:underline;color:#ffd8e2}
.hs-history-count-link svg{width:14px;height:14px}
.hs-history-error{text-align:center;padding:38px 24px;max-width:640px;margin:auto}
.hs-history-error>svg{width:25px;height:25px;color:#da879c}
.hs-history-error h2{font-size:18px;color:#eddde7;margin:14px 0 10px}
.hs-history-error p{font-size:12px;line-height:1.8;color:#bdaab7;margin:0 0 20px}
.hs-history-detail-panel{padding:23px;margin-bottom:20px}
.hs-history-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.hs-history-detail-heading .eyebrow{font-size:10px;color:#cc8b9d}
.hs-history-detail-heading h2{font-size:25px;color:#f3e7ee;letter-spacing:-.6px;margin-top:10px}
.hs-history-detail-heading .hs-history-status{font-size:12px;padding:8px 12px}
.hs-history-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;margin:0}
.hs-history-detail-grid>div{min-width:0}
.hs-history-detail-grid dt{font-size:11px;color:#ae98a8;margin-bottom:7px;line-height:1.5}
.hs-history-detail-grid dd{margin:0;font-size:13px;color:#efe1eb;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
.hs-history-detail-actions{display:flex;gap:10px;margin:20px 0}
.hs-history-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.hs-history-section-heading h2{font-size:17px;color:#eadde6;line-height:1.5}
.hs-history-section-heading>span{font-size:11px;color:#bba5b5;white-space:nowrap}
.hs-history-detail-panel table{min-width:740px;font-size:12px}
.hs-history-detail-panel table td{vertical-align:top;white-space:normal;line-height:1.7;min-width:120px}
.hs-history-detail-panel table .table-subtext{color:#b9a4b3;font-size:10px;margin-top:5px}
.hs-history-original{margin-top:15px;border-top:1px solid #463440;padding-top:13px;color:#dcc1d2}
.hs-history-original summary{font-size:12px;line-height:1.6;cursor:pointer;color:#e2a5ba;padding:4px 0}
.hs-history-original summary:hover{color:#ffe2ed}
.hs-history-original dl{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2fr);margin:18px 0 0;font-size:11px;line-height:1.7}
.hs-history-original dt,.hs-history-original dd{margin:0;padding:10px;border-bottom:1px solid #392b35;overflow-wrap:anywhere;white-space:pre-wrap}
.hs-history-original dt{color:#ba9fb1;background:#211720}
.hs-history-original dt small{display:block;font-size:9px;color:#947b8e}
.hs-history-original dd{color:#e8d9e3}
.hs-history-original .hs-history-null{color:#a5909f;font-style:italic}
.hs-history-detail-panel table .hs-history-original{margin:0;border:0;padding:0}
.hs-history-detail-panel table .hs-history-original[open]{min-width:360px}
.hs-history-warning{padding:18px 20px;border:1px solid #79603c;background:#48371c33;color:#e2c29b;border-radius:9px;margin-bottom:20px;font-size:12px;line-height:1.8}
.hs-history-warning strong{font-weight:600}
.hs-history-warning ul{margin:9px 0 0;padding-left:20px}
.hs-history-empty{font-size:12px;line-height:1.8;color:#b9a4b2;margin:12px 0}
.hs-history-profile-heading{display:flex;align-items:flex-start;gap:15px;justify-content:space-between;margin-bottom:24px}
.hs-history-profile-heading h3{font-size:20px;line-height:1.45;color:#f2dfe9}
.hs-history-profile-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:24px}
@media(max-width:1100px){.hs-history-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hs-history-pagination{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.hs-history-metrics>div{padding:15px}.hs-history-metrics strong{font-size:24px}.hs-history-metrics strong.hs-history-metric-date{font-size:13px}.hs-history-search-panel{padding:15px}.hs-history-search{align-items:stretch;flex-direction:column}.hs-history-search .btn{align-self:flex-start}.hs-history-detail-panel{padding:18px}.hs-history-detail-grid{gap:17px}.hs-history-pagination{padding:15px}.hs-history-pagination>div{gap:8px;justify-content:space-between;width:100%;flex-wrap:wrap}.hs-history-pagination .btn{padding:8px 10px}.hs-history-detail-heading{align-items:flex-start}.hs-history-profile-heading{flex-direction:column}.hs-history-original dl{grid-template-columns:minmax(100px,1fr) minmax(0,1.4fr)}.hs-history-original dt,.hs-history-original dd{padding:8px}.hs-history-tabs a,.hs-history-tabs button{padding:12px 13px;font-size:11px}}
@media(max-width:420px){.hs-history-detail-grid{grid-template-columns:1fr}.hs-history-metrics{gap:8px}.hs-history-metrics>div{padding:12px}.hs-history-metrics span{font-size:10px}.hs-history-section-heading{align-items:flex-start;flex-direction:column;gap:6px}.hs-history-tabs{gap:0}}
@media(prefers-reduced-motion:reduce){.hs-history-spinner{animation:none}}
