:root{--bg:#f5f8fe;--panel:#ffffff;--panel2:#eff5ff;--line:#e2eaf5;--muted:#6b7f99;--text:#18304c;--lime:#176de0;--deep:#0b418d;--danger:#d43e58;--shadow:0 18px 60px rgba(24,77,139,.10);color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--bg);font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:var(--lime)}svg{display:block}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lime);outline-offset:3px}.app-shell{width:min(100%,820px);min-height:100svh;margin:auto;position:relative;padding:0 24px 125px}.app-header{height:83px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1eaf6}.brand-lockup,.header-end{display:flex;align-items:center;gap:9px}.brand-symbol{height:24px;display:flex;gap:3px;align-items:center;transform:skew(-15deg)}.brand-symbol span{width:7px;background:var(--lime);border-radius:1px;height:24px}.brand-symbol span:nth-child(2){height:19px}.brand-symbol span:nth-child(3){height:13px}.brand-name{font-size:23px;font-weight:900;letter-spacing:-1.5px}.brand-dot{color:var(--lime)}.header-date{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.avatar{height:36px;width:36px;border:1px solid #c6d9f1;border-radius:50%;background:#ebf3ff;color:var(--lime);font-weight:900}.main-greet{margin:30px 0 19px}.eyebrow{color:var(--lime);font-weight:800;text-transform:uppercase;font-size:10px;letter-spacing:.18em}.greet-title{margin:8px 0 4px;font-size:clamp(31px,5vw,45px);letter-spacing:-1.7px;line-height:1.08;font-weight:850}.subtle{color:var(--muted);font-size:13px}.dim{color:var(--muted)}.hero{position:relative;overflow:hidden;background:linear-gradient(130deg,#328ffb 0%,#1775e9 58%,#0b58c8 100%);border-radius:21px;color:#ffffff;min-height:234px;padding:26px 26px 22px}.hero:before,.hero:after{content:"";position:absolute;width:270px;height:270px;border:1px solid rgba(255,255,255,.28);border-radius:50%;right:-45px;top:-100px;pointer-events:none}.hero:after{width:180px;height:180px;right:0;top:-50px;border-width:22px;border-color:rgba(255,255,255,.10)}.hero .eyebrow{color:#e4f2ff}.hero-top{position:relative;z-index:1;display:flex;justify-content:space-between;gap:12px}.hero-title{font-size:33px;letter-spacing:-1.5px;font-weight:900;line-height:1.03;margin:10px 0 11px;max-width:440px}.hero-sub{font-size:13px;line-height:1.5;max-width:330px;opacity:.85}.hero-number{font-size:69px;line-height:1;font-weight:950;letter-spacing:-5px;opacity:.12;align-self:flex-start}.hero-bottom{position:relative;z-index:1;margin-top:24px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pill{border-radius:100px;padding:7px 11px;border:1px solid rgba(255,255,255,.45);font-size:11px;font-weight:750}.pill.dark{background:rgba(255,255,255,.14)}.btn{border:0;display:inline-flex;gap:8px;align-items:center;justify-content:center;border-radius:12px;font-weight:800;min-height:43px;padding:10px 16px;transition:transform .15s,background .15s;text-decoration:none}.btn:active,.nav-item:active{transform:scale(.97)}.btn-dark{background:#ffffff;color:#0e5dc6}.btn-primary{background:var(--lime);color:#ffffff}.btn-secondary{background:#edf5ff;color:#135fbe;border:1px solid #d7e7fa}.btn-ghost{background:transparent;border:1px solid #cddff4;color:var(--text)}.btn-sm{min-height:34px;padding:7px 11px;border-radius:9px;font-size:12px}.btn-full{width:100%}.section{margin-top:27px}.section-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:14px}.section-title{font-size:19px;font-weight:850;letter-spacing:-.55px;margin:0}.text-link{background:none;border:none;color:var(--lime);font-size:12px;font-weight:800;padding:5px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metric-card{background:var(--panel);border:1px solid #e1eaf5;padding:18px 16px;border-radius:16px;min-height:120px}.metric-label{color:var(--muted);font-size:11px}.metric-value{font-size:29px;font-weight:900;letter-spacing:-1.15px;line-height:1.4;margin-top:4px}.metric-unit{font-size:12px;color:var(--muted);font-weight:600;letter-spacing:0}.metric-foot{font-size:10px;color:var(--muted);margin-top:4px}.day-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.day-chip{background:#ffffff;border:1px solid #e0eaf6;min-height:80px;border-radius:15px;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.day-chip strong{font-size:16px;color:#1b3756}.day-chip.selected{background:#1a70e6;border-color:#1a70e6;color:#ffffff}.day-chip.selected strong{color:#ffffff}.day-chip.today:not(.selected){border-color:#2f84ef}.day-dot{height:5px;width:5px;background:#b6c7df;border-radius:50%}.day-dot.done{background:#3ebd9a}.day-chip.selected .day-dot{background:#ffffff}.card{background:var(--panel);border:1px solid #e2eaf5;border-radius:17px;padding:18px}.flex-between{display:flex;justify-content:space-between;align-items:center;gap:12px}.between-start{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.flex-center{display:flex;align-items:center;gap:10px}.workout-preview{margin-top:13px}.workout-preview-line{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eaf0f7}.workout-preview-line:last-child{border-bottom:0}.mini-thumb{height:55px;width:64px;flex:0 0 64px;border-radius:12px;background:#f0f6fc;overflow:hidden;display:flex;align-items:center;justify-content:center}.mini-thumb img{width:100%;height:100%;object-fit:contain}.mini-thumb .fallback{font-size:18px;color:#5f7a9c}.exercise-name{font-weight:800;line-height:1.25}.exercise-meta{color:var(--muted);font-size:11px;margin-top:5px}.exercise-name-wrap{min-width:0;flex:1}.badge{display:inline-flex;align-items:center;font-size:10px;gap:5px;color:var(--lime);font-weight:800}.badge.muted{color:#8599b2}.arr{color:#8ca3bf}.progress-track{height:7px;background:#e4edf9;border-radius:20px;overflow:hidden}.progress-bar{height:100%;background:var(--lime);border-radius:20px;transition:width .2s}.toolbar{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;gap:9px;align-items:center}.icon-button{border:1px solid #d8e5f6;background:var(--panel);color:#23609b;border-radius:11px;min-width:39px;height:39px;display:flex;align-items:center;justify-content:center}.page-title{font-size:30px;letter-spacing:-1.4px;line-height:1.12;margin:6px 0 9px}.page-head{margin:27px 0 21px}.workout-day-card{background:var(--panel);border:1px solid #e1eaf5;border-radius:18px;margin-bottom:12px;overflow:hidden}.workout-card-body{padding:16px}.exercise-main-row{display:flex;gap:14px;align-items:center}.exercise-thumb{height:92px;width:105px;flex:0 0 105px;display:flex;align-items:center;justify-content:center;background:#f0f6fd;border-radius:13px;overflow:hidden}.exercise-thumb img{width:100%;height:100%;object-fit:contain}.exercise-thumb .fallback{color:#6882a0;font-size:26px}.workout-card-name{font-size:17px;line-height:1.23;font-weight:850;letter-spacing:-.3px}.set-header,.set-row{display:grid;grid-template-columns:43px 1fr 1fr 44px;gap:8px;align-items:center}.set-header{padding:9px 0 4px;font-size:10px;text-transform:uppercase;color:var(--muted);letter-spacing:.08em}.set-row{padding:5px 0}.set-number{height:35px;display:flex;align-items:center;justify-content:center;background:#edf3fa;border-radius:9px;font-weight:800;font-size:12px}.set-number.done{color:#1263d8}.set-input{height:37px;min-width:0;width:100%;background:#f8fbff;color:#1b3655;border:1px solid #d3dfed;border-radius:9px;padding:0 8px;text-align:center;font-weight:750}.set-check{height:36px;width:38px;border:1px solid #d8e4f3;color:#8ea1b7;border-radius:10px;background:#e1eaf6;font-size:17px;display:flex;justify-content:center;align-items:center}.set-check.checked{background:var(--lime);border-color:var(--lime);color:#ffffff}.info-line{display:flex;justify-content:space-between;flex-wrap:wrap;font-size:11px;color:var(--muted);gap:8px;margin-top:12px;border-top:1px solid #e2eaf5;padding-top:12px}.info-line b{color:#1b3655}.input,.select,.textarea{background:#f9fbff;color:#183c60;border:1px solid #d6e2ef;border-radius:11px;min-height:43px;padding:9px 12px;width:100%;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#3989ef}.input::placeholder{color:#8a9db3}.textarea{min-height:90px;resize:vertical}.field-label{display:block;font-size:12px;color:#4e6683;font-weight:700;margin-bottom:6px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.field{margin-bottom:13px}.chip-line{display:flex;align-items:center;gap:8px;overflow:auto;padding:2px 0 7px;scrollbar-width:none}.chip{border:1px solid #d4e2f3;color:#55718d;background:#f6faff;border-radius:40px;padding:8px 13px;white-space:nowrap;font-size:12px;font-weight:730}.chip.active{background:var(--lime);border-color:var(--lime);color:#ffffff}.chip-line::-webkit-scrollbar{display:none}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.library-card{border:1px solid #e6edf7;border-radius:15px;background:var(--panel);text-align:left;color:inherit;overflow:hidden;padding:0}.lib-img{background:#f0f6ff;height:125px;display:flex;justify-content:center;align-items:center;overflow:hidden}.lib-img img{width:100%;height:100%;object-fit:contain}.lib-img .fallback{color:#5981a8;font-size:28px}.lib-body{padding:12px;min-height:97px}.lib-tag{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--lime);font-weight:850;margin-bottom:6px}.lib-title{font-size:13px;font-weight:850;line-height:1.35}.bar-chart{width:100%;height:206px;display:block}.chart-empty{height:145px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:9px;color:var(--muted);text-align:center;background:#f8fbff;border:1px dashed #cfdbed;border-radius:14px}.chart-axis{font-size:11px;fill:#8298b2}.list-entry{padding:13px 0;border-bottom:1px solid #e7eef8;display:flex;justify-content:space-between;gap:10px}.list-entry:last-child{border-bottom:0}.entry-num{font-size:20px;font-weight:900;letter-spacing:-.5px}.profile-line{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e6edf7}.profile-line:last-child{border:0}.selection{display:flex;gap:8px;flex-wrap:wrap}.selection button{padding:10px 13px;border-radius:10px;border:1px solid #d3e2f5;background:#f5f9ff;color:#3a5b7e;font-weight:850}.selection button.active{background:var(--lime);border-color:var(--lime);color:#ffffff}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,820px);padding:11px 12px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e2eaf5;background:rgba(255,255,255,.97);backdrop-filter:blur(20px);display:grid;grid-template-columns:repeat(5,1fr);gap:2px;z-index:20}.nav-item{border:none;background:transparent;color:#8b9eb6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:46px;font-size:10px;font-weight:700}.nav-item.active{color:var(--lime)}.nav-item svg{width:21px;height:21px}.modal-backdrop{position:fixed;inset:0;background:rgba(9,32,63,.57);z-index:40;display:flex;align-items:flex-end;justify-content:center}.modal-sheet{background:#ffffff;width:min(100%,620px);border:1px solid #dce8f7;border-radius:24px 24px 0 0;max-height:92svh;overflow-y:auto;padding:20px 21px calc(27px + env(safe-area-inset-bottom));box-shadow:var(--shadow)}.modal-close{background:#eaf3ff;border:0;border-radius:50%;color:white;width:37px;height:37px;display:flex;align-items:center;justify-content:center}.modal-title{font-size:24px;letter-spacing:-.9px;font-weight:900;line-height:1.18;margin:11px 0 4px}.media-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0 7px}.media-box{background:#f5f9ff;border-radius:13px;overflow:hidden;aspect-ratio:1.12;display:flex;justify-content:center;align-items:center;position:relative}.media-box img{height:100%;width:100%;object-fit:contain}.media-box .fallback{color:#6687aa}.media-label{font-size:11px;color:var(--muted);text-align:center;margin-top:6px}.steps{margin:8px 0 14px;padding-left:22px}.steps li{margin:10px 0;line-height:1.5}.tip-box{border-left:3px solid var(--lime);padding:12px 13px;background:#eef5ff;border-radius:2px 10px 10px 2px;font-size:12px;color:#36516f}.timer-pill{position:fixed;z-index:25;bottom:calc(83px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;border-radius:100px;padding:8px 10px 8px 18px;background:#176de0;color:#ffffff;box-shadow:0 12px 30px #082e6729;border:2px solid #ffffff;font-weight:850}.timer-pill button{border:0;background:#ffffff;color:#1263d7;border-radius:100px;padding:7px 14px;font-weight:800;font-size:11px}.toast{position:fixed;top:90px;left:50%;transform:translate(-50%,-15px);background:#155ebf;color:#ffffff;box-shadow:var(--shadow);padding:11px 18px;border:1px solid #8cbdff;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:80;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.tiny{font-size:11px}.empty-card{padding:30px 16px;color:#8296ae;text-align:center;border:1px dashed #cadaef;background:#f8fbff;border-radius:14px}.divider{height:1px;background:#e3ebf5;margin:17px 0}.pale-panel{background:#eff6ff;border:1px solid #dce8f8;padding:15px;border-radius:14px}.learn-points{display:grid;gap:9px}.learn-point{display:flex;gap:10px;font-size:13px;color:#426080}.mini-icon{color:var(--lime);flex:0 0 auto}.wide-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-highlight{font-size:12px;font-weight:800;color:var(--lime)}
@media(max-width:520px){.app-shell{padding:0 16px 116px}.app-header{height:70px}.brand-name{font-size:21px}.header-date{font-size:10px}.greet-title{font-size:33px}.hero{padding:23px 20px 21px;min-height:217px}.hero-title{font-size:30px}.hero-number{font-size:57px}.metric-card{padding:14px 12px;min-height:110px}.metric-value{font-size:24px}.day-chip{min-height:72px;border-radius:12px}.exercise-thumb{width:89px;flex-basis:89px;height:91px}.workout-card-name{font-size:15px}.bottom-nav{padding-left:5px;padding-right:5px}.nav-item{font-size:9px}.section{margin-top:24px}}
@media(max-width:375px){.hero-title{font-size:27px}.metric-grid{gap:6px}.metric-card{padding:12px 9px}.day-strip{gap:4px}.day-chip{min-height:65px}.exercise-thumb{width:76px;flex-basis:76px;height:82px}.set-header,.set-row{grid-template-columns:34px 1fr 1fr 37px;gap:5px}.mini-thumb{width:52px;flex-basis:52px}.lib-img{height:107px}}
@media(min-width:740px){.app-shell{border-left:1px solid #e2eaf5;border-right:1px solid #e2eaf5}.modal-backdrop{align-items:center}.modal-sheet{border-radius:22px;max-height:85svh}.hero{min-height:255px}.metric-grid{gap:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Image placeholders remain visible while source photos load or when offline. */
.mini-thumb,.exercise-thumb,.lib-img,.media-box{position:relative}
.fallback-behind{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#738fb0!important}
.mini-thumb img,.exercise-thumb img,.lib-img img,.media-box img{position:relative;z-index:1}


/* FORM 1.1 | White & Electric Blue UI system */
:root{--bg:#f5f8fe;--panel:#fff;--panel2:#eff5ff;--line:#e1eaf5;--muted:#6c7f96;--text:#162f4e;--lime:#176de0;--deep:#0c4b9d;--danger:#d53a50;--shadow:0 15px 38px rgba(31,91,162,.11);color-scheme:light}
body{background:radial-gradient(ellipse 90% 500px at 50% 0%,#edf5ff 0%,#f5f8fe 65%,#f5f8fe 100%)}
.app-header{border-color:#dfe9f7}
.brand-symbol span{background:#1674eb;border-radius:2px}
.brand-name{color:#153c6c}
.brand-dot{color:#1778ee}
.avatar{background:#eaf3ff;color:#1368d2;border:1px solid #cfe1f8}
.main-greet{margin-top:31px}
.hero{background:linear-gradient(125deg,#338efd 0%,#1974e7 48%,#0954c5 100%);color:#fff;box-shadow:0 14px 28px rgba(28,113,223,.19);border-radius:23px}
.hero:before{border-color:rgba(255,255,255,.24)}
.hero:after{border-color:rgba(255,255,255,.10)}
.hero .eyebrow{color:#e4f2ff}
.hero .hero-sub{opacity:.92}
.hero .hero-number{opacity:.16}
.hero .pill{border-color:rgba(255,255,255,.34)}
.hero .pill.dark{background:rgba(255,255,255,.16)}
.btn-dark{background:#fff;color:#0d58ba;box-shadow:0 5px 10px rgba(5,64,139,.09)}
.btn-dark:hover{background:#eaf4ff}
.btn-primary{background:linear-gradient(90deg,#1672e9,#095ecf);color:#fff;box-shadow:0 5px 13px rgba(12,97,206,.15)}
.btn-primary:hover{background:#0c5ec9}
.btn-secondary{background:#eaf3ff;color:#175db0;border:1px solid #d6e6fb}
.btn-ghost{background:#fff;color:#2e5b90;border:1px solid #cfdef0}
.text-link{color:#0868da}
.metric-card,.card,.workout-day-card,.library-card{box-shadow:0 3px 15px rgba(27,75,133,.035)}
.metric-card{border-color:#e3ebf6}
.metric-value{color:#173b68}
.day-chip{background:#fff;border-color:#e1e9f5;color:#7185a0}
.day-chip strong{color:#224160}
.day-chip.selected{background:#176de0;color:#fff;border-color:#176de0;box-shadow:0 5px 13px rgba(23,109,224,.18)}
.day-chip.selected strong{color:#fff}
.day-chip.today:not(.selected){border-color:#7eaff5}
.day-dot.done{background:#42be9b}
.day-chip.selected .day-dot{background:#fff}
.badge{color:#126ce0}
.icon-button{color:#2c5e92;background:#fff;border-color:#d8e4f3}
.set-number{background:#edf4fc;color:#416281}
.set-number.done{background:#e7f2ff;color:#0868d8}
.set-input{background:#f9fbff;color:#193b5d;border-color:#d6e2f0}
.set-input:focus,.input:focus,.select:focus,.textarea:focus{outline:2px solid #b4d4fe;outline-offset:1px;border-color:#337fee}
.set-check{background:#f4f8fd;color:#91a5bd;border-color:#cfdced}
.set-check.checked{background:#176de0;border-color:#176de0;color:#fff}
.input,.select,.textarea{background:#f9fbff;color:#1c3d61;border-color:#d7e3f1}
.field-label{color:#4c6683}
.chip{color:#4b6688;background:#fff;border-color:#d5e2f2}
.chip.active{background:#176de0;color:#fff;border-color:#176de0}
.lib-tag{color:#176de0}
.chart-axis{fill:#8398b1}
.selection button{background:#f6faff;color:#395e84;border-color:#d7e5f5}
.selection button.active{background:#176de0;color:#fff;border-color:#176de0}
.bottom-nav{border-top:1px solid #dce7f4;background:rgba(255,255,255,.97);box-shadow:0 -9px 27px rgba(24,71,132,.055)}
.nav-item{color:#8498b0}
.nav-item.active{color:#106ee5}
.nav-item.active svg{filter:drop-shadow(0 3px 6px rgba(32,111,222,.1))}
.modal-sheet{background:#fff;border-color:#dce7f6}
.modal-close{background:#eef5fe;color:#2966a5}
.tip-box{background:#eff6ff;border-left-color:#1874e9;color:#3b5877}
.timer-pill{background:#176de0;border:2px solid #fff;color:#fff;box-shadow:0 12px 27px rgba(20,85,179,.22)}
.timer-pill button{background:#fff;color:#0c5fcb}
.toast{background:#145ebf;color:#fff;border:1px solid #4d97f2;box-shadow:0 10px 22px rgba(18,89,171,.22)}
.empty-card{color:#7d92ab;background:#f8fbff;border-color:#cad9ec}
.pale-panel{background:#eaf4ff;border:1px solid #d6e6f9}
.learn-point{color:#42617f}
.stat-highlight{color:#116ce0}
.fallback-behind{color:#6c91bb!important}
@media(min-width:740px){.app-shell{border-color:#e0eaf6;background:rgba(255,255,255,.32)}}

/* My Fit v1.3 | Adaptive coach. White & blue, touch-friendly, accessible. */
.coach-home,.coach-highlight{display:flex;align-items:center;gap:13px;border-radius:17px;background:#fff;border:1px solid #dbe8f8;padding:16px;box-shadow:0 5px 16px rgba(29,91,166,.05)}
.coach-home-icon{width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#3a9bff,#176de0);border-radius:14px}
.coach-home .btn{white-space:nowrap}
.coach-highlight{align-items:start;justify-content:space-between;background:linear-gradient(110deg,#f5faff,#e8f3ff);padding:20px 18px;border:1px solid #d6e6fb}
.coach-highlight h2{font-size:23px;line-height:1.15;letter-spacing:-.7px;margin:9px 0 7px;color:#153c68}
.coach-highlight p{font-size:12px;margin:0;color:#54708f}
.coach-edit{border:1px solid #c9dcf4;background:white;color:#1766ce;border-radius:9px;padding:9px;display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;font-weight:850}
.coach-block{padding:18px}
.coach-subheading{font-size:18px;line-height:1.3;letter-spacing:-.4px;margin:6px 0 14px}
.coach-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:11px;row-gap:3px}
.coach-form-grid .select,.coach-form-grid .input{width:100%}
.coach-block .field{min-width:0}
.coach-block .field-label{font-size:11px}
.coach-rule{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border-radius:12px;background:#eff6ff;border:1px solid #d6e6fb;color:#365d88;font-size:12px;line-height:1.55;margin:13px 0}
.coach-rule svg{flex-shrink:0;margin-top:1px;color:#176de0}
.coach-pill{display:inline-flex;align-items:center;justify-content:center;background:#ebf5ff;border:1px solid #d6e7fb;color:#1665c7;padding:6px 9px;border-radius:40px;font-size:10px;font-weight:850;white-space:nowrap}
.coach-pill.caution{background:#fff5e8;border-color:#f6dec0;color:#946018}
.coach-pill.warn{background:#fff0f1;border-color:#ffccd1;color:#bc3448}
.coach-alert{display:flex;align-items:flex-start;gap:9px;background:#fff2f3;border:1px solid #f7cad0;color:#9c2d40;border-radius:12px;padding:12px 13px;font-size:12px;line-height:1.55;margin:12px 0}
.coach-alert svg{flex:0 0 auto}
.coach-advice-list{display:grid;gap:9px}
.coach-advice{display:flex;align-items:flex-start;gap:12px;background:white;padding:14px 13px;border-radius:14px;border:1px solid #e0eaf6}
.coach-advice.warn{background:#fff8f8;border-color:#f5dadf}
.coach-advice-index{display:grid;place-items:center;width:29px;height:29px;min-width:29px;border-radius:9px;color:#2173d4;background:#ebf5ff;font-size:11px;font-weight:900}
.coach-advice-ex{font-size:13px;font-weight:900;color:#193f69;margin-bottom:3px}
.coach-advice-title{font-size:12px;font-weight:850;color:#176bd4;margin-bottom:4px}
.coach-advice.warn .coach-advice-title{color:#c24154}
.coach-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:13px 0}
.coach-stats>div{background:#f4f8fe;border-radius:11px;padding:14px 6px;text-align:center;display:flex;flex-direction:column;gap:4px}
.coach-stats strong{font-size:22px;color:#1869cf;letter-spacing:-1px;line-height:1.1}
.coach-stats span{font-size:10px;color:#6983a0;font-weight:700}
.coach-method{background:#fff}
.coach-method .learn-points{margin:14px 0}
.coach-method p{line-height:1.6}
.coach-mini{background:#f7fbff;border:1px solid #dbe9f9}
.coach-ex-feedback{background:#f7fbff;border:1px solid #e0ebfa;border-radius:12px;padding:12px;margin-top:14px}
.coach-micro{display:block;font-weight:850;color:#2c619d;font-size:11px;margin:0 0 5px}
.coach-ex-feedback .field{margin:6px 0 4px}
.coach-ex-feedback .field-label{font-size:10px}
.coach-ex-feedback .select{width:100%;padding:10px 28px 10px 9px;font-size:11px;color:#234d77}
.coach-hint{display:flex;align-items:flex-start;gap:8px;background:#e8f3ff;border-radius:9px;padding:10px;font-size:11px;color:#315b89;line-height:1.55;margin-top:8px}
.coach-hint svg{color:#1973e6;min-width:15px;margin-top:1px}
.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr));padding-left:4px;padding-right:4px}
.nav-item{gap:4px;font-size:9px;min-width:0}
.nav-item svg{width:20px;height:20px}
@media(max-width:380px){.coach-home{gap:9px;padding:12px}.coach-home-icon{height:38px;width:38px;flex-basis:38px}.coach-home .btn{padding-left:9px;padding-right:9px;font-size:11px}.coach-form-grid{gap:8px}.coach-block{padding:13px}.coach-pill{font-size:9px;padding:5px 7px}.coach-advice{padding:11px 10px}.nav-item{font-size:8px}}

/* My Fit 1.4 | InBody Body Analysis; native mobile, white + blue. */
.body-home{background:linear-gradient(110deg,#fff,#f2f8ff);}
.body-home-icon{background:linear-gradient(140deg,#65b6ff,#1e70e4);}
.body-progress-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;background:linear-gradient(110deg,#fff,#f3f8ff);border-color:#d9e8fb;}
.body-progress-text{min-width:0;flex:1}
.body-top-actions{display:flex;justify-content:space-between;align-items:center;margin:-5px 0 14px;gap:10px}
.body-top-actions .text-link{display:flex;align-items:center;gap:2px;padding-left:0}
.body-banner{position:relative;overflow:hidden;min-height:198px;padding:20px 22px 19px;border-radius:22px;background:linear-gradient(140deg,#f4faff 0%,#e5f1ff 54%,#c9e2ff 100%);border:1px solid #cbdff9;color:#153c68;}
.body-banner:before,.body-banner:after{content:"";position:absolute;right:-70px;top:-85px;width:245px;height:245px;border:28px solid rgba(43,117,216,.07);border-radius:50%;pointer-events:none}
.body-banner:after{right:-35px;top:10px;width:155px;height:155px;border-width:1px;border-color:rgba(37,110,207,.16)}
.body-banner-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}
.body-calendar-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;color:#176de0;background:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.7)}
.body-tag{font-size:10px;letter-spacing:.1em;font-weight:850;color:#1c68c0;display:flex;gap:5px;align-items:center}
.body-banner-name{position:relative;z-index:1;font-size:13px;color:#577da6;margin-top:12px;font-weight:700}
.body-next-date{position:relative;z-index:1;font-size:32px;line-height:1.14;font-weight:950;letter-spacing:-1.1px;margin:3px 0 8px;color:#14519e}
.body-banner p{position:relative;z-index:1;font-size:12px;line-height:1.6;color:#49709c;margin:0;max-width:355px}
.body-cycle{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:11px;background:#fff;border:1px solid #e0ebf8;border-radius:15px;margin-top:13px;padding:13px 14px}
.body-cycle b{display:block;font-size:12px;color:#264d7b}
.body-cycle span{font-size:10px;color:#7d95b0;display:block;margin-top:3px}
.body-cycle-options{display:flex;gap:5px;padding:4px;background:#edf4ff;border-radius:11px}
.body-cycle-options button{font-size:11px;font-weight:850;color:#5b7c9f;border:0;border-radius:8px;background:transparent;padding:7px 10px;white-space:nowrap}
.body-cycle-options button.active{background:#fff;color:#176de0;box-shadow:0 3px 9px rgba(43,99,172,.10)}
.body-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.body-metric{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e1ebf7;border-radius:16px;padding:14px 11px;gap:8px;min-height:142px}
.body-metric>span{font-size:10px;color:#6582a4;font-weight:750;min-height:30px;line-height:1.35}
.body-metric strong{font-size:28px;line-height:1;font-weight:900;color:#16569d;letter-spacing:-1.3px;word-wrap:break-word}
.body-metric strong small{font-size:11px;letter-spacing:0;font-weight:600;margin-left:3px;color:#7291b4}
.body-metric em{font-style:normal;color:#7190ad;font-size:10px;line-height:1.45;margin-top:auto}
.body-chart-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:11px}
.body-chart-tabs button{padding:8px 10px;font-size:11px;font-weight:750;color:#5e7ea1;background:#f0f6ff;border-radius:9px;border:1px solid #e1ebf7}
.body-chart-tabs button.active{background:#176de0;color:#fff;border-color:#176de0}
.body-chart{width:100%;height:auto;display:block;margin:2px 0 6px;}
.body-advice{position:relative;padding:18px;background:#fff;border-color:#d8e8f9}
.body-advice-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#e7f2ff;color:#176de0}
.body-advice h3{font-size:17px;font-weight:900;letter-spacing:-.4px;margin:12px 0 6px;color:#1c4b7d}
.body-advice p{font-size:12px;line-height:1.75;color:#567496;margin:0}
.body-change-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:15px}
.body-change-grid>div{display:flex;flex-direction:column;gap:5px;background:#f5f9ff;border:1px solid #e1ebf9;border-radius:11px;padding:10px 7px}
.body-change-grid span{font-size:10px;color:#728cad;line-height:1.35;min-height:27px}
.body-change-grid strong{font-size:14px;color:#1d5ba7;letter-spacing:-.3px;overflow-wrap:break-word}
.body-enabled{display:flex;align-items:center;justify-content:space-between;gap:7px;background:#eaf5ff;padding:10px;border-radius:10px;margin-top:13px;color:#1c6cba;font-size:11px;font-weight:700}
.body-enabled span{display:flex;gap:6px;align-items:flex-start}
.body-enabled .text-link{white-space:nowrap}
.body-form-card .form-grid{gap:11px}
.body-form-card .field{min-width:0}
.body-form-card .field-label{font-size:11px}
.body-details{padding:13px;border-radius:12px;border:1px solid #dce8f7;background:#f6faff;margin-top:6px}
.body-details summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#32689d;font-size:12px;font-weight:850;list-style:none}
.body-details summary::-webkit-details-marker{display:none}
.body-details[open] summary{margin-bottom:13px}
.body-details[open] summary svg{transform:rotate(90deg)}
.body-file{padding:10px;font-size:11px;height:auto;line-height:1.3}
.body-file::file-selector-button{background:#e8f3ff;color:#145fb7;border:0;border-radius:7px;padding:8px 10px;font-size:11px;font-weight:800;margin-right:9px}
.body-history{padding-top:3px;padding-bottom:3px}
.body-history-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 0;border-bottom:1px solid #e7eff8}
.body-history-row:last-child{border-bottom:0}
.body-history-date{display:flex;flex-direction:column;gap:3px;min-width:0}
.body-history-date span{font-size:10px;font-weight:800;color:#6788a7}
.body-history-date b{font-size:18px;color:#1d528c;letter-spacing:-.4px}
.body-history-date em{font-size:11px;font-style:normal;color:#718aa5;line-height:1.35}
.body-history-buttons{display:flex;align-items:center;gap:6px;flex-shrink:0}
.body-history-buttons .icon-button{min-width:32px;width:32px;height:32px;border-radius:9px}
.body-addon{border-color:#cfe3fa;background:linear-gradient(120deg,#fff,#f3f9ff);margin-top:12px}
.body-addon h3{font-weight:900;font-size:16px;letter-spacing:-.3px}
.body-attachment-preview{width:100%;height:auto;max-height:60svh;object-fit:contain;margin:16px 0;border-radius:11px;border:1px solid #e0eaf6}
.body-pdf-placeholder{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;font-size:12px;color:#6b86a6;background:#f3f8ff;border:1px dashed #c9ddf5;margin:15px 0;border-radius:13px}
@media(max-width:380px){.body-banner{padding:17px}.body-next-date{font-size:28px}.body-metric{padding:11px 9px;gap:6px;min-height:136px}.body-metric strong{font-size:24px}.body-cycle-options button{padding:7px 8px}.body-change-grid strong{font-size:12px}.body-history-buttons{gap:4px}}
.body-segment{margin:12px 0}
.body-segment-name{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:6px;color:#5c7694}
.body-segment-name b{color:#1a5ea8}
.body-segment-track{height:8px;background:#e9f2ff;border-radius:40px;overflow:hidden}
.body-segment-track>div{height:100%;background:linear-gradient(90deg,#6ab7ff,#1d75e9);border-radius:40px}

/* My Fit v1.5 — private cloud controls */
.myfit-cloud-card{padding:17px;min-height:100px}.myfit-cloud-card h3{font-size:17px;margin:0 0 6px;color:#153c68}.myfit-cloud-card p{line-height:1.6;margin:5px 0 12px}.cloud-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.cloud-actions .btn{flex:1 1 130px}.cloud-input{margin:10px 0}.cloud-status{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#2d5680}.cloud-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#8da6c5}.cloud-status.ok::before{background:#20a67e}.cloud-status.warn::before{background:#d78b23}.cloud-status.error::before{background:#d9485a}.cloud-footnote{font-size:11px;color:#657f9e;line-height:1.55;margin-top:11px}.cloud-email{font-size:11px;color:#517196;overflow-wrap:anywhere}

/* My Fit v1.7 — open source integrations */
.open-card{margin-top:27px}.open-tag{font-size:10px;font-weight:800;color:#1063c9;background:#e9f3ff;padding:7px 9px;border-radius:99px;white-space:nowrap}.open-row{display:flex;gap:12px;align-items:center}.open-row > *{min-width:0}.open-center{padding:16px 0 0;text-align:center}.open-explore-tools{display:grid;gap:10px}.open-explore-tools .open-row{justify-content:space-between}.open-explore-tools select{flex:1;max-width:65%}.open-count{font-size:11px;color:#557ba4;font-weight:800}.open-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}.open-item{border:1px solid #dae7f6;border-radius:14px;background:#fff;overflow:hidden;text-align:left;padding:0;cursor:pointer}.open-img{height:115px;background:#f3f8ff;display:flex;align-items:center;justify-content:center}.open-img img{width:100%;height:100%;object-fit:contain}.open-caption{padding:10px}.open-caption b{font-size:12px;line-height:1.4;display:block;color:#1d3e66}.open-caption span{color:#64809d;font-size:11px;display:block;margin-top:5px}.open-status{color:#ba3450;font-size:12px}.open-pose{display:grid;gap:5px;align-content:start}.open-pose img{width:100%;height:180px;object-fit:contain;background:#f4f8fe;border-radius:11px}.open-pose small{color:#71819a;text-align:center}.open-ocr{margin-top:12px;padding:15px;background:#f6faff;border:1px solid #d5e7fe}.open-ocr .open-round{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;color:#0e6ae2;background:#e4f0ff;border-radius:11px;font-size:22px}.open-ocr-success{font-size:12px;font-weight:850;color:#1269c8;margin:12px 0}.open-error{font-size:12px;color:#c33c52;margin:12px 0}.open-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.open-preview-grid>div{padding:10px;background:#f3f8fe;border:1px solid #e2ebf6;border-radius:10px}.open-preview-grid span{display:block;font-size:10px;color:#617c9b;margin-bottom:5px}.open-preview-grid b{font-size:12px;color:#1d456f}.open-ocr-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow-y:auto;font-size:11px;line-height:1.65;color:#406183;background:#f5f8fc;padding:10px;border-radius:8px}.open-ai-output:not(:empty){margin-top:13px;padding:12px;border-radius:11px;background:#f1f7ff;border:1px solid #dceafb;font-size:13px;line-height:1.65;white-space:pre-wrap}.open-ai-output p{margin:0}.open-food-line{display:flex;gap:9px}.open-food-line input{flex:1;min-width:0}.open-food-line button{white-space:nowrap}.open-food-product{display:flex;align-items:flex-start;gap:12px;margin:14px 0}.open-food-product>img{width:70px;height:70px;object-fit:contain;border-radius:8px;background:#fff}.open-food-product>div{flex:1;min-width:0}.open-food-product b{font-size:12px}.open-toast{position:fixed;top:75px;left:50%;transform:translateX(-50%);z-index:110;max-width:calc(100% - 30px);border-radius:10px;padding:12px 15px;color:#fff;background:#155ebf;font-size:12px;font-weight:700;box-shadow:0 8px 22px #164a883b;opacity:0;pointer-events:none;transition:opacity .2s}.open-toast.visible{opacity:1}.open-toast.ok{background:#1972d8}[hidden]{display:none!important}
@media(min-width:560px){.open-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
