/* COVID_19 gift workspace. Scoped presentation; existing permissions and actions remain server-side. */
.gift-workspace{--gift-ink:#18233f;--gift-purple:#7550d9;display:grid;gap:22px;color:var(--gift-ink)}
.gift-workspace>*,.gift-workspace .offer-grid>*{min-width:0;margin:0}
.gift-workspace .offer-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:24px;padding:32px 38px;border:1px solid #dfd7fb;border-radius:24px;background:linear-gradient(115deg,#f4edff 0%,#edf4ff 65%,#e3f8f6);box-shadow:0 12px 35px #46388b0a}
.gift-workspace .offer-hero h2{font-size:clamp(25px,2.5vw,38px);line-height:1.17;letter-spacing:-1px;margin:12px 0;color:#26214e}
.gift-workspace .offer-hero p{max-width:680px;line-height:1.8;color:#59647d;font-size:14px}
.gift-workspace .eyebrow,.gift-setup .eyebrow{color:#7650ce;letter-spacing:1.7px;font-size:10px;font-weight:800}
.gift-workspace .hero-gift{width:190px;height:190px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff73;border:1px solid #fff;border-radius:50%;align-self:center;font-size:18px;box-shadow:0 15px 35px #7650ce12}
.gift-workspace .hero-gift svg{width:112px;height:112px;filter:drop-shadow(0 8px 7px #7153aa25)}
.gift-workspace .hero-gift>span{position:absolute;right:18px;top:17px;color:#b498ec;font-size:27px}.gift-workspace .hero-gift small{font-size:9px;font-weight:800;letter-spacing:.8px;color:#7756ad;margin-top:10px}
.gift-workspace .offer-state{display:inline-flex;align-items:center;gap:7px;border-radius:24px;padding:8px 13px;font-size:10px;font-weight:800;letter-spacing:1px;background:#fff;color:#69748c;border:1px solid #d9dfeb}.gift-workspace .offer-state:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}.gift-workspace .offer-state.on{color:#13866c;border-color:#aaddcf;background:#ecfcf5}
.gift-workspace .offer-control{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;border-radius:19px;border:1px solid #e2d9f6;box-shadow:0 8px 24px #49318106;background:#fff}.gift-workspace .offer-control h2{font-size:18px;margin:0 0 5px}.gift-workspace .offer-control p{margin:0;color:#758096;font-size:13px}.gift-workspace .offer-control form{margin:0;flex:none}
.gift-workspace button{background:linear-gradient(110deg,#7652d7,#527ce3);border:0;border-radius:12px;min-height:46px;font-weight:700;box-shadow:0 6px 15px #7552d726}.gift-workspace button:disabled{background:#e5e9f2;color:#8591a8;box-shadow:none;cursor:not-allowed}.gift-workspace :is(button,input,select,a):focus-visible{outline:3px solid #a898f1;outline-offset:3px}
.gift-workspace .offer-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gift-workspace .offer-stats section{position:relative;overflow:hidden;padding:24px 26px;border:1px solid #e0e4f4;border-radius:19px;box-shadow:0 8px 25px #303f7706;background:#fff;display:flex;flex-direction:column;gap:12px}.gift-workspace .offer-stats small{color:#6b7590;font-size:12px;font-weight:600}.gift-workspace .offer-stats strong{color:#7354cc;font-size:36px;line-height:1.1;letter-spacing:-1px}.gift-workspace .offer-stats section:after{content:'✦';position:absolute;right:22px;bottom:20px;background:#f0eafa;color:#ab91e8;border-radius:14px;font-size:25px;width:48px;height:48px;text-align:center;line-height:48px}.gift-workspace .offer-stats section:nth-child(2) strong{color:#157f8c}.gift-workspace .offer-stats section:nth-child(2):after{color:#58aab1;background:#e8f7f6}.gift-workspace .offer-stats section:nth-child(3) strong{color:#cf8c26}.gift-workspace .offer-stats section:nth-child(3):after{color:#d9a353;background:#fff6e4}
.gift-workspace .offer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch}.gift-workspace .offer-grid>section,.gift-workspace .gift-history{padding:28px;border:1px solid #e3e7f1;border-radius:21px;box-shadow:0 10px 30px #28385806;background:#fff}.gift-workspace .offer-grid h2{margin:8px 0 20px;font-size:22px;letter-spacing:-.5px}.gift-workspace .claim-card form{display:grid;gap:18px;max-width:none;margin-top:20px}.gift-workspace label{font-size:12px;font-weight:700;color:#52617a}.gift-workspace input,.gift-workspace select{margin-top:8px;background:#f8faff;border:1px solid #dce3ef;border-radius:11px;padding:13px 14px;min-width:0;width:100%;box-sizing:border-box}.gift-workspace .claim-card button{width:100%;margin-top:2px}.gift-workspace .reward-progress{display:flex;gap:8px;margin:22px 0}.gift-workspace .reward-progress span{flex:1;text-align:center;padding:12px 6px;border-radius:10px;font-size:11px;background:#f0f2f8;color:#78849b;border:1px solid #e6e9f2}.gift-workspace .reward-progress .earned{color:#13866c;background:#e6f8ef;border-color:#b5e4d0}.gift-workspace .reward-progress .gift-target{background:#f1eaff;color:#8057c4;border-color:#e2d4fc}
.gift-workspace .offer-rules ol{list-style:none;counter-reset:gift-step;padding:0;margin:24px 0;display:grid;gap:18px}.gift-workspace .offer-rules li{counter-increment:gift-step;display:flex;gap:12px;align-items:center;font-size:13px;line-height:1.7;color:#62718a}.gift-workspace .offer-rules li:before{content:'0' counter(gift-step);flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f0ebfc;color:#825fc7;font-size:11px;font-weight:800}.gift-workspace .zero-due{background:#edfaf6;border:1px solid #c9eade;border-radius:13px;padding:17px 19px;color:#28795e}.gift-workspace .zero-due p{font-size:12px;line-height:1.8;margin:8px 0 0;color:#5e8376}.gift-workspace .offer-rules>p,.gift-workspace .claim-card>p{font-size:12px;color:#8290a5;line-height:1.8}
.gift-workspace .gift-role-summary{padding:3px 0}.gift-role-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#f1eaff;color:#936cd8;font-size:28px}.gift-role-summary h3{font-size:16px;margin:16px 0 9px}.gift-role-summary p{font-size:13px;line-height:1.9;color:#7a859b}.gift-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.gift-mini-grid>div{padding:15px;border-radius:12px;background:#f7f8fd;border:1px solid #edf0f8;display:flex;flex-direction:column;gap:5px}.gift-mini-grid b{font-size:23px;color:#7653c8}.gift-mini-grid small{font-size:11px;color:#7b879b}
.gift-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.gift-history-heading h2{margin:7px 0 0;font-size:22px}.gift-history-chip{padding:8px 12px;background:#f3f5fb;color:#7a859b;font-size:10px;border-radius:20px}.gift-workspace .table{overflow-x:auto;border:1px solid #e9edf4;border-radius:13px}.gift-workspace table{min-width:700px;width:100%;border-collapse:collapse}.gift-workspace th{background:#f8f9fd;color:#7d88a1;font-size:10px;letter-spacing:1px;padding:15px}.gift-workspace td{padding:16px;font-size:12px;color:#62708a}.gift-workspace td b{color:#384864;overflow-wrap:anywhere}.gift-empty{text-align:center;padding:24px 10px;display:flex;flex-direction:column;align-items:center;gap:10px}.gift-empty>span{font-size:34px;color:#bba3e9}.gift-empty p{font-size:12px;margin:0;color:#909bb0}
.gift-badge{display:inline-flex!important;align-items:center;gap:4px;padding:4px 8px!important;border-radius:6px!important;background:#f0e8fe!important;color:#8452c9!important;border:1px solid #e4d6f9!important;font-size:9px!important;font-weight:800;letter-spacing:.6px}.zero-pill{display:inline-block;background:#e9f8f1;color:#238364;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:700;white-space:nowrap}.reward-strip{border-color:#dfd6f6!important;background:linear-gradient(105deg,#f4edff,#edf8ff)!important;border-radius:20px!important}.reward-strip .reward-icon{background:#fff!important;border-radius:17px!important;box-shadow:0 8px 20px #7e5bba12}.reward-strip .reward-metric strong{color:#7552cd!important}
.gift-setup{background:radial-gradient(at 5% 5%,#ece2ff,transparent 60%),#f4f7fc;min-height:100vh}.gift-setup .content{margin:0 auto!important;max-width:850px;padding:50px 24px!important}.gift-setup-card{padding:32px!important;border-radius:22px!important;border:1px solid #dfd8f2!important;box-shadow:0 20px 50px #5842770c!important}.gift-setup-card p{color:#748098;line-height:1.9}.gift-setup-card button{background:#7952cc;border-radius:11px;padding:14px 20px}
@media(max-width:1100px){.gift-workspace .offer-grid{grid-template-columns:1fr}.gift-workspace .offer-hero{padding:26px;grid-template-columns:minmax(0,1fr) 160px}.gift-workspace .hero-gift{width:150px;height:150px}.gift-workspace .hero-gift svg{width:90px;height:90px}.gift-workspace .hero-gift small{font-size:7px}}
@media(max-width:650px){.gift-workspace{gap:16px}.gift-workspace .offer-hero{grid-template-columns:1fr;padding:24px}.gift-workspace .hero-gift{display:none}.gift-workspace .offer-stats{grid-template-columns:1fr;gap:12px}.gift-workspace .offer-stats section{padding:20px 22px}.gift-workspace .offer-stats strong{font-size:30px}.gift-workspace .offer-control{align-items:stretch;flex-direction:column;padding:22px}.gift-workspace .offer-control button{width:100%}.gift-workspace .offer-grid>section,.gift-workspace .gift-history{padding:22px 18px}.gift-history-heading{align-items:flex-start;flex-direction:column}.gift-workspace .reward-progress span{font-size:10px}.gift-setup .content{padding:24px 16px!important}.gift-setup-card{padding:24px!important}}
