@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{--bg:#f5f6f8;--ink:#20252d;--muted:#858b94;--line:#e9ebee;--lime:#d4ef91;--green:#769840;--radius:18px;font-family:'DM Sans','Noto Sans Thai',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9cc647;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0}h1,h2,h3,p{margin:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:35px 23px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:700;letter-spacing:-1.5px}.brand-dot{color:#89ac45;margin-left:-10px}.brand-mark{width:37px;height:37px;background:var(--lime);border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-size:31px;letter-spacing:-9px;padding-right:8px;font-weight:700;font-style:italic;color:#263318}.brand-mark span{transform:translateY(2px)}.sidebar-caption{font-size:9px;letter-spacing:1.8px;color:#a1a5ab;margin:51px 10px 16px;font-weight:600}.desktop-nav{display:flex;flex-direction:column;gap:7px}.nav-item{position:relative;display:flex;gap:12px;align-items:center;background:transparent;color:#878d96;padding:15px 13px;border-radius:10px;text-align:left;font-size:12px;font-weight:500}.nav-item.active{background:#edf4df;color:#364323;font-weight:600}.nav-item svg{width:19px;height:19px}.nav-active-dot{display:none;width:5px;height:5px;background:#6b893f;border-radius:50%;margin-left:auto}.active .nav-active-dot{display:block}.sidebar-bottom{margin-top:auto;padding-top:35px}.privacy-card{background:#f7f8f5;border:1px solid #edf0e8;border-radius:12px;padding:17px 13px}.privacy-card>[data-icon]{color:#849d5b;margin-bottom:10px}.privacy-card strong{display:block;font-size:11px}.privacy-card p{font-size:10px;color:#959b8d;line-height:1.9;margin:7px 0 13px}.local-badge{display:inline-flex;gap:6px;align-items:center;font-size:10px;color:#75884f}.local-badge i,.tag i{width:5px;height:5px;background:#7f9b4f;border-radius:50%}.subtle-button{display:flex;align-items:center;gap:10px;background:transparent;color:#8a9098;font-size:11px;margin:17px 8px}.subtle-button svg{width:16px;height:16px}.profile{border-top:1px solid var(--line);padding-top:21px;display:flex;gap:10px;align-items:center}.avatar,.mini-avatar{background:#eaece6;color:#687153;display:grid;place-items:center;border-radius:50%;font-weight:700}.avatar{width:35px;height:35px;font-size:10px}.profile strong{display:block;font-size:10px}.profile small{font-size:9px;color:#989da4}.workspace{margin-left:238px}.topbar{height:82px;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#ffffffa8}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:11px;color:#9298a1}.breadcrumb strong{color:#59616a;font-weight:500}.breadcrumb span{color:#d0d4d9}.topbar-right{display:flex;align-items:center;gap:20px}.date-display{font-size:11px;color:#838a93}.icon-button{position:relative;width:36px;height:36px;border-radius:9px;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:#737b85}.notification-dot{position:absolute;top:6px;right:9px;background:#a8c668;border-radius:50%;width:5px;height:5px;border:1px solid #fff}.mini-avatar{width:32px;height:32px;font-size:12px}.mobile-brand,.mobile-nav{display:none}main{max-width:1480px;margin:auto;padding:35px 40px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#9a9fa6;margin-bottom:10px}h1{font-size:27px;letter-spacing:-.8px;font-weight:600;line-height:1.5}.lime-dot{color:#93b951}.page-heading p{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.8}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;padding:12px 18px;font-size:11px;font-weight:600;min-height:43px;white-space:nowrap;transition:transform .15s,background .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button svg{width:16px;height:16px}.dark{background:#252b32;color:white}.dark:hover:not(:disabled){background:#3c444b}.lime{background:var(--lime);color:#29351c}.secondary{border:1px solid #e0e4e9;background:#fff;color:#525a63}.full{width:100%}.dashboard-top{display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:20px;margin-bottom:20px}.hero-card{border-radius:var(--radius);background:#e9f1dc;min-height:268px;position:relative;overflow:hidden;display:flex}.hero-copy{padding:26px 30px;position:relative;z-index:2;flex:1}.tag{display:inline-flex;gap:6px;align-items:center;background:#dae9c2;border-radius:5px;padding:5px 8px;color:#687c43;font-size:8px;letter-spacing:1px;font-weight:600}.hero-pretitle{font-size:11px;color:#70845a;margin-top:17px}.hero-copy h2{font-size:34px;letter-spacing:-1px;margin-top:2px;font-weight:600;line-height:1.25}.hero-copy h2 span{font-size:12px;font-weight:400;letter-spacing:0;margin-left:12px;color:#6e7c5f}.hero-copy p{color:#7a876d;font-size:10px;line-height:1.8;margin-top:9px}.hero-meta{display:flex;align-items:center;gap:14px;margin:15px 0 18px;color:#6d7b60;font-size:9px}.hero-meta>span{display:flex;align-items:center;gap:5px}.hero-meta svg{width:12px;height:12px}.hero-copy .button{padding:10px 16px;min-height:36px;font-size:10px}.hero-art{position:relative;width:42%;overflow:hidden;flex-shrink:0}.orbit{position:absolute;border:1px solid #c9d9b0;border-radius:50%;width:265px;height:265px;right:-15px;top:22px}.orbit-two{width:220px;height:220px;right:7px;top:43px}.art-label{position:absolute;top:33px;right:47px;font-size:28px;line-height:1.03;letter-spacing:-1.3px;font-weight:500;color:#687851;transform:rotate(-8deg)}.art-label strong{color:#354627;font-weight:700}.dumbbell-art{position:absolute;top:135px;right:22px;width:230px;height:90px;transform:rotate(-28deg);filter:drop-shadow(10px 16px 8px #6b795c30)}.bar{position:absolute;left:35px;right:35px;height:22px;top:32px;background:linear-gradient(#5b6551,#2f3929 60%,#49573f);border-radius:5px}.weight{position:absolute;z-index:2;border-radius:9px;background:linear-gradient(100deg,#536346 0%,#39452f 35%,#293524 70%,#536346);box-shadow:inset -3px -3px 5px #17211455,inset 2px 3px 3px #a4b78a55}.weight.inner{width:33px;height:90px;top:0}.weight.outer{width:24px;height:64px;top:13px}.weight.inner.left{left:29px}.weight.outer.left{left:9px}.weight.inner.right{right:29px}.weight.outer.right{right:9px}.art-star{position:absolute;right:30px;bottom:33px;font-size:34px;color:#81985b}.art-bottom{position:absolute;bottom:19px;left:10px;font-size:7px;color:#849372;letter-spacing:1.5px}.goal-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:23px 22px;text-align:center}.card-label{display:flex;justify-content:space-between;font-size:11px;font-weight:500}.card-label svg{width:16px;height:16px;color:#8c939e}.goal-ring{position:relative;width:133px;height:133px;margin:12px auto 6px}.goal-ring svg{width:100%;height:100%;transform:rotate(-90deg);stroke-width:9;stroke-linecap:round}.ring-track{stroke:#f0f3e9}.ring-value{stroke:#b9d87f;stroke-dasharray:370.7;stroke-dashoffset:370.7;transition:stroke-dashoffset .6s}.goal-ring>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.goal-ring strong{font-size:35px;letter-spacing:-1px}.goal-ring strong span{font-size:15px;color:#b0b5bd;font-weight:400;margin-left:3px}.goal-ring small{font-size:9px;color:#989fa8}.goal-card>p{font-size:10px;color:#8a9480}.week-dots{display:flex;justify-content:center;gap:10px;margin-top:15px}.week-dot{display:flex;flex-direction:column;gap:6px;align-items:center;color:#a2a8b0;font-size:8px}.week-dot i{width:7px;height:7px;border-radius:50%;background:#e9ecf0}.week-dot.done i{background:#adc967}.week-dot.today{color:#607e34}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:23px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:21px 21px 17px;position:relative}.stat-icon{position:absolute;right:16px;top:18px;width:30px;height:30px;border-radius:8px;background:#f4f6f0;color:#8f9e79}.stat-icon svg{width:16px;height:16px}.stat-name{font-size:10px;color:#8a919a;margin-bottom:11px;padding-right:24px}.stat-value{font-size:30px;font-weight:600;letter-spacing:-1px;line-height:1.2}.stat-value small{font-size:11px;color:#a1a7af;font-weight:400;letter-spacing:0;margin-left:7px}.stat-note{font-size:8px;display:inline-block;margin-top:12px;color:#99a08f}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(265px,1fr);gap:20px;margin-bottom:22px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.card-heading h3{font-size:13px;font-weight:600}.card-heading p{font-size:9px;line-height:1.8;color:#989ea7;margin-top:4px}.card-heading>[data-icon]{color:#9ba2ac}.period-label{display:flex;align-items:center;gap:9px;font-size:8px;white-space:nowrap;color:#8f969f;background:#fafbfc;border:1px solid #e9edf1;border-radius:6px;padding:7px 9px}.period-label svg{width:12px;height:12px}.chart-legend{display:flex;gap:15px;font-size:9px;color:#8b939d;align-items:center}.chart-legend span{display:flex;gap:5px;align-items:center}.chart-legend i{width:6px;height:6px;border-radius:50%}.chart-unit{margin-left:auto;font-size:8px}.chart{height:193px;margin-top:14px;position:relative}.chart svg{width:100%;height:100%;stroke-linecap:round}.chart-empty{position:absolute;inset:35px 0 25px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;font-size:11px;color:#98a18b}.chart-empty small{font-size:9px;color:#a9aeb5}.chart-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1f2f4;padding-top:13px;margin-top:5px}.chart-bottom>span{display:flex;gap:6px;align-items:center;font-size:8px;color:#a3aaa0}.chart-bottom i{width:4px;height:4px;background:#a5be78;border-radius:50%}.text-button{background:transparent;color:#666f5a;font-size:9px;display:inline-flex;align-items:center;gap:7px;padding:4px 0}.text-button svg{width:13px;height:13px}.muscle-bars{display:flex;flex-direction:column;gap:19px;padding-top:4px}.muscle-row>div:first-child{display:flex;justify-content:space-between;font-size:10px;margin-bottom:9px}.muscle-row small{font-size:9px;color:#a1a6ae}.bar-track{height:6px;background:#f1f3f5;border-radius:10px;overflow:hidden}.bar-fill{height:100%;border-radius:10px;transition:width .5s}.tip{margin-top:23px;padding:12px;background:#f7f9f2;border-radius:9px;display:flex;gap:9px;color:#899f68}.tip svg{width:16px;height:16px}.tip p{font-size:8px;color:#99a28d;line-height:1.8}.tip strong{display:block;font-size:9px;font-weight:500;color:#7e8f68;margin-bottom:3px}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(265px,1fr);gap:20px}.schedule-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.day-tile{background:#f9fafb;border:1px solid #f0f1f3;border-radius:9px;text-align:center;padding:10px 4px;min-width:0}.day-tile.today{background:#f0f5e6;border-color:#c4d9a3}.day-tile .day-name{font-size:8px;color:#989fa8}.day-tile strong{display:block;font-size:15px;font-weight:500;margin:7px 0}.day-tile .day-workout{font-size:7px;color:#99a18e;white-space:nowrap}.day-tile i{display:block;width:4px;height:4px;background:#c7d8a8;border-radius:50%;margin:8px auto 0}.day-tile.rest i{background:#dce0e6}.coach-card{background:#252c28;border-radius:var(--radius);padding:23px;position:relative;overflow:hidden;color:#fff}.tag.light{background:#ffffff12;color:#bdd29e;font-size:7px}.tag.light svg{width:11px;height:11px}.coach-card h3{font-size:20px;font-weight:500;line-height:1.5;margin-top:15px;position:relative;z-index:2}.coach-card p{font-size:9px;color:#9ca99d;line-height:1.9;margin:9px 0 11px;position:relative;z-index:2}.coach-card .text-button{color:#c6e398;position:relative;z-index:2}.coach-lines{position:absolute;width:120px;height:160px;right:5px;top:55px;transform:rotate(-8deg)}.coach-lines svg{width:100%;height:100%;stroke:#749061;stroke-width:1.3}.coach-lines circle{fill:#b9d68e;stroke:#b9d68e}footer{display:flex;justify-content:space-between;gap:15px;color:#b0b6bd;font-size:7px;letter-spacing:1.5px;padding:27px 0 23px}footer span{letter-spacing:0}
.training-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px;align-items:start}.camera-card{border-radius:18px;background:#252b30;overflow:hidden;color:white}.camera-top{display:flex;align-items:center;justify-content:space-between;padding:17px 20px}.camera-top>span:last-child{font-size:9px;color:#a8b4ba}.camera-viewport{position:relative;aspect-ratio:4/3;background:#1c2327;overflow:hidden}.camera-viewport video,.camera-viewport canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform:scaleX(-1)}#pose-canvas{pointer-events:none}#camera-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at center,#34423a,#20282b);padding:20px}.camera-placeholder-icon{color:#c9e69e;width:75px;height:75px;background:#ffffff05;border:1px solid #ffffff14;border-radius:20px;margin-bottom:19px}.camera-placeholder-icon svg{width:37px;height:37px}#camera-placeholder h3{font-size:21px;font-weight:500}#camera-placeholder p{font-size:11px;line-height:1.9;color:#a9b5af;margin:12px 0 20px}#demo-button{color:#9eafa0;margin-top:12px;font-size:10px}.rep-overlay{position:absolute;left:20px;top:20px;background:#141b21b8;backdrop-filter:blur(6px);border:1px solid #ffffff16;border-radius:12px;padding:12px 18px;pointer-events:none}.rep-overlay>span{font-size:8px;color:#b8c2be;letter-spacing:2px;display:block}.rep-overlay strong{font-size:40px;line-height:1.3;color:#d4ef91}.rep-overlay strong span{font-size:15px;color:#aab6ad;margin-left:5px;font-weight:400}.angle-overlay{position:absolute;right:15px;bottom:15px;font-size:10px;background:#141b21bf;padding:8px 12px;border-radius:6px;color:#bfcdc5}.demo-watermark{position:absolute;left:15px;bottom:15px;background:#f7d282;color:#594015;font-size:8px;padding:6px 8px;border-radius:5px}.feedback{display:flex;align-items:center;gap:12px;padding:19px 21px;min-height:82px;background:#2b3434}.feedback>[data-icon]{width:35px;height:35px;border-radius:50%;background:#ffffff0b;color:#b5c2b8}.feedback strong{font-size:13px;font-weight:500}.feedback p{font-size:10px;color:#aebbb1;margin-top:4px;line-height:1.7}.feedback.good{background:#2d3d2a}.feedback.good>[data-icon]{color:#c8e49c}.feedback.warning{background:#514532}.feedback.warning p{color:#e7d5b6}.feedback.warning>[data-icon]{color:#f0ca81}.feedback.complete{background:#d4ef91;color:#30401f}.feedback.complete p{color:#607b3e}.feedback.complete>[data-icon]{color:#4c6c29}.camera-actions{padding:15px 20px;display:flex;align-items:center;gap:9px}.camera-actions .button{background:#ffffff08;color:#d6dedb;border-color:#ffffff20;font-size:10px;min-height:36px;padding:7px 13px}.camera-actions>span{font-size:8px;color:#9aa69f;margin-left:auto}.training-controls{display:flex;flex-direction:column;gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#848c96;margin-bottom:16px}input[type=number],select{border:1px solid #e4e8ec;background:#fafbfc;color:#3f4955;border-radius:8px;padding:11px 12px;font-size:12px;width:100%;min-height:44px}select{cursor:pointer}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-field{font-size:10px;color:#828c95;display:flex;align-items:center;gap:7px;line-height:1.8}input[type=checkbox]{accent-color:#7a9e40;width:16px;height:16px}.volume-preview{display:flex;align-items:center;justify-content:space-between;background:#f3f7ea;padding:13px 12px;border-radius:9px;margin:17px 0}.volume-preview>span{font-size:9px;color:#91a074}.volume-preview strong{font-size:18px;color:#536d35}.volume-preview small{font-size:8px;font-weight:400}.manual-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:15px;font-size:9px;color:#959da5}.manual-controls>div{display:flex;align-items:center;gap:12px}.manual-controls strong{font-size:17px;color:#3d474d}.manual-controls .icon-button{background:#f3f5f7;font-size:20px;width:32px;height:32px}.control-note{font-size:8px;text-align:center;line-height:1.8;color:#9ba2ac;margin-top:9px}.instructions h3{font-size:15px;margin-top:14px}.instructions ol{padding-left:20px;margin:15px 0;font-size:10px;color:#879189;line-height:2.2}.safety-note{font-size:9px!important;line-height:1.9!important;color:#a59780!important;border-top:1px solid #eee;padding-top:12px}.reminder-banner{background:#eaf1dd;border:1px solid #dbe6c9;border-radius:15px;padding:23px;display:flex;gap:15px;align-items:center;margin-bottom:22px}.reminder-banner>[data-icon]{color:#799353}.reminder-banner strong{font-size:14px;font-weight:500}.reminder-banner p{font-size:10px;color:#8a9977;margin-top:5px}.reminder-banner .button{margin-left:auto}.schedule-editor{display:grid;grid-template-columns:repeat(7,1fr);gap:13px}.schedule-day{border:1px solid #edf0f2;border-radius:10px;background:#fafbfc;padding:14px 9px}.schedule-day.today{border-color:#bdd59b;background:#f3f7ea}.schedule-day strong{font-size:12px;display:block;margin-bottom:5px}.schedule-day small{display:block;color:#a1a8af;font-size:9px;margin-bottom:16px}.schedule-day select{font-size:10px;padding:9px 4px;background:#fff}.workout-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}.workout-detail{display:flex;gap:20px}.workout-letter{width:43px;height:43px;border-radius:11px;background:#e8eedc;color:#6d8347;font-size:22px;display:grid;place-items:center;flex-shrink:0}.workout-letter.b{background:#e9edf4;color:#6a7b9a}.workout-detail>div{flex:1}.workout-detail h3{font-size:18px}.workout-detail p{font-size:10px;color:#9aa2ab;margin-top:5px}.workout-detail ul{list-style:none;padding:0;font-size:11px;margin:22px 0;color:#737e88}.workout-detail li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #f0f2f5;padding:10px 0}.workout-detail li span{font-size:9px;color:#a1a8af}.disclaimer{font-size:10px;color:#9aa18e;line-height:1.9;margin-top:22px}.history-summary{display:flex;gap:20px;margin-bottom:22px}.history-summary>div{padding:19px 25px;background:#eef3e5;border-radius:13px;min-width:150px}.history-summary strong{font-size:24px;display:block}.history-summary span{font-size:9px;color:#8c9b76}#history-filter{width:auto;font-size:10px}.history-empty{padding:65px 20px;text-align:center;color:#949e8b}.history-empty [data-icon]{display:flex;margin:auto auto 15px;width:50px;height:50px;background:#f1f6e8;border-radius:15px}.history-empty h3{font-size:16px;font-weight:500}.history-empty p{font-size:11px;margin:10px 0 20px;color:#a2aab0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:11px}th{font-size:9px;color:#9aa2ad;font-weight:500;background:#fafbfc;padding:13px 12px}td{padding:18px 12px;border-bottom:1px solid #eef0f3;color:#65717a}td strong{color:#3d4850;font-weight:500}td small{display:block;font-size:8px;margin-top:4px;color:#a4abb3}.delete-set{color:#ad8b83;font-size:9px;background:transparent;padding:8px}.source-tag{font-size:8px;color:#899970;background:#f0f4e9;padding:4px 6px;border-radius:4px}
#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#252d28;color:#f0f6e6;border:1px solid #ffffff20;box-shadow:0 6px 30px #0002;padding:14px 22px;border-radius:12px;font-size:12px;max-width:90vw;z-index:100;line-height:1.8}dialog{border:1px solid #e2e9d7;border-radius:20px;max-width:440px;width:calc(100% - 32px);padding:30px;color:var(--ink);background:#fff}dialog::backdrop{background:#19251d88;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:15px;top:15px;font-size:24px}dialog h2{font-size:22px;margin:20px 0 10px}dialog>p{font-size:11px;color:#929d8a;line-height:1.9}.install-step{margin:20px 0;background:#f6f8f2;border-radius:10px;padding:15px}.install-step strong{font-size:13px}.install-step p{font-size:11px;color:#7f8c72;line-height:1.9;margin-top:5px}dialog .button{margin-top:18px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1550px){main{padding-top:45px}.hero-card{min-height:300px}.hero-copy{padding:32px 35px}.hero-copy h2{font-size:42px}.hero-art{width:40%}.art-label{font-size:35px;right:70px;top:40px}.dumbbell-art{right:45px;top:155px}.goal-ring{margin-top:23px;margin-bottom:13px}.chart{height:225px}}
@media(max-width:1200px){.sidebar{width:210px;padding:30px 18px}.workspace{margin-left:210px}main{padding:28px 25px 0}.topbar{padding:0 25px}.hero-copy{padding:24px}.hero-copy h2{font-size:29px}.hero-copy h2 span{display:block;margin-left:0;font-size:11px;margin-top:3px}.hero-art{width:36%}.art-label{right:20px;font-size:25px}.dumbbell-art{right:-25px;transform:rotate(-35deg) scale(.8)}.hero-meta{gap:8px;font-size:8px}.stats-grid{gap:12px}.stat-card{padding:19px 15px}.stat-name{font-size:9px}.analytics-grid,.bottom-grid{grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:16px}.card{padding:20px}.chart-legend{gap:10px}.period-label{font-size:7px;padding:6px}.chart-bottom>span{font-size:7px}.schedule-strip{gap:4px}.training-layout{grid-template-columns:minmax(0,1.3fr) 285px}.schedule-editor{gap:7px}.schedule-day{padding:13px 6px}.schedule-day strong{font-size:10px}}
@media(max-width:1000px){.sidebar{width:180px;padding:26px 14px}.brand{font-size:25px}.brand-mark{width:32px;height:32px;font-size:28px}.workspace{margin-left:180px}.nav-item{font-size:10px;padding:14px 10px;gap:8px}.sidebar-caption{font-size:8px;letter-spacing:1px}.privacy-card{padding:13px 10px}.profile small{font-size:8px}.topbar{height:70px}.page-heading h1{font-size:23px}.dashboard-top{grid-template-columns:minmax(0,2.4fr) 200px;gap:15px}.hero-copy{padding:22px 20px}.hero-art{width:29%}.art-label{font-size:21px;right:8px;top:43px}.dumbbell-art{right:-63px;top:135px;transform:rotate(-50deg) scale(.7)}.art-bottom{display:none}.hero-meta>span:last-child{display:none}.goal-card{padding:20px 15px}.stat-icon{width:25px;height:25px;right:10px;top:14px}.stat-value{font-size:26px}.stat-note{font-size:7px}.analytics-grid,.bottom-grid{grid-template-columns:1fr}.muscle-bars{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px}.tip{margin-top:20px}.coach-card{min-height:205px}.coach-lines{right:50px;top:23px;width:160px}.coach-card h3{font-size:23px}.training-layout{grid-template-columns:1fr}.training-controls{display:grid;grid-template-columns:1fr 1fr;align-items:start}.camera-viewport{aspect-ratio:4/3;max-height:600px}.schedule-editor{grid-template-columns:repeat(4,1fr)}.workout-cards{gap:15px}.workout-detail{gap:10px}.workout-detail li{font-size:9px;flex-wrap:wrap}.history-summary{gap:12px}.history-summary>div{min-width:0;flex:1;padding:16px}}
@media(max-width:720px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:68px;padding:0 20px;background:#fff}.breadcrumb,.date-display{display:none}.mobile-brand{display:flex;font-size:24px;gap:9px}.mobile-brand .brand-mark{width:31px;height:31px;border-radius:9px;font-size:26px}.topbar-right{gap:8px}.mini-avatar{width:29px;height:29px;font-size:10px}main{padding:25px 18px 90px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:22px}.eyebrow{font-size:7px;letter-spacing:1.7px;margin-bottom:8px}h1,.page-heading h1{font-size:22px;line-height:1.55}.page-heading p{font-size:10px;margin-top:5px}.page-heading>.button{font-size:9px;padding:9px 11px;min-height:35px;margin-top:23px}.page-heading>.button svg{width:12px;height:12px}.dashboard-top{grid-template-columns:1fr;gap:14px;margin-bottom:15px}.hero-card{min-height:265px}.hero-copy{padding:24px}.hero-copy h2{font-size:35px}.hero-copy h2 span{display:inline;margin-left:7px;font-size:10px}.hero-copy p{font-size:10px}.hero-art{width:32%}.art-label{font-size:24px;right:13px;top:38px}.dumbbell-art{right:-47px;top:137px;transform:rotate(-35deg) scale(.72)}.art-star{font-size:27px;right:18px;bottom:24px}.hero-meta{font-size:8px;margin:15px 0 18px;gap:10px}.goal-card{display:grid;grid-template-columns:1fr 90px;grid-template-rows:auto auto auto;padding:18px 23px;text-align:left;gap:3px 15px}.card-label{grid-column:1;justify-content:flex-start;gap:9px;align-items:center;font-size:12px}.goal-ring{grid-column:2;grid-row:1/4;width:86px;height:86px;margin:0;align-self:center}.goal-ring strong{font-size:25px}.goal-ring strong span{font-size:12px}.goal-ring small{font-size:7px}.goal-card>p{font-size:10px;margin-top:5px}.week-dots{justify-content:flex-start;margin-top:8px;gap:13px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.stat-card{padding:19px 19px 15px}.stat-icon{right:14px;top:14px;width:27px;height:27px}.stat-name{font-size:10px;margin-bottom:12px}.stat-value{font-size:29px}.stat-note{font-size:8px;margin-top:10px}.analytics-grid,.bottom-grid{gap:15px;margin-bottom:15px}.card{padding:20px;border-radius:15px}.card-heading h3{font-size:13px}.card-heading p{font-size:9px}.period-label{font-size:7px;gap:5px}.chart{height:185px}.chart-bottom>span{font-size:7px}.muscle-bars{gap:19px 22px}.tip strong{font-size:10px}.tip p{font-size:9px}.bottom-grid>.card{padding:20px 15px}.schedule-strip{gap:5px}.day-tile{padding:10px 2px}.day-tile strong{font-size:15px}.day-tile .day-workout{font-size:6.5px}.coach-card{padding:23px;min-height:220px}.coach-lines{right:25px;top:38px;width:135px}.coach-card h3{font-size:22px}.coach-card p{font-size:10px}footer{font-size:6px;display:block;text-align:center;line-height:2;padding:10px 0}footer span{display:block}.mobile-nav{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,1fr);background:#fffffff5;border-top:1px solid var(--line);padding:10px 10px calc(9px + env(safe-area-inset-bottom));z-index:40;backdrop-filter:blur(10px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;color:#9da3aa;font-size:9px;padding:4px 0}.mobile-nav button.active{color:#6b8f39}.mobile-nav button.active [data-icon]{background:#edf5df;border-radius:7px}.mobile-nav [data-icon]{width:35px;height:25px}.mobile-nav svg{width:19px;height:19px}.training-layout{gap:16px}.training-controls{display:flex;flex-direction:column}.training-controls>.card{width:100%}#page-train .page-heading{display:block}#page-train .local-badge{margin-top:11px;font-size:9px}.camera-viewport{aspect-ratio:3/4;max-height:none}.camera-top{padding:15px}.camera-top>span:last-child{font-size:8px}.rep-overlay{padding:10px 14px;left:12px;top:12px}.rep-overlay strong{font-size:34px}.feedback{padding:17px}.feedback strong{font-size:12px}.feedback p{font-size:10px}.camera-actions{padding:12px 15px}.camera-actions>span{font-size:7px}.angle-overlay{font-size:9px;padding:7px}.demo-watermark{font-size:7px;max-width:50%}.field{font-size:11px}.control-note{font-size:9px}.check-field{font-size:11px}.manual-controls{font-size:11px}.instructions ol{font-size:11px}.volume-preview>span{font-size:10px}.reminder-banner{padding:18px;gap:12px;flex-wrap:wrap}.reminder-banner strong{font-size:12px}.reminder-banner p{font-size:9px}.reminder-banner .button{margin-left:32px;min-height:34px;font-size:10px}.schedule-editor{grid-template-columns:repeat(2,1fr);gap:10px}.schedule-day{padding:14px}.schedule-day strong{font-size:12px}.schedule-day small{margin-bottom:10px}.schedule-day select{font-size:11px;padding:10px}.workout-cards{grid-template-columns:1fr;gap:15px;margin-top:15px}.workout-detail{gap:18px}.workout-detail li{font-size:11px}.history-summary>div{padding:14px 12px}.history-summary strong{font-size:22px}.history-summary span{font-size:8px}#page-history .page-heading{flex-wrap:wrap}#page-history .page-heading>.button{margin-top:0}#history-filter{max-width:138px;font-size:9px;padding:9px 6px}.history-empty{padding:45px 10px}.history-empty h3{font-size:15px}#toast{bottom:95px;font-size:11px;padding:12px 17px;min-width:240px}.safety-note{font-size:10px!important}dialog{padding:25px}dialog .install-step p{font-size:12px}}
@media(max-width:375px){main{padding-left:13px;padding-right:13px}.page-heading h1{font-size:20px}.page-heading>.button{padding:8px;font-size:8px}.hero-copy{padding:22px 19px}.hero-copy h2{font-size:31px}.hero-copy h2 span{display:block;margin-left:0}.hero-art{width:27%}.art-label{font-size:21px;right:5px}.stat-card{padding:17px 14px}.stat-name{font-size:9px}.period-label svg{display:none}.chart-legend{gap:9px}.card{padding:18px}.day-tile .day-workout{font-size:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
@media(max-width:720px){
  .hero-copy h2 span{display:block;margin:5px 0 0;font-size:11px}
  .hero-meta{margin-top:12px}
  input[type=number],select,.schedule-day select,#history-filter{font-size:16px}
  .field,.check-field{font-size:12px}
  .page-heading p,.hero-copy p,.feedback p,.camera-actions .button{font-size:11px}
  .hero-copy{min-width:0}
  .hero-card{min-height:285px}
  .mobile-nav button{min-height:44px}
  .manual-controls .icon-button{width:44px;height:44px}
}
.exercise-library{margin-bottom:22px}
.exercise-library .card-heading{margin-bottom:15px}
.library-selection{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;margin-top:20px}
.library-selection .field,.library-selection .exercise-support{margin-bottom:0}
.library-count{font-size:11px;color:#789246;background:#f1f6e8;border-radius:6px;padding:7px 10px;white-space:nowrap}
.category-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.category-picker button{min-height:58px;border:1px solid #e7ebdf;background:#fafcf6;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:10px;color:#7b8570}
.category-picker button.active{background:#e8f2d8;border-color:#b6cf90;color:#4b652f}
.category-picker button span{font-size:13px;font-weight:600}
.category-picker button small{font-size:9px;color:#95a182}
.library-note{font-size:10px;color:#98a28d;margin-top:12px;line-height:1.8}
.exercise-support{background:#f4f8ec;border:1px solid #e7efd8;padding:13px;border-radius:10px;margin-bottom:17px}
.exercise-support strong{display:block;font-size:12px;color:#738e43}
.exercise-support span{display:block;font-size:11px;color:#79846f;margin:7px 0}
.exercise-support p{font-size:10px;color:#93a084;line-height:1.9}
.exercise-support.manual{background:#faf6ed;border-color:#efe5cf}
.exercise-support.manual strong{color:#ac9567}
.chart-legend{flex-wrap:wrap;row-gap:8px}
@media(max-width:1000px){.category-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.category-picker button[data-category="cardio"]{grid-column:1/-1}}
@media(max-width:720px){
  .exercise-library{padding:17px;margin-bottom:16px}
  .exercise-library .card-heading{align-items:flex-start}
  .library-selection{grid-template-columns:1fr;gap:14px;margin-top:17px}
  .library-count{font-size:9px;padding:5px 7px}
  .category-picker{gap:8px}
  .category-picker button{min-height:56px;flex-direction:column;gap:3px}
  .category-picker button[data-category="cardio"]{flex-direction:row;gap:10px}
  .category-picker button span{font-size:13px}
  .category-picker button small{font-size:10px}
  .exercise-support p,.library-note{font-size:11px}
  .exercise-support span{font-size:12px}
  .library-note{margin-top:10px}
  #exercise-select{white-space:normal;max-width:100%}
  .chart-legend .chart-unit{margin-left:0}
}
.brand{flex-direction:column;align-items:flex-start;gap:6px;letter-spacing:0;min-width:0}
.brand-logo{display:block;width:190px;max-width:100%;height:auto;object-fit:contain}
.brand-name{font-size:13px;font-weight:600;line-height:1.4;letter-spacing:0;color:#354038}
.sidebar-caption{margin-top:32px}
.install-logo{display:block;width:270px;max-width:100%;height:auto;margin:0 0 18px}
@media(min-width:721px) and (max-width:1000px){
  .sidebar .brand-logo{width:152px}
  .sidebar .brand-name{font-size:11px}
}
@media(max-width:720px){
  .topbar{height:86px;gap:12px}
  .mobile-brand{gap:3px;flex-shrink:1}
  .mobile-brand .brand-logo{width:172px}
  .mobile-brand .brand-name{font-size:11px}
  .topbar-right{flex-shrink:0}
}
