.rebate-status{font-size:11px;padding:5px 9px;border-radius:6px;background:#546a762e;white-space:normal;line-height:1.5}
.rebate-status.rebate-available{color:#efcf8f;background:#98783335}
.rebate-status.rebate-paid{color:#7acaba;background:#277b6b35}
.rebate-pager{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0}
.rebate-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:20px 0;border:1px solid var(--line,#ddd);border-radius:10px;overflow:hidden}
.rebate-detail-grid>div{padding:16px;min-width:0;border-bottom:1px solid var(--line,#ddd)}
.rebate-detail-grid small{display:block;color:var(--muted,#667);margin-bottom:8px;font-size:12px}
.rebate-detail-grid strong{overflow-wrap:anywhere;font-size:14px}
.rebate-source{padding:14px 0;border-bottom:1px solid var(--line,#ddd);overflow-wrap:anywhere}
.rebate-source p{font-size:12px;color:var(--muted,#667)}
.rebate-source b{font-size:12px}
.rebate-event{display:grid;gap:5px;padding:10px 0;border-bottom:1px solid var(--line,#ddd);font-size:12px;line-height:1.6}
.rebate-event bdi{color:var(--muted,#667)}
.rebate-admin-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.rebate-admin-form label{display:grid;gap:6px;min-width:0}
.rebate-admin-form input,.rebate-admin-form select{width:100%;max-width:100%;min-width:0}
.rebate-admin-form fieldset{margin:18px 0;padding:20px;border:1px solid #dce3e9;border-radius:10px;min-width:0}
.rebate-admin-form .check{display:flex;align-items:center}
.rebate-admin-form .check input{width:auto}
.rebate-admin-form .rebate-admin-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rebate-admin-query{display:flex;gap:12px;flex-wrap:wrap;align-items:end}
.rebate-admin-query label{display:grid;gap:6px;min-width:140px}
.rebate-admin-query input,.rebate-admin-query select{width:100%}
.rebate-entry{margin-bottom:20px;display:flex;justify-content:flex-end}
.rebate-entry button{display:flex;gap:10px;align-items:center}
@media(max-width:650px){.rebate-detail-grid{grid-template-columns:1fr}
.rebate-admin-rates{grid-template-columns:repeat(2,minmax(0,1fr))}
.rebate-admin-form .rebate-admin-options{grid-template-columns:1fr}
.rebate-admin-form fieldset{padding:14px}
.rebate-admin-query label{flex:1;min-width:120px}
}
.rebate-admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.rebate-admin-summary>div{background:#f5f7fa;border:1px solid #e1e7eb;border-radius:9px;padding:16px}
.rebate-admin-summary small{display:block;color:#697985;font-size:12px;margin-bottom:8px}
.rebate-admin-summary strong{font-size:23px;overflow-wrap:anywhere}
.rebate-admin-records{overflow-x:auto}
.rebate-admin-records table{width:100%}
@media(max-width:650px){.rebate-admin-summary{gap:7px}
.rebate-admin-summary>div{padding:10px 7px}
.rebate-admin-summary strong{font-size:19px}
.rebate-admin-summary small{font-size:10px;min-height:30px}
.rebate-admin-records{overflow:visible}
.rebate-admin-records table,.rebate-admin-records tbody{display:block;min-width:0;width:100%}
.rebate-admin-records thead{display:none}
.rebate-admin-records tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce3e9;border-radius:10px;margin:14px 0;padding:8px;background:#fff}
.rebate-admin-records td{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;border:0;padding:10px 7px}
.rebate-admin-records td:before{content:attr(data-label);display:block;font-size:10px;color:#697985;margin-bottom:7px}
.rebate-admin-records td:nth-child(3){grid-column:1/-1}
.rebate-admin-records td:last-child{grid-column:1/-1;border-top:1px solid #e1e7eb;text-align:end}
.rebate-admin-records td:last-child:before{display:none}
.rebate-admin-records td button{min-height:40px}
.rebate-admin-records td[colspan]{grid-column:1/-1}
}
@media(max-width:650px){body:has(#member-rebates) .sc-launcher{width:44px;min-width:44px;height:44px;inset-inline-start:14px;inset-inline-end:auto;bottom:88px;padding:0;font-size:0;border-radius:50%;box-shadow:0 4px 15px #0004}
body:has(#member-rebates) .sc-launcher:before{content:"☏";font-size:23px;line-height:1}
}

/* Member rebate dashboard: amounts first, category rates second, then history. */
#member-rebates{min-width:0;--rebate-line:#29434f;--rebate-gold:#dfba74}
#member-rebates .rebate-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #74613b;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse at 5% 5%,#a5803424,transparent 58%),linear-gradient(120deg,#153440,#0b2230);position:relative}
#member-rebates .rebate-overview:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:3px;background:linear-gradient(#e9c781,#927036)}
#member-rebates .rebate-balance{padding:27px 30px;min-width:0}
#member-rebates .rebate-balance-top{display:flex;align-items:center;gap:16px;justify-content:space-between;font-size:13px;color:#e9d2a7}
#member-rebates .rebate-cycle{font-size:10px;color:var(--muted);border:1px solid #64706b;padding:4px 8px;border-radius:20px;white-space:nowrap}
#member-rebates .rebate-total{display:block;font-size:46px;font-weight:650;letter-spacing:-1.5px;line-height:1.2;color:#f5dca5;margin:15px 0 20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#member-rebates .rebate-balance>.primary{min-width:170px;justify-content:space-between;padding-inline:17px;gap:25px}
#member-rebates .rebate-overview-side{padding:28px 28px 20px;align-self:stretch;border-inline-start:1px solid #ffffff0c;display:flex;flex-direction:column;justify-content:center;min-width:0}
#member-rebates .rebate-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:20px}
#member-rebates .rebate-summary>div{border:0;padding:0}
#member-rebates .rebate-summary small{display:block;font-size:12px;min-height:0;line-height:1.5;margin-bottom:10px}
#member-rebates .rebate-summary strong{display:block;overflow-wrap:anywhere;color:var(--text);font-size:26px;font-weight:550;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
#member-rebates .rebate-settlement-note{font-size:12px;line-height:1.8;color:var(--muted);margin:23px 0 0;border-top:1px solid var(--rebate-line);padding-top:15px}
#member-rebates .rebate-closed{display:flex;gap:12px;align-items:center;padding:13px 0 0;color:var(--muted)}
#member-rebates .rebate-closed>.rebate-status{flex:none;background:#223744;color:#bac7cd;font-size:11px}
#member-rebates .rebate-closed p{font-size:12px;line-height:1.65;margin:0}
#member-rebates .rebate-rates-section{margin-top:28px}
#member-rebates .rebate-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
#member-rebates .rebate-section-head h2{margin:0;font-size:18px;font-weight:600;line-height:1.5}
#member-rebates .rebate-section-meta{font-size:11px;color:var(--muted);text-align:end}
#member-rebates .rebate-category-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#member-rebates .rebate-rate-card{min-width:0;position:relative;border:1px solid var(--rebate-line);background:linear-gradient(135deg,#102c39,#0b2431);border-radius:12px;padding:19px 18px;display:flex;flex-direction:column;align-items:start}
#member-rebates .rebate-rate-label{display:flex;gap:9px;align-items:center;min-height:26px;margin-bottom:16px}
#member-rebates .rebate-rate-label svg{width:24px;height:24px;color:var(--rebate-gold);flex:none}
#member-rebates .rebate-rate-label h3{font-size:13px;font-weight:500;margin:0;line-height:1.5;overflow-wrap:anywhere}
#member-rebates .rebate-rate-card>strong{color:#e9ca8e;font-size:27px;font-weight:550;line-height:1.25;display:flex;align-items:center;gap:5px;flex-wrap:wrap;direction:ltr;unicode-bidi:isolate}
#member-rebates .rebate-range{font-size:17px;color:var(--muted)}
#member-rebates .rebate-rate-card>small{font-size:11px;line-height:1.6;color:var(--muted);margin-top:10px}
#member-rebates .rebate-rate-card .text-button{padding:9px 0 0;font-size:11px;display:flex;gap:10px;align-items:center;color:var(--rebate-gold);margin-top:auto;min-height:30px}
#member-rebates .rebate-rate-wait{color:#7d929e;font-size:26px;font-weight:400}
#member-rebates .rebate-rates,#member-rebates .rebate-conditions{border:1px solid var(--rebate-line);border-radius:12px;background:#0b2431;padding:16px 19px;margin:12px 0 0}
#member-rebates details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;gap:15px;font-size:13px;font-weight:500;color:#d4bea0;min-height:24px}
#member-rebates details>summary::-webkit-details-marker{display:none}
#member-rebates details .rebate-disclosure{transition:transform .15s}
#member-rebates details[open] .rebate-disclosure{transform:rotate(180deg)}
#member-rebates .rebate-rates p,#member-rebates .rebate-conditions p{font-size:12px;line-height:1.8;color:var(--muted);margin:15px 0}
#member-rebates .rebate-rate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--rebate-line);border-radius:8px;overflow:hidden}
#member-rebates .rebate-rate-grid>div{border:0;border-radius:0;border-bottom:1px solid #29434f80;padding:13px 15px;background:#0a202c}
#member-rebates .rebate-rate-grid>div:nth-child(even){background:#112d39}
#member-rebates .rebate-history{margin-top:30px}
#member-rebates .rebate-section-head .text-button{display:flex;gap:10px;font-size:12px;padding:8px 0;color:var(--muted);min-height:36px}
#member-rebates .rebate-toolbar{display:flex;gap:12px;justify-content:space-between;margin:0 0 17px;align-items:center;flex-wrap:wrap}
#member-rebates .rebate-filters{display:flex;min-width:0;overflow-x:auto;scrollbar-width:thin;gap:8px;max-width:100%;padding-bottom:3px}
#member-rebates .rebate-filters .chip{flex:none;white-space:nowrap;font-size:12px;padding:8px 15px;border-radius:7px;background:#0a202c;border:1px solid var(--rebate-line);min-height:36px}
#member-rebates .rebate-filters [aria-pressed=true]{background:#aa863321;color:#ebce93;border-color:#947640}
#member-rebates .rebate-clear{font-size:11px;color:var(--rebate-gold);border:1px solid #66552f;border-radius:20px;padding:7px 12px;min-height:34px}
#member-rebates .rebate-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#member-rebates .rebate-record{min-width:0;border:1px solid var(--rebate-line);border-radius:12px;padding:20px;background:#0b2431}
#member-rebates .rebate-record-top{display:flex;gap:12px;justify-content:space-between;align-items:center}
#member-rebates .rebate-category{font-size:13px;color:var(--text);font-weight:500}
#member-rebates .rebate-record-amount{display:block;overflow-wrap:anywhere;font-size:29px;margin:14px 0 10px;color:#f0d29b;font-weight:550;font-variant-numeric:tabular-nums}
#member-rebates .rebate-record p{overflow-wrap:anywhere;color:var(--muted);margin:5px 0;font-size:11px;line-height:1.7}
#member-rebates .rebate-record-actions{display:flex;flex-wrap:wrap;border-top:1px solid var(--rebate-line);padding-top:14px;margin-top:15px;gap:10px}
#member-rebates .rebate-record-actions button{flex:1;min-width:100px;font-size:12px;min-height:40px;padding:9px 15px}
#member-rebates .rebate-record-actions .outline{border-color:#49616b}
#member-rebates .rebate-pager{font-size:12px;color:var(--muted);margin:20px 0}
#member-rebates .rebate-pager .outline{font-size:12px;border-color:#385360;padding:8px 13px;min-height:38px}
#member-rebates .rebate-conditions{margin-top:20px}
#member-rebates .rebate-conditions dl{margin:0}
#member-rebates .rebate-conditions dl>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--rebate-line);font-size:12px}
#member-rebates .rebate-conditions dt{color:var(--muted)}
#member-rebates .rebate-conditions dd{margin:0;text-align:end;line-height:1.6}
#rebate-history-title{scroll-margin-top:100px}
@media(max-width:759px){
 #member-rebates .rebate-overview{grid-template-columns:1fr;border-radius:14px}
 #member-rebates .rebate-balance{padding:22px 21px 20px}
 #member-rebates .rebate-total{font-size:40px;margin:14px 0 16px}
 #member-rebates .rebate-balance>.primary{width:100%;font-size:13px;min-height:43px}
 #member-rebates .rebate-overview-side{padding:18px 21px 16px;border-inline-start:0;border-top:1px solid var(--rebate-line)}
 #member-rebates .rebate-summary{gap:20px}
 #member-rebates .rebate-summary strong{font-size:23px}
 #member-rebates .rebate-summary small{display:block;font-size:11px;min-height:0;margin-bottom:8px}
 #member-rebates .rebate-settlement-note{margin-top:15px;padding-top:12px;font-size:11px;line-height:1.7}
 #member-rebates .rebate-closed{align-items:start;gap:9px;padding-top:12px}
 #member-rebates .rebate-closed>.rebate-status{font-size:10px;padding:4px 7px;max-width:43%}
 #member-rebates .rebate-closed p{font-size:11px;flex:1}
 #member-rebates .rebate-rates-section,#member-rebates .rebate-history{margin-top:24px}
 #member-rebates .rebate-section-head{margin-bottom:12px;gap:10px}
 #member-rebates .rebate-section-head h2{font-size:17px}
 #member-rebates .rebate-section-meta{font-size:10px}
 #member-rebates .rebate-category-rates{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #member-rebates .rebate-rate-card{padding:15px 13px}
 #member-rebates .rebate-rate-label{gap:7px;margin-bottom:13px;min-height:24px}
 #member-rebates .rebate-rate-label h3{font-size:12px}
 #member-rebates .rebate-rate-label svg{width:21px;height:21px}
 #member-rebates .rebate-rate-card>strong{font-size:23px;gap:3px}
 #member-rebates .rebate-rate-card>small{font-size:10px;margin-top:7px}
 #member-rebates .rebate-rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #member-rebates .rebate-rate-grid>div{padding:12px}
 #member-rebates .rebate-rates,#member-rebates .rebate-conditions{padding:14px}
 #member-rebates .rebate-records{display:grid;grid-template-columns:1fr;gap:12px}
 #member-rebates .rebate-record{padding:18px}
 #member-rebates .rebate-toolbar{gap:10px}
 #member-rebates .rebate-filters{display:flex;min-width:0;overflow-x:auto;scrollbar-width:thin;gap:7px}
 #member-rebates .rebate-filters .chip{padding:8px 12px;font-size:11px}
 #member-rebates .rebate-conditions dl>div{gap:15px;flex-wrap:wrap}
 #rebate-history-title{scroll-margin-top:82px}
}
@media(prefers-reduced-motion:reduce){#member-rebates details .rebate-disclosure{transition:none}}

#member-rebates .rebate-empty{grid-column:1/-1;text-align:center;padding:38px 20px;border:1px dashed var(--rebate-line);border-radius:12px;color:var(--muted)}#member-rebates .rebate-empty p{font-size:12px;line-height:1.8;margin-bottom:0}

body:has(#member-rebates) .rebate-detail-primary{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(#member-rebates) .rebate-detail-more{padding:14px 0 18px;margin-bottom:18px;border-bottom:1px solid var(--line)}body:has(#member-rebates) .rebate-detail-more>summary{color:var(--gold);font-size:12px;cursor:pointer}body:has(#member-rebates) .rebate-detail>.hint{line-height:1.8;font-size:12px}body:has(#member-rebates) .rebate-detail-grid strong{line-height:1.7}body:has(#member-rebates) .rebate-detail .rebate-pager button{font-size:12px;padding:8px 12px;min-height:36px;border-color:#49606b}body:has(#member-rebates) .rebate-detail .rebate-pager{font-size:12px}

#member-rebates .rebate-rates-unavailable .rebate-rate-card{padding:13px 16px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}#member-rebates .rebate-rates-unavailable .rebate-rate-label{margin:0}#member-rebates .rebate-rates-caption{font-size:11px;color:var(--muted);margin:10px 0 0;line-height:1.6}@media(max-width:759px){#member-rebates .rebate-rates-unavailable .rebate-rate-card{padding:12px 11px;gap:6px}#member-rebates .rebate-rates-unavailable .rebate-rate-label{gap:6px}#member-rebates .rebate-rates-unavailable .rebate-rate-label svg{width:19px;height:19px}#member-rebates .rebate-rates-unavailable .rebate-rate-label h3{font-size:11px}}
#member-rebates .rebate-rates-unavailable .rebate-rate-card>strong{display:none}
@media(max-width:759px){#member-rebates .rebate-summary small{min-height:34px}#member-rebates .rebate-rates-unavailable .rebate-rate-card{min-height:48px}}

#member-rebates .rebate-rate-grid>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}#member-rebates .rebate-rate-grid span{font-size:12px;color:var(--muted)}#member-rebates .rebate-rate-grid strong{font-size:14px;color:var(--bright);font-variant-numeric:tabular-nums}
