/* Eco Botanic member care and loyalty presentation. Load after the existing styles.
   All selectors stay inside the authenticated shell; no reward rules change. */
.app-shell .care-launch{padding:24px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(135deg,var(--surface),var(--bg));box-shadow:inset 0 1px 0 #ffffff60,0 12px 28px #44226908}
.app-shell .care-launch h2{font-size:22px;letter-spacing:-.4px;margin-bottom:8px}
.app-shell .care-launch>div>p{font-size:13px;max-width:580px;margin-bottom:20px}
.app-shell .care-launch-grid{gap:12px}
.app-shell .care-launch-grid button{min-height:84px;padding:17px;border-radius:19px;background:linear-gradient(145deg,var(--surface) 25%,var(--soft));box-shadow:inset 0 2px 1px #ffffff80,0 4px 0 -2px var(--line),0 9px 18px #4b28670c;transition:transform .2s,box-shadow .2s,border-color .2s}
.app-shell .care-launch-grid button .care-icon{width:48px;height:48px;flex:none}
.app-shell .care-launch-grid button span{font-size:13px;line-height:1.55;min-width:0}
.app-shell .care-launch-grid button b{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;flex:none;background:var(--surface);font-size:17px;box-shadow:0 2px 5px #49307112}
.app-shell .next-visit{position:relative;padding:28px;gap:24px;border-radius:28px;background:radial-gradient(ellipse at 0 0,#ceb6f040,transparent 65%),linear-gradient(145deg,var(--surface) 35%,var(--soft));border:1px solid var(--line);box-shadow:inset 0 2px 0 #ffffff90,0 5px 0 -3px var(--line),0 20px 36px #48205b0e}
.app-shell .next-visit-art{width:96px;height:96px;flex-basis:96px;border-radius:28px;background:radial-gradient(circle at 30% 15%,#fff,#eddcfc 65%,#d1afd9);box-shadow:inset 0 3px 3px #ffffffbb,0 5px 0 #d4bde5,0 14px 22px #68338e20}
.app-shell .next-visit-art img{width:78px;height:78px;animation:none}
.app-shell .next-visit .eyebrow{font-size:10px;letter-spacing:1.2px;line-height:1.6}
.app-shell .next-visit h3{font-size:clamp(20px,2.3vw,26px);line-height:1.4;margin:6px 0 10px;color:var(--ink)}
.app-shell .next-visit-date{font-size:15px;font-variant-numeric:tabular-nums;line-height:1.6}
.app-shell .next-visit small{font-size:11px}
.app-shell .visit-countdown{max-width:100%;font-size:12px;padding:7px 12px;line-height:1.6;overflow-wrap:anywhere;box-shadow:inset 0 1px 0 #ffffff70}
.app-shell .next-visit .actions{justify-content:flex-start;gap:10px;margin-top:18px}
.app-shell .next-visit .actions>button,.app-shell .next-visit .visit-directions{min-height:46px;font-size:12px;line-height:1.5;padding:11px 15px;border-radius:14px;white-space:normal;overflow-wrap:anywhere}
.app-shell .stats .stat-card{min-width:0;border-radius:22px;box-shadow:inset 0 1px 0 #ffffff50,0 8px 22px #51257308}
.app-shell .stats .stat-card>span:first-child{line-height:1.5;overflow-wrap:anywhere}
.app-shell .stats .stat-card strong{font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.2;overflow-wrap:anywhere}
.app-shell .reward-balance{min-height:170px;position:relative;padding:30px 160px 30px 30px;border-radius:28px;isolation:isolate;background:radial-gradient(ellipse at 90% 15%,#b987cf66,transparent 65%),linear-gradient(125deg,#352046,#643689 65%,#8650a7);border:1px solid #ffffff28;box-shadow:inset 0 2px 0 #ffffff26,0 6px 0 -3px #b79bc9,0 18px 30px #48205b18;color:#fff}
.app-shell .reward-balance::after{content:"";position:absolute;width:145px;height:145px;border:1px solid #ffffff20;border-radius:50%;right:24px;top:calc(50% - 72px);box-shadow:0 0 0 15px #ffffff06;pointer-events:none;z-index:-1}
.app-shell .reward-balance>span:not(.stat-mark){display:block;font-size:13px;color:#f4eafa;line-height:1.5;overflow-wrap:anywhere}
.app-shell .reward-balance strong{font-size:clamp(36px,5vw,54px);margin:14px 0 0;color:#fff;line-height:1.1;letter-spacing:-1.8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.app-shell .stat-card.reward-balance .stat-mark{position:absolute;display:block;margin:0;width:125px;height:125px;right:35px;top:calc(50% - 62px);opacity:1;background:url("assets/reward-coin-v281.webp") center/contain no-repeat;filter:drop-shadow(0 12px 7px #25113355);pointer-events:none}
.app-shell .reward-balance .stat-mark img{visibility:hidden;width:100%;height:100%}
.app-shell .reward-balance+.notice{margin-top:20px;background:var(--surface);color:var(--muted);border:1px solid var(--line);padding:15px 18px;border-radius:16px;font-size:12px;line-height:1.75}
.app-shell .daily-section{margin-top:28px;margin-bottom:28px}
.app-shell .daily-section>.toolbar{align-items:flex-start;gap:14px;margin-bottom:18px}
.app-shell .daily-section>.toolbar h2{font-size:21px;line-height:1.4;letter-spacing:-.3px}
.app-shell .daily-section>.toolbar p{font-size:12px;margin:8px 0 0;max-width:500px;line-height:1.7}
.app-shell .daily-section>.toolbar>.badge{padding:8px 12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;font-size:11px;line-height:1.6;flex:none;max-width:100%;overflow-wrap:anywhere}
.app-shell .daily-section .two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.app-shell .checkin-card,.app-shell .wheel-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:26px;border-radius:26px;background:radial-gradient(ellipse at 50% 0,#e8d9fa66,transparent 58%),var(--surface);box-shadow:inset 0 2px 0 #ffffff85,0 5px 0 -3px var(--line),0 16px 30px #5025700c}
.app-shell .checkin-card h3,.app-shell .wheel-card h3{font-size:19px;line-height:1.5;color:var(--ink);max-width:100%;overflow-wrap:anywhere}
.app-shell .checkin-card>p,.app-shell .wheel-card>p{font-size:12px;line-height:1.7;max-width:300px;overflow-wrap:anywhere}
.app-shell .daily-art{width:116px;height:116px;border-radius:34px;animation:none;margin:12px auto 24px;background:radial-gradient(circle at 30% 10%,#fff9ee,#efe1fa 68%,#e4c7ef);box-shadow:inset 0 3px 2px #fff,0 5px 0 #d7bde6,0 15px 26px #5c348b18}
.app-shell .daily-art img{width:108px;height:108px}
.app-shell .daily-amount{color:var(--purple);font-size:40px;letter-spacing:-1px;line-height:1.4;margin:4px 0 12px;font-variant-numeric:tabular-nums}
.app-shell .daily-amount small{font-size:13px;letter-spacing:0;color:var(--muted)}
.app-shell .checkin-card>button,.app-shell .wheel-card>button{min-height:46px;width:100%;max-width:280px;margin-top:auto;padding:12px 18px;font-size:13px;line-height:1.6;border-radius:15px;white-space:normal;box-shadow:inset 0 2px 0 #ffffff30,0 4px 0 #41215e,0 10px 18px #53287918;color:#fff}
.app-shell .checkin-card>button:disabled,.app-shell .wheel-card>button:disabled{cursor:default;box-shadow:none;background:var(--soft);border:1px solid var(--line);color:var(--muted);opacity:1}
.app-shell .wheel-stage{width:216px;height:216px;margin:30px auto 40px;flex:none}
.app-shell .wheel-odds{width:100%;font-size:12px;margin-top:20px;overflow-wrap:anywhere}
.app-shell .wheel-odds summary{min-height:44px;display:list-item;padding:12px 14px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:13px;font-weight:600;line-height:1.6}
.app-shell .wheel-odds ul{padding:14px 0 0 24px;margin:0;color:var(--muted);line-height:2}
.app-shell .reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.app-shell .reward-card{min-width:0;padding:24px;border-radius:24px;background:linear-gradient(145deg,var(--surface),var(--bg));box-shadow:inset 0 2px 0 #ffffff70,0 5px 0 -3px var(--line),0 14px 26px #5433780d;transition:transform .2s,box-shadow .2s,border-color .2s}
.app-shell .reward-card .reward-icon{width:70px;height:70px;margin:0 0 14px 16px;object-fit:contain;filter:drop-shadow(0 8px 5px #56338224)}
.app-shell .reward-card h3{font-size:20px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere;color:var(--ink)}
.app-shell .reward-card .eyebrow{font-size:10px;letter-spacing:1.1px;margin:4px 0 12px;line-height:1.6;color:var(--purple)}
.app-shell .reward-card>small{display:block;line-height:1.7;overflow-wrap:anywhere;font-size:12px}
.app-shell .reward-card>p:not(.eyebrow){clear:both;font-size:12px;color:var(--muted);padding-top:16px;margin:0}
.app-shell .reward-card progress{height:10px;margin:12px 0 0;border-radius:20px;background:var(--soft)}
.app-shell .reward-card progress::-webkit-progress-value{background:linear-gradient(90deg,#7047a0,#b179ca);box-shadow:inset 0 1px 0 #ffffff45}
.app-shell .reward-card progress::-moz-progress-bar{background:linear-gradient(90deg,#7047a0,#b179ca);border-radius:20px}
.app-shell .reward-card>button{width:100%;min-height:46px;margin-top:20px;white-space:normal;font-size:13px;line-height:1.55;color:var(--ink)}
.app-shell .reward-card>button.primary{color:#fff;background:linear-gradient(135deg,#694192,#8652ae);box-shadow:inset 0 2px 0 #ffffff25,0 3px 0 #492663,0 8px 16px #5e388921}
.app-shell .reward-card>button:disabled{cursor:default;color:var(--muted);opacity:1;background:var(--bg);border-color:var(--line)}
.app-shell .points-ledger{border-radius:26px;overflow:hidden}
.app-shell .points-ledger>h2{font-size:21px;margin-bottom:8px}
.app-shell .points-ledger .record-row{align-items:center;padding:17px 0;gap:20px}
.app-shell .points-ledger .record-row>div{min-width:0;overflow-wrap:anywhere}
.app-shell .points-ledger .record-row h3{font-size:13px;line-height:1.5}
.app-shell .points-ledger .record-row p{font-size:11px;line-height:1.65}
.app-shell .points-delta{flex:none;min-width:58px;text-align:center;background:var(--soft);border:1px solid var(--line);padding:7px 11px;border-radius:12px;font-size:17px;line-height:1.4;font-variant-numeric:tabular-nums}
.app-shell .plan-card{background:radial-gradient(ellipse at 100% 0,#d3b8ef22,transparent 55%),linear-gradient(145deg,var(--surface),var(--bg));box-shadow:inset 0 2px 0 #ffffff70,0 5px 0 -3px var(--line),0 18px 28px #5025790e}
.app-shell .plan-ring{filter:drop-shadow(0 7px 4px #6b48731c)}
.app-shell .plan-card .plan-history summary{padding:6px 0;min-height:46px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.app-shell .plan-card .plan-history summary>span{flex:none}
.app-shell :is(.care-launch-grid button,.next-visit button,.visit-directions,.reward-card>button,.daily-section button,.wheel-odds summary,.plan-history summary):focus-visible{outline:2px solid var(--purple);outline-offset:4px}
.dark .app-shell .care-launch,.dark .app-shell .next-visit,.dark .app-shell .reward-card,.dark .app-shell .plan-card{box-shadow:inset 0 1px 0 #ffffff0d,0 5px 0 -3px #17101e,0 18px 28px #0002}
.dark .app-shell .next-visit-art{background:radial-gradient(circle at 30% 15%,#8e65ad,#543572 70%,#372043);box-shadow:inset 0 2px 2px #ffffff30,0 5px 0 #332141,0 14px 22px #0003}
.dark .app-shell .reward-balance{background:radial-gradient(ellipse at 95% 0,#a370c650,transparent 65%),linear-gradient(125deg,#33213f,#583171 65%,#73478f);box-shadow:inset 0 2px 0 #ffffff25,0 6px 0 -3px #291b34,0 18px 30px #0003}
.dark .app-shell .checkin-card,.dark .app-shell .wheel-card{background:radial-gradient(ellipse at 50% 0,#754d9538,transparent 58%),var(--surface);box-shadow:inset 0 1px 0 #ffffff12,0 5px 0 -3px #150d1e,0 16px 30px #0002}
.dark .app-shell .daily-art{background:radial-gradient(circle at 30% 10%,#6d4a85,#39254b 75%);box-shadow:inset 0 2px 2px #ffffff25,0 5px 0 #251932,0 15px 26px #0003}
.dark .app-shell .care-launch-grid button{box-shadow:inset 0 1px 0 #ffffff12,0 4px 0 -2px #1b1124,0 12px 20px #0002}
@media(hover:hover){.app-shell .care-launch-grid button:hover,.app-shell .reward-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:inset 0 2px 0 #ffffff25,0 6px 0 -3px var(--line),0 20px 30px #4b286719}.app-shell .next-visit .actions>button:not(:disabled):hover,.app-shell .checkin-card>button:not(:disabled):hover,.app-shell .wheel-card>button:not(:disabled):hover{transform:translateY(-1px)}}
@media(max-width:850px){.app-shell .daily-section .two-col{grid-template-columns:1fr}.app-shell .checkin-card,.app-shell .wheel-card{padding:24px}.app-shell .daily-section>.toolbar{flex-wrap:wrap}.app-shell .daily-section>.toolbar>.badge{flex:none}}
@media(max-width:700px){.app-shell .care-launch{padding:20px 16px;border-radius:22px}.app-shell .care-launch h2{font-size:20px}.app-shell .care-launch-grid{grid-template-columns:1fr}.app-shell .care-launch-grid button{min-height:76px;padding:14px}.app-shell .stats .stat-card{padding:15px 11px;min-height:136px;border-radius:18px}.app-shell .stats .stat-card strong{font-size:26px;margin-top:42px}.app-shell .stats .stat-mark{top:35px}.app-shell .stats .stat-card small{font-size:10px}.app-shell .reward-grid{grid-template-columns:1fr;gap:16px}.app-shell .reward-card{padding:22px}.app-shell .reward-balance{padding:26px 125px 26px 22px;min-height:150px;border-radius:24px}.app-shell .reward-balance strong{font-size:40px;letter-spacing:-1px}.app-shell .stat-card.reward-balance .stat-mark{width:100px;height:100px;right:17px;top:calc(50% - 50px)}.app-shell .reward-balance::after{width:100px;height:100px;right:18px;top:calc(50% - 50px);box-shadow:0 0 0 10px #ffffff06}.app-shell .daily-section>.toolbar h2{font-size:20px}.app-shell .daily-section>.toolbar>.badge{display:inline-block;margin:0}.app-shell .points-ledger .record-row{flex-direction:row;padding:16px 0;gap:14px}.app-shell .points-ledger .record-row p{font-size:11px}.app-shell .points-delta{font-size:16px;min-width:48px;padding:6px 8px}}
@media(max-width:600px){.app-shell .next-visit{display:grid;grid-template-columns:52px minmax(0,1fr);padding:22px 17px;gap:5px 13px}.app-shell .next-visit-art{width:52px;height:52px;flex-basis:52px;border-radius:17px;grid-column:1;grid-row:1/4}.app-shell .next-visit-art img{width:45px;height:45px}.app-shell .next-visit-copy{display:contents}.app-shell .next-visit-copy>*{grid-column:2;min-width:0}.app-shell .next-visit h3{font-size:18px;line-height:1.5;margin:3px 0 8px}.app-shell .next-visit-date{font-size:13px}.app-shell .next-visit .eyebrow{font-size:9px;letter-spacing:.6px;margin:0}.app-shell .next-visit .actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px;align-items:stretch}.app-shell .next-visit .actions>button,.app-shell .next-visit .visit-directions{width:100%;height:100%;min-height:46px;padding:10px 8px;text-align:center;justify-content:center;font-size:12px}.app-shell .visit-countdown{justify-self:start;margin:10px 0;font-size:11px}.app-shell .daily-section .two-col{gap:17px}.app-shell .daily-section .card{padding:24px 18px}.app-shell .wheel-stage{width:208px;height:208px}.app-shell .checkin-card>button,.app-shell .wheel-card>button{max-width:none}.app-shell .plan-card{padding:23px 20px}.app-shell .plan-card h3{font-size:21px}}
@media(max-width:360px){.app-shell .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .stats .stat-card:last-child{grid-column:1/-1;min-height:100px}.app-shell .stats .stat-card:last-child strong{margin-top:8px}.app-shell .stats .stat-card:last-child .stat-mark{right:18px;top:20px}.app-shell .stats .stat-card:last-child .stat-mark img{width:48px;height:48px}.app-shell .stats .stat-card:last-child>span:first-child,.app-shell .stats .stat-card:last-child strong,.app-shell .stats .stat-card:last-child small{max-width:calc(100% - 60px)}.app-shell .reward-balance{padding-right:106px;padding-left:19px}.app-shell .reward-balance strong{font-size:35px}.app-shell .stat-card.reward-balance .stat-mark{width:84px;height:84px;right:13px;top:calc(50% - 42px)}.app-shell .reward-balance::after{width:84px;height:84px;right:13px;top:calc(50% - 42px)}.app-shell .reward-card .reward-icon{width:58px;height:58px;margin-left:10px}.app-shell .reward-card h3{font-size:19px}.app-shell .care-launch-grid button .care-icon{width:42px;height:42px}.app-shell .daily-section .card{padding:22px 14px}.app-shell .wheel-stage{width:196px;height:196px}.app-shell .next-visit .actions{grid-template-columns:1fr}.app-shell .points-ledger{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){.app-shell .care-launch-grid button,.app-shell .reward-card,.app-shell .next-visit .actions>button,.app-shell .checkin-card>button,.app-shell .wheel-card>button{transition:none;transform:none!important}.app-shell .daily-art,.app-shell .next-visit-art img{animation:none}}
