/* Mobile refinements; the established v22 visual style stays in place. */
@media (max-width:699px){
  html{scroll-padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
  body.agent-v22{padding:0;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .phone-shell.agent-v22{min-height:100svh;padding-top:env(safe-area-inset-top,0px)}
  .agent-v22 #app{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
  .agent-v22 .bottom-nav{height:calc(78px + env(safe-area-inset-bottom,0px));padding:10px 12px calc(8px + env(safe-area-inset-bottom,0px));bottom:0;border-radius:0}
  .agent-v22 .bottom-nav button{min-height:48px;justify-content:center;touch-action:manipulation}
  .agent-v22 input:not([type=checkbox]):not([type=radio]),.agent-v22 select,.agent-v22 textarea{font-size:16px;min-width:0;scroll-margin-block:90px 130px}
  .agent-v22 input[type=date]{display:block;min-width:0;max-width:100%;min-height:46px}
  .agent-v22 .chips .chip,.agent-v22 .check,.agent-v22 .week-select button{min-height:44px;touch-action:manipulation}
  .agent-v22 .week-strip{grid-template-columns:repeat(7,minmax(40px,1fr));overflow-x:auto;overscroll-behavior-x:contain}
  .agent-v22 .section-title h2,.agent-v22 .exercise-top>div{min-width:0}
  .agent-v22 .buttons>button{overflow-wrap:anywhere}
  #fitness-toast{bottom:calc(100px + env(safe-area-inset-bottom,0px))}
}
