:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f6f0e8;background:#111513;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(150deg,rgba(46,91,77,.3),transparent 34rem),linear-gradient(180deg,#151714,#201f1a 45%,#111513)}button{font:inherit}.app-shell{width:min(100%,860px);min-height:100vh;margin:0 auto;padding:max(24px,env(safe-area-inset-top)) 20px max(28px,env(safe-area-inset-bottom))}header{margin:18px 0 24px}.eyebrow{color:#d9b45f;font-size:.72rem;font-weight:800;letter-spacing:.18em}h1{margin:8px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,7vw,3.5rem);font-weight:500;letter-spacing:-.03em}header p{max-width:570px;margin:0;color:#b9c4cc;line-height:1.55}.camera-card{overflow:hidden;border:1px solid rgba(214,184,109,.38);border-radius:24px;background:#071c30d1;box-shadow:0 24px 70px #0000004d}.camera-stage{position:relative;overflow:hidden;width:100%;aspect-ratio:4 / 3;background:#020a11}.camera-stage video,.camera-stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.camera-stage canvas{pointer-events:none}.camera-placeholder{position:absolute;inset:0;display:grid;place-content:center;gap:10px;color:#71818e;text-align:center}.camera-icon{font-size:3rem;color:#d6b86d}.status-strip{position:absolute;z-index:2;right:12px;bottom:12px;left:12px;display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:#020a11c2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:.78rem}.status-strip strong{margin-left:auto;color:#d6b86d;font-variant-numeric:tabular-nums}.status-dot{width:8px;height:8px;border-radius:50%;background:#687681}.status-dot.running{background:#55c7a5;box-shadow:0 0 0 4px #55c7a526}.status-dot.error{background:#f18484}.controls{padding:18px}button{width:100%;min-height:52px;border:0;border-radius:14px;color:#17130c;background:#d9b45f;font-weight:800;cursor:pointer}button:hover{background:#edca73}button:disabled{cursor:wait;opacity:.65}button.secondary{color:#f6f0e8;background:#2b3d35}.error-message{margin:16px 18px 0;padding:12px 14px;border:1px solid rgba(241,132,132,.35);border-radius:12px;color:#ffd2d2;background:#73222b40}.privacy-note{margin:16px 0 0;color:#81909b;font-size:.8rem;text-align:center}.axis-harness{margin-top:20px;padding:20px;border:1px solid rgba(214,184,109,.25);border-radius:20px;background:#071c30b8}.debug-panel{margin-top:20px;padding:20px;border:1px solid rgba(85,199,165,.28);border-radius:20px;background:#071c30b8}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px}.debug-metric{padding:10px;border-radius:10px;background:#ffffff0d}.debug-metric span{display:block;color:#81909b;font-size:.7rem}.debug-metric strong{display:block;margin-top:4px;font-size:.9rem}.debug-cue{min-height:48px;margin:14px 0 0;padding:12px;border-radius:12px;background:#102d43}.debug-cue.active{color:#06182b;background:#d6b86d;font-weight:800}.axis-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}h2{margin:6px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.55rem;font-weight:500}select{min-height:42px;padding:0 12px;border:1px solid rgba(255,255,255,.15);border-radius:10px;color:#f8f2df;background:#0b2a42}.probe-steps{padding-left:22px;color:#b9c4cc;line-height:1.6}.axis-harness>button{margin:4px 0 16px}.axis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.axis-table{overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:12px}.axis-table h3{margin:0;padding:12px;color:#d6b86d;background:#ffffff0a;font-size:.82rem}table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}th,td{padding:9px 12px;border-top:1px solid rgba(255,255,255,.07);text-align:right}th:first-child{text-align:left}td{color:#dbe4e9}td.positive{color:#55c7a5}td.negative{color:#f1a484}.mirror-warning{margin:14px 0 0;color:#81909b;font-size:.78rem}@media(orientation:landscape)and (max-height:620px){.app-shell{width:min(100%,680px);padding-top:12px}header{display:none}}@media(max-width:620px){.axis-heading{align-items:stretch;flex-direction:column}.axis-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.page-loading{display:grid;place-content:center;min-height:60vh;color:#81909b}.nav-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;width:min(100%,1100px);margin:0 auto;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.nav-brand .eyebrow{font-size:.85rem}.nav-links{display:flex;gap:18px;margin-right:auto}.nav-links a{color:#b9c4cc;text-decoration:none;font-weight:600;font-size:.92rem;padding:6px 2px;border-bottom:2px solid transparent}.nav-links a.active{color:#f8f2df;border-bottom-color:#d6b86d}.nav-user{display:flex;align-items:center;gap:12px;font-size:.85rem;color:#b9c4cc}.nav-user-role{color:#81909b;text-transform:capitalize}.nav-logout{width:auto;min-height:38px;padding:0 16px}.auth-shell{display:grid;place-items:center;min-height:calc(100vh - 70px);padding:24px 20px}.auth-card{width:min(100%,420px);padding:28px 24px;border:1px solid rgba(214,184,109,.32);border-radius:24px;background:#071c30d1;box-shadow:0 24px 70px #0000004d}.auth-subtitle{margin:0 0 20px;color:#b9c4cc}.field{display:block;margin-bottom:16px}.field span{display:block;margin-bottom:6px;font-size:.85rem;color:#b9c4cc}.field input,.inline-form input[type=email],.inline-form input[type=search],.panel-heading-row input[type=search]{width:100%;min-height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.15);border-radius:10px;color:#f8f2df;background:#0b2a42}.field textarea{width:100%;min-height:104px;padding:12px 14px;border:1px solid rgba(255,255,255,.15);border-radius:10px;color:#f8f2df;background:#0b2a42;font:inherit;resize:vertical}.field small{display:block;margin-top:6px;color:#81909b;font-size:.75rem}.checkbox-field{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;color:#b9c4cc;font-size:.85rem;line-height:1.4}.checkbox-field input{width:auto;min-height:auto;margin-top:3px}.role-toggle{display:flex;gap:8px;margin-bottom:20px}.role-toggle button{min-height:44px;color:#b9c4cc;background:#0b2a42;border:1px solid rgba(255,255,255,.1)}.role-toggle button.active{color:#071729;background:#d6b86d;border-color:#d6b86d}.auth-switch{margin:16px 0 0;color:#81909b;font-size:.85rem;text-align:center}.auth-switch a{color:#d6b86d}.dashboard-shell,.platform-shell{width:min(100%,1100px);margin:0 auto;padding:24px 20px 40px}.dashboard-header{margin-bottom:24px}.dashboard-header h1{margin:8px 0 0}.panel{padding:20px;margin-bottom:20px;border:1px solid rgba(217,180,95,.22);border-radius:8px;background:#1c201bd6}.panel h2{margin:0 0 10px}.panel-hint{margin:0 0 14px;color:#81909b;font-size:.85rem}.panel-heading-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-heading-row h2{margin:0}.panel-heading-row input[type=search]{max-width:260px}.inline-form{display:flex;flex-wrap:wrap;gap:10px}.inline-form input{flex:1 1 240px}.inline-form button{width:auto;min-width:140px}.empty-state{margin:0;padding:16px;border:1px dashed rgba(255,255,255,.15);border-radius:12px;color:#81909b;font-size:.9rem}.client-list{list-style:none;margin:0;padding:0}.client-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:14px 4px;border-top:1px solid rgba(255,255,255,.07)}.client-row:first-child{border-top:0}.client-row strong{display:block}.client-email{display:block;margin-top:2px;color:#81909b;font-size:.82rem}.client-since{color:#81909b;font-size:.82rem}.today-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.today-card-cta{display:inline-block;margin-top:4px;color:#d6b86d;font-weight:700;text-decoration:none}.platform-hero,.client-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;align-items:stretch;margin:20px 0 22px}.hero-copy,.client-hero>div:first-child{min-height:360px;display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,5vw,48px);border:1px solid rgba(217,180,95,.24);border-radius:8px;background:linear-gradient(120deg,#1d57477a,#22241ee6),linear-gradient(45deg,rgba(217,180,95,.14),transparent 42%)}.hero-copy h1,.client-hero h1{max-width:780px;margin-bottom:14px;font-size:clamp(2.3rem,7vw,4.8rem);letter-spacing:0;line-height:.98}.hero-copy p,.client-hero p{max-width:680px;margin:0;color:#c8c2b8;font-size:1.05rem;line-height:1.6}.hero-card{padding:24px;border:1px solid rgba(217,180,95,.28);border-radius:8px;background:#f3eadc;color:#1c211c;box-shadow:0 24px 70px #00000040}.hero-card h2,.system-card h2,.feature-panel h2,.integration-panel h2{letter-spacing:0}.hero-card p{color:#5d594e;line-height:1.5}.system-number{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:32px;padding:0 10px;border:1px solid currentColor;border-radius:999px;color:#b57946;font-weight:900;font-size:.78rem}.before-after{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.before-after div{padding:14px;border-radius:8px;background:#1c201b14}.before-after span,.macro-tile span,.estimate-list span,.pipeline-row span,.exercise-card small{display:block;color:#80776b;font-size:.74rem;font-weight:800;text-transform:uppercase}.before-after strong{display:block;margin-top:6px;line-height:1.3}.system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.system-card{min-height:310px;padding:20px;border:1px solid rgba(217,180,95,.22);border-radius:8px;background:#1c201bd6}.system-card h2{margin:14px 0 12px}.system-card p{margin:16px 0 0;color:#c8c2b8;line-height:1.55}.before-after.compact{grid-template-columns:1fr;margin-top:0}.before-after.compact div{background:#ffffff0d}.integration-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(320px,1.15fr);gap:20px;align-items:start}.pipeline-list{display:grid;gap:10px}.pipeline-row{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;padding:14px;border-radius:8px;background:#ffffff0d}.pipeline-row span{text-transform:none;color:#c8c2b8;font-weight:600;line-height:1.35}.two-column-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px}.feature-panel{margin-bottom:18px}.pill{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;color:#1c211c;background:#91c7ac;font-size:.78rem;font-weight:900}.pill.warning{background:#eebd87}.macro-card{display:flex;flex-direction:column}.macro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto}.macro-tile{padding:14px;border-radius:8px;background:#1c201b14}.macro-tile strong{display:block;margin:5px 0 2px;font-size:1.2rem}.macro-tile small{color:#5d594e;font-size:.75rem}.exercise-stack{display:grid;gap:12px}.exercise-card{display:grid;grid-template-columns:128px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border-radius:8px;background:#ffffff0d}.exercise-card h3{margin:0 0 4px;font-size:1rem}.exercise-card p{margin:0 0 6px;color:#c8c2b8}.exercise-card strong{display:block;margin-bottom:6px}.exercise-card small{color:#d9b45f}.video-thumb{display:grid;place-items:center;aspect-ratio:16 / 10;border-radius:8px;color:#f6f0e8;background:linear-gradient(135deg,#91c7ac80,#d9b45f38),#26382f;font-weight:900;font-size:.78rem}.exercise-media{display:block;position:static;inset:auto;width:100%;aspect-ratio:16 / 10;border-radius:8px;object-fit:cover;transform:none;background:#26382f}.library-grid{display:grid;gap:12px;margin-top:16px}.library-card{display:grid;grid-template-columns:132px minmax(0,1fr) 88px;gap:12px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff0d}.library-card.selected{border-color:#d9b45fb3;background:#d9b45f14}.library-card h3,.program-card h3{margin:0 0 5px}.library-card p,.program-card p{margin:0 0 8px;color:#c8c2b8;line-height:1.45}.program-card small{display:block;margin-bottom:8px;color:#d9b45f;font-size:.78rem;font-weight:800}.library-card small{color:#d9b45f;font-size:.72rem;font-weight:900}.compact-button{min-height:40px;border-radius:8px}.builder-form{display:grid;gap:12px}.selected-summary{display:grid;gap:4px;padding:14px;border-radius:8px;background:#ffffff0d}.selected-summary span{color:#c8c2b8;font-size:.85rem}.success-message{margin:16px 0 0;padding:12px 14px;border:1px solid rgba(145,199,172,.35);border-radius:8px;color:#d8f6e8;background:#2e5b4d47}.program-list{display:grid;gap:12px;margin-top:16px}.program-card{padding:14px;border-radius:8px;background:#ffffff0d}.program-card .pill{margin-bottom:12px;text-transform:capitalize}.meal-estimator{display:grid;gap:14px}.meal-photo-frame{display:grid;place-items:center;min-height:220px;border:1px dashed rgba(217,180,95,.45);border-radius:8px;color:#d9b45f;background:linear-gradient(135deg,rgba(181,121,70,.16),transparent),#ffffff0a;font-weight:900}.estimate-list{display:grid;gap:8px}.estimate-list div{display:flex;justify-content:space-between;gap:12px;padding:12px;border-radius:8px;background:#ffffff0d}.estimate-list span{color:#c8c2b8}.insight-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}.insight-list li{min-height:92px;padding:14px;border-radius:8px;background:#ffffff0d;color:#c8c2b8;line-height:1.45}@media(max-width:900px){.today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-hero,.client-hero,.integration-panel,.two-column-layout{grid-template-columns:1fr}.system-grid,.insight-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.nav-bar{justify-content:center;text-align:center}.nav-links{margin-right:0;order:3;width:100%;justify-content:center}.today-grid,.system-grid,.insight-list{grid-template-columns:1fr}.hero-copy,.client-hero>div:first-child{min-height:0;padding:24px}.exercise-card,.library-card,.pipeline-row,.macro-grid,.nutrition-form,.calculator-grid,.calculator-exercise-entry{grid-template-columns:1fr}.panel-heading-row input[type=search]{max-width:none;width:100%}}:root{color:#17211c;background:#f7f8f2}body{background:linear-gradient(135deg,rgba(167,214,188,.42),transparent 30rem),linear-gradient(180deg,#fbfcf7,#f3f6ea 48%,#fff)}h1,h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:850}h1{letter-spacing:0}.eyebrow{color:#3f8f68;letter-spacing:.14em}button{color:#fff;background:#2f8f62;border-radius:10px}button:hover{background:#23784f}button.secondary{color:#1c3528;background:#e4efe3}.nav-bar{border-bottom-color:#214f361f}.nav-links a,.nav-user,.auth-subtitle,.panel-hint,.client-email,.client-since,.empty-state,.hero-copy p,.client-hero p,.system-card p,.exercise-card p,.library-card p,.program-card p,.pipeline-row span,.selected-summary span{color:#667266}.nav-links a.active{color:#193724;border-bottom-color:#3f8f68}.auth-card,.panel,.system-card{border-color:#2a6e4824;background:#ffffffe0;box-shadow:0 18px 45px #2c473014}.auth-card{border-radius:14px}.hero-copy,.client-hero>div:first-child{color:#12301e;border-color:#2a6e4829;background:linear-gradient(120deg,#c5e7d1eb,#ffffffeb),linear-gradient(45deg,rgba(251,207,122,.22),transparent 46%);box-shadow:0 18px 45px #2c473014}.hero-card{color:#12301e;border-color:#2a6e4829;background:#fff;box-shadow:0 18px 45px #2c473014}.hero-card p{color:#667266}.field input,.field textarea,.field select,.inline-form input[type=email],.inline-form input[type=search],.panel-heading-row input[type=search],select,.intake-field textarea{color:#17211c;background:#fff;border-color:#2a6e482e}.field span,.before-after span,.macro-tile span,.estimate-list span,.pipeline-row span,.exercise-card small{color:#607067}.role-toggle button{color:#1c3528;background:#e4efe3;border-color:#2a6e4824}.role-toggle button.active{color:#fff;background:#2f8f62;border-color:#2f8f62}.system-number{color:#2f8f62}.pill{color:#1c3528;background:#ccead7}.pill.warning{background:#ffe0a8}.before-after div,.macro-tile,.exercise-card,.library-card,.selected-summary,.program-card,.pipeline-row,.estimate-list div,.insight-list li{background:#f3f7ef}.library-card.selected{border-color:#2f8f629e;background:#eaf6ec}.meal-photo-frame{color:#2f8f62;border-color:#2f8f6252;background:#f3f7ef}.success-message,.invite-link-box{margin:16px 0 0;padding:12px 14px;border:1px solid rgba(47,143,98,.22);border-radius:8px;color:#1c5c3c;background:#eaf6ec}.invite-link-box span{display:block;margin-bottom:6px;color:#607067;font-size:.74rem;font-weight:800;text-transform:uppercase}.invite-link-box strong{display:block;overflow-wrap:anywhere;font-size:.85rem}.invite-note{margin-bottom:18px;padding:12px 14px;border-radius:8px;color:#1c5c3c;background:#eaf6ec;font-weight:800}.intake-panel{border-color:#2f8f6247;background:#fff}.intake-fields{display:grid;gap:12px;margin-bottom:16px}.intake-field{display:grid;gap:8px;padding:14px;border-radius:8px;background:#f3f7ef}.intake-field span{color:#26372d;font-weight:750;line-height:1.35}.intake-field textarea{min-height:88px;padding:12px;border:1px solid rgba(42,110,72,.18);border-radius:8px;font:inherit}.muted-section{opacity:.64}.portal-status-card small{display:block;margin-top:12px;color:#607067;line-height:1.35}.progress-line{overflow:hidden;height:10px;margin-top:18px;border-radius:999px;background:#e4efe3}.progress-line span{display:block;height:100%;border-radius:inherit;background:#2f8f62}.waiting-panel{text-align:left}.waiting-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.waiting-steps span{padding:14px;border-radius:8px;color:#1c5c3c;background:#eaf6ec;font-weight:800;text-align:center}.portal-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:6px;border:1px solid rgba(42,110,72,.14);border-radius:12px;background:#fff;box-shadow:0 18px 45px #2c473014}.portal-tabs button{min-height:44px;color:#1c3528;background:transparent;text-transform:capitalize}.portal-tabs button.active{color:#fff;background:#2f8f62}.completion-ring{display:grid;place-items:center;width:160px;height:160px;margin-top:18px;border:16px solid #ccead7;border-radius:50%}.completion-ring strong{font-size:2rem}.completion-ring span{color:#607067;font-weight:800}.social-grid{display:grid;gap:10px;margin-top:16px}.social-grid a{padding:14px;border-radius:8px;color:#1c5c3c;background:#eaf6ec;font-weight:900;text-decoration:none}.history-list,.nutrition-form{display:grid;gap:10px;margin-top:16px}.history-list div{display:grid;gap:4px;padding:12px;border:1px solid rgba(42,110,72,.12);border-radius:8px;background:#fbfefb}.history-list strong{color:#17211c}.history-list span{color:#607067;font-size:.9rem;font-weight:700}.nutrition-form{grid-template-columns:1.2fr repeat(4,minmax(86px,.55fr)) auto}.nutrition-form input{min-width:0;min-height:44px;padding:0 12px;border:1px solid rgba(42,110,72,.18);border-radius:8px;color:#17211c;background:#fff;font:inherit}.expenditure-calculator{display:grid;gap:14px;margin-top:14px}.calculator-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;border:1px solid rgba(42,110,72,.14);border-radius:8px;background:#f5faf5}.calculator-tabs button{min-height:40px;color:#607067;background:transparent}.calculator-tabs button.active{color:#fff;background:#2f8f62}.calculator-grid,.calculator-exercise-entry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.calculator-grid label,.calculator-exercise-entry label{display:grid;gap:6px}.calculator-grid span,.calculator-exercise-entry span{color:#46554b;font-size:.78rem;font-weight:900;text-transform:uppercase}.calculator-grid input,.calculator-grid select,.calculator-exercise-entry input,.calculator-exercise-entry select{width:100%;min-width:0;min-height:44px;padding:0 12px;border:1px solid rgba(42,110,72,.18);border-radius:8px;color:#17211c;background:#fff;font:inherit}.wide-field{grid-column:1 / -1}.calculator-activity-block,.exercise-entry-list{display:grid;gap:10px}.calculator-exercise-entry{align-items:end;padding:12px;border:1px solid rgba(42,110,72,.12);border-radius:8px;background:#fbfefb}.chat-placeholder{display:grid;gap:12px}.chat-placeholder p{margin:0;color:#667266}.chat-placeholder textarea{min-height:140px;padding:14px;border:1px solid rgba(42,110,72,.18);border-radius:10px;color:#17211c;background:#fff;font:inherit}
