/* DevHub v11 — mobile navigation and interaction guardrails. */
@media (max-width: 700px) {
  body.console-page .sidebar {
    position: sticky !important;
    top: 56px !important;
    z-index: 30 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 7px 10px !important;
    overflow: hidden !important;
    background: #0b0b0b !important;
    border-bottom: 1px solid #272522 !important;
  }
  body.console-page .sidebar #consoleNav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
  }
  body.console-page .sidebar #consoleNav::-webkit-scrollbar { display: none !important; }
  body.console-page .sidebar #consoleNav .nav-link {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 7px 11px !important;
    gap: 7px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow: visible !important;
    scroll-snap-align: start !important;
    pointer-events: auto !important;
    z-index: 1 !important;
  }
  body.console-page .sidebar #consoleNav .nav-link .nav-text {
    display: inline !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  body.console-page .sidebar #consoleNav .nav-link > span:first-child {
    display: inline-grid !important;
    flex: 0 0 15px !important;
    width: 15px !important;
    min-width: 15px !important;
  }
  body.console-page .sidebar #consoleNav .nav-link.active {
    z-index: 2 !important;
  }
  body.console-page .console-content {
    min-width: 0 !important;
    width: 100% !important;
    overflow: clip !important;
  }
  body.console-page .welcome {
    min-width: 0 !important;
  }
  body.console-page .welcome > div {
    min-width: 0 !important;
  }
  body.console-page .welcome h1,
  body.console-page .welcome p {
    overflow-wrap: anywhere !important;
  }
}
@media (min-width: 701px) {
  body.console-page .sidebar #consoleNav .nav-link { white-space: nowrap; }
}
