/* /Layout/MainLayout.razor.rz.scp.css */
/* Phone: top bar, content, bottom tab bar. Wide screens: sidebar on the left. */
.shell[b-94c6nbwn1x] {
    --bg: #16141a;
    --panel: #1f1c25;
    --line: #2e2a36;
    --text: #ece8f1;
    --muted: #a39cb0;
    --accent: #d9a441;
    --ok: #5fbf7f;
    --warn: #e0a24a;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "top" "main" "nav";
    background: var(--bg);
    color: var(--text);
}

.topbar[b-94c6nbwn1x] {
    grid-area: top;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(.6rem + env(safe-area-inset-top)) 1rem .6rem;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
}

.brand[b-94c6nbwn1x] {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .02em;
    text-decoration: none;
}

.content[b-94c6nbwn1x] {
    grid-area: main;
    padding: 1rem;
    min-width: 0;
}

.nav[b-94c6nbwn1x] {
    grid-area: nav;
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--panel);
    border-top: 1px solid var(--line);
}

    /* NavLink renders its own <a>, so scoped CSS needs ::deep to reach it. */
    .nav[b-94c6nbwn1x]  a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .15rem;
        padding: .5rem .25rem .45rem;
        color: var(--muted);
        font-size: .72rem;
        text-decoration: none;
    }

    .nav[b-94c6nbwn1x]  svg {
        width: 1.4rem;
        height: 1.4rem;
        fill: currentColor;
    }

    .nav[b-94c6nbwn1x]  a.active {
        color: var(--accent);
    }

@media (min-width: 768px) {
    .shell[b-94c6nbwn1x] {
        grid-template-columns: 13rem 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas: "top top" "nav main";
    }

    .nav[b-94c6nbwn1x] {
        position: sticky;
        top: 3.2rem;
        align-self: start;
        height: calc(100dvh - 3.2rem);
        flex-direction: column;
        justify-content: flex-start;
        gap: .25rem;
        padding: 1rem .5rem;
        border-top: none;
        border-right: 1px solid var(--line);
    }

        .nav[b-94c6nbwn1x]  a {
            flex: none;
            flex-direction: row;
            gap: .75rem;
            padding: .6rem .75rem;
            border-radius: .5rem;
            font-size: .95rem;
        }

            .nav[b-94c6nbwn1x]  a.active {
                background: #2a2533;
            }

    .content[b-94c6nbwn1x] {
        padding: 1.5rem 2rem;
        max-width: 72rem;
    }
}
/* /Layout/SyncBadge.razor.rz.scp.css */
.sync-badge[b-ghw0qmi6h0] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font: inherit;
    font-size: .8rem;
    color: var(--muted);
    background: transparent;
    padding: .2rem .65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
}

    .sync-badge:disabled[b-ghw0qmi6h0] {
        cursor: default;
        opacity: 1;
    }

.dot[b-ghw0qmi6h0] {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--ok);
}

.warn .dot[b-ghw0qmi6h0] {
    background: var(--warn);
}

.busy .dot[b-ghw0qmi6h0] {
    background: var(--accent);
    animation: pulse-b-ghw0qmi6h0 1s ease-in-out infinite;
}

@keyframes pulse-b-ghw0qmi6h0 {
    50% {
        opacity: .3;
    }
}
