.rewards-shell { max-width:980px; margin:24px auto 64px; }
.rewards-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.rewards-title h1 { margin:8px 0; font-size:32px; line-height:1.2; overflow-wrap:anywhere; }
.rewards-subtitle { color:#59665e; font-size:16px; margin:10px 0 0; }
#refresh-rewards, #close-review-outlets { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:10px; border:1px solid #c5d1cb; border-radius:4px; background:white; color:#174f41; cursor:pointer; }
#refresh-rewards svg, #close-review-outlets svg { width:20px; height:20px; }
#refresh-rewards:disabled { opacity:.5; cursor:wait; }
.rewards-filters { display:flex; gap:8px; position:sticky; top:env(safe-area-inset-top,0px); z-index:8; border-bottom:1px solid #bacac1; background:#f5f7f4; overflow-x:auto; }
.rewards-filters button { display:flex; align-items:center; justify-content:center; gap:10px; flex:0 0 auto; min-height:52px; padding:12px 18px; border:0; border-bottom:3px solid transparent; background:transparent; color:#526159; font:600 15px/1.5 Arial,sans-serif; white-space:nowrap; cursor:pointer; }
.rewards-filters button[aria-selected=true] { color:#075c48; border-bottom-color:#08775e; }
.rewards-filters b { font:600 13px/1.5 monospace; color:inherit; min-width:2ch; }
.rewards-filters button:focus-visible, .rewards-shell a:focus-visible, .rewards-shell button:focus-visible, .reward-terms summary:focus-visible { outline:3px solid #315fd8; outline-offset:-3px; }
.rewards-list-heading { display:flex; align-items:center; gap:10px; margin:24px 0 16px; }
.rewards-list-heading h2 { font-size:18px; margin:0; }
#reward-visible-count { color:#58695f; font:600 16px/1.5 monospace; }
#campaign-status { font-size:14px; line-height:1.7; }
#campaign-status:empty { display:none; }
#campaign-status[data-state=error] { padding:16px 0; color:#923c39; border-block:1px solid #e1c5c1; }
.reward-campaigns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.reward-activity { display:flex; flex-direction:column; gap:14px; min-width:0; padding:20px; border:1px solid #c8d2cb; border-top:3px solid #08775e; border-radius:6px; background:white; }
.reward-review { border-top-color:#386c9a; }
.reward-activity[data-status=expired], .reward-activity[data-status=paused], .reward-activity[data-status=unavailable] { background:#f0f3f1; border-top-color:#a3b0a8; }
.reward-card-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.reward-category { font-size:12px; color:#52635a; font-weight:700; }
.rewards-shell a.reward-category { text-decoration:underline; text-underline-offset:4px; }
.activity-badge { display:inline-block; padding:5px 10px; border:1px solid #cbd4ce; border-radius:3px; font-size:13px; line-height:1.5; font-weight:700; white-space:nowrap; background:#e7ece8; color:#4d5d53; }
.activity-ongoing { border-color:#8dc8af; color:#07513b; background:#d8f3e6; }
.activity-expired { border-color:#d1b4af; color:#803d34; background:#f2e7e4; }
.activity-paused { border-color:#d9c37f; color:#745500; background:#faf1cf; }
.reward-card-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:72px; }
.reward-card-heading h2 { margin:0; font-size:22px; line-height:1.4; overflow-wrap:anywhere; min-width:0; }
.reward-card-image { display:block; width:96px; height:72px; object-fit:contain; flex:none; }
.reward-review .reward-card-image { width:72px; height:72px; }
.reward-benefits { display:grid; gap:10px; }
.reward-benefit { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:14px; border-top:1px solid #e0e6e1; }
.reward-benefit > div { min-width:0; }
.reward-benefit-label { display:block; color:#59665e; font-size:13px; margin-bottom:6px; }
.reward-benefit-value { display:block; color:#075c48; font-size:20px; line-height:1.5; overflow-wrap:anywhere; }
.reward-benefit .activity-badge { font-size:11px; padding:3px 6px; }
.reward-small { margin:0; font-size:14px; line-height:1.7; color:#526159; overflow-wrap:anywhere; }
.rewards-shell a.reward-location-link { color:#075c48; text-decoration:underline; text-underline-offset:4px; font-size:14px; line-height:1.7; }
.reward-terms { font-size:13px; line-height:1.7; border-top:1px solid #e0e6e1; padding-top:14px; }
.reward-terms summary { cursor:pointer; font-weight:600; }
.reward-terms ul { margin:12px 0 0; padding-left:20px; color:#526159; }
.reward-terms li + li { margin-top:8px; }
.reward-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:4px; }
.rewards-shell .reward-action { display:inline-flex; align-items:center; justify-content:center; min-width:0; min-height:46px; flex:1 1 140px; box-sizing:border-box; padding:10px 14px; border:1px solid #075c48; border-radius:4px; background:#075c48; color:white; text-decoration:none; font:600 14px/1.6 Arial,sans-serif; text-align:center; overflow-wrap:anywhere; cursor:pointer; }
.rewards-shell .reward-action:hover { background:#064433; }
.rewards-shell .reward-action-secondary { color:#075c48; background:white; border-color:#a7bdb0; }
.rewards-shell .reward-action-secondary:hover { background:#edf6f0; }
.reward-review .reward-action { color:#235784; background:#edf4fc; border-color:#b2c8dd; }
.reward-review .reward-action:hover { background:#deebf9; }
.reward-review-value { color:#235784; font-size:22px; line-height:1.4; }
.reward-custom-value { color:#075c48; font-size:26px; line-height:1.4; overflow-wrap:anywhere; }
.reward-deadline { margin:0; font-size:12px; line-height:1.7; color:#59665e; overflow-wrap:anywhere; }
.reward-empty { padding:36px 0; font-size:15px; color:#59665e; border-bottom:1px solid #cdd5cc; }
#review-outlet-dialog { box-sizing:border-box; width:min(640px,calc(100% - 32px)); max-height:calc(100dvh - 40px); overflow:auto; padding:24px; border:1px solid #b9c8bf; border-radius:8px; background:white; color:#19231e; }
#review-outlet-dialog::backdrop { background:#10231c99; }
.review-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.review-dialog-heading h2 { margin:0; font-size:22px; line-height:1.4; }
.review-terms { font-size:14px; line-height:1.7; color:#526159; }
.review-outlet { padding:20px 0; border-top:1px solid #d7dfd9; }
.review-outlet h3 { margin:0; font-size:18px; line-height:1.5; overflow-wrap:anywhere; }
.review-outlet p { font-size:13px; line-height:1.7; color:#526159; overflow-wrap:anywhere; }
.review-outlet .reward-action { width:100%; flex:none; }
@media (max-width:680px) {
  .rewards-shell { margin-top:22px; }
  .rewards-title { margin-bottom:18px; }
  .rewards-title h1 { font-size:28px; }
  .rewards-filters { gap:0; }
  .rewards-filters button { flex:1 0 auto; padding:12px 10px; font-size:13px; gap:7px; }
  .reward-campaigns { grid-template-columns:minmax(0,1fr); gap:16px; }
  .reward-activity { padding:20px; gap:16px; }
  .reward-card-heading { gap:12px; min-height:72px; }
  .reward-card-heading h2 { font-size:20px; }
  .reward-card-image { width:88px; height:72px; }
  .reward-benefit { flex-wrap:wrap; }
  .reward-benefit-value { font-size:19px; }
  .reward-actions { gap:8px; }
  #review-outlet-dialog { padding:20px; }
}
