/* Client booking on narrow phones: release nested padding and align touch controls.
   Geometry only. Existing questions, values, handlers and payment flow are retained. */
@media(max-width:700px){
 html body.b123-ui.b234-public[data-guided321] :is(#details,#schedule,#client,#review).screen.active>.card{
  padding:0 0 12px!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-bottom321:not([hidden]){
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;gap:10px!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-bottom321>button{
  box-sizing:border-box!important;min-width:0!important;width:100%!important;
  min-height:52px!important;height:auto!important;margin:0!important;
  padding:12px 10px!important;border-radius:10px!important;
  font-size:16px!important;line-height:1.35!important;white-space:normal!important;
  overflow-wrap:break-word!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-options321{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;grid-auto-rows:minmax(62px,auto)!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-options321>.guided-option321{
  min-width:0!important;width:100%!important;min-height:62px!important;height:auto!important;
  margin:0!important;padding:12px!important;font-size:16px!important;line-height:1.45!important;
  white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-options321>.guided-option321:last-child:nth-child(odd){grid-column:1/-1!important}
 html body.b123-ui.b234-public[data-guided321] .guided-counter321{
  min-width:0!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-counter321>label{
  flex:1 1 130px!important;min-width:0!important;overflow-wrap:break-word!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-counter-buttons321{
  flex:0 0 auto!important;gap:6px!important;margin-inline-start:auto!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-counter-buttons321 button{
  box-sizing:border-box!important;width:44px!important;height:44px!important;min-height:44px!important;
 }
 html body.b123-ui.b234-public[data-guided321] .guided-counter-buttons321 input{width:44px!important}
 /* Moving pictograms keep their established full-width rows. */
 html body.b123-ui.b234-public[data-guided321] .guided-options321:has(img[src^="assets/moving351/"]){grid-template-columns:minmax(0,1fr)!important}
 html body.b123-ui.b234-public[data-guided321] .guided-options321:has(img[src^="assets/moving351/"])>.guided-option321{min-height:72px!important;padding:12px 16px!important}
}
@media(max-width:384px){
 html body.b123-ui.b234-public[data-guided321] .guided-options321{grid-template-columns:minmax(0,1fr)!important}
}
