
/* Shared browser / Home Screen layout, including iPad split view. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:600px){
 .tabs{display:flex;flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;scrollbar-width:thin;overscroll-behavior-x:contain}
 .tabs :is(button,a){flex:0 0 auto!important;white-space:nowrap;min-height:44px;padding:12px 14px!important}
 .login-box{min-width:0;max-width:100%}.login-box :is(h1,h2){overflow-wrap:break-word}
 .embedded-video{width:100%;max-width:100%}.embedded-video iframe{max-width:100%}
 .subscription-invoice{flex-wrap:wrap;gap:12px}.subscription-invoice>div{min-width:0;max-width:100%}
 .subscription-invoice .button{white-space:normal}
}
body{min-width:0;min-height:100dvh}
.mfit-header{padding-top:max(20px,env(safe-area-inset-top));padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
.mfit-main{padding-bottom:max(45px,calc(24px + env(safe-area-inset-bottom)))}
dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}
.modal-content{min-width:0}.form-grid>*{min-width:0}
.field{grid-template-columns:minmax(0,1fr)}.field>*{min-width:0}
input[type="file"]{width:100%}
:is(.mfit-main,.modal-content) :is(p,small,strong,.intro){overflow-wrap:anywhere}
input,select,textarea{max-width:100%}
.form-actions{gap:10px;flex-wrap:wrap}
.modal-header{position:sticky;top:0;z-index:2;background:inherit}
.table-wrap{max-width:100%;overflow-x:auto}
@media(pointer:coarse){
  :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.editor-exercise input){font-size:16px}
  :is(input:not([type="checkbox"]):not([type="radio"]),select){min-height:44px}
  :is(.button,.icon-button,.mfit-account-button,.user-trigger,.exercise-method-tools .button){min-height:44px}
  .icon-button{min-width:44px}.check-field{min-height:44px;align-items:center}
}
@media(max-width:1024px){
  :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.editor-exercise input){font-size:16px}
  :is(input:not([type="checkbox"]):not([type="radio"]),select,.button,.icon-button,.mfit-account-button){min-height:44px}
  .login-page{min-height:100dvh}
  .login-form-wrap{padding:32px 24px}
  .mfit-header-top{flex-wrap:wrap}
}
@media(max-width:600px){
  .login-form-wrap{min-height:100dvh;padding:24px max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
  .mfit-header-top{gap:14px}.mfit-header .brand{font-size:1.3rem}
  .mfit-account{gap:10px;flex-wrap:wrap;justify-content:flex-end;max-width:100%}
  .mfit-header .demo-tag{display:none}
  .mfit-account-button{font-size:.65rem}
  .mfit-nav{scrollbar-width:thin;max-width:100%}
  .mfit-nav :is(button,a){min-width:62px;min-height:55px}
  .mfit-main{width:auto;margin-left:max(12px,env(safe-area-inset-left));margin-right:max(12px,env(safe-area-inset-right))}
  .page-heading{flex-wrap:wrap;gap:12px}.page-heading>.button{max-width:100%;white-space:normal}
  dialog{width:calc(100% - 16px);border-radius:12px}
  .modal-header{padding:14px 16px;gap:10px}.modal-header h2{font-size:1rem}
  .modal-content{padding:18px 16px max(20px,env(safe-area-inset-bottom))}
  .form-grid{grid-template-columns:1fr;gap:12px}
  .form-actions>.button,.form-actions>button{flex:1 1 160px;white-space:normal;justify-content:center}
  .editor-exercise{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .editor-exercise>div:first-child,.editor-exercise>.editor-note,.editor-exercise>.exercise-method-tools{grid-column:1/-1}
  .editor-exercise>.icon-button{justify-self:end}
  .editor-tools{display:flex;flex-wrap:wrap;gap:8px}
  .editor-tools>.button{flex:1 1 130px}
  .method-extra{padding:10px}.technique-stage{padding:12px}
  .mfit-library-search{display:flex;flex-wrap:wrap;gap:10px}
  .mfit-library-search>*{flex:1 1 180px;max-width:100%}
  .progress-photo-compare{gap:10px}
  .user-settings{position:fixed;top:max(82px,calc(70px + env(safe-area-inset-top)));right:max(12px,env(safe-area-inset-right));max-height:calc(100dvh - 105px);overflow:auto}
  .user-settings:before{display:none}
}
@media(max-width:380px){.mfit-header-top>.brand{flex-basis:100%}.mfit-account{width:100%;justify-content:space-between}.mfit-nav :is(button,a){min-width:58px;font-size:.7rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.days-stepper{display:grid;grid-template-columns:minmax(0,1fr) 44px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.days-stepper output{display:flex;align-items:center;min-height:88px;padding:12px 16px;font-size:1rem;font-weight:600}.days-stepper-arrows{display:grid;grid-template-rows:44px 44px;border-left:1px solid var(--line)}.days-stepper-arrows button{min-height:44px;padding:0;font-size:.75rem}.days-stepper-arrows button+button{border-top:1px solid var(--line)}.days-stepper-arrows button:hover:not(:disabled){background:#2599f71a}.days-stepper output:focus-visible{outline:2px solid #2599f7;outline-offset:-3px}

.workout-setup{display:grid;gap:20px}.workout-setup h3,.workout-exercises-heading{font-size:1rem;margin:0 0 4px}.workout-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.workout-permission{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:8px}.workout-permission legend{font-size:.85rem;font-weight:600;line-height:1.5;padding:0 4px}.workout-permission small{display:block;margin-top:10px;color:var(--muted);line-height:1.5}.workout-yes-no{display:flex;gap:10px}.workout-yes-no label{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;cursor:pointer}.workout-yes-no input{margin:0}.workout-yes-no label:has(input:checked){border-color:#2599f7;background:#2599f715}.workout-exercises-heading{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.workout-library-extras{margin-top:22px;border:1px solid var(--line);border-radius:8px;padding:14px}.workout-library-extras summary{font-size:.85rem;cursor:pointer;font-weight:600}.workout-library-extras[open] summary{margin-bottom:20px}.workout-summary{padding:12px 20px;font-size:.85rem;color:var(--muted)}@media(max-width:600px){.workout-permissions{grid-template-columns:1fr}.workout-setup{gap:16px}.workout-permission{padding:12px}}

.online-assessment{width:min(100% - 32px,760px);margin:24px auto;padding-bottom:40px}.online-assessment header{margin-bottom:24px}.online-assessment .panel{margin-bottom:20px}.online-assessment li{margin:12px 0;line-height:1.6}.online-assessment .field{margin:20px 0}.online-assessment [type=submit]{width:100%;min-height:48px}.online-assessment input[type=file]{max-width:100%}.online-assessment .assessment-photo-slot{min-width:0}

.student-phone-input{display:flex;gap:10px;align-items:center}.student-phone-input>.input{flex:1;min-width:0}.student-phone-input .student-whatsapp{margin:0;min-width:44px;min-height:44px}.student-whatsapp:disabled{opacity:.4;cursor:default}.student-form-heading{margin:24px 0 16px}.student-personal-contact{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;font-size:.85rem}.student-personal-contact>span{overflow-wrap:anywhere}.student-personal-contact .student-whatsapp{margin:0;min-width:44px;min-height:44px}

.exercise-notes summary,.workout-guidance summary{cursor:pointer;font-weight:600;color:#286494}.exercise-notes p,.workout-guidance p{white-space:pre-wrap;line-height:1.6}.workout-guidance p{margin-top:14px}
@media(max-width:760px){.session .exercise{display:grid!important;grid-template-columns:24px 56px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:18px 0}.session .exercise>*{min-width:0}.session .exercise-index{grid-column:1;grid-row:1}.session .workout-exercise-photo{grid-column:2;grid-row:1;width:56px;height:56px;object-fit:contain}.session .exercise-name{grid-column:2/-1;grid-row:1;width:auto!important;overflow-wrap:normal!important;word-break:normal!important}.session .has-photo .exercise-name{grid-column:3}.session .exercise-name strong{display:block;font-size:1rem;line-height:1.4;word-break:normal;overflow-wrap:break-word}.session .exercise-name p{font-size:.85rem;line-height:1.5}.session .exercise-dose{grid-column:2/-1;text-align:left!important;display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:.9rem}.session .exercise-dose small{margin:0}.session .execution-control{grid-column:1/-1;margin:4px 0 0;display:block}.session .execution-control .button{width:100%;min-height:44px}.session .technique-view{grid-column:1/-1}.exercise-notes{margin-top:8px;font-size:.85rem}.completion-control{display:flex;flex-direction:column;align-items:stretch;gap:12px}.completion-control .button{width:100%;white-space:normal}.rest-active .content{padding-bottom:200px!important}.rest-clock{bottom:82px!important;left:12px;right:12px;max-width:none;justify-content:center;font-size:.8rem;padding:8px 10px}.rest-clock output{font-size:1.15rem}}

.execution-hint{font-size:.85rem;color:#777f90;margin:8px 0}.execution-help{font-size:.8rem;margin:8px 0 14px;color:#53647a}.execution-help summary{cursor:pointer;font-weight:600}.execution-help p{line-height:1.5;margin-top:8px}.execution-set{margin:12px 0}#execution-form>p:first-child{font-size:.9rem;line-height:1.5}

/* Completion remains visible in the exercise card and series recorder. */
.session .exercise:has(.execution-control.is-completed),.execution-set:has(input[data-measure="completed"]:checked),.completion-control.is-completed{background:#ecfdf3;border-color:#86d7a4;box-shadow:inset 4px 0 #16804a;border-radius:10px}
.session .exercise:has(.execution-control.is-completed){padding-left:12px!important;padding-right:12px!important}
.button.execution-done{background:#16804a;color:#fff;border:1px solid #16804a}.button.execution-done:hover{background:#116539;border-color:#116539}
.completion-control.is-completed>span{color:#146c3e;font-weight:700}
html[data-theme="dark"] .session .exercise:has(.execution-control.is-completed),html[data-theme="dark"] .execution-set:has(input[data-measure="completed"]:checked),html[data-theme="dark"] .completion-control.is-completed{background:#153e2d;border-color:#338b5c;color:#e0f9e9}
html[data-theme="dark"] .completion-control.is-completed>span{color:#9de6b9}

.login-roles{display:flex;gap:12px;flex-wrap:wrap;border:0;padding:0;margin:0 0 22px}.login-roles legend{font-size:.85rem;margin-bottom:10px;color:var(--muted)}.login-roles label{display:flex;align-items:center;gap:8px;flex:1;min-width:130px;border:1px solid var(--line);padding:12px;border-radius:9px;cursor:pointer}.login-roles label:has(input:checked){border-color:#168cec;background:#eaf5ff;color:#1268a5;font-weight:700}.login-roles input{accent-color:#168cec}.user-trigger-copy small{white-space:nowrap}html[data-theme="dark"] .login-roles label:has(input:checked){background:#203e5b;color:#e3f2ff}

.access-role{display:inline-flex;align-items:center;padding:5px 9px;border-radius:6px;background:#ffffff18;border:1px solid #ffffff35;color:#e8f4ff;font-size:.75rem;font-weight:600;white-space:nowrap}.mfit-greeting{flex-wrap:wrap}

.subscription-status{margin-bottom:22px;display:grid;gap:14px}.subscription-status h2{margin:0}.subscription-status .button{justify-self:start}.subscription-price{font-size:1.6rem;font-weight:700}.subscription-price small{font-size:.85rem;font-weight:400}.subscription-invoice{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.subscription-invoice p{margin:6px 0;font-size:.85rem}.subscription-invoice>div:last-child{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:500px){.subscription-invoice{align-items:flex-start;flex-direction:column}.subscription-status .button{width:100%;white-space:normal}}

.service-plan-card{margin:18px 0;display:grid;gap:12px}.service-plan-card h2{font-size:1.1rem}.service-plan-description{white-space:pre-wrap;font-size:.9rem;line-height:1.6}

.dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 20px}.dashboard-shortcuts>a{min-width:0;padding:18px 14px}.dashboard-shortcuts span{min-width:0}.dashboard-shortcuts strong{line-height:1.4}.dashboard-shortcuts small{line-height:1.4}@media(max-width:650px){.dashboard-shortcuts{grid-template-columns:1fr}}

.mfit-header .professional-logo{width:58px;height:48px;object-fit:contain;background:#fff;border-radius:7px;padding:3px;flex-shrink:0}.professional-name{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.2rem;letter-spacing:0}.professional-branding{margin-top:22px;display:grid;gap:14px}.professional-branding form{display:grid;gap:16px}.branding-preview{width:180px;height:100px;background:#f3f6fa;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;color:#6c7e90;font-size:.85rem}.branding-preview img{width:100%;height:100%;object-fit:contain;padding:5px}@media(max-width:650px){.professional-name{max-width:130px;font-size:1rem}.mfit-header .professional-logo{width:42px;height:40px}}

.optional-limitations{border:1px solid var(--line);border-radius:9px;padding:14px}.optional-limitations summary{cursor:pointer;font-weight:600}.optional-limitations[open] summary{margin-bottom:14px}

#specific-exercise-list[hidden]{display:none!important}
/* Personal identity uses validated color tokens. Semantic warning/completion colors remain intact. */
.branding-color-fields{border:1px solid var(--line);border-radius:10px;padding:16px;display:grid;gap:14px;min-width:0}.branding-color-fields legend{font-weight:700;padding:0 6px}.branding-color-fields>p,.branding-color-preview>small{font-size:.85rem;line-height:1.6;color:var(--muted)}.brand-color-presets{display:flex;gap:8px;flex-wrap:wrap}.brand-color-row{display:grid;grid-template-columns:minmax(130px,1fr) 52px 112px;align-items:center;gap:10px}.brand-color-row label{font-size:.9rem}.brand-color-row input[type=color]{width:48px;height:42px;padding:3px;border:1px solid var(--line);border-radius:7px;cursor:pointer}.brand-color-row input[data-brand-hex]{font-family:Consolas,monospace;text-transform:uppercase;min-width:0}.branding-color-preview{display:grid;gap:12px}.branding-palette-preview{border:1px solid #cad4df;border-radius:12px;overflow:hidden;background:#fff;color:#182739}.brand-preview-header{display:flex;align-items:center;gap:10px;padding:18px;background:var(--brand-header);color:var(--brand-on-header)}.brand-preview-header strong{color:var(--brand-on-header)!important;overflow-wrap:anywhere}.brand-preview-mark{display:grid;place-items:center;border:1px solid currentColor;border-radius:7px;width:36px;height:36px;flex-shrink:0}.brand-preview-header img{width:42px;height:40px;object-fit:contain;background:#fff;border-radius:5px}.brand-preview-header [hidden]{display:none!important}.brand-preview-menu{display:flex;gap:10px;padding:10px 18px;background:var(--brand-menu);color:var(--brand-on-menu);font-size:.85rem}.brand-preview-body{display:grid;gap:12px;padding:18px}.brand-preview-body strong{color:#182739!important}.brand-preview-body p{color:#435469;font-size:.85rem}.brand-preview-button{display:inline-flex;justify-self:start;padding:11px 15px;border-radius:8px;background:var(--brand-primary);color:var(--brand-on-primary);font-size:.85rem;font-weight:700}
html[data-brand-colors] .mfit-header{background:var(--brand-header);color:var(--brand-on-header)}
html[data-brand-colors] .mfit-header :is(.brand,.mfit-account-button,.user-trigger,.access-role){color:var(--brand-on-header)}
html[data-brand-colors] .user-trigger{border-color:var(--brand-header-muted)}
html[data-brand-colors] .user-trigger-copy small{color:var(--brand-header-muted)}
html[data-brand-colors] .access-role{border-color:var(--brand-header-muted);background:transparent}
html[data-brand-colors] .mfit-header .brand-mark{background:var(--brand-primary);color:var(--brand-on-primary)}
html[data-brand-colors] .mfit-nav{background:var(--brand-menu);border-radius:10px 10px 0 0;padding:5px 5px 0}
html[data-brand-colors] .mfit-nav :is(button,a){background:transparent;color:var(--brand-on-menu)}
html[data-brand-colors] .mfit-nav :is(button,a).active{background:var(--brand-primary);color:var(--brand-on-primary)}
html[data-brand-colors] :is(.mfit-app,dialog) .button.primary{background:var(--brand-primary);border-color:var(--brand-primary);color:var(--brand-on-primary)}
html[data-brand-colors] :is(.mfit-app,dialog) .button.primary:hover{background:var(--brand-primary-hover);border-color:var(--brand-primary-hover)}
html[data-brand-colors] .mfit-app :is(.tabs,.assessment-submenu){background:var(--brand-menu);color:var(--brand-on-menu)}
html[data-brand-colors] .mfit-app .tabs :is(button,a){color:var(--brand-on-menu)}
html[data-brand-colors] .mfit-app :is(.tabs :is(button,a).active,.assessment-submenu button[aria-selected=true]){background:var(--brand-primary);color:var(--brand-on-primary)}
html[data-brand-colors] .mfit-main a:not(.button):not(.tabs a):not(.panel){color:var(--brand-link)}
html[data-brand-colors] :is(.mfit-app,dialog) .button.ghost{color:var(--brand-link)}
html[data-brand-colors] .student-welcome{background:var(--brand-soft);border-color:var(--brand-primary)}
html[data-brand-colors] .student-welcome :is(h2,p,.eyebrow){color:var(--brand-on-soft)}
html[data-brand-colors] :is(.mfit-app,dialog) :is(input,select,textarea,button,a):focus-visible{outline-color:var(--brand-link)}
html[data-brand-colors] :is(.mfit-app,dialog) :is(input[type=checkbox],input[type=radio]){accent-color:var(--brand-primary)}
html[data-brand-colors][data-theme=dark] :is(.mfit-main a:not(.button):not(.tabs a):not(.panel),.mfit-app .button.ghost,dialog .button.ghost){color:var(--brand-link-dark)}
html[data-brand-colors][data-theme=dark] .student-welcome{background:var(--brand-soft-dark)}
html[data-brand-colors][data-theme=dark] .student-welcome :is(h2,p,.eyebrow){color:var(--brand-on-soft-dark)}
html[data-brand-colors][data-theme=dark] :is(.mfit-app,dialog) :is(input,select,textarea,button,a):focus-visible{outline-color:var(--brand-link-dark)}
@media(max-width:500px){.brand-color-row{grid-template-columns:minmax(0,1fr) 48px 100px;gap:7px}.brand-color-fields{padding:12px}.brand-color-presets .button{flex:1}.brand-preview-header{padding:14px}}
html[data-brand-colors] .mfit-header .demo-tag{color:var(--brand-on-header)}
html[data-brand-colors] :is(.mfit-shortcut-icon,.mfit-tile-icon,.dashboard-count.has-items,.session-letter){background:var(--brand-soft);color:var(--brand-on-soft)}
html[data-brand-colors][data-theme=dark] :is(.mfit-shortcut-icon,.mfit-tile-icon,.dashboard-count.has-items,.session-letter){background:var(--brand-soft-dark);color:var(--brand-on-soft-dark)}

.volume-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.volume-cards>div{background:var(--surface-soft,#f3f8fc);border:1px solid var(--border,#dce6ef);padding:14px;border-radius:12px;min-width:0}.volume-cards span{display:block;font-size:.85rem}.volume-cards strong{display:block;font-size:1.35rem;margin-top:8px;overflow-wrap:anywhere}.volume-cards small{font-size:.8rem}@media(max-width:480px){.volume-cards{gap:6px}.volume-cards>div{padding:10px 7px}.volume-cards strong{font-size:1.1rem}}

.coach-sidebar>summary{display:none}.coach-sidebar>nav{display:block;position:fixed;inset:0 auto 0 0;width:246px;overflow-y:auto;background:var(--brand-header,#25394f);color:var(--brand-on-header,white);padding:24px 14px;z-index:80}.coach-layout{padding-left:246px}.coach-layout .mfit-nav{display:none}.sidebar-brand{display:block;font-size:1.35rem;font-weight:700;padding:12px;color:inherit}.sidebar-group{margin:14px 0}.sidebar-group>summary{padding:12px;cursor:pointer;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em}.sidebar-group a{display:flex;gap:12px;align-items:center;padding:12px;border-radius:10px;color:inherit;text-decoration:none}.sidebar-group svg{width:20px;height:20px}.sidebar-group a[aria-current=page]{background:rgba(255,255,255,.18);font-weight:700}.coach-sidebar:not([open])>nav{display:block}@media(max-width:900px){.coach-layout{padding-left:0}.coach-sidebar>summary{display:block;position:fixed;left:12px;bottom:14px;z-index:95;border-radius:24px;background:var(--brand-primary,#2599f7);color:var(--brand-on-primary,white);padding:12px 18px;box-shadow:0 3px 20px #0003;cursor:pointer}.coach-sidebar:not([open])>nav{display:none}.coach-sidebar[open]>nav{box-shadow:0 0 0 100vmax #0007;width:min(82vw,300px);padding-bottom:85px}.coach-layout .mfit-main{padding-bottom:90px}}

.library-folder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0}.library-folder-grid .button{text-align:left;white-space:normal}.method-reference{margin-top:16px}.method-reference h3{font-size:1rem}.exercise-gallery .exercise-photo{height:150px}
.rules-limits{grid-column:1/-1;border:1px solid var(--border,#dce6ef);border-radius:12px;padding:18px;gap:12px;background:var(--surface-soft,#f7fafc)}.rules-limits h3{margin:0;font-size:1rem}.rules-limits p{margin:0}.rules-limits small{display:block;font-size:.8rem;line-height:1.6}.rules-rep-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:end}.rules-rep-range .field{margin:0}.rules-range-separator{padding-bottom:12px;color:var(--text-muted,#6e7288)}.rules-set-options{border-top:1px solid var(--border,#dce6ef);padding-top:14px}.rules-set-options summary{cursor:pointer;font-weight:600;line-height:1.5}.rules-set-options label{display:block;margin:14px 0 8px}.rules-set-options small{margin-top:10px}#rules-form>.form-grid>.full{grid-column:1/-1}#rules-form .check-field{align-items:flex-start}#rules-form .check-field input{flex-shrink:0;margin-top:4px}@media(max-width:500px){.rules-limits{padding:14px}.rules-rep-range{gap:8px}.rules-rep-range label{font-size:.82rem}.rules-range-separator{font-size:.8rem}}
.execution-previous{display:flex;flex-direction:column;gap:6px;background:#eff7ff;border:1px solid #cde2f5;border-radius:12px;padding:12px;margin:12px 0;font-size:.85rem}
.execution-stepper{display:grid;grid-template-columns:44px minmax(48px,1fr) 44px;align-items:center;gap:4px}.execution-stepper:has(input:only-child){grid-template-columns:1fr}.execution-stepper button{min-width:44px;min-height:44px;border:1px solid #d9e2ed;border-radius:8px;background:#f4f7fb;color:#24394d;font-size:1.2rem;cursor:pointer}.execution-stepper button:focus-visible{outline:3px solid #2697ee;outline-offset:2px}.execution-stepper input{text-align:center}
@media(max-width:600px){#execution-form .execution-set{grid-template-columns:repeat(2,minmax(0,1fr))}#execution-form .execution-measure:last-of-type{grid-column:1/-1}#execution-form .execution-set .check-field{grid-column:1}#execution-form .execution-set>[data-action="execution-rest"]{grid-column:2}.execution-stepper{grid-template-columns:44px minmax(38px,1fr) 44px;gap:2px}}
@media(max-width:360px){#execution-form .execution-set{grid-template-columns:1fr}#execution-form .execution-set>[data-action="execution-rest"]{grid-column:1}}
html[data-theme="dark"] .execution-previous,html[data-theme="dark"] .execution-stepper button{background:#1b3044;color:#e5eef8;border-color:#39516a}
.execution-set{grid-template-columns:repeat(2,minmax(0,1fr))}.execution-set .execution-measure:has([data-measure="seconds"]){grid-column:1/-1;max-width:180px}
.guided-execution [hidden]{display:none!important}.guided-progress,.session-progress{padding:12px;border-radius:10px;background:#eff7ff;font-size:.9rem;font-weight:600;margin:12px 0}.session-progress progress{display:block;width:100%;height:10px;margin-top:8px;accent-color:#16804a}.guided-controls{display:flex;gap:10px;margin:14px 0}.guided-controls .primary{flex:1}.guided-rest{padding:20px;border:1px solid #cde2f5;border-radius:14px;text-align:center;margin:14px 0}.guided-rest output{display:block;font-size:2.8rem;font-weight:700;font-variant-numeric:tabular-nums;margin:12px}.guided-rest .button{margin:4px}.guided-feedback{border:1px solid #cde2f5;border-radius:12px;padding:14px;margin:16px 0}.guided-feedback legend{font-weight:700}.guided-feedback p{font-size:.8rem}.guided-feedback label{display:inline-flex;align-items:center;gap:6px;border:1px solid #d9e2ed;border-radius:8px;padding:12px;margin:4px;cursor:pointer}.guided-feedback label:has(input:checked){background:#e7f8ed;border-color:#16804a}.guided-execution .execution-set .check-field{display:none}.guided-execution .execution-set>[data-action="execution-rest"]{grid-column:1/-1}.guided-execution .form-actions{margin-top:20px}html[data-theme="dark"] .guided-progress,html[data-theme="dark"] .session-progress{background:#1b3044;color:#e5eef8}
.guided-execution .execution-set>.execution-hint{grid-column:1/-1;margin:0}.guided-progress.is-completed{background:#e7f8ed;color:#116539}

.guided-method-overview{padding:14px;border-radius:12px;background:#edf6ff;margin:12px 0}.guided-method-overview p{margin:8px 0;font-size:.9rem}.guided-total{padding:12px;text-align:center;border-radius:10px;background:#f4f6f8;font-size:.9rem}.drop-reduction{font-size:.75rem;font-weight:400}.guided-execution .execution-set{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guided-execution .execution-set .execution-measure{min-width:0}.guided-execution .execution-set .execution-measure:last-of-type{grid-column:auto}.guided-execution .execution-stepper{grid-template-columns:36px minmax(35px,1fr) 36px}.guided-execution .execution-set:first-of-type{background:#edf6ff;border-color:#73aaca}.guided-feedback:has(input[value="heavy"]:checked){border-color:#b34747}.guided-feedback:has(input[value="right"]:checked){border-color:#ae7b1d}.guided-feedback:has(input[value="easy"]:checked){border-color:#16804a}html[data-theme="dark"] .guided-method-overview,html[data-theme="dark"] .guided-total,html[data-theme="dark"] .guided-execution .execution-set:first-of-type{background:#1b3044;color:#e5eef8}

/* Esforço: as três respostas permanecem na mesma fileira, inclusive no celular. */
.guided-feedback{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}.guided-feedback>p,.guided-feedback>div,.guided-feedback>button{grid-column:1/-1}.guided-feedback>label{display:flex;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:44px;margin:0;padding:10px 4px;white-space:nowrap;font-size:clamp(.7rem,3.1vw,.875rem)}.guided-feedback>label input{flex:0 0 auto;margin:0;width:14px;height:14px}.execution-exercise-heading strong{display:block;font-size:1rem}.execution-exercise-heading br{display:none}.execution-exercise-heading .muted{font-size:.8125rem}

@media(max-width:360px){.guided-feedback{padding:10px 6px;gap:3px}.guided-feedback>label{font-size:.65rem;gap:2px;padding:10px 2px}.guided-feedback>label input{width:12px;height:12px}}

.program-session-list{padding-left:20px;line-height:1.7;margin:12px 0}.program-changes li{margin:8px 0;overflow-wrap:anywhere}.editor-exit-guard{position:relative;z-index:1;margin-bottom:18px}.mfit-library-search{flex-wrap:wrap}.mfit-library-search .search-box{flex:1 1 240px}.mfit-library-search select{flex:1 1 180px;min-width:0;max-width:100%}.mfit-library-search .check-field{flex:1 1 150px}

.execution-set .execution-measure[hidden]{display:none!important}

/* Compact vertical reference bands, shared across assessment measurements. */
.reference-vertical{list-style:none;margin:14px 0;padding:0;display:grid;gap:5px;width:100%;max-width:440px}.reference-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border,#dce4ed);border-radius:8px;min-width:0;background:var(--surface,#fff)}.reference-row>span:nth-child(2){flex:1;min-width:0}.reference-row strong{font-size:13px;display:block}.reference-row small{display:block;font-size:12px}.reference-color{width:7px;align-self:stretch;border-radius:6px;background:#2881b8}.reference-row.adequate .reference-color{background:#208453}.reference-row.attention .reference-color{background:#b77a0c}.reference-row.high .reference-color{background:#b84545}.reference-row.is-current{border:2px solid currentColor;font-weight:700}.reference-marker{white-space:nowrap;font-size:12px}.reference-source{margin-top:10px;font-size:12px}.reference-source summary{cursor:pointer}.reference-source p{font-size:12px}.measurement-indicator .reference-vertical{margin:10px 0}.reference-row small{color:inherit;opacity:.8}

.assessment-value-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin:12px 0}.assessment-value-summary article{padding:12px;border:1px solid var(--border,#dce4ed);border-radius:10px}.assessment-value-summary strong,.assessment-value-summary small{display:block}.assessment-value-summary strong{font-size:20px;margin-top:5px}

/* IMC: silhuetas leves, sem imagens externas, com identificação textual. */
.bmi-silhouettes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:16px 0;align-items:stretch}.bmi-person{min-width:0;text-align:center;border:2px solid transparent;border-radius:10px;padding:5px 3px;background:var(--surface,#fff);color:var(--text,#25394f)}.bmi-person svg{display:block;width:100%;height:120px;color:var(--bmi-color);margin:auto}.bmi-person strong{display:block;font-size:.72rem;line-height:1.4;border-top:5px solid var(--bmi-color);padding-top:7px;overflow-wrap:anywhere}.bmi-person small{display:block;font-size:.7rem;line-height:1.4;margin-top:4px}.bmi-current{display:block;min-height:28px;font-size:.68rem;font-weight:700;line-height:1.3}.bmi-person.is-current{border-color:var(--bmi-color);box-shadow:0 0 0 1px var(--bmi-color)}.bmi-silhouettes:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.bmi-silhouettes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bmi-person svg{height:100px}.bmi-person strong{font-size:.78rem}.bmi-person small{font-size:.75rem}}

/* Volume remains readable with dark theme and custom brand colors. */
html[data-theme="dark"] .volume-cards>div{background:#22364b;border-color:#456078;color:#edf5ff}
html[data-theme="dark"] .volume-cards span{color:#c5d6e8}
html[data-theme="dark"] .volume-cards :is(strong,small){color:#edf5ff}
#execution-form>[data-action="execution-copy-reps"]{margin:8px 0 8px 8px}
