/* V150 — mobile-only density polish. Desktop's approved design is unchanged.
   All changes are layout-only: no card data, payment or trip-state logic. */
@media (max-width:640px){
  /* My Trip → Travelling With: horizontal Clubhouse-sized people cards. */
  .my-trip-crew.member-board{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  .my-trip-crew .member-slab{
    display:grid;
    grid-template-columns:108px minmax(0,1fr);
    grid-template-rows:auto;
    min-height:162px;
    height:auto;
    min-width:0;
    border-radius:12px;
  }
  .my-trip-crew .member-slab-photo{
    grid-column:1;
    grid-row:1;
    min-height:162px;
    height:auto;
    overflow:hidden;
  }
  .my-trip-crew .member-slab-body{
    grid-column:2;
    grid-row:1;
    box-sizing:border-box;
    min-width:0;
    min-height:162px;
    padding:9px 10px 8px;
    gap:1px;
  }
  .my-trip-crew .member-slab-meta{min-height:0;margin-bottom:2px}
  .my-trip-crew .member-slab-job{min-height:0;font-size:10px}
  .my-trip-crew .member-slab-city{min-height:16px;font-size:11px}
  .my-trip-crew .member-slab-quote-zone{
    min-height:0;
    max-height:34px;
    flex:0 1 auto;
    overflow:hidden;
  }
  .my-trip-crew .member-slab-quote{font-size:11px;line-height:1.24;margin:2px 0 3px}
  .my-trip-crew .member-slab-tags-zone{min-height:0;margin:3px 0}
  .my-trip-crew .member-slab-foot{min-height:0;padding-top:5px;font-size:9px;gap:5px}
  .my-trip-crew .trip-capsules .tcap{font-size:9px;padding:3px 5px}

  /* My Trip hero: remove surplus blank height, but grow for long trip names. */
  .my-trip-hero{height:auto;min-height:340px}
  .my-trip-hero .inner{
    height:auto;
    min-height:340px;
    padding:calc(var(--header-h) + 43px) 0 23px;
  }
  .my-trip-hero .trip-info-row{gap:6px;margin-top:12px}
  .my-trip-hero .trip-info-row span{padding:6px 8px;font-size:9px}

  /* My Trips: booking-record thumbnails need not dominate a phone viewport. */
  .my-trips-page .journey-card-v23 > img{height:145px;max-height:145px}
  .my-trips-page .journey-card-v23 > .copy{padding:11px 12px 12px}

  /* Passport: two stacked 520px pages were unnecessarily tall when empty. */
  .passport-book-v25.passport-paged .passport-cover-page{
    min-height:340px;
    padding:22px 23px;
  }
  .passport-book-v25.passport-paged .passport-record-page{
    min-height:340px;
    padding:20px 21px;
  }
  .passport-book-v25.passport-paged .passport-holder{margin-top:28px}
  .dashboard-passport-v25 .passport-cover-block{
    min-height:240px;
    padding:23px;
  }
  .dashboard-passport-v25 .passport-page-preview{padding:19px 20px}

  /* Milestones: slimmer award tiles while keeping descriptions readable. */
  .milestone-page .milestone-hero{padding:20px;gap:13px}
  .milestone-page .milestone-hero-icon{width:82px;height:82px}
  .milestone-page .milestone-hero-icon .icon svg{width:40px;height:40px}
  .milestone-page .milestone-hero h2{font-size:30px}
  .milestone-page .milestone-hero p{font-size:12px;line-height:1.5;margin-bottom:13px}
  .milestone-page .milestone-card{min-height:185px;padding:13px 11px}
  .milestone-page .milestone-icon{width:40px;height:40px;margin-bottom:9px}
  .milestone-page .milestone-icon .icon svg{width:20px;height:20px}
  .milestone-page .milestone-card h3{font-size:18px;margin:5px 0}
  .milestone-page .milestone-card p{font-size:10.5px;line-height:1.48;margin-bottom:10px}

  /* Post-trip Crew Tags: keep the existing side-by-side form card compact. */
  .crew-tags-page .crew-target-card{min-height:185px}
  .crew-tags-page .crew-target-photo{min-height:185px}
}

@media (max-width:360px){
  .my-trip-crew .member-slab{grid-template-columns:96px minmax(0,1fr)}
  .my-trip-crew .member-slab-body{padding:8px}
  .my-trip-crew .trip-capsules .tcap{font-size:8.5px}
}
