/* Plans · phone layout only (≤640px), switched on by js/plans-mobile.js (body.pl-m).
   Without the script the original sideways-scrolling table stays. */
@media (max-width:640px){
  /* Cover: text centred */
  html body.bj-unified .pl-hero .pl-hero-in,html body.bj-unified .pl-hero .pl-hero-in h1,html body.bj-unified .pl-hero .pl-hero-in p{text-align:center!important;margin-left:auto!important;margin-right:auto!important}

  /* Plan picker */
  html body.pl-m .pl-m-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;margin:0 0 4px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(132,218,206,.25)}
  html body.pl-m .pl-m-tab{min-height:46px;margin:0;padding:0 4px;border:0;border-radius:13px;background:transparent;color:#d6e4ee;font:inherit;font-size:15px;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s,color .2s}
  html body.pl-m .pl-m-tab[aria-selected="true"]{background:#69ead3;color:#062d51;font-weight:600}
  html body.pl-m .pl-m-tab:focus-visible{outline:2px solid #69ead3;outline-offset:3px}

  /* One column: no sideways scroll, no column backgrounds */
  html body.bj-unified.pl-m .pl-compare{padding-top:8px}
  html body.bj-unified.pl-m .pl-scroll{overflow:visible!important;margin:0!important;padding:0!important}
  html body.bj-unified.pl-m .pl-table{display:block;min-width:0!important;width:100%!important}
  html body.bj-unified.pl-m .pl-colbg,
  html body.bj-unified.pl-m .pl-head .pl-intro{display:none!important}

  /* Under the picker: the description of the chosen plan */
  html body.bj-unified.pl-m .pl-head{display:block!important;padding:10px 4px 0!important}
  html body.bj-unified.pl-m .pl-head .pl-tier{display:none!important;padding:0!important}
  html body.bj-unified.pl-m[data-pl-plan="Engage"] .pl-head .pl-tier:nth-child(2),
  html body.bj-unified.pl-m[data-pl-plan="Personalize"] .pl-head .pl-tier:nth-child(3),
  html body.bj-unified.pl-m[data-pl-plan="Evolve"] .pl-head .pl-tier:nth-child(4){display:block!important;text-align:center!important}
  html body.bj-unified.pl-m .pl-head .pl-tier .pl-tier-name{display:none!important}
  html body.bj-unified.pl-m .pl-head .pl-tier p{margin:0 auto!important;max-width:none!important;min-height:0!important;height:auto!important;white-space:normal!important;font-size:15px!important;line-height:1.5!important;color:#c5d6e3}

  /* Each module: its intro, then the features of the chosen plan (no 01–04 numbering) */
  html body.bj-unified.pl-m .pl-side .pl-num{display:none!important}
  html body.bj-unified.pl-m .pl-row{display:flex!important;flex-direction:column;gap:8px!important;padding:36px 0 30px!important}
  html body.bj-unified.pl-m .pl-side{position:static!important;width:auto!important;max-width:none!important;padding:0 0 10px!important}
  html body.bj-unified.pl-m .pl-cell{align-self:stretch!important;width:auto!important;max-width:none!important;margin:0!important}
  html body.bj-unified.pl-m[data-pl-plan="Engage"] .pl-cell:not([data-plan="Engage"]),
  html body.bj-unified.pl-m[data-pl-plan="Personalize"] .pl-cell:not([data-plan="Personalize"]),
  html body.bj-unified.pl-m[data-pl-plan="Evolve"] .pl-cell:not([data-plan="Evolve"]){display:none!important}

  /* Included feature: white card, + opens the detail */
  html body.bj-unified.pl-m .pl-f summary{min-height:52px;box-sizing:border-box;font-size:15px!important;font-weight:600!important;line-height:1.3!important;padding:8px 14px!important}
  html body.bj-unified.pl-m .pl-f ul{padding:2px 16px 14px 52px!important;gap:8px!important}
  html body.bj-unified.pl-m .pl-f[open] ul{padding-top:12px!important}
  html body.bj-unified.pl-m .pl-f li{font-size:14px!important;line-height:1.45!important}

  /* Points new in this plan: green only (no "New" badge). Points carried over from a smaller plan look like the rest. */
  html body.bj-unified.pl-m .pl-f li.is-p2,html body.bj-unified.pl-m .pl-f li.is-p3{color:#5c6b7a!important;font-weight:400!important}
  html body.bj-unified.pl-m .pl-f li.is-p2::before,html body.bj-unified.pl-m .pl-f li.is-p3::before{background:#5fd4bf!important}
  html body.bj-unified.pl-m .pl-f li.pl-m-li-new{color:#0f7368!important;font-weight:600!important}
  html body.bj-unified.pl-m .pl-f li.pl-m-li-new::before{background:#168f83!important}

  /* Not in this plan: not shown */
  html body.bj-unified.pl-m .pl-off{display:none!important}
}
