@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";
:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c1110;--surface:#141d19;--raised:#1c2922;--ink:#edf7f0;--muted:#a0b5a9;--line:#2b3b32;--primary:#09e989;--primary-hover:#2bf0a0;--on-primary:#06291a;--accent-text:#65efb2;--soft:#1b3518;--sidebar:#0a100d}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f7f5;--surface:#fff;--raised:#edf4f0;--ink:#172d22;--muted:#5e7468;--line:#dce7e0;--primary-hover:#06cd78;--accent-text:#087847;--soft:#e6f4de;--sidebar:#eef5f0}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font:14px DM Sans,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{letter-spacing:-1.2px;font-size:34px;line-height:1.25}h2{letter-spacing:-.4px;font-size:19px}h3{font-size:16px}p{line-height:1.65}small{color:var(--muted);font-size:12px}input,select,textarea{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:10px;width:100%;min-width:0;padding:11px 12px}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--primary);width:20px;height:20px}label{color:var(--muted);flex-direction:column;gap:7px;font-size:12px;font-weight:500;display:flex}button{transition:background .15s,color .15s}em{color:var(--accent-text);font-style:normal}.eyebrow{color:var(--accent-text);letter-spacing:1.7px;margin-bottom:12px;font-size:10px;font-weight:700;display:block}.muted{color:var(--muted);margin:12px 0;font-size:13px}.accent-button,.quiet-button,.text-button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;padding:12px 16px;font-size:12px;font-weight:600;display:inline-flex}.accent-button{background:var(--primary);color:var(--on-primary)}.accent-button:hover{background:var(--primary-hover)}.quiet-button{color:var(--ink);background:var(--surface);border-color:var(--line)}.quiet-button:hover{background:var(--raised)}.text-button{color:var(--accent-text);background:0 0;border:0;padding:5px 0}.theme-toggle,.icon-button{border:1px solid var(--line);width:35px;height:35px;color:var(--muted);background:0 0;border-radius:10px;flex-shrink:0;place-items:center;display:grid;position:relative}.theme-toggle:hover,.icon-button:hover{background:var(--soft);color:var(--accent-text)}.icon-button i{background:var(--primary);border-radius:50%;width:6px;height:6px;position:absolute;top:4px;right:5px}.user-brand{letter-spacing:-1px;align-items:center;gap:8px;font-size:23px;font-weight:700;display:flex}.user-brand b{margin-left:-4px;font-weight:400}.user-brand>span{background:var(--primary);width:38px;height:38px;color:var(--on-primary);border-radius:12px;place-items:center;margin-right:3px;display:grid;transform:rotate(-5deg)}.user-sidebar{background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;width:236px;padding:30px 18px;display:flex;position:fixed;inset:0 auto 0 0;overflow:auto}.sidebar-caption{color:var(--muted);letter-spacing:1.8px;margin:46px 12px 17px;font-size:9px}.user-sidebar nav{flex-direction:column;gap:7px;display:flex}.user-sidebar nav button{color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:13px;padding:13px 14px;font-size:12px;display:flex}.user-sidebar nav button:hover{background:var(--raised)}.user-sidebar nav button.selected{background:var(--primary);color:var(--on-primary);font-weight:700}.user-sidebar nav button i{margin-left:auto;font-size:10px;font-style:normal}.sidebar-foot{flex-direction:column;gap:8px;margin-top:auto;padding:30px 12px 0;font-size:12px;display:flex}.personal-avatar{background:var(--soft);width:37px;height:37px;color:var(--accent-text);border-radius:50%;place-items:center;font-size:11px;display:grid}.sidebar-foot .text-button{color:var(--muted);justify-content:flex-start;margin-top:14px}.user-main{margin-left:236px}.user-topbar{background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;height:76px;padding:0 34px;display:flex}.desktop-crumb{color:var(--muted);align-items:center;gap:14px;font-size:11px;display:flex}.mobile-brand{display:none}.topbar-actions{align-items:center;gap:15px;display:flex}.topbar-actions .current-gym{white-space:nowrap;text-overflow:ellipsis;background:0 0;max-width:220px;padding:9px;font-size:11px;overflow:hidden}.user-content{max-width:1420px;margin:auto;padding:32px}.dashboard-hero{background:linear-gradient(120deg, var(--surface), var(--soft));border:1px solid var(--line);border-radius:20px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:34px 38px;display:flex}.dashboard-hero h1{font-size:38px;line-height:1.2}.dashboard-hero p{color:var(--muted);margin:16px 0 24px;font-size:13px}.hero-symbol{min-width:190px;color:var(--accent-text);flex-direction:column;align-items:center;gap:16px;display:flex;transform:rotate(-12deg)}.hero-symbol span{letter-spacing:1px;font-size:11px}.stat-grid{grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:9px;padding:23px;display:flex;position:relative}.stat-card>svg{width:18px;color:var(--accent-text);position:absolute;top:22px;right:22px}.stat-card>span{color:var(--muted);padding-right:20px;font-size:12px}.stat-card>strong{letter-spacing:-1px;font:700 31px Manrope}.stat-card>strong small{font-size:15px;font-weight:400}.two-columns{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;margin-bottom:22px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;min-width:0;margin-bottom:22px;padding:24px}.two-columns>.panel{margin-bottom:0}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.panel-heading>svg{color:var(--accent-text)}.empty-state{text-align:center;color:var(--muted);padding:35px 15px}.empty-state>svg{color:var(--accent-text);opacity:.65;margin-bottom:12px}.empty-state h3{color:var(--ink);margin-bottom:9px}.empty-state p{max-width:310px;margin:auto;font-size:12px}.trend-chart{padding-top:6px}.trend-summary{align-items:baseline;gap:14px;display:flex}.trend-summary>strong{font:700 29px Manrope}.trend-summary small{font-size:15px}.trend-summary>span{color:var(--muted);font-size:11px}.trend-chart svg{width:100%;height:auto;max-height:220px;margin-top:16px;display:block}.status-pill,.count-pill{background:var(--raised);color:var(--muted);white-space:nowrap;border-radius:7px;align-items:center;gap:6px;padding:6px 10px;font-size:10px;display:inline-flex}.status-pill.active,.count-pill{background:var(--soft);color:var(--accent-text)}.gym-card h2{margin-bottom:12px}.gym-card>p{color:var(--muted);margin-top:14px;font-size:13px}.gym-card dl{margin:20px 0}.gym-card .quiet-button{width:100%}dl{margin:20px 0}dl>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:15px;padding:10px 0;font-size:12px;display:flex}dt{color:var(--muted)}dd{text-align:right;overflow-wrap:anywhere;max-width:65%;margin:0}.list-row,.payment-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:13px;padding:16px 0;display:flex}.list-row:last-child,.payment-row:last-child{border-bottom:0}.list-row>div{flex-direction:column;flex:1;gap:5px;display:flex}.list-row strong,.payment-row strong{font-size:12px}.list-row>svg{color:var(--accent-text)}.mini-icon{background:var(--soft);width:39px;height:39px;color:var(--accent-text);border-radius:11px;flex-shrink:0;place-items:center;display:grid}.notice-preview{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);background:0 0;align-items:center;gap:13px;padding:17px 0;display:flex}.notice-preview>svg{color:var(--accent-text);flex-shrink:0}.notice-preview>div{flex-direction:column;flex:1;gap:7px;display:flex}.notice-preview strong{font-size:13px}.page-heading{justify-content:space-between;align-items:center;gap:18px;margin:4px 0 28px;display:flex}.page-heading p{color:var(--muted);margin-top:9px;font-size:13px}.page-heading>select{max-width:210px}.inline-stats{color:var(--muted);flex-wrap:wrap;gap:24px;margin-bottom:24px;font-size:12px;display:flex}.inline-stats strong{color:var(--ink);margin-right:5px;font-size:18px}.routine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.routine-card>h2{margin-bottom:12px}.routine-card>p{color:var(--muted);margin-bottom:12px;font-size:12px}.routine-card>.accent-button{width:100%;margin-top:18px}.routine-card>.form-actions{justify-content:space-between;margin-top:12px}.routine-card>small{margin-top:7px;display:block}.routine-exercises{margin-top:20px}.routine-exercises>div{border-top:1px solid var(--line);justify-content:space-between;gap:10px;padding:13px 0;font-size:12px;display:flex}.routine-exercises span{color:var(--muted);font-size:11px}.fitness-form{flex-direction:column;gap:17px;margin-top:20px;display:flex}.field-pair,.measure-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.exercise-editor,.exercise-labels{grid-template-columns:minmax(110px,2fr) repeat(3,minmax(50px,.65fr)) 30px;align-items:center;gap:8px;display:grid}.exercise-labels{color:var(--muted);margin-bottom:-10px;font-size:10px}.exercise-editor input{padding:10px 8px}.exercise-editor .quiet-button{padding:8px}.form-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}fieldset{border:1px solid var(--line);border-radius:12px;margin:0;padding:18px}legend{padding:0 8px;font-size:13px;font-weight:600}.set-row,.set-labels{grid-template-columns:40px 1fr 1fr;align-items:center;gap:12px;margin-top:10px;display:grid}.set-labels{color:var(--muted);font-size:10px}.workout-history{border-bottom:1px solid var(--line);padding:16px 0}.workout-history:last-child{border:0}.workout-history summary{font-size:12px}.workout-history p{color:var(--muted);margin-top:12px;font-size:12px}summary{cursor:pointer;font-weight:600;line-height:1.5}details.panel>summary{font-family:Manrope;font-size:17px}.notice-card.unread{border-left:3px solid var(--primary)}.notice-card>p{margin:18px 0;font-size:13px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.membership-banner,.connection-banner{background:var(--soft);color:var(--accent-text);border:1px solid var(--line);border-radius:12px;margin-bottom:22px;padding:16px 20px;font-size:12px}.connection-banner{justify-content:space-between;align-items:center;gap:15px;display:flex}.chat-panel{padding:0;overflow:hidden}.chat-heading{border-bottom:1px solid var(--line);align-items:center;gap:13px;padding:20px 24px;display:flex}.trainer-avatar{background:var(--soft);width:43px;height:43px;color:var(--accent-text);border-radius:50%;place-items:center;font-size:12px;display:grid}.chat-heading>div{flex-direction:column;gap:6px;display:flex}.chat-heading strong{font-size:14px}.chat-context{padding:0 24px;font-size:11px}.chat-messages{flex-direction:column;gap:16px;min-height:250px;max-height:520px;padding:20px 24px;display:flex;overflow:auto}.chat-bubble{background:var(--raised);border:1px solid var(--line);border-radius:14px 14px 14px 2px;align-self:flex-start;max-width:80%;padding:13px 16px}.chat-bubble.outgoing{background:var(--soft);border-radius:14px 14px 2px;align-self:flex-end}.chat-bubble>small{color:var(--accent-text);font-size:10px}.chat-bubble>p{margin:6px 0;font-size:13px}.chat-bubble>time{text-align:right;color:var(--muted);font-size:9px;display:block}.chat-composer{border-top:1px solid var(--line);align-items:center;gap:12px;padding:20px 24px;display:flex}.chat-composer textarea{flex:1}.gym-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.gym-choice{background:var(--surface);border:1px solid var(--line);color:var(--ink);text-align:left;border-radius:14px;align-items:center;gap:13px;padding:20px;display:flex}.gym-choice.selected{border-color:var(--primary);background:var(--soft)}.gym-choice>div{flex-direction:column;flex:1;gap:7px;display:flex}.gym-choice strong{font-size:14px}.payment-row>div{flex-direction:column;gap:6px;display:flex}.privacy-choice{border-bottom:1px solid var(--line);flex-direction:row;justify-content:space-between;align-items:center;gap:15px;padding:20px 0}.privacy-choice>div{flex-direction:column;gap:7px;display:flex}.privacy-choice strong{color:var(--ink)}.privacy-note{background:var(--soft);color:var(--accent-text);border-radius:12px;gap:12px;margin-top:22px;padding:18px;display:flex}.privacy-note svg{flex-shrink:0}.privacy-note p{font-size:12px}.feedback{border:1px solid var(--line);background:var(--soft);color:var(--accent-text);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:13px 17px;font-size:13px;display:flex}.feedback.error{color:#f1b0a2;background:#38221f;border-color:#694038}:root[data-theme=light] .feedback.error{color:#ad4939;background:#fcece8;border-color:#e5b6ac}.feedback>button{color:inherit;background:0 0;border:0;font-size:19px}footer{color:var(--muted);text-align:center;padding:22px 0 5px;font-size:10px}.mobile-nav{display:none}.loading-screen{min-height:100vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.loading-screen>svg{color:var(--accent-text)}.loading-screen h1{color:var(--ink);font-size:26px}.user-auth{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-story{background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;padding:42px 52px;display:flex}.story-copy{margin:auto 0;padding:45px 0}.story-copy h1{letter-spacing:-3px;font-size:62px;line-height:1.1}.story-copy>p{color:var(--muted);max-width:330px;margin:26px 0;font-size:15px}.story-features{color:var(--muted);flex-direction:column;gap:17px;margin-top:40px;font-size:12px;display:flex}.story-features>span{align-items:center;gap:12px;display:flex}.story-features svg{color:var(--accent-text)}.auth-panel{justify-content:center;align-items:center;padding:65px 35px;display:flex;position:relative}.auth-panel>.theme-toggle{position:absolute;top:27px;right:28px}.auth-card{width:100%;max-width:360px}.auth-card>h2{margin-bottom:14px;font-size:28px}.auth-card>p{color:var(--muted);margin-bottom:22px;font-size:13px}.auth-card .fitness-form{margin-top:25px}.auth-card .accent-button{margin-top:5px}.auth-switch{text-align:center;width:100%;margin-top:20px}.auth-card>.auth-note{text-align:center;margin:25px 0 0;font-size:11px}@media (max-width:1050px){.user-sidebar{width:208px;padding:25px 14px}.user-main{margin-left:208px}.user-content{padding:25px}.user-topbar{padding:0 25px}.dashboard-hero{padding:28px}.hero-symbol{min-width:130px}.hero-symbol svg{width:80px}.two-columns{grid-template-columns:1fr 1fr}.stat-card{padding:20px}.stat-card>strong{font-size:26px}.stat-card>span{font-size:11px}.story-copy h1{font-size:52px}.auth-story{padding:35px}}@media (max-width:800px){.user-sidebar{display:none}.user-main{margin-left:0}.desktop-crumb{display:none}.mobile-brand{white-space:nowrap;font-size:18px;font-weight:700;display:block}.user-topbar{gap:10px;height:68px;padding:0 18px}.topbar-actions{gap:9px;min-width:0}.topbar-actions .current-gym{max-width:170px;padding:8px;font-size:10px}.user-content{padding:24px 18px 90px}.dashboard-hero h1{font-size:33px}.dashboard-hero{padding:26px}.stat-grid{gap:12px}.stat-card{padding:18px}.stat-card>svg{display:none}.stat-card>strong{font-size:25px}.stat-card>small{font-size:10px}.two-columns{grid-template-columns:1fr}.routine-grid{grid-template-columns:1fr 1fr}.mobile-nav{background:var(--surface);border-top:1px solid var(--line);padding:8px 8px max(10px, env(safe-area-inset-bottom));z-index:10;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:var(--muted);background:0 0;border:0;border-radius:9px;flex-direction:column;align-items:center;gap:5px;padding:5px 8px;font-size:9px;display:flex}.mobile-nav button.selected{background:var(--soft);color:var(--accent-text)}.user-auth{grid-template-columns:1fr}.auth-story{min-height:0;padding:27px}.story-copy{padding:28px 0 0}.story-copy h1{letter-spacing:-1.5px;font-size:40px}.story-copy h1 br{display:none}.story-copy h1 em{display:block}.story-copy>p{margin:14px 0 0;font-size:13px}.story-features,.auth-story>small{display:none}.auth-panel{padding:70px 25px 35px}.auth-card>h2{font-size:25px}}@media (max-width:520px){h1{font-size:28px}.user-topbar{padding:0 12px}.mobile-brand{font-size:15px}.topbar-actions .current-gym{max-width:120px}.topbar-actions{gap:7px}.theme-toggle,.icon-button{width:32px;height:32px}.dashboard-hero{padding:25px 22px}.dashboard-hero h1{font-size:31px}.hero-symbol{display:none}.dashboard-hero p{font-size:12px}.stat-grid{grid-template-columns:1fr;gap:10px}.stat-card{grid-template-columns:1fr auto;align-items:center;gap:7px;padding:16px 18px;display:grid}.stat-card>strong{grid-area:1/2/3}.stat-card>small{grid-column:1;font-size:11px}.stat-card>span{padding-right:0}.panel{padding:20px}.routine-grid,.gym-list{grid-template-columns:1fr}.page-heading{flex-direction:column;align-items:flex-start;gap:16px}.page-heading p{font-size:12px}.page-heading>select{max-width:none}.routine-exercises>div{flex-direction:column;gap:5px}.exercise-editor,.exercise-labels{grid-template-columns:minmax(90px,1.5fr) repeat(3,minmax(38px,.6fr)) 24px;gap:5px}.exercise-labels{font-size:9px}.exercise-editor input{padding:9px 5px;font-size:11px}.exercise-editor .quiet-button{padding:8px 5px}.form-actions{flex-wrap:wrap}.chat-panel{padding:0}.chat-heading,.chat-composer{padding:17px}.chat-context{padding:0 17px}.chat-messages{padding:17px}.chat-bubble{max-width:94%}.chat-composer{flex-direction:column;align-items:stretch}.chat-composer textarea{width:100%}.connection-banner{flex-direction:column;align-items:flex-start}.inline-stats{gap:14px}.trend-summary{flex-direction:column;gap:7px}.trend-summary>strong{font-size:26px}.auth-panel{padding-top:65px}}
.qr-admin-panel{align-items:center;gap:32px;padding:28px;display:flex}.qr-admin-copy{flex:1;min-width:0}.qr-admin-copy h2,.qr-card-heading{align-items:center;gap:10px;display:flex}.qr-admin-copy p{margin:14px 0;line-height:1.65}.qr-controls{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.qr-validity{flex-direction:column;gap:8px;max-width:260px;font-size:14px;display:flex}.qr-validity select{border:1px solid var(--line);color:inherit;background:var(--surface,var(--panel,transparent));font:inherit;border-radius:9px;padding:12px}.qr-preview{text-align:center;flex:0 0 280px;max-width:100%}.qr-code-frame{background:#fff;border-radius:16px;width:280px;max-width:100%;margin:auto;overflow:hidden}.qr-code-frame svg{width:100%;height:auto;display:block}.qr-preview p,.qr-muted{color:var(--muted);font-size:13px;line-height:1.65}.qr-test-link{margin:14px 0 4px;text-decoration:underline;display:inline-block}.qr-checkin-card{border:1px solid var(--primary,#09e989);background:var(--surface,var(--panel,transparent));border-radius:16px;margin:0 0 24px;padding:22px}.qr-card-heading h2{flex:1;margin:0;font-size:18px}.qr-checkin-card p{margin:12px 0;line-height:1.6}.qr-dismiss{color:inherit;cursor:pointer;background:0 0;border:0;padding:5px}.qr-action{color:#08241b;font:inherit;cursor:pointer;background:#09e989;border:0;border-radius:9px;padding:13px 18px;font-weight:700}.qr-action:disabled{opacity:.6;cursor:wait}.qr-success,.qr-denied{align-items:center;gap:10px;display:flex}.qr-denied,.qr-checkin-card [role=alert],.qr-admin-panel [role=alert]{color:var(--danger,#db725e)}.qr-landing{max-width:660px;margin:auto;padding:32px 24px}.qr-landing-card{border:1px solid var(--line);border-radius:20px;margin-top:40px;padding:36px}.qr-landing-card>.eyebrow{margin-top:20px;display:block}.qr-landing-card h1{overflow-wrap:anywhere;margin:14px 0;font-size:clamp(25px,5vw,34px)}.qr-landing-card p{margin:18px 0;line-height:1.65}.qr-role-links{gap:12px;margin-top:24px;display:grid}@media (max-width:700px){.qr-admin-panel{flex-direction:column;padding:20px}.qr-preview{flex-basis:auto}.qr-landing-card{padding:24px}.qr-checkin-card{padding:18px}}
