/* ════════════════════════════════════════════════════════════════
 * NAV RESTRUCTURE — 4 tabs + responsive foundation + floating docks
 * ════════════════════════════════════════════════════════════════
 *
 * Additive layer on top of portal.css. Reuses :root variables from
 * portal.css. To roll back: delete this file and the mountShell()
 * <link> injection in common.js.
 *
 * Mobile-first: base styles target < 640px; @media queries widen up.
 * The prefers-reduced-motion override in portal.css already nukes
 * every transition for users who set that OS preference.
 */

/* ── Responsive foundation ─────────────────────────────────────── */
img, video, svg { max-width: 100%; height: auto; }
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
}
pre, code { overflow-x: auto; max-width: 100%; }
.responsive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px) {
    .responsive-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
}

/* ── New top nav — 4 tabs (desktop) ────────────────────────────── */
.nx-topbar {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
    height: 56px;
    padding: 0 24px;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-topbar-brand {
    display: flex; align-items: center; gap: 10px;
    color: #e2e8f0;
    font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
    text-decoration: none;
    flex-shrink: 0;
}
.nx-topbar-brand img { height: 32px; width: auto; }

.nx-tabs {
    display: flex; align-items: center; gap: 0;
    padding: 3px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin: 0 auto;
}
.nx-tab {
    font-size: 13px; font-weight: 500; line-height: 1.4;
    padding: 6px 14px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    transition: background 150ms var(--ease), color 150ms var(--ease);
    white-space: nowrap;
}
.nx-tab:hover { background: rgba(255, 255, 255, 0.04); color: #cbd5e1; }
.nx-tab.is-active {
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
}

.nx-topbar-right {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}

.nx-search-trigger {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 16px;
    color: #94a3b8;
    font-size: 12px; font-family: inherit;
    cursor: pointer;
    transition: background 150ms var(--ease), border-color 150ms var(--ease);
    min-height: 32px;
    min-width: 220px;
}
.nx-search-trigger:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    color: #cbd5e1;
}
.nx-search-trigger svg { flex-shrink: 0; }
.nx-search-text { color: #94a3b8; }
.nx-search-kbd {
    font-size: 10px;
    padding: 2px 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

.nx-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    display: inline-flex; align-items: center; justify-content: center;
    color: white;
    font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.18);
    border: 0;
    flex-shrink: 0;
}

.nx-bottombar { display: none; }

/* ── Mobile breakpoint: bottom tabs, slim top ──────────────── */
@media (max-width: 767px) {
    .nx-topbar {
        height: 48px;
        padding: 0 16px;
        gap: 12px;
    }
    .nx-topbar-brand img { height: 28px; }
    .nx-tabs { display: none; }
    .nx-topbar-right { gap: 8px; }
    .nx-search-trigger {
        width: 44px; height: 44px;
        padding: 0;
        justify-content: center;
        min-height: 44px; min-width: 44px;
    }
    .nx-search-text, .nx-search-kbd { display: none; }
    .nx-avatar { width: 36px; height: 36px; font-size: 11px; }

    .nx-bottombar {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 40;
        display: flex;
        height: calc(56px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(11, 13, 18, 0.92);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nx-bottom-tab {
        flex: 1;
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: #64748b;
        font-size: 10px; font-weight: 500;
        padding: 6px 4px;
        transition: color 150ms var(--ease);
        min-height: 44px;
    }
    .nx-bottom-tab svg { width: 22px; height: 22px; }
    .nx-bottom-tab.is-active { color: #7dd3fc; }
    .nx-bottom-tab.is-active svg {
        filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
    }

    body.nx-has-bottombar {
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }
}

/* ── Sub-navigation ─────────────────────────────────────────── */
.nx-subnav {
    display: flex; align-items: center; gap: 4px;
    padding: 10px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nx-subnav::-webkit-scrollbar { display: none; }
.nx-subnav-pill {
    font-size: 12px; font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    color: #94a3b8;
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms var(--ease), color 150ms var(--ease);
    flex-shrink: 0;
}
.nx-subnav-pill:hover { background: rgba(255, 255, 255, 0.04); color: #cbd5e1; }
.nx-subnav-pill.is-active {
    background: rgba(56, 189, 248, 0.10);
    color: #7dd3fc;
}

.nx-tab-layout {
    display: flex;
    align-items: stretch;
    flex: 1 0 auto;
}
.nx-sidebar {
    width: 200px;
    flex-shrink: 0;
    padding: 20px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex; flex-direction: column; gap: 2px;
    overflow-y: auto;
}
.nx-sidebar-link {
    display: block;
    font-size: 13px; font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    color: #94a3b8;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: background 150ms var(--ease), color 150ms var(--ease),
                border-color 150ms var(--ease);
}
.nx-sidebar-link:hover { background: rgba(255, 255, 255, 0.04); color: #cbd5e1; }
.nx-sidebar-link.is-active {
    color: #7dd3fc;
    border-left-color: #0ea5e9;
    background: rgba(56, 189, 248, 0.06);
}
.nx-tab-content { flex: 1; min-width: 0; }

@media (max-width: 767px) {
    .nx-tab-layout { flex-direction: column; }
    .nx-sidebar {
        width: 100%;
        flex-direction: row;
        gap: 4px;
        padding: 10px 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .nx-sidebar::-webkit-scrollbar { display: none; }
    .nx-sidebar-link {
        padding: 6px 12px;
        border-left: 0;
        border-radius: 6px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .nx-sidebar-link.is-active {
        border-left: 0;
        background: rgba(56, 189, 248, 0.10);
    }
    .nx-subnav { padding: 10px 16px; }
}

/* ── Floating chat dock (FAB) ──────────────────────────────── */
.nx-chat-fab {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
    border: 0;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.3);
    transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
    z-index: 50;
}
.nx-chat-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 32px rgba(14, 165, 233, 0.4);
}
.nx-chat-fab:active { transform: scale(0.95); }
.nx-chat-fab svg { width: 22px; height: 22px; }
.nx-chat-fab-unread {
    position: absolute;
    top: 6px; right: 6px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid #0b0d12;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4);
}

@media (max-width: 767px) {
    .nx-chat-fab {
        bottom: calc(20px + 56px + env(safe-area-inset-bottom));
    }
}

.nx-chat-panel {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 420px; height: calc(100vh - 96px); max-height: 720px;
    background: #0f1923;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: nxSlideInRight 250ms var(--ease);
}
@keyframes nxSlideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.nx-chat-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nx-chat-panel-title {
    font-size: 14px; font-weight: 600; color: #e2e8f0;
}
.nx-chat-panel-close {
    background: transparent; border: 0;
    color: #94a3b8;
    cursor: pointer;
    width: 32px; height: 32px;
    border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 150ms var(--ease);
}
.nx-chat-panel-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}
.nx-chat-panel-body {
    flex: 1;
    overflow: hidden;
    display: flex; flex-direction: column;
}

@media (max-width: 767px) {
    .nx-chat-panel {
        right: 0; bottom: 0; left: 0; top: 0;
        width: 100vw; height: 100vh; max-height: none;
        border-radius: 0;
        border: 0;
        animation: nxSlideUp 250ms var(--ease);
    }
    @keyframes nxSlideUp {
        from { transform: translateY(20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    .nx-chat-panel-close { width: 44px; height: 44px; }
}

/* ── Service status dock ───────────────────────────────────── */
.nx-status-pill {
    position: fixed;
    left: 20px; bottom: 20px;
    z-index: 50;
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    color: #cbd5e1;
    font-size: 12px;
    cursor: pointer;
    transition: background 150ms var(--ease), border-color 150ms var(--ease);
}
.nx-status-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}
.nx-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #64748b;
    transition: background-color 300ms ease, box-shadow 300ms ease;
    flex-shrink: 0;
}
.nx-status-dot.is-ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
.nx-status-dot.is-warn { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18); }
.nx-status-dot.is-err { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18); }
.nx-status-dot.is-offline { background: #64748b; }

@keyframes nxStatusPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}
.nx-status-dot.is-ok { animation: nxStatusPulse 2.5s ease-in-out infinite; }

@media (max-width: 767px) {
    .nx-status-pill {
        bottom: calc(20px + 56px + env(safe-area-inset-bottom));
        padding: 0;
        width: 40px;
        justify-content: center;
    }
    .nx-status-pill-text { display: none; }
}

.nx-status-card {
    position: fixed;
    left: 20px;
    bottom: 70px;
    z-index: 51;
    width: 320px; max-width: calc(100vw - 32px);
    background: #0f1923;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 16px;
    animation: nxStatusOpen 200ms var(--ease);
}
@keyframes nxStatusOpen {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.nx-status-card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.nx-status-card-title {
    font-size: 13px; font-weight: 600; color: #e2e8f0;
    display: inline-flex; align-items: center; gap: 8px;
}
.nx-status-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
    color: #cbd5e1;
}
.nx-status-row:last-of-type { border-bottom: 0; }
.nx-status-foot {
    margin-top: 8px;
    font-size: 11px;
    color: #475569;
}
@media (max-width: 767px) {
    .nx-status-card {
        left: 16px; right: 16px; bottom: calc(70px + 56px + env(safe-area-inset-bottom));
        width: auto;
    }
    .nx-status-foot { font-size: 12px; }
}

/* ── Command palette (⌘K overlay) ─────────────────────────── */
.nx-cmdk-backdrop {
    position: fixed; inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 15vh;
    animation: nxFadeIn 150ms var(--ease);
}
@keyframes nxFadeIn { from { opacity: 0; } to { opacity: 1; } }
.nx-cmdk-modal {
    width: 50%;
    max-width: 640px;
    min-width: 360px;
    background: #0b1219;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: nxScaleIn 150ms var(--ease);
}
@keyframes nxScaleIn {
    from { transform: scale(0.98); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.nx-cmdk-input-row {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nx-cmdk-input-row svg { flex-shrink: 0; color: #64748b; }
.nx-cmdk-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #e2e8f0;
    font-size: 14px;
    font-family: inherit;
}
.nx-cmdk-results {
    max-height: 360px; overflow-y: auto;
    padding: 6px 6px 8px;
}
.nx-cmdk-section-head {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    padding: 8px 10px 4px;
    font-weight: 600;
}
.nx-cmdk-item {
    display: block; width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #cbd5e1;
    cursor: pointer;
    transition: background 100ms var(--ease), color 100ms var(--ease);
}
.nx-cmdk-item:hover, .nx-cmdk-item.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}
.nx-cmdk-empty {
    padding: 24px 12px;
    font-size: 13px; color: #64748b; text-align: center;
}

@media (max-width: 767px) {
    .nx-cmdk-backdrop {
        padding-top: 0;
        align-items: stretch;
    }
    .nx-cmdk-modal {
        max-width: 100%;
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: 0;
        animation: nxSlideUp 250ms var(--ease);
        display: flex; flex-direction: column;
    }
    .nx-cmdk-input { font-size: 16px; }
    .nx-cmdk-input-row { padding: 16px; min-height: 56px; }
    .nx-cmdk-results { flex: 1; max-height: none; }
    .nx-cmdk-item { padding: 12px 14px; font-size: 14px; min-height: 44px; }
}

/* ── Intro video overlay (full-screen, plays once at login) ──── */
/* Matches the original inline dashboard.html behaviour: video covers
   the entire viewport with object-fit:cover, so it looks like a
   cinematic intro rather than a small embedded video. */
.nx-intro-overlay {
    position: fixed; inset: 0;
    z-index: 60;
    background: #000;
    display: flex; align-items: center; justify-content: center;
    opacity: 1;
    transition: opacity 600ms var(--ease);
    overflow: hidden;
}
.nx-intro-overlay.is-fading {
    opacity: 0;
    pointer-events: none;
}
.nx-intro-video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.nx-intro-skip {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 150ms var(--ease), opacity 400ms var(--ease);
    min-height: 44px;
    opacity: 0;
}
.nx-intro-skip.is-visible { opacity: 1; }
.nx-intro-skip:hover {
    background: rgba(255, 255, 255, 0.20);
}

@media (max-width: 767px) {
    .nx-intro-skip {
        bottom: 24px;
        right: 16px;
        font-size: 14px;
    }
}

/* ── Embed mode (chat.html loaded inside the chat-dock iframe) ─ */
/* The dock loads chat.html with ?embed=1; chat-dock.js sets
   body.nx-embed on the iframe document. Strip everything that
   isn't the chat itself: orbs, toolbar text, the help-bot FAB,
   the intro video. Leaves only thread + composer (+ suggestions). */
body.nx-embed .orb,
body.nx-embed .chat-toolbar,
body.nx-embed #helpbot-fab,
body.nx-embed #helpbot-panel,
body.nx-embed .nx-status-pill,
body.nx-embed .nx-status-card,
body.nx-embed .nx-chat-fab,
body.nx-embed .nx-chat-panel,
body.nx-embed .nx-bottombar,
body.nx-embed .nx-topbar,
body.nx-embed .nx-subnav,
body.nx-embed .nx-intro-overlay {
    display: none !important;
}
body.nx-embed { padding: 0; }
body.nx-embed .page,
body.nx-embed main.page.chat-page {
    padding: 12px 14px 14px;
    max-width: none;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
body.nx-embed .chat-thread {
    flex: 1;
    min-height: 0;
}

/* Prompt suggestions inside the embed empty state. chat-dock.js
   injects these into chat-empty on iframe load. */
.nx-prompt-chips {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 16px;
}
.nx-prompt-chip {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    transition: background 150ms var(--ease), border-color 150ms var(--ease),
                transform 150ms var(--ease);
}
.nx-prompt-chip:hover {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.20);
    transform: translateY(-1px);
}
.nx-prompt-chip svg {
    flex-shrink: 0;
    color: #7dd3fc;
}

/* ── Hide the legacy .topbar unconditionally ───────────────── */
/* Every authed page loads helpbot.js → common.js → mountShell()
   which paints the new nx-topbar. Pages that don't have a .topbar
   (index, login, callback) aren't affected. Hiding unconditionally
   removes the ~50ms flash where the legacy 17-item bar painted
   before JS ran. */
.topbar { display: none !important; }

/* ── Content min-fixes for mobile ─────────────────────────── */
@media (max-width: 640px) {
    /* Page padding tightens on mobile — desktop has 28px 24px,
       mobile gets 16px to claw back screen real estate. */
    .page { padding: 20px 16px 80px; }

    /* Force narrow grids to collapse cleanly. The existing
       auto-fit minmax handles the math; this just guarantees
       no horizontal overflow when minmax > viewport. */
    .stat-grid { grid-template-columns: 1fr; gap: 12px; }
    .grid-2,
    .grid-3 { grid-template-columns: 1fr; gap: 14px; }
    .grid-span-2 { grid-column: auto; }

    /* Forms: full-width inputs / buttons on mobile. */
    .login-form input,
    .login-form button,
    .form-row input,
    .form-row select,
    .form-row textarea { width: 100%; box-sizing: border-box; }

    /* Modals go fullscreen on mobile so the user isn't
       fighting a small centered card. */
    .modal {
        width: 100vw; height: 100vh;
        max-width: 100vw; max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    /* Page head wraps cleanly; the existing flex-wrap helps but
       the title can still overflow on 360px. */
    .page-head { gap: 12px; }
    .page-head h1 { font-size: 22px; }
}

/* Tables already use .table-wrap with overflow:auto. Apply the
   same scroll trick to bare <table> tags inside .card so pages
   that forgot the wrapper still work on mobile. */
.card > table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* ── Footer ───────────────────────────────────────────────────── */
.nx-footer {
    text-align: center;
    padding: 24px 16px 16px;
    font-size: 11px;
    color: #475569;
    letter-spacing: 0.02em;
}
@media (max-width: 767px) {
    .nx-footer {
        padding-bottom: calc(16px + 56px + env(safe-area-inset-bottom));
    }
}
