#signup-offer-dialog{width:min(460px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #dce5f3;border-radius:24px;padding:38px 28px;background:linear-gradient(#fff,#f2f5fa);color:#101b32;box-shadow:0 22px 80px #0e244737;max-height:calc(100dvh - 32px);overflow:auto;font-family:inherit}#signup-offer-dialog::backdrop{background:#0c1d38a6}#signup-offer-dialog h2{font-size:clamp(28px,5vw,36px);line-height:1.15;margin:18px 0}#signup-offer-dialog p{line-height:1.65;color:#53627c}#signup-offer-dialog .signup-close{position:absolute;right:10px;top:8px;background:transparent;color:#263b5e;font-size:28px;width:44px;height:44px;padding:0}#signup-offer-dialog .reward-actions{display:grid;gap:10px}#signup-offer-dialog button,#account-rewards button,#cart-rewards button,#rewards-section button{min-height:44px;border-radius:10px;padding:10px 16px;cursor:pointer;font:inherit}#signup-offer-create,#account-rewards button,#cart-rewards button{background:#155eef;color:#fff;border:1px solid #155eef}#signup-offer-later{background:#fff;border:1px solid #b7c9e7;color:#23406b}.rewards-terms{font-size:12px}#signup-offer-dialog button:focus-visible,#account-rewards button:focus-visible,#cart-rewards button:focus-visible,#rewards-section :is(button,input,select,textarea):focus-visible{outline:3px solid #155eef;outline-offset:3px}#account-rewards,#cart-rewards{padding:18px 0;border-top:1px solid #dce5f3;margin-top:18px}#account-rewards h3{margin-top:20px}#account-rewards dl{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:14px}#account-rewards dd{font-weight:700;margin:0}#account-rewards p,#account-rewards li{font-size:13px;line-height:1.6}#account-rewards input{width:100%;box-sizing:border-box}#cart-rewards{display:grid;gap:8px}#cart-rewards[hidden],#account-rewards[hidden]{display:none}.reward-item{padding:16px;border:1px solid #dae4f4;border-radius:12px;margin:10px 0}.reward-item h4{margin:0}#account-rewards button:disabled,#cart-rewards button:disabled{opacity:.5;cursor:not-allowed}.rewards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#rewards-section form{display:grid;gap:12px}#rewards-section label{display:grid;gap:6px;font-size:14px}#rewards-section input,#rewards-section select,#rewards-section textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #bdcbe2;border-radius:8px}#rewards-section input[type=checkbox]{width:20px;min-height:20px}#rewards-section .check-label{display:flex;align-items:center;gap:10px}#rewards-section .panel{padding:24px;min-width:0}#rewards-section pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px}#rewards-section button:disabled{opacity:.5}#rewards-section .rewards-wide{grid-column:1/-1}@media(max-width:700px){.rewards-grid{grid-template-columns:1fr}#signup-offer-dialog{padding:32px 22px}#account-rewards button{width:100%}}
#signup-offer-dialog p{margin:12px 0}#signup-offer-dialog .rewards-terms{margin:10px 0 0}#rewards-admin-confirm{width:min(460px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #dce5f3;border-radius:16px;padding:24px}#rewards-admin-confirm::backdrop{background:#0c1d3880}#cart-rewards button[aria-pressed=true]{background:#103c9c;box-shadow:0 0 0 2px #b9d0ff}

/* Cart-only presentation: account and Admin rewards retain their existing layout. */
#cart-rewards{min-width:0;gap:12px}
#cart-rewards .cart-reward-details{min-width:0;border:1px solid #d7e2f1;border-radius:14px;background:#f2f5fa;overflow:hidden}
#cart-rewards summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;position:relative;min-height:60px;box-sizing:border-box;padding:14px 42px 14px 16px;list-style:none;cursor:pointer;color:#17233d}
#cart-rewards summary::-webkit-details-marker{display:none}
#cart-rewards summary::after{content:'';position:absolute;right:19px;top:22px;width:8px;height:8px;border-right:2px solid #155eef;border-bottom:2px solid #155eef;transform:rotate(45deg)}
#cart-rewards details[open] summary::after{top:27px;transform:rotate(225deg)}
#cart-rewards .cart-reward-heading{font-weight:700;font-size:15px}
#cart-rewards .cart-reward-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;line-height:1.5;color:#53627c}
#cart-rewards .cart-reward-selected{color:#155eef;font-weight:600}
#cart-rewards .cart-reward-body{display:grid;gap:10px;border-top:1px solid #d7e2f1;padding:16px;background:#fff;min-width:0}
#cart-rewards label{font-size:13px;font-weight:600;color:#17233d}
#cart-rewards select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:48px;border:1px solid #aabbd5;border-radius:9px;padding:10px 30px 10px 12px;background:#fff;color:#17233d;font:inherit;font-size:14px;text-overflow:ellipsis}
#cart-rewards .cart-reward-body p{margin:0;font-size:12px;line-height:1.55;color:#53627c;overflow-wrap:anywhere}
#cart-rewards .cart-reward-actions{display:flex;flex-wrap:wrap;gap:8px}
#cart-rewards .cart-reward-actions button{flex:1 1 160px;white-space:normal;font-size:13px}
#cart-rewards .cart-reward-secondary{background:#fff;color:#155eef;border:1px solid #b7c9e7}
#cart-rewards button[hidden],#cart-rewards .cart-reward-selected[hidden]{display:none}
#cart-rewards summary:focus-visible,#cart-rewards select:focus-visible{outline:3px solid #155eef;outline-offset:-3px}
#cart-rewards>button[data-offer=first_order]{background:#fff;color:#155eef;border:1px solid #b7c9e7;font-size:13px}
#cart-rewards>button[data-offer=first_order][aria-pressed=true]{background:#155eef;color:#fff}
@media(max-width:480px){#cart-rewards summary{display:block}#cart-rewards .cart-reward-meta{margin-top:4px}#cart-rewards .cart-reward-actions button{flex-basis:100%}}
