:root {
    --zk-tabbar-height: 64px;
    --zk-safe-bottom: env(safe-area-inset-bottom, 0px);
    --zk-safe-top: env(safe-area-inset-top, 0px);
}

html:not(.zk-can-install) [data-pwa-install],
html:not(.zk-standalone) [data-pwa-installed],
html.zk-standalone [data-pwa-browser] {
    display: none !important;
}

html.zk-standalone body {
    overscroll-behavior-y: contain;
}

body {
    -webkit-tap-highlight-color: transparent;
}

.zk-offline-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: calc(.375rem + var(--zk-safe-top)) .75rem .375rem;
    background: #b42318;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transform: translateY(-100%);
    transition: transform .25s ease;
    pointer-events: none;
}

    .zk-offline-bar i {
        font-size: 16px;
    }

html.zk-offline .zk-offline-bar {
    transform: none;
}

.zk-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    padding-bottom: var(--zk-safe-bottom);
    background: var(--zk-card);
    border-top: 1px solid var(--zk-border);
    box-shadow: 0 -10px 30px -18px rgba(15, 23, 42, .35);
}

.zk-tabbar-inner {
    display: flex;
    align-items: stretch;
    max-width: 640px;
    height: var(--zk-tabbar-height);
    margin: 0 auto;
}

.zk-tab {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .125rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--zk-muted-foreground);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
}

    .zk-tab:hover,
    .zk-tab:focus {
        color: var(--zk-primary);
    }

    .zk-tab:focus-visible {
        outline: 2px solid rgba(var(--zk-primary-rgb), .5);
        outline-offset: -4px;
        border-radius: 12px;
    }

.zk-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 30px;
    border-radius: 999px;
    font-size: 21px;
    line-height: 1;
    transition: background-color .2s ease, transform .15s ease;
}

.zk-tab:active .zk-tab-icon {
    transform: scale(.9);
}

.zk-tab .zk-i-on,
.zk-tab.active .zk-i-off {
    display: none;
}

.zk-tab.active .zk-i-on {
    display: inline;
}

.zk-tab.active {
    color: var(--zk-primary);
}

    .zk-tab.active .zk-tab-icon {
        background: rgba(var(--zk-primary-rgb), .14);
    }

.zk-tab-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zk-tab-main .zk-tab-icon {
    width: 58px;
    height: 58px;
    margin-top: -30px;
    margin-bottom: .125rem;
    border: 4px solid var(--zk-card);
    border-radius: 50%;
    background: var(--zk-gradient);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 20px -8px rgba(var(--zk-primary-rgb), .75);
}

.zk-tab-main.active .zk-tab-icon {
    background: var(--zk-primary-dark);
}

.zk-tab-badge {
    position: absolute;
    top: 6px;
    left: calc(50% + 8px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid var(--zk-card);
    border-radius: 999px;
    background: #e7000b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
}

.zk-tab-main .zk-tab-badge {
    top: -26px;
    left: calc(50% + 14px);
}

/* Komputer/kasir layar lebar: tab lebih lebar, tinggi & besar, dan seluruh area tab
   menyala saat hover agar target klik jelas. HP/tablet (< 992px) tetap seperti di atas.
   --zk-tabbar-height ikut naik sehingga jarak bawah konten (kasir.css) menyesuaikan. */
@media (min-width: 992px) {
    :root {
        --zk-tabbar-height: 76px;
    }

    .zk-tabbar-inner {
        max-width: 960px;
        align-items: center;
        gap: .625rem;
        padding: .625rem 1rem;
    }

    /* Tiap tab = pil pastel lembut yang selalu tampil (batas area klik terlihat tanpa hover);
       ikon + label berdampingan ala aplikasi desktop. Tab aktif = warna hover yang menetap. */
    .zk-tab {
        height: 100%;
        flex-direction: row;
        gap: .5rem;
        border: 1px solid rgba(var(--zk-gold-rgb), .22);
        border-radius: 16px;
        background: var(--zk-accent);
        color: var(--zk-muted-foreground);
        font-size: 14px;
        transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
    }

        .zk-tab:hover,
        .zk-tab:focus {
            border-color: rgba(var(--zk-primary-rgb), .25);
            background: rgba(var(--zk-primary-rgb), .08);
            color: var(--zk-primary);
        }

        /* Tab aktif = warna hover yang menetap (sedikit lebih tebal). */
        .zk-tab.active,
        .zk-tab.active:hover {
            border-color: rgba(var(--zk-primary-rgb), .3);
            background: rgba(var(--zk-primary-rgb), .12);
            color: var(--zk-primary);
        }

    .zk-tab-icon,
    .zk-tab.active .zk-tab-icon {
        width: auto;
        height: auto;
        background: none;
        font-size: 22px;
    }

    /* Mode gelap: pil netral sedikit lebih terang dari bar; hover & aktif pakai aksen emas
       (primary terlalu gelap untuk teks di atas bar gelap). */
    [data-layout-mode=dark] .zk-tab {
        border-color: rgba(255, 255, 255, .07);
        background: rgba(255, 255, 255, .045);
    }

        [data-layout-mode=dark] .zk-tab:hover,
        [data-layout-mode=dark] .zk-tab:focus {
            border-color: rgba(var(--zk-gold-rgb), .35);
            background: rgba(var(--zk-gold-rgb), .1);
            color: var(--zk-gold);
        }

        [data-layout-mode=dark] .zk-tab.active,
        [data-layout-mode=dark] .zk-tab.active:hover {
            border-color: rgba(var(--zk-gold-rgb), .45);
            background: rgba(var(--zk-gold-rgb), .16);
            color: var(--zk-gold);
        }

    /* Tombol Kasir tetap lingkaran mengambang di tengah, tanpa pil. */
    .zk-tab-main,
    .zk-tab-main:hover,
    .zk-tab-main:focus,
    .zk-tab-main.active,
    [data-layout-mode=dark] .zk-tab-main,
    [data-layout-mode=dark] .zk-tab-main:hover,
    [data-layout-mode=dark] .zk-tab-main.active {
        flex: 0 0 120px;
        flex-direction: column;
        gap: .125rem;
        border-color: transparent;
        background: none;
        box-shadow: none;
        color: var(--zk-muted-foreground);
        font-size: 13px;
    }

        .zk-tab-main.active {
            color: var(--zk-primary);
        }

        [data-layout-mode=dark] .zk-tab-main.active {
            color: var(--zk-gold);
        }

    .zk-tab-main .zk-tab-icon,
    .zk-tab-main.active .zk-tab-icon {
        width: 64px;
        height: 64px;
        margin-top: -38px;
        background: var(--zk-gradient);
        font-size: 28px;
    }

    .zk-tab-main.active .zk-tab-icon {
        background: var(--zk-primary-dark);
        box-shadow: 0 0 0 4px rgba(var(--zk-primary-rgb), .22), 0 10px 20px -8px rgba(var(--zk-primary-rgb), .75);
    }

    [data-layout-mode=dark] .zk-tab-main.active .zk-tab-icon {
        box-shadow: 0 0 0 4px rgba(var(--zk-gold-rgb), .35), 0 10px 20px -8px rgba(0, 0, 0, .8);
    }

    .zk-tab-main.active .zk-tab-label {
        font-weight: 700;
    }

        .zk-tab-main:hover .zk-tab-icon {
            transform: translateY(-2px);
        }

    .zk-tab-badge {
        top: 4px;
        left: calc(50% + 12px);
    }

    .zk-tab-main .zk-tab-badge {
        top: -34px;
        left: calc(50% + 16px);
    }
}


.zk-menu-list {
    overflow: hidden;
    border: 1px solid var(--zk-border);
    border-radius: var(--zk-radius);
    background: var(--zk-card);
}

.zk-menu-item {
    display: flex;
    align-items: center;
    gap: .875rem;
    width: 100%;
    min-height: 56px;
    padding: .625rem 1rem;
    border: 0;
    background: none;
    color: var(--zk-card-foreground);
    font-weight: 500;
    text-align: left;
    text-decoration: none;
}

    .zk-menu-item + .zk-menu-item {
        border-top: 1px solid var(--zk-border);
    }

    .zk-menu-item:hover,
    .zk-menu-item:active {
        background: var(--zk-muted);
        color: var(--zk-card-foreground);
    }

    .zk-menu-item > i:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(var(--zk-primary-rgb), .12);
        color: var(--zk-primary);
        font-size: 18px;
    }

    .zk-menu-item .zk-menu-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    .zk-menu-item small {
        display: block;
        color: var(--zk-muted-foreground);
        font-weight: 400;
    }

    .zk-menu-item > .ri-arrow-right-s-line {
        color: var(--zk-muted-foreground);
        font-size: 20px;
    }

    .zk-menu-item.text-danger > i:first-child {
        background: rgba(231, 0, 11, .1);
        color: #e7000b;
    }

.zk-profile {
    display: flex;
    align-items: center;
    gap: .875rem;
}

.zk-profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--zk-gradient);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.zk-header-logo {
    display: flex;
    align-items: center;
    height: 70px;
    padding-left: .75rem;
}

    .zk-header-logo img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

@media (min-width: 768px) {
    .zk-mobile-only {
        display: none !important;
    }
}

.zk-year-select {
    width: 8.5rem;
}

.zk-pager-size {
    width: 5.5rem;
}

.zk-pager-page {
    width: 7.5rem;
}

.zk-tone-brand { background: rgba(var(--zk-primary-rgb), .12); color: var(--zk-primary); }
.zk-tone-emerald { background: rgba(16, 185, 129, .12); color: #059669; }
.zk-tone-sky { background: rgba(14, 165, 233, .12); color: #0284c7; }
.zk-tone-amber { background: rgba(245, 158, 11, .14); color: #d97706; }
.zk-tone-violet { background: rgba(139, 92, 246, .12); color: #7c3aed; }
.zk-tone-rose { background: rgba(244, 63, 94, .12); color: #e11d48; }
.zk-tone-slate { background: rgba(100, 116, 139, .12); color: #475569; }

[data-layout-mode="dark"] .zk-tone-brand { background: rgba(var(--zk-primary-rgb), .2); }
[data-layout-mode="dark"] .zk-tone-emerald { background: rgba(52, 211, 153, .15); color: #34d399; }
[data-layout-mode="dark"] .zk-tone-sky { background: rgba(56, 189, 248, .15); color: #38bdf8; }
[data-layout-mode="dark"] .zk-tone-amber { background: rgba(251, 191, 36, .15); color: #fbbf24; }
[data-layout-mode="dark"] .zk-tone-violet { background: rgba(167, 139, 250, .15); color: #a78bfa; }
[data-layout-mode="dark"] .zk-tone-rose { background: rgba(251, 113, 133, .15); color: #fb7185; }
[data-layout-mode="dark"] .zk-tone-slate { background: rgba(148, 163, 184, .15); color: #cbd5e1; }

.zk-mtop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: .25rem;
    height: calc(56px + var(--zk-safe-top));
    padding: var(--zk-safe-top) .5rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--zk-border) 60%, transparent);
    background: color-mix(in srgb, var(--zk-background) 85%, transparent);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    color: var(--zk-foreground);
}

.zk-mtop-btn {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 24px;
}

    .zk-mtop-btn:last-child {
        border-radius: 12px;
        font-size: 20px;
    }

    .zk-mtop-btn:active {
        background: var(--zk-muted);
    }

.zk-mtop-text {
    flex: 1 1 auto;
    min-width: 0;
}

.zk-mtop-parent {
    margin: 0;
    overflow: hidden;
    color: var(--zk-muted-foreground);
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .zk-mtop-parent:empty {
        display: none;
    }

.zk-mtop-title {
    margin: 0;
    overflow: hidden;
    color: var(--zk-foreground);
    font-family: var(--zk-font-sans);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.zk-mnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    padding-bottom: var(--zk-safe-bottom);
    border-top: 1px solid color-mix(in srgb, var(--zk-border) 60%, transparent);
    background: color-mix(in srgb, var(--zk-background) 85%, transparent);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.zk-mnav-inner {
    display: flex;
    max-width: 32rem;
    margin: 0 auto;
}

.zk-mnav-tab {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    min-width: 0;
    padding: .5rem 0 .375rem;
    border: 0;
    background: transparent;
    color: var(--zk-muted-foreground);
    text-decoration: none;
    transition: transform .15s ease;
}

    .zk-mnav-tab:active {
        transform: scale(.95);
    }

    .zk-mnav-tab:hover,
    .zk-mnav-tab:focus {
        color: var(--zk-muted-foreground);
    }

.zk-mnav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 32px;
    border-radius: 999px;
    font-size: 22px;
    transition: background-color .25s ease, color .2s ease;
}

.zk-mnav-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

.zk-mnav-tab .zk-i-on,
.zk-mnav-tab.active .zk-i-off {
    display: none;
}

.zk-mnav-tab.active .zk-i-on {
    display: inline;
}

.zk-mnav-tab.active,
.zk-mnav-tab.active:hover,
.zk-mnav-tab.active:focus {
    color: var(--zk-primary);
}

    .zk-mnav-tab.active .zk-mnav-icon {
        background: rgba(var(--zk-primary-rgb), .14);
    }

    .zk-mnav-tab.active .zk-mnav-label {
        font-weight: 600;
    }

[data-layout-mode="dark"] .zk-mnav-tab.active .zk-mnav-icon {
    background: rgba(var(--zk-primary-rgb), .22);
}

.zk-moffline {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--zk-safe-bottom) + 76px);
    z-index: 1040;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

    .zk-moffline span {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .5rem 1rem;
        border-radius: 999px;
        background: var(--zk-foreground);
        color: var(--zk-background);
        font-size: 12px;
        font-weight: 500;
        box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .4);
    }

html.zk-offline .zk-moffline {
    opacity: 1;
    transform: none;
}

.zk-msheet.offcanvas-bottom {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 88dvh;
    border: 0;
    border-radius: 28px 28px 0 0;
    background: var(--zk-background);
    color: var(--zk-foreground);
    box-shadow: 0 -12px 40px -12px rgba(0, 0, 0, .25);
}

.zk-msheet.is-dragging {
    transition: none !important;
}

.zk-msheet-head {
    flex: 0 0 auto;
    padding: .75rem 1.25rem .5rem;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.zk-msheet-handle {
    width: 40px;
    height: 6px;
    margin: 0 auto .75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--zk-muted-foreground) 25%, transparent);
}

.zk-msheet-title {
    margin: 0;
    color: var(--zk-foreground);
    font-family: var(--zk-font-sans);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.zk-msheet-desc {
    margin: 0;
    color: var(--zk-muted-foreground);
    font-size: 14px;
}

.zk-msheet-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .5rem 1.25rem calc(var(--zk-safe-bottom) + 20px);
}

.zk-msection + .zk-msection {
    margin-top: 1.5rem;
}

.zk-msection-title {
    margin: 0 0 .75rem;
    color: var(--zk-muted-foreground);
    font-family: var(--zk-font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.zk-mtile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem .5rem;
}

.zk-mtile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    padding: .25rem 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--zk-foreground);
    text-decoration: none;
}

    .zk-mtile:hover,
    .zk-mtile:focus {
        color: var(--zk-foreground);
    }

.zk-mtile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 24px;
    transition: transform .15s ease;
}

.zk-mtile:active .zk-mtile-icon {
    transform: scale(.9);
}

.zk-mtile.active .zk-mtile-icon {
    box-shadow: 0 0 0 2px var(--zk-background), 0 0 0 4px var(--zk-primary);
}

.zk-mtile-label {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: color-mix(in srgb, var(--zk-foreground) 85%, transparent);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

.zk-maccount {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(var(--zk-primary-rgb), .15), rgba(var(--zk-primary-rgb), .05));
}

.zk-maccount-avatar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--zk-primary);
    color: var(--zk-primary-foreground);
    font-size: 16px;
    font-weight: 600;
}

.zk-maccount-name {
    margin: 0;
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.zk-maccount-meta {
    margin: 0;
    overflow: hidden;
    color: var(--zk-muted-foreground);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.zk-mappearance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .25rem;
    margin-bottom: 1rem;
    padding: .25rem;
    border-radius: 16px;
    background: var(--zk-muted);
}

    .zk-mappearance button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .375rem;
        padding: .5rem 0;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--zk-muted-foreground);
        font-size: 12px;
        font-weight: 500;
    }

        .zk-mappearance button.active {
            background: var(--zk-background);
            color: var(--zk-foreground);
            box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
        }

.zk-mrows {
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--zk-border);
    border-radius: 16px;
    background: var(--zk-card);
}

.zk-mrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .875rem 1rem;
    border: 0;
    background: transparent;
    color: var(--zk-card-foreground);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
}

    .zk-mrow + .zk-mrow {
        border-top: 1px solid var(--zk-border);
    }

    .zk-mrow:hover,
    .zk-mrow:focus {
        color: var(--zk-card-foreground);
    }

    .zk-mrow:active {
        background: var(--zk-muted);
    }

    .zk-mrow > i:first-child {
        color: var(--zk-muted-foreground);
        font-size: 20px;
    }

        .zk-mrow > i:first-child.text-primary {
            color: var(--zk-primary);
        }

    .zk-mrow > i:last-child {
        color: var(--zk-muted-foreground);
        font-size: 16px;
    }

.zk-mrow-text {
    flex: 1 1 auto;
    min-width: 0;
}

    .zk-mrow-text small {
        display: block;
        overflow: hidden;
        color: var(--zk-muted-foreground);
        font-size: 12px;
        font-weight: 400;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.zk-mlogout,
.zk-mbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    height: 48px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.zk-mlogout {
    border: 1px solid color-mix(in srgb, var(--zk-destructive) 30%, transparent);
    background: color-mix(in srgb, var(--zk-destructive) 5%, transparent);
    color: var(--zk-destructive);
}

    .zk-mlogout:active {
        background: color-mix(in srgb, var(--zk-destructive) 10%, transparent);
    }

.zk-mbtn {
    border: 0;
}

.zk-mbtn-danger,
.zk-mbtn-danger:hover,
.zk-mbtn-danger:focus {
    background: var(--zk-destructive);
    color: #fff;
}

.zk-mbtn-muted {
    background: var(--zk-muted);
    color: var(--zk-foreground);
}

@media (max-width: 767.98px) {
    body.zk-has-tabbar #layout-wrapper {
        overflow-x: clip;
    }

    body.zk-has-tabbar #page-topbar,
    body.zk-has-tabbar .zk-offline-bar {
        display: none;
    }

    body.zk-has-tabbar .page-content {
        padding-left: 0;
        padding-right: 0;
        padding-top: calc(56px + var(--zk-safe-top) + 1rem);
        padding-bottom: calc(var(--zk-tabbar-height) + 1.5rem + var(--zk-safe-bottom));
    }

    body.zk-has-tabbar .page-content > .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    html.zk-on-home body.zk-has-tabbar .zk-mtop {
        display: none;
    }

    html.zk-on-home body.zk-has-tabbar .page-content {
        padding-top: 0;
    }

    body.zk-has-tabbar .page-title-box {
        display: none !important;
    }

    .zk-year-select {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .card-header.flex-wrap > .card-title {
        flex: 1 0 100% !important;
    }

    body.zk-has-tabbar .footer {
        display: none;
    }

    body.zk-has-tabbar #back-to-top {
        bottom: calc(var(--zk-tabbar-height) + 1rem + var(--zk-safe-bottom));
    }

    .page-content [style*="min-width"] {
        min-width: 0 !important;
    }

    body.zk-has-tabbar #main-content .card:not(.card .card) {
        margin-bottom: 1.25rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

        body.zk-has-tabbar #main-content .card:not(.card .card) > .card-header {
            padding: 0 0 .75rem;
            border: 0;
            background: transparent;
        }

        body.zk-has-tabbar #main-content .card:not(.card .card) > .card-body {
            padding: 0;
        }

        body.zk-has-tabbar #main-content .card:not(.card .card) > .card-body:has(> .table-responsive, > [data-pager]) {
            border-top: 1px solid var(--zk-border);
        }

    body.zk-has-tabbar #lp-summary .border {
        background: var(--zk-card);
    }

    .page-content .table-responsive.table-card {
        margin: 0;
    }

    .zk-pager-page {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .zk-pager-nav {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .page-content .table-responsive,
    .zk-kasir .table-responsive {
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

        .page-content .table-responsive > .table,
        .zk-kasir .table-responsive > .table {
            --vz-table-bg: transparent;
            --vz-table-hover-bg: rgba(var(--zk-primary-rgb), .06);
            font-size: 14px;
        }

            .page-content .table-responsive > .table > :not(caption) > * > *,
            .zk-kasir .table-responsive > .table > :not(caption) > * > * {
                height: 48px;
                padding: .5rem;
                border-bottom: 1px solid var(--zk-border);
                white-space: nowrap;
            }

            .page-content .table-responsive > .table > thead > tr > th,
            .zk-kasir .table-responsive > .table > thead > tr > th {
                background: transparent !important;
                color: var(--zk-foreground);
                font-weight: 700;
                text-transform: none;
            }

            .page-content .table-responsive > .table > thead,
            .zk-kasir .table-responsive > .table > thead {
                background: transparent !important;
                color: var(--zk-foreground) !important;
            }

            .page-content .table-responsive > .table > tbody > tr:nth-child(odd) > *,
            .zk-kasir .table-responsive > .table > tbody > tr:nth-child(odd) > * {
                background-color: color-mix(in srgb, var(--zk-muted) 25%, transparent);
            }

            .page-content .table-responsive > .table > tbody > tr:last-child > *,
            .zk-kasir .table-responsive > .table > tbody > tr:last-child > * {
                border-bottom: 0;
            }
}
