/* Demonstrations occupy the guide overlay, never the app's document flow. */
.coach-visual{display:grid;place-items:center;flex:none;width:200px;max-width:100%;height:150px;margin-inline:auto;color:#fffdf6;pointer-events:none;user-select:none;}
.coach-motion{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
.motion-phone{fill:#ffffff16;stroke:#fffdf6a6;stroke-width:2.7;}
.motion-phone-detail{stroke:#fffdf67a;stroke-width:2.7;}
.gesture-hand{fill:#fffdf6;stroke:none;filter:drop-shadow(0 3px 4px #142b3270);transform-box:view-box;transform-origin:102px 51px;}
.gesture-hand-shape{fill:#fffdf6;stroke:#fffdf6;stroke-width:2;}
.gesture-hand-detail{fill:none;stroke:#8b9c9c;stroke-width:1.6;stroke-linecap:round;opacity:.62;}
.tap-mark{fill:#bef3d0;stroke:none;}
.tap-echo{stroke:#bef3d0;stroke-width:3;transform-origin:102px 51px;animation:coach-tap-echo 2.6s ease-out infinite;}
.is-tap .gesture-hand{animation:coach-tap-hand 2.6s cubic-bezier(.3,0,.2,1) infinite;}
.motion-ghost{fill:#ffffff05;stroke:#fffdf635;stroke-width:2;}
.motion-page{fill:#ffffff22;stroke:#fffdf65e;stroke-width:2;animation:coach-page-swipe 3s cubic-bezier(.4,0,.2,1) infinite;}
.motion-page path{fill:none;stroke:#fffdf68f;}
.swipe-direction{stroke:#bef3d0;stroke-width:4.5;opacity:.9;}
.is-swipe .gesture-hand{animation:coach-swipe-hand 3s cubic-bezier(.4,0,.2,1) infinite;}
/* One panel follows the hand right, revealing home. Reset only while hidden. */
.return-home-frame{fill:#ffffff0a;stroke:#fffdf655;stroke-width:2;}
.return-home-icon{stroke:#bef3d0;stroke-width:2.5;animation:coach-return-home 2.8s ease infinite;}
.return-sheet{fill:#63757e;stroke:#fffdf6d9;stroke-width:2.7;animation:coach-return-sheet 2.8s cubic-bezier(.3,0,.2,1) infinite;}
.return-sheet path{fill:none;stroke:#fffdf68c;stroke-width:2;}
.return-trail{stroke:#bef3d0;stroke-width:4;}
.is-swipe-return .gesture-hand{animation:coach-return-hand 2.8s cubic-bezier(.3,0,.2,1) infinite;}
@keyframes coach-return-hand{0%{transform:translate(-43px,20px);opacity:0}10%,20%{transform:translate(-43px,20px);opacity:1}65%,82%{transform:translate(22px,20px);opacity:1}92%{transform:translate(22px,20px);opacity:0}93%,100%{transform:translate(-43px,20px);opacity:0}}
@keyframes coach-return-sheet{0%,20%{transform:translateX(0);opacity:1}65%,82%{transform:translateX(65px);opacity:.15}92%{transform:translateX(65px);opacity:0}93%{transform:translateX(0);opacity:0}100%{transform:translateX(0);opacity:1}}
@keyframes coach-return-home{0%,20%{opacity:.15}65%,90%{opacity:1}100%{opacity:.15}}
@media(prefers-reduced-motion:reduce){.is-swipe-return .return-sheet{transform:translateX(30px);opacity:.35;}.is-swipe-return .gesture-hand{transform:translate(-8px,20px);}.is-swipe-return .return-home-icon{opacity:1;}}
.motion-dots{fill:#fffdf675;stroke:none;}.motion-dots circle{transform-box:fill-box;transform-origin:center;}.motion-dots circle:first-child{animation:coach-dot-first 2.8s ease infinite;}.motion-dots circle:nth-child(2){animation:coach-dot-second 2.8s ease infinite;}
.fold-heading{fill:#ffffff28;stroke:#fffdf6a0;stroke-width:2;}.fold-heading-line{stroke:#fffdf6;stroke-width:3;}.fold-chevron{stroke:#bef3d0;stroke-width:3;transform-origin:147px 34px;animation:coach-fold-chevron 3s ease-in-out infinite;}
.fold-records{fill:#ffffff16;stroke:#fffdf660;stroke-width:2;transform-origin:100px 50px;animation:coach-fold-content 3s cubic-bezier(.4,0,.2,1) infinite;}.fold-records path{fill:none;stroke:#fffdf690;}
.is-fold .gesture-hand{transform:translate(8px,-5px) scale(.8);animation:coach-fold-hand 3s ease-in-out infinite;}
.connect-collar{stroke:#fffdf6;stroke-width:3;}.connect-collar rect:first-of-type{fill:#ffffff20;}.connect-collar rect:nth-of-type(2){fill:#ffffff0a;stroke:#fffdf680;}.connect-signal{stroke:#bef3d0;stroke-width:2.8;animation:coach-link-signal 2.8s ease-in-out infinite;}.connect-signal circle{fill:#bef3d0;stroke:none;}.connect-check{stroke:#bef3d0;stroke-width:4;animation:coach-link-check 2.8s ease-in-out infinite;}
.coach-visual.is-colours{width:280px;height:120px;}.motion-colours{display:flex;align-items:center;justify-content:center;gap:24px;width:100%;}.motion-colour-item{display:flex;align-items:center;flex-direction:column;gap:12px;}.motion-colour-orb{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;box-shadow:inset 0 2px 5px #ffffff7d,0 4px 15px #10232930;}.motion-colour-orb.is-green{background:linear-gradient(135deg,#d0f5bd,#a3d68d);color:#315138;}.motion-colour-orb.is-yellow{background:linear-gradient(135deg,#fff2ba,#efd285);color:#665522;}.motion-colour-orb.is-red{background:linear-gradient(135deg,#ffccc7,#efa19f);color:#703438;}.motion-colour-symbol{width:40px;height:40px;stroke-width:4;}.motion-colour-item small,.motion-icon-item small{color:#fffdf6;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;letter-spacing:.05px;}
.coach-visual:has(.motion-icon-row){width:280px;height:86px;}.motion-icon-row{display:flex;width:100%;align-items:center;justify-content:center;gap:25px;}.motion-icon-item{display:flex;flex-direction:column;align-items:center;gap:10px;}.motion-glyph{height:38px;width:38px;stroke-width:2.8;}.motion-icon-row.is-activity{gap:20px;}.motion-icon-row.is-activity .motion-glyph{width:34px;height:34px;}.motion-glyph.is-heart{color:#f6bdcc;}.motion-glyph.is-temperature{color:#f7dda6;}.motion-glyph.is-steps{color:#bce8df;}.motion-glyph.is-moon{color:#dac8f4;}.motion-glyph.is-plus,.motion-glyph.is-scan{color:#bef3d0;}
.search-field{fill:#ffffff17;stroke:#fffdf68c;stroke-width:2.5;}.search-lens{stroke:#fffdf6;stroke-width:3;}.search-text{stroke:#fffdf6ab;stroke-width:4;stroke-dasharray:46;animation:coach-search-text 3s ease-in-out infinite;}.search-enter{stroke:#bef3d0;stroke-width:3.5;}.search-pin{fill:#ffffff18;stroke:#bef3d0;stroke-width:3;animation:coach-search-pin 3s ease-in-out infinite;}
@keyframes coach-tap-hand{0%,20%,100%{transform:translateY(5px)}35%,47%{transform:translateY(-2px) scale(.94)}62%,80%{transform:translateY(5px)}}
@keyframes coach-tap-echo{0%,26%,100%{opacity:0;transform:scale(.65)}35%{opacity:1;transform:scale(.7)}65%,80%{opacity:0;transform:scale(1.8)}}
/* Show only the rightward gesture; resetting left happens fully invisible. */
@keyframes coach-swipe-hand{0%,8%{transform:translate(-32px,8px);opacity:0}18%,24%{transform:translate(-32px,8px);opacity:1}62%,70%{transform:translate(30px,8px);opacity:1}80%{transform:translate(30px,8px);opacity:0}81%,100%{transform:translate(-32px,8px);opacity:0}}
@keyframes coach-page-swipe{0%,8%{transform:translateX(0);opacity:0}18%,24%{transform:translateX(0);opacity:.85}62%,70%{transform:translateX(26px);opacity:.38}80%{transform:translateX(26px);opacity:0}81%,100%{transform:translateX(0);opacity:0}}
@keyframes coach-dot-first{0%,15%,100%{fill:#fffdf675;transform:scale(1)}52%,72%{fill:#bef3d0;transform:scale(1.4)} } 
@keyframes coach-dot-second{0%,15%,100%{fill:#bef3d0}52%,72%{fill:#fffdf675}}
@keyframes coach-fold-content{0%,18%,100%{transform:scaleY(1);opacity:1}40%,68%{transform:scaleY(.15);opacity:0}}
@keyframes coach-fold-chevron{0%,18%,100%{transform:rotate(180deg)}40%,68%{transform:rotate(0)}}
@keyframes coach-fold-hand{0%,15%,75%,100%{transform:translate(8px,-5px) scale(.8)}24%,35%{transform:translate(8px,-8px) scale(.76)} }
@keyframes coach-link-signal{0%,100%{opacity:.35}40%,72%{opacity:1}}
@keyframes coach-link-check{0%,20%{opacity:.2}50%,85%{opacity:1}100%{opacity:.2}}
@keyframes coach-search-text{0%,10%,100%{stroke-dashoffset:46}45%,80%{stroke-dashoffset:0}}
@keyframes coach-search-pin{0%,25%,100%{transform:translateY(5px);opacity:.45}52%,80%{transform:translateY(0);opacity:1}}
@media(max-width:350px),(max-height:650px){.coach-visual{width:170px;height:125px;}.coach-visual.is-colours{height:104px;width:245px;}.motion-colours{gap:18px;}.motion-colour-orb{width:48px;height:48px;}.coach-visual:has(.motion-icon-row){width:240px;height:76px;}.motion-icon-row{gap:18px;}.motion-icon-row.is-activity{gap:14px;}}
@media(prefers-reduced-motion:reduce){.coach-visual *{animation:none!important;}.tap-echo{display:none;}.gesture-hand{transform:none;}.is-swipe .gesture-hand{transform:translate(8px,8px);}.is-fold .gesture-hand{transform:translate(8px,-5px) scale(.8);}.search-text{stroke-dashoffset:0;}.motion-dots circle:nth-child(2){fill:#bef3d0;}}
