/* A flex row reserves space; no fixed overlay can cover a field or action. */
.mobile-workspace-navigation { display: none; }
@media screen and (max-width: 760px) {
    html:root body.layout-app.workspace-shell > .mobile-workspace-navigation {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        flex: none;
        gap: 2px;
        order: 10;
        padding: 6px 2px max(4px, env(safe-area-inset-bottom, 0px));
        margin: 4px 0 0;
        border-top: 1px solid var(--block-border, #d7dde7);
        background: #fff;
    }
    html:root body.layout-app #finance-mobile-navigation > :is(a, .workspace-menu-toggle) {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        min-width: 0;
        min-height: 48px;
        width: auto !important;
        max-width: 100%;
        margin: 0;
        padding: 6px 1px;
        border: 1px solid transparent;
        border-radius: 5px;
        background: transparent;
        box-shadow: none;
        color: var(--text-main, #20242a);
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.25;
        white-space: normal;
        word-break: normal;
        hyphens: manual;
        overflow-wrap: normal;
        text-align: center;
        text-decoration: none;
    }
    html:root body.layout-app #finance-mobile-navigation > a[aria-current="page"] {
        background: #eef4ff;
        border-color: #b9ccec;
        color: #174ea6;
    }
    html[data-vision-brand="brand"] body.layout-app #finance-mobile-navigation > a[aria-current="page"] {
        background: #ececea;
        border-color: #aaa;
        color: #111;
    }
    html:root body.layout-app #finance-mobile-navigation > :is(a, button):focus-visible {
        outline: 2px solid #3158ae;
        outline-offset: -2px;
    }
}
@media print { .mobile-workspace-navigation { display: none !important; } }
