/* Quick Sale History follows the Session History page layout. */
#pageContent:has(>.qsh-page){background:#fff}
.qsh-page{max-width:850px!important;margin:auto!important;padding:20px 20px 130px;background:#fff}
.qsh-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:center;margin:0 0 22px}
.qsh-head small{color:#a87916;font-size:10px;letter-spacing:.16em}
.qsh-head h2{margin:3px 0;font-size:29px;letter-spacing:-.035em}
.qsh-head p{font-size:12px}
.qsh-back,.qsh-search-toggle{display:grid;width:44px;height:44px;place-items:center;border:1px solid #e4e5e8;border-radius:15px;background:#fff;color:#686b72;font-size:17px;box-shadow:none}
.qsh-search-panel{display:flex;align-items:center;gap:11px;margin:0 0 14px;padding:8px 10px 8px 15px;border:1px solid #e5e6e9;border-radius:15px;background:#fff;box-shadow:0 8px 20px rgba(20,21,24,.035)}
.qsh-search-panel[hidden]{display:none!important}
.qsh-search-panel>i{color:#9da0a6}
.qsh-search-panel input{flex:1;min-width:0;height:34px;border:0;outline:0;background:transparent;color:#17181c;font-size:16px}
.qsh-search-panel button{display:grid;width:35px;height:35px;place-items:center;border:0;border-radius:10px;background:#f0f1f3;color:#72757b}
.qsh-control-bar{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:9px;margin-bottom:14px}
.qsh-period-button,.qsh-filter-button{display:flex;align-items:center;gap:11px;min-width:0;min-height:66px;padding:9px 12px;border:1px solid #e4e5e8;border-radius:17px;background:#fff;color:#24252a;text-align:left;box-shadow:0 8px 20px rgba(20,21,24,.035)}
.qsh-period-icon{display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;border-radius:12px;background:#f4eddb;color:#a77c1f}
.qsh-period-button>span:nth-child(2){display:grid;min-width:0;gap:2px;flex:1}
.qsh-period-button small{color:#a97e21;font-size:8px;font-weight:900;letter-spacing:.13em}
.qsh-period-button strong{font-size:12px;font-weight:850}
.qsh-period-button em{overflow:hidden;color:#999ba0;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.qsh-period-button>.fa-chevron-down{color:#8f9197;font-size:10px}
.qsh-filter-button{justify-content:center;font-size:11px;font-weight:800}
.qsh-filter-button b{display:grid;min-width:17px;height:17px;place-items:center;border-radius:50%;background:#ab842d;color:#fff;font-size:9px}
.qsh-filter-button b[hidden]{display:none}
.qsh-summary{display:block;margin-bottom:16px}
.qsh-summary[hidden]{display:none!important}
.qsh-summary .qsh-revenue-card{display:block;padding:21px;border:0;border-radius:25px;background:radial-gradient(circle at 93% 3%,rgba(176,139,54,.15),transparent 35%),linear-gradient(145deg,#141519,#222327);color:#fff;box-shadow:0 17px 30px rgba(19,20,24,.14)}
.qsh-revenue-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.qsh-revenue-heading span{color:#d1aa51;font-size:9px;font-weight:900;letter-spacing:.15em}
.qsh-revenue-heading small{color:#a6a7ac;font-size:9px;letter-spacing:0}
.qsh-revenue-card p{margin:23px 0 3px;color:#b6b8bd;font-size:11px}
.qsh-revenue-card>strong{display:block;overflow:visible;font-size:34px;line-height:1.1;white-space:normal}
.qsh-revenue-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}
.qsh-revenue-meta div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.055)}
.qsh-revenue-meta span{color:#b4b6bb;font-size:10px}
.qsh-revenue-meta b{color:#fff;font-size:14px}
.qsh-business-period{margin:8px 2px 18px;color:#9da0a6;font-size:10px;line-height:1.4}
.qsh-list{gap:0}
.qsh-day-heading{display:flex;justify-content:space-between;align-items:center;margin:17px 2px 11px}
.qsh-day-heading strong{font-size:17px}.qsh-day-heading span{color:#999ca2;font-size:11px;font-weight:750}
.qsh-sale{position:relative;display:block;margin-bottom:14px;border:1px solid #e2e4e8;border-left:4px solid #60a875;border-radius:22px;box-shadow:0 10px 25px rgba(20,21,24,.05);opacity:1!important}
.qsh-sale.has-return{border-left-color:#d1a43e}.qsh-sale.is-reversed{border-left-color:#c9584c}
.qsh-sale>header{display:flex;align-items:flex-start;gap:10px;padding:17px 17px 15px;background:#fff}
.qsh-sale>header>div:first-child{gap:6px}
.qsh-sale>header small{color:#999ca1;font-size:9px;font-weight:850;letter-spacing:.08em}
.qsh-sale>header strong{font-size:18px;line-height:1.15}
.qsh-card-time{color:#92959b;font-size:10px;font-weight:650}
.qsh-sale-total>strong{font-size:21px}.qsh-sale-total>small{font-size:9px}
.qsh-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 17px;padding:11px 0;border-top:1px solid #eceef0;color:#64676e;font-size:10px;font-weight:750}
.qsh-card-meta>span{display:inline-flex;align-items:center;gap:5px}
.qsh-card-meta .qsh-status{margin:0}
.qsh-phone{padding:0 17px 10px;color:#999ca1;font-size:10px}
.qsh-item-list{margin:0 17px;border-top:1px solid #eceef0}
.qsh-item{padding:12px 0;border-top:0}
.qsh-item+.qsh-item{border-top:1px solid #eceef0}
.qsh-item>div strong{font-size:12px}.qsh-item>span{font-size:12px}
.qsh-returned-summary{margin:0 17px 10px;padding:9px;border-radius:9px;background:#fff5e6;color:#9d721b;font-size:10px;font-weight:800}
.qsh-view-details{display:flex;align-items:center;justify-content:space-between;gap:10px;width:calc(100% - 34px);height:45px;margin:8px 17px 16px;padding:0 13px;border:0;border-radius:12px;background:#17181c;color:#fff;font-size:11px;font-weight:850}
.qsh-view-details span{flex:1;text-align:center}
.qsh-sale>footer{padding:0 17px 13px;border:0}
.qsh-page .qsh-list-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;width:100%;margin-top:13px;padding:15px 0 35px;color:#92959b;font-size:11px;text-align:center}
.qsh-page .qsh-list-footer[hidden]{display:none!important}
.qsh-page .qsh-pagination{display:grid;grid-template-columns:40px minmax(0,auto) 40px;align-items:center;justify-content:center;gap:5px;max-width:100%;margin:0 auto;padding:5px;border:1px solid #e4e6e9;border-radius:17px;background:#f5f5f6;box-shadow:0 5px 15px rgba(20,21,24,.035)}
.qsh-page .qsh-pagination[hidden]{display:none!important}
.qsh-page .qsh-page-numbers{display:flex;align-items:center;justify-content:center;gap:2px;min-width:0}
.qsh-page .qsh-pagination button{display:grid;place-items:center;width:34px;height:38px;min-height:38px;padding:0;border:0;border-radius:11px;background:transparent;color:#64676e;font-size:11px;font-weight:850;box-shadow:none}
.qsh-page .qsh-pagination .qsh-page-arrow{width:40px;background:#fff;color:#4d4f55;font-size:18px;box-shadow:0 3px 9px rgba(20,21,24,.05)}
.qsh-page .qsh-pagination button.active{background:#17181c;color:#fff;box-shadow:0 5px 12px rgba(23,24,28,.13)}
.qsh-page .qsh-pagination button:disabled{opacity:.38}
.qsh-page .qsh-page-ellipsis{display:grid;place-items:center;width:18px;height:38px;color:#9da0a6;font-size:10px;font-weight:900}
@media(max-width:370px){.qsh-page .qsh-pagination{grid-template-columns:36px minmax(0,auto) 36px;gap:3px;padding:4px}.qsh-page .qsh-pagination button{width:30px;height:36px;min-height:36px}.qsh-page .qsh-pagination .qsh-page-arrow{width:36px}}
.qsh-empty{border:1px solid #e5e6e9;border-radius:18px}
.qsh-empty strong{color:#202126;font-size:15px}
.qsh-period-sheet,.qsh-filter-sheet{position:fixed;z-index:940;inset:0;display:flex;align-items:flex-end;justify-content:center}
.qsh-period-sheet[hidden],.qsh-filter-sheet[hidden]{display:none!important}
.qsh-period-backdrop{position:absolute;inset:0;border:0;background:rgba(16,17,20,.45);backdrop-filter:blur(5px)}
.qsh-period-panel{position:relative;width:100%;max-width:650px;max-height:86dvh;padding:12px 17px calc(18px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0;background:#f8f8f9;overflow:auto;overscroll-behavior:contain}
.qsh-period-handle{width:40px;height:4px;margin:0 auto 16px;border-radius:5px;background:#d4d5d8}
.qsh-period-panel header{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:19px}
.qsh-period-panel header small{color:#a77d20;font-size:9px;font-weight:900;letter-spacing:.15em}
.qsh-period-panel header h3{margin:4px 0;font-size:24px;line-height:1.1}
.qsh-period-panel header p{margin:0;color:#9b9da3;font-size:11px}
.qsh-period-panel header>button{display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;border:1px solid #e6e7e9;border-radius:12px;background:#fff;color:#75777d}
.qsh-period-options{display:grid;gap:8px}
.qsh-period-options>button{display:flex;align-items:center;gap:11px;width:100%;min-height:57px;padding:9px 11px;border:1px solid #e4e5e8;border-radius:14px;background:#fff;color:#292a2f;text-align:left}
.qsh-period-options>button>i{display:grid;width:35px;height:35px;place-items:center;border-radius:10px;background:#f4eddb;color:#a67b1c}
.qsh-period-options span{display:grid;gap:2px;flex:1}
.qsh-period-options strong{font-size:12px}.qsh-period-options small{color:#9699a0;font-size:9px}
.qsh-period-options>button>b{font-size:10px;color:#aaaeb5}
.qsh-period-options>button.active{border-color:#17181c;background:#17181c;color:#fff}
.qsh-period-options>button.active small{color:#bbbcc1}.qsh-period-options>button.active>b{color:#d6ae53}
.qsh-period-dates{margin-top:11px;padding:12px;border:1px solid #e5e6e9;border-radius:14px;background:#fff}
.qsh-period-dates[hidden],.qsh-period-date-fields label[hidden],.qsh-period-date-fields>i[hidden]{display:none!important}
.qsh-period-date-fields{display:flex;align-items:end;gap:7px}
.qsh-period-date-fields label{display:grid;flex:1;min-width:0;gap:6px;padding:9px;border:1px solid #e5e6e9;border-radius:11px;background:#f7f7f8}
.qsh-period-date-fields span{color:#96989e;font-size:9px;font-weight:850}
.qsh-period-date-fields input{min-width:0;width:100%;height:27px;border:0;background:transparent;color:#24252a;font-size:11px}
.qsh-period-date-fields>i{padding-bottom:16px;color:#aa7e20}
.qsh-period-dates>button{display:flex;justify-content:space-between;align-items:center;width:100%;height:43px;margin-top:12px;padding:0 14px;border:0;border-radius:11px;background:#17181c;color:#fff;font-size:11px;font-weight:850}
.qsh-filter-group{margin:10px 0;border:1px solid #e5e6e9;border-radius:15px;background:#fff}
.qsh-filter-primary{padding:12px}
.qsh-filter-primary h4{display:flex;align-items:center;gap:9px;margin:0 0 11px;color:#35363b;font-size:12px}
.qsh-filter-primary h4 i{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#f4eddb;color:#a67b1c}
.qsh-filter-primary .qsh-filter-chips{padding:0}
.qsh-filter-primary .qsh-filter-chips button:first-child{grid-column:1/-1}
.qsh-filter-group summary{display:flex;align-items:center;gap:9px;min-height:59px;padding:0 12px;list-style:none;cursor:pointer;font-size:12px;font-weight:850}
.qsh-filter-group summary::-webkit-details-marker{display:none}
.qsh-filter-group summary>i:first-child{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#f4eddb;color:#a67b1c}
.qsh-filter-group summary span{flex:1;color:#97999f;text-align:right;font-size:10px}
.qsh-filter-group summary>i:last-child{color:#a3a5aa;font-size:10px}
.qsh-filter-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px}
.qsh-filter-chips button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:6px;border:1px solid #e5e6e9;border-radius:11px;background:#fff;color:#777a80;font-size:11px;font-weight:800}
.qsh-filter-chips button i{display:none;font-size:9px}
.qsh-filter-chips button.active{border-color:#17181c;background:#17181c;color:#fff}.qsh-filter-chips button.active i{display:block}
.qsh-filter-actions{display:grid;grid-template-columns:35% 1fr;gap:9px;margin-top:13px}
.qsh-filter-actions button{height:46px;border:1px solid #e2e3e5;border-radius:12px;background:#fff;color:#686b71;font-size:11px;font-weight:850}
.qsh-filter-actions button:last-child{border-color:#17181c;background:#17181c;color:#fff}
body.qsh-period-open,body.qsh-filter-open{overflow:hidden}
@media(max-width:390px){.qsh-page{padding-left:14px;padding-right:14px}.qsh-control-bar{grid-template-columns:minmax(0,1fr) 91px}.qsh-period-button{gap:7px;padding:7px}.qsh-period-icon{flex-basis:35px;width:35px;height:35px}.qsh-filter-button{gap:5px;font-size:10px}}

/* Match the Session History mobile canvas and control measurements. */
.qsh-page,.qsh-page *{box-sizing:border-box}
#pageContent:has(>.qsh-page)>.qsh-page{display:grid;align-content:start;gap:14px;padding:18px 16px 110px!important}
.qsh-page .qsh-head{grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;min-width:0;margin:0;padding:0 2px 4px}
.qsh-page .qsh-head>div{min-width:0}
.qsh-page .qsh-head small{display:block;font-size:10px;font-weight:900;letter-spacing:.16em}
.qsh-page .qsh-head h2{margin:3px 0 0;font-size:clamp(20px,5.8vw,26px);line-height:1.12;letter-spacing:-.04em;white-space:nowrap}
.qsh-page .qsh-head p{margin:4px 0 0;overflow:hidden;color:#9b9da2;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.qsh-page .qsh-back,.qsh-page .qsh-search-toggle{width:44px;height:44px;min-height:44px;padding:0;border-radius:14px;font-size:16px}
.qsh-page .qsh-search-panel{display:grid;grid-template-columns:18px minmax(0,1fr) 32px;gap:11px;min-height:46px;margin:0;padding:0 8px 0 13px;border-radius:14px}
.qsh-page .qsh-search-panel input{width:100%;height:44px;padding:0;font:inherit;font-size:11px}
.qsh-page .qsh-search-panel button{width:32px;height:32px;padding:0}
.qsh-page .qsh-control-bar{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0;margin:0}
.qsh-page .qsh-period-button{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;gap:10px;min-height:58px;padding:8px 11px;border-radius:16px}
.qsh-page .qsh-period-icon{width:38px;height:38px;flex-basis:auto}
.qsh-page .qsh-period-button em{font-size:8px}
.qsh-page .qsh-filter-button{position:relative;min-width:82px;min-height:58px;padding:0 13px;border-radius:16px;font-size:10px}
.qsh-page .qsh-filter-button b{position:absolute;top:-5px;right:-4px}
.qsh-page .qsh-summary{margin:0}
.qsh-page .qsh-summary .qsh-revenue-card{position:relative;overflow:hidden;min-height:176px;padding:20px;border-radius:22px;background:linear-gradient(145deg,#111216 0%,#1d1e22 100%);box-shadow:0 14px 30px rgba(17,18,22,.13)}
.qsh-page .qsh-revenue-card::after{content:"";position:absolute;top:-62px;right:-42px;width:170px;height:170px;border:1px solid rgba(213,171,74,.18);border-radius:50%;box-shadow:0 0 0 30px rgba(213,171,74,.035),0 0 0 62px rgba(213,171,74,.02);pointer-events:none}
.qsh-page .qsh-revenue-heading,.qsh-page .qsh-revenue-card>p,.qsh-page .qsh-revenue-card>strong,.qsh-page .qsh-revenue-meta{position:relative;z-index:1}
.qsh-page .qsh-revenue-heading span{font-size:8px}.qsh-page .qsh-revenue-heading small{color:#8f9197;font-size:8px}
.qsh-page .qsh-revenue-card p{margin:20px 0 5px;font-size:10px;font-weight:750}
.qsh-page .qsh-revenue-card>strong{font-size:32px;line-height:1;letter-spacing:-.035em}
.qsh-page .qsh-revenue-meta{gap:8px;margin-top:20px}
.qsh-page .qsh-revenue-meta div{min-height:46px;padding:0 13px}
.qsh-page .qsh-revenue-meta span{font-size:8px}.qsh-page .qsh-revenue-meta b{font-size:13px}
@media(max-width:390px){.qsh-page .qsh-head{grid-template-columns:40px minmax(0,1fr) 40px;gap:9px}.qsh-page .qsh-head h2{font-size:23px}.qsh-page .qsh-head p{font-size:10px}.qsh-page .qsh-back,.qsh-page .qsh-search-toggle{width:40px;height:40px;min-height:40px}.qsh-page .qsh-filter-button{min-width:58px;padding:0 10px}}
