/* /AppLayout.razor.rz.scp.css */
.page[b-702ta7gjhi] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-702ta7gjhi] {
    flex: 1;
}

@media (min-width: 641px) {
    .page[b-702ta7gjhi] {
        flex-direction: row;
    }
}

#blazor-error-ui[b-702ta7gjhi] {
    color-scheme: inherit;
    background: var(--color-error-bg);
    color: var(--color-text-primary);
    bottom: 0;
    box-shadow: 0 -1px 2px var(--color-shadow-modal);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-702ta7gjhi] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/AppMenu.razor.rz.scp.css */
.main__nav[b-bg4vijz7a9] {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    z-index: 100;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

.user__ava[b-bg4vijz7a9] {
    background: url("../img/ava.png") no-repeat center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    background-size: cover;
    margin-right: 25px;
}

    .user__ava:hover[b-bg4vijz7a9] {
        opacity: 0.75;
    }

    .user__ava img[b-bg4vijz7a9] {
        display: block;
        width: 100%;
    }

.user__box[b-bg4vijz7a9] {
    padding: 0 0px 15px 20px;
    color: var(--color-nav-text-hover);
}

.logout__link[b-bg4vijz7a9] {
    background: url("../img/logout-icon.png") no-repeat;
    width: 27px;
    height: 22px;
    margin-top: 5px;
    display: block;
    background-size: contain;
}

    .logout__link:hover[b-bg4vijz7a9] {
        opacity: 0.6;
    }

.menu__footer[b-bg4vijz7a9] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--color-nav-border);
    margin: 0;
    padding: 0;
}

.theme-toggle[b-bg4vijz7a9] {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    height: 44px;
    padding: 0 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-nav-text);
    font-size: 16.1px;
    font-family: 'Segoe UI', sans-serif;
    transition: background 150ms ease, color 150ms ease;
}

.theme-toggle:hover[b-bg4vijz7a9] {
    background: var(--color-nav-hover-bg);
    color: var(--color-nav-text-hover);
}

.theme-toggle__icon-wrap[b-bg4vijz7a9] {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
}

.theme-toggle .icon[b-bg4vijz7a9] {
    width: 20px;
    height: 20px;
}

.theme-toggle .icon-sun[b-bg4vijz7a9] { display: var(--theme-toggle-sun-display); }
.theme-toggle .icon-moon[b-bg4vijz7a9] { display: var(--theme-toggle-moon-display); }

.theme-toggle .theme-label-dark[b-bg4vijz7a9] { display: var(--theme-toggle-moon-display); }
.theme-toggle .theme-label-light[b-bg4vijz7a9] { display: var(--theme-toggle-sun-display); }
.user__name[b-bg4vijz7a9] {
    color: var(--color-nav-text-hover);
    font-size: 15px;
    margin-bottom: 3px;
}

    .user__name a[b-bg4vijz7a9] {
        color: var(--color-nav-text-hover) !important;
    }

        .user__name a:hover[b-bg4vijz7a9] {
            color: var(--color-link-hover) !important;
        }

.user__box-header[b-bg4vijz7a9] {
    margin-top: 12px;
    margin-bottom: 8px;
}

.user__nick[b-bg4vijz7a9] {
    font-size: 15px;
    color: var(--color-nav-text-muted);
}

.menu__nav[b-bg4vijz7a9] {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px;
}

    .menu__nav ul[b-bg4vijz7a9] {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .menu__nav ul li[b-bg4vijz7a9] {
            display: block;
            border-bottom: 1px solid var(--color-nav-border);
            font-size: 17.1px;
        }

            .menu__nav ul li a[b-bg4vijz7a9] {
                color: var(--color-nav-text) !important;
                display: block;
                position: relative;
                overflow: hidden;
                width: 100%;
                box-sizing: border-box;
                padding: 0 20px;
                height: 54px;
                line-height: 54px;
            }

            /* instant highlight on enter, smooth fade on leave */
            .menu__nav ul li a[b-bg4vijz7a9] {
                transition: none; /* no transition on the link itself -> instant color change */
            }
            .menu__nav ul li a[b-bg4vijz7a9]::before {
                content: "";
                position: absolute;
                inset: 0;
                background: var(--color-nav-hover-bg);
                opacity: 0;
                pointer-events: none;
                transition: opacity 260ms ease;
            }

            .menu__nav ul li:hover a[b-bg4vijz7a9] {
                color: var(--color-nav-text-hover) !important;
            }

            .menu__nav ul li:hover a[b-bg4vijz7a9]::before {
                opacity: 1;
                transition-duration: 0s;
            }

                    .menu__nav ul li a:hover .menu__icon[b-bg4vijz7a9] {
                        opacity: 1;
                    }

            .menu__nav ul li.active a[b-bg4vijz7a9] {
                background: var(--color-nav-active-bg);
            }

.menu__icon[b-bg4vijz7a9] {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25px;
    flex: 0 0 25px;
    max-width: 25px;
    max-height: 25px;
    margin-right: 14px;
    opacity: 0.82;
}

.icon__home[b-bg4vijz7a9] {
    background: url("../img/icon-1.png") no-repeat;
    width: 26px;
    height: 24px;
    background-size: contain;
}

.icon__users[b-bg4vijz7a9] {
    background: url("../img/icon-2.png") no-repeat;
    width: 27px;
    height: 24px;
    background-size: contain;
}

.icon__marketplaces[b-bg4vijz7a9] {
    background: url("../img/icon-3.png") no-repeat;
    width: 24px;
    height: 22px;
    background-size: contain;
}

.icon__products[b-bg4vijz7a9] {
    background: url("../img/icon-4.png") no-repeat;
    width: 28px;
    height: 28px;
    background-size: contain;
}

.icon__sales[b-bg4vijz7a9] {
    background: url("../img/icon-5.png") no-repeat;
    width: 27px;
    height: 22px;
    background-size: contain;
}

.icon__fiscaldocuments[b-bg4vijz7a9] {
    width: 25px;
    height: 25px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v13a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 13h6M9 17h4'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v13a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 13h6M9 17h4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.icon__settings[b-bg4vijz7a9] {
    background: url("../img/icon-7.png") no-repeat;
    width: 24px;
    height: 24px;
    background-size: contain;
}

.icon__logs[b-bg4vijz7a9] {
    width: 25px;
    height: 25px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3' width='17' height='18' rx='2.5'/%3E%3Cpath d='M7.5 8h6M7.5 12h9M7.5 16h5'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3' width='17' height='18' rx='2.5'/%3E%3Cpath d='M7.5 8h6M7.5 12h9M7.5 16h5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.menu-bg[b-bg4vijz7a9] {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--color-nav-ambient-bg);
}

.menu-bg[b-bg4vijz7a9]::before,
.menu-bg[b-bg4vijz7a9]::after {
    content: "";
    position: absolute;
    width: 70vmax;
    height: 70vmax;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.65;
    pointer-events: none;
}

.menu-bg[b-bg4vijz7a9]::before {
    left: -18vmax;
    top: -18vmax;
    background: var(--color-nav-ambient-blob-a);
    transform: translate3d(0,0,0) scale(1) rotate(0deg);
}

.menu-bg[b-bg4vijz7a9]::after {
    right: -20vmax;
    bottom: -22vmax;
    background: var(--color-nav-ambient-blob-b);
    transform: translate3d(0,0,0) scale(1) rotate(0deg);
}


.main__nav[b-bg4vijz7a9] {
    background: var(--color-nav-bg-elevated);
    backdrop-filter: var(--color-nav-backdrop);
    box-shadow: 0 8px 24px var(--color-nav-shadow);
}

.user__box[b-bg4vijz7a9],
.menu__nav[b-bg4vijz7a9],
.menu__footer[b-bg4vijz7a9] {
    position: relative;
    z-index: 1;
}

.menu__nav ul li a[b-bg4vijz7a9] { color: var(--color-nav-text); }

.menu__nav ul li.active a[b-bg4vijz7a9] {
    color: var(--color-nav-text-hover);
    background: var(--color-nav-active-bg);
    border-radius: 0;
    box-shadow: var(--color-nav-active-shadow);
}
/* /Components/Logs/LogDetail.razor.rz.scp.css */
.logs-detail-scroll[b-nujx1vbzn0] {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
}

/* Мобільний: природний скрол сторінки замість внутрішнього (як решта сторінок). */
@media screen and (max-width: 968px) {
    .logs-detail-scroll[b-nujx1vbzn0] {
        overflow: visible;
    }

    .logs-detail-body[b-nujx1vbzn0] {
        padding: 16px;
    }

    /* Мета-сітка в один стовпець, як .right-column .data__field на мобільному. */
    .logs-meta[b-nujx1vbzn0] {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .logs-meta dt[b-nujx1vbzn0] {
        margin-top: 10px;
    }
}

.logs-detail-body[b-nujx1vbzn0] {
    padding: 20px 22px;
}

.logs-detail-h[b-nujx1vbzn0] {
    color: var(--color-link);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
}

.logs-detail-title[b-nujx1vbzn0] {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 2px 0 12px;
    line-height: 1.35;
}

.logs-detail-message[b-nujx1vbzn0] {
    margin: 0 0 14px;
    color: var(--color-text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
}

.logs-meta[b-nujx1vbzn0] {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 11px 14px;
    align-items: baseline;
    margin: 0;
}

.logs-meta dt[b-nujx1vbzn0] {
    color: var(--color-text-secondary);
    font-size: 13px;
}

.logs-meta dd[b-nujx1vbzn0] {
    margin: 0;
    color: var(--color-text-primary);
    font-size: 13.5px;
    word-break: break-word;
}

.logs-meta dd.mono[b-nujx1vbzn0] {
    font-family: var(--logs-mono);
    font-size: 12.5px;
}

.logs-meta .dim[b-nujx1vbzn0] {
    color: var(--color-text-tertiary);
}

.logs-sec-title[b-nujx1vbzn0] {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 22px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logs-sec-title[b-nujx1vbzn0]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-border-secondary);
}

.logs-stacktrace[b-nujx1vbzn0] {
    background: var(--color-field-bg);
    border: 1px solid var(--color-border-primary);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: var(--logs-mono);
    font-size: 12px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    overflow-x: auto;
    white-space: pre;
}

.logs-stacktrace .err[b-nujx1vbzn0] {
    color: var(--sev-error);
    font-weight: 600;
}

.logs-occ[b-nujx1vbzn0] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--color-border-secondary);
    font-size: 13px;
}

.logs-occ:last-child[b-nujx1vbzn0] {
    border-bottom: none;
}

.logs-occ svg[b-nujx1vbzn0] {
    width: 16px;
    height: 16px;
    color: var(--color-text-tertiary);
    flex-shrink: 0;
}

.logs-occ-machine[b-nujx1vbzn0] {
    color: var(--color-text-primary);
    font-weight: 500;
}

.logs-occ-time[b-nujx1vbzn0] {
    margin-left: auto;
    color: var(--color-text-tertiary);
    font-size: 12px;
    white-space: nowrap;
}

.logs-tag[b-nujx1vbzn0] {
    display: inline-block;
    font-size: 11.5px;
    font-family: var(--logs-mono);
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border-secondary);
    border-radius: 5px;
    padding: 2px 7px;
    color: var(--color-text-secondary);
}

/* Лічильник повторів (та сама плашка, що й у списку) */
.logs-count[b-nujx1vbzn0] {
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border-strong);
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-primary);
    display: inline-block;
    min-width: 30px;
    text-align: center;
}

.logs-count.hot[b-nujx1vbzn0] {
    background: color-mix(in srgb, var(--sev-error) 14%, transparent);
    border-color: transparent;
    color: var(--sev-error);
}
/* /Components/Logs/LogFilterBar.razor.rz.scp.css */
/* Тулбар у тілі: severity-пігулки + перемикач групування */
.logs-toolbar[b-l98tk656ku] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.logs-sev-group[b-l98tk656ku] {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.logs-sev-pill[b-l98tk656ku] {
    cursor: pointer;
    user-select: none;
    border: 1px solid var(--color-border-strong);
    background: var(--color-field-bg);
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    transition: opacity .12s, color .12s;
}

.logs-sev-pill .dot[b-l98tk656ku] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.logs-sev-pill.off[b-l98tk656ku] {
    opacity: 0.45;
}

.logs-sev-pill.on[b-l98tk656ku] {
    color: var(--color-text-primary);
}

.logs-group-toggle[b-l98tk656ku] {
    display: inline-flex;
    border: 1px solid var(--color-border-strong);
    border-radius: 8px;
    overflow: hidden;
    height: 32px;
}

.logs-group-toggle button[b-l98tk656ku] {
    display: flex;
    align-items: center;
    border: none;
    background: var(--color-field-bg);
    color: var(--color-text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 0 14px;
    cursor: pointer;
}

.logs-group-toggle button + button[b-l98tk656ku] {
    border-left: 1px solid var(--color-border-strong);
}

.logs-group-toggle button.active[b-l98tk656ku] {
    background: var(--color-page-header-bg);
    color: var(--color-page-header-text);
}

/* Тіло сторінки на мобільному не має бокового падінгу (.page__content) — відсуваємо тулбар від краю. */
@media screen and (max-width: 968px) {
    .logs-toolbar[b-l98tk656ku] {
        padding: 12px 14px 0;
    }
}
/* /Components/Logs/LogList.razor.rz.scp.css */
/* Низ збігається з .page__box (min-height calc(100vh - 110px)); тулбар над картками = 32px + 14px margin = 46px. */
.logs-list-card[b-4tsnvno1c8] {
    width: 100%;
    height: calc(100vh - 151px);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--color-surface-bg);
    border: 1px solid var(--color-border-primary);
    border-radius: 10px;
    box-shadow: 3px 3px 8px var(--color-shadow-surface);
}

.logs-list-head[b-4tsnvno1c8] {
    display: grid;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--color-border-secondary);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.logs-row-issue[b-4tsnvno1c8] {
    grid-template-columns: minmax(0, 1fr) 110px 96px 60px 100px;
}

.logs-row-flat[b-4tsnvno1c8] {
    grid-template-columns: 118px minmax(0, 1fr) 160px 110px 116px;
}

.logs-list-scroll[b-4tsnvno1c8] {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
}

.logs-row[b-4tsnvno1c8] {
    display: grid;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    min-height: 52px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border-secondary);
    position: relative;
}

.logs-row:hover[b-4tsnvno1c8] {
    background: var(--color-surface-hover);
}

.logs-row.selected[b-4tsnvno1c8],
.logs-row.selected:hover[b-4tsnvno1c8] {
    background: color-mix(in srgb, var(--color-link) 12%, transparent);
}

.logs-row.selected[b-4tsnvno1c8]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-link);
}

.logs-main[b-4tsnvno1c8] {
    min-width: 0;
}

.logs-title[b-4tsnvno1c8] {
    font-size: 14px;
    color: var(--color-text-primary);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logs-sub[b-4tsnvno1c8] {
    font-size: 12px;
    color: var(--color-text-tertiary);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logs-cell-dim[b-4tsnvno1c8] {
    color: var(--color-text-secondary);
    font-size: 13px;
    white-space: nowrap;
}

.logs-cell-mono[b-4tsnvno1c8] {
    font-family: var(--logs-mono);
    font-size: 12.5px;
    color: var(--color-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logs-cell-time[b-4tsnvno1c8] {
    font-size: 13px;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.logs-cell-time .rel[b-4tsnvno1c8] {
    color: var(--color-text-tertiary);
    font-size: 11.5px;
}

.logs-count[b-4tsnvno1c8] {
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border-strong);
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-primary);
    display: inline-block;
    min-width: 30px;
    text-align: center;
}

.logs-count.hot[b-4tsnvno1c8] {
    background: color-mix(in srgb, var(--sev-error) 14%, transparent);
    border-color: transparent;
    color: var(--sev-error);
}

.logs-no-results[b-4tsnvno1c8] {
    padding: 60px 20px;
    text-align: center;
    color: var(--color-text-tertiary);
}

/* Підвал: вбудований спільний Paginator (має власні стилі) */
.logs-list-foot[b-4tsnvno1c8] {
    flex-shrink: 0;
}

@media screen and (max-width: 968px) {
    /* Edge-to-edge + natural page scroll, як .sections-block .page__box на мобільному. */
    .logs-list-card[b-4tsnvno1c8] {
        height: auto;
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .logs-list-scroll[b-4tsnvno1c8] {
        overflow: visible;
    }

    /* Заголовок колонок зайвий, коли другорядні колонки згортаються. */
    .logs-list-head[b-4tsnvno1c8] {
        display: none;
    }

    /* Лишаємо суттєве; машини/спарклайн/host/user доступні в панелі деталей. */
    .logs-row-issue[b-4tsnvno1c8] {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
    }

    .logs-row-flat[b-4tsnvno1c8] {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
    }

    .logs-row-issue > .logs-cell-dim[b-4tsnvno1c8],
    .logs-row-issue[b-4tsnvno1c8]  .spark,
    .logs-row-flat > .logs-cell-mono[b-4tsnvno1c8] {
        display: none;
    }
}
/* /Components/Logs/LogSearchBar.razor.rz.scp.css */
/* Фільтри в заголовку. Поле пошуку — штатний .input-group/.form-control/.btn,
   стилізований глобальними правилами .page-header__actions (height 34, radius 15). */
.logs-header-filters[b-168264wypi] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.input-group[b-168264wypi] {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

/* Select2-обгортки під розмір .form-control у заголовку (34px); радіус — застосунковий (15px). */
.select__wrap[b-168264wypi] {
    height: 34px;
    flex: 0 0 auto;
}

.logs-select[b-168264wypi] {
    width: 188px;
}

.logs-select-range[b-168264wypi] {
    width: 150px;
}

/* Контейнер Select2 інжектиться JS-ом усередину .select__wrap — потрібен ::deep */
.select__wrap[b-168264wypi]  .select2-selection__rendered {
    line-height: 32px;
}

/* На мобільному заголовок прихований — фільтри рендеряться у .mobile-actions-panel на всю ширину. */
@media screen and (max-width: 968px) {
    .logs-header-filters[b-168264wypi] {
        width: 100%;
        gap: 8px;
    }

    .logs-header-filters .input-group[b-168264wypi] {
        flex: 1 1 100%;
        max-width: none;
    }

    .logs-header-filters .select__wrap[b-168264wypi] {
        flex: 1 1 150px;
    }

    .logs-select[b-168264wypi],
    .logs-select-range[b-168264wypi] {
        width: auto;
    }
}
/* /Components/Logs/SeverityBadge.razor.rz.scp.css */
.sev[b-bgmbekbu9o] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 9px 4px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.sev .dot[b-bgmbekbu9o] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sev-trace[b-bgmbekbu9o] {
    color: var(--sev-trace);
    background: color-mix(in srgb, var(--sev-trace) 16%, transparent);
}

.sev-debug[b-bgmbekbu9o] {
    color: var(--sev-debug);
    background: color-mix(in srgb, var(--sev-debug) 14%, transparent);
}

.sev-info[b-bgmbekbu9o] {
    color: var(--sev-info);
    background: color-mix(in srgb, var(--sev-info) 14%, transparent);
}

.sev-warning[b-bgmbekbu9o] {
    color: var(--sev-warning);
    background: color-mix(in srgb, var(--sev-warning) 14%, transparent);
}

.sev-error[b-bgmbekbu9o] {
    color: var(--sev-error);
    background: color-mix(in srgb, var(--sev-error) 14%, transparent);
}

.sev-critical[b-bgmbekbu9o] {
    color: #fff;
    background: var(--sev-critical);
}

.sev-trace .dot[b-bgmbekbu9o] { background: var(--sev-trace); }
.sev-debug .dot[b-bgmbekbu9o] { background: var(--sev-debug); }
.sev-info .dot[b-bgmbekbu9o] { background: var(--sev-info); }
.sev-warning .dot[b-bgmbekbu9o] { background: var(--sev-warning); }
.sev-error .dot[b-bgmbekbu9o] { background: var(--sev-error); }
.sev-critical .dot[b-bgmbekbu9o] { background: #fff; }
/* /Components/Logs/Sparkline.razor.rz.scp.css */
.spark[b-zwqy7qzm5r] {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 28px;
}

.spark i[b-zwqy7qzm5r] {
    width: 4px;
    background: var(--color-text-tertiary);
    border-radius: 1px;
    opacity: 0.55;
    display: block;
}
/* /Components/PageHeader.razor.rz.scp.css */
.page-header[b-9fksj5r55d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0 16px;
    border-bottom: 1px solid var(--color-border-secondary);
    margin-bottom: 18px;
}

.page-header__title[b-9fksj5r55d] {
    display: flex;
    align-items: center;
    min-height: 34px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.2px;
    margin: 0;
    line-height: 1.3;
}

.page-header__actions[b-9fksj5r55d] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Сторінка логів виносить у заголовок широкий набір фільтрів — дозволяємо переносити на вузьких екранах. */
.page-header:has(.logs-header-filters)[b-9fksj5r55d] {
    flex-wrap: wrap;
}

.page-header:has(.logs-header-filters) .page-header__actions[b-9fksj5r55d] {
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
}

@media screen and (max-width: 968px) {
    .page-header[b-9fksj5r55d] {
        display: none;
    }
}
/* /Components/Paginator.razor.rz.scp.css */
.pagination-block[b-1cilvdn1h2] {
    background: var(--color-surface-muted);
    position: relative;
    padding: 3px 6px;
    height: 42px;
    border-top: 1px solid var(--color-border-secondary)
}

    .pagination-block *[b-1cilvdn1h2] {
        color: var(--color-text-primary);
    }

.pagination-left[b-1cilvdn1h2] {
    padding: 6px 5px 0px 7px;
    float: left;
}

.pagination-right[b-1cilvdn1h2] {
    float: right;
}

.main-pagination-block > input[type=button][b-1cilvdn1h2] {
    display: inline-block;
    width: 27px;
    height: 27px;
    vertical-align: top;
    background-color: var(--color-field-bg);
    margin-top: 3px;
    margin-right: 3px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px 1px var(--color-shadow-surface);
    border-style: solid;
    border-width: 1px;
    border-color: transparent;
    border-radius: 5px;
}

.main-pagination-block input[type=number][b-1cilvdn1h2] {
    width: 40px;
    height: 28px;
    margin-top: 3px;
    padding: 1px 0 2px 0;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-border-strong);
    border-radius: 5px;
    display:inline-block;
    background-color: var(--color-field-bg);
    color: var(--color-text-primary);
}

.main-pagination-block span[b-1cilvdn1h2] {
    color: var(--color-text-secondary);
    padding: 0 5px;
}

.main-pagination-block > input[type=button]:not(:disabled):hover[b-1cilvdn1h2] {
    background-color: var(--color-surface-hover);
}

.main-pagination-block > input[type=button]:disabled[b-1cilvdn1h2] {
    opacity: 0.3;
}

.first-page[b-1cilvdn1h2] {
    background: url("../img/first-page-ico.png") center center no-repeat;
}

.prev-page[b-1cilvdn1h2] {
    background: url("../img/prev-page-ico.png") center center no-repeat;
}

.next-page[b-1cilvdn1h2] {
    background: url("../img/next-page-ico.png") center center no-repeat;
}

.last-page[b-1cilvdn1h2] {
    background: url("../img/last-page-ico.png") center center no-repeat;
}


html[data-theme="dark"] .first-page[b-1cilvdn1h2] {
    background-image: url("../img/first-page-ico-dark.png");
}

html[data-theme="dark"] .prev-page[b-1cilvdn1h2] {
    background-image: url("../img/prev-page-ico-dark.png");
}

html[data-theme="dark"] .next-page[b-1cilvdn1h2] {
    background-image: url("../img/next-page-ico-dark.png");
}

html[data-theme="dark"] .last-page[b-1cilvdn1h2] {
    background-image: url("../img/last-page-ico-dark.png");
}

html[data-theme="dark"] .main-pagination-block > input[type=button][b-1cilvdn1h2] {
    background-color: #383838;
    box-shadow: none;
    border-color: var(--color-border-strong);
}

html[data-theme="dark"] .main-pagination-block > input[type=button]:not(:disabled):hover[b-1cilvdn1h2] {
    background-color: #454545;
}

html[data-theme="dark"] .main-pagination-block input[type=number][b-1cilvdn1h2] {
    background-color: #333333;
}

.no-spin[b-1cilvdn1h2]::-webkit-inner-spin-button,
.no-spin[b-1cilvdn1h2]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin[b-1cilvdn1h2] {
    -moz-appearance: textfield;
}
/* /Pages/FiscalDocuments/FiscalDocumentDetails.razor.rz.scp.css */
/* Тони успадковують палітру журналу (див. FiscalDocumentsPage.razor.css) */
.fd-scroll[b-ev6sx7yky5] {
    --fj-sale: #2f6fe0;
    --fj-return: #d97a1a;
    --fj-storno: #dc3545;
    --fj-open: #1c9d6e;
    --fj-close: #a9791a;
    --fj-offline: #0f9d8f;
    --fj-in: #1c9d6e;
    --fj-out: #d6455a;
    --fj-ok: #2a9d5c;
    --fj-pending: #c08a12;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 18px;
}

.fd-head[b-ev6sx7yky5] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.fd-kind[b-ev6sx7yky5] {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fd-kind svg[b-ev6sx7yky5] {
    width: 21px;
    height: 21px;
}

.fd-kind.kind-sale[b-ev6sx7yky5]    { background: color-mix(in srgb, var(--fj-sale) 13%, transparent);    color: var(--fj-sale); }
.fd-kind.kind-return[b-ev6sx7yky5]  { background: color-mix(in srgb, var(--fj-return) 14%, transparent);  color: var(--fj-return); }
.fd-kind.kind-storno[b-ev6sx7yky5]  { background: color-mix(in srgb, var(--fj-storno) 13%, transparent);  color: var(--fj-storno); }
.fd-kind.kind-open[b-ev6sx7yky5]    { background: color-mix(in srgb, var(--fj-open) 13%, transparent);    color: var(--fj-open); }
.fd-kind.kind-close[b-ev6sx7yky5]   { background: color-mix(in srgb, var(--fj-close) 14%, transparent);   color: var(--fj-close); }
.fd-kind.kind-offline[b-ev6sx7yky5] { background: color-mix(in srgb, var(--fj-offline) 13%, transparent); color: var(--fj-offline); }
.fd-kind.kind-in[b-ev6sx7yky5]      { background: color-mix(in srgb, var(--fj-in) 13%, transparent);      color: var(--fj-in); }
.fd-kind.kind-out[b-ev6sx7yky5]     { background: color-mix(in srgb, var(--fj-out) 13%, transparent);     color: var(--fj-out); }

.fd-head-main[b-ev6sx7yky5] {
    min-width: 0;
}

.fd-title[b-ev6sx7yky5] {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--color-accent-secondary);
    line-height: 1.25;
}

.fd-sub[b-ev6sx7yky5] {
    font-size: 13px;
    color: var(--color-text-tertiary);
    margin-top: 2px;
}

.fd-state[b-ev6sx7yky5] {
    margin-bottom: 16px;
}

.fd-state-ok[b-ev6sx7yky5] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fj-ok);
}

.fd-state-ok svg[b-ev6sx7yky5] {
    width: 17px;
    height: 17px;
    flex: none;
}

.fd-pill[b-ev6sx7yky5] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 27px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
}

.fd-pill .dot[b-ev6sx7yky5] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex: none;
}

.fd-pill.st-pending[b-ev6sx7yky5]        { background: color-mix(in srgb, var(--fj-pending) 15%, transparent); color: var(--fj-pending); }
.fd-pill.st-offlinepending[b-ev6sx7yky5] { background: color-mix(in srgb, var(--fj-sale) 13%, transparent);    color: var(--fj-sale); }
.fd-pill.st-failed[b-ev6sx7yky5]         { background: color-mix(in srgb, var(--fj-storno) 13%, transparent);  color: var(--fj-storno); }
.fd-pill.st-revoked[b-ev6sx7yky5]        { background: var(--color-surface-muted);                             color: var(--color-text-muted); }

.fd-label[b-ev6sx7yky5] {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.fd-fn[b-ev6sx7yky5] {
    margin-bottom: 16px;
}

.fd-fn-value[b-ev6sx7yky5] {
    font-size: 21px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.fd-fn-value.none[b-ev6sx7yky5] {
    color: var(--color-text-tertiary);
    font-weight: 500;
    font-size: 16px;
}

.fd-amounts[b-ev6sx7yky5] {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.fd-amount[b-ev6sx7yky5] {
    flex: 1;
    background: var(--color-surface-muted);
    border-radius: 9px;
    padding: 11px 13px;
}

.fd-amount-value[b-ev6sx7yky5] {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: 3px;
}

.fd-amount-value.out[b-ev6sx7yky5] {
    color: var(--fj-return);
}

.fd-error[b-ev6sx7yky5] {
    display: flex;
    gap: 10px;
    background: color-mix(in srgb, var(--fj-storno) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--fj-storno) 32%, transparent);
    border-radius: 9px;
    padding: 11px 13px;
    margin-bottom: 16px;
}

.fd-error svg[b-ev6sx7yky5] {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 1px;
    color: var(--fj-storno);
}

.fd-error div[b-ev6sx7yky5] {
    font-size: 13.5px;
    color: var(--color-text-primary);
    line-height: 1.45;
}

.fd-fields[b-ev6sx7yky5] {
    margin: 0;
}

.fd-fields dt[b-ev6sx7yky5] {
    float: left;
    clear: left;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--color-text-muted);
    padding: 9px 0;
}

.fd-fields dd[b-ev6sx7yky5] {
    margin: 0;
    padding: 9px 0;
    font-size: 13.5px;
    color: var(--color-text-primary);
    text-align: right;
    border-bottom: 1px solid var(--color-border-secondary);
    word-break: break-all;
}

.fd-fields dd.mono[b-ev6sx7yky5] {
    font-family: "Cascadia Code", "Consolas", ui-monospace, monospace;
    font-size: 12.5px;
}

.fd-fields dd a[b-ev6sx7yky5] {
    color: var(--color-link);
}

.fd-flags[b-ev6sx7yky5] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.fd-flag[b-ev6sx7yky5] {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    background: color-mix(in srgb, var(--fj-pending) 15%, transparent);
    color: var(--fj-pending);
}
/* /Pages/FiscalDocuments/FiscalDocumentsPage.razor.rz.scp.css */
/* Тони типів документів і статусів — середні за насиченістю, читаються в обох темах. */
.fj-page[b-dwsq30u3tr] {
    --fj-sale: #2f6fe0;
    --fj-return: #d97a1a;
    --fj-storno: #dc3545;
    --fj-open: #1c9d6e;
    --fj-close: #a9791a;
    --fj-offline: #0f9d8f;
    --fj-in: #1c9d6e;
    --fj-out: #d6455a;
    --fj-ok: #2a9d5c;
    --fj-pending: #c08a12;
    --fj-grid-cols: minmax(220px, 1fr) 90px 132px 122px 142px;
    min-width: 0;
}

@media screen and (min-width: 1560px) {
    .fj-sections.sections-block > .left-column[b-dwsq30u3tr] {
        width: 56.33%;
        padding-right: 1.2%;
    }

    .fj-sections.sections-block > .right-column[b-dwsq30u3tr] {
        width: 43.66%;
    }
}

/* Фільтр торгових точок у заголовку — Select2 під розмір .form-control (34px), як у логів */
.select__wrap[b-dwsq30u3tr] {
    height: 34px;
    flex: 0 0 auto;
}

.fj-outlet-select[b-dwsq30u3tr] {
    width: 210px;
    margin-left: 8px;
}

/* Контейнер Select2 інжектиться JS-ом усередину .select__wrap — потрібен ::deep */
.select__wrap[b-dwsq30u3tr]  .select2-selection__rendered {
    line-height: 32px;
}

@media screen and (max-width: 968px) {
    .fj-outlet-select[b-dwsq30u3tr] {
        width: auto;
        flex: 1 1 150px;
        margin-left: 0;
    }
}

/* ===== Картка журналу (ліва колонка) ===== */
.fj-list-card[b-dwsq30u3tr] {
    width: 100%;
    height: calc(100vh - 110px);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--color-surface-bg);
    border: 1px solid var(--color-border-primary);
    border-radius: 10px;
    box-shadow: 3px 3px 8px var(--color-shadow-surface);
}

.fj-grid[b-dwsq30u3tr] {
    display: grid;
    grid-template-columns: var(--fj-grid-cols);
    align-items: center;
    gap: 10px;
}

.fj-list-head[b-dwsq30u3tr] {
    padding: 0 18px;
    height: 45px;
    flex-shrink: 0;
    background: var(--color-page-header-bg);
    color: var(--color-page-header-text);
    font-size: 14px;
    font-weight: 600;
}

.fj-list-head .num[b-dwsq30u3tr] {
    text-align: right;
}

.fj-list-scroll[b-dwsq30u3tr] {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
}

.fj-group[b-dwsq30u3tr] {
    border-bottom: 1px solid var(--color-border-primary);
}

.fj-group + .fj-group[b-dwsq30u3tr] {
    margin-top: 7px;
    border-top: 1px solid var(--color-border-primary);
}

.fj-row[b-dwsq30u3tr] {
    padding: 0 18px;
    cursor: pointer;
    position: relative;
}

/* Рядок зміни */
.fj-shift[b-dwsq30u3tr] {
    background: var(--color-surface-muted);
    min-height: 46px;
}

.fj-shift:hover[b-dwsq30u3tr] {
    background: var(--color-surface-hover);
}

.fj-shift-main[b-dwsq30u3tr] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 0;
}

.fj-chevron[b-dwsq30u3tr] {
    width: 16px;
    height: 16px;
    flex: none;
    color: var(--color-text-muted);
    transition: transform 0.15s ease;
}

.fj-chevron.open[b-dwsq30u3tr] {
    transform: rotate(90deg);
}

.fj-main[b-dwsq30u3tr] {
    min-width: 0;
}

/* Другий рядок заголовка зміни: торгова точка та каса */
.fj-outlet[b-dwsq30u3tr] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-accent-secondary);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fj-title[b-dwsq30u3tr] {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fj-shift .fj-title[b-dwsq30u3tr] {
    font-size: 15px;
    font-weight: 700;
}

.fj-sub[b-dwsq30u3tr] {
    font-size: 12.5px;
    color: var(--color-text-tertiary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fj-cell[b-dwsq30u3tr] {
    font-size: 13.5px;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fj-cell.dim[b-dwsq30u3tr] {
    color: var(--color-text-muted);
}

.fj-cell.none[b-dwsq30u3tr] {
    color: var(--color-text-tertiary);
}

.fj-cell.num[b-dwsq30u3tr] {
    text-align: right;
}

.fj-cell.strong[b-dwsq30u3tr] {
    font-weight: 700;
}

.fj-cell.out[b-dwsq30u3tr] {
    color: var(--fj-return);
    font-weight: 600;
}

/* Рядок документа */
.fj-doc[b-dwsq30u3tr] {
    background: var(--color-surface-bg);
    border-top: 1px solid var(--color-border-secondary);
    min-height: 50px;
}

.fj-doc:hover[b-dwsq30u3tr] {
    background: var(--color-surface-hover);
}

.fj-doc.selected[b-dwsq30u3tr],
.fj-doc.selected:hover[b-dwsq30u3tr] {
    background: color-mix(in srgb, var(--color-link) 12%, transparent);
}

.fj-doc.selected[b-dwsq30u3tr]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-link);
}

.fj-doc-main[b-dwsq30u3tr] {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    min-height: 50px;
}

/* Дерево-конектор до рядка зміни */
.fj-tree[b-dwsq30u3tr] {
    width: 44px;
    flex: none;
    position: relative;
}

.fj-tree[b-dwsq30u3tr]::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 0;
    bottom: 0;
    border-left: 2px solid var(--color-border-primary);
}

.fj-tree.last[b-dwsq30u3tr]::before {
    height: 50%;
    bottom: auto;
}

.fj-tree[b-dwsq30u3tr]::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 50%;
    width: 15px;
    border-top: 2px solid var(--color-border-primary);
}

.fj-kind[b-dwsq30u3tr] {
    width: 34px;
    height: 34px;
    flex: none;
    align-self: center;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.fj-kind svg[b-dwsq30u3tr] {
    width: 18px;
    height: 18px;
}

.fj-doc-main .fj-main[b-dwsq30u3tr] {
    align-self: center;
    padding: 8px 0;
}

.fj-kind.kind-sale[b-dwsq30u3tr]    { background: color-mix(in srgb, var(--fj-sale) 13%, transparent);    color: var(--fj-sale); }
.fj-kind.kind-return[b-dwsq30u3tr]  { background: color-mix(in srgb, var(--fj-return) 14%, transparent);  color: var(--fj-return); }
.fj-kind.kind-storno[b-dwsq30u3tr]  { background: color-mix(in srgb, var(--fj-storno) 13%, transparent);  color: var(--fj-storno); }
.fj-kind.kind-open[b-dwsq30u3tr]    { background: color-mix(in srgb, var(--fj-open) 13%, transparent);    color: var(--fj-open); }
.fj-kind.kind-close[b-dwsq30u3tr]   { background: color-mix(in srgb, var(--fj-close) 14%, transparent);   color: var(--fj-close); }
.fj-kind.kind-offline[b-dwsq30u3tr] { background: color-mix(in srgb, var(--fj-offline) 13%, transparent); color: var(--fj-offline); }
.fj-kind.kind-in[b-dwsq30u3tr]      { background: color-mix(in srgb, var(--fj-in) 13%, transparent);      color: var(--fj-in); }
.fj-kind.kind-out[b-dwsq30u3tr]     { background: color-mix(in srgb, var(--fj-out) 13%, transparent);     color: var(--fj-out); }

/* Статуси */
.fj-state-ok[b-dwsq30u3tr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--fj-ok);
}

.fj-state-ok svg[b-dwsq30u3tr] {
    width: 16px;
    height: 16px;
    flex: none;
}

.fj-pill[b-dwsq30u3tr],
.fj-badge[b-dwsq30u3tr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 25px;
    padding: 0 11px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.fj-pill .dot[b-dwsq30u3tr],
.fj-badge .dot[b-dwsq30u3tr] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex: none;
}

.fj-pill.st-pending[b-dwsq30u3tr]         { background: color-mix(in srgb, var(--fj-pending) 15%, transparent); color: var(--fj-pending); }
.fj-pill.st-offlinepending[b-dwsq30u3tr]  { background: color-mix(in srgb, var(--fj-sale) 13%, transparent);    color: var(--fj-sale); }
.fj-pill.st-failed[b-dwsq30u3tr]          { background: color-mix(in srgb, var(--fj-storno) 13%, transparent);  color: var(--fj-storno); }
.fj-pill.st-revoked[b-dwsq30u3tr]         { background: var(--color-surface-muted);                             color: var(--color-text-muted); }

.fj-badge.open[b-dwsq30u3tr]   { background: color-mix(in srgb, var(--fj-open) 14%, transparent); color: var(--fj-open); }
.fj-badge.closed[b-dwsq30u3tr] { background: var(--color-surface-muted); color: var(--color-text-muted); }

.fj-no-results[b-dwsq30u3tr] {
    padding: 60px 20px;
    text-align: center;
    color: var(--color-text-tertiary);
}

.fj-list-foot[b-dwsq30u3tr] {
    flex-shrink: 0;
    border-top: 1px solid var(--color-border-secondary);
}

/* ===== Картка деталей (права колонка) ===== */
.fj-detail-card[b-dwsq30u3tr] {
    width: 100%;
    height: calc(100vh - 110px);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-surface-bg);
    border: 1px solid var(--color-border-primary);
    border-radius: 10px;
    box-shadow: 3px 3px 8px var(--color-shadow-surface);
}

.fj-detail-header[b-dwsq30u3tr] {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 45px;
    flex-shrink: 0;
    padding: 0 18px;
    background: var(--color-page-header-bg);
    color: var(--color-page-header-text);
    font-size: 14px;
    font-weight: 600;
}

.fj-back[b-dwsq30u3tr] {
    display: none;
    align-items: center;
    gap: 7px;
    margin-left: -8px;
    padding: 5px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--color-page-header-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.85;
}

.fj-back:hover[b-dwsq30u3tr] {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.fj-back svg[b-dwsq30u3tr] {
    width: 16px;
    height: 16px;
}

.fj-detail-empty[b-dwsq30u3tr] {
    flex: 1;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    color: var(--color-text-tertiary);
    padding: 40px;
    gap: 16px;
}

.fj-detail-empty-icon[b-dwsq30u3tr] {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--color-surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.fj-detail-empty-icon svg[b-dwsq30u3tr] {
    width: 30px;
    height: 30px;
    opacity: 0.5;
}

@media screen and (max-width: 1559px) {
    .fj-back[b-dwsq30u3tr] {
        display: inline-flex;
    }
}

@media screen and (max-width: 968px) {
    /* Edge-to-edge і природний скрол сторінки, як в інших списках на мобільному. */
    .fj-list-card[b-dwsq30u3tr],
    .fj-detail-card[b-dwsq30u3tr] {
        height: auto;
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .fj-list-scroll[b-dwsq30u3tr] {
        overflow: visible;
    }

    .fj-list-head[b-dwsq30u3tr] {
        display: none;
    }

    /* Лишаємо суттєве: документ, сума, статус. Час і ФН — у панелі деталей. */
    .fj-page[b-dwsq30u3tr] {
        --fj-grid-cols: minmax(0, 1fr) auto auto;
    }

    .fj-grid > .fj-cell:nth-child(2)[b-dwsq30u3tr],
    .fj-grid > .fj-cell:nth-child(3)[b-dwsq30u3tr] {
        display: none;
    }

    .fj-tree[b-dwsq30u3tr] {
        width: 26px;
    }

    .fj-tree[b-dwsq30u3tr]::before,
    .fj-tree[b-dwsq30u3tr]::after {
        left: 11px;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.dashboard[b-eizdyo015s] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.dashboard-kpis[b-eizdyo015s] {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 14px;
    min-width: 0;
}

.metric-card[b-eizdyo015s],
.dashboard-panel[b-eizdyo015s] {
    background: var(--color-surface-bg);
    border: 1px solid var(--color-border-primary);
    border-radius: 8px;
    box-shadow: 2px 2px 8px var(--color-shadow-surface);
}

.metric-card[b-eizdyo015s] {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 132px;
    padding: 18px;
}

.metric-card[b-eizdyo015s]::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
}

.metric-card--revenue[b-eizdyo015s]::before {
    background: #2563eb;
}

.metric-card--items[b-eizdyo015s]::before {
    background: #059669;
}

.metric-card--checks[b-eizdyo015s]::before {
    background: #d97706;
}

.metric-card--week[b-eizdyo015s]::before {
    background: #7c3aed;
}

.metric-card__label[b-eizdyo015s] {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.metric-card__value[b-eizdyo015s] {
    color: var(--color-text-primary);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}

.metric-card__hint[b-eizdyo015s],
.metric-card__delta[b-eizdyo015s] {
    font-size: 13px;
    line-height: 1.35;
}

.metric-card__hint[b-eizdyo015s] {
    color: var(--color-text-tertiary);
}

.dashboard-loading[b-eizdyo015s] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-line[b-eizdyo015s] {
    display: block;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-tertiary-bg) 0%, var(--color-surface-hover) 45%, var(--color-tertiary-bg) 100%);
    background-size: 220% 100%;
    animation: dashboard-skeleton-b-eizdyo015s 1.15s ease-in-out infinite;
}

.skeleton-line--value[b-eizdyo015s] {
    width: min(190px, 84%);
    height: 30px;
    border-radius: 8px;
}

.skeleton-line--short[b-eizdyo015s] {
    width: min(150px, 68%);
}

.skeleton-line--tiny[b-eizdyo015s] {
    width: 70%;
    height: 10px;
    margin: 0 auto;
}

.skeleton-line--amount[b-eizdyo015s] {
    flex: 0 0 104px;
    width: 104px;
}

.skeleton-line--number[b-eizdyo015s] {
    width: 48px;
    height: 27px;
    border-radius: 8px;
    margin-bottom: 8px;
}

@keyframes dashboard-skeleton-b-eizdyo015s {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.metric-card__delta--up[b-eizdyo015s] {
    color: #047857;
}

.metric-card__delta--down[b-eizdyo015s] {
    color: #dc2626;
}

.dashboard-grid[b-eizdyo015s] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    gap: 14px;
    align-items: stretch;
    min-width: 0;
}

.dashboard-panel[b-eizdyo015s] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 250px;
    padding: 18px;
}

.dashboard-panel--wide[b-eizdyo015s] {
    min-height: 344px;
}

.dashboard-panel--catalog[b-eizdyo015s] {
    min-height: 188px;
}

.dashboard-panel__header[b-eizdyo015s] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    min-width: 0;
}

.dashboard-panel__header > div[b-eizdyo015s] {
    min-width: 0;
}

.dashboard-panel__header h2[b-eizdyo015s] {
    color: var(--color-text-primary);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.25;
    margin: 0 0 4px;
}

.dashboard-panel__header span[b-eizdyo015s],
.dashboard-panel__header a[b-eizdyo015s] {
    color: var(--color-text-muted);
    font-size: 13px;
}

.dashboard-panel__header a:hover[b-eizdyo015s] {
    color: var(--color-link-hover);
}

.dashboard-panel__header strong[b-eizdyo015s] {
    color: var(--color-text-primary);
    font-size: 16px;
    white-space: nowrap;
}

.bar-chart[b-eizdyo015s] {
    display: grid;
    grid-template-columns: repeat(7, minmax(52px, 1fr));
    gap: 12px;
    min-height: 244px;
}

.chart-placeholder[b-eizdyo015s] {
    display: contents;
}

.bar-chart__item[b-eizdyo015s] {
    display: grid;
    grid-template-rows: 1fr auto auto;
    gap: 8px;
    min-width: 0;
}

.bar-chart__track[b-eizdyo015s] {
    display: flex;
    align-items: flex-end;
    height: 170px;
    padding: 0 7px;
    border-radius: 8px;
    background: var(--color-tertiary-bg);
    overflow: hidden;
}

.bar-chart__bar[b-eizdyo015s] {
    width: 100%;
    min-height: 4px;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(180deg, #2563eb 0%, #059669 100%);
}

.bar-chart__bar--placeholder[b-eizdyo015s] {
    height: 42%;
    background: var(--color-surface-hover);
}

.bar-chart__value[b-eizdyo015s],
.bar-chart__label[b-eizdyo015s] {
    text-align: center;
    white-space: nowrap;
}

.bar-chart__value[b-eizdyo015s] {
    color: var(--color-text-primary);
    font-size: 12px;
    font-weight: 600;
}

.bar-chart__label[b-eizdyo015s] {
    color: var(--color-text-muted);
    font-size: 12px;
}

.summary-list[b-eizdyo015s],
.rank-list[b-eizdyo015s],
.product-list[b-eizdyo015s],
.receipt-list[b-eizdyo015s] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.summary-list__row[b-eizdyo015s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-secondary);
}

.summary-list__row:first-child[b-eizdyo015s] {
    padding-top: 0;
}

.summary-list__row:last-child[b-eizdyo015s] {
    border-bottom: 0;
    padding-bottom: 0;
}

.summary-list__row span[b-eizdyo015s],
.rank-list__head span[b-eizdyo015s],
.product-list__item span[b-eizdyo015s],
.receipt-list__item span[b-eizdyo015s],
.catalog-grid span[b-eizdyo015s] {
    color: var(--color-text-muted);
}

.summary-list__row strong[b-eizdyo015s],
.rank-list__head strong[b-eizdyo015s],
.product-list__item strong[b-eizdyo015s],
.receipt-list__item strong[b-eizdyo015s],
.catalog-grid strong[b-eizdyo015s] {
    color: var(--color-text-primary);
}

.rank-list[b-eizdyo015s] {
    gap: 14px;
}

.marketplace-trend[b-eizdyo015s] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

.marketplace-trend__chart[b-eizdyo015s] {
    display: block;
    width: 100%;
    height: 96px;
    min-height: 0;
    border-radius: 8px;
    background: var(--color-tertiary-bg);
    overflow: visible;
}

.marketplace-trend__grid-line[b-eizdyo015s] {
    stroke: var(--color-border-secondary);
    stroke-width: 0.45;
    vector-effect: non-scaling-stroke;
}

.marketplace-trend__line[b-eizdyo015s] {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
    vector-effect: non-scaling-stroke;
}

.marketplace-trend__days[b-eizdyo015s] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    color: var(--color-text-muted);
    font-size: 11.5px;
    text-align: center;
}

.marketplace-trend__legend[b-eizdyo015s] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.marketplace-trend__legend-item[b-eizdyo015s] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.marketplace-trend__legend-item span:not(.marketplace-trend__legend-dot)[b-eizdyo015s] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-trend__legend-item strong[b-eizdyo015s] {
    color: var(--color-text-primary);
    font-size: 13px;
    white-space: nowrap;
}

.marketplace-trend__legend-dot[b-eizdyo015s] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.list-placeholder[b-eizdyo015s] {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.placeholder-row[b-eizdyo015s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-secondary);
}

.placeholder-row:first-child[b-eizdyo015s] {
    padding-top: 0;
}

.placeholder-row:last-child[b-eizdyo015s] {
    border-bottom: 0;
    padding-bottom: 0;
}

.rank-list__head[b-eizdyo015s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    font-size: 13px;
}

.rank-list__head span[b-eizdyo015s] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-list__head strong[b-eizdyo015s] {
    flex: 0 0 auto;
    font-size: 13px;
}

.rank-list__track[b-eizdyo015s] {
    height: 8px;
    border-radius: 999px;
    background: var(--color-tertiary-bg);
    overflow: hidden;
}

.rank-list__bar[b-eizdyo015s] {
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
}

.product-list__item[b-eizdyo015s],
.receipt-list__item[b-eizdyo015s] {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--color-border-secondary);
}

.product-list__item:first-child[b-eizdyo015s],
.receipt-list__item:first-child[b-eizdyo015s] {
    padding-top: 0;
}

.product-list__item:last-child[b-eizdyo015s],
.receipt-list__item:last-child[b-eizdyo015s] {
    border-bottom: 0;
    padding-bottom: 0;
}

.product-list__item:hover span[b-eizdyo015s],
.receipt-list__item:hover strong:first-child[b-eizdyo015s] {
    color: var(--color-link-hover);
}

.product-list__item span[b-eizdyo015s] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-list__item strong[b-eizdyo015s] {
    flex: 0 0 auto;
}

.receipt-list__item > div[b-eizdyo015s] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.receipt-list__item > div:last-child[b-eizdyo015s] {
    align-items: flex-end;
    flex: 0 0 auto;
}

.receipt-list__item span[b-eizdyo015s] {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
}

.catalog-grid[b-eizdyo015s] {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
}

.catalog-grid div[b-eizdyo015s] {
    min-height: 90px;
    padding: 14px;
    border-radius: 8px;
    background: var(--color-tertiary-bg);
}

.catalog-grid strong[b-eizdyo015s] {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.catalog-grid span[b-eizdyo015s] {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}

.empty-state[b-eizdyo015s] {
    display: flex;
    flex: 1;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: var(--color-text-muted);
    text-align: center;
    border: 1px dashed var(--color-border-primary);
    border-radius: 8px;
    background: var(--color-tertiary-bg);
}

@media screen and (max-width: 1390px) {
    .dashboard-kpis[b-eizdyo015s] {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .dashboard-grid[b-eizdyo015s] {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 760px) {
    .dashboard[b-eizdyo015s] {
        gap: 12px;
    }

    .dashboard-kpis[b-eizdyo015s] {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-grid[b-eizdyo015s] {
        gap: 12px;
    }

    .dashboard-panel[b-eizdyo015s],
    .metric-card[b-eizdyo015s] {
        padding: 14px;
        box-shadow: 1px 1px 5px var(--color-shadow-surface);
    }

    .metric-card[b-eizdyo015s] {
        min-height: 112px;
        padding-left: 16px;
    }

    .metric-card__label[b-eizdyo015s] {
        font-size: 12.5px;
        margin-bottom: 8px;
    }

    .metric-card__value[b-eizdyo015s] {
        font-size: 23px;
        margin-bottom: 9px;
    }

    .metric-card__hint[b-eizdyo015s],
    .metric-card__delta[b-eizdyo015s] {
        font-size: 12.5px;
    }

    .dashboard-panel[b-eizdyo015s] {
        min-height: 0;
    }

    .dashboard-panel--wide[b-eizdyo015s],
    .dashboard-panel--catalog[b-eizdyo015s] {
        min-height: 0;
    }

    .dashboard-panel__header[b-eizdyo015s] {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 14px;
    }

    .dashboard-panel__header h2[b-eizdyo015s] {
        font-size: 16px;
    }

    .dashboard-panel__header span[b-eizdyo015s],
    .dashboard-panel__header a[b-eizdyo015s] {
        font-size: 12.5px;
    }

    .dashboard-panel__header strong[b-eizdyo015s] {
        font-size: 14px;
    }

    .bar-chart[b-eizdyo015s] {
        grid-template-columns: repeat(7, minmax(34px, 1fr));
        gap: 6px;
        min-height: 186px;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .bar-chart__item[b-eizdyo015s] {
        min-width: 0;
        gap: 6px;
    }

    .bar-chart__track[b-eizdyo015s] {
        height: 118px;
        padding: 0 4px;
        border-radius: 6px;
    }

    .bar-chart__bar[b-eizdyo015s] {
        border-radius: 5px 5px 0 0;
    }

    .bar-chart__value[b-eizdyo015s],
    .bar-chart__label[b-eizdyo015s] {
        font-size: 10.5px;
    }

    .summary-list__row[b-eizdyo015s],
    .product-list__item[b-eizdyo015s],
    .receipt-list__item[b-eizdyo015s],
    .placeholder-row[b-eizdyo015s] {
        padding: 10px 0;
    }

    .summary-list__row[b-eizdyo015s] {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .summary-list__row strong[b-eizdyo015s] {
        font-size: 14px;
    }

    .rank-list[b-eizdyo015s] {
        gap: 12px;
    }

    .marketplace-trend[b-eizdyo015s] {
        gap: 10px;
    }

    .marketplace-trend__chart[b-eizdyo015s] {
        height: 84px;
    }

    .marketplace-trend__line[b-eizdyo015s] {
        stroke-width: 2.2;
    }

    .marketplace-trend__days[b-eizdyo015s] {
        font-size: 10.5px;
    }

    .marketplace-trend__legend-item[b-eizdyo015s] {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 7px;
        font-size: 12.5px;
    }

    .marketplace-trend__legend-item strong[b-eizdyo015s] {
        grid-column: 2;
        font-size: 12.5px;
    }

    .rank-list__head[b-eizdyo015s] {
        gap: 8px;
        font-size: 12.5px;
    }

    .product-list__item[b-eizdyo015s] {
        align-items: flex-start;
    }

    .product-list__item strong[b-eizdyo015s] {
        font-size: 13px;
    }

    .receipt-list__item[b-eizdyo015s] {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .receipt-list__item > div:last-child[b-eizdyo015s] {
        align-items: flex-start;
    }

    .receipt-list__item span[b-eizdyo015s] {
        max-width: 100%;
    }

    .catalog-grid[b-eizdyo015s] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .catalog-grid div[b-eizdyo015s] {
        min-height: 82px;
        padding: 12px;
    }

    .catalog-grid strong[b-eizdyo015s] {
        font-size: 21px;
        margin-bottom: 6px;
    }

    .catalog-grid span[b-eizdyo015s] {
        font-size: 12.5px;
    }

    .empty-state[b-eizdyo015s] {
        min-height: 116px;
        padding: 14px;
        font-size: 13px;
    }

    .skeleton-line--value[b-eizdyo015s] {
        height: 25px;
    }

    .skeleton-line--amount[b-eizdyo015s] {
        flex-basis: 86px;
        width: 86px;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.login-page[b-uvarg5axof] {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color-scheme: light;
}

.auth-bg[b-uvarg5axof] {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0B0F17 0%, #111827 45%, #141A26 100%);
}

    .auth-bg[b-uvarg5axof]::before,
    .auth-bg[b-uvarg5axof]::after {
        content: "";
        position: absolute;
        width: 70vmax;
        height: 70vmax;
        border-radius: 50%;
        filter: blur(90px);
        opacity: 0.65;
        pointer-events: none;
    }

    .auth-bg[b-uvarg5axof]::before {
        left: -18vmax;
        top: -18vmax;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, transparent 55%), radial-gradient(circle at 70% 30%, rgba(34, 211, 238, 0.35) 0%, transparent 48%);
        animation: coreonBlobA-b-uvarg5axof 18s ease-in-out infinite alternate;
    }

    .auth-bg[b-uvarg5axof]::after {
        right: -20vmax;
        bottom: -22vmax;
        background: radial-gradient(circle, rgba(20, 184, 166, 0.42) 0%, transparent 55%), radial-gradient(circle at 30% 70%, rgba(34, 211, 238, 0.28) 0%, transparent 48%);
        animation: coreonBlobB-b-uvarg5axof 22s ease-in-out infinite alternate;
    }

@keyframes coreonBlobA-b-uvarg5axof {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }

    35% {
        transform: translate3d(14vw, 8vh, 0) scale(1.08) rotate(18deg);
    }

    70% {
        transform: translate3d(6vw, 18vh, 0) scale(0.94) rotate(-12deg);
    }

    100% {
        transform: translate3d(20vw, 10vh, 0) scale(1.12) rotate(24deg);
    }
}

@keyframes coreonBlobB-b-uvarg5axof {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }

    40% {
        transform: translate3d(-12vw, -10vh, 0) scale(1.1) rotate(-16deg);
    }

    75% {
        transform: translate3d(-4vw, -22vh, 0) scale(0.96) rotate(12deg);
    }

    100% {
        transform: translate3d(-18vw, -14vh, 0) scale(1.14) rotate(-24deg);
    }
}

.logo[b-uvarg5axof] {
    width: 320px;
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.3));
}

/* Main login container */
.login-container[b-uvarg5axof] {
    background: rgba(110, 130, 155, 0.22);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 12px 12px rgba(0, 0, 0, 0.08);
    width: 400px;
    max-width: 90%;
    padding: 2rem;
    color-scheme: light;
}

/* Header section styling */
.login-header[b-uvarg5axof] {
    margin-bottom: 1.5rem;
    text-align: center;
}
    .login-header p[b-uvarg5axof] {
        color: #EEE;
        font-size: 0.90rem;
        margin-top: 10px;
    }

/* Form group container */
.form-group[b-uvarg5axof] {
    margin-bottom: 1.5rem; /* Space between form elements */
}

    /* Label styling */
    .form-group label[b-uvarg5axof] {
        display: block;
        margin-bottom: 0.5rem;
        color: #fff;
        font-size: 1rem;
    }

    .form-group[b-uvarg5axof]  input[type="text"],
    .form-group[b-uvarg5axof]  input[type="password"] {
        color-scheme: light;
        width: 100%;
        padding: 0.6rem 0.8rem;
        background-color: white !important;
        color: #1a1a1a !important;
        caret-color: #1a1a1a;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

    .form-group[b-uvarg5axof]  input[type="text"]:-webkit-autofill,
    .form-group[b-uvarg5axof]  input[type="password"]:-webkit-autofill {
        box-shadow: 0 0 0 1000px #ffffff inset;
        -webkit-text-fill-color: #1a1a1a;
        caret-color: #1a1a1a;
    }
    /* Focus state for input fields */
    .form-group[b-uvarg5axof]  input:focus {
        border-color: #4a90e2; /* Blue border on focus */
        box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25); /* Subtle glow effect */
        outline: none; /* Remove default browser outline */
    }
/* Password field wrapper for positioning the toggle button */
.password-field[b-uvarg5axof] {
    position: relative; /* Allows absolute positioning of child elements */
    display: flex;
    align-items: center;
}
/* Error state styling for form inputs */
.form-group input.error[b-uvarg5axof] {
    border-color: #e74c3c; /* Red border for validation errors */
}
/* Error message styling */
.error-message[b-uvarg5axof] {
    color: #ff7c4c;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 700;
}
/* Form options container (Remember me and Forgot password) */
.form-options[b-uvarg5axof] {
    display: flex;
    justify-content: space-between; /* Space items evenly */
    align-items: center;
    margin-bottom: 1.5rem;
}
/* Remember me checkbox styling */
.remember-me[b-uvarg5axof] {
    display: flex;
    align-items: center;
} .remember-me[b-uvarg5axof]  input[type="checkbox"] {
        color-scheme: light;
        margin-right: 0.3rem;
        margin-left: 2px;
        width: 20px;
        height: 20px;
        background-color: #ffffff !important;
        border-color: #cfd6df !important;
        accent-color: #0086ed;
    } .remember-me[b-uvarg5axof]  input[type="checkbox"]:checked {
        background-color: #0086ed !important;
        border-color: #0086ed !important;
    } .remember-me label[b-uvarg5axof] {
        padding-left: 6px;
        padding-top: 2px;
        font-size: 0.86rem;
        color: #ddd;
    }
/* Main login button styling */
.login-button[b-uvarg5axof] {
    width: 100%;
    padding: 0.8rem;
    background: #0086ED;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s; /* Smooth hover and click effects */
}
/* Button hover state */
.login-button:hover[b-uvarg5axof] {
        background: #3a80d2; /* Darker blue on hover */
    }
/* Button active/pressed state */
.login-button:active[b-uvarg5axof] {
        transform: scale(0.98); /* Slight scale down when clicked */
    }

@media (max-width: 968px) {
    .login-page[b-uvarg5axof] {
        height: 100dvh;
        align-items: center;
    }

    .login-container[b-uvarg5axof] {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 1.5rem 1.25rem;
    }

    .logo[b-uvarg5axof] {
        width: 100%;
        max-width: 240px;
    }
}
/* /Pages/Logs/LogsPage.razor.rz.scp.css */
.logs-page[b-m209g0tqmj] {
    --logs-mono: "Cascadia Code", "Consolas", ui-monospace, "Roboto Mono", monospace;
    min-width: 0;
}

@media screen and (min-width: 1560px) {
    .logs-sections.sections-block > .left-column[b-m209g0tqmj] {
        width: 56.33%;
        padding-right: 1.2%;
    }

    .logs-sections.sections-block > .right-column[b-m209g0tqmj] {
        width: 43.66%;
    }
}


.logs-detail-card[b-m209g0tqmj] {
    width: 100%;
    height: calc(100vh - 151px);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-surface-bg);
    border: 1px solid var(--color-border-primary);
    border-radius: 10px;
    box-shadow: 3px 3px 8px var(--color-shadow-surface);
}

.logs-back[b-m209g0tqmj] {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 14px 18px 0;
    padding: 8px 14px;
    border: 1px solid var(--color-border-strong);
    border-radius: 8px;
    background: var(--color-surface-bg);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.logs-back:hover[b-m209g0tqmj] {
    background: var(--color-surface-hover);
}

.logs-back svg[b-m209g0tqmj] {
    width: 16px;
    height: 16px;
}

.logs-detail-empty[b-m209g0tqmj] {
    flex: 1;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    color: var(--color-text-tertiary);
    padding: 40px;
    gap: 14px;
}

.logs-detail-empty svg[b-m209g0tqmj] {
    width: 54px;
    height: 54px;
    opacity: 0.4;
}

@media screen and (max-width: 1559px) {
    .logs-back[b-m209g0tqmj] {
        display: inline-flex;
    }
}

@media screen and (max-width: 968px) {
    .logs-detail-card[b-m209g0tqmj] {
        height: auto;
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }
}
/* /Pages/Marketplaces/MarketplaceDetails.razor.rz.scp.css */
.data__form-field[b-36dlxpid5h]{
    width: 310px;
}

.data__card-img.marketplace-img[b-36dlxpid5h] {
    background-image: url("../img/empty-marketplace.png");
}

[data-theme="dark"] .data__card-img.marketplace-img[b-36dlxpid5h] {
    background-image: url("../img/empty-marketplace-dark.png");
}




.cashdesk[b-36dlxpid5h] {
    padding: 8px 0;
}

    .cashdesk .data__form-field[b-36dlxpid5h] {
        width: calc(100% - 60px);
    }

        .cashdesk .data__form-field[b-36dlxpid5h]  input {
            padding: 2px 0px 2px 10px;
            min-height: 30px;
        }
        .cashdesk .data__form-field[b-36dlxpid5h]  input:not(:focus) {
            width: 100%;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            outline: none !important;
        }

.cashdesk-data[b-36dlxpid5h] {
    display: flex;
    align-items: center;
}

.cashdesk-data .data__form-field[b-36dlxpid5h] {
    flex: 1;
    padding-right: 10px;
    padding-left: 4px;
}


.cashdesk-remove-btn[b-36dlxpid5h] {
    display: block;
    width: 16px;
    height: 20px;
    cursor: pointer;
    background: url("../img/remove-ico.png") center / contain no-repeat;
}

[data-theme="dark"] .cashdesk-remove-btn[b-36dlxpid5h] {
    background-image: url("../img/remove-ico-dark.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.validation-container[b-36dlxpid5h] {
    margin-left: 155px;
    margin-bottom: 5px;
}

.number-wrap[b-36dlxpid5h] {
    padding-right: 5px;
}

.cashdesks-empty[b-36dlxpid5h] {
    margin-top: 5px;
}

.binding-indicators[b-36dlxpid5h] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 6px;
}

.binding-chip[b-36dlxpid5h] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: default;
    outline: none;
}

    .binding-chip:hover[b-36dlxpid5h],
    .binding-chip:focus-visible[b-36dlxpid5h],
    .binding-chip:focus-within[b-36dlxpid5h] {
        background-color: var(--color-tertiary-bg);
    }

.binding-chip-icon[b-36dlxpid5h] {
    width: 18px;
    height: 18px;
}

.binding-chip--bound .binding-chip-icon[b-36dlxpid5h] {
    color: var(--bs-success, #2f9e44);
}

.binding-chip--draining .binding-chip-icon[b-36dlxpid5h] {
    color: var(--bs-warning, #e8a13a);
}

.binding-pop[b-36dlxpid5h] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    /* Fixed width so long copy wraps instead of stretching the panel off the page's left edge. */
    width: 230px;
    padding: 12px 14px;
    text-align: left;
    white-space: normal;
    border-radius: 8px;
    background-color: var(--color-surface-bg);
    border: 1px solid var(--color-border-primary);
    box-shadow: 0 6px 20px var(--color-shadow-dropdown);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s;
}

    /* Invisible bridge so the pointer can travel from the icon into the popover without it closing. */
    .binding-pop[b-36dlxpid5h]::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 0;
        right: 0;
        height: 6px;
    }

.binding-chip:hover .binding-pop[b-36dlxpid5h],
.binding-chip:focus-within .binding-pop[b-36dlxpid5h] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.binding-pop-title[b-36dlxpid5h] {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-primary);
    word-break: break-word;
}

.binding-pop-sub[b-36dlxpid5h] {
    margin-top: 2px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.binding-pop-action[b-36dlxpid5h] {
    margin-top: 8px;
    padding: 0;
    font-size: 0.8rem;
    vertical-align: baseline;
}
/* /Pages/Marketplaces/MarketplacesPage.razor.rz.scp.css */
.cols__item-1[b-3i2hqur7oz] {
    padding-left: 18px;
    flex: 0 0 30%;
    max-width: 30%;
}

.cols__item-2[b-3i2hqur7oz] {
    flex: 0 0 45%;
    max-width: 45%;
}

.cols__item-3[b-3i2hqur7oz] {
    flex: 0 0 28%;
    max-width: 28%;
}

@media screen and (max-width: 968px) {
    .cols__item-1[b-3i2hqur7oz] {
        padding-left: 0px;
    }
}
/* /Pages/Products/ProductDetails.razor.rz.scp.css */
.data__form-field[b-8cilef72wl] {
    width: 310px;
}
    .data__form-field.long[b-8cilef72wl] {
        width: 500px;
    }

.form-check.form-switch[b-8cilef72wl]{
    margin: 0 2px;
}

.product-variant-table input[b-8cilef72wl],
.product-variant-table[b-8cilef72wl]  input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.select__wrap .select2-container[b-8cilef72wl] {
    width: 100%;
    border: 0px !important;
}

.product-variant-table[b-8cilef72wl]  .select2-container .select2-selection,
.product-variant-table[b-8cilef72wl]  .select2-container--default .select2-selection--single {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.product-variant-table[b-8cilef72wl]  .select2-selection__rendered {
    text-align: left;
    padding: 0 4px;
}



.product-table .product-link[b-8cilef72wl] {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--color-accent-light);
    font-size: 14px;
}


.product-variant-table tbody .remove-btn[b-8cilef72wl] {
    display: inline-block;
    width: 16px;
    height: 20px;
    background: url("../img/remove-ico.png") no-repeat center center;
    vertical-align: middle;
}

[data-theme="dark"] .product-variant-table tbody .remove-btn[b-8cilef72wl] {
    background-image: url("../img/remove-ico-dark.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.product-variant-table thead th:nth-child(1)[b-8cilef72wl] {
    width: 12%;
}

.product-variant-table thead th:nth-child(2)[b-8cilef72wl] {
    width: 22%;
}

.product-variant-table thead th:nth-child(3)[b-8cilef72wl] {
    width: 22%;
}

.product-variant-table thead th:nth-child(4)[b-8cilef72wl] {
    width: 15%;
}

.product-variant-table thead th:nth-child(5)[b-8cilef72wl] {
    width: 10%;
}

.product-variant-table thead th:nth-child(6)[b-8cilef72wl] {
    width: 10%;
}

.product-variant-table thead th:nth-child(7)[b-8cilef72wl] {
    width: 30px;
}




.product-variant-table[b-8cilef72wl] {
    width: 100%;
    table-layout: fixed;
    text-align: center;
    border-collapse: collapse;
}

    .product-variant-table thead th[b-8cilef72wl] {
        background-color: var(--color-tertiary-bg);
        font-size: 14px;
    }

    .product-variant-table thead th[b-8cilef72wl],
    .product-variant-table tbody td[b-8cilef72wl] {
        border: 1px solid var(--color-border-primary);
        padding: 5px;
        min-height: 20px;
        line-height: 16px;
    }


    .product-variant-table tbody .data__form-field[b-8cilef72wl] {
        padding-bottom: 2px;
    }


    .product-variant-table tbody .text-right .data__form-field input[b-8cilef72wl] {
        text-align: right;
    }


    .product-variant-table tbody .text-center .data__form-field input[b-8cilef72wl] {
        text-align: center;
    }

    .product-table thead th:nth-child(1)[b-8cilef72wl] {
        width: 45%;
    }

    .product-table thead th:nth-child(2)[b-8cilef72wl] {
        width: 15%;
    }

    .product-table thead th:nth-child(3)[b-8cilef72wl] {
        width: 10%;
    }

    .product-table thead th:nth-child(4)[b-8cilef72wl] {
        width: 16%;
    }

    .product-table thead th:nth-child(5)[b-8cilef72wl] {
        width: 15%;
    }

    .product-table .product-image[b-8cilef72wl] {
        float: left;
        margin: 2px 5px 1px 2px
    }


.pvariants[b-8cilef72wl] {
    text-align: right;
    margin-top: 10px;
    margin-right: 0px;
}

    .pvariants .btn[b-8cilef72wl] {
        padding: 0px 6px 5px 6px;
        font-weight: normal;
        font-size: 20pt;
        line-height: 0.95em;
    }
/* /Pages/Products/ProductsPage.razor.rz.scp.css */
.cols__item-1[b-1fnq2y0ubh] {
    padding-left: 18px;
    flex: 0 0 58%;
    max-width: 58%;
    padding-right: 15px;
    overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cols__item-2[b-1fnq2y0ubh] {
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: 15px;
}

.cols__item-3[b-1fnq2y0ubh] {
    flex: 0 0 22%;
    max-width: 22%;
}

@media screen and (max-width: 969px) {
    .cols__item-1[b-1fnq2y0ubh] {
        padding-left: 0px;
        flex: 0 0 62%;
        max-width: 62%;
    }
}
/* /Pages/Sales/SaleDetails.razor.rz.scp.css */
.data__form-field[b-4oi4f8d0xc]{
    width: 310px;
}

.product-link[b-4oi4f8d0xc] {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--color-accent-light);
    padding-left:5px;
    font-size: 15px;
}

.product-table[b-4oi4f8d0xc]{
    width: 100%;
    table-layout: fixed;
    text-align: center;
    border-collapse: collapse;
}

    .product-table thead th[b-4oi4f8d0xc] {
        background-color: var(--color-tertiary-bg);
        font-size: 14px;
    }


    .product-table thead th[b-4oi4f8d0xc],
    .product-table tbody td[b-4oi4f8d0xc] {
        border: 1px solid var(--color-border-primary);
        padding: 5px;
        min-height: 20px;
        line-height: 16px;
    }

        .product-table tbody td span[b-4oi4f8d0xc] {
            color: var(--color-text-muted);
            font-size: 0.75em;
        }

            .product-table tbody td span strong[b-4oi4f8d0xc] {
                color: var(--color-text-primary);
            }

    .product-table .selection .select2-selection__rendered[b-4oi4f8d0xc] {
        font-size: 12pt;
    }

    .product-table tbody .data__form-field[b-4oi4f8d0xc] {
        padding-bottom: 2px;
    }

    .product-table tbody .text-right .data__form-field input[b-4oi4f8d0xc] {
        text-align: right;
    }

    .product-table tbody .text-center .data__form-field input[b-4oi4f8d0xc] {
        text-align: center;
    }

    .product-table thead th:nth-child(1)[b-4oi4f8d0xc] {
        width: 45%;
    }

    .product-table thead th:nth-child(2)[b-4oi4f8d0xc] {
        width: 15%;
    }

    .product-table thead th:nth-child(3)[b-4oi4f8d0xc] {
        width: 10%;
    }

    .product-table thead th:nth-child(4)[b-4oi4f8d0xc] {
        width: 16%;
    }

    .product-table thead th:nth-child(5)[b-4oi4f8d0xc] {
        width: 15%;
    }

    .product-table .product-image[b-4oi4f8d0xc] {
        float: left;
        margin: 2px 5px 1px 2px
    }

[data-theme="dark"] img[src="/img/product-box.png"][b-4oi4f8d0xc] {
    content: url("/img/product-box-dark.png");
}

@media screen and (max-width: 968px) {
    .product-table thead th[b-4oi4f8d0xc],
    .product-table tbody td[b-4oi4f8d0xc] {
        border: 0;
        padding: 0;
    }

    .total table[b-4oi4f8d0xc] {
        width: 100%;
    }

    .total table td[b-4oi4f8d0xc] {
        width: auto;
        white-space: nowrap;
        padding-left: 12px;
    }
}
/* /Pages/Sales/SalesPage.razor.rz.scp.css */
.cols__item-1[b-t7e1rg9u0g] {
    padding-left: 18px;
    -webkit-box-flex: 0;
    flex: 0 0 20%;
    width: 20%;
}

.cols__item-2[b-t7e1rg9u0g] {
    -webkit-box-flex: 0;
    flex: 0 0 22%;
    min-width: 22%;
}

.cols__item-3[b-t7e1rg9u0g] {
    -webkit-box-flex: 0;
    flex: 0 0 24%;
    min-width: 24%;
}

.cols__item-4[b-t7e1rg9u0g] {
    -webkit-box-flex: 0;
    flex: 0 0 32%;
    min-width: 32%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 968px) {
    .cols__item-1[b-t7e1rg9u0g] {
        padding-left: 0px;
    }
    .cols__item-2[b-t7e1rg9u0g] {
        flex: 0 0 28%;
        min-width: 28%;
    }
    .cols__item-3[b-t7e1rg9u0g] {
        flex: 0 0 27%;
        min-width: 27%;
    }
    .cols__item-4[b-t7e1rg9u0g] {
        flex: 0 0 28%;
        min-width: 28%;
    }
}
/* /Pages/Settings/SettingsPage.razor.rz.scp.css */
/* ---- Tabs: underline style that follows the active theme ----------- */
.settings-tabs[b-78rt50zhab] {
    margin-bottom: 18px;
    border-bottom: 1px solid var(--color-border-primary);
}

    .settings-tabs .nav-link[b-78rt50zhab] {
        color: var(--color-text-muted);
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
    }

        .settings-tabs .nav-link:hover[b-78rt50zhab] {
            color: var(--color-text-primary);
            border-bottom-color: var(--color-border-secondary);
        }

        .settings-tabs .nav-link.active[b-78rt50zhab] {
            color: var(--color-accent-secondary);
            border-bottom-color: var(--color-accent-secondary);
        }

/* ---- The card has no header bar, so trim the reserved top space ----- */
.page__box[b-78rt50zhab] {
    padding-top: 16px;
}

/* ---- Desktop: the card fills the available height, like other pages - */
@media screen and (min-width: 969px) {
    .settings-page[b-78rt50zhab] {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - 110px);
    }

    .page__box[b-78rt50zhab] {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .page__box-content[b-78rt50zhab] {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.settings-actions[b-78rt50zhab] {
    flex: 0 0 auto;
    border-top: 1px solid var(--color-border-secondary);
    padding: 14px 22px;
}

.settings-empty[b-78rt50zhab] {
    padding: 6px 0 12px;
}

/* ---- Fields -------------------------------------------------------- */
/* Auto height + a wider label column so long captions stay on one line
   and never overlap the next row. */
.data__field[b-78rt50zhab] {
    height: auto;
    min-height: 44px;
    align-items: center;
    padding: 4px 0;
}

.data__field-label[b-78rt50zhab] {
    flex: 0 0 300px;
    max-width: 300px;
    min-width: 0;
    line-height: 1.3;
}

/* Larger, easier-to-hit toggles. */
.form-switch[b-78rt50zhab] {
    padding-left: 3em;
    min-height: 1.6em;
}

    .form-switch .form-check-input[b-78rt50zhab] {
        width: 3em;
        height: 1.5em;
        margin: 0 0 0 -3em;
        cursor: pointer;
    }

/* Themed dropdowns, matching the pill-shaped inputs. */
.data__form-field .form-select[b-78rt50zhab] {
    width: auto;
    min-width: 220px;
    max-width: 100%;
    font-size: 14px;
    color: var(--color-text-primary);
    background-color: var(--color-field-bg);
    border: 1px solid var(--color-border-primary);
    border-radius: 15px;
}

.data__form-field input[type="text"][b-78rt50zhab],
.data__form-field input[type="number"][b-78rt50zhab] {
    max-width: 420px;
}

/* ---- Mobile: native, left-aligned, stacked ------------------------- */
@media screen and (max-width: 968px) {
    .page__box[b-78rt50zhab] {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .settings-tabs[b-78rt50zhab] {
        padding: 0 15px;
    }

    .page__box-content[b-78rt50zhab] {
        padding-left: 15px;
        padding-right: 15px;
    }

    .data__field[b-78rt50zhab] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        min-height: 0;
        padding: 12px 0;
    }

    .data__field-label[b-78rt50zhab] {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
        line-height: 1.35;
        text-align: left;
    }

    .data__form-field[b-78rt50zhab] {
        width: 100%;
        text-align: left;
    }

        .data__form-field input[type="text"][b-78rt50zhab],
        .data__form-field input[type="number"][b-78rt50zhab],
        .data__form-field .form-select[b-78rt50zhab] {
            width: 100%;
            max-width: 100%;
        }
}
/* /Pages/Users/UserDetails.razor.rz.scp.css */
.data__form-field[b-u7ga4ifjsa]{
    width: 310px;
}

.workplace > div[b-u7ga4ifjsa] {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}

.workplace-ico[b-u7ga4ifjsa] {
    margin-left: 5px;
    margin-right: 12px;
}

.workplace .workplace-remove[b-u7ga4ifjsa] {
    float: right;
}

.workplace-name[b-u7ga4ifjsa] {
    font: 600 14px "Segoe UI";
}

.workplace-data[b-u7ga4ifjsa] {
    margin-right: 12px;
    max-width: 325px;
}

.workplace-address[b-u7ga4ifjsa] {
    font-size: 14px;
}

.workplace-empty[b-u7ga4ifjsa] {
    margin-top: 5px;
}

.workplace-remove[b-u7ga4ifjsa] {
    margin-top: 10px;
}

.workplace-remove-btn[b-u7ga4ifjsa] {
    display: block;
    width: 16px;
    height: 20px;
    background: url("../img/remove-ico.png") center / contain no-repeat;
}

[data-theme="dark"] .workplace-remove-btn[b-u7ga4ifjsa] {
    background-image: url("../img/remove-ico-dark.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.workplace-dropdown .select2-results__option:empty[b-u7ga4ifjsa] {
    display: none !important;
}


#password-popup .data__field-label[b-u7ga4ifjsa] {
    min-width: 32%;
}
#password-popup .modal-body[b-u7ga4ifjsa] {
    overflow-y: auto;
    height: 200px;
}

.validation-container[b-u7ga4ifjsa] {
    margin-left: 155px;
    margin-bottom: 5px;
}

[data-theme="light"] .data__card-img[b-u7ga4ifjsa] {
    background-image: url("../img/user-img.png");
}

[data-theme="dark"] .data__card-img[b-u7ga4ifjsa] {
    background-image: url("../img/user-img-dark.png");
}

[data-theme="dark"] img[src="/img/workplace-ico.png"][b-u7ga4ifjsa] {
    content: url("/img/workplace-ico-dark.png");
}
/* /Pages/Users/UsersPage.razor.rz.scp.css */
.page__box-header.cols__wrap-1 .cols__item-1[b-pa3anjpqvg] {
    margin-left: 75px;
    margin-right: -75px;
    padding-left: 0px;
}
.cols__item-1[b-pa3anjpqvg] {
    padding-left: 18px;
    flex: 0 0 42%;
    max-width: 42%;
}

.cols__item-2[b-pa3anjpqvg] {
    flex: 0 0 33%;
    max-width: 33%;
}

.cols__item-3[b-pa3anjpqvg] {
    flex: 0 0 21%;
    max-width: 21%;
}

[data-theme="light"] .no-photo[b-pa3anjpqvg] {
    content: url('/img/user-img.png');
}

[data-theme="dark"] .no-photo[b-pa3anjpqvg] {
    content: url('/img/user-img-dark.png');
}


@media screen and (max-width: 968px) {
    .page__box-header.cols__wrap-1 .cols__item-1[b-pa3anjpqvg] {
        margin-left: 60px;
        margin-right: -60px;
        padding-left: 0px;
    }

    .cols__item-1[b-pa3anjpqvg] {
        padding-left: 0px;
        flex: 0 0 72%;
        max-width: 72%;
    }

    .cols__item-3[b-pa3anjpqvg] {
        flex: 0 0 28%;
        max-width: 28%;
    }

    .user-name[b-pa3anjpqvg] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
