/* Mobiele flow (1.39.0): step 1 is search + stop names, the poster follows, personal details under the poster. Screen only. */
.mf-route,.mf-map-toggle,.mf-poster-actions{display:none}
@media(max-width:900px){
  /* Step 1: no route map by default, no per-stop fields, no "next steps" note (the poster is right below). */
  .mf-mobile .builder>.build-card:first-of-type>#map,
  .mf-mobile .builder>.build-card:first-of-type>.route-map-toggle,
  .mf-mobile .builder>.build-card:first-of-type>.helper,
  .mf-mobile .builder .qs-done,
  .mf-mobile .builder .country-art-picker>.helper:not(.qs-auto-country){display:none!important}
  .mf-mobile .builder>.build-card.mf-map-open>#map{display:block!important}
  .mf-mobile .builder>.build-card.mf-map-open>.route-map-toggle{display:block!important}
  .mf-mobile .builder>.build-card.mf-map-open>.helper{display:block!important}

  .mf-route{display:flex;flex-direction:column;gap:6px;list-style:none;margin:10px 0 4px;padding:0}
  .mf-route[hidden]{display:none}
  .mf-route li{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 10px;border:1px solid #e1d6c4;border-radius:10px;background:#fffaf1;font:600 15px/1.3 Arial,sans-serif;color:#2c2a26}
  .mf-route-n{flex:0 0 24px;height:24px;border-radius:50%;background:#a8823f;color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center}
  .mf-route-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .builder .mf-route-x{flex:0 0 auto;min-width:40px;min-height:40px;border:0;background:none;color:#7a6f61;font-size:22px;line-height:1;cursor:pointer}
  .builder .mf-map-toggle{display:inline-block;min-height:40px;margin:6px 0 2px;padding:0;border:0;background:none;color:#625a50;font:13px/1.4 Arial,sans-serif;text-decoration:underline;cursor:pointer}
  .qs-active .mf-map-toggle{display:none}

  /* Compact toolbar above the poster, so the poster sits higher on screen. */
  .mf-mobile .preview-side{padding-top:12px}
  .mf-mobile .preview-toolbar{flex-direction:row!important;flex-wrap:wrap;align-items:baseline!important;justify-content:space-between;gap:2px 14px!important;margin-bottom:8px}
  .mf-mobile .preview-toolbar>div:first-child{display:none!important}
  .mf-mobile .preview-toolbar .preview-protection-note{order:2;flex-basis:100%;font-size:11px!important;line-height:1.4!important;color:#7a6f61}
  .mf-mobile .preview-toolbar .export-tools{order:1;gap:0 16px;flex-wrap:nowrap!important}
  .mf-mobile .preview-toolbar .export-tools .text-btn{font-size:13px!important;padding:6px 0!important;min-height:32px}

  /* Under the poster. */
  .mf-poster-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:12px 0 4px}
  .mf-poster-actions .mf-add-more{min-height:44px;padding:10px 16px;border:1px solid #263f3d;border-radius:10px;background:#fffaf1;color:#263f3d;font:700 14px/1.2 Arial,sans-serif;cursor:pointer}
  .mf-poster-actions .mf-to-personal{color:#263f3d;font:700 14px/1.2 Arial,sans-serif}
  .preview-side .builder.mf-personal{padding:20px 0 8px;margin:8px 0 0;border-top:1px solid #d8cbb8;background:none;height:auto;max-height:none;overflow:visible;position:static}
  .mf-personal-eyebrow{margin:0 0 6px}
  .mf-personal .mf-personal-lead{margin:0 0 4px}
  .mf-personal .build-card h3{margin-top:0}
  #posterPersonal{scroll-margin-top:80px}
  /* Nothing to personalise, and no poster actions, before the first stop. */
  .mf-mobile:not(.mf-has-stops) .mf-poster-actions,
  .mf-mobile:not(.mf-has-stops) .mf-personal,
  .qs-active .mf-personal,.qs-active .mf-poster-actions{display:none!important}
}
