/* /Pages/LayoutTopMenu.razor.rz.scp.css */
.LayoutTopMenu[b-cqi90siv4o] {
    position: relative;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    background:
        radial-gradient(circle at 76% 18%, rgba(86, 145, 220, .18), transparent 34rem),
        linear-gradient(180deg, #043966 0%, #043f73 52%, #055a96 100%);
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .12), 0 4px 14px rgba(3, 48, 90, .22);
}

html[data-theme="dark"] .LayoutTopMenu[b-cqi90siv4o] {
    background:
        radial-gradient(circle at 76% 18%, rgba(86, 145, 220, .10), transparent 34rem),
        linear-gradient(180deg, #044b83 0%, #03345f 52%, #071827 100%);
}

.Topbar[b-cqi90siv4o] {
    display: grid;
    grid-template-columns: auto auto minmax(220px, 440px) auto;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 8px 18px;
}

.MenuButton[b-cqi90siv4o] {
    display: none;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    background: rgba(0, 0, 0, .16);
    color: #fff;
    cursor: pointer;
}

[b-cqi90siv4o] .Brand {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    min-width: max-content;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .34);
}

.BrandGlyph[b-cqi90siv4o] {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 13px;
    background: rgba(255, 255, 255, .13);
    font-size: 1.35rem;
    font-weight: 950;
    box-shadow: inset 0 1px rgba(255, 255, 255, .2);
}

.BrandText[b-cqi90siv4o] {
    display: grid;
    gap: 2px;
}

.BrandText strong[b-cqi90siv4o] {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.01em;
}

.BrandNumber[b-cqi90siv4o] {
    margin-left: 1px;
    color: #9fd0ff;
}

.BrandText > span:last-child[b-cqi90siv4o] {
    color: rgba(235, 244, 255, .92);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.Navigation[b-cqi90siv4o] {
    display: flex;
    gap: 6px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(3, 17, 32, .28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}

.Navigation[b-cqi90siv4o]  a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    padding: 7px 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .23));
    color: #fff;
    font-size: .84rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.Navigation[b-cqi90siv4o]  a.active {
    background: linear-gradient(145deg, #fff, #e6edf5);
    color: #043966;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px rgba(0, 0, 0, .18);
}

.GlobalSearch[b-cqi90siv4o] {
    display: flex;
    gap: 9px;
    align-items: center;
    height: 40px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    padding: 0 10px 0 14px;
    background: rgba(3, 17, 32, .28);
    color: #dceafa;
}

.GlobalSearch:focus-within[b-cqi90siv4o] {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(3, 17, 32, .4);
}

.GlobalSearch input[b-cqi90siv4o] {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: .86rem;
    outline: 0;
}

.GlobalSearch input[b-cqi90siv4o]::placeholder {
    color: #c5d8ee;
}

.GlobalSearch kbd[b-cqi90siv4o] {
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    padding: 2px 6px;
    background: transparent;
    color: #dceafa;
    font-family: var(--font-sans);
    font-size: .64rem;
    font-weight: 800;
    white-space: nowrap;
}

.TopActions[b-cqi90siv4o] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.IconPill[b-cqi90siv4o] {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(0, 0, 0, .18);
    color: #fff;
    cursor: pointer;
}

.AccountMenu[b-cqi90siv4o] {
    position: relative;
}

.AccountMenu > .Avatar[b-cqi90siv4o] {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, .7);
    cursor: pointer;
    font-size: .78rem;
}

.AccountPopup[b-cqi90siv4o] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 50;
    display: grid;
    width: 270px;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 12px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.AccountHead[b-cqi90siv4o] {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 4px 4px 2px;
}

.AccountHead > span:last-child[b-cqi90siv4o] {
    display: grid;
    min-width: 0;
}

.AccountHead small[b-cqi90siv4o] {
    overflow: hidden;
    color: var(--muted);
    font-size: .76rem;
    text-overflow: ellipsis;
}

.AccountPopup hr[b-cqi90siv4o] {
    width: 100%;
    height: 1px;
    margin: 8px 0;
    border: 0;
    background: var(--line);
}

.AccountPopup a[b-cqi90siv4o],
.AccountPopup button[b-cqi90siv4o] {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 0;
    border-radius: 10px;
    padding: 9px 10px;
    background: none;
    color: var(--text-soft);
    cursor: pointer;
    font-size: .86rem;
    font-weight: 750;
    text-align: left;
    text-decoration: none;
}

.AccountPopup a:hover[b-cqi90siv4o],
.AccountPopup button:hover[b-cqi90siv4o] {
    background: var(--surface-soft);
    color: var(--text);
}

.AccountPopup button[b-cqi90siv4o] {
    color: var(--red);
}

@media (hover: hover) and (pointer: fine) {
    .Navigation[b-cqi90siv4o]  a:hover:not(.active) {
        border-color: rgba(255, 255, 255, .42);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 2px rgba(255, 255, 255, .10);
    }

    .IconPill:hover[b-cqi90siv4o],
    .MenuButton:hover[b-cqi90siv4o] {
        border-color: rgba(255, 255, 255, .42);
        background: rgba(255, 255, 255, .16);
    }
}

/* There is no sidebar here: on narrower screens the menu moves to its own row instead of disappearing. */
@media (max-width: 1100px) {
    .Topbar[b-cqi90siv4o] {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "brand search actions"
            "navigation navigation navigation";
        gap: 8px 12px;
        padding: 8px 12px;
    }

    [b-cqi90siv4o] .Brand {
        grid-area: brand;
    }

    .GlobalSearch[b-cqi90siv4o] {
        grid-area: search;
    }

    .TopActions[b-cqi90siv4o] {
        grid-area: actions;
    }

    .Navigation[b-cqi90siv4o] {
        grid-area: navigation;
        justify-content: space-between;
        overflow-x: auto;
    }

    .Navigation[b-cqi90siv4o]  a {
        flex: 1 0 auto;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .Topbar[b-cqi90siv4o] {
        grid-template-areas:
            "brand brand actions"
            "search search search"
            "navigation navigation navigation";
    }

    .GlobalSearch kbd[b-cqi90siv4o],
    .BrandGlyph[b-cqi90siv4o] {
        display: none;
    }
}

/* Phone: one low bar on top, the menu at the bottom under the thumb; wider screens never see any of this. */
.BottomNavigation[b-cqi90siv4o],
.SearchToggle[b-cqi90siv4o],
.MoreSheet[b-cqi90siv4o],
.MoreBackdrop[b-cqi90siv4o] {
    display: none;
}

@media (max-width: 760px) {
    .LayoutTopMenu[b-cqi90siv4o] {
        box-shadow: 0 2px 10px rgba(3, 48, 90, .22);
    }

    .Topbar[b-cqi90siv4o] {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand actions";
        gap: 8px;
        min-height: 52px;
        padding: 6px 12px;
    }

    .Topbar.SearchOpen[b-cqi90siv4o] {
        grid-template-areas:
            "brand actions"
            "search search";
        padding-bottom: 10px;
    }

    .Navigation[b-cqi90siv4o],
    .GlobalSearch[b-cqi90siv4o],
    .ThemeToggle[b-cqi90siv4o],
    .BrandGlyph[b-cqi90siv4o],
    .BrandText > span:last-child[b-cqi90siv4o] {
        display: none;
    }

    .Topbar.SearchOpen .GlobalSearch[b-cqi90siv4o] {
        display: flex;
    }

    .BrandText strong[b-cqi90siv4o] {
        font-size: 1.22rem;
    }

    .TopActions[b-cqi90siv4o] {
        gap: 8px;
    }

    .IconPill[b-cqi90siv4o],
    .SearchToggle[b-cqi90siv4o] {
        width: 38px;
        height: 38px;
    }

    .SearchToggle[b-cqi90siv4o] {
        display: grid;
    }

    .GlobalSearch input[b-cqi90siv4o] {
        font-size: 1rem;
    }

    .BottomNavigation[b-cqi90siv4o] {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        border-top: 1px solid var(--line);
        padding: 4px 4px env(safe-area-inset-bottom);
        background: var(--surface);
        box-shadow: 0 -4px 16px rgba(15, 23, 42, .08);
    }

    .BottomNavigation[b-cqi90siv4o]  a,
    .BottomNavigation[b-cqi90siv4o]  a:visited,
    .BottomMore[b-cqi90siv4o] {
        display: flex;
        min-width: 0;
        min-height: 56px;
        flex-direction: column;
        gap: 3px;
        align-items: center;
        justify-content: center;
        border: 0;
        padding: 0;
        background: none;
        color: var(--muted);
        cursor: pointer;
        font: inherit;
        font-size: .68rem;
        font-weight: 800;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .BottomNavigation[b-cqi90siv4o]  .Icon {
        width: 44px;
        height: 28px;
        border-radius: 999px;
        padding: 4px 12px;
        stroke-width: 2;
        transition: background .15s ease;
    }

    .BottomNavigation[b-cqi90siv4o]  span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .BottomNavigation[b-cqi90siv4o]  a.active,
    .BottomMore.active[b-cqi90siv4o] {
        color: var(--accent);
    }

    .BottomNavigation[b-cqi90siv4o]  a.active .Icon,
    .BottomMore.active .Icon[b-cqi90siv4o] {
        background: var(--surface-accent);
    }

    .MoreBackdrop[b-cqi90siv4o] {
        position: fixed;
        inset: 0;
        z-index: 44;
        display: block;
        border: 0;
        background: rgba(3, 17, 32, .42);
    }

    .MoreSheet[b-cqi90siv4o] {
        position: fixed;
        right: 8px;
        bottom: calc(68px + env(safe-area-inset-bottom));
        left: 8px;
        z-index: 46;
        display: grid;
        gap: 2px;
        max-height: calc(100dvh - 140px);
        overflow-y: auto;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        padding: 10px;
        background: var(--surface);
        color: var(--text);
        box-shadow: var(--shadow);
    }

    .MoreSheet a[b-cqi90siv4o],
    .MoreSheet a:visited[b-cqi90siv4o],
    .MoreSheet button[b-cqi90siv4o] {
        display: flex;
        min-height: 46px;
        gap: 12px;
        align-items: center;
        border: 0;
        border-radius: 12px;
        padding: 0 12px;
        background: none;
        color: var(--text);
        cursor: pointer;
        font: inherit;
        font-size: .95rem;
        font-weight: 750;
        text-align: left;
        text-decoration: none;
    }

    .MoreSheet a:active[b-cqi90siv4o],
    .MoreSheet button:active[b-cqi90siv4o] {
        background: var(--surface-soft);
    }

    .MoreSheet hr[b-cqi90siv4o] {
        width: 100%;
        height: 1px;
        margin: 4px 0;
        border: 0;
        background: var(--line);
    }

    .MoreSheet .MoreSignOut[b-cqi90siv4o] {
        color: var(--red);
    }
}
/* /Pages/MainLayout.razor.rz.scp.css */
.MainLayout[b-0psrcxg5e8] {
    --titlebar-bg: rgba(255, 255, 255, .92);
    --titlebar-text: #111827;
    --titlebar-muted: #6b7280;
    --titlebar-link: #075ca8;
    --titlebar-link-hover: #034f94;
    --titlebar-line: #d8dce6;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;
    width: 100%;
}

html[data-theme="dark"] .MainLayout[b-0psrcxg5e8] {
    --titlebar-bg: rgba(15, 27, 45, .92);
    --titlebar-text: #f3f7ff;
    --titlebar-muted: #9ca3af;
    --titlebar-link: #8cc2ff;
    --titlebar-link-hover: #b8d8ff;
    --titlebar-line: #26364f;
}

.TopLayout[b-0psrcxg5e8] {
    grid-row: 1;
}

.PageLayout[b-0psrcxg5e8] {
    position: relative;
    grid-row: 2;
    display: flex;
    min-height: 0;
    overflow: hidden;
}

.ContentLayout[b-0psrcxg5e8] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.ScrollableContent[b-0psrcxg5e8] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.TitleLayout[b-0psrcxg5e8] {
    position: relative;
    z-index: 9;
    border-bottom: 1px solid var(--titlebar-line);
    background: var(--titlebar-bg);
    color: var(--titlebar-text);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}

.TitleLayout:empty[b-0psrcxg5e8] {
    display: none;
}

.TitleLayout[b-0psrcxg5e8]  .TitleBarContent {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 8px 24px;
}

.TitleLayout[b-0psrcxg5e8]  .TitleBarText {
    display: grid;
    gap: 2px;
    min-width: 0;
    flex: 1 1 16rem;
}

.TitleLayout[b-0psrcxg5e8]  .Breadcrumbs {
    display: flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    color: var(--titlebar-muted);
    font-size: .74rem;
    font-weight: 850;
    line-height: 1.25;
    white-space: nowrap;
}

.TitleLayout[b-0psrcxg5e8]  .Breadcrumbs a,
.TitleLayout[b-0psrcxg5e8]  .Breadcrumbs a:visited {
    color: var(--titlebar-link);
    text-decoration: none;
}

.TitleLayout[b-0psrcxg5e8]  .Breadcrumbs a:hover {
    color: var(--titlebar-link-hover);
    text-decoration: underline;
}

.TitleLayout[b-0psrcxg5e8]  .Breadcrumbs .Current {
    min-width: 0;
    overflow: hidden;
    color: var(--titlebar-text);
    text-overflow: ellipsis;
}

.TitleLayout[b-0psrcxg5e8]  .TitleBarTitle {
    margin: 0;
    overflow: hidden;
    color: var(--titlebar-text);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.TitleLayout[b-0psrcxg5e8]  .TitleBarActions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.DrawerBackdrop[b-0psrcxg5e8] {
    display: none;
}

@media (max-width: 1000px) {
    .TitleLayout[b-0psrcxg5e8]  .TitleBarContent {
        padding: 8px 14px;
    }

    .SidebarOpen .DrawerBackdrop[b-0psrcxg5e8] {
        position: absolute;
        inset: 0;
        z-index: 30;
        display: block;
        border: 0;
        background: rgba(3, 17, 32, .42);
    }
}

/* Phone: the page scrolls as a whole, so the browser can hide its address bar; the top bar stays, the title scrolls away,
   and the content ends above the bottom menu. */
@media (max-width: 760px) {
    .MainLayout[b-0psrcxg5e8] {
        display: block;
        height: auto;
        min-height: 100dvh;
    }

    .TopLayout[b-0psrcxg5e8] {
        position: sticky;
        top: 0;
        z-index: 40;
    }

    .PageLayout[b-0psrcxg5e8],
    .ContentLayout[b-0psrcxg5e8] {
        display: block;
        overflow: visible;
    }

    .ScrollableContent[b-0psrcxg5e8] {
        overflow: visible;
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    .TitleLayout[b-0psrcxg5e8] {
        backdrop-filter: none;
    }

    .TitleLayout[b-0psrcxg5e8]  .TitleBarContent {
        flex-wrap: nowrap;
        gap: 10px;
        min-height: 50px;
        padding: 6px 12px;
    }

    .TitleLayout[b-0psrcxg5e8]  .TitleBarText {
        flex: 1 1 auto;
    }

    .TitleLayout[b-0psrcxg5e8]  .Breadcrumbs {
        display: none;
    }

    .TitleLayout[b-0psrcxg5e8]  .TitleBarTitle {
        font-size: 1.08rem;
    }

    .TitleLayout[b-0psrcxg5e8]  .TitleBarActions {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .TitleLayout[b-0psrcxg5e8]  .TitleBarActions .wc-button {
        min-height: 36px;
        padding: 0 12px;
        font-size: .8rem;
        white-space: nowrap;
    }

    /* next to the main action, the others keep only their icon (the menu "Więcej" has them with words) */
    .TitleLayout[b-0psrcxg5e8]  .TitleBarActions .wc-button:not(.wc-button-primary):not(:only-child) {
        width: 36px;
        gap: 0;
        justify-content: center;
        padding: 0;
        font-size: 0;
    }
}
