/* Phone / tablet navigation (28 Oct 2026): the header hamburger opens a drawer with Databases, Workplace and
   Account; the global rail and the dashboard's sidebar list are not shown at these widths. */
.tcc-mnav, .tcc-mnav-overlay { display: none; }
@media (max-width: 1024px) {
    .v2-sn { display: none !important; }
    .tcc-global-wrap, .tcc-global-wrap.sn-collapsed { margin-left: 0 !important; }
    .tcc-dashboard-wrap .tcc-sidebar-menu { display: none !important; }
    .tcc-dashboard-wrap .tcc-sidebar { min-height: 0 !important; height: auto !important; }

    .tcc-mnav-overlay { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 3000; opacity: 0; transition: opacity .2s; }
    .tcc-mnav-overlay[hidden] { display: none; }
    .tcc-mnav-overlay.is-open { opacity: 1; }
    .tcc-mnav { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 3001; box-shadow: -12px 0 32px rgba(15, 23, 42, .2); transform: translateX(102%); transition: transform .22s ease; font-family: Lato, "Helvetica Neue", Arial, sans-serif; color: #293348; }
    .tcc-mnav.is-open { transform: translateX(0); }
    body.tcc-mnav-lock { overflow: hidden; }
    .tcc-mnav__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #f7f9fc; border-bottom: 1px solid #eaebef; }
    .tcc-mnav__avatar { width: 40px; height: 40px; border-radius: 50%; background: #293348; color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .tcc-mnav__id { min-width: 0; flex: 1; }
    .tcc-mnav__name { font-size: 14px; font-weight: 700; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .tcc-mnav__email { font-size: 12px; color: #777; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .tcc-mnav__close { border: 0; background: transparent; font-size: 28px; line-height: 1; color: #6b7482; padding: 0 4px; cursor: pointer; }
    .tcc-mnav__scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; padding-bottom: 24px; }
    .tcc-mnav__grp { padding: 6px 0; border-bottom: 1px solid #f1f3f6; }
    .tcc-mnav__grp--foot { border-bottom: 0; }
    .tcc-mnav__h { font-size: 11px; font-weight: 700; color: #8a94a6; text-transform: uppercase; letter-spacing: .04em; padding: 8px 16px 4px; }
    .tcc-mnav__item { display: flex; align-items: stretch; }
    .tcc-mnav__link { flex: 1; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; color: #293348; text-decoration: none; }
    .tcc-mnav__link i { width: 18px; text-align: center; font-size: 14px; color: #8a94a6; }
    .tcc-mnav__item.is-on .tcc-mnav__link, .tcc-mnav__item.is-on .tcc-mnav__link i { color: #176fe4; }
    .tcc-mnav__item.is-on { background: #f0f6fc; }
    .tcc-mnav__chev { width: 48px; border: 0; border-left: 1px solid #f1f3f6; background: transparent; color: #8a94a6; display: flex; align-items: center; justify-content: center; cursor: pointer; }
    .tcc-mnav__chev svg { width: 16px; height: 16px; transition: transform .15s; }
    .tcc-mnav__chev[aria-expanded="true"] svg { transform: rotate(180deg); }
    .tcc-mnav__sub { display: none; background: #fafbfc; padding: 4px 0 6px; border-top: 1px solid #f1f3f6; border-bottom: 1px solid #f1f3f6; }
    .tcc-mnav__sub.is-open { display: block; }
    .tcc-mnav__sub a { display: flex; align-items: center; min-height: 38px; padding: 0 16px 0 46px; font-size: 13px; color: #293348; text-decoration: none; position: relative; }
    .tcc-mnav__sub a::before { content: ""; position: absolute; left: 24px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #c9ced6; }
    .tcc-mnav__grp--foot .tcc-mnav__link, .tcc-mnav__grp--foot .tcc-mnav__link i { color: #b3392f; }
    /* the avatar dropdown never opens at these widths - the drawer replaces it */
    .dropdown-user-menu.um.showmenu { display: none !important; }
}
