/* V3: decisive hierarchy, visible evidence and a thumb-friendly client experience. */
:root{--ink:#192337;--line:#e3e8f0;--muted:#5c6b80;--lime:#d9ff95}html{scroll-padding-top:24px}body{font-size:16px}.page{max-width:1480px}.btn,.btn.small{min-height:44px}.eyebrow{letter-spacing:.12em}.client-dock{display:none}.notice[hidden]{display:none}.notice.warning{border-left:3px solid #ce861f}#storage-status{position:sticky;top:8px;z-index:20;background:#fff2d7}.footer-note{line-height:1.8}.next-action{display:flex;align-items:center;gap:14px;background:#eaf0ff;border:1px solid #d8e2ff;padding:16px 20px;border-radius:14px;margin:0 0 20px;color:var(--ink)}.next-action>div{flex:1;min-width:0}.next-action strong{font-size:15px}.next-action p{font-size:13px;color:#4a5e7c;margin:5px 0 0;line-height:1.5}.action-symbol{width:37px;height:37px;display:grid;place-items:center;background:white;border-radius:10px;flex-shrink:0;color:#3658eb}.next-action>svg{flex-shrink:0}.workout-hero{min-height:355px}.workout-hero-content{padding:32px}.workout-hero h2{font-size:clamp(32px,3vw,48px);line-height:1.07}.workout-hero .hero-facts{margin:22px 0}.goal-focus .progress-ring{width:140px;height:140px}.goal-focus>small{font-size:12px}.poster-label{opacity:.8}.three-stats>div>b>small{font-size:13px}.command-hero{display:grid;grid-template-columns:1.35fr 1fr;align-items:center;background:#161f30;color:white;padding:34px 40px;border-radius:22px;margin-bottom:22px;overflow:hidden;position:relative}.command-hero .eyebrow{color:#cbeba4}.command-hero h2{font-size:clamp(29px,3vw,44px);line-height:1.15;letter-spacing:-1.4px;max-width:610px;margin:12px 0}.command-hero p{max-width:580px;color:#bcc8da;line-height:1.7;font-size:15px;margin:0 0 24px}.command-orbit{height:210px;position:relative;display:flex;align-items:center;justify-content:center}.command-orbit>i{position:absolute;width:195px;height:195px;border:1px solid #88a7d638;border-radius:50%;transform:rotateX(60deg) rotate(-28deg);box-shadow:0 0 45px #4569ec12}.command-orbit>i:nth-child(2){transform:rotateY(65deg) rotate(32deg);width:230px;height:230px}.command-orbit>span{border:1px solid #758baf55;border-radius:24px;background:linear-gradient(135deg,#2e4667,#172337);width:96px;height:96px;display:grid;place-items:center;transform:rotate(-8deg);box-shadow:0 10px 60px #769cff25;animation:quiet-float 6s ease-in-out infinite}.command-orbit>span svg{width:43px;height:43px;color:#ddffae}.command-orbit>b{font-size:9px;letter-spacing:.18em;color:#9badc9;position:absolute;bottom:0}.coach-metric-grid{gap:14px}.coach-metric-grid a{padding:19px 21px}.coach-metric-grid b{font-size:29px}.coach-metric-grid small{font-size:12px}.signal-row.priority-0{background:#fff8ee;border-left:3px solid #da8d24}.signal-row.priority-0 .signal-type{color:#8f5a15;background:#ffedcf}.signal-type{font-size:11px;background:#eef2fa;color:#4c5f80;padding:6px 9px;border-radius:6px}.signal-row>svg{flex-shrink:0;color:#7b8ba1}.signal-row strong{font-size:16px}.signal-row p{font-size:13px}.studio-promo.compact{height:250px;min-height:250px}.studio-promo.compact h2{font-size:28px}.studio-promo.compact>div{padding:25px}.preview-link{display:flex;align-items:center;justify-content:space-between;padding:20px;border:1px solid var(--line);border-radius:14px;background:white;font-size:14px;color:#3658eb}.brief-evidence{display:grid;gap:10px;margin:22px 0}.brief-evidence a{display:grid;gap:8px;background:#f3f6fb;border:1px solid #e6ebf3;border-radius:12px;padding:16px}.brief-evidence small{color:#61728b;font-size:12px}.brief-evidence strong{font-size:14px;line-height:1.5}.brief-evidence span{font-size:12px;color:#3658eb}.client-brief-strip{margin:24px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;background:#eaf0ff;border-radius:14px;padding:18px 22px}.client-brief-strip>span{display:flex;gap:12px;align-items:center;font-size:15px}.nutrition-single-source{padding:18px 0;border-top:1px solid var(--line);margin-top:22px}.nutrition-single-source p{font-size:13px;line-height:1.6;color:var(--muted);margin:7px 0 16px}.nutrition-numbers{display:flex!important}.nutrition-summary{flex-wrap:wrap}.nutrition-numbers b{font-size:27px}.nutrition-numbers small{font-size:12px}.metric-explainer{font-size:13px;line-height:1.7}.weekly-story{padding:27px 30px;border-radius:20px;background:#182c2d;color:white;display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 24px}.weekly-story .eyebrow{color:#bbdbb5}.weekly-story h2{font-size:28px;letter-spacing:-.8px;margin:10px 0}.weekly-story p{font-size:14px;line-height:1.7;color:#c0d1cd;max-width:660px}.measurement-panel{margin:20px 0;overflow:hidden}.measurement-chart{display:block;width:100%;height:185px;margin:12px 0}.measurement-chart text{font-size:12px;fill:#3658eb;font-weight:650}.measurement-records{padding:0 24px 20px;display:grid;gap:8px}.measurement-records>div{display:flex;gap:16px;align-items:center;border-top:1px solid #edf0f6;padding-top:12px;font-size:13px}.measurement-records small{margin-left:auto;color:var(--muted)}.milestone-card>div>small{font-size:12px}.milestone-card p{font-size:13px}.previous-performance{padding:17px 23px;background:#eef5f1;border-bottom:1px solid #dce9e1;margin-bottom:16px}.previous-performance>span{font-size:10px;letter-spacing:.08em;font-weight:750;color:#40725b}.previous-performance p{font-size:14px;color:#234b3b;line-height:1.6;margin:7px 0 4px}.previous-performance small{font-size:12px;color:#527461}.movement-stage{min-height:400px}.movement-placeholder h2{font-size:32px}.movement-placeholder>p{font-size:16px;max-width:460px;line-height:1.8}.movement-placeholder>small{font-size:12px;color:#a5b2c7;line-height:1.6;max-width:330px}.movement-targets{display:flex;justify-content:center;gap:30px;margin:15px 0 22px}.movement-targets>span{display:grid;gap:8px;color:#a5b2c7;font-size:10px;letter-spacing:.1em}.movement-targets b{font-size:25px;color:#e0ffb3;letter-spacing:0}.movement-stage .media-mount img{object-fit:contain;background:#eff0ef}.set-row input{min-height:44px}.set-save{min-width:44px;min-height:44px}.set-hint{font-size:13px;line-height:1.7}.set-row .text-link{min-height:40px;font-size:12px}.set-under span{font-size:12px}.session-bottom{position:sticky;bottom:12px;padding:17px 22px;background:#172235f5;color:#d7e2f2;border:1px solid #7489a633;border-radius:14px;backdrop-filter:blur(12px);box-shadow:0 8px 35px #1320351c;z-index:10}.session-bottom p{font-size:13px;color:#bccbde;max-width:430px}.session-bottom .btn.primary{background:var(--lime);color:#192c18;border-color:var(--lime)}.session-evidence{padding:22px}.session-evidence p{font-size:13px}.stage-cue{position:relative}.media-card.sample-media>img{object-position:center}.media-mount{background:#edf0f3}.nutrition-editor legend{font-weight:650}.food-plan-card{transition:border-color .2s,transform .2s}.food-plan-card:focus-within{border-color:#7995eb}.rest-dock b{font-variant-numeric:tabular-nums}.session-progress{height:5px}.session-progress span{transition:width .3s}.btn:hover{transform:translateY(-1px)}.btn:disabled:hover{transform:none}.set-table-head{font-size:12px}.set-row{grid-template-columns:30px 1fr 1fr 1fr 44px}.set-table-head{grid-template-columns:30px 1fr 1fr 1fr 44px}@keyframes quiet-float{50%{transform:translateY(-6px) rotate(-3deg)}}
@media(max-width:1100px){.coach-home-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}.command-hero{grid-template-columns:1.5fr 1fr;padding:30px}.command-orbit{transform:scale(.9)}.session-bottom{flex-wrap:wrap}.nutrition-numbers{margin-left:0}}
@media(max-width:760px){
 .client-mode .sidebar{padding:13px 18px}.client-mode .sidebar .nav,.client-mode .sidebar .side-bottom{display:none}.client-mode .brand{margin:0;font-size:22px}.client-mode .sidebar .mode{display:none}.client-mode .topbar{min-height:52px;padding:8px 16px}.client-mode .page{padding:22px 17px 112px}.client-mode .breadcrumb{font-size:11px}.client-mode .view-switch a{font-size:11px;padding:8px 11px}.client-mode .client-dock{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:30;min-height:70px;padding:6px 8px max(8px,env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(18px);border-top:1px solid #dce3ee;box-shadow:0 -4px 20px #1b2c4510}.client-dock a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border-radius:12px;font-size:11px;color:#64738b;min-height:55px}.client-dock a[aria-current]{color:#3155dc;background:#edf2ff;font-weight:750}.client-dock svg{width:20px;height:20px}.client-mode .experience-heading{margin-bottom:18px}.experience-heading h1{font-size:28px;letter-spacing:-1px}.experience-heading p{font-size:14px}.client-mode .experience-heading .client-selector{display:none}.next-action{gap:10px;padding:13px 14px;margin-bottom:16px}.next-action strong{font-size:14px}.next-action p{font-size:12px}.next-action .action-symbol{display:none}.workout-hero{min-height:310px}.workout-hero-content{padding:25px}.workout-hero h2{font-size:37px}.workout-hero-content>p{font-size:14px;max-width:240px}.workout-hero .hero-facts{font-size:11px;margin:17px 0}.workout-hero .poster-label{font-size:10px}.goal-focus .progress-ring{width:97px;height:97px}.goal-focus{padding:20px}.goal-focus small{font-size:11px}.goal-focus h3{font-size:20px}.three-stats{margin:17px 0}.three-stats>div{padding:17px 13px}.three-stats>div>b>small{font-size:11px}.command-hero{grid-template-columns:1fr;padding:26px;border-radius:18px}.command-orbit{display:none}.command-hero h2{font-size:31px}.command-hero p{font-size:14px}.coach-home-grid{grid-template-columns:1fr}.coach-metric-grid{gap:10px}.coach-metric-grid a{padding:16px}.coach-metric-grid span{font-size:12px}.coach-metric-grid b{font-size:28px;margin:6px 0}.coach-metric-grid small{font-size:11px}.signal-row{padding:17px 16px;gap:12px}.signal-row strong{font-size:15px}.signal-row p{font-size:12px}.signal-row .avatar{width:34px;height:34px;flex-shrink:0}.signal-type{display:none}.weekly-story{flex-direction:column;align-items:flex-start;padding:23px}.weekly-story h2{font-size:27px}.weekly-story p{font-size:13px}.measurement-records{padding:0 20px 20px}.measurement-records>div{flex-wrap:wrap;font-size:12px;gap:10px}.measurement-records small{font-size:11px;margin-left:0}.milestone-card>div>small{font-size:11px}.nutrition-summary{display:grid;grid-template-columns:85px 1fr;gap:16px;padding:20px}.nutrition-summary .progress-ring{width:85px;height:85px}.nutrition-numbers{grid-column:1/-1;padding-top:15px;border-top:1px solid var(--line);width:100%;gap:35px}.nutrition-numbers b{font-size:25px}.nutrition-numbers small{font-size:11px}.nutrition-summary h2{font-size:18px}.nutrition-summary p{font-size:13px}.food-plan-card h2{font-size:22px}.food-note{font-size:14px}.food-macros small{font-size:11px}.client-brief-strip{padding:18px;flex-direction:column;align-items:flex-start}.client-brief-strip>span{font-size:14px}.player-grid{display:flex;flex-direction:column}.movement-stage{min-height:0}.movement-placeholder{min-height:260px;padding:25px 20px}.movement-placeholder>svg{display:none}.movement-placeholder h2{font-size:25px;margin:9px 0}.movement-placeholder>p{font-size:14px;line-height:1.6}.movement-targets{gap:25px;margin:16px 0}.movement-targets b{font-size:22px}.movement-placeholder>small{font-size:11px}.stage-cue{padding:17px 20px}.stage-cue p{font-size:14px}.stage-cue span{font-size:10px}.session-top{flex-wrap:wrap;gap:10px}.session-top a{font-size:13px}.session-top .badge{font-size:11px}.session-bottom{bottom:80px;position:sticky;display:flex;padding:12px;gap:8px}.session-bottom p{display:none}.session-bottom>.row{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.session-bottom .btn{font-size:12px;min-height:45px;white-space:normal;line-height:1.3;padding:9px}.set-table{padding:0 16px}.set-row,.set-table-head{grid-template-columns:24px 1fr 1fr 1fr 44px;gap:7px}.set-table-head{font-size:11px}.set-row input{min-width:0;padding:8px 5px;font-size:16px}.set-under{grid-column:2/-1}.set-under span{font-size:11px}.set-row .text-link{font-size:11px}.set-hint{font-size:12px}.rest-dock{padding:15px 16px}.rest-dock .btn{font-size:12px}.rest-dock>span{font-size:13px}.exercise-switcher{grid-template-columns:1fr 1fr}.exercise-switcher button{padding:13px;font-size:12px;min-height:65px}.session-evidence{padding:18px}.evidence-sets b{font-size:13px}.evidence-sets em{font-size:11px}.previous-performance{padding:15px 20px}.modal-body,.modal-head{padding:20px}.modal-head h2{font-size:22px}.modal-body .field{font-size:14px}.modal-body input,.modal-body select,.modal-body textarea{font-size:16px}.modal-foot .btn{white-space:normal;font-size:13px;min-height:46px}.notice{font-size:12px}.metric-explainer{font-size:12px}.footer-note{font-size:11px}.client-mode #toast{bottom:88px}.client-mode .client-today-grid{gap:16px}
}
@media(max-width:380px){.client-mode .page{padding:20px 12px 110px}.client-mode .breadcrumb{display:none}.client-mode .topbar{justify-content:flex-end}.workout-hero h2{font-size:32px}.workout-hero-content{padding:21px}.set-table{padding:0 10px}.set-row,.set-table-head{gap:5px;grid-template-columns:19px 1fr 1fr 1fr 44px}.session-bottom .btn{font-size:11px}.week-strip{gap:3px}.date-tile{min-width:0}.nutrition-summary{padding:18px;grid-template-columns:80px 1fr;gap:12px}.nutrition-summary h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
