/* /Layout/MainLayout.razor.rz.scp.css */
/* The page frame: fixed top bar (Shared/TopBar.razor) over a row of menu + content sheet. Tokens only
   (--cw-*) - design-system.md -> Spacing & Grid. The sheet is the content's own surface; its rounded
   top-left corner shows the menu colour behind it. */
.page[b-irae1v6dz2] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Room for the fixed top bar, which sits outside .page and would otherwise cover the first
       bar-height of the content (and, on a desktop, of the menu). */
    padding-top: var(--topbar-height);
}

main[b-irae1v6dz2] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* Transitional: see --cw-sheet-bg in app.css. */
    background: var(--cw-sheet-bg);
}

.sidebar[b-irae1v6dz2] {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cw-rail-1) 0%, var(--cw-rail-2) 60%, var(--cw-rail-3) 100%);
}

article[b-irae1v6dz2] {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    /* Zapas na dole, żeby pływający stoper (pigułka) nie zasłaniał ostatniego wiersza po przewinięciu strony do końca. */
    padding-bottom: 3.5rem;
}

.app-footer[b-irae1v6dz2] {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Phones: the menu is a panel that slides in from the left under the top bar, over a dimmed backdrop. Closed,
   it is visibility:hidden (not just off-screen), so its links are out of the tab order and out of the
   accessibility tree. */
@media (max-width: 640.98px) {
    .sidebar[b-irae1v6dz2] {
        position: fixed;
        top: var(--topbar-height);
        bottom: 0;
        left: 0;
        z-index: var(--cw-z-floating);
        width: min(var(--cw-rail-width), 86vw);
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform var(--cw-duration-slow) var(--cw-ease), visibility 0s linear var(--cw-duration-slow);
    }

        .sidebar.open[b-irae1v6dz2] {
            transform: none;
            visibility: visible;
            transition: transform var(--cw-duration-slow) var(--cw-ease), visibility 0s;
        }

    .sidebar-backdrop[b-irae1v6dz2] {
        position: fixed;
        inset: var(--topbar-height) 0 0 0;
        z-index: calc(var(--cw-z-floating) - 1);
        background: var(--cw-backdrop);
    }
}

@media (min-width: 641px) {
    .page[b-irae1v6dz2] {
        flex-direction: row;
        background: var(--cw-rail-1);
    }

    .sidebar[b-irae1v6dz2] {
        /* flex-basis, not width: the collapse animates it without re-laying-out the menu's own width. */
        flex: 0 0 var(--cw-rail-width);
        transition: flex-basis var(--cw-duration-slow) var(--cw-ease);
        height: calc(100vh - var(--topbar-height));
        position: sticky;
        top: var(--topbar-height);
    }

    /* Collapsed to icons - the attribute is on <html> before Blazor boots (index.html), see LayoutPreferences. */
    :root[data-nav="collapsed"] .sidebar[b-irae1v6dz2] {
        flex-basis: var(--cw-rail-width-collapsed);
    }

    /* Zaokrąglony lewy górny róg arkusza stoi w miejscu przy przewijaniu strony: to nie obramowanie samego arkusza (to by się
       przewijało razem z treścią), tylko nieruchoma nakładka w kolorze menu, z wklęsłym wycięciem pod promień arkusza. */
    .page[b-irae1v6dz2]::before {
        content: "";
        position: fixed;
        top: var(--topbar-height);
        left: var(--cw-rail-width);
        /* Nad paskami komunikatów (.cw-banners, 900, przyklejone pod paskiem), żeby ich lewy górny róg też był zaokrąglony; pod paskiem górnym. */
        z-index: 901;
        width: var(--cw-radius-sheet);
        height: var(--cw-radius-sheet);
        background: radial-gradient(circle at 100% 100%, transparent calc(var(--cw-radius-sheet) - 0.5px), var(--cw-rail-1) var(--cw-radius-sheet));
        transition: left var(--cw-duration-slow) var(--cw-ease);
        pointer-events: none;
    }

    :root[data-nav="collapsed"] .page[b-irae1v6dz2]::before {
        left: var(--cw-rail-width-collapsed);
    }

    article[b-irae1v6dz2],
    .app-footer[b-irae1v6dz2] {
        padding-left: 2.5rem;
        padding-right: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar[b-irae1v6dz2],
    .sidebar.open[b-irae1v6dz2],
    .page[b-irae1v6dz2]::before {
        transition: none;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* The side menu - "oś czasu z ikonami" (Ik3). design-system.md -> Menu boczne, Zwijanie menu, Separator
   sekcji menu, Menu dłuższe niż ekran. Tokens only (--cw-*); every colour follows the chosen theme.
   Geometry: the axis sits at --cw-rail-axis-x (36px); a row starts 62px from the left edge, so its node
   (absolutely positioned, centred on the axis) hangs to the left of the label. Collapsed (72px) is driven
   by <html data-nav="collapsed"> - not by C# state - so the first frame already has the right width. */
.rail[b-3srwj9l2ll] {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--cw-rail-text);
    font-size: var(--cw-text-md);
    letter-spacing: var(--cw-letter-spacing);
}

/* The list scrolls; the footer below it does not. The top edge fades so a scrolled list reads as "more above". */
.rail-scroll[b-3srwj9l2ll] {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--cw-rail-muted) 60%, transparent) transparent;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px);
    mask-image: linear-gradient(180deg, transparent 0, #000 16px);
}

/* Inner box that is as tall as the whole list - an absolutely positioned axis inside the scroll
   container itself would only be as tall as what is visible. */
.rail-track[b-3srwj9l2ll] {
    position: relative;
}

.rail-axis[b-3srwj9l2ll] {
    position: absolute;
    left: calc(var(--cw-rail-axis-x) - 1px);
    top: 20px;
    bottom: 20px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--cw-accent) 0%, var(--cw-rail-hover) 22%, var(--cw-rail-hover) 100%);
}

.rail-list[b-3srwj9l2ll],
.rail-sub-list[b-3srwj9l2ll] {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-1);
}

.rail-sub-list[b-3srwj9l2ll] {
    margin-top: var(--cw-space-1);
}

.rail-link[b-3srwj9l2ll] {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--cw-space-2);
    box-sizing: border-box;
    margin-left: 62px;
    width: calc(100% - 62px - var(--cw-space-3));
    min-height: 42px;
    padding: 0 var(--cw-space-3);
    border: 0;
    border-radius: var(--cw-radius-lg);
    background: transparent;
    color: var(--cw-rail-text);
    font: inherit;
    font-weight: var(--cw-weight-medium);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--cw-duration-fast) var(--cw-ease), color var(--cw-duration-fast) var(--cw-ease);
}

    .rail-link:hover[b-3srwj9l2ll] {
        background: var(--cw-rail-hover);
        color: var(--cw-rail-strong);
    }

    .rail-link:focus-visible[b-3srwj9l2ll] {
        outline: var(--cw-focus-ring-on-rail);
        outline-offset: calc(var(--cw-focus-offset) * -1);
    }

    .rail-link.child-active[b-3srwj9l2ll] {
        color: var(--cw-rail-strong);
        font-weight: var(--cw-weight-semibold);
    }

    /* The active row is a tab that runs into the content sheet - it loses its right margin. */
    .rail-link.active[b-3srwj9l2ll],
    .rail-link.active:hover[b-3srwj9l2ll] {
        width: calc(100% - 62px);
        border-radius: var(--cw-radius-lg) 0 0 var(--cw-radius-lg);
        /* The tab merges into the content sheet, so it takes the sheet's own colours (see --cw-sheet-bg). */
        background: var(--cw-sheet-bg);
        color: var(--cw-sheet-text);
        font-weight: var(--cw-weight-semibold);
    }

.rail-sub-link[b-3srwj9l2ll] {
    min-height: 32px;
    padding-left: 14px;
    font-size: var(--cw-text-sm);
}

/* Pozycja jeszcze niewydana (NavEntry.Hidden): widzi ją tylko admin aplikacji - wyszarzona, z przekreślonym okiem. Nadal da się ją otworzyć. */
.rail-link--hidden[b-3srwj9l2ll] {
    opacity: 0.55;
}

    .rail-link--hidden:hover[b-3srwj9l2ll],
    .rail-link--hidden.active[b-3srwj9l2ll] {
        opacity: 0.85;
    }

[b-3srwj9l2ll] .rail-hidden-icon {
    flex: none;
}

.rail-label[b-3srwj9l2ll] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Node of a main entry: a medallion on the axis. States (design-system.md): plain / group open /
   group holding the active page (outline + accent icon only) / the active entry (filled + ring). */
.rail-node[b-3srwj9l2ll] {
    position: absolute;
    left: calc(-26px - var(--cw-node-size) / 2);
    top: 50%;
    margin-top: calc(var(--cw-node-size) / -2);
    width: var(--cw-node-size);
    height: var(--cw-node-size);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cw-rail-2);
    color: var(--cw-rail-text);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cw-rail-muted) 45%, transparent);
    transition: background-color var(--cw-duration-base) var(--cw-ease), box-shadow var(--cw-duration-base) var(--cw-ease), color var(--cw-duration-base) var(--cw-ease);
}

    .rail-node.is-open[b-3srwj9l2ll] {
        color: var(--cw-rail-strong);
        box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cw-accent) 70%, transparent);
    }

    .rail-node.has-active[b-3srwj9l2ll] {
        color: var(--cw-accent);
        box-shadow: inset 0 0 0 2px var(--cw-accent);
    }

    .rail-node.is-active[b-3srwj9l2ll] {
        background: var(--cw-accent);
        color: var(--cw-rail-1);
        box-shadow: 0 0 0 5px color-mix(in srgb, var(--cw-accent) 22%, transparent);
    }

/* Node of a sub-page: a small dot; the active one is larger, in the accent, with a ring. */
.rail-dot[b-3srwj9l2ll] {
    position: absolute;
    left: calc(-26px - var(--cw-node-sub) / 2);
    top: 50%;
    margin-top: calc(var(--cw-node-sub) / -2);
    width: var(--cw-node-sub);
    height: var(--cw-node-sub);
    border-radius: 50%;
    background: var(--cw-rail-muted);
    transition: background-color var(--cw-duration-base) var(--cw-ease), box-shadow var(--cw-duration-base) var(--cw-ease);
}

    .rail-dot.is-active[b-3srwj9l2ll] {
        left: calc(-26px - var(--cw-node-sub-active) / 2);
        margin-top: calc(var(--cw-node-sub-active) / -2);
        width: var(--cw-node-sub-active);
        height: var(--cw-node-sub-active);
        background: var(--cw-accent);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--cw-accent) 25%, transparent);
    }

[b-3srwj9l2ll] .rail-chevron {
    flex: none;
    opacity: 0.7;
    transition: transform var(--cw-duration-base) var(--cw-ease);
}

    [b-3srwj9l2ll] .rail-chevron.open {
        transform: rotate(90deg);
    }

/* Section separator: a milestone on the axis (a small diamond) and a hairline fading to the right. */
.rail-separator[b-3srwj9l2ll] {
    position: relative;
    height: 26px;
}

.rail-separator-diamond[b-3srwj9l2ll] {
    position: absolute;
    left: calc(var(--cw-rail-axis-x) - 5px);
    top: 8px;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    transform: rotate(45deg);
    border-radius: 2px;
    background: var(--cw-rail-2);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cw-accent) 55%, transparent);
}

.rail-separator-rule[b-3srwj9l2ll] {
    position: absolute;
    left: 50px;
    right: 28px;
    top: 12px;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--cw-rail-muted) 55%, transparent) 0%, transparent 100%);
}

/* Count badges (KsefInvoicesBadge renders <span class="nav-badge">): red =
   needs attention, blue (info) = for information. */
[b-3srwj9l2ll] .nav-badge {
    flex: none;
    margin-left: auto;
    padding: 4px 7px;
    border-radius: var(--cw-radius-pill);
    background: var(--cw-danger);
    color: var(--cw-on-danger);
    font-size: var(--cw-text-xs);
    font-weight: var(--cw-weight-semibold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

[b-3srwj9l2ll] .nav-badge.nav-badge-info {
    background: var(--cw-primary);
    color: var(--cw-on-primary);
}

/* The footer is pinned: "Zwiń menu" and the version stay put while the list scrolls above them. */
.rail-footer[b-3srwj9l2ll] {
    position: relative;
    z-index: 2;
    flex: none;
    padding: var(--cw-space-2) 0 var(--cw-space-2-5);
    background: var(--cw-rail-2);
    border-top: 1px solid var(--cw-rail-hover);
    box-shadow: 0 -14px 18px -14px rgba(0, 0, 0, 0.5);
}

.rail-collapse[b-3srwj9l2ll] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-3);
    box-sizing: border-box;
    width: calc(100% - var(--cw-space-6));
    min-height: 40px;
    margin: 0 var(--cw-space-3);
    padding: 0 14px;
    border: 0;
    border-radius: var(--cw-radius-lg);
    background: transparent;
    color: var(--cw-rail-muted);
    font: inherit;
    font-size: var(--cw-text-sm);
    font-weight: var(--cw-weight-medium);
    text-align: left;
    cursor: pointer;
    transition: background-color var(--cw-duration-fast) var(--cw-ease), color var(--cw-duration-fast) var(--cw-ease);
}

    .rail-collapse:hover[b-3srwj9l2ll] {
        background: var(--cw-rail-hover);
        color: var(--cw-rail-strong);
    }

    .rail-collapse:focus-visible[b-3srwj9l2ll] {
        outline: var(--cw-focus-ring-on-rail);
        outline-offset: calc(var(--cw-focus-offset) * -1);
    }

.rail-version[b-3srwj9l2ll] {
    display: block;
    padding: var(--cw-space-2) 0 0 var(--cw-space-6);
    font-size: var(--cw-text-2xs);
    color: var(--cw-rail-muted);
}

/* Collapsed to icons: only the axis with its medallions. Labels stay in the page for screen readers
   (visually hidden), sub-pages and the version disappear, a badge becomes a counter on the medallion. */
@media (min-width: 641px) {
    :root[data-nav="collapsed"] .rail-link[b-3srwj9l2ll],
    :root[data-nav="collapsed"] .rail-link.active[b-3srwj9l2ll],
    :root[data-nav="collapsed"] .rail-link.active:hover[b-3srwj9l2ll] {
        justify-content: center;
        width: 100%;
        min-height: 44px;
        margin-left: 0;
        padding: 0;
        border-radius: var(--cw-radius-lg);
        background: transparent;
        color: var(--cw-rail-text);
    }

        :root[data-nav="collapsed"] .rail-link:hover[b-3srwj9l2ll] {
            background: var(--cw-rail-hover);
            color: var(--cw-rail-strong);
        }

    :root[data-nav="collapsed"] .rail-node[b-3srwj9l2ll] {
        position: static;
        margin: 0;
    }

    :root[data-nav="collapsed"] .rail-label[b-3srwj9l2ll] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    :root[data-nav="collapsed"] .rail-sub-list[b-3srwj9l2ll],
    :root[data-nav="collapsed"] .rail-separator-rule[b-3srwj9l2ll],
    :root[data-nav="collapsed"] .rail-version[b-3srwj9l2ll] {
        display: none;
    }

    :root[data-nav="collapsed"] .rail-link[b-3srwj9l2ll]  .rail-chevron {
        display: none;
    }

    :root[data-nav="collapsed"] .rail-link[b-3srwj9l2ll]  .nav-badge {
        position: absolute;
        top: 2px;
        left: 46px;
        margin: 0;
        padding: 3px 5px;
        font-size: var(--cw-text-2xs);
    }

    :root[data-nav="collapsed"] .rail-collapse[b-3srwj9l2ll] {
        justify-content: center;
        padding: 0;
    }
}

/* Phones: no icon-only rail there, so no collapse button either (the panel is closed by its backdrop, Escape or a choice). */
@media (max-width: 640.98px) {
    .rail-collapse[b-3srwj9l2ll] {
        display: none;
    }

    .rail-footer[b-3srwj9l2ll] {
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rail-link[b-3srwj9l2ll],
    .rail-node[b-3srwj9l2ll],
    .rail-dot[b-3srwj9l2ll],
    .rail-collapse[b-3srwj9l2ll],
    [b-3srwj9l2ll] .rail-chevron {
        transition: none;
    }
}
/* /Pages/Finance/MonthClosing.razor.rz.scp.css */
/* time-per-project, Faza 20: zamknięcie miesiąca. Wzorzec „Kroki”: numerowane kroki z krótkim stanem; bieżący wyróżniony, gotowy z ptaszkiem. */
.closing-months[b-obkodpklk3] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2);
    margin-bottom: var(--cw-space-3);
}

.closing-nav-row[b-obkodpklk3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-3);
    margin-bottom: var(--cw-space-3);
}

.closing-steps[b-obkodpklk3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: var(--cw-space-2);
    margin: 0 0 var(--cw-space-4);
    padding: 0;
    list-style: none;
}

.closing-step[b-obkodpklk3] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-3);
    width: 100%;
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
    color: var(--cw-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.closing-step.is-current[b-obkodpklk3] {
    border-color: var(--cw-primary);
    box-shadow: inset 0 -3px 0 var(--cw-primary);
}

.closing-step-number[b-obkodpklk3] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 1px solid var(--cw-border);
    background: var(--cw-bg);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.closing-step.is-done .closing-step-number[b-obkodpklk3] {
    background: var(--cw-primary-tint, var(--cw-bg));
    border-color: var(--cw-primary);
    color: var(--cw-primary);
}

.closing-step-text[b-obkodpklk3] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.closing-step-title[b-obkodpklk3] {
    font-weight: 600;
}

.closing-step-state[b-obkodpklk3] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

.closing-scroll[b-obkodpklk3] {
    overflow-x: auto;
}

/* Stałe szerokości kolumn (P30): tabela wygląda tak samo z godzinami i bez. */
.closing-table[b-obkodpklk3] {
    table-layout: fixed;
    min-width: 46rem;
}

.closing-col-person[b-obkodpklk3] { width: 22%; }
.closing-col-num[b-obkodpklk3] { width: 13%; }
.closing-col-input[b-obkodpklk3] { width: 14%; }
.closing-col-status[b-obkodpklk3] { width: 17%; }
.closing-col-actions[b-obkodpklk3] { width: 21%; }

.closing-table .num[b-obkodpklk3] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.closing-input[b-obkodpklk3] {
    width: 5.5rem;
    margin-left: auto;
    text-align: right;
}

.closing-project-row th[b-obkodpklk3] {
    background: var(--cw-bg);
    font-weight: 600;
    text-align: left;
}

.closing-actions[b-obkodpklk3] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cw-space-1);
}

.closing-entries[b-obkodpklk3] {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--cw-text-sm);
}

.closing-entries li[b-obkodpklk3] {
    display: flex;
    gap: var(--cw-space-3);
    padding: var(--cw-space-1) 0;
    border-top: 1px dashed var(--cw-border-soft);
}

.closing-entry-text[b-obkodpklk3] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.closing-checks[b-obkodpklk3] {
    margin: 0 0 var(--cw-space-3);
    padding: 0;
    list-style: none;
}

.closing-check[b-obkodpklk3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-3);
    padding: var(--cw-space-2) 0;
    border-top: 1px solid var(--cw-border-soft);
}

.closing-check:first-child[b-obkodpklk3] {
    border-top: 0;
}

.closing-check-mark[b-obkodpklk3] {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    background: var(--cw-bg);
    border: 1px solid var(--cw-border);
}

.closing-check--ok .closing-check-mark[b-obkodpklk3] {
    color: var(--cw-primary);
    border-color: var(--cw-primary);
}

.closing-check--warn .closing-check-mark[b-obkodpklk3] {
    color: var(--cw-danger);
    border-color: var(--cw-danger);
}

.closing-check-text[b-obkodpklk3] {
    flex: 1 1 18rem;
    min-width: 0;
}

.closing-kpis[b-obkodpklk3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: var(--cw-space-3);
    margin-bottom: var(--cw-space-4);
}

.closing-kpi[b-obkodpklk3] {
    display: flex;
    flex-direction: column;
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 1px solid var(--cw-border-soft);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
}

.closing-kpi-label[b-obkodpklk3] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

.closing-kpi-value[b-obkodpklk3] {
    font-size: 1.25rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.closing-grid[b-obkodpklk3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: var(--cw-space-4);
    margin-bottom: var(--cw-space-4);
}

.closing-subtitle[b-obkodpklk3] {
    margin: var(--cw-space-3) 0 var(--cw-space-2);
    font-size: var(--cw-text-sm);
    font-weight: 600;
}

.closing-bars[b-obkodpklk3] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.closing-bar-row[b-obkodpklk3] {
    padding: var(--cw-space-0-5) 0;
}

/* Wzorzec „Pierścień i pasek postępu”: pasek to Shared/Ui/Bar; tu tylko równe kolumny we wszystkich wierszach listy. */
.closing-bar-row[b-obkodpklk3]  .cw-bar {
    grid-template-columns: 3rem minmax(0, 1fr) 7.5rem;
    font-size: var(--cw-text-sm);
}

/* Klienci mają dłuższe nazwy niż skróty miesięcy, a udział to krótka liczba - szersza etykieta, węższa wartość. */
.closing-bars--clients .closing-bar-row[b-obkodpklk3]  .cw-bar {
    grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) 3.5rem;
}

.closing-bar-row[b-obkodpklk3]  .cw-bar-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.closing-project-row .project-swatch[b-obkodpklk3] {
    margin-right: var(--cw-space-1);
}

.closing-close-points[b-obkodpklk3] {
    margin: 0 0 var(--cw-space-3);
    padding-left: 1.25rem;
    font-size: var(--cw-text-sm);
    color: var(--cw-text-2);
}

.closing-leftovers[b-obkodpklk3] {
    margin: 0 0 var(--cw-space-3);
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-bg);
    font-size: var(--cw-text-sm);
}

.billing-muted[b-obkodpklk3],
.billing-hint[b-obkodpklk3] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

@media (max-width: 575.98px) {
    .closing-bar-row[b-obkodpklk3]  .cw-bar {
        grid-template-columns: 2.5rem minmax(0, 1fr) 6rem;
    }

    .closing-bars--clients .closing-bar-row[b-obkodpklk3]  .cw-bar {
        grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) 3rem;
    }
}

/* Krok "Dalej": jedyny pełny przycisk kroku, ze strzałką; reszta akcji kroku jest drugoplanowa. */
.closing-next[b-obkodpklk3] {
    /* Przyciski w aplikacji są jasne z szarą ramką; krok „Dalej” dostaje ramkę i tekst w kolorze marki, żeby nie zlewał się z pozostałymi. */
    --bs-btn-color: var(--cw-primary-strong);
    --bs-btn-border-color: var(--cw-primary);
    --bs-btn-hover-border-color: var(--cw-primary-strong);
    border-width: 2px;
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1);
    padding-inline: var(--cw-space-4);
    font-weight: 600;
}

/* Podsumowanie klienta (przychód/koszt/dochód) wyraźniej niż projekty pod nim: ciemniejsze tło, pogrubienie, linia nad wierszem. */
.closing-client-row th[b-obkodpklk3],
.closing-client-row td[b-obkodpklk3] {
    background: color-mix(in srgb, var(--cw-primary) 16%, var(--cw-surface));
    border-top: 2px solid var(--cw-border);
    font-weight: 700;
}

.closing-client-row .cw-basis[b-obkodpklk3] {
    font-weight: 400;
}

.closing-client-row .billing-muted[b-obkodpklk3] {
    font-weight: 400;
}

.billing-profit-project td[b-obkodpklk3] {
    font-weight: 400;
    color: var(--cw-text-2);
}


.closing-total-row th[b-obkodpklk3],
.closing-total-row td[b-obkodpklk3] {
    border-top: 2px solid var(--cw-border);
    font-weight: 700;
}

/* Ramka „Jak to się liczy”: krótkie objaśnienie pojęć nad tabelą, żeby sumy dało się policzyć z ekranu. */
.closing-howto[b-obkodpklk3] {
    margin: 0 0 var(--cw-space-4);
    padding: var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-bg);
    font-size: var(--cw-text-sm);
    color: var(--cw-text-2);
}

.closing-howto ul[b-obkodpklk3] {
    margin: var(--cw-space-1) 0 0;
    padding-left: 1.25rem;
}
/* /Pages/Settings/Billing.razor.rz.scp.css */
/* Rozliczenia - kierunek: context/changes/time-per-project/billing-design.md. Operate, gęsto (density 7), bez ruchu. Tylko tokeny --cw-*. */

.billing-toolbar[b-xya7ftb6e7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* billing-period-tabs: „Zapłacone w ‹ listopadzie › ⊙” - strzałki miesiąca w etykiecie kolumny kafla (zmieniają tylko ten kafel). */
.billing-paid-nav[b-xya7ftb6e7] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-1);
}

.billing-paid-nav-month[b-xya7ftb6e7] {
    min-width: 6.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--cw-text);
}

.billing-paid-nav-btn[b-xya7ftb6e7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--cw-space-8);
    height: var(--cw-space-8);
    padding: 0;
    border-radius: var(--cw-radius-sm);
}

@media (max-width: 767.98px) {
    /* Na telefonie strzałki mają pełny cel dotyku (design-system: Cele dotyku). */
    .billing-paid-nav-btn[b-xya7ftb6e7] {
        width: var(--cw-target-min);
        height: var(--cw-target-min);
    }
}

/* Podsumowanie: karta z kolumnami (.cw-summary w app.css), pusty stan w jednej ramce. */
.billing-summary-empty[b-xya7ftb6e7] {
    margin: 0;
    padding: 0.75rem 1rem;
    background: var(--cw-surface);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-card);
    color: var(--cw-text-3);
}

.billing-indicative[b-xya7ftb6e7] {
    margin: 0.625rem 0 0;
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

/* Lista klientów: tabela i jej stopka to jedna karta (wzorzec Tabela / DataGrid). */
.billing-list[b-xya7ftb6e7] {
    background: var(--cw-surface);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-card);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.billing-receivables .billing-section-title[b-xya7ftb6e7] {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: var(--cw-text-md);
    font-weight: 600;
    border-bottom: 1px solid var(--cw-border-soft);
}

.billing-table[b-xya7ftb6e7] {
    margin: 0;
    font-size: var(--cw-text-xs);
}

.billing-table thead th[b-xya7ftb6e7] {
    background: var(--cw-table-head);
    color: var(--cw-text-2);
    font-size: var(--cw-text-xs);
    font-weight: 600;
    white-space: nowrap;
}

.billing-table .num[b-xya7ftb6e7] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.billing-table tbody td[b-xya7ftb6e7],
.billing-table tbody th[b-xya7ftb6e7] {
    vertical-align: middle;
    border-color: var(--cw-border-soft);
}

.billing-row[b-xya7ftb6e7] {
    height: 40px;
}

.billing-row:hover[b-xya7ftb6e7] {
    background: var(--cw-hover);
}

.billing-client[b-xya7ftb6e7] {
    font-weight: 400;
    min-width: 12rem;
}

.billing-toggle[b-xya7ftb6e7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.billing-toggle:focus-visible[b-xya7ftb6e7] {
    outline: 2px solid var(--cw-focus-ring);
    outline-offset: 2px;
    border-radius: var(--cw-radius-xs);
}

.billing-chevron[b-xya7ftb6e7] {
    display: inline-flex;
    color: var(--cw-muted);
}

.billing-row.is-open .billing-chevron[b-xya7ftb6e7] {
    transform: rotate(90deg);
}

.billing-client-text[b-xya7ftb6e7] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.billing-client-name[b-xya7ftb6e7] {
    font-size: var(--cw-text-sm);
    font-weight: 600;
    color: var(--cw-text);
    overflow-wrap: anywhere;
}

.billing-client-sub[b-xya7ftb6e7],
.billing-muted[b-xya7ftb6e7] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

.billing-amount[b-xya7ftb6e7] {
    font-size: var(--cw-text-sm);
    font-weight: 600;
    color: var(--cw-text);
}

.billing-pills[b-xya7ftb6e7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.billing-actions[b-xya7ftb6e7] {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

.billing-footer[b-xya7ftb6e7] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 1.25rem;
    padding: 0.5rem 1rem;
    background: var(--cw-surface-2);
    border-top: 1px solid var(--cw-border-soft);
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
    font-variant-numeric: tabular-nums;
}

.billing-empty[b-xya7ftb6e7] {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--cw-text-3);
}

.billing-empty p[b-xya7ftb6e7] {
    margin: 0 0 0.75rem;
}

/* Rozwinięcie wiersza: pełna szerokość, własne tło, bez karty w karcie. */
.billing-detail > td[b-xya7ftb6e7] {
    background: var(--cw-surface-2);
    padding: 0.875rem 1rem 1rem 2.5rem;
}

.billing-detail-grid[b-xya7ftb6e7] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.billing-detail-title[b-xya7ftb6e7] {
    margin: 0 0 0.5rem;
    font-size: var(--cw-text-sm);
    font-weight: 600;
    color: var(--cw-text);
}

.billing-detail-head[b-xya7ftb6e7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.billing-detail-head .billing-detail-title[b-xya7ftb6e7] {
    margin: 0;
}

.billing-projects[b-xya7ftb6e7],
.billing-charges[b-xya7ftb6e7] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.billing-project[b-xya7ftb6e7],
.billing-charge[b-xya7ftb6e7] {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--cw-border-soft);
}

.billing-project:first-child[b-xya7ftb6e7],
.billing-charge:first-child[b-xya7ftb6e7] {
    border-top: 0;
}

.billing-project-main[b-xya7ftb6e7],
.billing-charge-main[b-xya7ftb6e7] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.billing-project-name[b-xya7ftb6e7],
.billing-charge-name[b-xya7ftb6e7] {
    font-size: var(--cw-text-sm);
    font-weight: 600;
    color: var(--cw-text);
    overflow-wrap: anywhere;
}

.billing-project-sub[b-xya7ftb6e7],
.billing-charge-desc[b-xya7ftb6e7] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
    overflow-wrap: anywhere;
}

/* Poprawki P10/P14 - Rozpisanie kwoty: label left, amount right in tabular figures, under the project's bar. */
.billing-amount-lines[b-xya7ftb6e7] {
    margin: var(--cw-space-1) 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

.billing-amount-line[b-xya7ftb6e7] {
    display: flex;
    justify-content: space-between;
    gap: var(--cw-space-3);
    padding: var(--cw-space-0-5) 0;
    border-top: 1px dashed var(--cw-border-soft);
}

.billing-amount-line:first-child[b-xya7ftb6e7] {
    border-top: 0;
}

.billing-amount-line-value[b-xya7ftb6e7] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.billing-project-amount[b-xya7ftb6e7],
.billing-charge-amount[b-xya7ftb6e7] {
    flex: none;
    font-size: var(--cw-text-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.billing-charge-actions[b-xya7ftb6e7] {
    flex: none;
    display: flex;
    gap: 0.25rem;
}

@media (max-width: 899.98px) {
    .billing-detail > td[b-xya7ftb6e7] {
        padding-left: 1rem;
    }

    .billing-detail-grid[b-xya7ftb6e7] {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }
}

/* Własny kontener przewijania poziomego: .table-scroll ma limit wysokości, a rozwinięty wiersz ma się pokazać w całości. */
.billing-scroll[b-xya7ftb6e7] {
    overflow-x: auto;
}

.billing-detail > td[b-xya7ftb6e7] {
    text-align: left;
}

/* Lista nie może rozepchnąć strony szerszą tabelą - przewija się we własnym kontenerze. */
.billing-list[b-xya7ftb6e7],
.billing-summary[b-xya7ftb6e7] {
    min-width: 0;
    max-width: 100%;
}

.billing-detail-grid > *[b-xya7ftb6e7],
.billing-project-main[b-xya7ftb6e7],
.billing-charge-main[b-xya7ftb6e7] {
    min-width: 0;
}

@media (max-width: 699.98px) {
    /* Na wąskim ekranie zostaje to, co potrzebne do decyzji: klient, kwota, status. Godziny i dodatkowe widać po rozwinięciu. */
    .billing-col-hours[b-xya7ftb6e7],
    .billing-col-extra[b-xya7ftb6e7] {
        display: none;
    }

    .billing-client[b-xya7ftb6e7] {
        min-width: 8rem;
    }

    .billing-detail > td[b-xya7ftb6e7] {
        padding: 0.75rem;
    }
}

/* Pigułki statusu pod nazwą klienta - tylko na wąskim ekranie (na szerokim jest kolumna Status). */
.billing-status-inline[b-xya7ftb6e7] {
    display: none;
    margin-top: 0.25rem;
}

@media (max-width: 699.98px) {
    .billing-col-status[b-xya7ftb6e7] {
        display: none;
    }

    .billing-status-inline[b-xya7ftb6e7] {
        display: block;
    }

    /* Faktura / płatność: sama ikona, kwadrat 32 × 32 jak inne akcje w wierszu (nazwa zostaje w title/aria-label). */
    .billing-period-label[b-xya7ftb6e7] {
        display: none;
    }

    .billing-period-btn[b-xya7ftb6e7] {
        width: 32px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Rozwinięcie: tło wiersza odcina się od strony, a dwie części (projekty, dodatkowe kwoty) to białe panele z obrysem. */
.billing-detail > td[b-xya7ftb6e7] {
    background: var(--cw-surface-3);
    box-shadow: inset 3px 0 0 var(--cw-primary);
}

.billing-detail-col[b-xya7ftb6e7] {
    background: var(--cw-surface);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    padding: 0.875rem 1rem 1rem;
}

.billing-account[b-xya7ftb6e7] {
    font-variant-numeric: tabular-nums;
    color: var(--cw-text-2);
    overflow-wrap: anywhere;
}

.billing-detail-col p[b-xya7ftb6e7] {
    overflow-wrap: anywhere;
}

/* time-per-project, Faza 18: pasek informacji pod paskiem miesiąca (godziny zespołu czekające na zatwierdzenie). */
.billing-info-bar[b-xya7ftb6e7] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2);
    margin-bottom: var(--cw-space-3);
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
    font-size: var(--cw-text-sm);
}

.billing-pills[b-xya7ftb6e7] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--cw-space-1);
}

.billing-in-progress[b-xya7ftb6e7] {
    display: block;
    font-weight: 400;
}

.billing-footer[b-xya7ftb6e7] {
    align-items: center;
}

/* billing-readability, Faza 1: akcje w wierszu faktury - jeden rozmiar (32 px, jak „Akcja wiersza z nazwą”) i stały odstęp, w jednej linii; ikona zamiast tekstu
   „Faktura / płatność” (nazwa zostaje w title i aria-label). Tabela faktur ma 5 kolumn i mieści się w karcie. */
.billing-row-actions[b-xya7ftb6e7] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--cw-space-2);
}

.billing-row-actions .btn[b-xya7ftb6e7],
.billing-row-actions .billing-period-btn[b-xya7ftb6e7] {
    height: 32px;
    margin: 0;
}

/* Ikona + „Faktura / płatność” (wzorzec „Akcja wiersza z nazwą”); poniżej 700 px sam kwadrat 32 × 32 (reguła wyżej). */
.billing-row-actions .billing-period-btn[b-xya7ftb6e7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--cw-space-1-5);
}

.billing-client-sub[b-xya7ftb6e7] {
    display: block;
    overflow-wrap: anywhere;
}

/* billing-readability, Faza 2: lista „Do faktury”. Kwota i „po terminie” w jednej linii, a „Oznacz zapłacone” w kolumnie akcji (32 px, jak „Otwórz”),
   więc wiersz ma stałą wysokość. Segmenty wieku obok siebie zamiast w kolumnie. */
.billing-wait[b-xya7ftb6e7] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--cw-space-2);
    flex-wrap: wrap;
}

/* billing-readability: wąski ekran (poniżej 700 px) - wiersz tabeli to karta: nazwa i kwota u góry, pod spodem pigułki, „Czeka na wpłatę” albo status, na dole akcje.
   Nic nie wychodzi poza kartę i żadna akcja nie chowa się w poziomym przewijaniu. */
@media (max-width: 699.98px) {
    .billing-table--cards thead[b-xya7ftb6e7] {
        display: none;
    }

    .billing-table--cards[b-xya7ftb6e7],
    .billing-table--cards tbody[b-xya7ftb6e7] {
        display: block;
    }

    .billing-table--cards tbody tr[b-xya7ftb6e7] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--cw-space-1) var(--cw-space-3);
        height: auto;
        padding: var(--cw-space-3);
        border-bottom: 1px solid var(--cw-border-soft);
    }

    .billing-table--cards tbody tr:last-child[b-xya7ftb6e7] {
        border-bottom: 0;
    }

    .billing-table--cards tbody th[b-xya7ftb6e7],
    .billing-table--cards tbody td[b-xya7ftb6e7] {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    .billing-table--cards tbody th[b-xya7ftb6e7] {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .billing-table--cards tbody td.billing-amount[b-xya7ftb6e7] {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .billing-table--cards tbody td.billing-col-extra[b-xya7ftb6e7],
    .billing-table--cards tbody td.billing-col-wait[b-xya7ftb6e7],
    .billing-table--cards tbody td:not(.billing-amount):not(.billing-actions)[b-xya7ftb6e7] {
        grid-column: 1 / -1;
        text-align: left;
    }

    .billing-table--cards tbody td.billing-col-extra[b-xya7ftb6e7] {
        display: block;
    }

    .billing-table--cards tbody td.billing-col-wait[b-xya7ftb6e7] {
        display: block;
    }

    .billing-table--cards tbody td.billing-col-wait[b-xya7ftb6e7]::before,
    .billing-table--cards tbody td.billing-basis[b-xya7ftb6e7]::before {
        content: attr(data-label) ": ";
        color: var(--cw-text-3);
    }

    .billing-table--cards tbody td.billing-cell-empty[b-xya7ftb6e7] {
        display: none;
    }

    .billing-table--cards tbody td.billing-actions[b-xya7ftb6e7] {
        grid-column: 1 / -1;
        width: auto;
        text-align: right;
    }

    .billing-table--cards .billing-row-actions[b-xya7ftb6e7] {
        flex-wrap: wrap;
    }
}

@media (max-width: 699.98px) {
    /* Daty faktury są w szerokim widoku; na telefonie status („Po terminie (26 dni)”) niesie to, co potrzebne. */
    .billing-table--cards tbody td.billing-col-hours[b-xya7ftb6e7] {
        display: none;
    }
}

@media (max-width: 699.98px) {
    /* Globalny styl tabel daje komórkom stałe 36 px i wąskie kolumny (table-col-fit): w układzie kartowym wysokość i szerokość mają wynikać z treści. */
    .billing-table--cards tbody th[b-xya7ftb6e7],
    .billing-table--cards tbody td[b-xya7ftb6e7] {
        height: auto;
        width: auto;
    }

    .billing-table--cards tbody td.billing-amount[b-xya7ftb6e7] {
        white-space: nowrap;
    }
}

/* billing-readability: podsumowanie zakładek to karta z kolumnami (.cw-summary w app.css), tu tylko kontener. */
.billing-summary[b-xya7ftb6e7] {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 0.75rem;
}

/* Telefon: pływający „Stoper” stoi w prawym dolnym rogu - pod ostatnim wierszem listy zostaje miejsce, żeby jego akcje dało się przewinąć spod przycisku (ui-critique). */
@media (max-width: 699.98px) {
    .billing-list[b-xya7ftb6e7] {
        margin-bottom: 4.5rem;
    }
}

/* billing-period-tabs, Faza 2: nazwy kwot w oknie kwoty - pole wyboru z „Nowa nazwa” obok, pod spodem rozwijany blok (nowa nazwa albo lista nazw).
   Blok to wnęka w oknie (--cw-surface-2), nie karta w karcie. */
.charge-type-row[b-xya7ftb6e7] {
    display: flex;
    gap: var(--cw-space-2);
    align-items: center;
}

.charge-type-row .form-select[b-xya7ftb6e7] {
    flex: 1 1 auto;
    min-width: 0;
}

.charge-type-new[b-xya7ftb6e7] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1);
    white-space: nowrap;
    height: 36px;
}

.charge-type-inline[b-xya7ftb6e7] {
    margin-top: var(--cw-space-2);
    padding: var(--cw-space-3);
    background: var(--cw-surface-2);
    border: 1px solid var(--cw-border-soft);
    border-radius: var(--cw-radius-md);
}

.charge-type-actions[b-xya7ftb6e7] {
    display: flex;
    justify-content: flex-end;
    gap: var(--cw-space-2);
    margin-top: var(--cw-space-2);
}

.charge-type-list[b-xya7ftb6e7] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.charge-type-item[b-xya7ftb6e7] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2);
    min-height: var(--cw-space-10);
    padding: var(--cw-space-1) 0;
    border-bottom: 1px solid var(--cw-border-soft);
}

.charge-type-item:last-child[b-xya7ftb6e7] {
    border-bottom: 0;
}

.charge-type-item-name[b-xya7ftb6e7] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.charge-type-item .form-control[b-xya7ftb6e7] {
    flex: 1 1 auto;
    min-width: 0;
}

.charge-type-item-actions[b-xya7ftb6e7] {
    display: inline-flex;
    gap: var(--cw-space-2);
    flex: 0 0 auto;
}

/* ksef-link-invoices: skrót „KSeF” stoi w wierszu z numerem faktury (tylko przy powiązanej). */
.billing-source[b-xya7ftb6e7] {
    display: inline-block;
    margin-left: var(--cw-space-2);
}
/* /Pages/Settings/BillingClientDialog.razor.rz.scp.css */
/* time-per-project, Faza 18 (F2b); billing-readability (propozycja 3 z karta-klienta.html): okno klienta. Tokeny --cw-*, bez własnych kolorów.
   Od góry: STAŁA belka podsumowania (nie przewija się razem z listą), zakładki, treść zakładki; stopka przyklejona do dołu przewijanego okna.
   Okno przewija się jako całość (.modal-panel-body), a belka i stopka są „sticky” z ujemnym marginesem odstępu body (--cw-space-6), żeby sięgały krawędzi okna. */

.client-dialog-fixed[b-uua1ioxr2d] {
    position: sticky;
    top: calc(-1 * var(--cw-space-6));
    z-index: 4;
    margin: calc(-1 * var(--cw-space-6)) calc(-1 * var(--cw-space-6)) var(--cw-space-3);
    padding: var(--cw-space-3) var(--cw-space-6);
    background: var(--cw-surface-2);
    border-bottom: 1px solid var(--cw-border);
}

.client-dialog-sub[b-uua1ioxr2d] {
    margin: 0 0 var(--cw-space-1);
    font-size: var(--cw-text-sm);
    color: var(--cw-text-3);
}

/* client-summary: link do Podsumowania klienta na końcu linii z walutą i terminem. */
.client-dialog-summary-link[b-uua1ioxr2d] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1-5);
    margin-left: var(--cw-space-2);
    white-space: nowrap;
}

/* Zakładki okna w jednej linii także na telefonie (ui-critique: „Konto i historia” spadało do drugiej linii i wyglądało na błąd). Mniejszy odstęp, a gdy i tak
   brakuje miejsca - przewijanie w bok zamiast zawijania. */
.client-dialog-tabs[b-uua1ioxr2d]  .tab-strip,
.client-dialog-tabs[b-uua1ioxr2d]  .tab-strip-list {
    flex-wrap: nowrap;
}

.client-dialog-tabs[b-uua1ioxr2d]  .tab-strip-tab {
    flex: 0 0 auto;
    white-space: nowrap;
}

.client-dialog-tabs[b-uua1ioxr2d]  .tab-strip-list {
    overflow-x: auto;
    scrollbar-width: none;
    /* The tab's 2 px underline sits 1 px over the strip's border: room for it, so the scroll box does not clip it. */
    padding-bottom: 1px;
    margin-bottom: -1px;
}

@media (max-width: 767.98px) {
    .client-dialog-tabs[b-uua1ioxr2d]  .tab-strip-list {
        column-gap: var(--cw-space-3);
        /* Nie mieści się: prawa krawędź zanika, żeby było widać, że pasek przewija się w bok (nie ucięte słowo). */
        mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
    }
}

.client-dialog-verify[b-uua1ioxr2d] {
    margin-top: var(--cw-space-2);
}

.client-dialog-panel[b-uua1ioxr2d] {
    padding-top: var(--cw-space-3);
    min-width: 0;
}

/* Uwaga użytkownika 2026-11-07: praca w projektach i dodatkowe kwoty to dwie osobne sekcje listy „Do faktury”. */
.client-dialog-section + .client-dialog-section[b-uua1ioxr2d] {
    margin-top: var(--cw-space-4);
}

.client-dialog-section-head[b-uua1ioxr2d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-2) var(--cw-space-3);
    margin-bottom: var(--cw-space-2);
}

.client-dialog-section-head .client-dialog-title[b-uua1ioxr2d] {
    margin: 0;
}

/* „do faktury” przed kwotą miesiąca w podsumowaniu - mały podpis, kwota zostaje duża. */
.client-dialog-slice-tag[b-uua1ioxr2d] {
    margin-right: var(--cw-space-1);
    font-size: var(--cw-text-xs);
    font-weight: 400;
    color: var(--cw-text-3);
}

.client-dialog-title[b-uua1ioxr2d] {
    margin: 0 0 var(--cw-space-2);
    font-size: var(--cw-text-sm);
    font-weight: 600;
    color: var(--cw-text);
}

.billing-muted[b-uua1ioxr2d] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

/* ---- „Do faktury”: pasek KSeF, narzędzia i płaska lista ---- */
.invoice-banner[b-uua1ioxr2d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-3);
    margin-bottom: var(--cw-space-3);
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-primary-tint, var(--cw-bg));
    font-size: var(--cw-text-sm);
}

.invoice-banner > span[b-uua1ioxr2d] {
    flex: 1 1 14rem;
}

.client-dialog-toolbar[b-uua1ioxr2d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-2) var(--cw-space-3);
    margin-bottom: var(--cw-space-2);
}

.client-dialog-toolbar-group[b-uua1ioxr2d] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-3);
}

.client-dialog-table[b-uua1ioxr2d] {
    overflow-x: auto;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
}

.client-dialog-flat[b-uua1ioxr2d] {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: var(--cw-text-sm);
}

.client-dialog-flat th[b-uua1ioxr2d] {
    padding: var(--cw-space-2);
    font-size: var(--cw-text-xs);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    /* Nagłówek tabeli jak w całej aplikacji: --cw-table-head i --cw-text-2 (design-system.md, „Tabela / DataGrid”). */
    color: var(--cw-text-2);
    background: var(--cw-table-head);
    border-bottom: 1px solid var(--cw-border);
}

.client-dialog-flat td[b-uua1ioxr2d] {
    padding: var(--cw-space-1-5) var(--cw-space-2);
    vertical-align: middle;
    border-bottom: 1px solid var(--cw-border-soft);
}

.client-dialog-flat tbody tr:last-child td[b-uua1ioxr2d] {
    border-bottom: 0;
}

.client-dialog-flat .num[b-uua1ioxr2d] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.client-dialog-flat .c-check[b-uua1ioxr2d] {
    width: 3.25rem;
    white-space: nowrap;
}

/* Ptaszek rozpisania kwoty na początku wiersza; wiersz bez rozpisania ma w tym miejscu odstęp, żeby pola wyboru stały w jednej linii. */
.client-dialog-expand[b-uua1ioxr2d],
.client-dialog-expand-gap[b-uua1ioxr2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: var(--cw-space-1);
    vertical-align: middle;
}

.client-dialog-expand[b-uua1ioxr2d] {
    padding: 0;
    color: var(--cw-text-3);
    border-radius: var(--cw-radius-sm);
}

.client-dialog-expand:hover[b-uua1ioxr2d] {
    color: var(--cw-text);
    background: var(--cw-surface-2);
}

.client-dialog-expand[b-uua1ioxr2d]  svg {
    transition: transform 0.12s ease-out;
}

.client-dialog-expand.is-expanded[b-uua1ioxr2d]  svg {
    transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
    .client-dialog-expand[b-uua1ioxr2d]  svg {
        transition: none;
    }
}

/* Kropka koloru projektu nie przykleja się do nazwy (uwaga użytkownika 2026-11-05). */
.client-dialog-flat .c-project .project-swatch[b-uua1ioxr2d] {
    margin-right: var(--cw-space-2);
}

.client-dialog-flat .c-amount[b-uua1ioxr2d] {
    font-weight: 600;
}

.client-dialog-flat .c-actions[b-uua1ioxr2d] {
    width: 1%;
    white-space: nowrap;
}

.client-dialog-check-gap[b-uua1ioxr2d] {
    display: inline-block;
    width: 1rem;
}

.client-dialog-pos.is-selected td[b-uua1ioxr2d] {
    background: var(--cw-primary-tint);
}

.client-dialog-pos.is-waived td[b-uua1ioxr2d],
.client-dialog-pos.is-settled td[b-uua1ioxr2d] {
    color: var(--cw-text-3);
}

.client-dialog-pos.is-waived .c-amount[b-uua1ioxr2d] {
    font-weight: 400;
    text-decoration: line-through;
}

/* JEDEN wzór rozwijania w całej karcie (rozpisanie kwoty, kwoty miesiąca, pozycje miesiąca w historii): wiersze rozwinięcia są częścią tej samej tabeli,
   na tle --cw-row-expand (token z app.css: delikatny odcień akcentu, nie kolor nagłówka --cw-table-head ani zaznaczenia --cw-primary-tint; uwaga użytkownika
   2026-11-13: na białym tle zlewały się z tabelą) i z kreską w kolorze akcentu z lewej, wcięte pod nazwą pozycji. */
.client-dialog-detail td[b-uua1ioxr2d] {
    /* Odstęp góra/dół jak w zwykłym wierszu (uwaga użytkownika 2026-11-13: tekst rozwinięcia stał wyżej niż środek wiersza przy padding-top: 0). */
    background: var(--cw-row-expand);
}

.client-dialog-detail td:first-child[b-uua1ioxr2d],
.client-dialog-pos--nested td:first-child[b-uua1ioxr2d] {
    box-shadow: inset 3px 0 0 var(--cw-primary);
}

.client-dialog-flat .client-dialog-detail td:first-child[b-uua1ioxr2d] {
    padding-left: calc(3.25rem + var(--cw-space-2));
}

/* Te same szerokości godzin, kwoty i stanu w wierszu miesiąca i w jego pozycjach - liczby stoją pod sobą mimo wcięcia. */
.client-dialog-history .c-hours[b-uua1ioxr2d] {
    width: 6rem;
}

.client-dialog-history .c-amount[b-uua1ioxr2d] {
    width: 9rem;
}

.client-dialog-history .c-age[b-uua1ioxr2d] {
    width: 11rem;
}

.client-dialog-note[b-uua1ioxr2d] {
    margin: var(--cw-space-1) 0;
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

.billing-amount-lines[b-uua1ioxr2d] {
    margin: var(--cw-space-1) 0;
    padding: 0;
    list-style: none;
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

.billing-amount-line[b-uua1ioxr2d] {
    display: flex;
    justify-content: space-between;
    gap: var(--cw-space-3);
    padding: var(--cw-space-0-5) 0;
    border-top: 1px dashed var(--cw-border-soft);
}

.billing-amount-line:first-child[b-uua1ioxr2d] {
    border-top: 0;
}

.billing-amount-line-value[b-uua1ioxr2d] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Akcje pozycji: zawsze widoczne (ui-critique: ukryte do najechania były nie do znalezienia, a przyciemnione nie miałyby kontrastu 4,5:1). */
.client-dialog-row-actions[b-uua1ioxr2d] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--cw-space-1);
}

/* „Nie fakturuj”: powód wpisuje się w wierszu pod pozycją (okna nie wchodzą jedno w drugie), zapis przyciskiem „Zapisz”. */
.client-dialog-waive[b-uua1ioxr2d] {
    margin: var(--cw-space-1) 0 var(--cw-space-2);
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-card);
    background: var(--cw-surface);
}

.client-dialog-waive-actions[b-uua1ioxr2d] {
    display: flex;
    justify-content: flex-end;
    gap: var(--cw-space-2);
    margin-top: var(--cw-space-2);
}

/* ---- „Faktury klienta” i „Konto i historia” ---- */
.client-dialog-block[b-uua1ioxr2d] {
    margin-bottom: var(--cw-space-4);
    padding: var(--cw-space-3);
    border: 1px solid var(--cw-border-soft);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
}

.client-dialog-account[b-uua1ioxr2d] {
    font-size: var(--cw-text-lg);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    word-break: break-word;
}

.client-dialog-invoices[b-uua1ioxr2d] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-dialog-invoice[b-uua1ioxr2d] {
    /* Stałe kolumny: numer i okres | kwota | netto/brutto | status | przycisk - przyciski i statusy stoją w jednej linii na każdym wierszu. */
    display: grid;
    /* Kolumna statusu mieści najdłuższą pigułkę („Czeka na wpłatę”) - pigułka ma white-space: nowrap i przy 6,5 rem wychodziła poza swoje tło. */
    grid-template-columns: minmax(0, 1fr) auto 5.75rem 8.5rem auto;
    align-items: center;
    gap: var(--cw-space-2);
    padding: var(--cw-space-2) 0;
    border-top: 1px solid var(--cw-border-soft);
}

/* Pigułka statusu ma tyle, ile jej napis (w siatce domyślnie rozciągała się na całą kolumnę), i stoi przy lewej krawędzi kolumny. */
.client-dialog-invoice[b-uua1ioxr2d] >  .cw-pill {
    justify-self: start;
}

.client-dialog-invoice:first-child[b-uua1ioxr2d] {
    border-top: 0;
}

/* amounts-net-gross-columns: nagłówek kolumn listy faktur (wizualny, aria-hidden) - jak thead tabeli. */
.client-dialog-invoice-head[b-uua1ioxr2d] {
    padding-block: var(--cw-space-1);
    background: var(--cw-table-head);
    color: var(--cw-text-2);
    font-size: var(--cw-text-xs);
    font-weight: 600;
    border-top: 0;
}


.client-dialog-invoice-main[b-uua1ioxr2d] {
    display: flex;
    flex-direction: column;
    flex: 1 1 8rem;
}

.client-dialog-invoice-number[b-uua1ioxr2d] {
    font-weight: 600;
}

.client-dialog-invoice-actions[b-uua1ioxr2d] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--cw-space-2);
}

.client-dialog-invoice-open[b-uua1ioxr2d] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1-5);
}

/* Poniżej 700 px „Faktura / płatność” to sam kwadrat 32 × 32 z ikoną (nazwa zostaje w title/aria-label) - wzorzec „Akcja wiersza z nazwą”. */
@media (max-width: 699.98px) {
    .client-dialog-invoice-open[b-uua1ioxr2d] {
        width: 32px;
        padding-left: 0;
        padding-right: 0;
    }

    .client-dialog-invoice-open-label[b-uua1ioxr2d] {
        display: none;
    }
}

.client-dialog-invoice-amount[b-uua1ioxr2d] {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ---- stopka ---- */
.client-dialog-footer[b-uua1ioxr2d] {
    position: sticky;
    /* Odstęp .modal-panel-body (--cw-space-6): stopka sięga krawędzi okna, a pod nią nie prześwituje treść. */
    bottom: calc(-1 * var(--cw-space-6));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-3);
    margin: var(--cw-space-3) calc(-1 * var(--cw-space-6)) calc(-1 * var(--cw-space-6));
    padding: var(--cw-space-3) var(--cw-space-6);
    border-top: 1px solid var(--cw-border);
    background: var(--cw-surface);
}

.client-dialog-footer-summary[b-uua1ioxr2d] {
    font-variant-numeric: tabular-nums;
}

.client-dialog-footer-actions[b-uua1ioxr2d] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--cw-space-2);
}

/* ---- wąski ekran: wiersz pozycji to dwie linie (miesiąc i kwota, projekt i status), pod spodem akcje; nic nie wychodzi poza okno ---- */
@media (max-width: 767.98px) {
    .client-dialog-fixed[b-uua1ioxr2d] {
        padding-left: var(--cw-space-4);
        padding-right: var(--cw-space-4);
    }

    .client-dialog-flat thead[b-uua1ioxr2d] {
        display: none;
    }

    .client-dialog-flat[b-uua1ioxr2d],
    .client-dialog-flat tbody[b-uua1ioxr2d] {
        display: block;
    }

    .client-dialog-flat tbody tr.client-dialog-pos[b-uua1ioxr2d] {
        display: grid;
        grid-template-columns: 2.75rem minmax(0, 1fr) auto;
        gap: var(--cw-space-0-5) var(--cw-space-3);
        padding: var(--cw-space-2) var(--cw-space-3);
        border-bottom: 1px solid var(--cw-border-soft);
    }

    .client-dialog-flat tbody tr.client-dialog-pos td[b-uua1ioxr2d] {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .client-dialog-pos.is-selected[b-uua1ioxr2d] {
        background: var(--cw-primary-tint);
    }

    .client-dialog-flat .c-check[b-uua1ioxr2d] {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: auto;
    }

    .client-dialog-flat .c-month[b-uua1ioxr2d] {
        grid-column: 2;
        grid-row: 1;
    }

    .client-dialog-flat .c-amount[b-uua1ioxr2d] {
        grid-column: 3;
        grid-row: 1;
    }

    .client-dialog-flat .c-project[b-uua1ioxr2d] {
        grid-column: 2;
        grid-row: 2;
    }

    .client-dialog-flat tbody tr.client-dialog-pos td.c-hours[b-uua1ioxr2d] {
        display: none;
    }

    .client-dialog-flat .c-age[b-uua1ioxr2d] {
        grid-column: 3;
        grid-row: 2;
        text-align: right;
    }

    .client-dialog-flat tbody tr.client-dialog-pos td.c-actions[b-uua1ioxr2d] {
        grid-column: 2 / -1;
        grid-row: 3;
        width: auto;
        text-align: right;
    }

    .client-dialog-flat tr.client-dialog-detail[b-uua1ioxr2d],
    .client-dialog-flat tr.client-dialog-detail td[b-uua1ioxr2d] {
        display: block;
    }

    .client-dialog-flat tr.client-dialog-detail td[b-uua1ioxr2d] {
        padding: var(--cw-space-2) var(--cw-space-3);
    }

    /* Historia: wiersz miesiąca i pozycja miesiąca nie mają drugiej linii (projektu / miesiąca) - nazwa na środku, kwota i status po prawej. */
    .client-dialog-history .c-month[b-uua1ioxr2d] {
        grid-row: 1 / span 2;
        align-self: center;
    }

    /* W historii nie ma pola wyboru - pierwsza kolumna to tylko ptaszek, a nazwa ma miejsce w jednej linii. */
    .client-dialog-history tbody tr.client-dialog-pos[b-uua1ioxr2d] {
        grid-template-columns: 1.5rem minmax(0, 1fr) auto;
        padding-left: var(--cw-space-2);
        padding-right: var(--cw-space-2);
    }

    .client-dialog-history .c-month[b-uua1ioxr2d] {
        overflow-wrap: anywhere;
    }

    .client-dialog-history tr.client-dialog-detail td[b-uua1ioxr2d] {
        padding: var(--cw-space-2) var(--cw-space-1);
    }

    /* Stałe szerokości kolumn historii są dla tabeli; w układzie kart kolumna kwoty i stanu ma tyle, ile treść. */
    .client-dialog-history .c-hours[b-uua1ioxr2d],
    .client-dialog-history .c-amount[b-uua1ioxr2d],
    .client-dialog-history .c-age[b-uua1ioxr2d] {
        width: auto;
    }

    .client-dialog-invoice[b-uua1ioxr2d] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    /* Bez nagłówka kolumn (jak thead w układzie kartowym): „Netto/brutto” dostaje podpis i stoi pod nazwą faktury. */
    .client-dialog-invoice-head[b-uua1ioxr2d] {
        display: none;
    }

    .client-dialog-invoice-head + .client-dialog-invoice[b-uua1ioxr2d] {
        border-top: 0;
    }

    .client-dialog-invoice-basis[b-uua1ioxr2d] {
        grid-column: 1 / -1;
    }

    .client-dialog-invoice-basis[b-uua1ioxr2d]::before {
        content: "Netto/brutto: ";
        color: var(--cw-text-3);
    }
}

/* billing-period-tabs, Faza 3: dodatkowe kwoty per miesiąc. Wiersz miesiąca ma kwotę pogrubioną i liczbę kwot z nazwami; kwoty w rozwinięciu są wcięte
   (pierwsza kolumna dostaje odstęp) na tle wnęki --cw-surface-2, jak pozycje w rozwiniętym miesiącu Historii. */
.client-dialog-month .client-dialog-month-amount[b-uua1ioxr2d] {
    font-weight: 600;
}

.client-dialog-month-count[b-uua1ioxr2d] {
    font-weight: 600;
}

.client-dialog-month-names[b-uua1ioxr2d] {
    color: var(--cw-text-3);
    overflow-wrap: anywhere;
}

.client-dialog-pos--nested:not(.is-selected) td[b-uua1ioxr2d] {
    background: var(--cw-row-expand);
}

.client-dialog-flat .client-dialog-pos--nested .c-check[b-uua1ioxr2d] {
    padding-left: calc(var(--cw-space-2) + var(--cw-space-4));
}

@media (max-width: 767.98px) {
    .client-dialog-flat .client-dialog-detail td:first-child[b-uua1ioxr2d] {
        padding-left: var(--cw-space-3);
    }
}

@media (max-width: 767.98px) {
    /* Na telefonie miesiąc to karta, a jego kwoty to karty wcięte pod nim; kwota nie ma drugiej linii (miesiąc stoi w karcie miesiąca). */
    .client-dialog-flat tbody tr.client-dialog-pos--nested[b-uua1ioxr2d] {
        margin-left: var(--cw-space-4);
        background: var(--cw-row-expand);
    }

    .client-dialog-flat .client-dialog-pos--nested .c-check[b-uua1ioxr2d] {
        padding-left: 0;
    }

    .client-dialog-flat .client-dialog-pos--nested .c-month[b-uua1ioxr2d] {
        display: none;
    }

    .client-dialog-flat .client-dialog-pos--nested .c-project[b-uua1ioxr2d] {
        grid-row: 1 / span 2;
        align-self: center;
    }
}

/* ksef-link-invoices: skrót „KSeF” stoi w tym samym wierszu co numer faktury; legenda pod listą. */
.client-dialog-invoice-title[b-uua1ioxr2d] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.client-dialog-invoice-source[b-uua1ioxr2d] {
    display: inline-block;
    margin-left: var(--cw-space-2);
}

.client-dialog-legend[b-uua1ioxr2d] {
    margin-top: var(--cw-space-3);
    padding-top: var(--cw-space-2);
    border-top: 1px dashed var(--cw-border-soft);
}
/* /Pages/Settings/BillingSummaryTab.razor.rz.scp.css */
/* billing-period-tabs: rok Podsumowań stoi tak samo jak miesiąc w „Do faktury” (MonthNav): strzałki przy etykiecie, a obok „Cała współpraca”. */
.summary-toolbar[b-6g9bjgsmp3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-3);
    margin-bottom: var(--cw-space-3);
}

/* „Cała współpraca” stoi poza .day-nav, więc dostaje tę samą wysokość co strzałki roku (36 px - pole formularza). */
.summary-toolbar > .btn[b-6g9bjgsmp3] {
    height: 36px;
}

.summary-toolbar .day-nav[b-6g9bjgsmp3] {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
}

/* Stała szerokość etykiety: strzałki nie skaczą między „2026” a „Cała współpraca”. */
.summary-year-label[b-6g9bjgsmp3] {
    min-width: 11.5rem;
    text-align: center;
    white-space: nowrap;
}
/* /Pages/Settings/InvoiceDialog.razor.rz.scp.css */
/* time-per-project, Faza 18 (F3, F5): okno faktury. */
.invoice-banner[b-9n8ebf8sif] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-3);
    margin-bottom: var(--cw-space-3);
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-primary-tint, var(--cw-bg));
    font-size: var(--cw-text-sm);
}

.invoice-banner > span[b-9n8ebf8sif] {
    flex: 1 1 14rem;
}

.invoice-banner--danger[b-9n8ebf8sif] {
    border-color: var(--cw-danger, var(--cw-border));
    background: var(--cw-danger-tint, var(--cw-bg));
}

/* UI-check 2026-11-01 (wzorzec „Tabela”): na telefonie tabela pozycji przewija się w poziomie we własnym kontenerze, zamiast ucinać kwotę.
   Bez tabindex: fokus okna ma trafić w „Numer faktury”, a tabela to tylko podgląd. */
.invoice-positions[b-9n8ebf8sif] {
    overflow-x: auto;
}

.invoice-positions .num[b-9n8ebf8sif] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.invoice-ksef-number[b-9n8ebf8sif] {
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}

.invoice-actions[b-9n8ebf8sif] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cw-space-2);
}

/* Pola dat wypełniają swoje kolumny (komponent wyboru daty jest domyślnie inline-block), więc odstępy między polami są wszędzie takie same. */
.invoice-form-row[b-9n8ebf8sif]  .pl-date-picker {
    display: block;
}

/* Zapłata w jednym rzędzie, od lewej: pole wyboru, jego podpis „Zapłacone”, a dalej pole „Data zapłaty” (etykieta nad polem). Pole wyboru i podpis są
   wyśrodkowane w pasie 36 px - wysokości pola formularza z design-system.md („Pole formularza”; tokenu na nią nie ma). Selektory mają trzy klasy, bo ogólne .form-check:not(.form-switch) z app.css (wcięcie, ujemny margines
   pola) ma tę samą wagę i inaczej wygrywa kolejność arkuszy. */
.invoice-paid-row[b-9n8ebf8sif] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    column-gap: var(--cw-space-4);
    row-gap: var(--cw-space-2);
}

.invoice-paid-row .invoice-paid-check.form-check[b-9n8ebf8sif] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2);
    min-height: 36px;
    margin: 0;
    padding-left: 0;
}

.invoice-paid-row .invoice-paid-check .form-check-input[b-9n8ebf8sif] {
    float: none;
    flex: none;
    margin: 0;
}

.invoice-paid-row .invoice-paid-check .form-check-label[b-9n8ebf8sif] {
    margin: 0;
    line-height: 1;
}

.invoice-paid-field[b-9n8ebf8sif] {
    width: 12rem;
    max-width: 100%;
}

.invoice-paid-field .form-label[b-9n8ebf8sif] {
    margin-bottom: var(--cw-space-1);
}

/* Samo pole daty wyżej o 3 px (uwaga użytkownika 2026-11-13); etykieta i pole wyboru stoją w miejscu. Przesuwany jest tylko przycisk pola,
   nie cały komponent, żeby okienko kalendarza nie odjechało. To korekta wizualna dobrana na oko: przy zmianie wysokości pola daty albo pasa 36 px wyżej
   trzeba ją sprawdzić ponownie. */
.invoice-paid-field[b-9n8ebf8sif]  .pl-date-picker-input {
    position: relative;
    top: -3px;
}

/* ksef-link-invoices: wiersz „skąd jest ta faktura” - znacznik, opis i przycisk szukania/odpięcia w jednym rzędzie (zawija się na telefonie). */
.invoice-source[b-9n8ebf8sif] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-3);
}
/* /Pages/Settings/KsefLinkPanel.razor.rz.scp.css */
/* ksef-link-invoices: treść okna „Powiąż z fakturą z KSeF”. Panel ma kilka elementów głównych, więc style okna faktury (InvoiceDialog.razor.css) do niego nie sięgają
   i wygląd tabel ma własny plik. */
.invoice-positions[b-1t9290na9m] {
    overflow-x: auto;
}

.invoice-positions .num[b-1t9290na9m] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.invoice-ksef-number[b-1t9290na9m] {
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}

/* Porównanie: etykieta pola węższa i dwie równe kolumny wartości wyrównane do prawej (nagłówki też); pole, które się różni, ma żółte tło. */
.ksef-compare th[scope="row"][b-1t9290na9m] {
    width: 24%;
}

.ksef-compare th.num[b-1t9290na9m],
.ksef-compare td.num[b-1t9290na9m] {
    width: 38%;
    text-align: right;
}

.ksef-compare td.num[b-1t9290na9m] {
    white-space: normal;
}

.ksef-compare .ksef-diff[b-1t9290na9m] {
    background: var(--cw-warn-tint);
    color: var(--cw-warn-strong);
    font-weight: 600;
}
/* /Pages/Settings/KsefVerificationBar.razor.rz.scp.css */
/* billing-simplify, Faza 4: pasek „Do weryfikacji”. Trzy stany barwione tokenami statusu (żółty / czerwony / zielony). */
.ksef-bar[b-x0zz2kurrw] {
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-card);
    background: var(--cw-surface-2);
    padding: 0.625rem 0.875rem;
    margin-bottom: 0.75rem;
}

.ksef-bar.is-check[b-x0zz2kurrw] {
    border-color: var(--cw-warn);
}

.ksef-bar.is-mismatch[b-x0zz2kurrw] {
    border-color: var(--cw-danger);
    background: var(--cw-danger-tint);
}

.ksef-bar.is-verified[b-x0zz2kurrw] {
    border-color: var(--cw-ok);
}

.ksef-bar-head[b-x0zz2kurrw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.ksef-bar-title[b-x0zz2kurrw] {
    margin: 0;
    font-size: var(--cw-text-sm);
    font-weight: 600;
}

.ksef-bar-figures[b-x0zz2kurrw] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    margin: 0 0 0.375rem;
}

.ksef-bar-figures dt[b-x0zz2kurrw] {
    font-size: var(--cw-text-xs);
    font-weight: 400;
    color: var(--cw-text-3);
}

.ksef-bar-figures dd[b-x0zz2kurrw] {
    margin: 0;
    font-size: var(--cw-text-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ksef-bar.is-mismatch .ksef-bar-difference[b-x0zz2kurrw] {
    color: var(--cw-danger-strong);
}

.ksef-bar-note[b-x0zz2kurrw] {
    margin: 0 0 0.375rem;
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

@media (max-width: 700px) {
    .ksef-bar-figures[b-x0zz2kurrw] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Settings/MarkPaidDialog.razor.rz.scp.css */
/* billing-simplify, Faza 3: styl okna „Oznacz zapłacone” (CSS-isolation: style Billing.razor.css nie sięgają do tego komponentu). */
.mark-paid-table[b-mbfywr1w07] {
    margin-bottom: 1rem;
}

.mark-paid-table td[b-mbfywr1w07],
.mark-paid-table th[b-mbfywr1w07] {
    vertical-align: middle;
}

.billing-scroll[b-mbfywr1w07] {
    overflow-x: auto;
}

.billing-client-text[b-mbfywr1w07] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.billing-client-name[b-mbfywr1w07] {
    font-size: var(--cw-text-sm);
    font-weight: 600;
    color: var(--cw-text);
    overflow-wrap: anywhere;
}

.billing-client-sub[b-mbfywr1w07] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

.billing-amount[b-mbfywr1w07],
.num[b-mbfywr1w07] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .mark-paid-table thead[b-mbfywr1w07] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .mark-paid-table tr[b-mbfywr1w07] {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.25rem 0.75rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--cw-border-soft);
    }

    .mark-paid-table td[b-mbfywr1w07],
    .mark-paid-table th[b-mbfywr1w07] {
        display: block;
        border: 0;
        padding: 0;
        text-align: left;
    }

    /* amounts-net-gross-columns: piąta komórka ("Netto/brutto") nie może przesunąć daty do wąskiej kolumny "auto"; podstawa dostaje podpis, bo thead jest ukryty. */
    .mark-paid-table td.mark-paid-date[b-mbfywr1w07] {
        grid-column: 1 / -1;
    }

    .mark-paid-table td.mark-paid-basis[b-mbfywr1w07]::before {
        content: attr(data-label) ": ";
        color: var(--cw-text-3);
    }
}
/* /Pages/TimeTracking/Calendar.razor.rz.scp.css */
/* calendar-redesign: strona Czas pracy \ Kalendarz - jedna karta (nagłówek, rok, siatka, legenda). Tylko tokeny --cw-*; kolory dnia z motywu
   (--cw-day-*, --cw-jira-*). Komórka dnia ma własny CSS (Shared/Calendar/CalendarDayCell.razor.css). Siatka reaguje na szerokość KONTENERA
   (calgrid), nie okna: przy < 640 px 7 kolumn bez przewijania w poziomie, bez kolumny Σ. */
.cal[b-38id4gxnp4] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-3);
}

/* Miesiąc (tydzień) na środku karty (uwaga użytkownika 2026-11-07): „‹ Listopad 2026 ›” w środkowej kolumnie; w prawej „Dziś” tuż za strzałką
   i narzędzia Jiry dosunięte do prawej krawędzi. Boczne kolumny „1fr” nie zwężają się poniżej zawartości: gdy brakuje miejsca (Jira, ~800-1100 px),
   tytuł przesuwa się trochę w lewo, a narzędzia zawijają się pod „Dziś”, zamiast na siebie wchodzić (impl-review 2026-11-07 F1). */
.cal-head[b-38id4gxnp4] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-4);
}

.cal-nav[b-38id4gxnp4] {
    grid-column: 2;
}

.cal-tools[b-38id4gxnp4] {
    grid-column: 3;
}

.cal-nav[b-38id4gxnp4],
.cal-tools[b-38id4gxnp4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2);
}

.cal-tools > :not(.cal-today)[b-38id4gxnp4] {
    margin-left: auto;
}

/* Wąsko: bez kolumn - nawigacja wyśrodkowana, pod nią „Dziś” i narzędzia, też na środku. */
@media (max-width: 767.98px) {
    .cal-head[b-38id4gxnp4] {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cal-tools[b-38id4gxnp4] {
        justify-content: center;
    }

    .cal-tools > :not(.cal-today)[b-38id4gxnp4] {
        margin-left: 0;
    }
}

.cal-title[b-38id4gxnp4] {
    margin: 0;
    min-width: 12ch;
    text-align: center;
    font-size: var(--cw-text-lg);
    font-weight: 600;
    line-height: 1.3;
}

/* ---- przegląd roku: 12 miesięcy; max 6 w rzędzie (4 od 640 px, 6 od 1000 px szerokości sekcji), na telefonie poziomy pasek ---- */
.cal-year[b-38id4gxnp4] {
    container-type: inline-size;
    container-name: calyear;
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-2);
    padding: var(--cw-space-3);
    border: 1px solid var(--cw-border-soft);
    border-radius: var(--cw-radius-lg);
    background: var(--cw-surface-2);
}

/* Rok na środku (uwaga użytkownika 2026-11-07): „‹ 2026 ›” w środkowych kolumnach, „Zwiń / Rozwiń” przy prawej krawędzi. */
.cal-year-nav[b-38id4gxnp4] {
    display: grid;
    /* Boczne kolumny „1fr” (nie minmax(0, ...)): kolumna z „Zwiń” nie zwęża się poniżej przycisku, więc na telefonie rok przesuwa się trochę w lewo
       zamiast wejść strzałką na „Zwiń”; na szerokim ekranie obie są równe i rok stoi dokładnie pośrodku. */
    grid-template-columns: 1fr auto auto auto 1fr;
    align-items: center;
    gap: var(--cw-space-2);
}

.cal-year-nav > :first-child[b-38id4gxnp4] {
    grid-column: 2;
}

.cal-year-toggle[b-38id4gxnp4] {
    justify-self: end;
}

.cal-year-title[b-38id4gxnp4] {
    margin: 0;
    min-width: 5ch;
    text-align: center;
    font-size: var(--cw-text-md);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.cal-year-grid[b-38id4gxnp4] {
    display: flex;
    gap: var(--cw-space-2);
    overflow-x: auto;
    padding-bottom: var(--cw-space-1);
}

.cal-ym[b-38id4gxnp4] {
    flex: 0 0 104px;
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-0-5);
    min-width: 0;
    padding: var(--cw-space-2) var(--cw-space-2-5);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
    color: var(--cw-text);
    font: inherit;
    font-size: var(--cw-text-xs);
    text-align: left;
    cursor: pointer;
    transition: background-color var(--cw-duration-fast), border-color var(--cw-duration-fast);
}

.cal-ym:hover[b-38id4gxnp4] {
    border-color: var(--cw-primary-mid);
    background: var(--cw-hover);
}

.cal-ym:focus-visible[b-38id4gxnp4] {
    outline: var(--cw-focus-ring);
    outline-offset: 1px;
}

.cal-ym[aria-current="true"][b-38id4gxnp4] {
    border-color: var(--cw-primary);
    box-shadow: inset 0 0 0 1px var(--cw-primary);
}

.cal-ym.is-current .cal-ym-name[b-38id4gxnp4] {
    color: var(--cw-primary-strong);
}

.cal-ym-name[b-38id4gxnp4] {
    font-weight: 600;
}

.cal-ym-hours[b-38id4gxnp4] {
    font-size: var(--cw-text-sm);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cal-ym-under[b-38id4gxnp4] {
    font-size: var(--cw-text-2xs);
    font-weight: 600;
    color: var(--cw-day-under);
}

@container calyear (min-width: 640px) {
    .cal-year-grid[b-38id4gxnp4] {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
    }

    .cal-ym[b-38id4gxnp4] {
        flex: none;
    }
}

@container calyear (min-width: 1000px) {
    .cal-year-grid[b-38id4gxnp4] {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ---- tryb zaznaczania dni do Jiry (pasek trybu, jak „Ustawienia widżetów” na Dashboardzie) ---- */
.cal-modebar[b-38id4gxnp4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-4);
    padding: var(--cw-space-3);
    border: 1px solid var(--cw-primary-mid);
    border-radius: var(--cw-radius-lg);
    background: var(--cw-primary-tint);
}

.cal-modebar-text[b-38id4gxnp4] {
    margin: 0;
    font-size: var(--cw-text-xs);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--cw-primary-strong);
}

.cal-modebar-replace[b-38id4gxnp4] {
    margin: 0;
    font-size: var(--cw-text-xs);
}

.cal-modebar-actions[b-38id4gxnp4] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cw-space-2);
    margin-left: auto;
}

/* ---- siatka miesiąca ---- */
.cal-grid-wrap[b-38id4gxnp4] {
    container-type: inline-size;
    container-name: calgrid;
}

.cal-grid[b-38id4gxnp4] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-1);
}

.cal-row[b-38id4gxnp4] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr)) 72px;
    gap: var(--cw-space-1);
    align-items: stretch;
}

.cal-wd[b-38id4gxnp4] {
    padding: var(--cw-space-1) 0;
    text-align: center;
    font-size: var(--cw-text-xs);
    font-weight: 600;
    color: var(--cw-text-3);
}

.cal-wd abbr[b-38id4gxnp4] {
    text-decoration: none;
}

.cal-wd--we[b-38id4gxnp4] {
    color: var(--cw-text-3);
}

.cal-wk[b-38id4gxnp4] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--cw-space-1);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface-2);
    font-size: var(--cw-text-xs);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--cw-text-2);
}

.cal-wk.is-under[b-38id4gxnp4] {
    color: var(--cw-day-under);
}

@container calgrid (max-width: 640px) {
    .cal-row[b-38id4gxnp4] {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 2px;
    }

    .cal-wk[b-38id4gxnp4],
    .cal-wd--sum[b-38id4gxnp4] {
        display: none;
    }
}

/* ---- legenda ---- */
.cal-legend[b-38id4gxnp4] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cw-space-1-5) var(--cw-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

.cal-legend li[b-38id4gxnp4] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1-5);
}

.cal-lg[b-38id4gxnp4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: var(--cw-radius-xs);
    flex: none;
    font-size: var(--cw-text-2xs);
    font-weight: 700;
}

.cal-lg--today[b-38id4gxnp4] {
    border-radius: 50%;
    background: var(--cw-day-today);
    color: var(--cw-surface);
}

.cal-lg--holiday[b-38id4gxnp4] {
    background: var(--cw-day-holiday-bg);
    box-shadow: inset 0 0 0 1px var(--cw-day-holiday-border);
}

.cal-lg--weekend[b-38id4gxnp4] {
    background: var(--cw-day-weekend-bg);
    box-shadow: inset 0 0 0 1px var(--cw-day-weekend-border);
}

.cal-lg--pending[b-38id4gxnp4] {
    outline: 2px dashed var(--cw-primary-strong);
    outline-offset: -2px;
}

.cal-lg-under[b-38id4gxnp4] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--cw-day-under);
}

.cal-lg-dot[b-38id4gxnp4] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
}

.cal-lg-dot--none[b-38id4gxnp4] { background: var(--cw-jira-none); }
.cal-lg-dot--not-synced[b-38id4gxnp4] { background: var(--cw-jira-not-synced); }
.cal-lg-dot--synced[b-38id4gxnp4] { background: var(--cw-jira-synced); }
.cal-lg-dot--changed[b-38id4gxnp4] { background: var(--cw-jira-changed); }

/* ---- stany regionu ---- */
.cal-note[b-38id4gxnp4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-3);
    margin: 0;
    padding: var(--cw-space-3) var(--cw-space-4);
    border: 1px dashed var(--cw-border-strong);
    border-radius: var(--cw-radius-lg);
    background: var(--cw-surface-2);
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

.cal-skel[b-38id4gxnp4] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-3);
}

.cal-skel-head[b-38id4gxnp4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-3);
}

.cal-skel-bar[b-38id4gxnp4] {
    display: block;
    width: 96px;
    height: 32px;
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface-3);
}

.cal-skel-bar--title[b-38id4gxnp4] {
    width: 220px;
    max-width: 50%;
    height: 22px;
    border-radius: var(--cw-radius-pill);
}

.cal-skel-grid[b-38id4gxnp4] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--cw-space-1);
}

.cal-skel-cell[b-38id4gxnp4] {
    display: block;
    min-height: 78px;
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface-2);
    border: 1px solid var(--cw-border-soft);
}

@media (max-width: 640px) {
    .cal-skel-cell[b-38id4gxnp4] {
        min-height: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cal-ym[b-38id4gxnp4] {
        transition: none;
    }
}

/* ---- pasek podsumowania miesiąca (przepracowano z normy, fakturowane, dni poniżej normy) ---- */
.cal-summary[b-38id4gxnp4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-5);
    padding: var(--cw-space-2-5) var(--cw-space-3);
    border: 1px solid var(--cw-border-soft);
    border-radius: var(--cw-radius-lg);
    background: var(--cw-surface-2);
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

.cal-summary-bar[b-38id4gxnp4] {
    flex: 1 1 18rem;
    min-width: 12rem;
}

.cal-summary-item strong[b-38id4gxnp4] {
    margin-left: var(--cw-space-1);
    font-variant-numeric: tabular-nums;
    color: var(--cw-text);
}

.cal-summary-item.is-under strong[b-38id4gxnp4] {
    color: var(--cw-day-under);
}

.cal-summary-hint[b-38id4gxnp4] {
    color: var(--cw-text-3);
}

/* Zakładki Miesiąc / Tydzień siedzą w karcie z własnym odstępem (.cal ma gap) - bez dodatkowego marginesu pod paskiem. */
.cal[b-38id4gxnp4]  .tab-strip {
    margin-bottom: 0;
}

/* ---- okno dnia (Modal): nawigacja po dniach, pasek udziału projektów, brak do normy ---- */
.day-window-bar[b-38id4gxnp4] {
    display: flex;
    height: 8px;
    margin-bottom: var(--cw-space-3);
    border-radius: var(--cw-radius-pill);
    background: var(--cw-surface-3);
    overflow: hidden;
}

.day-window-bar i[b-38id4gxnp4] {
    display: block;
    flex: 0 0 var(--w);
    min-width: 2px;
    background: var(--c);
    box-shadow: inset -1px 0 0 var(--cw-surface);
}

.day-window-short[b-38id4gxnp4] {
    color: var(--cw-day-under);
}
/* /Shared/AuthShell.razor.rz.scp.css */
/* Shell "chrome" shared by every page before login - see AuthShell.razor's own comment. Mockup P03 (logowanie
   v10) with the fixed brand backdrop instead of the theme's --cw-primary-mid (17.10). Form classes live in the
   global app.css; the ::deep rules at the end only tune content the pages pass in. */

.auth-page[b-ihlfpp27y6] {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: var(--cw-space-3);
    background: var(--cw-brand-backdrop);
    font-family: var(--cw-font-sans);
    /* Focus on the dark backdrop: the amber ring, as on the top bar. */
    --cw-focus-ring-on-brand: 2px solid var(--cw-brand-amber);
}

.auth-frame[b-ihlfpp27y6] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--cw-space-3);
    min-height: calc(100vh - 2 * var(--cw-space-3));
    min-height: calc(100dvh - 2 * var(--cw-space-3));
}

/* --- Left half: logo, ghost tiles, dial, pitch (decoration, aria-hidden) --- */

.auth-hero[b-ihlfpp27y6] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--cw-space-6);
    padding: var(--cw-space-6) var(--cw-space-8) 84px;
    color: var(--cw-brand-white);
}

/* Logo 164 blown up behind the dial: eight 128 px tiles, the eighth amber. */
.auth-ghost[b-ihlfpp27y6] {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(4, 128px);
    gap: var(--cw-space-3);
    pointer-events: none;
}

    .auth-ghost i[b-ihlfpp27y6] {
        height: 128px;
        border-radius: 24px;
        background: var(--cw-brand-white);
    }

        .auth-ghost i:nth-child(1)[b-ihlfpp27y6] { opacity: 0.03; }
        .auth-ghost i:nth-child(2)[b-ihlfpp27y6] { opacity: 0.04; }
        .auth-ghost i:nth-child(3)[b-ihlfpp27y6] { opacity: 0.05; }
        .auth-ghost i:nth-child(4)[b-ihlfpp27y6] { opacity: 0.06; }
        .auth-ghost i:nth-child(5)[b-ihlfpp27y6] { opacity: 0.07; }
        .auth-ghost i:nth-child(6)[b-ihlfpp27y6] { opacity: 0.08; }
        .auth-ghost i:nth-child(7)[b-ihlfpp27y6] { opacity: 0.09; }

    .auth-ghost .auth-ghost-now[b-ihlfpp27y6] {
        background: var(--cw-brand-amber);
        opacity: 0.22;
    }

[b-ihlfpp27y6] .auth-hero-logo {
    position: relative;
}

.auth-stage[b-ihlfpp27y6] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.auth-pitch[b-ihlfpp27y6] {
    position: relative;
}

.auth-pitch-text[b-ihlfpp27y6] {
    margin: 0;
    max-width: 480px;
    font-size: 19px;
    font-weight: var(--cw-weight-medium);
    letter-spacing: -0.01em;
    line-height: 1.45;
    color: color-mix(in srgb, var(--cw-brand-white) 72%, transparent);
}

    .auth-pitch-text strong[b-ihlfpp27y6] {
        font-weight: var(--cw-weight-bold);
        color: color-mix(in srgb, var(--cw-brand-amber) 80%, transparent);
    }

.auth-flow[b-ihlfpp27y6] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 640px;
    margin-top: var(--cw-space-4);
}

    .auth-flow > div[b-ihlfpp27y6] {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding-top: var(--cw-space-2);
        border-top: 2px solid color-mix(in srgb, var(--cw-brand-white) 30%, transparent);
    }

        .auth-flow > div:nth-child(2)[b-ihlfpp27y6] {
            border-top-color: color-mix(in srgb, var(--cw-brand-amber) 35%, transparent);
        }

        .auth-flow > div:nth-child(3)[b-ihlfpp27y6] {
            border-top-color: color-mix(in srgb, var(--cw-brand-amber) 55%, transparent);
        }

        .auth-flow > div:nth-child(4)[b-ihlfpp27y6] {
            border-top-color: color-mix(in srgb, var(--cw-brand-amber) 75%, transparent);
        }

    .auth-flow i[b-ihlfpp27y6] {
        font-style: normal;
        font-size: 11px;
        font-weight: var(--cw-weight-bold);
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: color-mix(in srgb, var(--cw-brand-white) 70%, transparent);
    }

    .auth-flow span[b-ihlfpp27y6] {
        font-size: var(--cw-text-sm);
        font-weight: var(--cw-weight-medium);
        line-height: 1.4;
        color: color-mix(in srgb, var(--cw-brand-white) 60%, transparent);
    }

/* --- Right half: the form panel (theme colors) --- */

.auth-main[b-ihlfpp27y6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.auth-mobile-brand[b-ihlfpp27y6] {
    display: none;
}

.auth-panel[b-ihlfpp27y6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--cw-space-4);
    margin: var(--cw-space-1-5);
    padding: 36px max(36px, calc((100% - 400px) / 2));
    border-radius: var(--cw-radius-card);
    background: var(--cw-surface);
    color: var(--cw-text);
    box-shadow: 0 0 0 1px var(--cw-border), 0 24px 60px rgba(0, 0, 0, 0.25);
}

.auth-heading[b-ihlfpp27y6] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-1-5);
}

.auth-title[b-ihlfpp27y6] {
    margin: 0;
    font-size: var(--cw-text-display);
    font-weight: var(--cw-weight-bold);
    letter-spacing: var(--cw-letter-spacing-tight);
    line-height: 1.15;
    color: var(--cw-text);
}

/* Links in the pages' content: the theme's link color, not the legacy one. */
.auth-panel[b-ihlfpp27y6]  a:not(.cw-btn) {
    color: var(--cw-link);
    text-decoration: none;
}

    .auth-panel[b-ihlfpp27y6]  a:not(.cw-btn):hover {
        text-decoration: underline;
    }

.auth-panel[b-ihlfpp27y6]  .field-error {
    color: var(--cw-danger-strong);
    font-size: var(--cw-text-xs);
    margin-top: 0;
}

.auth-panel[b-ihlfpp27y6]  .required-marker {
    color: var(--cw-danger);
}

/* --- Regulamin / Polityka prywatności: bottom-left of the hero on a desktop, under the panel on a phone --- */

.auth-legal[b-ihlfpp27y6] {
    position: absolute;
    left: 44px;
    bottom: 12px;
    display: flex;
    gap: var(--cw-space-4);
    font-size: var(--cw-text-xs);
    font-weight: var(--cw-weight-medium);
}

    .auth-legal a[b-ihlfpp27y6] {
        color: color-mix(in srgb, var(--cw-brand-white) 85%, transparent);
        text-decoration: none;
    }

        .auth-legal a:hover[b-ihlfpp27y6] {
            color: var(--cw-brand-white);
            text-decoration: underline;
        }

        .auth-legal a:focus-visible[b-ihlfpp27y6] {
            outline: var(--cw-focus-ring-on-brand);
            outline-offset: var(--cw-focus-offset);
            border-radius: var(--cw-radius-xs);
        }

/* Below 900 px there is no room for the hero: logo on top, the panel full width, the legal links under it. */
@media (max-width: 900px) {
    .auth-page[b-ihlfpp27y6] {
        display: flex;
        flex-direction: column;
        gap: var(--cw-space-4);
        padding: var(--cw-space-5) var(--cw-space-4) var(--cw-space-6);
    }

    .auth-frame[b-ihlfpp27y6] {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .auth-hero[b-ihlfpp27y6] {
        display: none;
    }

    .auth-mobile-brand[b-ihlfpp27y6] {
        display: flex;
        justify-content: center;
        padding: var(--cw-space-2) 0 var(--cw-space-4);
    }

    .auth-panel[b-ihlfpp27y6] {
        flex: none;
        margin: 0;
        padding: var(--cw-space-6) var(--cw-space-5);
    }

    .auth-title[b-ihlfpp27y6] {
        font-size: var(--cw-text-3xl);
    }

    .auth-legal[b-ihlfpp27y6] {
        position: static;
        justify-content: center;
    }
}
/* /Shared/Calendar/CalendarDayCell.razor.rz.scp.css */
/* calendar-redesign: komórka dnia siatki miesiąca (wariant A - pasek proporcji). Tylko tokeny --cw-*; kolory dnia z motywu (--cw-day-*, --cw-jira-*).
   Telefon (kontener siatki < 640 px, @container calgrid): komórka 62 px, pasek 4 px, skróty pigułek. */
.cd-cell[b-3uupwh1x1e] {
    display: block;
    min-width: 0;
}

.cd-btn[b-3uupwh1x1e] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-0-5);
    width: 100%;
    min-height: 78px;
    padding: var(--cw-space-1) var(--cw-space-1-5);
    border: 1px solid var(--cw-border-strong);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
    color: var(--cw-text);
    font: inherit;
    font-size: var(--cw-text-xs);
    text-align: left;
    cursor: pointer;
    transition: background-color var(--cw-duration-fast), border-color var(--cw-duration-fast);
}

.cd-btn:hover:not(:disabled)[b-3uupwh1x1e] {
    border-color: var(--cw-primary-mid);
    background: var(--cw-hover);
}

.cd-btn:focus-visible[b-3uupwh1x1e] {
    outline: var(--cw-focus-ring);
    outline-offset: 1px;
    z-index: 1;
}

.cd-btn:disabled[b-3uupwh1x1e] {
    cursor: default;
}

.cd-cell--weekend .cd-btn[b-3uupwh1x1e] {
    background: var(--cw-day-weekend-bg);
    border-color: var(--cw-day-weekend-border);
}

.cd-cell--holiday .cd-btn[b-3uupwh1x1e] {
    background: var(--cw-day-holiday-bg);
    border-color: var(--cw-day-holiday-border);
}

.cd-cell--absence .cd-btn[b-3uupwh1x1e] {
    background: color-mix(in srgb, var(--abs-bg) 35%, var(--cw-surface));
}

.cd-cell--pending .cd-btn[b-3uupwh1x1e] {
    outline: 2px dashed var(--cw-primary-strong);
    outline-offset: -2px;
}

.cd-cell--selected .cd-btn[b-3uupwh1x1e] {
    border-color: var(--cw-primary);
    background: var(--cw-primary-tint);
    box-shadow: inset 0 0 0 1px var(--cw-primary);
}

.cd-cell--inactive .cd-btn[b-3uupwh1x1e] {
    background: transparent;
    border-style: dashed;
    color: var(--cw-text-3);
}

.cd-top[b-3uupwh1x1e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-1);
    min-height: 20px;
}

.cd-num[b-3uupwh1x1e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 var(--cw-space-0-5);
    border-radius: var(--cw-radius-pill);
    font-size: var(--cw-text-xs);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--cw-text-2);
}

.cd-cell--holiday .cd-num[b-3uupwh1x1e] {
    color: var(--cw-day-holiday-text);
}

.cd-cell--other .cd-num[b-3uupwh1x1e] {
    color: var(--cw-text-3);
    font-weight: 500;
}

.cd-num.is-today[b-3uupwh1x1e] {
    background: var(--cw-day-today);
    color: var(--cw-surface);
    font-weight: 700;
}

.cd-marks[b-3uupwh1x1e] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1);
    min-width: 0;
}

.cd-dl[b-3uupwh1x1e] {
    display: inline-flex;
    color: var(--project-color);
}

.cd-more[b-3uupwh1x1e] {
    font-size: var(--cw-text-2xs);
    color: var(--cw-text-3);
}

.cd-err[b-3uupwh1x1e] {
    display: inline-flex;
    color: var(--cw-danger-strong);
}

.cd-check[b-3uupwh1x1e] {
    display: inline-flex;
    color: var(--cw-primary-strong);
}

.cd-jira[b-3uupwh1x1e] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
    background: var(--cw-jira-none);
}

.cd-jira--not-synced[b-3uupwh1x1e] {
    background: var(--cw-jira-not-synced);
}

.cd-jira--synced[b-3uupwh1x1e] {
    background: var(--cw-jira-synced);
}

.cd-jira--changed[b-3uupwh1x1e] {
    background: var(--cw-jira-changed);
}

.cd-mid[b-3uupwh1x1e] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 var(--cw-space-1);
    min-height: 18px;
    font-variant-numeric: tabular-nums;
}

.cd-hours[b-3uupwh1x1e] {
    font-size: var(--cw-text-sm);
    font-weight: 700;
    color: var(--cw-text);
}

.cd-short[b-3uupwh1x1e] {
    font-size: var(--cw-text-2xs);
    font-weight: 600;
    color: var(--cw-day-under);
}

.cd-bar[b-3uupwh1x1e] {
    display: flex;
    height: 6px;
    border-radius: var(--cw-radius-pill);
    background: var(--cw-surface-3);
    overflow: hidden;
}

/* A day without time keeps the bar's height (so cells line up) but not its track - 42 grey stripes would be noise. */
.cd-bar--empty[b-3uupwh1x1e] {
    background: transparent;
}

.cd-seg[b-3uupwh1x1e] {
    display: block;
    flex: 0 0 var(--w);
    min-width: 2px;
    background: var(--c);
    box-shadow: inset -1px 0 0 var(--cw-surface);
}

.cd-seg--rest[b-3uupwh1x1e] {
    background: var(--cw-muted);
}

.cd-pill[b-3uupwh1x1e] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    max-width: 100%;
    margin-top: auto;
    padding: 0 var(--cw-space-1-5);
    border-radius: var(--cw-radius-pill);
    font-size: var(--cw-text-2xs);
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
}

.cd-pill--holiday[b-3uupwh1x1e] {
    background: var(--cw-day-holiday-bg);
    color: var(--cw-day-holiday-text);
    box-shadow: inset 0 0 0 1px var(--cw-day-holiday-border);
}

.cd-pill--absence[b-3uupwh1x1e] {
    background: var(--abs-bg);
    color: var(--abs-fg);
}

.cd-pill--absence.is-pending[b-3uupwh1x1e] {
    box-shadow: inset 0 0 0 1px var(--cw-primary-strong);
}

.cd-pl[b-3uupwh1x1e] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.cd-ps[b-3uupwh1x1e] {
    display: none;
}

@container calgrid (max-width: 640px) {
    .cd-btn[b-3uupwh1x1e] {
        min-height: 62px;
        padding: var(--cw-space-0-5);
        gap: 0;
    }

    .cd-top[b-3uupwh1x1e] {
        min-height: 18px;
    }

    .cd-num[b-3uupwh1x1e] {
        min-width: 20px;
        height: 20px;
        font-size: var(--cw-text-2xs);
    }

    .cd-hours[b-3uupwh1x1e] {
        font-size: var(--cw-text-2xs);
    }

    .cd-bar[b-3uupwh1x1e] {
        height: 4px;
    }

    .cd-pill[b-3uupwh1x1e] {
        padding: 0 var(--cw-space-1);
        font-size: var(--cw-text-2xs);
        line-height: 14px;
    }

    .cd-pl[b-3uupwh1x1e] {
        display: none;
    }

    .cd-ps[b-3uupwh1x1e] {
        display: inline;
    }

    .cd-more[b-3uupwh1x1e],
    .cd-short[b-3uupwh1x1e] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-btn[b-3uupwh1x1e] {
        transition: none;
    }
}
/* /Shared/Calendar/CalendarProjectFilter.razor.rz.scp.css */
/* calendar-redesign: legenda-filtr projektów nad siatką - chipy, „Więcej (N)” z panelem, lista Klient. Tylko tokeny --cw-*; kolor projektu przez --project-color
   (globalna kropka .project-swatch). Chipy zawijają się; na telefonie jeden przewijany wiersz. */
.cf[b-3mh6kg7ohb] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-2) var(--cw-space-4);
}

.cf-chips[b-3mh6kg7ohb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-1-5);
    min-width: 0;
}

.cf-chip[b-3mh6kg7ohb],
.cf-more[b-3mh6kg7ohb] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1-5);
    max-width: 100%;
    height: 28px;
    padding: 0 var(--cw-space-2-5);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-pill);
    background: var(--cw-surface);
    color: var(--cw-text-2);
    font: inherit;
    font-size: var(--cw-text-xs);
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--cw-duration-fast), border-color var(--cw-duration-fast);
}

.cf-chip:hover[b-3mh6kg7ohb],
.cf-more:hover[b-3mh6kg7ohb] {
    border-color: var(--cw-primary-mid);
    background: var(--cw-hover);
}

.cf-chip:focus-visible[b-3mh6kg7ohb],
.cf-more:focus-visible[b-3mh6kg7ohb] {
    outline: var(--cw-focus-ring);
    outline-offset: 1px;
}

.cf-chip.is-on[b-3mh6kg7ohb] {
    border-color: var(--cw-primary);
    background: var(--cw-primary-tint);
    color: var(--cw-primary-strong);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px var(--cw-primary);
}

.cf-chip-name[b-3mh6kg7ohb] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cf-chip-sum[b-3mh6kg7ohb] {
    font-variant-numeric: tabular-nums;
    color: var(--cw-text-3);
}

.cf-chip.is-on .cf-chip-sum[b-3mh6kg7ohb] {
    color: inherit;
}

.cf-more[b-3mh6kg7ohb] {
    color: var(--cw-primary-strong);
    font-weight: 600;
}

.cf-tools[b-3mh6kg7ohb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cw-space-2) var(--cw-space-3);
}

.cf-client[b-3mh6kg7ohb] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-2);
}

.cf-client-label[b-3mh6kg7ohb] {
    font-size: var(--cw-text-xs);
    font-weight: 600;
    color: var(--cw-text-2);
}

.cf-client-select[b-3mh6kg7ohb] {
    width: auto;
    max-width: 14rem;
}

/* panel „Więcej”: przezroczyste tło pod nim zamyka go kliknięciem poza panelem (bez JS) */
.cf-backdrop[b-3mh6kg7ohb] {
    position: fixed;
    inset: 0;
    z-index: var(--cw-z-dropdown);
    border: 0;
    padding: 0;
    background: transparent;
    cursor: default;
}

.cf-panel[b-3mh6kg7ohb] {
    position: absolute;
    top: calc(100% + var(--cw-space-1));
    left: 0;
    z-index: calc(var(--cw-z-dropdown) + 1);
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-2);
    width: min(26rem, 100%);
    max-height: 22rem;
    padding: var(--cw-space-3);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-xl);
    background: var(--cw-surface);
    box-shadow: var(--cw-shadow-popover);
}

.cf-search[b-3mh6kg7ohb] {
    width: 100%;
}

.cf-panel-actions[b-3mh6kg7ohb] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cw-space-2);
}

.cf-list[b-3mh6kg7ohb] {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

.cf-item[b-3mh6kg7ohb] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2);
    padding: var(--cw-space-1-5) var(--cw-space-1);
    border-radius: var(--cw-radius-sm);
    font-size: var(--cw-text-xs);
    cursor: pointer;
}

.cf-item:hover[b-3mh6kg7ohb] {
    background: var(--cw-hover);
}

.cf-item-name[b-3mh6kg7ohb] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.cf-item-client[b-3mh6kg7ohb] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cw-text-3);
}

.cf-item-sum[b-3mh6kg7ohb] {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    color: var(--cw-text-2);
}

.cf-empty[b-3mh6kg7ohb] {
    margin: 0;
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

@media (max-width: 640px) {
    .cf-chips[b-3mh6kg7ohb] {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        padding-bottom: var(--cw-space-1);
    }

    .cf-chip[b-3mh6kg7ohb],
    .cf-more[b-3mh6kg7ohb] {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-chip[b-3mh6kg7ohb],
    .cf-more[b-3mh6kg7ohb] {
        transition: none;
    }
}
/* /Shared/Calendar/CalendarWeekView.razor.rz.scp.css */
/* calendar-redesign: widok Tydzień - lista siedmiu dni. Tylko tokeny --cw-*; kolory dnia z motywu. Wiersz: dzień | pasek + projekty + znaczniki | suma.
   Przy wąskim kontenerze (telefon) sekcje układają się jedna pod drugą. */
.wv[b-d14lnktr1c],
.wv-list[b-d14lnktr1c] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-1-5);
}

.wv-btn[b-d14lnktr1c] {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr) 6.5rem;
    gap: var(--cw-space-3);
    align-items: start;
    width: 100%;
    padding: var(--cw-space-2-5) var(--cw-space-3);
    border: 1px solid var(--cw-border-strong);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface);
    color: var(--cw-text);
    font: inherit;
    font-size: var(--cw-text-xs);
    text-align: left;
    cursor: pointer;
    transition: background-color var(--cw-duration-fast), border-color var(--cw-duration-fast);
}

.wv-btn:hover:not(:disabled)[b-d14lnktr1c] {
    border-color: var(--cw-primary-mid);
    background: var(--cw-hover);
}

.wv-btn:focus-visible[b-d14lnktr1c] {
    outline: var(--cw-focus-ring);
    outline-offset: 1px;
}

.wv-btn:disabled[b-d14lnktr1c] {
    cursor: default;
    background: transparent;
    border-style: dashed;
    color: var(--cw-text-3);
}

.wv-row--weekend .wv-btn[b-d14lnktr1c] {
    background: var(--cw-day-weekend-bg);
    border-color: var(--cw-day-weekend-border);
}

.wv-row--holiday .wv-btn[b-d14lnktr1c] {
    background: var(--cw-day-holiday-bg);
    border-color: var(--cw-day-holiday-border);
}

.wv-row--absence .wv-btn[b-d14lnktr1c] {
    background: color-mix(in srgb, var(--abs-bg) 35%, var(--cw-surface));
}

.wv-row--selected .wv-btn[b-d14lnktr1c] {
    border-color: var(--cw-primary);
    background: var(--cw-primary-tint);
    box-shadow: inset 0 0 0 1px var(--cw-primary);
}

.wv-day[b-d14lnktr1c] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-0-5);
}

.wv-dow[b-d14lnktr1c] {
    font-size: var(--cw-text-sm);
    font-weight: 600;
}

.wv-row--holiday .wv-dow[b-d14lnktr1c] {
    color: var(--cw-day-holiday-text);
}

.wv-date[b-d14lnktr1c] {
    display: inline-flex;
    align-self: flex-start;
    padding: 0 var(--cw-space-1-5);
    border-radius: var(--cw-radius-pill);
    font-variant-numeric: tabular-nums;
    color: var(--cw-text-3);
}

.wv-date.is-today[b-d14lnktr1c] {
    background: var(--cw-day-today);
    color: var(--cw-surface);
    font-weight: 700;
}

.wv-main[b-d14lnktr1c] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-1-5);
    min-width: 0;
}

.wv-bar[b-d14lnktr1c] {
    display: flex;
    height: 8px;
    border-radius: var(--cw-radius-pill);
    background: var(--cw-surface-3);
    overflow: hidden;
}

.wv-bar--empty[b-d14lnktr1c] {
    background: transparent;
    height: 0;
}

.wv-seg[b-d14lnktr1c] {
    display: block;
    flex: 0 0 var(--w);
    min-width: 2px;
    background: var(--c);
    box-shadow: inset -1px 0 0 var(--cw-surface);
}

.wv-seg--rest[b-d14lnktr1c] {
    background: var(--cw-muted);
}

.wv-projects[b-d14lnktr1c] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-0-5);
}

.wv-prow[b-d14lnktr1c] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2);
    min-width: 0;
}

.wv-pname[b-d14lnktr1c] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wv-phours[b-d14lnktr1c] {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.wv-tags[b-d14lnktr1c] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cw-space-1) var(--cw-space-1-5);
}

.wv-tags:empty[b-d14lnktr1c] {
    display: none;
}

.wv-tag[b-d14lnktr1c] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1);
    padding: 0 var(--cw-space-2);
    border-radius: var(--cw-radius-pill);
    background: var(--cw-surface-3);
    color: var(--cw-text-2);
    font-size: var(--cw-text-2xs);
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.wv-tag--holiday[b-d14lnktr1c] {
    background: var(--cw-day-holiday-bg);
    color: var(--cw-day-holiday-text);
    box-shadow: inset 0 0 0 1px var(--cw-day-holiday-border);
}

.wv-tag--absence[b-d14lnktr1c] {
    background: var(--abs-bg);
    color: var(--abs-fg);
}

.wv-tag--absence.is-pending[b-d14lnktr1c] {
    box-shadow: inset 0 0 0 1px var(--cw-primary-strong);
}

.wv-tag--deadline[b-d14lnktr1c] {
    color: var(--cw-text-2);
}

.wv-tag--deadline[b-d14lnktr1c]  svg {
    color: var(--project-color);
}

.wv-tag--error[b-d14lnktr1c] {
    background: var(--cw-danger-tint);
    color: var(--cw-danger-strong);
}

.wv-dot[b-d14lnktr1c] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cw-jira-none);
}

.wv-dot--not-synced[b-d14lnktr1c] { background: var(--cw-jira-not-synced); }
.wv-dot--synced[b-d14lnktr1c] { background: var(--cw-jira-synced); }
.wv-dot--changed[b-d14lnktr1c] { background: var(--cw-jira-changed); }

.wv-total[b-d14lnktr1c] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--cw-space-0-5);
    font-variant-numeric: tabular-nums;
}

.wv-hours[b-d14lnktr1c] {
    font-size: var(--cw-text-md);
    font-weight: 700;
}

.wv-short[b-d14lnktr1c] {
    font-size: var(--cw-text-2xs);
    font-weight: 600;
    color: var(--cw-day-under);
}

.wv-check[b-d14lnktr1c] {
    display: inline-flex;
    color: var(--cw-primary-strong);
}

.wv-foot[b-d14lnktr1c] {
    margin: var(--cw-space-1) 0 0;
    padding: var(--cw-space-2) var(--cw-space-3);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface-2);
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

.wv-foot strong[b-d14lnktr1c] {
    font-variant-numeric: tabular-nums;
    color: var(--cw-text);
}

@media (max-width: 640px) {
    .wv-btn[b-d14lnktr1c] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--cw-space-2);
    }

    .wv-day[b-d14lnktr1c] {
        flex-direction: row;
        align-items: baseline;
        gap: var(--cw-space-2);
    }

    .wv-main[b-d14lnktr1c] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .wv-total[b-d14lnktr1c] {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wv-btn[b-d14lnktr1c] {
        transition: none;
    }
}
/* /Shared/ClockPill.razor.rz.scp.css */
.clock-pill[b-p71a8pkhnm] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2-5);
    min-width: 0;
    padding: var(--cw-space-1) var(--cw-space-4) var(--cw-space-1) var(--cw-space-1);
    border-radius: var(--cw-radius-pill);
    background: var(--cw-rail-chip);
    box-shadow: inset 0 0 0 1px var(--cw-rail-hover);
    color: var(--cw-rail-strong);
    text-decoration: none;
    transition: background-color var(--cw-duration-fast) var(--cw-ease);
}

    .clock-pill:hover[b-p71a8pkhnm] {
        background: var(--cw-rail-hover);
        color: var(--cw-rail-strong);
    }

    .clock-pill:focus-visible[b-p71a8pkhnm] {
        outline: var(--cw-focus-ring-on-rail);
        outline-offset: var(--cw-focus-offset);
    }

/* Dial: the ring is today's progress against the daily target (empty when there is no target). */
.clock-pill-dial[b-p71a8pkhnm] {
    position: relative;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cw-surface);
}

    .clock-pill-dial[b-p71a8pkhnm]::before {
        content: "";
        position: absolute;
        inset: 3px;
        border-radius: 50%;
        background: conic-gradient(var(--cw-sea) var(--day-progress, 0%), var(--cw-surface-3) 0);
        -webkit-mask: radial-gradient(circle, transparent 0 62%, #000 64% 100%);
        mask: radial-gradient(circle, transparent 0 62%, #000 64% 100%);
    }

.clock-pill-hand[b-p71a8pkhnm] {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 2px;
    transform-origin: 50% 100%;
}

.clock-pill-hand-hour[b-p71a8pkhnm] {
    width: 1.6px;
    height: 9px;
    margin: -9px 0 0 -0.8px;
    background: var(--cw-text);
}

.clock-pill-hand-minute[b-p71a8pkhnm] {
    width: 1.2px;
    height: 12px;
    margin: -12px 0 0 -0.6px;
    background: var(--cw-earth);
}

.clock-pill-pivot[b-p71a8pkhnm] {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: var(--cw-text);
}

.clock-pill-text[b-p71a8pkhnm] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: var(--cw-leading-tight);
}

.clock-pill-line[b-p71a8pkhnm] {
    display: flex;
    align-items: baseline;
    gap: var(--cw-space-1-5);
    white-space: nowrap;
}

.clock-pill-time[b-p71a8pkhnm] {
    font-size: var(--cw-text-lg);
    font-weight: var(--cw-weight-bold);
    font-variant-numeric: tabular-nums;
}

.clock-pill-date[b-p71a8pkhnm] {
    font-size: var(--cw-text-xs);
    font-weight: var(--cw-weight-medium);
    color: var(--cw-rail-text);
}

.clock-pill-today[b-p71a8pkhnm] {
    font-size: var(--cw-text-2xs);
    color: var(--cw-rail-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

    .clock-pill-today strong[b-p71a8pkhnm] {
        color: var(--cw-accent);
        font-weight: var(--cw-weight-semibold);
    }

@media (max-width: 640.98px) {
    .clock-pill[b-p71a8pkhnm] {
        padding-right: var(--cw-space-3);
    }

    .clock-pill-date[b-p71a8pkhnm],
    .clock-pill-today[b-p71a8pkhnm] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clock-pill[b-p71a8pkhnm] {
        transition: none;
    }
}
/* /Shared/MonthNav.razor.rz.scp.css */
/* Etykieta miesiąca ma stałą szerokość: strzałki stoją w jednym miejscu, choć nazwy miesięcy mają różną długość. */
.month-nav-label[b-5mmt4249il] {
    min-width: 11.5rem;
    text-align: center;
    white-space: nowrap;
    text-transform: capitalize;
}

/* Strzałki stoją przy etykiecie (jak w Rozliczeniach), nie rozjeżdżają się na całą szerokość strony. */
.day-nav[b-5mmt4249il] {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
}
/* /Shared/NotFoundPage.razor.rz.scp.css */
/* 404 - a card on the menu colour, so it reads as part of the app (design-system.md -> Menu / Pasek górny). */
.not-found[b-6e12lqgmur] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: var(--cw-space-6) var(--cw-space-4);
    box-sizing: border-box;
    background: linear-gradient(180deg, var(--cw-rail-1) 0%, var(--cw-rail-2) 60%, var(--cw-rail-3) 100%);
}

.not-found-card[b-6e12lqgmur] {
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
    padding: var(--cw-space-8);
    border-radius: var(--cw-radius-card);
    background: var(--cw-surface);
    color: var(--cw-text);
    box-shadow: var(--cw-shadow-modal);
}

.not-found-code[b-6e12lqgmur] {
    margin: 0 0 var(--cw-space-1);
    font-size: var(--cw-text-4xl);
    font-weight: var(--cw-weight-bold);
    letter-spacing: var(--cw-letter-spacing-tight);
    color: var(--cw-primary-strong);
    font-variant-numeric: tabular-nums;
}

.not-found-title[b-6e12lqgmur] {
    margin: 0 0 var(--cw-space-2);
    font-size: var(--cw-text-3xl);
    font-weight: var(--cw-weight-bold);
    letter-spacing: var(--cw-letter-spacing-tight);
    line-height: var(--cw-leading-tight);
}

.not-found-text[b-6e12lqgmur] {
    margin: 0 0 var(--cw-space-6);
    font-size: var(--cw-text-md);
    line-height: var(--cw-leading-body);
    color: var(--cw-text-3);
}

.not-found-link[b-6e12lqgmur] {
    display: inline-flex;
    align-items: center;
    min-height: var(--cw-target-min);
    padding: 0 var(--cw-space-5);
    border-radius: var(--cw-radius-md);
    background: var(--cw-cta);
    color: var(--cw-on-cta);
    font-size: var(--cw-text-md);
    font-weight: var(--cw-weight-semibold);
    text-decoration: none;
    box-shadow: var(--cw-glow);
}

    .not-found-link:hover[b-6e12lqgmur] {
        color: var(--cw-on-cta);
        filter: brightness(1.06);
    }

    .not-found-link:focus-visible[b-6e12lqgmur] {
        outline: var(--cw-focus-ring);
        outline-offset: var(--cw-focus-offset);
    }
/* /Shared/NotificationBell.razor.rz.scp.css */
/* The bell in the top bar and its list - design-system.md -> Dzwonek powiadomień. Tokens only (--cw-*). The bar's own rules (focus ring on the rail,
   the rail colours) come from TopBar.razor.css (".top-bar button:focus-visible"); the Icon inside needs ::deep. Phones (< 641px) get the panel across the
   screen under the bar, like the account menu. */
.top-bar-bell[b-0d92lzgioy] {
    position: relative;
    flex: none;
}

.top-bar-bell-button[b-0d92lzgioy] {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cw-radius-lg);
    background: transparent;
    color: var(--cw-rail-text);
    cursor: pointer;
    transition: background-color var(--cw-duration-fast) var(--cw-ease);
}

    .top-bar-bell-button:hover[b-0d92lzgioy],
    .top-bar-bell-button.open[b-0d92lzgioy] {
        background: var(--cw-rail-hover);
        color: var(--cw-rail-strong);
    }

    /* TopBar.razor.css's ".top-bar button:focus-visible" is scoped to TopBar's own elements, so the bell (a child component) brings its own ring. */
    .top-bar-bell-button:focus-visible[b-0d92lzgioy] {
        outline: var(--cw-focus-ring-on-rail);
        outline-offset: var(--cw-focus-offset);
    }

/* The count: a red pill on the bell's corner, ringed in the bar's colour so it reads on any theme. 10 px is smaller than any text token on purpose -
   it has to fit a 17 px pill ("99+" at most); it is aria-hidden, the button's label carries the number. */
.top-bar-bell-badge[b-0d92lzgioy] {
    position: absolute;
    top: 6px;
    right: 5px;
    min-width: 17px;
    height: 17px;
    box-sizing: border-box;
    padding: 0 var(--cw-space-1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--cw-radius-pill);
    background: var(--cw-danger);
    color: var(--cw-on-danger);
    font-size: 10px;
    font-weight: var(--cw-weight-bold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px var(--cw-rail-1);
}

/* Invisible full-viewport catcher: an outside click closes the panel (same idiom as the account menu). */
.top-bar-bell-backdrop[b-0d92lzgioy] {
    position: fixed;
    inset: 0;
}

.top-bar-bell-panel[b-0d92lzgioy] {
    position: absolute;
    top: calc(100% + var(--cw-space-2));
    right: calc(-1 * var(--cw-space-1-5));
    width: 360px;
    max-width: calc(100vw - var(--cw-space-6));
    box-sizing: border-box;
    border-radius: var(--cw-radius-xl);
    background: var(--cw-surface);
    color: var(--cw-text);
    box-shadow: var(--cw-shadow-popover), 0 0 0 1px var(--cw-border);
    overflow: hidden;
}

.top-bar-bell-head[b-0d92lzgioy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-3);
    padding: var(--cw-space-3) var(--cw-space-4);
    border-bottom: 1px solid var(--cw-border-soft);
}

.top-bar-bell-title[b-0d92lzgioy] {
    margin: 0;
    font-size: var(--cw-text-lg);
    font-weight: var(--cw-weight-semibold);
    color: var(--cw-text);
}

.top-bar-bell-markall[b-0d92lzgioy] {
    flex: none;
    padding: var(--cw-space-1) var(--cw-space-1-5);
    border: 0;
    border-radius: var(--cw-radius-sm);
    background: transparent;
    /* --cw-primary-strong, nie --cw-primary: mały tekst na --cw-surface w motywie Mosiądz miał z --cw-primary tylko 2,26:1 (review UI V4). */
    color: var(--cw-primary-strong);
    font: inherit;
    font-size: var(--cw-text-xs);
    font-weight: var(--cw-weight-semibold);
    cursor: pointer;
}

    .top-bar-bell-markall:hover[b-0d92lzgioy] {
        background: var(--cw-surface-3);
    }

    .top-bar-bell-markall:focus-visible[b-0d92lzgioy] {
        outline: var(--cw-focus-ring);
        outline-offset: 1px;
    }

.top-bar-bell-state[b-0d92lzgioy] {
    padding: var(--cw-space-4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cw-space-2);
}

.top-bar-bell-empty-title[b-0d92lzgioy] {
    margin: 0;
    font-size: var(--cw-text-md);
    font-weight: var(--cw-weight-semibold);
}

.top-bar-bell-empty-text[b-0d92lzgioy] {
    margin: 0;
    font-size: var(--cw-text-sm);
    color: var(--cw-text-3);
}

.top-bar-bell-list[b-0d92lzgioy] {
    list-style: none;
    margin: 0;
    padding: var(--cw-space-1-5);
    max-height: min(70vh, 520px);
    overflow-y: auto;
}

.top-bar-bell-item[b-0d92lzgioy] {
    display: flex;
    align-items: flex-start;
    gap: var(--cw-space-3);
    padding: var(--cw-space-2-5);
    border-radius: var(--cw-radius-lg);
    color: var(--cw-text);
    text-decoration: none;
}

    .top-bar-bell-item:hover[b-0d92lzgioy] {
        background: var(--cw-surface-3);
        color: var(--cw-text);
    }

    .top-bar-bell-item:focus-visible[b-0d92lzgioy] {
        outline: var(--cw-focus-ring);
        outline-offset: -2px;
    }

.top-bar-bell-item-text[b-0d92lzgioy] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.top-bar-bell-item-title[b-0d92lzgioy] {
    font-size: var(--cw-text-sm);
    font-weight: var(--cw-weight-semibold);
    line-height: 1.35;
}

.top-bar-bell-item-meta[b-0d92lzgioy] {
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
}

/* Unread: a dot in the theme's primary colour at the right edge of the row. */
.top-bar-bell-dot[b-0d92lzgioy] {
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--cw-primary);
}

/* The release kind has no accent chip of its own (the three Dashboard chips are taken): a quiet neutral one. */
.top-bar-bell-chip-neutral[b-0d92lzgioy] {
    background: var(--cw-surface-3);
    color: var(--cw-text-3);
}

@media (max-width: 640.98px) {
    .top-bar-bell-panel[b-0d92lzgioy] {
        position: fixed;
        top: calc(var(--cw-topbar-height) + var(--cw-space-1));
        left: var(--cw-space-2);
        right: var(--cw-space-2);
        width: auto;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-bar-bell-button[b-0d92lzgioy] {
        transition: none;
    }
}
/* /Shared/PolishDatePicker.razor.rz.scp.css */
/* Scoped to PolishDatePicker.razor only (Blazor CSS isolation) - copying this file alongside
   PolishDatePicker.razor into another app is enough to bring the component over, as long as the
   target app defines the same --cw-* custom properties (see wwwroot/css/app.css's :root).
   ui-dialogs-and-notices (Faza 4): the look of board 6b ("Wybór daty" in design-system.md) - a 300 px card,
   34 px rounded days, a holiday as a red digit, the chosen day in the theme colour. */

.pl-date-picker[b-c9sl5p80ik] {
    position: relative;
    display: inline-block;
}

/* The field keeps the call site's own CssClass (form-control...) until the forms move to cw-input in stage 7. */
.pl-date-picker-input[b-c9sl5p80ik] {
    background: var(--cw-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cw-space-2);
    text-align: left;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.pl-date-picker[b-c9sl5p80ik]  .pl-date-picker-icon {
    flex-shrink: 0;
    color: var(--cw-muted);
}

.pl-date-picker-backdrop[b-c9sl5p80ik] {
    position: fixed;
    inset: 0;
    z-index: var(--cw-z-popover-backdrop);
    background: transparent;
}

.pl-date-picker-popup[b-c9sl5p80ik] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: var(--cw-z-popover);
    margin-top: var(--cw-space-1);
    width: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-2);
    padding: var(--cw-space-3);
    background: var(--cw-surface);
    color: var(--cw-text);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-card);
    box-shadow: var(--cw-shadow-popover);
    font-size: var(--cw-text-sm);
}

.pl-date-picker-header[b-c9sl5p80ik] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-1);
}

.pl-date-picker-nav[b-c9sl5p80ik] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: var(--cw-radius-sm);
    background: transparent;
    color: var(--cw-text-2);
    cursor: pointer;
}

    .pl-date-picker-nav:hover:not(:disabled)[b-c9sl5p80ik] {
        background: var(--cw-hover);
        color: var(--cw-text);
    }

    .pl-date-picker-nav:disabled[b-c9sl5p80ik] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.pl-date-picker-header-labels[b-c9sl5p80ik],
.pl-date-picker-header-range[b-c9sl5p80ik] {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pl-date-picker-header-range[b-c9sl5p80ik] {
    font-weight: var(--cw-weight-semibold);
    font-size: var(--cw-text-md);
    font-variant-numeric: tabular-nums;
}

.pl-date-picker-label[b-c9sl5p80ik] {
    height: 32px;
    padding: 0 var(--cw-space-2);
    border: 0;
    border-radius: var(--cw-radius-sm);
    background: transparent;
    font: inherit;
    font-size: var(--cw-text-md);
    font-weight: var(--cw-weight-semibold);
    color: var(--cw-text);
    cursor: pointer;
}

    .pl-date-picker-label:hover[b-c9sl5p80ik] {
        background: var(--cw-hover);
    }

/* The day grid: the header row and every week are display:contents rows (role="row"), so the 7 columns are one CSS grid. */
.pl-date-picker-days[b-c9sl5p80ik] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
}

.pl-date-picker-week[b-c9sl5p80ik] {
    display: contents;
}

.pl-date-picker-weekday[b-c9sl5p80ik] {
    padding-bottom: var(--cw-space-1);
    text-align: center;
    font-size: var(--cw-text-2xs);
    font-weight: var(--cw-weight-semibold);
    color: var(--cw-text-3);
}

.pl-date-picker-day[b-c9sl5p80ik] {
    height: 34px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--cw-radius-sm);
    background: transparent;
    font: inherit;
    font-size: var(--cw-text-sm);
    font-variant-numeric: tabular-nums;
    color: var(--cw-text);
    cursor: pointer;
}

    .pl-date-picker-day:hover:not(:disabled)[b-c9sl5p80ik] {
        background: var(--cw-hover);
    }

    .pl-date-picker-day:focus-visible[b-c9sl5p80ik] {
        outline: var(--cw-focus-ring);
        outline-offset: 1px;
    }

    .pl-date-picker-day.weekend[b-c9sl5p80ik] {
        color: var(--cw-text-3);
    }

    .pl-date-picker-day.holiday[b-c9sl5p80ik] {
        color: var(--cw-danger-strong);
        font-weight: var(--cw-weight-semibold);
    }

    .pl-date-picker-day.selected[b-c9sl5p80ik],
    .pl-date-picker-day.selected:hover[b-c9sl5p80ik] {
        background: var(--cw-primary);
        color: var(--cw-on-primary);
        font-weight: var(--cw-weight-semibold);
    }

    .pl-date-picker-day:disabled[b-c9sl5p80ik] {
        color: var(--cw-muted);
        opacity: 0.45;
        cursor: not-allowed;
    }

.pl-date-picker-grid[b-c9sl5p80ik] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--cw-space-1-5);
}

.pl-date-picker-grid-years[b-c9sl5p80ik] {
    font-variant-numeric: tabular-nums;
}

.pl-date-picker-cell[b-c9sl5p80ik] {
    height: 40px;
    border: 1px solid transparent;
    border-radius: var(--cw-radius-md);
    background: transparent;
    font: inherit;
    font-size: var(--cw-text-sm);
    color: var(--cw-text);
    cursor: pointer;
}

    .pl-date-picker-cell:hover:not(:disabled)[b-c9sl5p80ik] {
        background: var(--cw-hover);
    }

    .pl-date-picker-cell.selected[b-c9sl5p80ik],
    .pl-date-picker-cell.selected:hover[b-c9sl5p80ik] {
        background: var(--cw-primary);
        color: var(--cw-on-primary);
        font-weight: var(--cw-weight-semibold);
    }

    .pl-date-picker-cell:disabled[b-c9sl5p80ik] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.pl-date-picker-time-row[b-c9sl5p80ik] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2-5);
    padding-top: var(--cw-space-2);
    border-top: 1px solid var(--cw-border-soft);
}

    .pl-date-picker-time-row label[b-c9sl5p80ik] {
        margin: 0;
        font-size: var(--cw-text-sm);
        font-weight: var(--cw-weight-semibold);
        color: var(--cw-text-2);
    }

.pl-date-picker-time[b-c9sl5p80ik] {
    width: 96px;
    height: 36px;
    min-height: 0;
    font-variant-numeric: tabular-nums;
}

.pl-date-picker-actions[b-c9sl5p80ik] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--cw-space-2);
    padding-top: var(--cw-space-2);
    border-top: 1px solid var(--cw-border-soft);
}

.pl-date-picker-icon-btn[b-c9sl5p80ik] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--cw-border-strong);
    border-radius: var(--cw-radius-sm);
    background: var(--cw-surface);
    color: var(--cw-text-2);
    cursor: pointer;
}

    .pl-date-picker-icon-btn:hover[b-c9sl5p80ik] {
        background: var(--cw-hover);
        color: var(--cw-text);
    }

.pl-date-picker-clear[b-c9sl5p80ik] {
    min-height: 32px;
    padding: 0 var(--cw-space-3);
    font-size: var(--cw-text-sm);
}

/* Touch screens: month arrows and the footer icon buttons grow to --cw-target-min (days stay 34 px - 7 columns in 300 px). */
@media (pointer: coarse) {
    .pl-date-picker-nav[b-c9sl5p80ik],
    .pl-date-picker-icon-btn[b-c9sl5p80ik] {
        width: var(--cw-target-min);
        height: var(--cw-target-min);
    }
}
/* /Shared/TopBar.razor.rz.scp.css */
/* The top bar - design-system.md -> Pasek górny. Tokens only (--cw-*); the old --color-* values are not
   read here any more. Phones (< 641px) get the compact variant at the end of this file. */
.top-bar[b-wiszqkdcpy] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--cw-topbar-height);
    box-sizing: border-box;
    padding: 0 var(--cw-space-5) 0 var(--cw-space-5);
    background: var(--cw-rail-1);
    color: var(--cw-rail-text);
    font-size: var(--cw-text-md);
    /* Over the notification banner (900), cookie notice and #blazor-error-ui (1000); under every
       modal (1050/1055) and info bubble (1055/1060). The account menu lives inside, so it
       inherits this layer. */
    z-index: var(--cw-z-sticky);
}

.top-bar-brand[b-wiszqkdcpy] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-2-5);
    /* Same width as the menu below, so the clock pill lines up with the content sheet's edge. */
    width: calc(var(--cw-rail-width) - var(--cw-space-5) - var(--cw-space-4));
    flex: none;
    color: var(--cw-rail-strong);
    text-decoration: none;
}

    .top-bar-brand:hover[b-wiszqkdcpy] {
        color: var(--cw-rail-strong);
    }

.top-bar a:focus-visible[b-wiszqkdcpy],
.top-bar button:focus-visible[b-wiszqkdcpy] {
    outline: var(--cw-focus-ring-on-rail);
    outline-offset: var(--cw-focus-offset);
    border-radius: var(--cw-radius-md);
}

.top-bar-right[b-wiszqkdcpy] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--cw-space-1-5);
    min-width: 0;
}

.top-bar-profile[b-wiszqkdcpy] {
    position: relative;
    min-width: 0;
}

.top-bar-menu-trigger[b-wiszqkdcpy] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2-5);
    min-width: 0;
    height: 44px;
    padding: 0 var(--cw-space-2-5) 0 var(--cw-space-1);
    border: 0;
    border-radius: var(--cw-radius-lg);
    background: transparent;
    color: var(--cw-rail-strong);
    font: inherit;
    cursor: pointer;
    transition: background-color var(--cw-duration-fast) var(--cw-ease);
}

    .top-bar-menu-trigger:hover[b-wiszqkdcpy] {
        background: var(--cw-rail-hover);
    }

.top-bar-avatar[b-wiszqkdcpy] {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cw-accent);
    color: var(--cw-rail-1);
    font-size: var(--cw-text-xs);
    font-weight: var(--cw-weight-bold);
}

.top-bar-avatar-logo[b-wiszqkdcpy] {
    object-fit: contain;
    background: var(--cw-surface);
    padding: 3px;
    box-sizing: border-box;
}

.top-bar-profile-info[b-wiszqkdcpy] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: var(--cw-leading-tight);
    text-align: left;
}

.top-bar-profile-name[b-wiszqkdcpy],
.top-bar-profile-second[b-wiszqkdcpy] {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar-profile-name[b-wiszqkdcpy] {
    font-size: var(--cw-text-sm);
    font-weight: var(--cw-weight-semibold);
}

.top-bar-profile-second[b-wiszqkdcpy] {
    font-size: var(--cw-text-2xs);
    color: var(--cw-rail-text);
}

[b-wiszqkdcpy] .top-bar-chevron {
    flex: none;
    color: var(--cw-rail-muted);
    transform: rotate(90deg);
    transition: transform var(--cw-duration-base) var(--cw-ease);
}

    [b-wiszqkdcpy] .top-bar-chevron.open {
        transform: rotate(-90deg);
    }

.top-bar-logout[b-wiszqkdcpy] {
    flex: none;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cw-radius-lg);
    background: transparent;
    color: var(--cw-rail-text);
    cursor: pointer;
    transition: background-color var(--cw-duration-fast) var(--cw-ease);
}

    .top-bar-logout:hover[b-wiszqkdcpy] {
        background: var(--cw-rail-hover);
        color: var(--cw-rail-strong);
    }

/* Invisible full-viewport catcher: an outside click closes the menu (same idiom as InfoPopoverButton). */
.top-bar-menu-backdrop[b-wiszqkdcpy] {
    position: fixed;
    inset: 0;
}

.top-bar-menu[b-wiszqkdcpy] {
    position: absolute;
    top: calc(100% + var(--cw-space-2));
    right: 0;
    width: 260px;
    box-sizing: border-box;
    padding: var(--cw-space-1-5);
    display: flex;
    flex-direction: column;
    border-radius: var(--cw-radius-xl);
    background: var(--cw-surface);
    color: var(--cw-text);
    box-shadow: var(--cw-shadow-popover), 0 0 0 1px var(--cw-border);
}

.top-bar-menu-identity[b-wiszqkdcpy] {
    padding: var(--cw-space-1-5) var(--cw-space-3) var(--cw-space-2);
    font-size: var(--cw-text-xs);
    color: var(--cw-text-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar-menu-item[b-wiszqkdcpy] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2-5);
    width: 100%;
    box-sizing: border-box;
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 0;
    border-radius: var(--cw-radius-sm);
    background: transparent;
    color: var(--cw-text);
    font: inherit;
    font-size: var(--cw-text-sm);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

    .top-bar-menu-item:hover[b-wiszqkdcpy] {
        background: var(--cw-surface-3);
        color: var(--cw-text);
    }

    .top-bar-menu-item:focus-visible[b-wiszqkdcpy],
    .top-bar-theme-option:focus-visible[b-wiszqkdcpy] {
        outline: var(--cw-focus-ring);
        outline-offset: -2px;
    }

[b-wiszqkdcpy] .top-bar-menu-item-icon {
    flex: none;
    color: var(--cw-text-3);
}

.top-bar-menu-divider[b-wiszqkdcpy] {
    height: 1px;
    margin: var(--cw-space-1-5);
    background: var(--cw-border);
}

.top-bar-menu-label[b-wiszqkdcpy] {
    padding: var(--cw-space-1-5) var(--cw-space-3) var(--cw-space-1);
    font-size: var(--cw-text-xs);
    font-weight: var(--cw-weight-semibold);
    color: var(--cw-text-3);
}

/* "Motyw" item + the panel that slides out to its left (the menu sits at the right edge of the screen). Shown on
   hover where the device can hover, while the focus is inside, or pinned open by a click (.open). Hidden with
   visibility, so a closed panel is out of the tab order and the accessibility tree. */
.top-bar-theme[b-wiszqkdcpy] {
    position: relative;
    /* The panel is a little narrower than the account menu (260 px) so the two read as one stack. */
    --top-bar-flyout-width: 240px;
}

.top-bar-theme-trigger-label[b-wiszqkdcpy] {
    flex: 1;
}

[b-wiszqkdcpy] .top-bar-theme-arrow {
    flex: none;
    color: var(--cw-text-3);
    margin-left: -2px;
}

.top-bar-theme-current[b-wiszqkdcpy] {
    display: inline-flex;
    align-items: center;
    gap: var(--cw-space-1-5);
    font-size: var(--cw-text-xs);
    color: var(--cw-text-2);
}

.top-bar-theme-flyout[b-wiszqkdcpy] {
    position: absolute;
    top: calc(-1 * var(--cw-space-1-5));
    right: 100%;
    /* Invisible bridge between the item and the panel: the pointer does not drop the hover while crossing it. */
    padding-right: var(--cw-space-2);
    visibility: hidden;
    opacity: 0;
    transform: translateX(var(--cw-space-1-5));
    transition: opacity var(--cw-duration-fast) var(--cw-ease), transform var(--cw-duration-fast) var(--cw-ease),
        visibility 0s linear var(--cw-duration-fast);
}

.top-bar-theme.open .top-bar-theme-flyout[b-wiszqkdcpy],
.top-bar-theme-flyout:focus-within[b-wiszqkdcpy] {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
}

@media (hover: hover) {
    .top-bar-theme:hover .top-bar-theme-flyout[b-wiszqkdcpy] {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition-delay: 0s;
    }

    .top-bar-theme:hover .top-bar-theme-trigger[b-wiszqkdcpy] {
        background: var(--cw-surface-3);
    }
}

.top-bar-theme.open .top-bar-theme-trigger[b-wiszqkdcpy] {
    background: var(--cw-surface-3);
}

.top-bar-theme-panel[b-wiszqkdcpy] {
    width: var(--top-bar-flyout-width);
    box-sizing: border-box;
    padding: var(--cw-space-1-5);
    border-radius: var(--cw-radius-xl);
    background: var(--cw-surface);
    color: var(--cw-text);
    box-shadow: var(--cw-shadow-popover), 0 0 0 1px var(--cw-border);
}

.top-bar-theme-list[b-wiszqkdcpy] {
    display: flex;
    flex-direction: column;
    gap: var(--cw-space-0-5);
}

.top-bar-theme-option[b-wiszqkdcpy] {
    display: flex;
    align-items: center;
    gap: var(--cw-space-2-5);
    width: 100%;
    box-sizing: border-box;
    padding: var(--cw-space-2) var(--cw-space-3);
    border: 0;
    border-radius: var(--cw-radius-sm);
    background: transparent;
    color: var(--cw-text);
    font: inherit;
    font-size: var(--cw-text-sm);
    cursor: pointer;
}

    .top-bar-theme-option:hover[b-wiszqkdcpy] {
        background: var(--cw-surface-3);
    }

    .top-bar-theme-option.selected[b-wiszqkdcpy] {
        background: var(--cw-primary-tint);
        color: var(--cw-primary-strong);
        font-weight: var(--cw-weight-semibold);
    }

.top-bar-theme-swatches[b-wiszqkdcpy] {
    display: flex;
    flex: none;
}

    .top-bar-theme-swatches span[b-wiszqkdcpy] {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        box-shadow: 0 0 0 2px var(--cw-surface);
    }

        .top-bar-theme-swatches span + span[b-wiszqkdcpy] {
            margin-left: -4px;
        }

.top-bar-theme-name[b-wiszqkdcpy] {
    flex: 1;
    text-align: left;
}

/* Phone-only pieces: hidden on a desktop width. */
.top-bar-menu-button[b-wiszqkdcpy],
.top-bar-menu-logout[b-wiszqkdcpy] {
    display: none;
}

.top-bar-menu-button[b-wiszqkdcpy] {
    flex: none;
    width: var(--cw-target-min);
    height: var(--cw-target-min);
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cw-radius-lg);
    background: transparent;
    color: var(--cw-rail-strong);
    cursor: pointer;
}

    .top-bar-menu-button:hover[b-wiszqkdcpy] {
        background: var(--cw-rail-hover);
    }

/* Phones: Menu button, mark, the time, the account button - and the account menu spans the screen under the bar. */
@media (max-width: 640.98px) {
    .top-bar[b-wiszqkdcpy] {
        gap: var(--cw-space-2);
        padding: 0 var(--cw-space-2);
    }

    .top-bar-menu-button[b-wiszqkdcpy] {
        display: flex;
    }

    .top-bar-brand[b-wiszqkdcpy] {
        width: auto;
    }

    .top-bar-profile-info[b-wiszqkdcpy],
    [b-wiszqkdcpy] .top-bar-chevron,
    .top-bar-logout[b-wiszqkdcpy] {
        display: none;
    }

    .top-bar-menu-trigger[b-wiszqkdcpy] {
        justify-content: center;
        width: var(--cw-target-min);
        padding: 0;
    }

    .top-bar-menu[b-wiszqkdcpy] {
        position: fixed;
        top: calc(var(--topbar-height) + var(--cw-space-1));
        left: var(--cw-space-2);
        right: var(--cw-space-2);
        width: auto;
    }

    div.top-bar-menu-logout[b-wiszqkdcpy] {
        display: block;
    }

    /* No room beside a full-width menu: the theme list unfolds below the item, on a tap only. */
    .top-bar-theme-flyout[b-wiszqkdcpy] {
        position: static;
        display: none;
        padding: 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .top-bar-theme.open .top-bar-theme-flyout[b-wiszqkdcpy] {
        display: block;
    }

    .top-bar-theme-panel[b-wiszqkdcpy] {
        width: auto;
        padding: 0 0 0 var(--cw-space-6);
        border-radius: 0;
        box-shadow: none;
    }

        .top-bar-theme-panel .top-bar-menu-label[b-wiszqkdcpy] {
            display: none;
        }

    [b-wiszqkdcpy] .top-bar-theme-arrow {
        transform: rotate(-90deg);
    }

    .top-bar-theme.open[b-wiszqkdcpy]  .top-bar-theme-arrow {
        transform: rotate(90deg);
    }

    button.top-bar-menu-logout[b-wiszqkdcpy] {
        display: flex;
        color: var(--cw-danger-strong);
    }
}

/* Very narrow phones: the mark alone, the name would not fit next to the time. */
@media (max-width: 420px) {
    .top-bar-brand[b-wiszqkdcpy]  .brand-text {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-bar-menu-trigger[b-wiszqkdcpy],
    .top-bar-logout[b-wiszqkdcpy],
    [b-wiszqkdcpy] .top-bar-chevron {
        transition: none;
    }
}
/* /Shared/Ui/AuthClock.razor.rz.scp.css */
/* AuthShell's dial - mockup P03. Fixed brand colors: it stands on the brand backdrop whatever the theme. */
.auth-clock[b-1ndpa517lu] {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--cw-brand-white);
    color: var(--cw-brand-ink);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 24px 60px rgba(0, 0, 0, 0.32);
}

.auth-clock-n[b-1ndpa517lu] {
    position: absolute;
    font-size: var(--cw-text-xs);
    font-weight: var(--cw-weight-semibold);
    color: color-mix(in srgb, var(--cw-brand-ink) 75%, transparent);
}

.auth-clock-n12[b-1ndpa517lu] {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.auth-clock-n6[b-1ndpa517lu] {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.auth-clock-n3[b-1ndpa517lu] {
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.auth-clock-n9[b-1ndpa517lu] {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.auth-clock-orbit[b-1ndpa517lu] {
    position: absolute;
    inset: 0;
}

.auth-clock-second[b-1ndpa517lu] {
    position: absolute;
    left: 50%;
    top: 4px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    /* Mosiądz z palety marki w pół drogi między ciemnym a jasnym odcieniem: sam jasny ginie na białej tarczy przy tak małej kropce. */
    background: color-mix(in srgb, var(--cw-brand-amber-dark) 50%, var(--cw-brand-amber));
}

.auth-clock-digits[b-1ndpa517lu] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.auth-clock-time[b-1ndpa517lu] {
    font-size: 54px;
    font-weight: var(--cw-weight-bold);
    letter-spacing: -0.06em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.auth-clock-date[b-1ndpa517lu] {
    margin-top: var(--cw-space-1-5);
    font-size: var(--cw-text-sm);
    color: color-mix(in srgb, var(--cw-brand-ink) 70%, transparent);
}
/* /Shared/Ui/BrandLogo.razor.rz.scp.css */
/* The logo - design-system.md -> Logo marki. Sizes follow --brand-size (the mark's height, set from the
   Size parameter): the name is 0.65 of it and sits 0.27 of it away, as in the P03/P04 mock-ups. Colors are the
   fixed --cw-brand-* tokens (app.css), never the theme's. */
.brand-logo[b-kods9sjor2] {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--brand-size) * 0.27);
    /* DEFER(ui-brand-logo-theme): Inter instead of Manrope from the mock-ups. Ceiling: until the brand font
       is decided. Upgrade path: self-host wwwroot/fonts/manrope/ (SIL OFL) and name it first here. */
    font-family: inherit;
    font-size: calc(var(--brand-size) * 0.65);
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.brand-mark[b-kods9sjor2] {
    flex: none;
    display: block;
}

.brand-tile-now[b-kods9sjor2] {
    fill: var(--cw-brand-amber);
}

.brand-clock[b-kods9sjor2] {
    font-weight: 400;
}

.brand-work[b-kods9sjor2] {
    font-weight: 800;
}

/* On a dark background: white + amber. */
.brand-logo--dark .brand-tile[b-kods9sjor2],
.brand-logo--dark .brand-clock[b-kods9sjor2] {
    fill: var(--cw-brand-white);
    color: var(--cw-brand-white);
}

.brand-logo--dark .brand-work[b-kods9sjor2] {
    color: var(--cw-brand-amber);
}

/* On a light background: teal + dark amber. */
.brand-logo--light .brand-tile[b-kods9sjor2],
.brand-logo--light .brand-clock[b-kods9sjor2] {
    fill: var(--cw-brand-teal);
    color: var(--cw-brand-teal);
}

.brand-logo--light .brand-work[b-kods9sjor2] {
    color: var(--cw-brand-amber-dark);
}
