.xfx-pwa-bottom{display:none}.xfx-shell .xfx-pwa-install{display:flex;align-items:flex-start;gap:12px;border:1px solid #dbe6f4;background:#fff;border-radius:12px;padding:13px;margin:12px 0;color:#132c4f}.xfx-pwa-install img{flex:none;width:44px;height:44px;border-radius:10px}.xfx-pwa-install>div{flex:1;min-width:0}.xfx-pwa-install strong{font-size:15px}.xfx-pwa-install p{font-size:12px;margin:4px 0;color:#526b8a}.xfx-pwa-install details{font-size:12px}.xfx-pwa-install summary{cursor:pointer;color:#075fc4;font-weight:650}.xfx-pwa-install [hidden]{display:none!important}.xfx-pwa-install [data-xfx-pwa-status]:empty{display:none}
@media(max-width:860px){.xfx-shell.xfx-pwa-mobile{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}.xfx-shell .xfx-pwa-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:90;align-items:stretch;justify-content:space-around;gap:2px;padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));background:#0b223e;border-top:1px solid #264a70;box-shadow:0 -3px 16px #0b223e20}.xfx-shell .xfx-pwa-bottom a,.xfx-shell .xfx-pwa-bottom button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:52px;padding:4px 1px;border:0;border-radius:8px;color:#dbe9fb!important;background:transparent!important;font:600 11px/1.2 system-ui;text-decoration:none!important;box-shadow:none!important;text-transform:none!important;position:relative}.xfx-shell .xfx-pwa-bottom svg{width:21px;height:21px;flex:none}.xfx-shell .xfx-pwa-bottom .active{background:#0868df!important;color:white!important}.xfx-shell .xfx-pwa-bottom .locked:after{content:'•';color:#ffe1a0;position:absolute;top:2px;right:15%;font-size:14px}.xfx-shell .xfx-pwa-bottom :focus-visible{outline:2px solid #8bd0ff;outline-offset:-2px}.xfx-shell.nav-open .xfx-pwa-bottom{visibility:hidden}.xfx-shell .xfx-pwa-install{flex-wrap:wrap}.xfx-shell .xfx-pwa-install button{margin-left:56px}.xfx-shell .xfx-pwa-install>div{flex-basis:calc(100% - 56px)}}

/* RC9.7.3: protect horizontal workspaces on narrow screens, allow native scrolling. */
@media(max-width:860px){.xfx-shell .xfx-content,.xfx-shell .xfx-journal-content,.xfx-shell .xfx-journal-layout{min-width:0}.xfx-shell .xfx-workspace .xfx-journal-nav.xfx-ws-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.xfx-shell .xfx-table-scroll,.xfx-shell .xfx-v962-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.xfx-shell .xfx-pwa-bottom a,.xfx-shell .xfx-pwa-bottom button{touch-action:manipulation}.xfx-shell .xfx-pwa-bottom a:focus-visible,.xfx-shell .xfx-pwa-bottom button:focus-visible{outline-offset:-3px}}
.xfx-shell .xfx-pwa-menu {
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 560px);
  max-width: none;
  max-height: 82vh;
  max-height: min(82dvh, 720px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  color: #edf5ff;
  background: #111f35;
  border: 1px solid #2c4665;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -16px 44px #060f2655;
}

.xfx-shell .xfx-pwa-account-picker { display: none; }

@media (max-width: 860px) {
  html:has(.xfx-pwa-menu[open]) { overflow: hidden; }

  .xfx-shell .xfx-pwa-menu[open] {
    display: flex;
    flex-direction: column;
    animation: xfx-pwa-menu-enter 200ms ease-out both;
  }

  .xfx-shell .xfx-pwa-menu::backdrop { background: #07132699; }

  .xfx-shell .xfx-pwa-menu-head {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px 10px 16px;
    border-bottom: 1px solid #2c4665;
  }

  .xfx-shell .xfx-pwa-menu-head h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
  }

  .xfx-shell .xfx-pwa-menu-head button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #e3efff;
    background: #1d3350;
    border: 1px solid #345173;
    border-radius: 12px;
    box-shadow: none;
    font: 26px/1 system-ui;
  }

  .xfx-shell .xfx-pwa-menu-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .xfx-shell .xfx-pwa-menu-body section + section { margin-top: 14px; }

  .xfx-shell .xfx-pwa-menu-body h3 {
    margin: 0 0 7px;
    color: #b8cdeb;
    font-size: 13px;
    font-weight: 650;
  }

  .xfx-shell .xfx-pwa-menu-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .xfx-shell .xfx-pwa-menu-options > a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 7px 8px;
    color: #edf5ff;
    background: #192d47;
    border: 1px solid #2c4768;
    border-radius: 9px;
    font: 650 13px/1.25 system-ui;
    text-decoration: none;
  }

  .xfx-shell .xfx-pwa-menu-options > a[aria-current="page"] {
    background: #075cbf;
    border-color: #4496f9;
    color: #fff;
  }

  .xfx-shell .xfx-pwa-menu-options svg { display: block; width: 18px; height: 18px; }
  .xfx-shell .xfx-pwa-menu-options > a > :first-child { flex: none; }
  .xfx-shell .xfx-pwa-menu-options .xfx-saas-nav-label { flex: 1; overflow-wrap: anywhere; }
  .xfx-shell .xfx-pwa-menu-options .xfx-nav-lock { font-size: 11px; }
  .xfx-shell .xfx-pwa-menu-options .xfx-nav-soon {
    margin: 3px 0 0;
    padding: 2px 5px;
    border-radius: 4px;
    background: #ffe2a1;
    color: #342604;
    font-size: 10px;
  }

  .xfx-shell .xfx-pwa-menu-options > a:has(.xfx-nav-soon) { flex-wrap: wrap; }
  .xfx-shell .xfx-pwa-menu-info {
    width: min(100%, 380px);
    margin: 14px auto 0;
    text-align: center;
  }
  .xfx-shell .xfx-pwa-menu-info .xfx-official-websites a { justify-content: center; }
  .xfx-shell .xfx-pwa-menu-info .xfx-official-social {
    grid-template-columns: repeat(4, 44px);
    justify-content: center;
  }
  .xfx-shell .xfx-pwa-menu :focus-visible { outline: 2px solid #9dd5ff; outline-offset: -2px; }
}

@media (max-width: 860px) {
  .xfx-shell .xfx-ws-overview .xfx-ws-selector.xfx-pwa-account-ready {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
  }
  .xfx-shell .xfx-ws-selector.xfx-pwa-account-ready > label { display: none; }
  .xfx-shell .xfx-pwa-account-picker {
    display: block;
    width: 100%;
    border: 1px solid #cfddf1;
    border-radius: 10px;
    background: #fff;
  }
  .xfx-shell .xfx-pwa-account-picker summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 7px 12px;
    color: #15355c;
    cursor: pointer;
    list-style: none;
  }
  .xfx-shell .xfx-pwa-account-picker summary::-webkit-details-marker { display: none; }
  .xfx-shell .xfx-pwa-account-picker summary :is(small, strong) { display: block; }
  .xfx-shell .xfx-pwa-account-picker summary strong { overflow-wrap: anywhere; }
  .xfx-shell .xfx-pwa-account-picker summary::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .xfx-shell .xfx-pwa-account-picker[open] summary::after { transform: rotate(225deg); }
  .xfx-shell .xfx-pwa-account-options {
    display: grid;
    gap: 4px;
    max-height: 244px;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #e1eaf6;
  }
  .xfx-shell .xfx-pwa-account-options button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 6px 9px;
    color: #15355c;
    background: transparent;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
    font: inherit;
    text-align: start;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .xfx-shell .xfx-pwa-account-options button[aria-pressed="true"] {
    color: #084a9d;
    background: #e5efff;
    font-weight: 700;
  }
  .xfx-shell .xfx-pwa-account-picker :focus-visible { outline: 2px solid #0868df; outline-offset: -2px; }
}

@keyframes xfx-pwa-menu-enter {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .xfx-shell .xfx-pwa-menu[open] { animation: none; }
}
