/* EP-H01 v1.0 — compact MyListing single-listing hero, mobile only.
   Companion to EP-S12 v2.2.0. All original native fields remain in DOM.
   Intentionally does not touch covers, logo, breadcrumbs, site header,
   CTA anchor width/handlers, main tabs or quick-action bar. */
@media (max-width: 767px) {
  body.single-listing.ep-h01-mounted .profile-name h1,
  body.single-listing.ep-h01-mounted .profile-name h2 {
    font-size: 21px !important;
    line-height: 1.16 !important;
    letter-spacing: -.015em !important;
    margin-bottom: 0 !important;
  }
  body.single-listing.ep-h01-mounted .ep-h01-original-meta-hidden {
    display: none !important;
  }
  body.single-listing.ep-h01-mounted .ep-h01-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 12px !important;
    padding: 0 !important;
  }
  body.single-listing.ep-h01-mounted .ep-h01-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 32px !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border: 1px solid #d8e6f1 !important;
    border-radius: 999px !important;
    background: #f8fbfe !important;
    color: #21435e !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    vertical-align: middle !important;
  }
  body.single-listing.ep-h01-mounted .ep-h01-chip--interactive {
    cursor: pointer;
  }
  body.single-listing.ep-h01-mounted .ep-h01-chip--interactive:focus-visible {
    outline: 2px solid #0879b9 !important;
    outline-offset: 2px !important;
  }
  body.single-listing.ep-h01-mounted .ep-h01-chip--status-on {
    background: #eefaf3 !important;
    border-color: #cfead9 !important;
    color: #167b39 !important;
  }
  body.single-listing.ep-h01-mounted .ep-h01-chip--status-off {
    background: #fff4f4 !important;
    border-color: #f0d0d0 !important;
    color: #b63a3a !important;
  }
  body.single-listing.ep-h01-mounted .ep-h01-chip--date {
    background: #f7fbff !important;
    color: #23557a !important;
  }

  /* Optional separate promo code, never moved or re-created. */
  body.single-listing.ep-h01-mounted .ep-h01-bonus {
    box-sizing: border-box !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding: 10px 12px !important;
    border-color: #efaaaa !important;
    border-radius: 10px !important;
  }

  /* Preserve approved EP-S12 CTA design and real native click targets. */
  body.single-listing.ep-h01-mounted .ep-h01-cover-actions
  .lmb-calltoaction.qa-internal-link {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
