@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito+Sans:wght@400;600;700;800&display=swap');
:root{--primary:#625ac6;--accent:#ffd08a;--ink:#353548;--muted:#77788b;--canvas:#fbfafc;--line:#EAE2D8;--lilac:#F3E3DA;--mint:#e0f1e9;--peach:#fff0dc;--blue:#e8f0fc;--danger:#a2384e;--font:'Nunito Sans',system-ui,sans-serif;--radius:22px;--shadow:0 6px 28px #34304d05;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--primary);text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #C9A08A;outline-offset:3px}input,textarea,select{color:var(--ink);background:#fff;border:1px solid #DFD6CB;border-radius:12px;min-height:46px;padding:10px 13px;width:100%}textarea{resize:vertical;min-height:90px}input[type=color]{padding:5px;height:46px}input[type=checkbox]{accent-color:var(--primary);width:20px;min-height:20px;height:20px}input[type=file]{padding:10px;font-size:14px}select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2377788b' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}label{font-size:14px;font-weight:500;display:block;margin-bottom:7px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--font);letter-spacing:-.035em;line-height:1.2}h1{font-size:36px;font-weight:800}h2{font-size:23px;font-weight:800}h3{font-size:18px;font-weight:800}p{color:var(--muted)}small,.small{font-size:13px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted)}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.brand-mark{width:52px;height:36px;color:var(--primary)}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font:800 22px var(--font);letter-spacing:-.04em;white-space:nowrap}.brand img{max-width:42px;max-height:42px;object-fit:contain}.sidebar .brand{flex-direction:column;gap:3px;font-size:23px;margin:20px 0 40px}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fff;border-right:1px solid var(--line);padding:20px 18px;display:flex;flex-direction:column;z-index:20}.nav-list{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:14px;padding:13px 15px;color:#656477;border-radius:14px;font-size:15px;font-weight:500}.nav-item:hover{background:#f8f7fd}.nav-item.active{background:var(--lilac);color:var(--primary);font-weight:700}.nav-item .nav-icon{display:grid;place-items:center;width:30px;height:30px}.nav-item.active .nav-icon{background:var(--primary);color:white;border-radius:10px}.nav-item .count{margin-left:auto}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.profile-row{display:flex;align-items:center;gap:10px;margin-top:18px;padding:8px;font-size:13px}.avatar{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--lilac);color:var(--primary);font:700 14px var(--font);flex-shrink:0}.avatar.large{width:64px;height:64px;font-size:23px}.lilac{background:var(--lilac)}.peach{background:var(--peach)}.mint{background:var(--mint)}.blue{background:var(--blue)}.app-main{margin-left:235px;min-height:100vh}.topbar{height:77px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);background:#ffffffa8}.topbar-left{display:flex;align-items:center;gap:12px;font-size:14px}.topbar-right{display:flex;align-items:center;gap:12px}.language-select{width:76px;font-size:13px;min-height:36px;padding:6px 27px 6px 10px;border-color:transparent;background-color:transparent}.demo-switch{background:#f2f0f8;border-radius:30px;padding:4px;display:flex;gap:3px}.demo-switch button{border:0;background:transparent;color:var(--muted);padding:7px 14px;font-size:13px;border-radius:30px;font-weight:500}.demo-switch button.active{background:#fff;color:var(--ink);box-shadow:0 2px 5px #2923420b}.demo-label{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:var(--muted)}.client-select{width:auto;max-width:180px;font-size:13px;min-height:36px;background-color:#fff}.page{padding:32px 38px 60px;max-width:1530px;margin:auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-header p{margin-top:8px;font-size:15px}.page-header .eyebrow{margin-bottom:8px}.btn{border:0;min-height:43px;padding:10px 19px;border-radius:24px;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.3;font-size:14px;font-weight:600;background:var(--primary);color:#fff;transition:transform .15s,filter .15s;text-decoration:none}.btn:hover{filter:brightness(.95);transform:translateY(-1px)}.btn.secondary{background:var(--lilac);color:var(--primary)}.btn.outline{background:transparent;border:1px solid #DDD3C7;color:var(--ink)}.btn.ghost{background:transparent;color:var(--primary);padding:8px 5px}.btn.danger{color:var(--danger);background:#fbe8ed}.btn.charcoal{background:#404052;color:white}.btn.large{min-height:54px;font-size:17px;padding:14px 26px}.btn.full{width:100%}.icon-btn{display:inline-grid;place-items:center;width:38px;height:38px;background:transparent;border:0;border-radius:12px;color:var(--muted);padding:0}.icon-btn:hover{background:var(--lilac);color:var(--primary)}.row{display:flex;align-items:center;gap:12px}.row.between{justify-content:space-between}.wrap{flex-wrap:wrap}.gap8{gap:8px}.stack{display:grid;gap:18px}.stack-sm{display:grid;gap:10px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);min-width:0}.card h2+.muted{margin-top:7px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}.stat-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin-bottom:26px}.stat-card{position:relative;border-radius:var(--radius);padding:26px;overflow:hidden;min-height:155px;display:flex;align-items:center}.stat-card .illustration{position:absolute;right:6px;bottom:-4px;width:48%;height:143px}.stat-card .stat-copy{position:relative;z-index:1}.stat-value{font:800 43px var(--font);letter-spacing:-.05em;line-height:1.05}.stat-label{margin-top:7px;font-size:14px;max-width:175px}.stat-card.lilac{background:var(--lilac)}.stat-card.peach{background:var(--peach)}.stat-card.mint{background:#ddf0e7}.stat-card.split{gap:24px}.stat-card.split>div+div{border-left:1px solid #bcd8ca;padding-left:24px}.stat-card.split .stat-value{font-size:34px}.pill{font-size:12px;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:20px;background:var(--lilac);color:var(--primary);line-height:1.2;font-weight:500;white-space:nowrap}.pill.mint{color:#326a55;background:var(--mint)}.pill.peach{color:#91632a;background:var(--peach)}.pill.danger{background:#fce9ee;color:var(--danger)}.count{font-size:11px;padding:3px 7px;background:var(--mint);border-radius:20px;line-height:1.2}.attention-row{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.attention-row:last-child{border:0;padding-bottom:0}.attention-row:first-of-type{padding-top:0}.attention-row .body{flex:1;min-width:0}.attention-row .body strong{font-size:14px}.attention-row .body p{font-size:13px;margin-top:3px}.attention-row .btn{font-size:12px;min-height:34px;padding:8px 13px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:var(--muted);font-size:12px;font-weight:500;padding:12px 10px;background:#f9f8fc}td{padding:16px 10px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td .muted{font-size:12px}.progress-track{height:5px;border-radius:20px;background:#F1EBE3;overflow:hidden;margin-top:7px;width:120px;max-width:100%}.progress-track span{display:block;height:100%;background:var(--primary);border-radius:20px}.schedule-item{display:flex;align-items:flex-start;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.schedule-item:last-child{border:0;padding-bottom:0}.schedule-item .time{font-size:13px;color:var(--muted);min-width:43px;padding-top:3px}.schedule-item .schedule-line{width:3px;min-height:65px;background:var(--lilac);border-radius:10px}.schedule-item strong{font-size:15px}.schedule-item p{font-size:12px;margin:3px 0 8px}.coach-banner{position:relative;overflow:hidden;border-radius:var(--radius);background:#414052;color:white;padding:23px;display:flex;align-items:center;gap:16px}.coach-banner:after{content:'';position:absolute;width:170px;height:150px;border-radius:48% 57% 43% 50%;background:#69637f;right:-85px;top:-95px;transform:rotate(30deg)}.coach-banner .icon{width:33px;height:33px;color:#EAD3C6}.coach-banner p{color:#DFD6CB;font-size:13px;margin-top:6px}.coach-banner h3{font-size:17px}.empty{padding:35px 20px;text-align:center;color:var(--muted)}.empty>.icon{width:36px;height:36px;color:#C9A08A;margin-bottom:12px}.empty h3{margin-bottom:7px;color:var(--ink)}.empty p{font-size:14px;max-width:360px;margin:0 auto 16px}.search-box{position:relative;max-width:360px;flex:1}.search-box .icon{position:absolute;left:12px;top:13px;color:var(--muted)}.search-box input{padding-left:42px;background:#f8f7fc;border:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:3px}.tabs button{border:0;white-space:nowrap;min-height:40px;padding:9px 17px;border-radius:24px;background:#F3ECE4;color:#77718d;font-size:14px}.tabs button.active{background:var(--primary);color:#fff}.tabs .pill{margin-left:6px}.client-card{display:block;transition:transform .15s,border-color .15s;color:var(--ink)}.client-card:hover{transform:translateY(-3px);border-color:#D9B8A6}.client-card h3{margin:17px 0 6px}.client-card .goal{font-size:14px;min-height:42px}.client-card .meta{border-top:1px solid var(--line);padding-top:17px;margin-top:20px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.field{margin-bottom:18px}.field:last-child{margin-bottom:0}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.helper{font-size:12px;color:var(--muted);margin-top:7px}.divider{height:1px;background:var(--line);margin:24px 0}.inline-check{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px}.note{border-radius:14px;background:var(--lilac);padding:14px 16px;color:#625b83;font-size:13px;display:flex;gap:10px;align-items:flex-start}.note.mint{background:var(--mint);color:#456e5e}.note.peach{background:var(--peach);color:#86623e}.note .icon{width:18px;height:18px}.switch-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px;gap:16px}.switch-row:last-child{border:0}.switch{position:relative;display:inline-block;width:44px;height:26px;flex-shrink:0}.switch input{opacity:0;position:absolute;width:100%;height:100%;margin:0}.switch span{position:absolute;inset:0;border-radius:30px;background:#DFD6CB;pointer-events:none;transition:.2s}.switch span:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 4px #0001;transition:.2s}.switch input:checked+span{background:var(--primary)}.switch input:checked+span:after{transform:translateX(18px)}.switch input:focus-visible+span{outline:3px solid #C9A08A;outline-offset:3px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.9fr);gap:32px}.preview-panel{position:sticky;top:24px;align-self:start;padding:26px;background:#f6f3f1;border-radius:26px}.mini-phone{background:#fff;border-radius:30px;padding:24px 19px;max-width:310px;margin:auto;box-shadow:0 6px 25px #42345907;overflow:hidden}.mini-phone .brand{font-size:17px;justify-content:center}.mini-phone .brand-mark{width:35px}.mini-phone h2{font-size:22px;margin:20px 0 6px}.mini-phone .hero{margin-top:20px;padding:18px;min-height:180px}.mini-phone .hero h2{font-size:21px;margin:10px 0}.mini-phone .hero .illustration{width:120px;right:-10px}.mini-phone .hero .btn{font-size:13px;position:relative;z-index:2}.mini-phone p{font-size:12px}.mini-phone .mini-row{padding:13px;margin-top:13px;border-radius:12px;font-size:12px}.client-app .app-main{margin-left:0}.client-app .topbar{max-width:none}.client-app .topbar .brand{font-size:19px}.client-app .topbar .brand-mark{width:36px}.client-nav{display:flex;gap:5px;margin-left:35px}.client-nav .nav-item{font-size:14px;padding:10px 17px;gap:8px}.client-nav .nav-item .nav-icon{width:24px;height:24px}.client-app .page{max-width:1100px}.client-header{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.client-header h1{font-size:34px}.client-header p{font-size:16px;margin-top:8px}.client-home-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:24px}.hero{background:var(--lilac);border:0;border-radius:23px;min-height:260px;padding:30px;position:relative;overflow:hidden}.hero .hero-copy{position:relative;z-index:1;max-width:70%}.hero .eyebrow{color:var(--primary)}.hero h2{font-size:29px;margin:12px 0 7px}.hero p{color:#68617f;font-size:14px}.hero .btn{margin-top:30px;background:#fff;color:#3c355c;min-width:170px}.hero .illustration{position:absolute;right:-5px;bottom:0;width:240px;height:230px}.hero:after{content:'';width:220px;height:200px;background:color-mix(in srgb,var(--primary) 28%,white);border-radius:50%;position:absolute;right:-75px;top:-70px}.quick-card{border-radius:20px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;min-height:164px;color:var(--ink);border:0;width:100%;text-align:left}.quick-card>.icon{margin-bottom:18px;width:25px;height:25px}.quick-card h3{font-size:19px;margin-bottom:5px}.quick-card p{font-size:13px;color:#686477}.quick-card .btn{margin-top:15px;min-height:33px;font-size:12px;background:#ffffffa1;color:var(--ink)}.week-strip{display:flex;justify-content:space-between;gap:6px;margin:0 0 24px}.day{background:transparent;border:1px solid var(--line);border-radius:13px;min-width:42px;flex:1;padding:10px 4px;text-align:center;color:var(--muted);font-size:12px}.day strong{display:block;font-size:18px;font-weight:600;color:var(--ink);margin-top:2px}.day.active{background:var(--mint);border-color:transparent}.day.selected{background:var(--primary);color:white}.day.selected strong{color:white}.date-line{font-size:13px;color:var(--muted);margin-bottom:13px}.workout-list{display:grid;gap:14px}.workout-card{display:flex;align-items:center;gap:16px;padding:18px 21px}.exercise-symbol{width:52px;height:52px;border-radius:15px;background:var(--lilac);color:var(--primary);display:grid;place-items:center;flex-shrink:0}.exercise-symbol.mint{background:var(--mint);color:#4a7d67}.exercise-symbol.peach{background:var(--peach);color:#9c7446}.exercise-symbol .icon{width:27px;height:27px}.workout-card .body{flex:1}.workout-card p{font-size:13px;margin-top:5px}.exercise-list .exercise-item{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.exercise-list .exercise-item:last-child{border:0}.exercise-item .body{flex:1;min-width:0}.exercise-item strong{font-size:15px}.exercise-item p{font-size:13px;margin-top:4px}.workout-preview{max-width:800px;margin:auto}.workout-preview .hero{min-height:180px;margin-bottom:20px}.workout-preview .hero .illustration{width:200px;height:190px}.player-mode{background:#faf7f2}.player-mode .app-main{margin:0}.player{width:100%;max-width:510px;margin:0 auto;min-height:100dvh;padding:24px 26px 32px;display:flex;flex-direction:column;position:relative}.player::before{content:'';position:fixed;top:-180px;right:-120px;border-radius:49% 51% 68% 32%;width:500px;height:430px;background:#f2ede5;z-index:-1;transform:rotate(-30deg)}.player-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:25px}.player-top strong{font:800 18px var(--font)}.player-top .btn{min-height:38px;font-size:13px}.player h1{font-size:29px;margin:16px 0 13px}.player-progress{height:5px;border-radius:10px;background:#E8E0D6;margin:9px 0 18px;overflow:hidden}.player-progress span{display:block;height:100%;background:var(--primary);border-radius:10px}.player .prescription{font-size:14px;color:#6b6679;margin:12px 0}.last-time{background:#F3E3DA;padding:12px 15px;border-radius:14px;display:flex;align-items:center;gap:9px;font-size:14px;margin:15px 0}.set-history{margin-bottom:20px;font-size:14px}.set-history th{background:transparent;font-size:12px;padding:7px 12px}.set-history td{padding:8px 12px;border:0}.set-history tr.current{background:var(--mint)}.set-history tr.current td:first-child{border-radius:9px 0 0 9px}.set-history tr.current td:last-child{border-radius:0 9px 9px 0}.steppers{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:13px 0}.stepper{background:#fff9;border:1px solid #E8E0D6;border-radius:18px;padding:17px 9px;text-align:center}.stepper label{margin:0 0 13px;font-size:13px;color:#625b70}.stepper-controls{display:flex;gap:4px;align-items:center;justify-content:center}.stepper input{font:800 34px var(--font);padding:0;width:74px;min-width:0;text-align:center;border:0;background:transparent;height:45px;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.stepper button{border:1px solid #E6DDD2;width:37px;height:37px;min-width:37px;border-radius:50%;background:white;color:var(--primary);font-size:25px;line-height:1}.player-footer{margin-top:auto;padding-top:23px}.player .saved{text-align:center;margin-top:13px;font-size:12px;color:#84808d}.player .effort{margin:12px 0 0}.player .effort select{min-height:38px;font-size:13px}.rest-content{text-align:center;flex:1;display:flex;flex-direction:column;justify-content:center;padding:20px 0}.rest-content h2{font-size:25px}.timer-number{font:800 93px var(--font);letter-spacing:-.04em;line-height:1.2;margin:15px 0 26px}.rest-progress{height:5px;width:80%;margin:0 auto 25px;background:#E2D9CF;border-radius:20px;overflow:hidden}.rest-progress span{height:100%;display:block;background:var(--primary)}.rest-content p{margin:25px 0}.up-next{background:var(--mint);border-radius:18px;padding:21px;display:flex;align-items:center;gap:16px;text-align:left;margin-top:30px}.up-next h3{margin:4px 0}.up-next p{margin:0;font-size:14px}.rest-content .btn{align-self:center}.completed-hero{text-align:center;padding:20px 0}.completed-hero .success-icon{width:85px;height:85px;border-radius:50%;background:var(--mint);margin:0 auto 22px;display:grid;place-items:center;color:#46785e}.completed-hero .success-icon .icon{width:40px;height:40px}.chart{width:100%;height:200px;overflow:visible}.chart text{font:12px 'DM Sans',sans-serif;fill:#8c879d}.chart .gridline{stroke:#F1EBE3;stroke-width:1}.progress-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:22px}.progress-summary .quick-card{min-height:110px;padding:23px}.progress-summary strong{font:800 32px var(--font);margin-bottom:3px}.chat-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:600px;border:1px solid var(--line);border-radius:22px;background:white;overflow:hidden}.conversation-list{border-right:1px solid var(--line);padding:14px}.conversation{display:flex;gap:10px;padding:14px 12px;border:0;border-radius:13px;align-items:center;text-align:left;background:transparent;width:100%;color:var(--ink)}.conversation.active{background:var(--lilac)}.conversation p{font-size:12px}.conversation strong{font-size:14px}.chat-panel{display:flex;flex-direction:column;min-width:0}.chat-heading{padding:18px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.messages{flex:1;padding:25px;display:flex;flex-direction:column;gap:15px;min-height:300px;max-height:520px;overflow:auto}.message{max-width:82%;align-self:flex-start}.message.own{align-self:flex-end}.message .bubble{background:#f4f2f9;border-radius:16px 16px 16px 3px;padding:14px 17px;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.message.own .bubble{background:var(--lilac);border-radius:16px 16px 3px 16px}.message time{display:block;color:var(--muted);font-size:11px;margin-top:5px}.message.own time{text-align:right}.chat-compose{padding:18px 24px;border-top:1px solid var(--line)}.chat-compose textarea{min-height:70px;font-size:14px;border-color:var(--line);background:#fdfcfe}.chat-compose .row{margin-top:12px}.attachment-link{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--primary);margin-top:8px;border:0;background:#fff9;padding:8px 12px;border-radius:10px}.builder-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px}.builder-library{align-self:start;position:sticky;top:20px}.library-list{max-height:650px;overflow-y:auto}.library-row{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.library-row .exercise-symbol{width:40px;height:40px}.library-row .body{flex:1;min-width:0}.library-row strong{font-size:13px;display:block}.library-row small{font-size:11px;color:var(--muted)}.library-row button{min-height:30px;font-size:12px;padding:6px 12px}.builder-exercise{padding:18px;border:1px solid var(--line);border-radius:16px;margin-bottom:13px}.builder-exercise h3{font-size:16px}.builder-inputs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:15px}.builder-inputs label{font-size:11px;margin:0 0 5px}.builder-inputs input{font-size:14px;min-height:36px;padding:7px 9px}.builder-exercise .alternative{font-size:12px;color:#527b66;background:var(--mint);border-radius:9px;margin-top:12px;padding:7px 10px;display:flex;align-items:center;gap:8px}.builder-exercise .alternative select{padding:3px 22px 3px 5px;min-height:29px;background-color:transparent;border:0;font-size:12px;flex:1;min-width:0}.builder-day-head{background:var(--lilac);padding:20px;border-radius:16px;margin:18px 0}.workout-list-toolbar{margin:18px 0}.slot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.slot{min-height:48px;border:1px solid var(--line);background:#fff;border-radius:14px;font-weight:500;color:var(--ink)}.slot.selected{background:var(--primary);color:#fff;border-color:var(--primary)}.slot:disabled{text-decoration:line-through;background:#f4f3f6;color:#B3A99E;opacity:.8}.booking-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:26px}.package-card{display:flex;flex-direction:column}.package-card .price{font:800 38px var(--font);margin:20px 0 8px;letter-spacing:-.05em}.package-card ul{padding-left:20px;color:var(--muted);font-size:14px;flex:1;line-height:2}.package-card .btn{margin-top:20px}.checkin-card .score-row{display:flex;gap:10px;margin:17px 0}.score{flex:1;padding:13px 10px;border-radius:13px;background:#f6f4fb;font-size:12px;text-align:center}.score strong{display:block;font:800 22px var(--font);margin-bottom:3px}.review-section{font-size:14px;margin-bottom:18px}.review-section p{margin-top:6px;color:var(--ink);white-space:pre-wrap}.error{background:#fff0f3;color:var(--danger);padding:12px 16px;border-radius:12px;font-size:14px;margin-bottom:16px}.success{background:var(--mint);color:#356a51;padding:12px 16px;border-radius:12px;font-size:14px}.file-preview{max-width:100%;max-height:65vh;border-radius:12px;display:block;margin:auto}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.photo-tile{background:#F3ECE4;border:0;border-radius:14px;padding:12px;display:flex;align-items:center;gap:10px;text-align:left}.photo-tile img{width:70px;height:80px;object-fit:cover;border-radius:8px}.step-list{display:grid;gap:13px}.step-list button{border:1px solid var(--line);background:white;color:var(--ink);padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:15px;text-align:left}.metric-number{font:800 37px var(--font)}.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.detail-stats>div{background:#f6f4fc;padding:16px;border-radius:15px;font-size:12px}.detail-stats strong{display:block;font:800 25px var(--font);margin-top:6px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.modal-head h2{font-size:25px}dialog{border:0;border-radius:25px;padding:28px;max-width:590px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;color:var(--ink);box-shadow:0 30px 100px #24203830}dialog::backdrop{background:#25223755;backdrop-filter:blur(4px)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.mobile-menu,.bottom-nav{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#39364e;color:white;border-radius:16px;padding:13px 22px;font-size:14px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 32px);box-shadow:0 8px 30px #35314922}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;font:800 28px var(--font);color:var(--primary)}.loading span{font:14px 'DM Sans',sans-serif;color:var(--muted);margin-top:10px}.preview-banner{font-size:11px;color:#9C9288;text-align:center;padding:17px 12px}.button-link{background:none;border:0;color:var(--primary);padding:0;font-size:inherit;text-align:left}.section-space{margin-top:24px}.mb20{margin-bottom:20px}.mb12{margin-bottom:12px}.mt20{margin-top:20px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.attachment-chip{font-size:12px;padding:6px 10px;border-radius:20px;background:var(--lilac)}
@media(min-width:1500px){.page{padding-top:40px}.stat-card{min-height:172px}.card{padding:28px}.page-header{margin-bottom:32px}}
@media(max-width:1150px){.sidebar{width:205px;padding:18px 12px}.sidebar .brand{font-size:21px}.app-main{margin-left:205px}.page{padding:28px 25px 50px}.topbar{padding:0 25px}.content-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:18px}.stat-card{padding:21px}.stat-card .illustration{width:43%;opacity:.75}.stat-value{font-size:36px}.stat-label{max-width:130px;font-size:13px}.client-nav{margin-left:15px}.client-nav .nav-item{padding:10px}.client-app .topbar-left .brand{font-size:16px}.client-app .topbar-left .brand-mark{width:28px}.builder-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr)}.card{padding:20px}.settings-grid{gap:20px}.topbar-right{gap:7px}.demo-label{display:none}}
@media(max-width:950px){.content-grid,.settings-grid,.builder-grid{grid-template-columns:1fr}.builder-library{position:static}.library-list{max-height:360px}.stat-grid{gap:12px}.stat-card{padding:20px;min-height:138px}.stat-card .illustration{display:none}.stat-card.split{gap:15px}.stat-card.split>div+div{padding-left:15px}.stat-card.split .stat-value{font-size:28px}.grid3{grid-template-columns:1fr 1fr}.client-nav{display:none}.client-app .page{padding-bottom:110px}.client-app .bottom-nav{display:flex}.preview-panel{position:static}.client-home-grid{grid-template-columns:1fr 1fr}.hero .illustration{width:180px;opacity:.8}.hero .hero-copy{max-width:85%}.chat-layout{grid-template-columns:200px 1fr}.booking-layout{grid-template-columns:1fr}.client-app .topbar .brand{font-size:20px}}
@media(max-width:720px){h1{font-size:28px}h2{font-size:21px}.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;box-shadow:5px 0 40px #0001}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-grid}.app-main{margin-left:0}.topbar{height:auto;min-height:67px;padding:12px 18px;flex-wrap:wrap;gap:10px}.topbar-left{gap:9px}.topbar-right{gap:5px;margin-left:auto}.topbar .breadcrumb{display:none}.demo-switch button{padding:7px 11px;font-size:12px}.language-select{width:64px}.client-select{max-width:115px;font-size:12px;min-height:32px}.page{padding:24px 19px 50px}.page-header{align-items:flex-start;margin-bottom:23px;gap:12px}.page-header p{font-size:13px}.page-header .btn{font-size:12px;padding:9px 13px;min-height:38px}.page-header h1{font-size:27px}.stat-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:20px;min-height:126px}.stat-card.split{grid-column:span 2;min-height:84px;justify-content:space-around;padding:14px}.stat-card.split .stat-copy{display:flex;align-items:center;gap:14px}.stat-card.split .stat-label{margin:0;max-width:none}.stat-card.split>div+div{border-left:1px solid #bcd8ca;padding-left:30px}.stat-value{font-size:34px}.stat-label{font-size:13px}.content-grid{gap:18px}.card{border-radius:20px;padding:21px 18px}.card-title{margin-bottom:18px}.attention-row{gap:10px}.attention-row .avatar{width:34px;height:34px;font-size:12px}.attention-row .body strong{font-size:13px}.attention-row .body p{font-size:12px}.attention-row .btn{font-size:11px;padding:7px 10px;min-height:32px}.grid2,.grid3,.settings-grid,.client-home-grid{grid-template-columns:1fr}.grid2.keep{grid-template-columns:1fr 1fr;gap:12px}.toolbar{flex-wrap:wrap;gap:12px}.toolbar .search-box{max-width:none;flex-basis:100%}.client-card .goal{min-height:0}.field-row{gap:13px}.builder-inputs{gap:7px}.builder-inputs input{padding:7px;font-size:13px}.builder-exercise{padding:15px 12px}.builder-exercise h3{font-size:14px}.builder-day-head{padding:16px}.builder-library{padding:19px 17px}.tabs button{padding:9px 15px;font-size:13px}.client-app .topbar{padding:12px 18px}.client-app .topbar .brand{font-size:18px}.client-app .topbar .brand-mark{width:31px}.client-app .topbar-left{width:100%;justify-content:center}.client-app .topbar-right{margin:auto;width:100%;justify-content:center}.client-header{margin-bottom:22px}.client-header h1{font-size:28px}.client-header p{font-size:14px}.client-app .page{padding:22px 20px 110px}.hero{min-height:255px;padding:24px}.hero h2{font-size:27px}.hero .hero-copy{max-width:70%}.hero .illustration{width:205px;opacity:1;right:-12px}.hero .btn{font-size:15px;min-width:155px;margin-top:27px}.quick-card{padding:21px;min-height:163px}.quick-card h3{font-size:17px}.quick-card p{font-size:12px}.quick-card>.icon{margin-bottom:14px}.client-home-grid>.stack{gap:18px}.week-strip{gap:5px}.day{min-width:35px;padding:8px 3px}.day strong{font-size:16px}.day{font-size:11px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #f1eef6;padding:9px 15px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;z-index:15}.bottom-nav .nav-item{flex-direction:column;gap:4px;padding:0;font-size:11px;background:transparent;min-width:55px;color:#8b859d}.bottom-nav .nav-icon{width:44px;height:34px;display:grid;place-items:center;border-radius:13px}.bottom-nav .nav-item.active{color:var(--primary)}.bottom-nav .nav-item.active .nav-icon{background:var(--primary);color:white}.bottom-nav .icon{width:21px;height:21px}.chat-layout{display:flex;flex-direction:column;min-height:550px}.conversation-list{display:flex;gap:5px;border-right:0;border-bottom:1px solid var(--line);overflow:auto;padding:10px}.conversation{padding:9px;min-width:max-content;width:auto}.conversation p{display:none}.conversation .avatar{width:30px;height:30px;font-size:11px}.conversation strong{font-size:12px}.chat-heading{padding:15px 17px}.messages{padding:18px;max-height:450px;min-height:280px}.message{max-width:92%}.message .bubble{font-size:13px;padding:13px}.chat-compose{padding:16px}.client-app .chat-layout{border:0;border-radius:0}.client-app .chat-heading{padding-left:0}.client-app .messages{padding:15px 0}.client-app .chat-compose{padding:15px 0}.workout-card{padding:16px;gap:12px}.workout-card h3{font-size:17px}.workout-card .btn{font-size:12px;padding:9px 13px}.workout-preview .hero{min-height:162px}.workout-preview .hero .illustration{width:165px;height:170px;right:-10px}.workout-preview .hero h2{font-size:25px}.player{padding:22px 20px 24px}.player h1{font-size:26px}.player-top{margin-bottom:18px}.player .player-footer{position:sticky;bottom:0;background:linear-gradient(transparent,#faf7f2 20%);padding-top:25px}.timer-number{font-size:86px}.rest-content{padding:10px 0}.photo-grid{grid-template-columns:1fr 1fr}.detail-stats{gap:8px}.detail-stats>div{padding:12px;font-size:11px}.detail-stats strong{font-size:23px}.preview-panel{padding:20px}.slot-grid{grid-template-columns:1fr 1fr}.preview-banner{font-size:10px}.topbar-right .icon-btn{width:30px}#toast{bottom:90px}.player-mode #toast{bottom:18px}.field label{font-size:13px}.modal-actions .btn{font-size:13px}dialog{padding:24px 20px}.modal-head h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:360px){.client-app .topbar{padding-left:10px;padding-right:10px}.client-app .topbar-right{gap:2px}.client-select{max-width:100px}.demo-switch button{padding:7px 8px}.language-select{width:56px}.topbar-right .icon-btn{width:26px}.brand{white-space:normal}.page-header{flex-wrap:wrap}.field-row{grid-template-columns:1fr}.hero .hero-copy{max-width:80%}.hero .illustration{opacity:.7}.stat-card.split{gap:10px}.stat-card.split>div+div{padding-left:10px}.stat-card.split .stat-copy{gap:8px}.card-title{flex-wrap:wrap}.player{padding-left:15px;padding-right:15px}.stepper-controls{gap:3px}.stepper-controls input{font-size:29px}}

/* The mobile drawer has a real dismissible backdrop and an accessible close control. */
.sidebar-close,.menu-backdrop{display:none}
@media(max-width:720px){
 body.menu-open{overflow:hidden}
 .sidebar{visibility:hidden;overflow-y:auto;overscroll-behavior:contain}
 .sidebar.open{visibility:visible}
 .sidebar-close{display:inline-grid;position:absolute;top:10px;right:10px;width:44px;height:44px;color:var(--ink)}
 .sidebar .brand{margin-top:42px}
 .menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:19;border:0;padding:0;background:#36334750;cursor:pointer}
}

/* Keep workout navigation reachable in every phase and on short phone screens. */
[hidden]{display:none!important}
.resume-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:var(--mint);border-radius:18px}
.resume-banner>div{min-width:0}.resume-banner p{font-size:13px;margin-top:4px}.resume-banner .btn{flex-shrink:0}
.player-top{position:sticky;top:0;z-index:5;background:#faf7f2;padding:10px 0;gap:9px;flex-shrink:0}
.player-top strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}
.player-top .player-exit{width:44px;height:44px;flex-shrink:0;color:var(--ink);border:1px solid #DDD3C7;border-radius:50%}
.player-top .btn{min-height:44px;max-width:140px;flex-shrink:0;padding:10px 12px}
.player-tools{gap:8px}.player-tools .btn{min-height:44px}
.player-footer .btn.ghost{min-height:44px;margin:0 8px}
.player-footer{padding-bottom:env(safe-area-inset-bottom)}
.pause-notice{text-align:center;font-size:13px;margin:0 0 10px;color:var(--ink)}
.player .effort select{min-height:44px;font-size:16px}
.player textarea{font-size:16px}
.player:has(input:focus,textarea:focus) .player-footer{position:static}
@media(max-width:950px){
 .client-app .bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:9px 15px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;z-index:15}
 .bottom-nav .nav-item{display:flex;flex-direction:column;gap:4px;padding:0;min-width:55px;min-height:48px;font-size:11px;background:transparent}
 .bottom-nav .nav-icon{width:44px;height:34px;display:grid;place-items:center;border-radius:13px}
 .client-app .page{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
 .modal-head .icon-btn{min-width:44px;height:44px}
 dialog{scroll-padding-block:18px;overscroll-behavior:contain}
 .field input,.field textarea,.field select,.chat-compose textarea{font-size:16px}
}
@media(max-width:480px){
 .resume-banner{align-items:flex-start;flex-direction:column;gap:12px}.resume-banner .btn{width:100%}
 .player-top{margin-top:-12px}.player-top .btn{font-size:12px;max-width:120px}
 .stepper-controls{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 .stepper-controls input{grid-column:1/-1;grid-row:1;width:100%;height:40px;font-size:34px}
 .stepper-controls button{width:44px;height:44px;min-width:44px;justify-self:center}
 .stepper label{margin-bottom:7px}.stepper{padding:13px 9px}
}
@media(max-height:600px){.player-top{margin-bottom:10px}.rest-content{padding:6px 0}.rest-content p{margin:12px 0}.timer-number{font-size:64px}.player .player-footer{padding-top:16px}}

.player h1:focus{outline:none}
.player[data-phase="rest"] .player-footer{position:static}
.rest-secondary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;text-align:center}
.rest-secondary .btn.ghost{margin:0;font-size:13px}
@media(max-height:780px){
 .player[data-phase="rest"] .rest-content{justify-content:flex-start;padding:8px 0}
 .player[data-phase="rest"] .timer-number{font-size:72px;line-height:1.1;margin:8px 0 16px}
 .player[data-phase="rest"] .rest-progress{margin-bottom:16px}
 .player[data-phase="rest"] #rest-status{margin:12px 0}
 .player[data-phase="rest"] .up-next{margin-top:10px;padding:14px 16px}
 .player[data-phase="rest"] .player-footer{padding-top:12px}
}

.sidebar{overflow-y:auto;overscroll-behavior:contain}
/* Account-based coaching and personal training */
.workspace-switch{display:flex;background:var(--surface,#f0edf6);border-radius:30px;padding:4px;gap:2px;white-space:nowrap}
.workspace-switch button{border:0;border-radius:26px;padding:10px 15px;color:var(--muted);background:transparent;font:inherit;font-size:14px;cursor:pointer;min-height:44px}
.workspace-switch button.active{background:white;color:var(--ink);box-shadow:0 2px 9px #28234909}
.save-status{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:150;background:#fff4da;border:1px solid #e4c684;border-radius:18px;padding:12px 18px;display:flex;gap:12px;align-items:center;box-shadow:0 8px 24px #332f4320;max-width:calc(100vw - 24px);font-size:14px}.save-status[hidden]{display:none}
.week-strip button.day{font-family:inherit;cursor:pointer;position:relative}.day-dot{width:5px;height:5px;border-radius:50%;background:transparent;display:block!important;margin:0 auto}.has-workout .day-dot{background:var(--primary)}
.attention-row .body{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){.workspace-switch button{padding:8px 10px;font-size:13px}.client-app .topbar{gap:10px}.client-app .topbar-right{justify-content:flex-end}.save-status{bottom:88px;flex-wrap:wrap;width:calc(100vw - 24px)}.player-mode .save-status{bottom:12px}.week-strip .day{padding:9px 3px;min-height:70px}.sidebar-foot{padding-top:12px}.sidebar-foot .profile-row{margin-top:10px}}
@media(max-width:720px){.client-app .topbar:not(:has(.workspace-switch)){flex-wrap:nowrap;min-height:72px;height:72px}.client-app .topbar:not(:has(.workspace-switch)) .topbar-left{width:auto;justify-content:flex-start}.client-app .topbar:not(:has(.workspace-switch)) .topbar-right{width:auto;margin:0}.topbar-right .icon-btn{width:44px;height:44px}.auth-card .note{margin-bottom:18px}}
/* Movement guides stay still until the user opens them. */
.movement-preview{width:100%;display:flex;align-items:center;gap:14px;text-align:left;border:1px solid var(--line);background:#F3ECE4;border-radius:20px;padding:9px 14px 9px 5px;color:var(--ink);margin:16px 0 5px;min-height:98px}
.movement-thumb{display:grid;place-items:center;width:112px;flex-shrink:0}.movement-thumb svg:not(.icon),.movement-thumb img{width:112px;height:80px}.movement-thumb img{object-fit:cover;border-radius:14px;background:linear-gradient(160deg,#F4EBDD,#E9DCC8)}.movement-preview-copy{display:grid;gap:5px;flex:1}.movement-preview-copy strong{font-size:14px}.movement-preview-copy>span{font-size:12px;color:var(--muted);line-height:1.5}.movement-play{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:36px;height:36px;background:white;color:var(--primary)}
.movement-modal{max-width:600px;width:calc(100vw - 32px)}.motion-stage{background:linear-gradient(160deg,#F4EBDD,#E9DCC8);border:1px solid #E2D4BF;border-radius:20px;overflow:hidden}.motion-stage svg{display:block;width:100%;max-height:290px}.motion-3d{position:relative;height:clamp(260px,72vw,380px)}.motion-3d canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab;opacity:0;transition:opacity .3s}.motion-3d.ready canvas{opacity:1}.motion-loading{position:absolute;inset:0;display:grid;place-items:center;margin:0;font-size:13px;color:var(--muted)}.motion-3d.ready .motion-loading{display:none}.motion-error{padding:24px;margin:0}.motion-phase{text-align:center;font-weight:600;color:var(--ink);font-size:14px;min-height:28px;margin:12px 0 9px}.motion-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}.motion-controls .btn{min-height:44px;min-width:145px}.motion-speed{display:flex;gap:10px;align-items:center;margin:0;font-size:13px}.motion-speed select{width:83px;min-height:44px}.motion-scrubber{margin:17px 0 0;font-size:12px;color:var(--muted)}.motion-scrubber input{display:block;width:100%;padding:0;border:0;height:32px;min-height:32px;accent-color:var(--primary);background:transparent}.motion-help{font-size:11px;line-height:1.5;margin-top:3px}.movement-instructions{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.movement-instructions>p{margin-top:9px;color:var(--ink)}.movement-instructions .helper{color:var(--muted);font-size:12px}.demo-rest-note{display:flex;align-items:center;gap:7px;margin-top:18px}.exercise-video{width:100%;max-height:330px;background:#272332;border-radius:18px;display:block}.coach-demo{margin-bottom:18px}.coach-demo>.helper{margin-top:10px}.coach-demo .error{margin-top:10px}.library-preview{border:0;cursor:pointer;min-width:44px;min-height:44px}
.movement-library{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.movement-card{display:flex;flex-direction:column;text-align:left;color:var(--ink);padding:16px;cursor:pointer;transition:border-color .15s,box-shadow .15s}.movement-card:hover{border-color:#D9B8A6;box-shadow:0 5px 20px #625ac60c}.movement-card-visual{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:360/230;background:linear-gradient(160deg,#F4EBDD,#E9DCC8);border-radius:15px;overflow:hidden;margin-bottom:15px}.movement-card-visual>svg:not(.icon),.movement-card-visual>img{width:100%;height:100%}.movement-card-visual>img{object-fit:cover}.movement-card-visual>.icon{width:45px;height:45px}.movement-card-visual>.movement-play{position:absolute;right:10px;bottom:10px}.movement-card-name{font-family:var(--font);font-weight:800;font-size:17px;line-height:1.3;display:block;margin-bottom:6px}.public-library-header{max-width:1300px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 34px;border-bottom:1px solid var(--line)}.public-library-main{max-width:1300px;margin:auto;padding:38px 34px 60px}
@media(max-width:1100px){.movement-library{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.movement-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-library-header{padding:20px;gap:12px}.public-library-header .brand{font-size:18px}.public-library-header .brand-mark{width:32px}.public-library-header .btn{font-size:12px;padding:9px 12px}.public-library-main{padding:27px 20px 40px}.movement-card{padding:10px;border-radius:19px}.movement-card-name{font-size:14px}.movement-card .small{font-size:11px}.movement-card-visual{margin-bottom:12px}.movement-card-visual>.movement-play{width:29px;height:29px;right:7px;bottom:7px}.movement-card-visual>.movement-play .icon{width:16px;height:16px}.movement-modal{padding:22px 18px}.motion-stage svg{max-height:225px}.movement-thumb{width:90px}.movement-thumb svg:not(.icon),.movement-thumb img{width:90px;height:70px}.movement-preview{gap:9px;min-height:88px;padding-right:10px}.movement-preview-copy strong{font-size:13px}.movement-preview-copy>span{font-size:11px}.movement-preview .movement-play{width:32px;height:32px}.motion-controls{gap:10px}.motion-speed{gap:6px}.motion-controls .btn{font-size:13px;min-width:137px}.movement-instructions{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.movement-card{transition:none}.movement-preview,.motion-controls button{transition:none}}
/* Holistic coaching */
.holistic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 32px}.pillar-card{position:relative;min-height:245px;padding:26px;border-radius:26px;overflow:hidden;color:var(--ink);display:flex;align-items:flex-start}.pillar-card h2{margin:12px 0 8px;font-size:25px}.pillar-card p{max-width:170px;position:relative;z-index:1}.pillar-card span{display:flex;align-items:center;gap:5px;margin-top:22px;font-weight:700;font-size:13px;position:relative;z-index:1}.pillar-art{position:absolute;right:-25px;bottom:-12px;width:170px;opacity:.8}.pillar-art .illustration{position:static;width:100%;height:auto}.wellness-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px}.well-date{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px}.well-date input{width:160px;min-height:44px}.nutrition-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.nutrition-numbers>div{background:var(--bg);padding:14px 10px;border-radius:14px}.nutrition-numbers span{display:block;color:var(--muted);font-size:12px}.nutrition-numbers strong{display:block;font-size:20px;margin-top:8px}.target-line{font-size:12px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:14px}.well-empty{display:flex;align-items:center;gap:20px;min-height:130px}.well-empty .illustration{position:static;width:135px;height:120px;flex-shrink:0}.well-empty p{max-width:310px}.meal-row{display:flex;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.meal-row:last-child{border-bottom:0}.meal-photo{width:90px;height:90px;object-fit:cover;border-radius:16px}.meal-row .body{flex:1;min-width:0}.meal-row h3,.meal-note{overflow-wrap:anywhere}.meal-actions{display:flex;flex-wrap:wrap;gap:4px;max-width:160px}.meal-actions .btn{padding:9px 12px;min-height:44px;font-size:12px}.well-big{font-size:42px;display:block;margin:20px 0}.well-big span{font-size:18px;font-weight:400}.recovery-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.recovery-metrics strong{display:block;font-size:22px}.recovery-metrics span{display:block;color:var(--muted);font-size:13px;margin-top:5px}.recovery-bars{display:flex;gap:5px;align-items:flex-end;margin-top:22px;overflow-x:auto}.recovery-bars>div{min-width:16px;text-align:center}.recovery-bars span{display:block;background:var(--primary);border-radius:4px;min-height:4px;width:15px;opacity:.65}.recovery-bars small{font-size:9px;color:var(--muted)}.routine-art .illustration{position:static;width:180px;height:150px}.routine-player{max-width:620px;margin:auto;text-align:center}.routine-player h1{font-size:30px}.routine-instructions{white-space:pre-line;margin:20px auto;max-width:420px;font-size:18px}.routine-clock{font-size:64px;font-weight:800;color:var(--primary);font-variant-numeric:tabular-nums;margin:22px}.center{justify-content:center}.import-preview{max-height:330px;overflow-y:auto;margin-bottom:20px}.client-nav .nav-item{padding:10px 12px}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.auth-intro .illustration{width:300px;max-width:100%;height:auto}.illustration{pointer-events:none}
@media(max-width:1100px){.holistic-grid{gap:12px}.pillar-card{padding:20px;min-height:245px}.pillar-art{width:135px}.wellness-layout{grid-template-columns:minmax(0,1fr) 280px}.nutrition-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.client-nav .nav-item{font-size:13px;padding:8px}.topbar{gap:12px}}
@media(max-width:720px){.holistic-grid{grid-template-columns:1fr;gap:12px}.pillar-card{min-height:154px;padding:20px}.pillar-card h2{font-size:23px;margin:6px 0}.pillar-card p{max-width:220px;font-size:13px}.pillar-card span{margin-top:12px}.pillar-art{right:0;width:145px;bottom:-8px}.pillar-card>div:first-child{max-width:67%;z-index:1}.pillar-card>div>.icon{display:none}.wellness-layout{grid-template-columns:1fr}.well-date{width:100%;justify-content:space-between}.well-date input{flex:1;max-width:220px}.nutrition-numbers strong{font-size:23px}.meal-row{flex-wrap:wrap}.meal-actions{max-width:none;width:100%;justify-content:flex-end}.meal-photo{width:75px;height:75px}.well-empty{gap:10px}.well-empty .illustration{width:110px}.bottom-nav .nav-item{font-size:10px;min-width:0;padding:8px 1px}.bottom-nav .nav-icon{width:40px;height:36px}.routine-player{padding:20px}.routine-clock{font-size:58px}.routine-art .illustration{height:125px}.auth-intro .illustration{max-height:190px}.client-header h1{font-size:30px}}
/* Live messages update their own panel without replacing the workout or composer. */
.chat-layout:not(:has(.conversation-list)){display:block}.chat-compose .body{min-width:0}.chat-compose #file-count{overflow-wrap:anywhere}.message time{font-size:.75rem;color:var(--muted)}.message .bubble{white-space:pre-wrap;overflow-wrap:anywhere}.chat-heading [data-chat-connection]{white-space:nowrap}.chat-panel{min-width:0}.chat-compose textarea{min-height:72px}details summary{cursor:pointer;min-height:44px;padding:10px 0}
@media(max-width:720px){.chat-compose .row{align-items:flex-start;flex-wrap:wrap}.chat-compose .btn{min-height:44px}.chat-compose [type=submit]{width:100%}.chat-layout .messages{height:45dvh;min-height:220px}.conversation-list{max-height:160px;overflow:auto}}

/* 1.0.3 lava: lighter clay blobs drift and join like a lava lamp (goo filter in src/ui.js). */
.lava{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}.lava g{fill:#C9845F;opacity:.5}
.lava circle{transform-box:fill-box;transform-origin:center;animation:lava-a 22s ease-in-out infinite alternate}
.lava-1{animation-duration:19s!important;animation-delay:-3s!important}.lava-2{animation-name:lava-b!important;animation-duration:23s!important;animation-delay:-8s!important}.lava-3{animation-name:lava-c!important;animation-duration:26s!important}.lava-4{animation-name:lava-b!important;animation-duration:21s!important;animation-delay:-5s!important}.lava-5{animation-duration:24s!important;animation-delay:-11s!important}.lava-6{animation-name:lava-c!important;animation-duration:17s!important;animation-delay:-2s!important}
@keyframes lava-a{50%{transform:translate(90px,-80px) scale(1.08)}to{transform:translate(160px,-200px) scale(.94)}}
@keyframes lava-b{50%{transform:translate(-80px,70px) scale(1.06)}to{transform:translate(-150px,170px) scale(.92)}}
@keyframes lava-c{50%{transform:translate(-60px,-90px) scale(1.1)}to{transform:translate(-110px,-230px) scale(.95)}}
.cream-mark{display:block;fill:#F1EAE1;overflow:visible}
/* 1.0.4 splash: the logo's halves float in as soft blobs and merge; the blob lands like a droplet while it sharpens into the logo, then the wordmark resolves. Plays once, about 4 s. */
.splash{position:fixed;inset:0;z-index:300;overflow:hidden;display:grid;place-items:center;background:radial-gradient(130% 95% at 50% 35%,#B8704E 0%,#AC6544 42%,#8E4F33 100%);color:#F1EAE1;font-family:var(--font,'DM Sans',system-ui,sans-serif)}
.splash-stage{position:relative;display:flex;flex-direction:column;align-items:center;gap:clamp(28px,4vw,40px)}
.splash-logo{position:relative;width:clamp(150px,15vw,190px);aspect-ratio:1}
.splash-goo{position:absolute;left:-50%;top:-50%;width:200%;height:200%;overflow:visible;fill:#F1EAE1;animation:splash-out .1s linear 2.8s both}
.splash-goo path,.splash-crisp path{transform-box:fill-box;transform-origin:center}
.splash-goo .half-l{animation:splash-half-l 1.6s cubic-bezier(.6,0,.25,1) both}.splash-goo .half-r{animation:splash-half-r 1.6s cubic-bezier(.6,0,.25,1) both}
.splash-drop{transform-box:fill-box;transform-origin:center;animation:splash-drop .9s ease-in-out 1.5s both}
@keyframes splash-drop{11%{transform:scale(1.1,.9)}44%{transform:scale(.95,1.06)}72%{transform:scale(1.03,.98)}to{transform:none}}
@keyframes splash-half-l{0%{transform:translate(-230px,190px) scale(2.1)}50%{transform:translate(-70px,-60px) scale(1.45)}to{transform:none}}
@keyframes splash-half-r{0%{transform:translate(250px,-210px) scale(1.8)}50%{transform:translate(90px,80px) scale(1.3)}to{transform:none}}
.splash-crisp{position:absolute;inset:0;width:100%;height:100%;animation:splash-in .15s linear 2.6s both}
.splash-crisp .half-l{animation:splash-breath-l 3.2s ease-in-out 3s infinite alternate}.splash-crisp .half-r{animation:splash-breath-r 3.2s ease-in-out 3s infinite alternate}
@keyframes splash-breath-l{to{transform:translate(-7px,4px)}}@keyframes splash-breath-r{to{transform:translate(7px,-4px)}}
.splash-word{font-weight:800;font-size:clamp(40px,7vw,72px);line-height:1;letter-spacing:-.03em;white-space:nowrap;animation:splash-word 1s cubic-bezier(.2,.7,.2,1) 2.3s both}
@keyframes splash-word{from{opacity:0;letter-spacing:.32em;filter:blur(8px);transform:translateY(6px)}}
.splash-bar{display:block;width:44px;height:2px;border-radius:2px;overflow:hidden;background:rgba(241,234,225,.22);animation:splash-in .6s linear 3.4s both}.splash-bar i{display:block;height:100%;background:rgba(241,234,225,.75);animation:splash-sweep 1.6s ease-in-out infinite}
@keyframes splash-sweep{from{transform:translateX(-100%)}to{transform:translateX(100%)}}@keyframes splash-in{from{opacity:0}}@keyframes splash-out{to{opacity:0}}
.splash.quick .splash-goo{display:none}.splash.quick .splash-crisp,.splash.quick .splash-word,.splash.quick .splash-bar{animation-delay:0s;animation-duration:.45s}
/* 1.0.3 sign-in: clay lava panel with the brand, email first. */
.auth-app{min-height:100dvh;background:var(--canvas)}
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(420px,600px) 1fr}
.auth-brand-panel{position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(130% 95% at 50% 35%,#B8704E 0%,#AC6544 42%,#8E4F33 100%);border-radius:0 40px 40px 0}
.auth-brand{position:relative;display:flex;flex-direction:column;align-items:center;gap:26px;color:#F1EAE1;font:800 56px/1 var(--font);letter-spacing:-.04em;white-space:nowrap}
.auth-brand .cream-mark{width:170px;height:170px;margin:-30px 0}.auth-brand img{width:120px;height:120px;object-fit:contain}
.auth-sheet{display:flex;flex-direction:column;justify-content:center;padding:48px clamp(40px,8vw,120px)}
.auth-form{width:min(400px,100%)}.auth-form h1{font-size:36px;font-weight:800;letter-spacing:-.035em;color:var(--ink)}
.auth-lead{margin:10px 0 28px;font-size:16px;line-height:1.55}.auth-lead strong{color:var(--ink)}
.auth-form label{font-size:14px;font-weight:600;margin-bottom:8px}.auth-form .field{margin-bottom:18px}
.auth-form input{height:54px;border-radius:16px;font-size:16px;border-color:#DCCFC2}
.input-icon{position:relative;margin-bottom:18px}.input-icon svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#8C847C;pointer-events:none}.input-icon input{padding-left:48px}
.auth-submit{width:100%;height:56px;border-radius:28px;background:var(--cta,#8E4F33);color:var(--on-cta,#fff);font-size:17px;box-shadow:0 10px 24px rgba(142,79,51,.25)}.auth-submit svg{width:20px;height:20px}
.auth-hint{display:flex;gap:8px;margin-top:18px;font-size:13px;line-height:1.5}.auth-hint svg{flex:none;width:16px;height:16px;margin-top:2px;color:#8C847C}
.auth-note{background:#F3E3DA;color:#6E3B25;padding:12px 16px;border-radius:14px;font-size:14px;line-height:1.5;margin:0 0 20px}
.auth-foot-wrap{width:min(400px,100%);border-top:1px solid #E8DED3;margin-top:32px;padding-top:22px}.auth-foot{font-size:14px}.auth-foot .button-link{font-weight:600;color:var(--cta,#8E4F33)}
.auth-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-size:14px}.auth-row .button-link{font-weight:600;color:var(--cta,#8E4F33)}.auth-row .button-link:disabled{color:var(--muted);font-weight:400;opacity:1}
.code-input{display:block;width:316px!important;max-width:100%;height:58px!important;border:0!important;border-radius:14px!important;margin-bottom:22px;padding:0 0 0 15.8px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='316' height='58'%3E%3Crect x='0.5' y='0.5' width='45' height='57' rx='13.5' fill='white' stroke='%23DCCFC2'/%3E%3Crect x='54.5' y='0.5' width='45' height='57' rx='13.5' fill='white' stroke='%23DCCFC2'/%3E%3Crect x='108.5' y='0.5' width='45' height='57' rx='13.5' fill='white' stroke='%23DCCFC2'/%3E%3Crect x='162.5' y='0.5' width='45' height='57' rx='13.5' fill='white' stroke='%23DCCFC2'/%3E%3Crect x='216.5' y='0.5' width='45' height='57' rx='13.5' fill='white' stroke='%23DCCFC2'/%3E%3Crect x='270.5' y='0.5' width='45' height='57' rx='13.5' fill='white' stroke='%23DCCFC2'/%3E%3C/svg%3E") no-repeat 0 0 transparent!important;font:700 24px/58px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;letter-spacing:39.6px;overflow:hidden;color:var(--ink)}
@media(max-width:720px){.auth-layout{display:block}.auth-brand-panel{height:330px;border-radius:0}.auth-brand{gap:16px;font-size:32px;margin-top:-24px}.auth-brand .cream-mark{width:110px;height:110px;margin:-18px 0}.auth-brand img{width:72px;height:72px}.auth-sheet{position:relative;margin-top:-34px;border-radius:32px 32px 0 0;background:var(--canvas);padding:34px 24px 28px;min-height:calc(100dvh - 296px);justify-content:flex-start}.auth-form,.auth-foot-wrap{width:100%}.auth-form h1{font-size:30px}.auth-foot-wrap{margin-top:auto;border:0;text-align:center}}
@media(prefers-reduced-motion:reduce){.splash *,.lava *{animation:none!important}.splash-goo{display:none}}
/* 1.0.5 Settings → App: one row per pillar with a colour picker and a live sample. */
.pillar-colors{display:grid;gap:4px}.pillar-color-row{display:grid;grid-template-columns:minmax(120px,1fr) 64px minmax(140px,1.2fr) 60px;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.pillar-color-row:last-child{border-bottom:0}
.pillar-color-name{display:flex;align-items:center;gap:10px;font-weight:600}.pillar-color-name i,.pillar-sample i{width:12px;height:12px;border-radius:50%;flex:none}
.pillar-color-row input[type=color]{width:64px;height:44px;padding:4px;border-radius:12px;cursor:pointer}
.pillar-sample{display:inline-flex;align-items:center;gap:8px;justify-self:start;padding:8px 14px;border-radius:999px;font-size:14px;font-weight:600}
.pillar-color-row .button-link{font-size:14px;font-weight:600;color:var(--cta,#8E4F33)}
@media(max-width:720px){.pillar-color-row{grid-template-columns:1fr 56px;gap:10px 12px}.pillar-sample{grid-column:1}.pillar-color-row .button-link{justify-self:end}}
.library-filter-row{display:flex;align-items:center;gap:12px}.library-filter-row select{flex:1;min-width:0;max-width:280px}.library-filter-row span{white-space:nowrap}
