/* LOCAL REVIEW ONLY — mobile containment/collision candidate, not approved for deployment.
   Do not hide document overflow: fix intrinsic sizing and reserve a clear CTA lane. */
.inlp,
.inlp-split,
.inlp-context,
.inlp-split > *,
.inlp-context > *,
.inlp-head > *,
.inlp-actions,
.inlp-roadmap > * {
  min-width: 0;
  max-width: 100%;
}
.inlp p,
.inlp h3,
.inlp h4,
.inlp-eyebrow,
.inlp-badge,
.inlp a,
.inlp-roadmap > * {
  overflow-wrap: anywhere;
}
.inlp a {
  white-space: normal;
  box-sizing: border-box;
}
@media (max-width: 860px) {
  .inlp-split,
  .inlp-context {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  /* Existing closed chat: 66px launcher, -4px rings scaled up to 1.45.
     A 30px edge inset contains that ring without clipping or changing backend.
     This override applies only on pages containing this integration. */
  body:has(#inli-learning) #slchat {
    right: max(30px, env(safe-area-inset-right));
  }
  /* Keep the French/teacher action hit areas left of the floating chat lane.
     At 393px, about 175–190px remains for a wrapping primary button. */
  .inlp-actions > a {
    width: calc(100% - 100px);
    min-width: 0;
    max-width: calc(100% - 100px);
    text-align: center;
    line-height: 1.5;
  }
  .inlp-roadmap b {
    margin-inline-end: 0;
  }
  .inlp-primary {
    padding-inline: 12px;
    min-height: 48px;
  }
  /* The institution information entry is outside .inlp-actions. */
  #inli-development .inlp-secondary {
    max-width: calc(100% - 100px);
    line-height: 1.5;
  }
}

/* LOCAL mobile tooltip follow-up: the proactive .tip gains .show after 3s.
   Suppress that prompt only; the .cl launcher and .cp dialog remain intact.
   display:none removes its dismiss button/tab stop and all hit-test boxes. */
@media (max-width: 520px) {
  body:has(#inli-learning) #slchat .tip,
  body:has(#inli-learning) #slchat .tip.show {
    display: none;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 520px) {
  body > canvas[aria-hidden="true"][style*="100vw"] {
    width: 100% !important;
  }
}


@media (max-width: 520px) {
  .ctaw .cta > a.btn.white {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 520px) {
  .ctaw .cta > a.btn.white {
    font-size: 14px;
    padding-inline: 12px;
    overflow-wrap: normal;
    word-break: normal;
  }
  .ctaw .cta > a.btn.white .ctaw-email-domain {
    white-space: nowrap;
  }
}
