
/* ReBrandMyAI — EIR request mobile composition R6-R7 */
.rmai-eir-request-scroll-cue,
.rmai-eir-request-hero-steps{display:none}

@media(max-width:680px){
  body.rmai-eir-request-page .flow-wrap{
    padding-top:30px;
  }

  body.rmai-eir-request-page .rmai-eir-request-mobile-hero{
    position:relative;
    box-sizing:border-box;
    min-height:calc(100svh - 74px - 30px);
    display:flex!important;
    flex-direction:column;
    gap:0;
    padding-bottom:56px;
  }

  /* Prevent the dynamic Proposed Scope card flashing in the hero before JS relocates it. */
  body.rmai-eir-request-page .rmai-eir-request-mobile-hero #requestSummary{
    display:none!important;
  }

  body.rmai-eir-request-page .rmai-eir-request-hero-steps{
    display:grid!important;
    gap:8px;
    margin:clamp(24px,4vh,34px) 0 0;
  }

  body.rmai-eir-request-page .rmai-eir-request-hero-step{
    box-sizing:border-box;
    display:grid;
    grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);
    align-items:center;
    gap:12px;
    width:100%;
    min-width:0;
    padding:10px 12px;
    border:1px solid rgba(96,154,255,.24);
    border-radius:11px;
    background:linear-gradient(135deg,rgba(14,31,58,.76),rgba(7,17,34,.72));
    box-shadow:inset 0 1px rgba(255,255,255,.025);
  }

  body.rmai-eir-request-page .rmai-eir-request-hero-step span{
    font-family:var(--mono,ui-monospace,SFMono-Regular,Menlo,monospace);
    font-size:.56rem;
    line-height:1.2;
    letter-spacing:.11em;
    text-transform:uppercase;
    color:#79c9ff;
  }

  body.rmai-eir-request-page .rmai-eir-request-hero-step strong{
    min-width:0;
    font-size:.8rem;
    line-height:1.25;
    color:#f0f5ff;
  }

  body.rmai-eir-request-page .rmai-eir-request-scroll-cue{
    display:flex!important;
    position:absolute;
    left:0;
    bottom:14px;
    margin:0!important;
    padding:0!important;
    z-index:5;
    opacity:1;
    transition:opacity .22s ease,transform .22s ease;
  }

  body.rmai-eir-request-page .rmai-eir-request-scroll-cue.is-rmai-dismissed{
    opacity:0!important;
    transform:translateY(5px);
    pointer-events:none!important;
  }

  /* The same live summary card is relocated here after package selection. */
  body.rmai-eir-request-page .rmai-eir-request-scope-card + #requestSummary{
    display:block!important;
    margin:14px 0 0;
  }
}
