/* Eco Botanic member experience v268. All patient content stays in the API. */
:root{--bg:#f5f2fa;--purple:#6939a4;--muted:#746a84;--line:#e5ddef;--shadow:0 12px 36px #3a1c6010}
body{background:radial-gradient(ellipse at 90% 0,#eaddf6 0,transparent 45%),var(--bg)}
.topbar{height:86px;background:var(--surface);box-shadow:0 3px 24px #40205f06}
.brand img{max-width:196px}
.app-shell{max-width:1400px;grid-template-columns:214px minmax(0,1fr);gap:30px;margin-top:24px}
.sidebar{background:var(--surface);padding:16px 10px;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.sidebar-label{font-size:10px;color:var(--muted);letter-spacing:2.5px;margin:0 0 18px}
.identity{padding:12px 14px 20px}.avatar{width:46px;height:46px;color:white;background:linear-gradient(135deg,#9c6dcf,#542386);box-shadow:0 5px 12px #522f8326;border:2px solid #fff8}
.identity h3{font-size:14px}.identity-line{display:block;width:32px;height:3px;background:linear-gradient(90deg,#8654c4,#eea2d2);margin-top:20px;border-radius:8px}
.side-nav{gap:5px}.side-nav button{min-height:52px;padding:8px 11px;font-size:12px;transition:background .2s,transform .2s,color .2s}
.side-nav button:hover{background:var(--soft);transform:translateX(3px)}.side-nav button.active{background:linear-gradient(120deg,var(--soft),var(--surface));box-shadow:inset 3px 0 #8657bc,0 4px 10px #5e368412}
.care-icon{display:block;width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 3px 4px #55297c18)}
.nav-symbol{display:block;flex:0 0 32px!important;width:32px!important}.nav-symbol .care-icon{width:32px;height:32px}
.content-head{margin:8px 0 23px}.content-head .eyebrow{color:var(--purple);margin-bottom:8px}.content-head h1{font-size:28px;letter-spacing:-.6px}.content-head p{font-size:12px}
.welcome-panel{position:relative;display:grid;grid-template-columns:1.4fr 1fr;min-height:262px;padding:32px 34px;margin-bottom:20px;overflow:hidden;border-radius:27px;background:linear-gradient(120deg,#311b50,#5c3381 65%,#8861b0);color:#fff;box-shadow:0 18px 36px #49226823;border:1px solid #ffffff26}
.welcome-panel::before{content:"";position:absolute;width:340px;height:340px;border:1px solid #ffffff14;border-radius:50%;right:-90px;top:-135px}.welcome-panel::after{content:"";position:absolute;right:-60px;bottom:-180px;width:340px;height:340px;border-radius:50%;background:#d1ace316;pointer-events:none}
.welcome-copy{position:relative;z-index:2;max-width:540px}.welcome-copy h2{font-size:clamp(24px,2.2vw,33px);letter-spacing:-.6px;line-height:1.3;margin:17px 0 12px;color:#fff}.welcome-copy p{color:#e0d1f1;font-size:13px;max-width:450px;line-height:1.8;margin-bottom:22px}.welcome-copy .private-pill{background:#ffffff15;color:#eee3f8;font-size:10px;border:1px solid #ffffff21}
.welcome-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.welcome-actions .primary{background:#fff;color:#573380;box-shadow:0 7px 15px #22133030;padding:11px 18px}.hero-secondary{color:#fff;background:#ffffff0d;border:1px solid #ffffff42;padding:10px 17px;border-radius:14px;font-weight:600;min-height:44px}
.welcome-art{position:relative;min-height:198px;display:grid;place-items:center;z-index:1;perspective:700px}
.art-halo{position:absolute;width:185px;height:185px;border:1px solid #dec4f559;border-radius:50%;box-shadow:0 0 0 24px #dcc4f30b,0 0 0 49px #dcc4f308;animation:halo-breathe 7s ease-in-out infinite}
.brand-medallion{width:182px;height:105px;display:grid;place-items:center;border-radius:23px;background:linear-gradient(145deg,#fff,#eee0f9);box-shadow:inset 1px 2px 1px #fff,7px 10px 0 #553377,12px 20px 27px #20103059;transform:rotateY(-15deg) rotateZ(-7deg);animation:brand-float 8s ease-in-out infinite;border:1px solid #ffffffba}
.brand-medallion img{width:159px;height:auto;object-fit:contain}.floating-icon{position:absolute;display:grid;place-items:center;width:76px;height:76px;border-radius:23px;background:#ffffff1a;border:1px solid #ffffff35;backdrop-filter:blur(3px);box-shadow:0 13px 24px #21113025;animation:asset-float 6s ease-in-out infinite}.floating-icon .care-icon{width:63px;height:63px}.floating-icon.one{top:0;left:7%;transform:rotate(-12deg)}.floating-icon.two{right:0;top:50px;animation-delay:-2s;transform:rotate(8deg)}.floating-icon.three{bottom:-6px;left:29%;animation-delay:-4s;transform:rotate(-6deg)}
.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:23px}
.quick-action{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:13px 16px;text-align:left;color:var(--ink);box-shadow:0 5px 15px #49226a07;min-height:86px;transition:transform .22s,box-shadow .22s,border-color .22s}.quick-action .care-icon{width:45px;height:45px;flex:none}.quick-action>span{font-weight:650;font-size:13px;min-width:0}.quick-action small{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-top:4px}.quick-action b{margin-left:auto;font-weight:400;color:var(--purple)}
.quick-action:hover,.service-link:hover,.reward-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #49226a17;border-color:#b895db}
.stats{gap:15px}.stat-card{min-height:158px;padding:22px 24px;background:linear-gradient(135deg,var(--surface),var(--bg))}.stat-card>span:first-child{font-size:12px;font-weight:600}.stat-card strong{font-size:36px;letter-spacing:-1px;margin:16px 0 5px;font-variant-numeric:tabular-nums}.stat-card small{font-size:10px;max-width:75%}.stat-card.featured{background:linear-gradient(130deg,#70409c,#442263);box-shadow:0 8px 18px #4e277523}.stat-mark{top:20px;right:17px;opacity:1}.stat-mark .care-icon{width:54px;height:54px}.stat-card strong{position:relative;z-index:1}.stat-card.featured strong{color:white}.featured small{color:#e6d7f3}
.card{box-shadow:var(--shadow)}.toolbar h2,.card>h2{font-size:19px}.two-col{gap:20px}.empty{background:linear-gradient(145deg,var(--bg),var(--surface));border:0;padding:24px 18px}.empty-icon .care-icon{width:68px;height:68px}.empty h3{font-size:14px;color:var(--ink)}.empty p{font-size:12px;line-height:1.8}.empty-icon{margin:0 0 10px!important}.toolbar .small-button{font-size:11px}
.primary,.secondary,.quiet,.hero-secondary{transition:transform .18s,box-shadow .18s,background .18s}.primary:hover,.secondary:hover,.hero-secondary:hover{transform:translateY(-2px)}.primary:active,.secondary:active,.quick-action:active{transform:translateY(1px)}button:disabled{cursor:not-allowed}input:focus,select:focus,textarea:focus{border-color:#9b75c9;box-shadow:0 0 0 3px #9b75c91a}button:focus-visible,a:focus-visible{outline:2px solid var(--purple)}
.record-row{position:relative;padding-left:18px;margin-left:4px;border-left:2px solid var(--line);border-bottom:0}.record-row::before{content:"";position:absolute;left:-5px;top:21px;width:8px;height:8px;background:var(--purple);border:2px solid var(--surface);border-radius:50%;box-shadow:0 0 0 3px var(--soft)}.record-row h3{font-size:14px}.record-row p{line-height:1.75}.points-ledger .record-row{padding-left:18px}
.photo-card{box-shadow:0 7px 20px #34194d0c}.photo-open img{transition:transform .5s;object-fit:contain}.photo-open:hover img{transform:scale(1.025)}.photo-card .badge{white-space:normal}.photo-info h3{line-height:1.55}.photo-info small{font-size:11px}.compare-controls{padding-bottom:12px;border-bottom:1px solid var(--line)}.compare-range{height:40px;padding:0;background:none;cursor:ew-resize}.compare-slider{box-shadow:inset 0 0 0 1px var(--line)}.compare-grid .badge{box-shadow:0 4px 12px #2b174524;background:var(--surface);color:var(--ink)}
.reward-balance{padding-right:110px}.reward-balance .stat-mark{right:28px;top:20px}.reward-balance .care-icon{width:95px;height:95px}.reward-card{position:relative;overflow:hidden;transition:transform .22s,box-shadow .22s}.reward-icon{float:right;width:56px;height:56px;margin:0 0 10px 14px}.reward-card progress{height:11px;border:0;border-radius:20px;overflow:hidden;transform-origin:left;accent-color:#8352be}.reward-card progress::-webkit-progress-bar{background:var(--soft);border-radius:20px}.reward-card progress::-webkit-progress-value{background:linear-gradient(90deg,#7743ab,#c392dc);border-radius:20px}.reward-card h3{font-size:18px}.reward-card>p:not(.eyebrow){font-size:12px}.reward-card .eyebrow{color:var(--purple)}
.service-link{display:flex;align-items:center;gap:10px;transition:transform .22s,box-shadow .22s}.service-link .care-icon{width:40px;height:40px;flex:none}.message{max-width:90%;margin-right:auto}.message.mine{margin-left:auto;margin-right:0;background:linear-gradient(125deg,var(--soft),var(--bg));border-bottom-right-radius:4px}.message:not(.mine){border-bottom-left-radius:4px}.message-form{padding-top:20px;border-top:1px solid var(--line)}.admin-grid .card{min-width:0}.activation-secret{overflow-wrap:anywhere}
.login-wrap{min-height:calc(100vh - 230px);max-width:1130px;gap:66px;margin:34px auto}.login-intro{padding:30px 0}.login-intro h1{font-size:clamp(32px,3.5vw,47px);line-height:1.25;max-width:530px;color:var(--ink)}.login-intro>p{font-size:14px;line-height:1.85}.care-orbit{gap:17px;margin:32px 0}.orbit-icon{width:101px;height:101px;border-radius:27px}.orbit-icon .care-icon{width:78px;height:78px}.login-card{box-shadow:0 20px 65px #55307717;border-top:3px solid #a67bc9}.login-card h2{font-size:25px}.login-card .eyebrow{margin-bottom:8px}.login-card form{margin-top:24px}.portal-footer{font-size:10px}
body.dark{--bg:#15111e;--surface:#231b31;--ink:#f5eefc;--muted:#c0b2cf;--line:#453653;--soft:#352644;--purple:#d1aef3;--shadow:0 12px 36px #08050e30;background:radial-gradient(ellipse at 90% 0,#302041 0,transparent 45%),var(--bg)}
.dark .stat-card.featured{background:linear-gradient(130deg,#69408e,#352047)}.dark .orbit-icon{background:linear-gradient(145deg,#49325e,#2c1d3e);box-shadow:inset 1px 1px #83649f50,7px 10px 20px #0003}.dark .badge.complete{color:#b8e9ce;background:#1c4937}.dark .sidebar{box-shadow:0 10px 30px #0002}.dark .side-nav button.active{background:linear-gradient(120deg,#49325d,#2a2038);color:#ead6ff}.dark .error-message{color:#ffadbe}.dark .danger{color:#ffa5b7}.dark .welcome-panel{background:linear-gradient(120deg,#2a173f,#4c2b69 65%,#704894)}.dark .primary:not(.welcome-actions .primary){color:#221230}.dark .reward-balance strong{color:#fff}.dark select{color-scheme:dark}.dark .hero-secondary{color:#fff}
@keyframes asset-float{0%,100%{translate:0 0}50%{translate:0 -9px}}
@keyframes brand-float{0%,100%{translate:0 0;transform:rotateY(-15deg) rotateZ(-7deg)}50%{translate:0 -6px;transform:rotateY(-8deg) rotateZ(-4deg)}}
@keyframes halo-breathe{0%,100%{scale:1;opacity:.7}50%{scale:1.07;opacity:1}}
@media(max-width:1100px){.app-shell{grid-template-columns:180px minmax(0,1fr);gap:20px}.welcome-panel{padding:28px 26px;grid-template-columns:1.4fr 1fr}.brand-medallion{width:146px;height:87px}.brand-medallion img{width:130px}.floating-icon{width:58px;height:58px;border-radius:17px}.floating-icon .care-icon{width:48px;height:48px}.welcome-art{min-height:205px}.art-halo{width:145px;height:145px}.quick-actions{gap:10px}.quick-action{padding:12px;gap:8px}.quick-action .care-icon{width:36px;height:36px}.quick-action small{font-size:10px}.stat-card{padding:20px}.stat-mark .care-icon{width:42px;height:42px}.stat-mark{right:12px;top:18px}.stat-card strong{font-size:32px}}
@media(max-width:700px){.topbar{height:75px;padding:8px 16px}.brand img{max-width:135px;height:45px}.app-shell{padding:0 16px;display:block;margin-top:16px}.sidebar{padding:7px 5px;border-radius:18px;position:static;margin-bottom:20px}.identity{display:none}.side-nav{margin:0;padding:0 0 2px;gap:3px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.side-nav button{flex:0 0 auto;flex-direction:column;gap:4px;padding:7px 10px;min-width:74px;min-height:64px;font-size:10px}.side-nav button.active{box-shadow:inset 0 -2px #a878ca;background:var(--soft);border-radius:13px}.nav-symbol,.nav-symbol .care-icon{width:28px!important;height:28px}.side-nav button:hover{transform:none}.content-head{margin-bottom:17px}.content-head h1{font-size:25px}.content-head p{font-size:11px}.welcome-panel{grid-template-columns:1fr minmax(85px,.45fr);padding:23px 20px;min-height:239px;border-radius:23px;gap:7px}.welcome-copy h2{font-size:24px;line-height:1.4;margin:14px 0 11px}.welcome-copy p{font-size:11px;line-height:1.8;margin-bottom:17px}.welcome-actions{gap:8px}.welcome-actions .primary,.hero-secondary{padding:9px 11px;font-size:10px;min-height:40px;border-radius:11px}.welcome-copy .private-pill{font-size:9px;padding:5px 9px}.welcome-art{min-height:184px}.brand-medallion{width:94px;height:67px;border-radius:16px;box-shadow:inset 1px 2px #fff,4px 6px 0 #553377,6px 12px 18px #20103059}.brand-medallion img{width:85px}.art-halo{width:92px;height:92px;box-shadow:0 0 0 14px #dcc4f30b,0 0 0 28px #dcc4f308}.floating-icon{width:47px;height:47px;border-radius:15px}.floating-icon .care-icon{width:39px;height:39px}.floating-icon.one{top:8px;left:0}.floating-icon.two{right:-8px;top:100px}.floating-icon.three{bottom:0;left:0}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.quick-action{flex-direction:column;gap:6px;padding:12px 6px;text-align:center;border-radius:16px;min-height:103px}.quick-action .care-icon{width:38px;height:38px}.quick-action>span{font-size:11px;line-height:1.5}.quick-action small{display:none}.quick-action b{display:none}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.stats .stat-card:last-child{grid-column:auto}.stat-card{min-height:132px;padding:13px 12px}.stat-card>span:first-child{font-size:10px;display:block;max-width:100%}.stat-card strong{font-size:26px;margin:41px 0 4px}.stat-card small{font-size:9px;max-width:100%;line-height:1.5}.stat-mark{top:33px;right:10px}.stat-mark .care-icon{width:28px;height:28px}.card{border-radius:19px;padding:20px}.stat-card{padding:13px 12px}.photo-card{padding:0}.two-col{gap:18px}.toolbar h2,.card>h2{font-size:18px}.record-row{padding-left:15px}.photo-info h3{font-size:12px}.reward-balance{padding:22px 110px 22px 24px}.reward-balance strong{margin:12px 0 0;font-size:36px}.reward-balance .stat-mark{top:18px;right:24px}.reward-balance .care-icon{width:79px;height:79px}.reward-card{padding:22px}.reward-card .reward-icon{width:52px;height:52px}.message{max-width:100%}.login-wrap{min-height:0;gap:18px;margin:22px auto;display:flex;flex-direction:column;padding:0 20px}.login-intro{padding:8px 0}.login-intro h1{font-size:31px;letter-spacing:-.6px}.login-intro>p{font-size:13px}.care-orbit{margin:23px 0;gap:15px}.orbit-icon{width:73px;height:73px;border-radius:21px}.orbit-icon .care-icon{width:58px;height:58px}.login-card{padding:27px;width:100%}.login-card h2{font-size:23px}.login-card form{margin-top:19px}.portal-footer{gap:7px;line-height:1.8}.compare-grid .badge{font-size:9px;white-space:normal}.photo-info .actions{gap:5px}.service-link{padding:17px}}
@media(max-width:360px){.toptools select{max-width:84px}.toptools .quiet{padding:7px 5px}.brand img{max-width:116px}.welcome-panel{grid-template-columns:1fr 78px;padding:20px 16px}.welcome-copy h2{font-size:21px}.welcome-actions{align-items:stretch;flex-direction:column}.welcome-actions button{width:100%}.stat-card strong{font-size:22px}.stat-card small{font-size:8px}.stat-card{padding:12px 9px}.content-head h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
