.account-shell{--account-ink:#183c2b;--account-muted:#68766d;--account-line:#e4e9e4;display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(28px,4vw,56px);padding:44px 0 88px}.account-sidebar{position:sticky;top:20px;align-self:start;border:1px solid var(--account-line);border-radius:20px;padding:18px;background:#fff;box-shadow:0 16px 42px rgba(28,61,43,.07)}.account-brand{display:flex;flex-direction:column;font-size:23px;font-weight:800;color:var(--account-ink);margin:4px 6px 20px}.account-brand small{font-size:11px;font-weight:600;color:#7a857e;letter-spacing:.08em;text-transform:uppercase}.account-nav{display:grid;gap:4px}.account-nav a{padding:11px 13px;border-radius:10px;color:#405047;transition:background-color .15s,color .15s}.account-nav a:hover{background:#f3f7f3}.account-nav a[aria-current=page]{background:#e4f2ec;color:#12634b;font-weight:750}.account-nav-toggle{display:none}.account-logout{margin-top:22px;width:100%;padding:10px;border:1px solid #dfe5df;border-radius:10px;background:#fff;color:#526058}.account-content{min-width:0}.account-heading{margin-bottom:26px}.account-heading p{margin:0;color:#dd6229;font-weight:750;text-transform:uppercase;font-size:12px;letter-spacing:.09em}.account-heading h1{margin:7px 0;font-size:clamp(30px,4vw,44px);line-height:1.08;color:var(--account-ink)}.account-heading span{color:var(--account-muted);line-height:1.55}.balance-hero,.referral-hero{background:linear-gradient(135deg,#173f30,#286248);color:#fff;padding:clamp(24px,4vw,34px);border-radius:22px;display:grid;gap:8px;margin-bottom:18px;box-shadow:0 18px 42px rgba(24,63,47,.14)}.balance-hero strong{font-size:clamp(34px,5vw,46px)}.referral-hero strong{overflow-wrap:anywhere;font-size:20px}.referral-hero button{justify-self:start}.account-grid{display:grid;gap:16px;margin:16px 0}.account-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.account-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.account-card{border:1px solid var(--account-line);border-radius:16px;background:#fff;padding:20px;display:grid;gap:8px;box-shadow:0 8px 26px rgba(33,54,41,.04)}.account-card>strong{font-size:24px;color:var(--account-ink)}.account-card small,.account-row small{display:block;color:#77827b;line-height:1.45}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.quick-actions a{display:flex;justify-content:space-between;padding:15px;border-radius:12px;background:#f3f5f1;color:#293b30;font-weight:700}.account-list h2,.preferences h2,.withdrawal-form h2{margin:0 0 10px;color:var(--account-ink)}.account-list>a,.account-list>.account-row,.account-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:15px;align-items:center;padding:14px 0;border-top:1px solid #edf0ed;color:#26382d;min-width:0}.account-list>a:hover{color:#12634b}.account-row{display:flex!important;justify-content:space-between;gap:16px;min-width:0}.account-empty{color:#788078}.metric{text-decoration:none}.account-form{max-width:760px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.account-form .account-heading,.account-form .form-message,.account-form button{grid-column:1/-1}.account-field{display:grid;gap:6px;font-weight:650}.account-field input,.account-field select,.account-field textarea,.account-filters input,.account-filters select{width:100%;box-sizing:border-box;padding:12px;border:1px solid #cbd5cd;border-radius:10px;background:#fff;font:inherit}.account-field input:focus,.account-field select:focus,.account-field textarea:focus,.account-filters input:focus,.account-filters select:focus{outline:3px solid rgba(237,106,44,.25);border-color:#dd6229;outline-offset:1px}.account-field small{color:#a92d2d}.primary,.secondary{padding:11px 16px;border-radius:10px;border:0;font-weight:700;cursor:pointer}.primary{background:#ec6b2d;color:#fff}.secondary{background:#eaf1ec;color:#24372b}.primary:disabled,.secondary:disabled{cursor:not-allowed;opacity:.58}.account-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;margin-bottom:16px}.account-pagination{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.account-pagination a{padding:8px 12px;border:1px solid #dce3dc;border-radius:8px}.account-pagination a[aria-current=page]{background:#213e2c;color:#fff}.withdrawal-form{max-width:640px;margin-bottom:20px}.notification{display:flex!important;justify-content:space-between;align-items:flex-start}.notification p{margin:.35rem 0;overflow-wrap:anywhere}.notification.unread{border-left:4px solid #ed6a2c;padding-left:14px!important}.preferences{margin-top:18px}.preferences label{display:flex;gap:9px;align-items:flex-start}.back-link{display:inline-block;margin-bottom:18px}.success{color:#267347}.error{color:#a92d2d}
@media(max-width:900px){.account-shell{grid-template-columns:220px minmax(0,1fr);gap:24px}.account-grid-3,.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.account-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.account-shell{grid-template-columns:1fr;gap:18px;padding-top:24px}.account-sidebar{position:static;padding:14px}.account-brand{margin-bottom:12px}.account-nav-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;padding:12px 13px;border:1px solid #dce4dd;border-radius:10px;background:#f6f8f5;color:var(--account-ink);font:inherit;font-weight:700}.account-nav{display:none;margin-top:7px}.account-nav.is-open{display:grid}.account-logout{width:auto;margin-top:12px}.account-grid-2,.account-grid-3,.quick-actions{grid-template-columns:1fr 1fr}.account-filters{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.account-shell{padding-top:20px}.account-sidebar{padding:14px}.account-grid-3,.account-grid-2,.quick-actions,.account-form,.account-filters{grid-template-columns:1fr}.account-form .account-heading,.account-form .form-message,.account-form button{grid-column:auto}.balance-hero strong{font-size:32px}.account-list>a,.account-list>article{grid-template-columns:1fr}.account-content{overflow:hidden}}
@media (max-width: 420px) {.return-card .account-row{align-items:flex-start;flex-direction:column}.return-card header{display:grid;gap:.35rem}.return-history{padding-left:1.25rem}}
.subscription-form{max-width:820px}.subscription-cycle{gap:12px;align-items:center;flex-wrap:wrap}.subscription-cycle a{display:block}.subscription-cycle button{flex:0 0 auto}@media(max-width:480px){.subscription-cycle{align-items:stretch;flex-direction:column}.subscription-cycle button{width:100%}}

/* Account dashboard system — Figma-inspired density adapted to UP Health. */
#appView:has(.account-shell){background:#f7f8f6;border-radius:28px;padding:0 clamp(18px,3vw,38px);max-width:1440px}
.account-shell{--account-canvas:#f7f8f6;--account-surface:#fff;--account-ink:#15231b;--account-muted:#728078;--account-line:#e6ebe7;--account-primary:#167458;--account-primary-soft:#e7f3ee;--account-orange:#ed6a2c;--account-info:#227a94;--account-success:#267a57;--account-warning:#9a6418;--account-danger:#a83f3f;--account-radius-sm:10px;--account-radius:16px;--account-radius-lg:22px;--account-shadow:0 8px 28px rgba(24,50,35,.055);grid-template-columns:224px minmax(0,1fr);gap:32px;padding:30px 0 72px}
.account-sidebar{top:16px;padding:16px 12px;border-color:var(--account-line);border-radius:var(--account-radius-lg);box-shadow:var(--account-shadow)}
.account-brand{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;margin:2px 7px 18px;font-size:17px;line-height:1.1}
.account-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--account-primary);color:#fff;font-size:13px;letter-spacing:-.04em}
.account-brand small{margin-top:4px;font-size:9px}.account-nav{gap:3px}.account-nav a{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:6px 10px;border-radius:11px;font-size:13px;font-weight:600}.account-nav a[aria-current=page]{background:var(--account-primary-soft);color:#115d48}.account-nav-icon{display:grid;place-items:center;width:26px;height:26px;color:#74827a;font-size:17px;font-weight:500}.account-nav a[aria-current=page] .account-nav-icon{color:var(--account-primary)}.account-nav-label{overflow-wrap:anywhere}.account-logout{min-height:40px;margin-top:16px;border-color:var(--account-line);font-size:13px}.account-content{padding:4px 0}.account-heading{margin-bottom:22px}.account-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.account-heading h1{font-size:clamp(28px,3vw,38px);letter-spacing:-.035em}.account-heading-action{flex:0 0 auto;padding:11px 16px;border-radius:11px;background:var(--account-primary);color:#fff;font-weight:700;font-size:13px}.account-kicker{margin:0 0 4px;color:var(--account-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.account-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.account-card.metric{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:116px;padding:18px;text-decoration:none}.metric-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--account-primary-soft);color:var(--account-primary);font-size:20px}.metric-orders .metric-icon{background:#fff1e9;color:#c85d29}.metric-subscriptions .metric-icon{background:#e7f2f5;color:var(--account-info)}.metric-notifications .metric-icon{background:#f5eee4;color:var(--account-warning)}.metric-copy{display:grid;gap:3px;min-width:0}.metric-copy small{font-size:12px;color:var(--account-muted)}.metric-copy strong{font-size:clamp(20px,2vw,27px);line-height:1.15;color:var(--account-ink);overflow-wrap:anywhere}.metric-copy>span{font-size:10px;color:#89948e;line-height:1.3}
.account-panel{padding:22px;border:1px solid var(--account-line);border-radius:var(--account-radius-lg);background:var(--account-surface);box-shadow:var(--account-shadow)}.account-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.account-panel h2{margin:0;color:var(--account-ink);font-size:20px}.account-held{padding:7px 10px;border-radius:999px;background:#f4f6f3;color:var(--account-muted);font-size:12px}.wallet-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--account-line);border:1px solid var(--account-line);border-radius:14px;overflow:hidden}.wallet-balance{display:grid;gap:5px;padding:16px;background:#fff}.wallet-balance span,.wallet-balance small{color:var(--account-muted);font-size:12px}.wallet-balance strong{font-size:20px;color:var(--account-ink)}
.quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));margin:18px 0}.quick-actions a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:50px;padding:10px 13px;background:#fff;border:1px solid var(--account-line);font-size:12px;box-shadow:0 4px 14px rgba(24,50,35,.025)}.quick-actions a:hover{border-color:#bfd4c8;background:#fbfdfb}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:18px}.account-card{border-color:var(--account-line);border-radius:var(--account-radius);box-shadow:var(--account-shadow)}.account-list{overflow:hidden}.account-list h2{font-size:18px}.account-list>a,.account-list>.account-row,.account-list>article{grid-template-columns:minmax(0,1fr) auto auto;padding:14px 2px;font-size:13px}.account-list>a:first-of-type,.account-list>.account-row:first-of-type,.account-list>article:first-of-type{border-top:0}.status-badge{display:inline-flex;align-items:center;justify-self:start;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:750;line-height:1.2;white-space:normal}.status-badge:before{content:"";width:6px;height:6px;margin-right:6px;border-radius:50%;background:currentColor}.status-success{background:#e8f5ef;color:var(--account-success)}.status-info{background:#e7f3f6;color:var(--account-info)}.status-warning{background:#fff3df;color:var(--account-warning)}.status-danger{background:#fbeaea;color:var(--account-danger)}.status-neutral{background:#f0f2f0;color:#68736d}.subscription-card{align-content:start}.subscription-card>strong{margin-top:8px}.order-list-row>strong{white-space:nowrap}.account-form{padding:24px;border:1px solid var(--account-line);border-radius:var(--account-radius-lg);background:#fff;box-shadow:var(--account-shadow)}.account-field input,.account-field select,.account-field textarea,.account-filters input,.account-filters select{min-height:44px;border-color:#dce3dd;border-radius:var(--account-radius-sm)}.primary,.secondary{min-height:42px}.primary:focus-visible,.secondary:focus-visible,.account-nav a:focus-visible,.account-nav-toggle:focus-visible,.account-heading-action:focus-visible,.account-card:focus-visible,.account-logout:focus-visible{outline:3px solid rgba(237,106,44,.35);outline-offset:2px}.notification-link{display:inline-flex;margin-top:8px;color:var(--account-primary);font-size:12px;font-weight:700}.notification.unread{background:#fffdfa}.account-filters{padding:12px;border:1px solid var(--account-line);border-radius:14px;background:#fff}.back-link{color:var(--account-primary);font-weight:700;font-size:13px}
@media(max-width:1100px){.account-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}.account-shell{grid-template-columns:210px minmax(0,1fr);gap:22px}}
@media(max-width:700px){#appView:has(.account-shell){padding:0 14px;border-radius:20px}.account-shell{grid-template-columns:1fr;padding-top:16px}.account-sidebar{padding:12px}.account-brand{margin-bottom:10px}.account-nav{position:absolute;z-index:10;left:12px;right:12px;top:106px;max-height:min(68vh,520px);overflow-y:auto;padding:8px;border:1px solid var(--account-line);border-radius:14px;background:#fff;box-shadow:0 20px 45px rgba(24,50,35,.16)}.account-sidebar{position:relative}.account-nav a{font-size:14px}.account-heading-row{display:grid}.account-heading-action{justify-self:start}.account-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-balance-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr 1fr}.account-list>a,.account-list>.account-row,.account-list>article{grid-template-columns:minmax(0,1fr) auto}.order-list-row .status-badge{grid-row:2}.order-list-row>strong{grid-column:2;grid-row:1}.notification{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px}}
@media(max-width:420px){.account-metrics,.quick-actions{grid-template-columns:1fr}.account-card.metric{min-height:96px}.account-heading h1{font-size:28px}.account-panel{padding:17px}.account-panel>header{display:grid}.account-held{justify-self:start}.account-list>a,.account-list>.account-row,.account-list>article{grid-template-columns:1fr}.order-list-row .status-badge,.order-list-row>strong{grid-column:1;grid-row:auto}.notification{grid-template-columns:1fr}.notification button{justify-self:start}.account-row{align-items:flex-start;flex-direction:column}.account-row>strong{overflow-wrap:anywhere}.account-filters{grid-template-columns:1fr}.account-form{padding:18px}}
@media(prefers-reduced-motion:reduce){.account-nav a{transition:none}}

/* Account visual polish: calm typography, text-first navigation and accessible dialogs. */
#appView:has(.account-shell){width:min(var(--storefront-container),calc(100% - 40px));box-sizing:border-box;margin:32px auto 48px}
.account-brand{display:grid;grid-template-columns:1fr;gap:3px;align-items:start;margin:4px 10px 22px;font-size:inherit;line-height:1.2}
.account-brand strong{font-size:19px;letter-spacing:-.025em}.account-brand small{margin:0;font-size:10px;letter-spacing:.1em}
.account-nav a{display:flex;align-items:center;min-height:42px;padding:8px 12px;border-radius:9px;font-size:14px;line-height:1.25}
.account-nav a[aria-current=page]{box-shadow:inset 3px 0 0 var(--account-primary)}
.account-heading{max-width:850px;margin-bottom:28px}.account-heading h1{margin:8px 0 9px;font-size:clamp(30px,3.4vw,42px)}.account-heading span{font-size:15px}
.account-heading-row{padding:2px 0 4px}.account-heading-action{min-height:44px;display:inline-flex;align-items:center}
.account-card.metric{grid-template-columns:1fr;align-content:center;gap:0;min-height:124px;padding:20px;border-top:3px solid var(--account-primary)}
.account-card.metric-orders{border-top-color:var(--account-orange)}.account-card.metric-subscriptions{border-top-color:var(--account-info)}.account-card.metric-notifications{border-top-color:var(--account-warning)}
.metric-copy{gap:5px}.metric-copy small{font-size:13px;font-weight:650}.metric-copy strong{font-size:clamp(24px,2.2vw,31px)}.metric-copy>span{font-size:12px;line-height:1.45}
.account-panel{padding:24px}.account-panel h2{font-size:21px}.wallet-balance-grid{gap:12px;border:0;background:transparent;overflow:visible}.wallet-balance{padding:17px;border:1px solid var(--account-line);border-radius:13px;background:#f9fbf9}.wallet-balance span,.wallet-balance small{font-size:13px}.wallet-balance strong{font-size:22px}
.quick-actions a{grid-template-columns:minmax(0,1fr) auto;min-height:54px;padding:12px 15px;font-size:13px}.quick-actions button{min-height:46px}
.account-list h2{margin-bottom:6px}.account-list>a,.account-list>.account-row,.account-list>article{font-size:14px;line-height:1.45}.account-card small,.account-row small{font-size:12px}
.account-empty{display:grid;gap:8px;padding:20px 0;color:var(--account-muted)}.account-empty h3,.account-empty p{margin:0}.account-empty h3{color:var(--account-ink);font-size:16px}.account-empty .secondary{justify-self:start;display:inline-flex;align-items:center;margin-top:5px;text-decoration:none}
.subscription-summary>strong{font-size:18px}.danger{min-height:42px;padding:11px 16px;border:0;border-radius:10px;background:var(--account-danger);color:#fff;font-weight:700;cursor:pointer}.danger:disabled{cursor:not-allowed;opacity:.58}
.account-dialog{width:min(92vw,520px);padding:0;border:0;border-radius:20px;color:var(--account-ink);box-shadow:0 28px 80px rgba(15,35,23,.28)}.account-dialog::backdrop{background:rgba(17,32,24,.52);backdrop-filter:blur(2px)}.account-dialog-form{display:grid;gap:18px;padding:24px}.account-dialog-form header{display:grid;gap:7px}.account-dialog-form h2,.account-dialog-form p{margin:0}.account-dialog-form header p{color:var(--account-muted);line-height:1.55}.account-dialog-form footer{display:flex;justify-content:flex-end;gap:10px}.account-dialog-message{padding:10px 12px;border-radius:9px;background:#fbeaea;color:var(--account-danger)}.account-dialog-message[hidden]{display:none}
.account-dialog :focus-visible,.danger:focus-visible{outline:3px solid rgba(237,106,44,.38);outline-offset:2px}
@media(max-width:700px){.account-brand{margin:3px 6px 12px}.account-heading-row{gap:14px}.account-heading-action{justify-self:stretch;justify-content:center}.account-content{width:100%}}
@media(max-width:420px){#appView:has(.account-shell){padding:0 10px}.account-shell{padding-bottom:52px}.account-heading h1{font-size:27px}.account-heading span{font-size:14px}.account-card.metric{min-height:108px;padding:17px}.wallet-balance-grid{gap:9px}.account-dialog-form{padding:19px}.account-dialog-form footer{display:grid;grid-template-columns:1fr}.account-dialog-form footer button{width:100%}}

.account-shell{--account-space-xs:6px;--account-space-sm:12px;--account-space-md:18px;--account-section-gap:28px;--account-canvas-pad:32px;--account-card-pad:20px;padding:var(--account-canvas-pad) 0 44px}.account-content>.account-form{max-width:920px}
.subscription-list{display:grid;gap:12px;margin:16px 0}.subscription-card{grid-template-columns:minmax(240px,1fr) auto minmax(130px,auto) minmax(190px,auto);align-items:center;gap:14px;width:100%;box-sizing:border-box}.subscription-card>strong{margin:0}.subscription-identity{display:grid;gap:4px;min-width:0}.subscription-identity strong,.subscription-identity small,.subscription-next{overflow-wrap:anywhere}.subscription-amount{white-space:nowrap}.subscription-next{text-align:right}
.account-section{display:grid;gap:var(--account-space-md);margin:var(--account-section-gap) 0}.account-section-heading{display:grid;gap:var(--account-space-xs)}.account-section-heading h2,.account-section-heading p{margin:0}.account-section-heading h2{font-size:21px;color:var(--account-ink)}.account-section-heading p{color:var(--account-muted)}
.preferences{gap:var(--account-space-md);margin-top:var(--account-section-gap)}.preferences-note{margin:0;color:var(--account-muted)}.preference-group{display:grid;gap:0;padding-top:var(--account-space-sm);border-top:1px solid var(--account-line)}.preference-group h3{margin:0 0 var(--account-space-sm);font-size:16px;color:var(--account-ink)}.preference-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(190px,auto);align-items:center;gap:var(--account-space-md);padding:11px 0;border-top:1px solid #f0f3f0}.preference-row:first-of-type{border-top:0}.preference-row label{display:flex;align-items:center;justify-content:flex-start;gap:8px}.preference-row small{margin-left:auto;padding:4px 7px;border-radius:999px;background:#f0f2f0;color:var(--account-muted);font-size:10px}.withdrawal-unavailable{margin:var(--account-space-xs) 0;padding:11px 13px;border-radius:10px;background:#fff3df;color:var(--account-warning)}
.referral-hero{min-width:0}.referral-hero strong{max-width:100%;word-break:break-word;overflow-wrap:anywhere}
@media(max-width:900px){.subscription-card{grid-template-columns:minmax(0,1fr) auto}.subscription-amount,.subscription-next{grid-column:auto}.subscription-next{text-align:left}}
@media(max-width:760px){#appView:has(.account-shell){width:calc(100% - 48px);margin:24px auto 36px}}
@media(max-width:700px){.account-shell{--account-canvas-pad:18px;--account-section-gap:24px;padding-bottom:30px}.subscription-card{grid-template-columns:1fr}.subscription-next{text-align:left}.preference-row{grid-template-columns:1fr;gap:7px}.preference-row label{justify-content:flex-start}.account-content>.account-form{max-width:none}}
@media(max-width:420px){#appView:has(.account-shell){width:calc(100% - 32px);margin:20px auto 30px}}
@media(max-width:390px){.account-shell{gap:14px}.account-card,.account-panel{padding:16px}.account-dialog{max-height:calc(100dvh - 20px);overflow:auto}.account-dialog-form{padding:17px}.referral-hero{padding:20px}}
@media(max-width:360px){#appView:has(.account-shell){padding-inline:8px}.account-sidebar{padding:10px}.account-heading h1{font-size:25px}.account-card,.account-panel{padding:14px}.account-filters{padding:9px}.status-badge{width:auto}}
.referral-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.referral-product-card{overflow:hidden;border:1px solid var(--account-line);border-radius:18px;background:#fff}.referral-product-card>img,.referral-product-placeholder{display:grid;width:100%;aspect-ratio:16/10;object-fit:cover;place-items:center;background:#eef3ed;color:var(--account-ink);font-weight:800;font-size:30px}.referral-product-body{display:grid;gap:10px;padding:18px}.referral-product-body h3,.referral-product-body p{margin:0}.referral-product-body label{display:grid;gap:5px;color:var(--account-muted);font-size:12px}.referral-product-body output{overflow-wrap:anywhere;color:var(--account-ink);font-size:14px}.referral-product-body button{justify-self:start}@media(max-width:700px){.referral-product-grid{grid-template-columns:1fr}}@media(max-width:390px){.referral-product-body{padding:15px}}

.account-content>div>.account-heading{margin-bottom:var(--account-section-gap)}.account-card>h2,.account-card>h3,.account-card>p{margin:0}.account-form>h2,.account-form>p{margin:0}.account-empty{gap:var(--account-space-sm);padding:var(--account-card-pad)}.account-empty .secondary{margin-top:var(--account-space-xs)}.heading-actions{display:flex;justify-content:flex-end;margin:calc(var(--account-space-sm)*-1) 0 var(--account-space-md)}.withdrawal-form{gap:var(--account-space-md);margin-bottom:var(--account-section-gap)}.withdrawal-form output{margin-top:var(--account-space-xs)}.withdrawal-form button[type=submit]{margin-top:var(--account-space-xs)}.account-list+.account-list,.account-card+.account-card{margin-top:var(--account-space-md)}

/* Customer reviews */
.review-form{align-self:start;gap:18px}.review-form>*{grid-column:1/-1}.review-product-header{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--account-line)}.review-product-placeholder{width:64px;height:64px;display:grid;place-items:center;border-radius:12px;background:#f3f7f3;color:#12634b;font-weight:800}.review-product-header>span:last-child{display:grid;gap:4px}.review-product-header h2{margin:0;font-size:17px}.review-product-header small{color:var(--account-muted)}.review-purchase-badge{color:#267347;font-size:12px}.review-rating-field{display:grid;gap:9px;margin:0;padding:0;border:0}.review-rating-field legend{font-size:12px;font-weight:750}.review-star-picker{width:max-content;display:flex;gap:5px}.review-star-picker button{width:42px;height:42px;padding:0;border:1px solid var(--account-line);border-radius:9px;background:#fff;color:#c8cecd;font-size:27px;line-height:1;cursor:pointer}.review-star-picker button:hover,.review-star-picker button.selected{border-color:#f2bd70;color:#f39a24;background:#fff9ef}.review-star-picker button:focus-visible{outline:3px solid rgba(1,164,158,.24);outline-offset:2px}.review-form textarea{min-height:126px;resize:vertical}.review-form>button[type=submit]{width:100%;min-height:48px}.review-account-card{align-self:start;gap:14px}.review-account-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.review-account-card>header>span:first-child{display:grid;gap:4px}.review-account-card h2{margin:0;font-size:17px}.review-account-card header small{color:var(--account-muted)}.review-existing-rating{display:flex;align-items:center;gap:5px}.review-existing-rating span{color:#f39a24;font-size:18px}.review-existing-rating strong{font-size:14px}.review-existing-body{color:#405047;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:560px){.review-product-header{grid-template-columns:52px minmax(0,1fr)}.review-product-placeholder{width:52px;height:52px}.review-star-picker{width:100%;justify-content:space-between}.review-star-picker button{width:44px;height:44px}.review-account-card>header{flex-direction:column}}

/* Unified storefront account surface. Keep account behavior and semantic status colors intact. */
#appView:has(.account-shell){max-width:var(--storefront-container);margin:0 auto;padding:55px 0;background:#fff;border-radius:0}
.account-shell{--account-canvas:#fff;--account-surface:#fff;--account-ink:var(--storefront-text);--account-muted:var(--storefront-muted);--account-line:var(--storefront-line);--account-primary:var(--storefront-primary);--account-primary-soft:rgba(1,164,158,.1);grid-template-columns:224px minmax(0,1fr);gap:24px;padding:0 0 48px;font-family:var(--font-sans)}
.account-sidebar{top:16px;padding:16px 12px;border:1px solid var(--account-line);border-radius:16px;background:#fff;box-shadow:none}
.account-nav{gap:4px}.account-nav a{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;min-height:44px;padding:9px 12px;border-radius:10px;color:var(--account-ink);font-size:14px;font-weight:500}.account-nav-icon{display:grid;width:26px;height:26px;place-items:center;border-radius:8px;background:#f5f8f7;color:var(--account-muted)}.account-nav-icon:before,.metric-icon:before,.quick-action-icon:before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:var(--account-icon) center/contain no-repeat;-webkit-mask:var(--account-icon) center/contain no-repeat}.account-nav a:hover{background:rgba(1,164,158,.06);color:var(--account-primary)}.account-nav a:hover .account-nav-icon,.account-nav a[aria-current=page] .account-nav-icon{background:rgba(1,164,158,.12);color:var(--account-primary)}.account-nav a[aria-current=page]{background:var(--account-primary-soft);color:var(--account-primary);font-weight:600;box-shadow:none}
.account-logout{margin-top:20px;border-color:var(--account-line);background:#fff;color:var(--account-muted);font:500 14px/1.35 var(--font-sans)}.account-logout:hover{border-color:var(--account-primary);color:var(--account-primary)}
.account-content{padding:0}.account-heading h1{font-size:32px;font-weight:700;line-height:1.15;letter-spacing:-.02em}.account-heading p,.account-kicker{color:var(--account-primary);font-size:13px}.account-heading span,.account-content{font-size:15px}.account-section-heading h2,.account-panel h2,.account-list h2{font-size:21px;font-weight:600}.account-card small,.account-row small,.account-field>span,.account-field{font-size:13px}
.account-card,.account-panel,.account-form{border-color:var(--account-line);border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(24,50,48,.045)}
.primary,.account-heading-action{border:1px solid var(--account-primary);background:var(--account-primary);color:#fff}.primary:hover:not(:disabled),.account-heading-action:hover{border-color:var(--storefront-primary-dark);background:var(--storefront-primary-dark);color:#fff}.secondary{border:1px solid var(--account-primary);background:#fff;color:var(--account-primary)}.secondary:hover:not(:disabled){background:var(--account-primary-soft)}
.account-field input:focus,.account-field select:focus,.account-field textarea:focus,.account-filters input:focus,.account-filters select:focus{outline:3px solid rgba(1,164,158,.16);border-color:var(--account-primary)}.primary:focus-visible,.secondary:focus-visible,.account-nav a:focus-visible,.account-nav-toggle:focus-visible,.account-heading-action:focus-visible,.account-card:focus-visible,.account-logout:focus-visible,.account-dialog :focus-visible,.danger:focus-visible{outline-color:rgba(1,164,158,.3)}
.account-dashboard-heading{margin-bottom:22px}.account-dashboard-heading h1{margin-top:0}.account-metrics{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px;margin-bottom:16px}.account-metrics>.account-card.metric{margin:0;align-self:stretch}.account-card.metric{box-sizing:border-box;height:100%;min-height:0;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:14px;border-top:1px solid var(--account-line)}.account-card.metric-orders,.account-card.metric-subscriptions,.account-card.metric-notifications{border-top-color:var(--account-line)}.metric-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:var(--account-primary-soft);color:var(--account-primary)}.metric-copy{min-width:0;height:100%;align-content:center;grid-template-rows:auto auto auto;gap:2px}.metric-copy small{font-size:12px;font-weight:600}.metric-copy strong{font-size:22px}.metric-copy>span{min-width:0;font-size:11px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.notification.unread{border-left-color:var(--account-primary);background:rgba(1,164,158,.025)}.account-pagination a[aria-current=page]{background:var(--account-primary);color:#fff}
.account-wallet-summary{display:grid;gap:14px}.wallet-history-link{min-height:38px;padding:8px 13px;text-decoration:none}.wallet-overview{display:grid;gap:4px;padding:18px 20px;border-radius:14px;background:var(--account-primary-soft)}.wallet-overview strong{color:var(--account-ink);font-size:32px}.wallet-overview small,.wallet-held{color:var(--account-muted);font-size:13px}.wallet-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wallet-breakdown>span{display:grid;gap:4px;padding:10px 12px;border-left:1px solid var(--account-line)}.wallet-breakdown>span:first-child{border-left:0}.wallet-breakdown small{color:var(--account-muted);font-size:12px}.wallet-breakdown b{color:var(--account-ink);font-size:14px}.wallet-held{margin:0}
.account-dashboard>.quick-actions{display:flex;flex-wrap:wrap;gap:10px 24px;margin:18px 0}.account-dashboard>.quick-actions a{display:inline-flex;grid-template-columns:none;align-items:center;gap:8px;min-height:40px;padding:4px 0;border:0;background:transparent;box-shadow:none;color:var(--account-ink);font-size:13px;font-weight:600}.account-dashboard>.quick-actions a:hover{border:0;background:transparent;color:var(--account-primary)}.quick-action-icon{display:grid;width:24px;height:24px;place-items:center;color:var(--account-primary)}.quick-action-icon:before{width:17px;height:17px}
.account-icon-dashboard{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5 12 4l9 7.5V21h-6v-6H9v6H3z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}.account-icon-profile{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M4.5 21c.7-4.4 3.2-6.5 7.5-6.5s6.8 2.1 7.5 6.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}.account-icon-orders{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v17H5zM8 8h8M8 12h8M8 16h5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.account-icon-subscriptions{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M6.1 8A7 7 0 0 1 18 6l2 6M17.9 16A7 7 0 0 1 6 18l-2-6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.account-icon-returns{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 7-5 5 5 5M5 12h9a6 6 0 0 1 6 6v2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.account-icon-reviews{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}.account-icon-wallet{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h15v14H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h13M15 10h7v6h-7a3 3 0 0 1 0-6z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}.account-icon-referral{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='7' cy='7' r='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='17' cy='6' r='2.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M2 20c.5-4.2 2.2-6 5-6s4.5 1.8 5 6M13 13c1-.8 2.2-1.2 3.7-1.2 2.8 0 4.5 1.6 5 5.2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}.account-icon-withdrawals{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20V5m0 0L7 10m5-5 5 5M4 20h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.account-icon-notifications{--account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0v5l2 3H4l2-3zM10 20h4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.account-grid-2{align-items:stretch}
.wallet-account-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px}.wallet-account-grid>.wallet-account-card{grid-template-rows:minmax(1.4em,auto) minmax(1.4em,1fr) minmax(1.4em,auto);align-content:stretch;gap:6px;width:100%;min-width:0;height:100%;margin:0;padding:18px}.wallet-account-card>span,.wallet-account-card>strong,.wallet-account-card>small{margin:0;line-height:1.4}.wallet-account-card>span{color:var(--account-muted);font-size:13px;font-weight:600}.wallet-account-card>strong{align-self:start;color:var(--account-ink);font-size:22px}.wallet-account-card>small{align-self:end;color:var(--account-muted);font-size:12px;overflow-wrap:anywhere}
@media(max-width:760px){#appView:has(.account-shell){width:calc(100% - 48px);margin:0 auto;padding:35px 0}.account-shell{gap:18px;padding-bottom:32px}}
@media(max-width:700px){.account-shell{grid-template-columns:1fr}.account-sidebar{padding:12px}.account-nav-toggle{border-color:var(--account-line);background:#fff;color:var(--account-ink)}}
@media(max-width:700px){.account-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-breakdown{grid-template-columns:1fr}.wallet-breakdown>span{border-left:0;border-top:1px solid var(--account-line)}.wallet-breakdown>span:first-child{border-top:0}}
@media(max-width:560px){.wallet-account-grid{grid-template-columns:1fr}.wallet-account-grid>.wallet-account-card{min-height:126px}}
@media(max-width:420px){#appView:has(.account-shell){width:calc(100% - 32px);margin:0 auto;padding:32px 0}.account-heading h1{font-size:28px}.account-metrics{grid-template-columns:1fr}.wallet-overview strong{font-size:26px}.account-dashboard>.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}}
@media(max-width:360px){#appView:has(.account-shell){width:calc(100% - 24px);padding-inline:0}.account-shell{min-width:0}.account-sidebar,.account-content,.account-card,.account-panel,.account-form{min-width:0}}

/* Public-ready account profile */
.profile-form{max-width:920px;border:0;border-radius:0;background:transparent;box-shadow:none}.profile-form>.account-heading,.profile-form>.profile-identity{grid-column:1/-1}.profile-form>.account-heading{margin-bottom:2px}.profile-form>.account-heading h1{margin-top:0}.profile-identity{display:grid;grid-template-columns:80px minmax(180px,1fr) auto;align-items:center;gap:18px;padding:4px 0 22px;border-bottom:1px solid var(--account-line)}.profile-avatar{width:80px;height:80px;border-radius:50%;object-fit:cover;background:var(--account-primary-soft)}.profile-identity-copy{display:grid;gap:4px;min-width:0}.profile-identity-copy strong{font-size:19px;overflow-wrap:anywhere}.profile-identity-copy span,.profile-identity-copy small{color:var(--account-muted);font-size:13px}.profile-identity-copy span{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.profile-photo-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.profile-avatar-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.profile-photo-button{min-height:40px}.profile-photo-remove{border:0;background:transparent;color:var(--account-muted);font:600 13px/1.3 var(--font-sans);cursor:pointer}.profile-photo-remove:hover{color:var(--account-danger)}.profile-photo-status{flex-basis:100%;color:var(--account-muted);font-size:12px;text-align:right}.account-field-readonly input{border-color:#e0e5e1;background:#f4f6f4;color:#6c7770;cursor:not-allowed}.profile-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end}.profile-submit{width:auto;min-height:40px;padding:9px 15px}.profile-form>.form-message{margin:0}.profile-photo-button:focus-visible,.profile-photo-remove:focus-visible{outline:3px solid rgba(1,164,158,.3);outline-offset:2px}
@media(max-width:640px){.profile-identity{grid-template-columns:80px minmax(0,1fr)}.profile-photo-actions{grid-column:1/-1;justify-content:flex-start}.profile-photo-status{text-align:left}}
@media(max-width:480px){.profile-form-actions{grid-column:auto}.profile-submit{width:100%}}

/* Customer order list and detail */
.account-list>a.order-list-row{grid-template-columns:74px minmax(150px,.8fr) minmax(250px,1.35fr) auto;gap:14px;align-items:center;text-decoration:none}.order-list-row:hover{background:#fbfdfc}.order-list-thumbs{display:flex;align-items:center;min-width:0}.order-list-thumbs .order-item-thumb{width:38px;height:38px;margin-left:-10px;border:2px solid #fff}.order-list-thumbs .order-item-thumb:first-child{margin-left:0}.order-item-thumb{display:grid;flex:0 0 auto;width:54px;height:54px;box-sizing:border-box;place-items:center;border:1px solid var(--account-line);border-radius:10px;background:#f4f7f5;object-fit:cover;color:var(--account-primary);font-size:11px;font-weight:800}.order-list-copy{display:grid;gap:3px;min-width:0}.order-list-copy strong{overflow-wrap:anywhere}.order-list-copy small{color:var(--account-muted)}.order-list-statuses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.order-status-line{display:grid;align-content:start;gap:4px;min-width:0}.order-status-line>small{color:var(--account-muted);font-size:10px}.order-status-line .status-badge{font-size:10px}.order-list-total{white-space:nowrap}.order-items{gap:0}.order-item-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 0;border-top:1px solid var(--account-line)}.order-items h2+.order-item-row{border-top:0}.order-item-copy{display:grid;gap:3px;min-width:0}.order-item-copy>strong{overflow-wrap:anywhere}.order-item-copy small{color:var(--account-muted)}.order-item-copy .return-policy{color:var(--account-primary)}.order-item-total{white-space:nowrap}.order-fulfillment .account-row>span{display:grid;gap:3px}
@media(max-width:900px){.account-list>a.order-list-row{grid-template-columns:64px minmax(140px,1fr) auto}.order-list-statuses{grid-column:2/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.order-list-total{grid-column:3;grid-row:1}}
@media(max-width:560px){.account-list>a.order-list-row{grid-template-columns:56px minmax(0,1fr);padding:14px 0}.order-list-statuses{grid-column:1/-1;grid-template-columns:1fr;gap:6px}.order-status-line{grid-template-columns:72px minmax(0,1fr);align-items:center}.order-list-total{grid-column:2;grid-row:2;justify-self:start}.order-item-row{grid-template-columns:46px minmax(0,1fr)}.order-item-thumb{width:46px;height:46px}.order-item-total{grid-column:2;justify-self:start}}

/* Spacious order summary card */
.account-list>a.order-list-row{display:grid;grid-template-columns:1fr;gap:18px;margin:12px 0;padding:22px;border:1px solid var(--account-line);border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(24,50,48,.04)}.account-list>a.order-list-row:first-of-type{border-top:1px solid var(--account-line)}.order-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.order-card-head>span{display:grid;gap:4px}.order-card-head>span>strong{font-size:17px;color:var(--account-ink)}.order-card-head small{color:var(--account-muted);font-size:13px}.order-list-total{font-size:17px;font-weight:750;color:var(--account-ink)}.order-card-products{display:flex;align-items:center;gap:15px}.order-list-thumbs .order-item-thumb{width:56px;height:56px;margin-left:-8px;border-radius:11px}.order-position-count{color:var(--account-muted);font-size:14px;font-weight:600}.order-list-statuses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:16px;border-top:1px solid var(--account-line)}.order-status-line{gap:7px}.order-status-line>small{font-size:12px}.order-status-line .status-badge{font-size:12px;white-space:normal}.order-list-row:hover{border-color:#bfd4c8;background:#fbfdfc;box-shadow:0 8px 22px rgba(24,50,48,.07)}
.order-shipments{gap:16px}.shipment-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.shipment-summary>span{display:grid;gap:4px}.shipment-summary h2{margin:0}.shipment-summary small{color:var(--account-muted)}.shipment-notice{margin:0;padding:11px 13px;border-radius:10px;background:#fff6e8;color:#76501d;line-height:1.5}.customer-shipment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-shipment{min-width:0;padding:16px;border:1px solid var(--account-line);border-radius:13px;background:#fbfdfc}.customer-shipment>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-shipment>header>span:first-child{display:grid;gap:3px;min-width:0}.customer-shipment>header strong{overflow-wrap:anywhere}.shipment-stage-copy,.shipment-empty{margin:10px 0 0;color:var(--account-muted);line-height:1.5}.shipment-updated{display:block;margin-top:7px;color:var(--account-muted)}.shipment-tracking{display:grid;gap:7px;margin:13px 0 0;padding:11px;border-radius:9px;background:#f2f6f3}.shipment-tracking div{display:flex;justify-content:space-between;gap:12px}.shipment-tracking dt{color:var(--account-muted)}.shipment-tracking dd{margin:0;overflow-wrap:anywhere;text-align:right;font-weight:700}.shipment-items{display:grid;gap:9px;margin-top:13px;padding-top:13px;border-top:1px solid var(--account-line)}.shipment-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px}.shipment-item .order-item-thumb{width:40px;height:40px}.shipment-item>span{display:grid;gap:2px;min-width:0}.shipment-item strong{overflow-wrap:anywhere}.shipment-item small{color:var(--account-muted)}
@media(max-width:760px){.customer-shipment-list{grid-template-columns:1fr}}
@media(max-width:480px){.shipment-summary,.customer-shipment>header{display:grid}.customer-shipment .status-badge{justify-self:start}.shipment-tracking div{display:grid;gap:2px}.shipment-tracking dd{text-align:left}.shipment-item{grid-template-columns:36px minmax(0,1fr) auto}.shipment-item .order-item-thumb{width:36px;height:36px}}
@media(max-width:760px){.account-list>a.order-list-row{padding:20px}.order-list-statuses{gap:12px}}
@media(max-width:520px){.account-list>a.order-list-row{gap:16px;padding:20px}.order-card-head{display:grid;gap:9px}.order-list-total{justify-self:start;grid-column:auto;grid-row:auto}.order-card-products{align-items:flex-start;flex-direction:column;gap:10px}.order-list-statuses{grid-template-columns:1fr;gap:10px}.order-status-line{grid-template-columns:82px minmax(0,1fr);align-items:center}}

/* Customer subscription list and detail */
.subscription-list{gap:14px}.subscription-card{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(150px,.65fr);gap:18px 24px;padding:22px;text-decoration:none}.subscription-card-product{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:15px;min-width:0}.subscription-product-image{display:grid;flex:0 0 auto;width:72px;height:72px;box-sizing:border-box;place-items:center;border:1px solid var(--account-line);border-radius:13px;background:#f4f7f5;object-fit:cover;color:var(--account-primary);font-size:13px;font-weight:800}.subscription-identity{gap:5px}.subscription-identity strong{font-size:16px;color:var(--account-ink)}.subscription-identity small,.subscription-card-status>small,.subscription-card-facts small{color:var(--account-muted)}.subscription-card-status{display:grid;align-content:center;justify-items:start;gap:6px}.subscription-card-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:17px;border-top:1px solid var(--account-line)}.subscription-card-facts>span{display:grid;gap:5px}.subscription-card-facts strong{font-size:14px;overflow-wrap:anywhere}.subscription-more{grid-column:1/-1;justify-self:end;color:var(--account-primary);font-size:13px;font-weight:750}.subscription-card:hover{border-color:#bfd4c8;background:#fbfdfc;box-shadow:0 8px 22px rgba(24,50,48,.07)}
.subscription-summary{display:grid;gap:18px}.subscription-summary>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.subscription-summary>header>span{display:grid;gap:7px}.subscription-summary>header>strong{font-size:20px;white-space:nowrap}.subscription-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:16px 0;border-block:1px solid var(--account-line)}.subscription-facts>div{display:grid;gap:4px}.subscription-facts dt{color:var(--account-muted);font-size:12px}.subscription-facts dd{margin:0;font-weight:700}.subscription-products{display:grid;gap:0}.subscription-products>h2{margin:0 0 6px}.subscription-product-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 0;border-top:1px solid var(--account-line)}.subscription-products>h2+.subscription-product-row{border-top:0}.subscription-product-row .subscription-product-image{width:64px;height:64px}.subscription-product-copy{display:grid;gap:4px;min-width:0}.subscription-product-copy strong{overflow-wrap:anywhere}.subscription-product-copy small{color:var(--account-muted)}.subscription-product-price{white-space:nowrap}.subscription-actions{margin:18px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.subscription-card{grid-template-columns:1fr}.subscription-card-status,.subscription-card-facts,.subscription-more{grid-column:1}.subscription-card-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.subscription-card{padding:18px}.subscription-card-product{grid-template-columns:60px minmax(0,1fr)}.subscription-product-image{width:60px;height:60px}.subscription-card-facts,.subscription-facts{grid-template-columns:1fr}.subscription-summary>header{display:grid}.subscription-summary>header>strong{white-space:normal}.subscription-product-row{grid-template-columns:52px minmax(0,1fr)}.subscription-product-row .subscription-product-image{width:52px;height:52px}.subscription-product-price{grid-column:2;white-space:normal}.subscription-actions{grid-template-columns:1fr}.subscription-actions button{width:100%}}

/* Subscription management dialogs */
.account-dialog{width:min(520px,calc(100vw - 32px));max-width:100%;max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;border:1px solid #e4e9e4;border-radius:18px;background:#fff;color:#262626}.account-dialog::backdrop{background:rgba(17,32,24,.55);backdrop-filter:blur(2px)}.account-dialog-form{min-width:0;box-sizing:border-box;padding:24px;gap:20px;background:#fff}.account-dialog-form header{gap:8px}.account-dialog-form h2{color:#262626;font-size:22px;line-height:1.25}.account-dialog-form header p{color:#56645d;font-size:14px;line-height:1.55}.account-dialog-form .account-field{min-width:0}.account-dialog-form .account-field input{width:100%;max-width:100%;box-sizing:border-box}.account-field-error{min-height:1.25em;color:#a52626;font-size:12px}.account-dialog-form footer{display:flex;justify-content:flex-end;gap:10px}.account-dialog-form footer button{min-width:120px;min-height:44px;padding:10px 16px;border-radius:10px;font:700 14px/1.2 var(--font-sans)}.account-dialog .account-dialog-form footer button.primary{border:1px solid #009F9A;background-color:#009F9A;color:#fff}.account-dialog .account-dialog-form footer button.primary:hover:not(:disabled){border-color:#007F7B;background-color:#007F7B;color:#fff}.account-dialog .account-dialog-form footer button.secondary{border:1px solid #aebdb5;background-color:#fff;color:#262626}.account-dialog .account-dialog-form footer button.secondary:hover:not(:disabled){border-color:#8fa198;background-color:#f1f4f2;color:#262626}.account-dialog .account-dialog-form footer button.danger{border:1px solid #b42318;background-color:#b42318;color:#fff}.account-dialog .account-dialog-form footer button.danger:hover:not(:disabled){border-color:#8f1c13;background-color:#8f1c13;color:#fff}.account-dialog .account-dialog-form footer button:disabled{cursor:wait;opacity:1}.account-dialog .account-dialog-form footer button.primary:disabled{border-color:#8fc8c5;background-color:#8fc8c5;color:#fff}.account-dialog .account-dialog-form footer button.secondary:disabled{border-color:#d7dedb;background-color:#f3f5f4;color:#66736c}.account-dialog .account-dialog-form footer button.danger:disabled{border-color:#d79691;background-color:#d79691;color:#fff}.account-dialog .account-dialog-form footer button:focus-visible{outline:3px solid rgba(0,159,154,.38);outline-offset:3px}.account-dialog-form footer button[hidden]{display:none}.account-dialog-message{margin:0;padding:11px 13px;border:1px solid transparent;border-radius:10px;font-size:13px;line-height:1.45}.account-dialog-message.is-error{border-color:#f2caca;background:#fff0f0;color:#a52626}.account-dialog-message.is-success{border-color:#badfce;background:#edf8f2;color:#19633c}.account-dialog-message.is-warning{border-color:#eed6a6;background:#fff7e8;color:#805816}.subscription-actions button{min-height:44px}.subscription-cycle button{min-height:40px;white-space:normal}
@media(max-width:520px){.account-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:15px}.account-dialog-form{padding:20px;gap:17px}.account-dialog-form h2{font-size:20px}.account-dialog-form footer{display:grid;grid-template-columns:1fr}.account-dialog-form footer button{width:100%;min-width:0}.account-dialog-form footer .primary,.account-dialog-form footer .danger{grid-row:1}.account-dialog-form footer .secondary{grid-row:2}}
@media(prefers-reduced-motion:reduce){.account-dialog::backdrop{backdrop-filter:none}.account-dialog,.account-dialog *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Full-width customer review rows */
.review-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;max-width:none;min-width:0}.review-list>.account-card{width:100%;max-width:none;min-width:0;box-sizing:border-box;margin:0}.review-form,.review-account-card{align-self:stretch;height:auto}.review-form{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:18px;padding:22px}.review-form>*{grid-column:1;min-width:0}.review-product-header{grid-template-columns:72px minmax(0,1fr);gap:16px}.review-product-image{display:grid;width:72px;height:72px;box-sizing:border-box;place-items:center;border:1px solid var(--account-line);border-radius:12px;background:#f4f7f5;object-fit:cover;color:var(--account-primary);font-size:13px;font-weight:800}.review-rating-field{gap:10px}.review-star-picker{gap:8px}.review-star-picker button{width:48px;height:48px;border-width:2px;border-radius:10px;color:#adb6b1;font-size:31px}.review-star-picker button:hover,.review-star-picker button.selected{border-color:#e49a31;background:#fff8ec;color:#ef941c}.review-star-picker button.selected{box-shadow:inset 0 0 0 1px rgba(239,148,28,.18)}.review-body-field,.review-body-field textarea{width:100%;max-width:100%;min-width:0}.review-form textarea,.review-edit-form textarea{min-height:132px;height:auto}.review-form-actions,.review-edit-actions{display:flex;justify-content:flex-end;gap:10px;border:0;background:transparent}.review-form-actions{margin-top:-2px;padding:0}.review-form-actions .primary{width:auto;min-width:220px;border-color:#009F9A;background:#009F9A;color:#fff}.review-form-actions .primary:hover:not(:disabled){border-color:#007F7B;background:#007F7B;color:#fff}.review-form-actions .primary:focus-visible{outline:3px solid rgba(0,159,154,.38);outline-offset:3px}.review-form-actions .primary:disabled{border-color:#8fc8c5;background:#8fc8c5;color:#fff;opacity:1}.review-account-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:16px;padding:22px}.review-existing-header{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:16px}.review-existing-header>span:nth-child(2){display:grid;gap:5px;min-width:0}.review-existing-header h2{overflow-wrap:anywhere}.review-static-stars{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%}.review-static-stars>span{display:flex;gap:3px;color:#c8cecb;font-size:24px}.review-static-stars i{font-style:normal}.review-static-stars i.is-filled{color:#ef941c}.review-static-stars strong{font-size:14px}.review-existing-body{margin:0;overflow-wrap:anywhere}.review-card-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.review-card-actions button{min-height:42px;padding:9px 15px;border-radius:10px;font-weight:700}.review-delete-button{border:1px solid #c94a41;background:#fff;color:#a52a22}.review-delete-button:hover:not(:disabled){background:#fff1f0}.review-delete-button:focus-visible{outline:3px solid rgba(180,35,24,.28);outline-offset:2px}.review-edit-form{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:100%;max-width:none;min-width:0}.review-edit-form>*{grid-column:1;min-width:0}.review-edit-actions .primary,.review-edit-actions .secondary{min-width:130px}.review-form button:disabled,.review-edit-form button:disabled{cursor:not-allowed;opacity:.68}
@media(max-width:560px){.review-form,.review-account-card{padding:18px}.review-product-header,.review-existing-header{grid-template-columns:58px minmax(0,1fr)}.review-product-image{width:58px;height:58px}.review-existing-header .status-badge{grid-column:1/-1}.review-star-picker{width:100%;gap:5px}.review-star-picker button{width:44px;height:44px;font-size:28px}.review-form-actions,.review-edit-actions,.review-card-actions{display:grid;grid-template-columns:1fr}.review-form-actions .primary,.review-edit-actions .primary,.review-edit-actions .secondary,.review-card-actions button{width:100%;min-width:0}.review-edit-actions .primary{grid-row:1}.review-edit-actions .secondary{grid-row:2}}
@media(max-width:375px){.review-form,.review-account-card{padding:16px}.review-star-picker button{width:42px;height:42px}.review-existing-body{overflow-wrap:anywhere}}

/* Partner withdrawal access and full-width request form */
.withdrawal-form-wide{width:100%;max-width:none;min-width:0;box-sizing:border-box}.withdrawal-form-wide .account-field,.withdrawal-form-wide input,.withdrawal-form-wide select{min-width:0;max-width:100%}.withdrawal-form-wide button[type=submit]{justify-self:end;width:auto}.withdrawal-access-message{gap:10px;margin-bottom:var(--account-section-gap)}.withdrawal-access-message p{color:var(--account-muted)}
@media(max-width:480px){.withdrawal-form-wide button[type=submit]{justify-self:stretch;width:100%}}

/* Notification feed */
.notifications-page>.account-heading{margin-bottom:18px}.notification-settings{width:100%;min-width:0;margin:20px 0 0;border:1px solid var(--account-line);border-radius:12px;background:#fbfcfb;overflow:hidden}.notification-settings-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:11px 15px;border:0;background:transparent;color:var(--account-ink);font:inherit;font-size:14px;font-weight:700;text-align:left;cursor:pointer}.notification-settings-toggle:hover{background:#f5f8f6}.notification-settings-toggle:focus-visible{outline:3px solid rgba(0,159,154,.32);outline-offset:-3px}.notification-settings-chevron{flex:0 0 auto;width:9px;height:9px;margin-right:3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}.notification-settings-toggle[aria-expanded=true] .notification-settings-chevron{transform:rotate(225deg)}.notification-settings-content{border-top:1px solid var(--account-line);animation:notification-settings-open .18s ease-out}.notification-settings-content[hidden]{display:none}.notification-settings-form{display:grid;gap:12px;margin:0;padding:15px;background:#fff}.notification-settings-form .preferences-note{max-width:760px;font-size:13px;line-height:1.5}.notification-settings-form>.primary{justify-self:end}.notification-preference-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.notification-preference-table th{font-weight:400}.notification-preference-table thead th{padding:7px 10px;color:var(--account-muted);font-size:11px;line-height:1.3;text-align:center}.notification-preference-table thead th:first-child{width:auto;text-align:left}.notification-preference-table thead th:not(:first-child){width:104px}.notification-preference-group th{padding:12px 10px 6px;border-top:1px solid var(--account-line);color:var(--account-primary-dark);font-size:12px;font-weight:600;text-align:left}.notification-preference-table tbody:first-of-type .notification-preference-group th{border-top:0}.notification-preference-row{border-top:1px solid #eef2ef}.notification-preference-row>th{padding:9px 10px;color:var(--account-ink);font-size:13px;line-height:1.4;text-align:left;overflow-wrap:anywhere}.notification-preference-row td{padding:3px 10px;text-align:center}.notification-preference-control{width:44px;height:40px;margin:auto;display:grid;place-items:center;cursor:pointer}.notification-preference-control input{width:18px;height:18px;margin:0;accent-color:var(--account-primary);cursor:pointer}.notification-preference-control input:focus-visible{outline:3px solid rgba(0,159,154,.32);outline-offset:3px}.notification-preference-unavailable{color:var(--account-muted)}@keyframes notification-settings-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.notification-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:16px}.notification-filters{display:flex;gap:6px;padding:4px;border:1px solid var(--account-line);border-radius:12px;background:#f7f9f7}.notification-filters a{padding:8px 13px;border-radius:8px;color:var(--account-muted);font-size:13px;font-weight:700}.notification-filters a[aria-current=page]{background:#fff;color:var(--account-primary);box-shadow:0 2px 8px rgba(24,50,35,.08)}.notification-unread-count{justify-self:end;color:var(--account-muted);font-size:13px}.notification-mark-all[hidden]{display:none}.notification-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;min-width:0}.notification-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:14px;width:100%;min-width:0;box-sizing:border-box;padding:18px 20px;border:1px solid var(--account-line);border-radius:var(--account-radius);background:#fff;box-shadow:var(--account-shadow);color:var(--account-ink)}.notification-card.unread{border-left:4px solid var(--account-primary);padding-left:17px;background:rgba(0,159,154,.035)}.notification-card.is-linked{cursor:pointer}.notification-card.is-linked:hover{border-color:#b7d8d4;background:#fbfefd}.notification-card.is-linked:focus-visible{outline:3px solid rgba(0,159,154,.32);outline-offset:2px}.notification-type-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--account-primary-soft);color:var(--account-primary)}.notification-type-icon:before{content:"";width:20px;height:20px;border:2px solid currentColor;border-radius:50%;box-sizing:border-box}.notification-type-payment,.notification-type-withdrawal,.notification-type-referral{background:#edf7f1;color:var(--account-success)}.notification-type-subscription,.notification-type-order{background:#e9f4f5;color:var(--account-info)}.notification-type-review{background:#fff3df;color:var(--account-warning)}.notification-content{min-width:0}.notification-title-row{display:flex;align-items:flex-start;gap:9px}.notification-title-row strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.notification-unread-dot{flex:0 0 8px;width:8px;height:8px;margin-top:6px;border-radius:50%;background:var(--account-primary);box-shadow:0 0 0 3px rgba(0,159,154,.12)}.notification-content p{margin:5px 0 8px;color:#526158;line-height:1.5;overflow-wrap:anywhere}.notification-content time{color:var(--account-muted);font-size:12px}.notification-read{align-self:center;white-space:nowrap}.notification-empty{padding:24px;text-align:center}.notification-list+.account-pagination{margin-bottom:24px}
@media(max-width:760px){.notification-toolbar{grid-template-columns:1fr auto}.notification-filters{grid-column:1/-1;justify-self:start}.notification-unread-count{justify-self:start}.notification-card{grid-template-columns:40px minmax(0,1fr);padding:17px}.notification-card.unread{padding-left:14px}.notification-type-icon{width:40px;height:40px}.notification-read{grid-column:2;justify-self:start}}
@media(max-width:420px){.notification-toolbar{grid-template-columns:1fr}.notification-filters{width:100%;box-sizing:border-box}.notification-filters a{flex:1;text-align:center}.notification-mark-all{width:100%}.notification-card,.notification-card.unread{grid-template-columns:34px minmax(0,1fr);gap:11px;padding:15px 14px}.notification-type-icon{width:34px;height:34px;border-radius:10px}.notification-type-icon:before{width:17px;height:17px}.notification-read{grid-column:1/-1;width:100%}}
@media(max-width:420px){.notification-settings-toggle{padding:11px 13px}.notification-settings-form{padding:12px 10px}.notification-preference-table thead th{padding-inline:5px;font-size:10px}.notification-preference-table thead th:not(:first-child){width:62px}.notification-preference-group th{padding:11px 6px 5px}.notification-preference-row>th{padding:9px 6px;font-size:12px}.notification-preference-row td{padding:2px}.notification-preference-control{width:40px;height:40px}.notification-settings-form>.primary{justify-self:stretch;width:100%}}
@media(prefers-reduced-motion:reduce){.notification-settings-chevron{transition:none}.notification-settings-content{animation:none}}

/* Unified account controls */
.account-shell select{box-sizing:border-box;width:100%;max-width:100%;height:44px;min-height:44px;padding:0 42px 0 14px;border:1px solid #c8d9d5;border-radius:11px;appearance:none;-webkit-appearance:none;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,var(--account-primary) 50%),linear-gradient(135deg,var(--account-primary) 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat;color:var(--account-ink);font-weight:400;line-height:1.2;cursor:pointer}.account-shell select:hover:not(:disabled){border-color:var(--account-primary)}.account-shell select:focus-visible{border-color:var(--account-primary);outline:3px solid rgba(1,164,158,.2);outline-offset:1px}.account-shell select:disabled{background-color:#f1f4f3;color:var(--account-muted);cursor:not-allowed;opacity:.72}
.account-shell button,.account-shell .primary,.account-shell .secondary,.account-shell .danger,.account-shell .account-heading-action{font-weight:400}.account-shell button.primary,.account-shell button.secondary,.account-shell button.danger,.account-shell a.primary,.account-shell a.secondary,.account-shell .account-heading-action{min-height:44px;border-radius:11px;white-space:nowrap}.account-shell .primary,.account-shell .account-heading-action{border-color:var(--account-primary);background:var(--account-primary);color:#fff}.account-shell .secondary{border-color:var(--account-primary);background:#fff;color:var(--account-primary)}.account-shell .account-dialog-form footer button{min-height:44px;border-radius:11px;font-weight:400;white-space:nowrap}.account-shell .account-logout{min-height:44px;border-radius:11px;font-weight:400;white-space:nowrap}.notification-filters a{font-weight:400}.notification-settings-toggle{font-weight:400}.notification-settings-chevron{align-self:center;width:8px;height:8px;margin:0 4px 4px 0;border-color:var(--account-primary);color:var(--account-primary)}
.notification-preference-grid{width:100%;min-width:0}.notification-preference-grid-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(2,minmax(88px,104px));align-items:center;width:100%;min-width:0}.notification-preference-grid-head{color:var(--account-muted);font-size:11px;line-height:1.3}.notification-preference-grid-head>[role=columnheader]{padding:7px 10px;text-align:center;font-weight:400}.notification-preference-grid-head>[role=columnheader]:first-child{text-align:left}.notification-preference-grid-group{min-width:0}.notification-preference-grid-group>.notification-preference-group{display:grid;grid-template-columns:minmax(0,1fr);padding:12px 10px 6px;border-top:1px solid var(--account-line);color:var(--account-primary-dark);font-size:12px;font-weight:600}.notification-preference-grid-group:first-of-type>.notification-preference-group{border-top:0}.notification-preference-row{min-height:46px;border-top:1px solid #eef2ef}.notification-preference-row>[role=rowheader]{min-width:0;padding:9px 10px;color:var(--account-ink);font-size:13px;font-weight:400;line-height:1.4;overflow-wrap:anywhere}.notification-preference-row>[role=cell]{height:100%;min-width:0;display:grid;place-items:center;padding:0;line-height:0}.notification-settings-form .notification-preference-control{box-sizing:border-box;width:44px;height:44px;margin:0;padding:0;display:grid;place-items:center;align-items:center;justify-content:center;gap:0;line-height:1;cursor:pointer}.notification-settings-form .notification-preference-control input{display:block;flex:none;width:18px;height:18px;margin:0;padding:0}
@media(max-width:420px){.notification-preference-grid-row{grid-template-columns:minmax(0,1fr) repeat(2,62px)}.notification-preference-grid-head>[role=columnheader]{padding:6px 3px;font-size:10px;overflow-wrap:anywhere}.notification-preference-grid-group>.notification-preference-group{padding:11px 6px 5px}.notification-preference-row>[role=rowheader]{padding:9px 6px;font-size:12px}.notification-settings-form .notification-preference-control{width:40px;height:44px}}
