/* Mobile */
@media (max-width: 768px) {
  /* Hamburger on the top-left; the TTS/dark/translate controls are fixed top-right */
  .navbar-toggle {
    float: left !important;
    margin-left: 15px;
    margin-right: 0;
  }

  .nav-tabs > li > a,
  .nav-pills > li > a {
    padding: 8px 12px;
  }

  /* WCAG 2.5.5 tap-target floor */
  .nav > li > a,
  .btn,
  .form-control {
    min-height: 44px;
  }

  pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    word-wrap: normal;
  }

  code {
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #f3f4f6;
  }

  .visNetwork,
  .visNetwork-output,
  .plotly,
  .js-plotly-plot,
  .html-widget-output,
  div[id$="_plot"],
  div[id$="_network_plot"] {
    max-height: 70vh !important;
  }

  .modal-body pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
