/* Member area */
.account-button{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #cddcd1;border-radius:30px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .2s,transform .2s,border-color .2s}.account-button svg{width:17px;height:17px}.account-button:hover{background:#edf5ef;border-color:#96b9a2;transform:translateY(-1px)}.header-actions{gap:16px}.member-dialog{padding:0;width:960px;max-width:calc(100% - 40px);max-height:calc(100dvh - 48px);border-radius:20px;overflow:auto;box-shadow:0 35px 110px #03281940}.member-dialog[open]{animation:member-enter .4s cubic-bezier(.2,.8,.2,1) both}.member-dialog::backdrop{background:#0825199c;backdrop-filter:blur(9px);animation:member-backdrop .3s both}.member-dialog.is-leaving{animation:member-exit .18s ease both}.member-dialog.is-leaving::backdrop{animation:member-backdrop .18s reverse both}.member-shell{display:grid;grid-template-columns:36% 64%;min-height:655px}.member-story{position:relative;overflow:hidden;background:radial-gradient(ellipse at 20% 38%,#27634a 0,transparent 64%),#103c2d;color:#fff;padding:36px 32px;display:flex;flex-direction:column;isolation:isolate}.member-story:after{content:'';position:absolute;inset:0;background:linear-gradient(150deg,transparent 40%,#081f1670);pointer-events:none;z-index:-1}.member-brand{width:130px;filter:brightness(0) invert(1);opacity:.95}.member-story-label{font-size:9px;letter-spacing:.2em;margin-top:9px;color:#a5cbb4}.member-loop{position:relative;height:210px;display:grid;place-items:center;margin:24px -32px 20px;flex:1;min-height:165px}.member-loop span{font:400 150px/1 Georgia,serif;color:#c5efd388;text-shadow:0 0 55px #9fd9b53b;transform:rotate(-16deg);animation:loop-float 9s ease-in-out infinite}.member-loop i{position:absolute;width:265px;height:265px;border:1px solid #b6e9c41c;border-radius:50%;transform:rotate(-25deg) scaleY(.68)}.member-loop i:nth-child(2){transform:rotate(45deg) scaleY(.68);width:330px;height:330px}.member-story .member-kicker{color:#a6d6b7;font-size:9px;letter-spacing:.17em}.member-story-copy h2{color:#fff;font-size:39px;line-height:1.14;letter-spacing:-.045em;margin:15px 0}.member-story-copy p{font-size:13px;line-height:1.8;color:#bcd5c6;max-width:230px}.member-story-footer{display:flex;align-items:center;gap:9px;font-size:10px;color:#b3cebd;border-top:1px solid #ffffff1a;margin-top:32px;padding-top:20px}.member-story-footer>span,.member-dot{width:5px;height:5px;display:inline-block;border-radius:50%;background:#8fcca5;flex:none}.member-content{position:relative;padding:45px 52px 30px;background:#fffefa;min-width:0}.member-close{position:absolute;top:15px;right:17px;border:1px solid #e6eae2;background:#f7f8f3;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font:24px/1 Arial;color:#687d6f;transition:transform .2s,background .2s}.member-close:hover{transform:rotate(90deg);background:#eaf1e9}.member-view{animation:member-view .3s ease both}.member-tabs{display:flex;border-radius:9px;padding:4px;background:#eef2eb;gap:4px;margin-bottom:28px}.member-tabs button{flex:1;border-radius:6px;font-size:12px;font-weight:600;padding:9px 7px;color:#6d7b6f;transition:background .2s,box-shadow .2s,color .2s}.member-tabs button[aria-pressed=true]{background:#fff;color:#16472e;box-shadow:0 2px 7px #1739270c}.member-kicker{font-size:9px;font-weight:700;letter-spacing:.15em;color:#528466}.member-heading{margin-bottom:25px}.member-heading h2{font-size:38px;letter-spacing:-.05em;margin:10px 0 9px;overflow-wrap:anywhere}.member-heading p{font-size:13px;color:#768175}.member-form{display:grid;gap:16px}.member-field{display:grid;gap:7px;font-size:12px;font-weight:600;color:#344d3d}.member-field>span{display:flex;justify-content:space-between}.member-field small{color:#879184;font-size:10px;font-weight:400}.member-field input{width:100%;max-width:none;border:1px solid #dce3d8;border-radius:8px;padding:12px 14px;min-height:46px;background:#fff;color:#203b2c;font-size:13px;transition:border-color .2s,box-shadow .2s}.member-field input::placeholder{color:#9aa296;font-weight:400}.member-field input:focus{border-color:#58956b;box-shadow:0 0 0 3px #40845810;outline:none}.member-password{position:relative}.member-password input{padding-right:49px}.password-toggle{position:absolute;right:6px;top:4px;height:38px;width:38px;color:#83907f;display:grid;place-items:center}.password-toggle svg{width:18px;height:18px}.password-toggle[aria-pressed=true]{color:var(--green)}.password-guide{margin-top:-7px}.password-track{height:3px;background:#e8eee4;border-radius:10px;overflow:hidden}.password-track span{height:100%;width:0;display:block;background:#c6a262;transition:width .25s,background .25s}.password-track .long-enough{background:#539d69}.password-guide>span{font-size:10px;color:#7e8a78;display:block;margin-top:5px}.member-session-note{font-size:11px;color:#82907e;margin-top:-3px}.member-feedback{font-size:12px;color:#a13731;line-height:1.5;overflow-wrap:anywhere}.member-feedback:empty{display:none}.member-feedback.is-success{color:#247543;background:#edf5e9;border-radius:6px;padding:9px 12px}.member-submit{min-height:47px;border-radius:8px;background:#17643c;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px 17px;font-size:13px;font-weight:600;box-shadow:0 5px 12px #0c4d2312;transition:transform .2s,box-shadow .2s,background .2s}.member-submit:hover{background:#12542f;transform:translateY(-1px);box-shadow:0 7px 19px #0c4d2320}.member-submit svg{width:19px;height:19px;transition:transform .2s}.member-submit:hover svg{transform:translateX(3px)}.member-dialog button:disabled{cursor:wait;opacity:.6}.member-submit.is-loading svg{display:none}.member-submit.is-loading:after{content:'';width:15px;height:15px;border:2px solid #ffffff45;border-top-color:white;border-radius:50%;animation:member-spin .7s linear infinite}.member-switch{font-size:12px;color:#7b8675;text-align:center;margin-top:21px}.member-switch button{font-size:12px;font-weight:600;color:#1f653d;padding:0 0 2px;margin-left:4px;border-bottom:1px solid #c1d1bf}.member-bottom{border-top:1px solid #e8ece2;margin-top:28px;padding-top:19px;text-align:center;font-size:10px;color:#8a9484}.member-bottom .member-dot{margin-right:6px}.member-browse{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#526d56;margin:7px auto 0}.member-browse svg{width:15px;height:15px}.member-topline{display:flex;align-items:center;justify-content:space-between;margin:5px 0 26px}.role-pill{border-radius:20px;padding:4px 10px;background:#eaf1e4;color:#4d734e;font-size:10px;white-space:nowrap}.member-logout{font-size:11px;color:#73816c;text-decoration:underline;text-underline-offset:3px}.profile-summary{display:flex;align-items:center;gap:12px;margin:0 0 23px;padding:15px;background:#f0f4eb;border:1px solid #e5ebdc;border-radius:10px}.member-avatar{width:40px;height:40px;border-radius:50%;background:#d9e7ce;color:#426b42;display:grid;place-items:center;font:500 20px Manrope,sans-serif;flex:none}.profile-summary strong{display:block;font-size:13px;overflow-wrap:anywhere}.profile-summary div>span{display:block;font-size:10px;color:#819076;margin-top:2px}.profile-check{margin-left:auto;color:#588451}.member-email{display:grid;gap:4px;font-size:11px;color:#85907e;overflow-wrap:anywhere}.member-email strong{font-size:13px;color:#62705b;font-weight:400}.member-shop{width:100%;margin-top:22px;padding:17px 0 0;border-top:1px solid #e7ebdf;display:flex;align-items:center;justify-content:space-between;text-align:left}.member-shop b{display:block;font-weight:500;font-size:12px}.member-shop small{font-size:10px;color:#8a957f}.member-shop svg{width:22px;height:22px;color:#4b7951}.directory-status{font-size:12px;color:#718267;padding:8px 0 16px}.directory-list{max-height:355px;overflow:auto}.directory-member{display:flex;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #e2e9dc}.directory-member>div{min-width:0;flex:1}.directory-member strong{font-size:12px;display:block;overflow-wrap:anywhere}.directory-member div>span{font-size:10px;color:#7c8b72;display:block;overflow-wrap:anywhere}.directory-member .member-avatar{width:30px;height:30px;font-size:15px}.member-content [hidden]{display:none!important}
@keyframes member-enter{from{opacity:0;transform:translateY(20px) scale(.975)}to{opacity:1;transform:none}}@keyframes member-exit{to{opacity:0;transform:translateY(10px) scale(.985)}}@keyframes member-backdrop{from{opacity:0}to{opacity:1}}@keyframes member-view{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes member-spin{to{transform:rotate(360deg)}}@keyframes loop-float{0%,100%{transform:translateY(0) rotate(-16deg)}50%{transform:translateY(-9px) rotate(-10deg)}}
@media(max-width:1100px){header nav{gap:18px}.header-actions .text-button{display:none}.header-actions{gap:13px}}
@media(max-width:760px){.account-button{padding:8px 10px;font-size:12px;gap:6px}.header-actions{gap:11px}.member-dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:15px}.member-shell{grid-template-columns:1fr;min-height:0}.member-story{display:none}.member-content{padding:49px 28px 25px}.member-tabs{margin-bottom:24px}.member-heading h2{font-size:34px}.member-heading{margin-bottom:23px}.member-bottom{margin-top:22px}.member-form{gap:15px}}
@media(max-width:380px){.brand img{width:99px}.header-actions{gap:8px}.basket-button{gap:4px;font-size:12px}.menu-toggle{font-size:12px}.account-button{padding:8px}.account-button svg{display:none}.member-content{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.member-dialog,.member-dialog::backdrop,.member-view,.member-loop span{animation:none!important}.member-dialog *, .account-button{transition:none!important}}

/* Personal commerce: shared account, checkout and admin components. */
.account-tabs{flex-wrap:wrap;gap:5px}.account-tabs button{flex:1 1 auto;min-height:40px}.member-dialog{width:1100px}.member-shell{grid-template-columns:30% 70%}.member-content{padding:45px 38px 30px}.member-story{position:sticky;top:0;max-height:780px}.profile-address{border:0;border-top:1px solid #e0e8dc;padding:22px 0 0;margin:6px 0 0;min-width:0}.profile-address legend{float:left;width:100%;font-size:17px;font-weight:600;margin-bottom:8px}.profile-address .shop-form-grid{clear:both;gap:14px}.profile-address input{font-size:13px}.account-muted{font-size:12px;color:#637565;line-height:1.8;margin:8px 0 18px;overflow-wrap:anywhere}.address-clear{display:flex;align-items:center;gap:8px;font-size:11px;color:#6a796a;margin-top:14px}.address-clear input{width:auto}.account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 16px}.account-section-heading h3{font-size:26px;letter-spacing:-.04em;margin-top:8px}.account-notice{font-size:12px;line-height:1.8;background:#edf3e9;color:#526a52;border:1px solid #dce7d7;border-radius:12px;padding:15px 18px;margin:12px 0 20px}.new-plan{margin-bottom:22px}.account-card{border:1px solid #dfe7da;border-radius:12px;background:#fff;margin:12px 0;overflow:hidden}.account-card>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;cursor:pointer;list-style:none}.account-card>summary::-webkit-details-marker{display:none}.account-card>summary:after{content:'+';font-size:20px;color:#55825c;flex:none}.account-card[open]>summary:after{content:'−'}.account-card>summary>span:first-child{flex:1;min-width:0}.account-card strong{display:block;font-size:13px;overflow-wrap:anywhere}.account-card small{display:block;font-size:11px;color:#73836e;margin-top:4px}.account-card[open]>summary{background:#f3f6ef;border-bottom:1px solid #e1e8db}.account-card-body{padding:18px}.account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.account-empty{text-align:center;padding:35px 18px;border:1px dashed #d8e4d3;border-radius:15px;background:#f6f8f2}.account-empty>span{font-size:42px;color:#548359}.account-empty h3{font-size:20px;margin:8px 0}.account-empty p{font-size:13px;color:#788570;line-height:1.8;margin-bottom:18px}.cancel-plan-confirm{border-top:1px solid #e3e9dd;padding-top:14px;font-size:12px;line-height:1.8}.order-items>div{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e5eadf}.order-items img{width:48px;height:48px;object-fit:contain;border-radius:8px;background:#f1f4ed}.order-items span{flex:1}.order-items strong{font-size:13px}.order-items small{display:block;color:#71826c;font-size:11px;margin-top:5px}.order-items b{font-size:12px}.order-total{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 0;font-size:13px}.order-timeline{list-style:none;margin:24px 0 8px;padding:0 0 0 13px;border-left:2px solid #dde8d6}.order-timeline li{position:relative;padding:0 0 20px 10px}.order-timeline li:before{content:'';position:absolute;left:-19px;top:4px;width:10px;height:10px;border-radius:50%;background:#56825b;border:2px solid white}.order-timeline strong{font-size:12px}.order-timeline time{display:block;font-size:10px;color:#829078;margin-top:3px}.order-timeline p{font-size:12px;line-height:1.7;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.order-timeline small{display:block}.tracking-note{padding:12px;background:#f0f4ed;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.checkout-address{padding:22px;border:1px solid #dbe5d5;border-radius:14px;background:#f8faf5}.checkout-address h3{font-size:19px}.checkout-address #shipping-choice{margin-bottom:20px}.checkout-address input[readonly]{background:#edf2e8;color:#4d664e}.refill-overview{display:flex;align-items:center;gap:24px;background:linear-gradient(115deg,#e7efdf,#f4f7ee);border:1px solid #d8e3ce;border-radius:18px;padding:28px 30px;margin-bottom:26px}.refill-overview-icon{display:grid;place-items:center;width:76px;height:76px;background:#fff9;border:1px solid #d8e3ce;border-radius:22px;font:58px Georgia;color:#4f7951;flex:none}.refill-overview h2{font-size:25px;letter-spacing:-.035em;margin:6px 0}.refill-overview p:not(.eyebrow){font-size:13px;color:#758368;line-height:1.7}.refill-overview>.button{margin-left:auto;white-space:nowrap}.refill-admin-details{display:grid;grid-template-columns:1fr 1fr;gap:24px}.refill-admin-details p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.status-pill.confirmed,.status-pill.packed,.status-pill.shipped{background:#e7eff5;color:#3f687f}.status-pill.processing,.status-pill.awaiting_setup,.status-pill.unpaid{background:#f8efdc;color:#8a682b}.status-pill.delivered,.status-pill.paid{background:#e3f0e1;color:#377048}.status-pill.cancelled,.status-pill.refunded{background:#f1e9e5;color:#8c655c}.status-pill{white-space:nowrap}.finance-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.finance-chart h2{font-size:23px;margin-top:8px}.finance-bars{display:flex;gap:14px;margin-top:30px}.finance-column{flex:1;min-width:0;text-align:center}.finance-column>strong{display:block;font-size:10px;overflow-wrap:anywhere;margin-bottom:12px}.finance-bar-track{height:170px;display:flex;align-items:flex-end;background:#f5f7f0;border-bottom:1px solid #d2dfc7;border-radius:6px 6px 0 0;overflow:hidden}.finance-bar-track span{display:block;width:100%;background:#688b51;border-radius:5px 5px 0 0;min-height:2px}.finance-bar-track .payments-bar{background:#255f4b}.finance-column small{display:block;font-size:10px;color:#74856b;margin-top:12px}.finance-table{margin-top:24px}.finance-notice{margin-top:22px}.admin-modal .order-timeline{max-height:260px;overflow:auto}.admin-modal [hidden]{display:none!important}.admin-sidebar nav button{font-size:12px}.stat-card strong{overflow-wrap:anywhere}.member-tabs button:focus-visible,.account-card>summary:focus-visible{outline:2px solid #3e7a47;outline-offset:3px}
@media(max-width:1100px){.finance-grid{grid-template-columns:1fr}.refill-overview{flex-wrap:wrap}.refill-overview>.button{margin-left:0}.member-shell{grid-template-columns:27% 73%}.member-story{padding-inline:22px}}
@media(max-width:760px){.member-shell{grid-template-columns:1fr}.member-content{padding:46px 22px 26px}.member-dialog .shop-form-grid{grid-template-columns:1fr}.account-tabs button{flex-basis:40%;font-size:11px}.account-card>summary{gap:9px;padding:14px;flex-wrap:wrap}.account-card .status-pill{font-size:9px}.account-card-body{padding:14px}.refill-overview{padding:22px;gap:16px}.refill-overview h2{font-size:22px}.refill-overview-icon{width:52px;height:52px;font-size:40px;border-radius:14px}.refill-admin-details{grid-template-columns:1fr}.finance-bars{gap:8px}.finance-column>strong{font-size:9px}.checkout-address{padding:16px}.admin-modal .shop-form-grid{grid-template-columns:1fr}}

.finance-chart{padding:26px}.admin-panel>.account-card{margin:14px 24px}.admin-panel>.account-card:last-child{margin-bottom:24px}@media(max-width:760px){.finance-chart{padding:20px}.admin-panel>.account-card{margin-inline:14px}}

/* Keep the account frame steady while each tab scrolls independently. */
.member-dialog{height:min(780px,calc(100dvh - 48px));overflow:hidden}
.member-shell{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}
.member-story{position:relative;top:auto;height:100%;max-height:none;min-height:0}
.member-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.member-loop{min-height:0}
@media(max-width:760px){.member-dialog{height:calc(100dvh - 24px)}}
@media(max-height:640px) and (min-width:761px){.member-story{padding-block:22px}.member-loop{margin-block:8px}.member-story-copy h2{font-size:30px}.member-story-footer{margin-top:16px;padding-top:14px}}
