.bp-dialog{box-sizing:border-box;border:1px solid #8cb49b;border-radius:22px;padding:24px;width:min(590px,calc(100vw - 28px));max-height:90dvh;overflow:auto;background:#f5faf3;color:#172b49}.bp-dialog::backdrop{background:#071529b8}.bp-dialog h2{color:#172b49;margin:12px 0}.bp-dialog p{line-height:1.6}.bp-dialog label{display:block;margin:16px 0 7px;font-weight:750;line-height:1.5}.bp-dialog input:not([type=checkbox]),.bp-dialog select,.bp-dialog textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #95b4a2;border-radius:10px;padding:12px;background:white;color:#172b49;font:inherit;margin-top:6px;max-width:100%}.bp-dialog .bp-check{display:flex;gap:12px;align-items:flex-start}.bp-check input{flex:none;width:20px;height:20px;margin-top:3px}.bp-dialog button,.bp-dashboard button,.bp-owner button{border:1px solid #8cb49b;background:#dcefdc;color:#172b49;border-radius:11px;padding:11px 15px;font:inherit;font-weight:750;cursor:pointer;max-width:100%;white-space:normal}.bp-dialog button:disabled{opacity:.6;cursor:wait}.bp-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.bp-confirmation-image{display:block;width:100%;height:auto;object-fit:contain;margin-top:20px;border-radius:12px}.bp-logo{display:block;width:110px;height:auto;max-height:100px;object-fit:contain}.bp-activity-card{background:#f1f7ee;border:1px solid #a6c5ae;border-radius:16px;padding:18px;margin:14px 0;color:#172b49;overflow-wrap:anywhere}.bp-activity-card dl{display:grid;grid-template-columns:1fr;gap:3px;margin:14px 0}.bp-activity-card dt{font-size:.8rem;font-weight:750;color:#48654e;margin-top:8px}.bp-activity-card dd{margin:0;line-height:1.5}.bp-card-heading,.bp-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.bp-status{display:inline-block;border:1px solid #b9a974;border-radius:999px;background:#fff2cf;color:#604b19;padding:6px 11px;font-weight:750;font-size:.85rem}.bp-completed{background:#d9efdb;color:#26502c;border-color:#8cb49b}.bp-owner{padding:18px;border:1px solid #91b3a6;border-radius:18px;background:#e9f4ed;margin:18px 0}.bp-owner[hidden]{display:none}.bp-dashboard{margin:18px 0 0;padding:18px;border:1px solid #8cb49b;border-radius:20px;background:#172b49;color:#fff}.bp-dashboard:empty{display:none}.bp-dashboard h3{color:#fff;margin:4px 0 12px}.bp-dashboard .bp-activity-card p{color:#294431;line-height:1.5}
body #rewards #repairHistoryBox{background:#15243d;border:1px solid #8cb49b;border-radius:20px;max-height:520px}
body #rewards #repairHistoryBox :is(.history-row,.live-request-row,.empty){background:#f1f7ee;border-color:#a6c5ae;align-items:flex-start;text-align:left}
body #rewards #repairHistoryBox .history-row>div,body #rewards #repairHistoryBox :is(.history-row,.live-request-row,.empty) :is(strong,small,span,p,b){text-align:left!important}
@media(max-width:520px){.bp-dialog{padding:18px}.bp-activity-card{padding:15px}.bp-dashboard{padding:14px}}

body #rewards .member-dashboard{background:#0c1424;border:1px solid #8cb49b;border-radius:22px;padding:18px;margin-top:24px}
body #rewards .member-dashboard>.section-head h2{color:#fff;margin:0;font-size:1.35rem}
body #rewards #repairHistoryBox :is(.history-row,.live-request-row,.empty){background:#edf3fb;border-color:#9bb8d6}
body #rewards #repairHistoryBox .history-row small{color:#385675!important}

/* One dashboard surface; activity follows the normal page scroll. */
body #rewards .member-dashboard>.section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
body #rewards .bp-refresh-dashboard{padding:8px 13px;border:1px solid #8cb49b;border-radius:10px;background:#dcefdc;color:#172b49;font:inherit;font-weight:750;cursor:pointer}
body #rewards #repairHistoryBox{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;overscroll-behavior:auto;touch-action:auto;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body #rewards .member-dashboard #billPayDashboard{margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#fff;overflow:visible;max-height:none}
body #rewards .member-dashboard .bp-activity-card{background:#edf3fb;border:1px solid #9bb8d6;border-radius:16px;margin:0 0 12px;padding:16px 14px;color:#172b49;box-shadow:none}
body #rewards .member-dashboard #billPayDashboard>h3{font-size:1rem;margin:18px 0 12px;color:#d1e8d3}

/* Compact dropdown with one shared activity scroller. */
body #rewards details.member-dashboard{padding:0;border-radius:22px;overflow:hidden;background:#172b49;border:1px solid #8cb49b}
body #rewards .member-dashboard-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;cursor:pointer;list-style:none;background:#172b49;color:#b6ee53}
body #rewards .member-dashboard-summary::-webkit-details-marker{display:none}
body #rewards .member-dashboard-summary h2{margin:0;color:#b6ee53;font-size:1.3rem;line-height:1.35;text-shadow:none}
body #rewards .member-dashboard-summary>span{font-size:1.5rem;transition:transform .15s}
body #rewards details.member-dashboard[open]>.member-dashboard-summary>span{transform:rotate(180deg)}
body #rewards .member-dashboard-scroll{box-sizing:border-box;max-height:480px;max-height:min(60dvh,480px);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:14px;background:#f5f8f2;border-radius:0 0 20px 20px;scrollbar-width:thin;scrollbar-color:#8cb49b #edf3fb}
body #rewards .member-dashboard .dashboard-refresh-bar{display:flex;justify-content:flex-end;margin:0 0 12px}
body #rewards .member-dashboard #repairHistoryBox :is(.history-row,.live-request-row,.empty),body #rewards .member-dashboard .bp-activity-card{border-radius:16px;overflow:hidden}
body #rewards .member-dashboard #billPayDashboard{color:#172b49}
body #rewards .member-dashboard #billPayDashboard>h3{color:#254b39}

/* Always-visible dashboard, with one bordered vertical activity viewport. */
body #rewards section.member-dashboard{padding:0;border:2px solid #8cb49b;border-radius:22px;overflow:hidden;background:#172b49}
body #rewards section.member-dashboard>.member-dashboard-summary{cursor:default;padding:18px 20px;background:#172b49}
body #rewards section.member-dashboard>.member-dashboard-summary h2{color:#b6ee53}
body #rewards section.member-dashboard>.member-dashboard-scroll{border-top:1px solid #8cb49b;border-radius:0 0 20px 20px}

/* Header controls sit together; no divider or separate refresh strip. */
body #rewards section.member-dashboard>.member-dashboard-summary{gap:12px;padding:16px 18px;align-items:center}
body #rewards section.member-dashboard>.member-dashboard-summary h2{color:#fff}
body #rewards section.member-dashboard>.member-dashboard-summary .bp-refresh-dashboard{margin:0 0 0 auto;padding:8px 13px;background:#b6ee53;color:#172b49;border:1px solid #b6ee53;border-radius:10px;flex:0 0 auto}
body #rewards section.member-dashboard>.member-dashboard-scroll{border-top:0;background:#172b49;padding:0 14px 14px;scrollbar-color:#8cb49b #172b49}
body #rewards .member-dashboard #repairHistoryBox :is(.history-row,.live-request-row,.empty),body #rewards .member-dashboard .bp-activity-card{background:#f5faf3;border:0;box-shadow:none}
body #rewards .member-dashboard #billPayDashboard>h3{color:#fff}

/* Keep activity previews visible without trapping page scrolling. */
body #rewards section.member-dashboard>.member-dashboard-scroll{height:auto!important;max-height:none!important;overflow:visible!important;touch-action:auto}
body #rewards .member-dashboard [data-dashboard-preview-hidden]{display:none!important}
body #rewards .member-dashboard .dashboard-preview-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:12px 14px 18px;color:#fff}
body #rewards .member-dashboard .dashboard-preview-toggle{border:0;border-radius:12px;background:#b6ee53;color:#172b49;padding:12px 18px;font-weight:700;cursor:pointer}
body #rewards .member-referral-actions{display:flex!important;justify-content:center!important;align-items:center;width:100%;margin:16px auto}
body #rewards .member-referral-actions #copyMemberReferral{flex:0 1 auto!important;margin:0 auto!important;text-align:center}

.bp-owner .bp-activity-card{padding:14px}
.bp-owner .bp-activity-card>p{margin:7px 0;line-height:1.45;overflow-wrap:anywhere}
.bp-owner .bp-activity-card>details{margin-top:8px}
.bp-owner .bp-activity-card>details>summary{cursor:pointer;width:fit-content;color:#254a7b;font-weight:750;min-height:28px;padding:7px 0}
.bp-owner .bp-activity-card>details>summary:focus-visible{outline:3px solid #c9ac53;outline-offset:3px;border-radius:5px}
#internetRequestStatus{font-weight:750;line-height:1.5;overflow-wrap:anywhere}

.bp-activity-card.bp-service-roadside,body #rewards .member-dashboard .bp-activity-card.bp-service-roadside{background:#fff0df;border:2px solid #d66b19;color:#74330b}
.bp-activity-card.bp-service-roadside>strong{display:block;background:#a84112;color:#fff;border-radius:9px;padding:10px 12px;margin-bottom:10px}
.bp-activity-card.bp-service-roadside p,.bp-dashboard .bp-activity-card.bp-service-roadside p{color:#74330b}
.bp-service-roadside .roadside-points-note{font-size:.9rem;line-height:1.5;background:#ffe0bd;border-radius:10px;padding:12px}

.roadside-received-dialog{text-align:center;border:2px solid #d66b19;max-width:480px;background:#fff8ee;padding:28px}
.roadside-received-check{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:#d66b19;color:#fff;font-size:38px;font-weight:800}
.roadside-received-dialog h2{font-size:1.7rem}.roadside-received-dialog p{margin:14px 0}.roadside-received-dialog .roadside-received-reference{font-weight:800;color:#87390e;background:#ffe6c8;padding:12px;border-radius:10px}
.roadside-received-dialog button{display:block;width:100%;margin-top:20px;background:#172b49;color:#fff;border-color:#172b49;min-height:48px}

.bp-activity-card details>summary{cursor:pointer;font-weight:750;padding:12px 0;color:#172b49;min-height:24px}.bp-activity-card details[open]>summary{border-bottom:1px solid #a6c5ae;margin-bottom:12px}.bp-activity-card .bp-cancel-help{font-size:.85rem}.bp-activity-card h4{margin-bottom:8px;color:#172b49}

/* Pending work is visible first; completed services expand separately. */
body #rewards .member-dashboard [hidden]{display:none!important}
body #rewards .dashboard-activity{margin:0;padding:0;border:0;border-radius:0;background:transparent}
body #rewards .dashboard-pending>h3{font-size:1.05rem;line-height:1.45;margin:0 0 12px;color:#fff}
body #rewards .dashboard-activity .bp-activity-card{padding:12px 14px;margin:0 0 10px;min-height:0}
body #rewards .dashboard-activity .bp-activity-card>p{font-size:.88rem;line-height:1.5;margin:7px 0}
body #rewards .dashboard-activity .bp-card-heading{align-items:flex-start;gap:8px}
body #rewards .dashboard-activity .bp-card-heading>strong{flex:1 1 170px;font-size:.95rem;line-height:1.4}
body #rewards .dashboard-activity .bp-status{font-size:.75rem;padding:4px 8px}
body #rewards .dashboard-activity details>summary{font-size:.9rem;line-height:1.5;cursor:pointer;padding:8px 0}
body #rewards .dashboard-completed{margin-top:18px;border-top:1px solid #8cb49b;padding-top:10px}
body #rewards .dashboard-completed>summary,body #rewards #dashboardMorePending>summary{color:#fff;font-weight:800;font-size:1rem;padding:10px 0;min-height:44px}
body #rewards .dashboard-empty{font-size:.9rem;line-height:1.5;color:#e0e8f2;margin:8px 0 14px}

/* Frame each activity group and separate the request, quote and offer at a glance. */
body #rewards .dashboard-pending,body #rewards .dashboard-completed{border:1px solid #8cb49b;border-radius:20px;padding:14px;background:#172b49;min-width:0}
body #rewards .dashboard-pending>h3{padding:0 0 12px;margin-bottom:14px;border-bottom:1px solid #8cb49b55;font-size:1.02rem;letter-spacing:.01em}
body #rewards .dashboard-completed{margin-top:16px}
body #rewards .dashboard-activity .bp-activity-card{border:1px solid #a6c5ae;border-radius:14px;background:#f5faf3}
body #rewards .dashboard-activity .bp-request-summary{margin:10px 0 4px;padding:10px 12px;border:1px solid #bfd2c3;border-radius:10px;background:#e8f1e9;color:#172b49}
body #rewards .dashboard-activity .bp-request-summary p{margin:0;line-height:1.55;font-size:.88rem;color:#172b49}
body #rewards .dashboard-activity .bp-request-summary p+p{margin-top:7px}
body #rewards .dashboard-activity .bp-request-summary strong{color:#172b49;font-weight:800}
body #rewards .dashboard-activity .bp-request-service{overflow-wrap:anywhere}
@media(max-width:420px){body #rewards .dashboard-pending,body #rewards .dashboard-completed{padding:11px}}

.bc-claim-received{text-align:center;max-width:480px;border:2px solid #8cb49b}
.bc-claim-received h2{font-size:1.6rem;line-height:1.3;margin:18px 0 12px;color:#172b49}
.bc-claim-received p{line-height:1.6;margin:14px 0;color:#172b49}
.bc-claim-check{display:grid;place-items:center;width:60px;height:60px;margin:0 auto;border-radius:50%;background:#dcefdc;color:#244d36;font-size:2rem;font-weight:800}
.bc-claim-received .bc-claim-reference{padding:12px;border:1px solid #8cb49b;border-radius:12px;background:#e8f1e9;font-weight:800}
.bc-claim-received .bc-claim-pending{font-size:.9rem}
.bc-claim-received #bcClaimReturn{display:block;width:100%;min-height:48px;margin-top:22px;padding:12px 18px;border:1px solid #98c93f;border-radius:12px;background:#172b49;color:#fff;font:inherit;font-weight:800;cursor:pointer}

/* Distinguish the dashboard header from its activity groups. */
body #rewards section.member-dashboard>.member-dashboard-summary{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;background:#dce9d6;border-bottom:1px solid #8cb49b}
body #rewards section.member-dashboard>.member-dashboard-summary h2{grid-column:2;grid-row:1;text-align:center;font-family:"PhoneBoss Modern",Arial,sans-serif;font-weight:600;font-size:1.4rem;letter-spacing:.025em;color:#172b49;line-height:1.35}
body #rewards section.member-dashboard>.member-dashboard-summary .bp-refresh-dashboard{grid-column:3;grid-row:1;justify-self:end;margin:0;background:#172b49;color:#fff;border-color:#172b49}
@media(max-width:500px){
 body #rewards section.member-dashboard>.member-dashboard-summary{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px 12px}
 body #rewards section.member-dashboard>.member-dashboard-summary h2{grid-column:1;grid-row:1;font-size:clamp(1rem,4.6vw,1.25rem);white-space:nowrap;letter-spacing:0;min-width:0}
 body #rewards section.member-dashboard>.member-dashboard-summary .bp-refresh-dashboard{grid-column:2;grid-row:1;white-space:nowrap;padding:8px 11px}
}

body .bp-sale-summary{border:2px solid #d91887;border-radius:12px;padding:12px;background:#fff1fa;color:#172b49}body .bp-sale-response{margin:12px 0;padding:14px;border-left:4px solid #d91887;background:#fff1fa;border-radius:10px;color:#172b49;white-space:pre-wrap}body .bp-sale-review{margin:12px 0;padding:12px;border:1px solid #d91887;border-radius:12px}body .bp-sale-review label{display:block;margin:10px 0;font-weight:750}body .bp-sale-review select,body .bp-sale-review textarea{display:block;width:100%;box-sizing:border-box;padding:10px;margin-top:6px;background:#fff;color:#172b49;border:1px solid #93a2b3;border-radius:8px;font:inherit}body .bp-sale-review button{padding:12px;background:#172b49;color:white;border:1px solid #b6ee53;border-radius:10px;font:inherit;font-weight:750}
