/* Mobile tab bar + "More" panel (2.3.22). Site palette only:
   navy #071d33 / #0a2544, blue #0b5fd8 / #2f7bf5, orange #ff8a3d, light #f8fbff, border #dce5ef. */
.ls-mtab, .ls-mtab-sheet, .ls-mtab-shade { display: none; }
@media (max-width: 768px) {
    .ls-msub.ls-mtab { display: block; background: #071d33; background-image: none; border-top: 1px solid rgba(220, 229, 239, .1); border-bottom: 0; box-shadow: 0 6px 14px rgba(7, 29, 51, .25); }
    .ls-mtab-row { display: flex; margin: 0; padding: 0 4px; list-style: none; }
    .ls-mtab-row > li { flex: 1 1 0; min-width: 0; margin: 0; }
    .ls-mtab-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 56px; padding: 8px 2px 6px; box-sizing: border-box;
        border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #ffffff; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; }
    .ls-mtab-link:hover, .ls-mtab-link:focus, .ls-mtab-link:visited { color: #ffffff; background: transparent; text-decoration: none; }
    .ls-mtab-link:focus-visible { outline: 2px solid #2f7bf5; outline-offset: -2px; }
    .ls-mtab-link .ls-mtab-svg { width: 22px; height: 22px; flex: 0 0 22px; color: #2f7bf5; }
    .ls-mtab-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ls-mtab-link.is-on, .ls-mtab-more[aria-expanded="true"] { color: #ff8a3d; border-bottom-color: #ff8a3d; }
    .ls-mtab-link.is-on .ls-mtab-svg, .ls-mtab-more[aria-expanded="true"] .ls-mtab-svg { color: #ff8a3d; }
    .ls-mtab-link .ls-mtab-dot { position: absolute; top: 7px; left: calc(50% + 9px); width: 8px; height: 8px; border-radius: 50%; background: #ff8a3d; }

    /* Shade over the page + the panel that drops down under the bar. */
    .ls-mtab-shade:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 998; background: rgba(7, 29, 51, .6); }
    .ls-mtab-sheet:not([hidden]) { display: block; position: fixed; left: 0; right: 0; top: var(--ls-mtab-top, 120px); z-index: 1000; max-height: calc(100vh - var(--ls-mtab-top, 120px) - 8px); max-height: calc(100dvh - var(--ls-mtab-top, 120px) - 8px);
        overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 20px; box-sizing: border-box; background: #071d33; border-top: 1px solid rgba(220, 229, 239, .12); border-radius: 0 0 22px 22px; box-shadow: 0 18px 36px rgba(7, 29, 51, .45); }
    .ls-mtab-head { display: flex; align-items: center; margin-bottom: 10px; }
    .ls-mtab-h { color: #ff8a3d; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
    .ls-mtab-h2 { margin: 16px 0 10px; }
    .ls-mtab-close { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(220, 229, 239, .16); border-radius: 12px; background: #0a2544; color: #ffffff; cursor: pointer; }
    .ls-mtab-close:hover, .ls-mtab-close:focus { background: #0a2544; color: #ff8a3d; }
    .ls-mtab-close .ls-mtab-svg { width: 18px; height: 18px; }
    .ls-mtab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .ls-mtab-card { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; box-sizing: border-box; border-radius: 14px; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; }
    .ls-mtab-cico { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
    .ls-mtab-cico .ls-mtab-svg { width: 18px; height: 18px; }
    .ls-mtab-card.is-tool, .ls-mtab-card.is-tool:visited, .ls-mtab-card.is-tool:hover { background: #0b5fd8; border: 1px solid #2f7bf5; color: #ffffff; text-decoration: none; }
    .ls-mtab-card.is-tool .ls-mtab-cico { background: rgba(248, 251, 255, .16); color: #ffffff; }
    .ls-mtab-card.is-browse, .ls-mtab-card.is-browse:visited, .ls-mtab-card.is-browse:hover { background: #0a2544; border: 1px solid rgba(220, 229, 239, .16); color: #ffffff; text-decoration: none; }
    .ls-mtab-card.is-browse .ls-mtab-cico { background: #071d33; color: #2f7bf5; }
    .ls-mtab-card.is-on { border-color: #ff8a3d; box-shadow: inset 0 0 0 1px #ff8a3d; }
    .ls-mtab-card .ls-mtab-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #ff8a3d; }
    html.ls-mtab-open { overflow: hidden; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 768px) {
    .ls-mtab-sheet:not([hidden]) { animation: ls-mtab-in .18s ease-out; }
    @keyframes ls-mtab-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
