.akk-app-nav {
    display: none;
}

@media (max-width: 820px) {
    html.akk-webapp-standalone body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }

    html.akk-webapp-standalone .akk-app-nav {
        position: fixed;
        z-index: 99998;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
        height: calc(72px + env(safe-area-inset-bottom, 0px));
        padding: 7px 8px env(safe-area-inset-bottom, 0px);
        border-top: 1px solid #e8e2e2;
        background: #fff;
        box-shadow: 0 -3px 16px rgb(0 0 0 / 10%);
        font-family: system-ui, sans-serif;
        box-sizing: border-box;
    }

    html.akk-webapp-standalone .akk-app-nav a {
        display: flex;
        min-width: 0;
        min-height: 56px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 10px;
        color: #3f3838;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    html.akk-webapp-standalone .akk-app-nav a[aria-current="page"] {
        background: #f9e9eb;
        color: #a91222;
    }

    html.akk-webapp-standalone .akk-app-nav svg {
        width: 23px;
        height: 23px;
    }
}
