/* MMTNEXUS mobile polish (20261111). Phones only; desktop is untouched. */
@media (max-width:720px){
  html,body{overflow-x:hidden}

  /* Header: slimmer bar, balanced logo */
  .nx-header{height:60px!important}
  .nx-brand{gap:8px!important}
  .nx-brand>img:first-child{width:28px!important;height:28px!important}
  .nx-brand .nx-wordmark{height:13px!important}

  /* Hero: keep side margins, less empty space at the top */
  .nx-chat-hero{min-height:0!important;padding:26px 0 44px!important}
  .nx-chat-wrap{width:min(100% - 36px,860px)!important;margin-inline:auto!important;box-sizing:border-box}
  .nx-hero-pill{max-width:100%;box-sizing:border-box;margin:0 auto 18px!important;padding:5px 12px 5px 5px!important;gap:7px!important;font-size:10px!important;letter-spacing:.06em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  [dir=rtl] .nx-hero-pill{padding:5px 5px 5px 12px!important;letter-spacing:0!important;font-size:12px!important}
  .nx-hero-pill-ic{flex:none;width:22px!important;height:22px!important;font-size:12px!important}
  .nx-chat-title{font-size:clamp(34px,10.5vw,44px)!important;line-height:1.05!important;letter-spacing:-.05em!important;margin:0 0 12px!important}
  .nx-chat-sub{font-size:15px!important;line-height:1.55!important;margin:0 auto 22px!important;padding:0 4px}

  /* Composer: rounded card inside the margins */
  .nx-chat-box{border-radius:18px!important;padding:12px 12px 10px!important;margin:0!important;max-width:100%!important;box-sizing:border-box}
  .nx-chat-box textarea{font-size:16px!important;line-height:1.5!important;min-height:72px!important;padding:4px 4px!important}
  .nx-chat-row{flex-wrap:nowrap!important;align-items:center}
  .nx-chat-row .nx-chat-send.nx-chat-go{width:42px!important;height:42px!important;flex:none}

  /* Quick prompts: tidy two-column grid */
  .nx-chat-chips{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin:16px 0 0!important;max-width:none!important}
  .nx-chat-chips button{display:flex!important;align-items:center;gap:8px;min-height:44px;padding:10px 12px!important;border-radius:12px!important;font-size:13px!important;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff!important;border-color:#ece8e6!important}
  .nx-chat-chips button span{flex:none;display:inline-flex;margin:0!important}
  .nx-chat-chips button:active{background:#f6ece7!important;border-color:#e9c9bd!important}

  /* Sections below the hero */
  .tp-sec{padding-block:48px!important}
  .tp-sec h2{font-size:clamp(26px,7.6vw,32px)!important;line-height:1.15!important}
}
@media (max-width:360px){
  .nx-chat-chips{grid-template-columns:1fr}
  .nx-hero-pill{font-size:9px!important;letter-spacing:.03em!important}
}
