:root{font-family:Inter,"Noto Sans TC",system-ui,sans-serif;color:#253c36;background:#f5f7f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;display:flex}aside{width:232px;padding:40px 24px;background:#fff;position:fixed;height:100vh;border-right:1px solid #e4eae2;display:flex;flex-direction:column}.brand{text-decoration:none;color:#214e40;font-size:30px;font-weight:750;letter-spacing:5px}.brand span{display:block;font-size:10px;letter-spacing:2px;margin-top:10px}nav{margin-top:65px;display:grid;gap:10px}button{font:inherit;cursor:pointer;border:1px solid #d8e2d9;border-radius:9px;padding:12px 18px;background:white;color:#345345}nav button{text-align:left;border:0;background:transparent}nav button.active{background:#e9f0e8;color:#245c43;font-weight:700}aside small{margin-top:auto;line-height:1.8;color:#7b8c81}main{margin-left:232px;padding:0 48px 60px;width:calc(100% - 232px);max-width:1550px}header{display:flex;justify-content:space-between;align-items:center;height:100px;border-bottom:1px solid #dfe6dc;color:#738176;font-size:14px}.notice{background:#fff4db;color:#756138;padding:12px 16px;border-radius:8px;margin-top:22px;font-size:13px}.eyebrow{font-size:11px;letter-spacing:3px;color:#68876e;margin-top:38px}h1{font-size:34px;letter-spacing:1px;margin:12px 0}h2{font-size:17px;font-weight:650;margin:0 0 20px}.muted{color:#77877d;font-size:14px;line-height:1.8}article{background:white;border:1px solid #e3e9df;border-radius:15px;padding:26px;margin-top:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stats article{margin-top:16px}.stats label{display:block;color:#77877d;font-size:13px}.stats strong{display:inline-block;font-size:35px;margin:20px 6px 0 0;font-weight:550}.stats small{color:#8b978f}.row{display:flex;justify-content:space-between;align-items:start}.table{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th,td{text-align:left;padding:15px 12px;border-bottom:1px solid #edf0e9}th{color:#839085;font-weight:500}label{display:block;font-size:14px;margin:12px 0}input,select{display:block;width:100%;padding:13px;border:1px solid #d6e0d5;border-radius:7px;font:inherit;margin-top:9px;background:#fff;color:inherit}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}.primary{background:#315d47;color:#fff;border-color:#315d47}.upload{padding:35px;border:1px dashed #9ab19c;background:#f4f8f2;border-radius:10px}button:disabled{cursor:not-allowed;opacity:.5}#message:empty{display:none}#message{color:#7d502e}#chart{width:100%;max-height:220px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #94ad80;outline-offset:3px}[hidden]{display:none!important}@media(max-width:800px){aside{position:static;width:100%;height:auto;padding:20px}body{display:block}aside small{display:none}nav{margin-top:20px;display:flex;overflow:auto;gap:5px}nav button{white-space:nowrap;padding:10px}main{margin:0;padding:0 20px 35px;width:100%}header{height:80px}.stats{grid-template-columns:1fr 1fr;gap:12px}.stats article{padding:18px}.stats strong{font-size:29px}.grid{grid-template-columns:1fr}h1{font-size:28px}}

.brand{font-size:25px;letter-spacing:-1px}fieldset{border:0;padding:0;margin:0}#verify{max-width:850px}

@media(max-width:800px){nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}nav button{white-space:normal;text-align:center;min-height:44px}}

#scan{max-width:880px}.measurement-step h2{font-size:20px;margin-bottom:14px}.measurement-step p{line-height:1.8}.measurement-step .primary{min-height:48px}.measurement-help{margin-top:24px;padding:18px;border:1px solid #d8e2d9;border-radius:12px;background:#fff;line-height:1.8}.measurement-help summary{cursor:pointer;font-weight:600}@media(max-width:800px){.measurement-step{padding:20px}.measurement-step .primary{width:100%}}

.header-actions{display:flex;align-items:center;gap:12px}.qr-icon-button{width:50px;height:50px;display:grid;place-items:center;padding:10px;color:#24543e;background:#fff}#memberDialog{width:min(440px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #d8e2d9;border-radius:18px;padding:24px;color:#253c36;box-shadow:0 20px 80px #17392a33}#memberDialog::backdrop{background:#152b2466}.qr-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.qr-dialog-heading h2{margin:0}.qr-dialog-heading button{padding:8px 12px}.member-card{text-align:center}.member-card img{display:block;max-width:100%;height:auto;margin:16px auto}.member-card h3{margin-bottom:6px}.member-card button{margin:4px}#cardEmail{overflow-wrap:anywhere}

.role-badge{font-size:13px;color:#315d47;background:#e9f0e8;border-radius:20px;padding:7px 12px;white-space:nowrap}#accessMessage{color:#81532a;line-height:1.8}.access-list-item{padding:16px 0;border-bottom:1px solid #edf0e9}.access-list-item p{overflow-wrap:anywhere}.consent-check{display:flex;align-items:flex-start;gap:10px;line-height:1.7}.consent-check input{width:20px;margin-top:4px}#vipStatus{line-height:1.8;overflow-wrap:anywhere}

/* Keep one member on one line; small screens scroll the list horizontally. */
.member-list-scroll{overflow-x:auto}.admin-member-grid{display:grid;grid-template-columns:minmax(90px,1fr) minmax(220px,2fr) minmax(110px,1fr) 130px 130px 70px;gap:14px;align-items:center;min-width:900px}.member-list-header{font-size:13px;color:#708078;padding:14px 0;border-bottom:1px solid #d8e2d9}.admin-member{padding:12px 0;border-bottom:1px solid #edf0e9}.admin-member>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-member input,.admin-member select,.admin-member button{margin:0;padding:10px 12px;min-height:44px;width:100%;font-size:14px}.admin-member input:disabled{background:#f5f7f3}.coach-member-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(240px,2fr) 90px;gap:14px;align-items:center;min-width:500px;width:100%;border:0;border-bottom:1px solid #e2e9e1;border-radius:0;background:transparent;text-align:left;padding:18px 12px;cursor:pointer}.coach-member-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.coach-member-row:hover,.coach-member-row[aria-expanded="true"]{background:#edf4ec}.coach-member-row:focus-visible{outline:2px solid #315d47;outline-offset:-2px}.coach-member-action{font-size:13px;color:#63806b;text-align:right}#vipReviewList .access-list-item,#myGrantList .access-list-item{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap}#vipReviewList .access-list-item p,#myGrantList .access-list-item p{margin:0}#vipReviewList .access-list-item button,#myGrantList .access-list-item button{white-space:nowrap;flex-shrink:0}

.profile-account-actions{display:flex;gap:12px;align-items:center;margin-bottom:20px}

/* Public welcome experience */
.public-mode{background:#f6f7f1}.public-mode>aside,.public-mode main>header,.public-mode main>.notice{display:none}.public-mode main{margin:0 auto;padding:0 56px;width:100%;max-width:1400px}.public-mode main>#message,.public-mode main>#accessMessage{max-width:800px;margin:20px auto}.public-mode main>#accessMessage:empty{display:none}.landing-nav{height:116px;display:flex;align-items:center;justify-content:space-between}.landing-nav .brand{font-size:29px}.quiet-button{background:transparent;border:0;padding:12px 0}.landing-nav button{font-size:14px}.landing-nav button span{margin-left:15px}.landing-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:50px;align-items:center;min-height:540px;padding:32px 0 58px}.landing-kicker{font-size:13px;letter-spacing:2px;display:flex;gap:10px;align-items:center;color:#677f69}.landing-kicker>span{width:7px;height:7px;border-radius:100%;background:#69896d}.landing h1{font-size:clamp(38px,4.5vw,64px);line-height:1.4;letter-spacing:-1.5px;margin:28px 0 24px;font-weight:650}.landing h1 span{color:#638068}.landing-copy>p{font-size:17px;line-height:1.9;color:#7b877e;margin-bottom:34px}.landing-actions{display:flex;gap:12px}.landing-actions button{padding:16px 22px;border-radius:8px;font-size:15px}.landing-actions button span{margin-left:22px}.landing-note{font-size:12px;color:#839082;margin-top:22px}.wellness-art{height:440px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}.art-orbit{position:absolute;border:1px solid #dce3d3;border-radius:50%;z-index:-2}.orbit-one{width:390px;height:390px}.orbit-two{width:330px;height:330px;background:#e9eedf}.art-card{width:292px;height:300px;border:1px solid #ffffff;background:#fffffff0;border-radius:22px;box-shadow:0 18px 55px #304d3020;padding:30px;transform:rotate(-5deg);color:#426647}.art-card>span{font-size:9px;letter-spacing:2px;color:#839681}.art-card strong{display:block;font-size:30px;line-height:1.55;font-weight:550;margin-top:20px;letter-spacing:1px}.art-card svg{width:100%;height:70px;margin:15px 0}.art-card>div{font-size:11px;color:#82947e;letter-spacing:4px}.art-leaf{position:absolute;z-index:-1;border-radius:100% 0 100% 0;background:#9bb389;transform:rotate(-25deg);width:100px;height:170px}.leaf-one{right:0;top:45px}.leaf-two{left:0;bottom:38px;background:#b6c7a1;transform:rotate(28deg);width:95px;height:150px}.leaf-three{right:30px;bottom:40px;width:70px;height:110px;background:#d0d9be;transform:rotate(60deg)}.art-caption{position:absolute;bottom:0;font-size:9px;letter-spacing:3px;color:#8b9c85}.landing-bottom{border-top:1px solid #dce3d7;border-bottom:1px solid #dce3d7;display:grid;grid-template-columns:repeat(3,1fr);padding:22px 0;margin-top:4px;gap:20px}.landing-bottom p{margin:8px 0;font-size:14px}.landing-bottom b{font-size:11px;font-weight:500;letter-spacing:1px;color:#95a18f;margin-right:18px}.landing footer{display:flex;justify-content:space-between;color:#789076;font-size:12px;padding:28px 0}.landing footer span{color:#939d8e}.public-form{max-width:720px;margin:35px auto 70px}.public-form h1{font-size:36px}.public-form article{padding:30px}.public-form .primary{margin-top:10px}.guest-details{display:grid;grid-template-columns:100px 1fr;gap:18px;font-size:15px}.guest-details dt{color:#81907f}.guest-details dd{margin:0;overflow-wrap:anywhere}#guestError,#guestHomeError{color:#935536;line-height:1.7}
@media(max-width:800px){.public-mode main{padding:0 24px}.landing-nav{height:96px}.landing-nav .brand{font-size:25px}.landing-hero{grid-template-columns:1fr;gap:20px;padding:24px 0 32px}.landing h1{font-size:42px}.landing-copy>p{font-size:15px}.wellness-art{height:330px;max-width:360px;width:100%;margin:auto}.orbit-one{width:310px;height:310px}.orbit-two{width:270px;height:270px}.art-card{width:240px;height:260px;padding:24px}.art-card strong{font-size:26px}.art-card svg{height:52px}.art-leaf{width:70px;height:120px}.landing-bottom{grid-template-columns:1fr;gap:8px;padding:18px 0}.landing-bottom p{margin:5px 0}.public-form h1{font-size:30px}.public-form article{padding:22px}.landing-actions button{padding:14px 17px}.landing-actions button span{margin-left:10px}}

.referral-notice{font-size:13px;line-height:1.7;color:#426647;background:#e9efdf;border:1px solid #dae4cd;padding:12px 16px;border-radius:9px;display:inline-block;margin:18px 0 0;overflow-wrap:anywhere}

.measurement-progress{font-size:14px;letter-spacing:1px;color:#63806b}.measurement-navigation{display:flex;gap:12px;margin:24px 0}.measurement-done{text-align:center}.done-symbol{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:#e9f0e3;color:#315d47;font-size:32px;margin:0 auto 20px}.measurement-done p{line-height:1.8}.measurement-done button{margin:6px}#measurementPanel .notice{line-height:1.7}

.mobile-menu-toggle,.mobile-menu-close,.mobile-header-brand,.nav-backdrop{display:none}.compact-header{display:flex;align-items:center;gap:10px}.scan-instructions{font-size:14px;color:#768576;line-height:1.7}
@media(max-width:800px){
 body:not(.public-mode){display:block}body:not(.public-mode) main{width:100%;margin:0;padding:0 16px 28px}
 body:not(.public-mode)>aside{position:fixed;z-index:101;left:0;top:0;bottom:0;width:270px;height:100dvh;padding:34px 20px;background:#fff;transform:translateX(-100%);visibility:hidden;transition:transform .18s ease,visibility .18s;box-shadow:10px 0 40px #203d2920}
 body.menu-open>aside{transform:translateX(0);visibility:visible}body.menu-open{overflow:hidden}
 body>aside nav{display:flex;flex-direction:column;gap:6px;margin-top:32px;overflow:auto}body>aside nav button{text-align:left;min-height:46px;white-space:normal}
 .mobile-menu-close{display:block;position:absolute;right:10px;top:8px;border:0;background:transparent;padding:8px 12px}.mobile-menu-toggle{display:grid;place-items:center;width:40px;height:40px;padding:0;font-size:20px;border:0;background:transparent}.mobile-header-brand{display:inline;font-size:19px;font-weight:700;color:#214e40;letter-spacing:-.5px}.desktop-header-caption{display:none}
 main>header{height:58px;gap:8px}.header-actions{gap:8px}.role-badge{font-size:11px;padding:6px 9px}.qr-icon-button{width:38px;height:38px;padding:6px}.qr-icon-button svg{width:24px;height:24px}
 .nav-backdrop{border:0;border-radius:0;position:fixed;inset:0;width:100%;height:100dvh;background:#18302666;z-index:100;padding:0}body.menu-open>.nav-backdrop{display:block}
 body.measurement-mode main>.notice{display:none}body.measurement-mode #scan>.eyebrow{display:none}#scan>h1{font-size:24px;line-height:1.25;margin:16px 0 6px}.measurement-progress{font-size:13px;margin:0 0 10px}#scan .measurement-step{margin-top:12px;padding:16px}#scan [data-measurement-page="scan"]>h2{display:none}#scan #startScan{margin:0;min-height:48px}#scan #stopScan{margin-top:8px}#scan .scan-instructions{margin:12px 0 0}#scanVideo{max-height:45dvh;object-fit:cover;border-radius:10px}.public-mode>.nav-backdrop{display:none}
}
@media(prefers-reduced-motion:reduce){body:not(.public-mode)>aside{transition:none}}

.coach-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid #dbe5d8;margin:24px 0 12px}.coach-tabs button{border:0;border-radius:8px 8px 0 0;background:transparent;white-space:nowrap;font-size:14px}.coach-tabs button[aria-selected="true"]{background:#e7efdf;color:#315d47;font-weight:700;border-bottom:3px solid #315d47}.coach-invite-card{text-align:center;max-width:600px;margin:24px auto}.coach-invite-card img{display:block;width:300px;max-width:100%;height:auto;margin:20px auto}.coach-invite-card .eyebrow{margin:5px 0 24px}#coachInviteUrl{overflow-wrap:anywhere;font-size:12px}.coach-qr-actions{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;margin:24px 0}.inline-invite{display:flex;align-items:end;gap:12px}.inline-invite label{flex:1;margin:0}.inline-invite button{flex-shrink:0}.coach-roster-item{display:flex;align-items:center;gap:12px;min-width:650px;border-bottom:1px solid #e2e9e1;padding:6px 0}.coach-roster-open{display:grid;grid-template-columns:minmax(100px,1fr) minmax(220px,2fr) 110px;align-items:center;gap:12px;width:100%;border:0;background:transparent;text-align:left;padding:16px 8px}.coach-roster-open span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coach-roster-item>button:last-child{white-space:nowrap}.coach-roster-open:disabled{opacity:1;color:#718073;cursor:default}.coach-roster-open:not(:disabled):hover{background:#edf4e9}#homeCoachingPanel{border-color:#cdddc8}#homeCoachingPanel .row button{font-size:12px;padding:8px 12px}.coach-request{padding:18px;margin:16px 0;border-color:#d7e3ce;background:#f7faf4}.coach-request h3{font-size:16px;line-height:1.7;margin:0}.coach-request button{margin:6px 8px 0 0}#coachConsentDialog{width:min(720px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #d8e2d9;border-radius:18px;padding:24px;color:#253c36}#coachConsentDialog::backdrop{background:#152b2466}#coachConsentNotice{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.9;background:#f6f8f2;padding:18px;border-radius:10px}#coachConsentQuestion{font-weight:650;line-height:1.8}#coachConsentError{color:#945331}#coachConsentDialog .consent-check{margin:20px 0}
@media(max-width:800px){.coach-tabs{margin:16px 0 8px;gap:0}.coach-tabs button{padding:12px 9px;font-size:12px}.inline-invite{display:block}.inline-invite button{margin-top:14px;width:100%}.measurement-mode #sharing>.eyebrow,.measurement-mode #sharing>h1{display:none}.measurement-mode .coach-tabs{margin:8px 0}.measurement-mode #scan>h1{font-size:21px;margin:8px 0 4px}.measurement-mode .measurement-progress{margin-bottom:6px}.measurement-mode #scan .measurement-step{margin-top:8px}.coach-invite-card{padding:20px}.coach-request button{width:100%;margin-right:0}}
@media print{body.printing-coach{background:white!important;display:block!important}body.printing-coach aside,body.printing-coach main>header,body.printing-coach main>p,body.printing-coach .nav-backdrop,body.printing-coach main>section:not(#sharing){display:none!important}body.printing-coach main{margin:0!important;width:100%!important;padding:0!important;max-width:none!important}body.printing-coach #sharing{display:block!important}body.printing-coach #sharing>*:not(#coachQrPanel){display:none!important}body.printing-coach #coachQrPanel{display:block!important}body.printing-coach #coachQrPanel>*:not(#coachPrintCard){display:none!important}body.printing-coach #coachPrintCard{border:0;max-width:600px;margin:30mm auto;padding:20px;break-inside:avoid}body.printing-coach #coachInviteQr{width:80mm;height:80mm}}

#coachWorkspaceStatus:empty,#coachInviteResult:empty{display:none}
