/* New navigation controls have no footprint in the approved desktop layout. */
.ms-v28-page .nav-toggle,
.ms-v28-page .menu .nav-mobile-access { display: none; }

@media (max-width: 760px) {
  .ms-v28-page .nav { grid-template-columns: minmax(0, 1fr) auto; }
  .ms-v28-page .nav.is-mobile-menu-ready .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #a5d3ee;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #dff6ff);
    color: #123565;
    box-shadow: 0 2px 12px #1a9bde24, inset 0 1px #fff;
    cursor: pointer;
    font-size: 25px;
  }
  .ms-v28-page .nav-toggle:focus-visible,
  .ms-v28-page .menu a:focus-visible { outline: 3px solid #0875e7; outline-offset: 3px; }
  .ms-v28-page .menu {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 6px;
    padding: 12px 0 0;
    margin-top: 8px;
    border-top: 1px solid #bfdaec;
    white-space: normal;
  }
  .ms-v28-page .nav.is-mobile-menu-ready:not(.is-mobile-menu-open) .menu { display: none; }
  .ms-v28-page .menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 8px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.35;
  }
  .ms-v28-page .menu a.active { background: #e1f4fb; }
  .ms-v28-page .menu .nav-mobile-access {
    display: flex;
    color: #fff;
    background: linear-gradient(110deg, #0867f7, #00bdec);
    box-shadow: 0 3px 14px #008bf535;
  }

  /* Keep the video below the advantages throughout the mobile scroll. */
  .ms-v28-page .visual { margin-top: 24px; }
  .ms-v28-page .video-stage { margin: 0 -9px; }

  /* Readable demonstration controls; retain the desktop scale above 760 px. */
  .ms-c-home--wp-home .ms-product-window .pw-flow-tabs button {
    min-height: 60px;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    padding: 9px 4px;
  }
  .ms-c-home--wp-home .ms-product-window .pw-demo-line,
  .ms-c-home--wp-home .ms-product-window .pw-panel-description,
  .ms-c-home--wp-home .ms-product-window .pw-chat-body p,
  .ms-c-home--wp-home .ms-product-window .pw-agenda li,
  .ms-c-home--wp-home .ms-product-window .pw-result > div > p,
  .ms-c-home--wp-home .ms-product-window .pw-success { font-size: 14px; line-height: 1.5; }
  .ms-c-home--wp-home .ms-product-window .pw-chat-body time,
  .ms-c-home--wp-home .ms-product-window .pw-demo-card header small,
  .ms-c-home--wp-home .ms-product-window .pw-example,
  .ms-c-home--wp-home .ms-product-window .pw-source-note,
  .ms-c-home--wp-home .ms-product-window .pw-preview-label,
  .ms-c-home--wp-home .ms-product-window .pw-preview-label > span,
  .ms-c-home--wp-home .ms-product-window .pw-post small { font-size: 12px; }
  .ms-c-home--wp-home .ms-product-window .pw-sidebar button {
    min-height: 56px;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }
  .ms-c-home--wp-home .ms-product-window .pw-sidebar button i { flex-shrink: 0; }
  .ms-c-home--wp-home .ms-product-window .pw-import { font-size: 13px; min-height: 44px; white-space: normal; }
  .ms-c-home--wp-home .ms-product-window .pw-inventory-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .ms-c-home--wp-home .ms-product-window .pw-inventory-tabs button { font-size: 14px; min-height: 44px; }
  .ms-c-home--wp-home .ms-product-window table { table-layout: fixed; }
  .ms-c-home--wp-home .ms-product-window th,
  .ms-c-home--wp-home .ms-product-window td { padding: 12px 5px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
  .ms-c-home--wp-home .ms-product-window thead th { font-size: 12px; }
  .ms-c-home--wp-home .ms-product-window thead th:first-child { width: 46%; }
  .ms-c-home--wp-home .ms-product-window thead th:nth-child(2) { width: 21%; }
  .ms-c-home--wp-home .ms-product-window thead th:nth-child(3) { width: 33%; }
  .ms-c-home--wp-home .ms-product-window .pw-product-image,
  .ms-c-home--wp-home .ms-product-window tbody th .pw-product-symbol { display: block; width: 34px; height: 34px; margin: 0 0 6px; }
  .ms-c-home--wp-home .ms-product-window .pw-stock { font-size: 12px; padding: 3px 4px; white-space: normal; }
  .ms-c-home--wp-home .ms-product-window caption { font-size: 12px; line-height: 1.5; }
  .ms-c-home--wp-home .ms-product-window .pw-source-box > strong,
  .ms-c-home--wp-home .ms-product-window .pw-console-options strong,
  .ms-c-home--wp-home .ms-product-window .pw-onboarding h3 { font-size: 15px; }
  .ms-c-home--wp-home .ms-product-window .pw-source-box span { font-size: 12px; }
  .ms-c-home--wp-home .ms-product-window .pw-source-box:last-child > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .ms-c-home--wp-home .ms-product-window .pw-console-options small,
  .ms-c-home--wp-home .ms-product-window .pw-onboarding p,
  .ms-c-home--wp-home .ms-product-window .pw-social-tabs small,
  .ms-c-home--wp-home .ms-product-window .pw-setup { font-size: 14px; line-height: 1.5; }
  .ms-c-home--wp-home .ms-product-window .pw-faq-list summary { min-height: 56px; font-size: 16px; line-height: 1.4; }
  .ms-c-home--wp-home .ms-product-window .pw-faq-list details > p { font-size: 16px; line-height: 1.6; }
}
