/* V4.6.8.36.48.1.55.30 - Mobile Form Density + Market Navigation Clarity
 * Mobile-only refinement. Desktop intentionally untouched.
 * - Removes the duplicated MARKET pseudo-label.
 * - Uses the real Market label as the single section label.
 * - Tightens request form controls without reducing touch usability.
 */
@media (max-width:760px){
  /* Market navigation: one clear section label followed by market pills. */
  body.emwh-public-standalone .emwh-public-market-tabs:before{content:none!important;display:none!important}
  body.emwh-public-standalone .emwh-public-market-tabs-label{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    min-height:32px!important;
    margin:0!important;
    padding:0 4px 0 2px!important;
    color:#647a8e!important;
    background:transparent!important;
    border:0!important;
    font-size:7.5px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:.10em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }
  body.emwh-public-standalone .emwh-public-market-tabs{
    align-items:center!important;
    gap:6px!important;
  }
  body.emwh-public-standalone .emwh-public-market-tab{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:32px!important;
    height:32px!important;
    padding:0 11px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
  }
  body.emwh-public-standalone .emwh-public-market-tab strong{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:21px!important;
    height:21px!important;
    padding:0 6px!important;
    border-radius:999px!important;
    line-height:1!important;
  }

  /* Commercial request forms: compact app density while preserving touch targets. */
  .emwh-public-request-dialog--compact>header{
    padding-top:13px!important;
    padding-bottom:9px!important;
  }
  .emwh-public-request-form.emwh-public-request-form--compact{
    padding-top:10px!important;
  }
  .emwh-public-request-context{
    margin-bottom:9px!important;
    padding:8px 10px!important;
  }
  .emwh-public-request-form.is-specific-request .emwh-public-request-identity-fields{
    gap:7px!important;
    margin-bottom:9px!important;
    padding:9px!important;
  }
  .emwh-public-request-grid.emwh-public-request-grid--compact{
    gap:8px!important;
  }
  .emwh-public-request-grid--compact label,
  .emwh-public-request-identity-fields label{
    gap:3px!important;
  }
  .emwh-public-request-grid--compact label>span,
  .emwh-public-request-identity-fields label>span{
    font-size:9px!important;
    line-height:1.15!important;
  }
  .emwh-public-request-grid--compact input,
  .emwh-public-request-grid--compact select,
  .emwh-public-request-identity-fields input{
    min-height:36px!important;
    height:36px!important;
    padding:6px 9px!important;
    border-radius:7px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }
  .emwh-public-request-grid--compact textarea{
    min-height:58px!important;
    padding:7px 9px!important;
    border-radius:7px!important;
    font-size:11px!important;
    line-height:1.3!important;
  }
  .emwh-public-target-price>div{
    grid-template-columns:minmax(0,1fr) 72px!important;
    gap:6px!important;
  }
  .emwh-public-request-form>footer{
    margin-top:9px!important;
    padding-top:8px!important;
  }
  .emwh-public-request-form>footer button{
    min-height:36px!important;
    height:36px!important;
  }
}

@media (max-width:390px){
  body.emwh-public-standalone .emwh-public-market-tabs-label{padding-left:1px!important;padding-right:3px!important}
  body.emwh-public-standalone .emwh-public-market-tab{padding-left:10px!important;padding-right:10px!important}
}
