/* =====================================================================
 JobLik 0.33.469 — Native stage flow recovery
 Mobile sell-car only.
 No root/form geometry forcing, no stage observer, no post-click repair.
 ===================================================================== */

@media (max-width:760px){

  /* Keep native wizard stage sizing/visibility untouched. */
  html.j469-sell-car body.public-body #alw-form{
    overflow:visible!important;
  }

  /* Remove excessive gray separators only through outer spacing/background. */
  html.j469-sell-car body.public-body main.alw-v65,
  html.j469-sell-car body.public-body .alw.alw-v65{
    margin-top:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }

  html.j469-sell-car body.public-body .alw-progress-card{
    margin-top:0!important;
    margin-bottom:0!important;
  }

  /* Bottom action row:
     stays INSIDE native form flow. No fixed positioning. */
  html.j469-sell-car body.public-body #alw-form .alw-actions{
    display:grid!important;
    grid-template-columns:minmax(0,.82fr) minmax(0,.98fr) minmax(0,1.30fr)!important;
    gap:8px!important;

    position:sticky!important;
    bottom:0!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;

    z-index:40!important;
    width:100%!important;
    margin:8px 0 0!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important;

    background:rgba(255,255,255,.99)!important;
    border-top:1px solid rgba(239,110,22,.12)!important;
    box-shadow:0 -2px 7px rgba(0,0,0,.05)!important;
    transform:none!important;
  }

  html.j469-sell-car body.public-body #alw-form .alw-actions > button,
  html.j469-sell-car body.public-body #alw-form .alw-actions > a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    margin:0!important;
    padding:5px 6px!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    font-size:12px!important;
    line-height:1.2!important;
    text-align:center!important;
  }

  /* Runtime-marked equal map pair, without touching stage structure. */
  html.j469-sell-car body.public-body #alw-form .j469-map-pair{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    align-items:stretch!important;
  }

  html.j469-sell-car body.public-body #alw-form .j469-map-button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    height:74px!important;
    min-height:74px!important;
    max-height:74px!important;
    margin:0!important;
    padding:8px 10px!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    line-height:1.55!important;
    text-align:center!important;
  }

  /* Validation message stays above the in-flow action row. */
  html.j469-sell-car body.public-body #alw-toast{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:calc(72px + env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    z-index:2147482500!important;
    width:min(78vw,320px)!important;
    height:auto!important;
    max-height:none!important;
    pointer-events:none!important;
  }
}
