/* _content/PuritasCare.UI/Components/AdsAnalytics/AdsAnalyticsPage.razor.rz.scp.css */
/* PC-880 PR2 (В6). 1440/1280 — таблица; 393 — карточки. «Либо только десктоп» здесь не вариант:
   витрину открывают с телефона, и горизонтальная прокрутка девяти колонок на 393 px нечитаема. */

.ads-dates[b-7xeq6l2iyd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ads-note[b-7xeq6l2iyd] {
    color: var(--rz-text-secondary-color);
}

.ads-table-wrap[b-7xeq6l2iyd] {
    overflow-x: auto;
}

.ads-table[b-7xeq6l2iyd] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ads-table th[b-7xeq6l2iyd],
.ads-table td[b-7xeq6l2iyd] {
    padding: 0.45rem 0.6rem;
    text-align: right;
    border-bottom: 1px solid var(--rz-border-color, #e0e0e0);
    white-space: nowrap;
}

.ads-table th.ads-name[b-7xeq6l2iyd],
.ads-table td.ads-name[b-7xeq6l2iyd] {
    text-align: left;
    white-space: normal;
    min-width: 14rem;
}

.ads-table thead th[b-7xeq6l2iyd] {
    font-weight: 600;
    color: var(--rz-text-secondary-color);
}

.ads-group-name[b-7xeq6l2iyd] {
    font-weight: 600;
    word-break: break-word;
}

.ads-reasons[b-7xeq6l2iyd] {
    font-size: 0.78rem;
    color: var(--rz-text-secondary-color);
}

.ads-mature td[b-7xeq6l2iyd] {
    border-bottom: 2px solid var(--rz-border-color, #e0e0e0);
    color: var(--rz-text-secondary-color);
    font-size: 0.82rem;
}

.ads-mature td.ads-name[b-7xeq6l2iyd] {
    font-weight: 400;
    padding-left: 1.2rem;
}

.ads-empty-mature[b-7xeq6l2iyd] {
    text-align: left;
    font-style: italic;
}

.ads-cell[b-7xeq6l2iyd] {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--rz-primary, #2196f3);
    cursor: pointer;
}

.ads-cell:hover[b-7xeq6l2iyd] {
    text-decoration: underline;
}

.ads-share[b-7xeq6l2iyd] {
    display: block;
    font-size: 0.75rem;
    color: var(--rz-text-secondary-color);
}

.ads-dash[b-7xeq6l2iyd] {
    color: var(--rz-text-disabled-color, #9e9e9e);
}

.ads-drill-list[b-7xeq6l2iyd] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ads-drill-list li[b-7xeq6l2iyd] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--rz-border-color, #eee);
}

.ads-drill-meta[b-7xeq6l2iyd] {
    font-size: 0.78rem;
    color: var(--rz-text-secondary-color);
}

/* Телефон: строка таблицы превращается в карточку. Подпись колонки берётся из data-label —
   второй разметки для мобильного вида нет, поэтому расходиться ей не с чем. */
@media (max-width: 640px) {
    .ads-table[b-7xeq6l2iyd],
    .ads-table thead[b-7xeq6l2iyd],
    .ads-table tbody[b-7xeq6l2iyd],
    .ads-table tr[b-7xeq6l2iyd],
    .ads-table th[b-7xeq6l2iyd],
    .ads-table td[b-7xeq6l2iyd] {
        display: block;
    }

    .ads-table thead[b-7xeq6l2iyd] {
        display: none;
    }

    .ads-table tr[b-7xeq6l2iyd] {
        border: 1px solid var(--rz-border-color, #e0e0e0);
        border-radius: 0.5rem;
        margin-bottom: 0.6rem;
        padding: 0.4rem 0.6rem;
    }

    .ads-table td[b-7xeq6l2iyd] {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.75rem;
        border-bottom: 0;
        padding: 0.2rem 0;
        text-align: right;
        white-space: normal;
    }

    .ads-table td[b-7xeq6l2iyd]::before {
        content: attr(data-label);
        font-size: 0.78rem;
        color: var(--rz-text-secondary-color);
        text-align: left;
    }

    .ads-table td.ads-name[b-7xeq6l2iyd]::before {
        content: none;
    }

    .ads-table td.ads-name[b-7xeq6l2iyd] {
        display: block;
        text-align: left;
        min-width: 0;
    }

    /* Второстепенные колонки на телефоне скрыты: ключевые числа — лиды, контакт, монтаж, оплата. */
    .ads-table td[data-secondary][b-7xeq6l2iyd] {
        display: none;
    }

    .ads-share[b-7xeq6l2iyd] {
        display: inline;
        margin-left: 0.4rem;
    }

    /* Тач-цели на телефоне — не меньше 44 px по обеим сторонам. Числа-кнопки без этого были 22 px
       в высоту и 24 px в ширину, чипы периода и уровня — 30 px: попасть пальцем в соседнее число
       легче, чем в нужное, а промах здесь открывает не тот список. Правило живёт ТОЛЬКО в
       телефонном медиа-запросе — на планшете и десктопе размеры не меняются. */
    .ads-cell[b-7xeq6l2iyd] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
    }

    .ads-filters[b-7xeq6l2iyd]  .rz-button,
    .ads-filters[b-7xeq6l2iyd]  button {
        min-height: 44px;
        min-width: 44px;
    }

    .ads-filters[b-7xeq6l2iyd]  input {
        min-height: 44px;
    }

    /* Поля дат встают в столбец: вдвоём рядом с кнопкой календаря в 44 px на 393 px им не хватает
       ширины, и последняя цифра года пряталась под иконкой. */
    .ads-dates[b-7xeq6l2iyd] {
        flex-direction: column;
        align-items: stretch;
    }

    .ads-dates .ads-dash[b-7xeq6l2iyd] {
        text-align: center;
    }
}
/* _content/PuritasCare.UI/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-vbtmw1d856] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-container[b-vbtmw1d856] {
    max-width: 1536px;
    margin: 0 auto;
    width: 100%;
}

main[b-vbtmw1d856] {
    flex: 1;
}

.sidebar[b-vbtmw1d856] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-vbtmw1d856] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-vbtmw1d856]  a, .top-row[b-vbtmw1d856]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-vbtmw1d856]  a:hover, .top-row[b-vbtmw1d856]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-vbtmw1d856]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-vbtmw1d856] {
        justify-content: space-between;
    }

    .top-row[b-vbtmw1d856]  a, .top-row[b-vbtmw1d856]  .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar[b-vbtmw1d856] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-vbtmw1d856] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-vbtmw1d856]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-vbtmw1d856], article[b-vbtmw1d856] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-vbtmw1d856] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-vbtmw1d856] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/PuritasCare.UI/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ig5rcq64w1] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-ig5rcq64w1] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ig5rcq64w1] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ig5rcq64w1] {
    font-size: 1.1rem;
}

.bi[b-ig5rcq64w1] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-ig5rcq64w1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-ig5rcq64w1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ig5rcq64w1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ig5rcq64w1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ig5rcq64w1]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-ig5rcq64w1]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ig5rcq64w1]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ig5rcq64w1] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ig5rcq64w1] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ig5rcq64w1] {
        display: none;
    }

    .nav-scrollable[b-ig5rcq64w1] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/PuritasCare.UI/Components/Pages/Admin/AuditHistory.razor.rz.scp.css */
.audit-admin__filters[b-tcrwfuppl8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.75rem;
}

.audit-admin__table-wrap[b-tcrwfuppl8] {
    overflow-x: auto;
}

.audit-admin__table[b-tcrwfuppl8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.audit-admin__table th[b-tcrwfuppl8],
.audit-admin__table td[b-tcrwfuppl8] {
    padding: 0.5rem;
    border-bottom: 1px solid var(--rz-base-300);
    text-align: left;
    vertical-align: top;
}

.audit-admin__table th[b-tcrwfuppl8] {
    font-weight: 600;
    white-space: nowrap;
}

.audit-admin__nowrap[b-tcrwfuppl8] {
    white-space: nowrap;
}

.audit-admin__id[b-tcrwfuppl8] {
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.audit-admin__change[b-tcrwfuppl8] {
    overflow-wrap: anywhere;
    max-width: 48rem;
}

.audit-admin__field[b-tcrwfuppl8] {
    color: var(--rz-text-secondary-color);
    margin-right: 0.25rem;
}

.audit-admin__old[b-tcrwfuppl8] {
    color: var(--rz-text-secondary-color);
    text-decoration: line-through;
}

.audit-admin__link[b-tcrwfuppl8] {
    padding: 0;
    border: none;
    background: none;
    color: var(--rz-primary);
    cursor: pointer;
    text-align: left;
}
/* _content/PuritasCare.UI/Components/Pages/Admin/InstallerPayouts.razor.rz.scp.css */
.installer-payouts-page[b-il77ej5plh] {
    min-width: 0;
}

.installer-payouts-loading[b-il77ej5plh] {
    display: grid;
    min-height: 16rem;
    place-items: center;
}

.installer-payout-filters[b-il77ej5plh] {
    background: #fff;
}

.installer-payout-search[b-il77ej5plh] {
    flex: 1 1 18rem;
}

.installer-payout-filter[b-il77ej5plh] {
    flex: 0 1 14rem;
}

.installer-payout-amount-filter[b-il77ej5plh] {
    flex: 0 1 10rem;
}

.installer-payout-date-filter[b-il77ej5plh] {
    flex: 1 1 21rem;
}

.installer-payout-date-range[b-il77ej5plh] {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
}

/* PC-188: this rule (and its ::deep variants) never matched anything — every element between
   this component's root and the button is itself a Radzen component (RadzenStack, RadzenCard),
   so no plain HTML node anywhere in InstallerPayouts.razor ever carries the Blazor CSS-isolation
   scope attribute for ::deep to anchor on (unlike ReferralPayouts.razor, whose root is a plain
   <div class="payments-page">). min-height/white-space are now set inline via RadzenButton's own
   Style parameter instead (InstallerPayouts.razor) — inline style always applies regardless of
   component boundaries. Kept only as a record of why a ::deep rule here would be dead code. */

.installer-payout-board[b-il77ej5plh] {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(22rem, 1fr));
    overflow-x: auto;
    padding-bottom: .25rem;
}

.installer-payout-column[b-il77ej5plh] {
    border: 1px solid #e2e5e9;
    border-radius: .65rem;
    min-width: 0;
    overflow: hidden;
    padding: .6rem;
}

.installer-payout-column--scheduled[b-il77ej5plh] {
    background: color-mix(in srgb, var(--rz-base-100) 88%, var(--rz-primary) 12%);
}

.installer-payout-column--installed[b-il77ej5plh] {
    background: color-mix(in srgb, #ffef72 44%, var(--rz-base-100));
}

.installer-payout-column > header[b-il77ej5plh] {
    align-items: center;
    background: var(--rz-base-background-color);
    border-bottom: 1px solid #e2e5e9;
    display: flex;
    justify-content: space-between;
    margin: -.6rem -.6rem .55rem;
    min-height: 2.65rem;
    padding: .5rem .6rem;
}

.installer-payout-card-viewport[b-il77ej5plh] {
    --rz-datalist-background-color: transparent;
    --rz-datalist-border: 0;
    --rz-datalist-item-background-color: transparent;
    --rz-datalist-item-border: 0;
    --rz-datalist-item-margin-block: 0;
    --rz-datalist-item-margin-inline: 0;
    --rz-datalist-item-padding: 0;
    --rz-datalist-padding: 0;
    --rz-datalist-shadow: none;
    height: 27rem;
    min-height: 0;
    overflow: hidden;
}

[b-il77ej5plh] .installer-payout-card-list .rz-datalist-data {
    display: grid;
    gap: 0;
}

[b-il77ej5plh] .installer-payout-card-list .rz-datalist-content {
    padding: 0;
}

[b-il77ej5plh] .installer-payout-card-list .rz-datalist-item {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0 0 .25rem;
}

.installer-payout-card[b-il77ej5plh] {
    --installer-payout-meta-first-track: 7.25rem;
    --installer-payout-meta-second-track: 6.25rem;
    --installer-payout-meta-width: 13.75rem;
    background: #fff;
    border: 1px solid #e0e3e7;
    border-radius: .5rem;
    color: #29323d;
    cursor: pointer;
    display: grid;
    gap: .18rem;
    min-height: 3rem;
    padding: .32rem .42rem;
}

.installer-payout-card--insurance-paid[b-il77ej5plh] {
    background: color-mix(in srgb, var(--rz-warning) 28%, #fff);
    border-color: color-mix(in srgb, var(--rz-warning) 72%, #d97706);
}

.installer-payout-card:hover[b-il77ej5plh],
.installer-payout-card:focus-visible[b-il77ej5plh] {
    border-color: #aab2bd;
    box-shadow: 0 2px 8px rgb(30 41 59 / 8%);
    outline: none;
}

.installer-payout-card-primary-row[b-il77ej5plh] {
    align-items: center;
    display: grid;
    gap: .35rem;
    grid-template-columns: minmax(0, 1fr) var(--installer-payout-meta-width);
    min-width: 0;
}

.installer-payout-card-primary-row > strong[b-il77ej5plh] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.installer-payout-card-badges[b-il77ej5plh] {
    align-items: center;
    display: grid;
    gap: .25rem;
    grid-template-columns: var(--installer-payout-meta-first-track) var(--installer-payout-meta-second-track);
    min-width: 0;
    overflow: hidden;
    width: var(--installer-payout-meta-width);
}

.installer-payout-card-secondary-row[b-il77ej5plh] {
    align-items: center;
    display: grid;
    font-size: .76rem;
    gap: .5rem;
    grid-template-columns: auto minmax(0, 1fr);
    line-height: 1.15;
    min-width: 0;
}

.installer-payout-card-secondary-row--with-action[b-il77ej5plh] {
    grid-template-columns: auto minmax(0, 1fr) var(--installer-payout-meta-width);
}

.installer-payout-card-secondary-row > span[b-il77ej5plh] {
    align-items: center;
    display: flex;
    gap: .18rem;
    min-width: 0;
    white-space: nowrap;
}

.installer-payout-card-address[b-il77ej5plh],
.installer-payout-card-address-text[b-il77ej5plh] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.installer-payout-card-address-text[b-il77ej5plh] {
    white-space: nowrap;
}

[b-il77ej5plh] .installer-payout-team-badge,
[b-il77ej5plh] .installer-payout-store-badge {
    display: block;
    font-size: .67rem;
    line-height: 1;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: .2rem .35rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.installer-payout-card-action[b-il77ej5plh] {
    align-items: center;
    display: grid;
    gap: .25rem;
    grid-template-columns: var(--installer-payout-meta-first-track) var(--installer-payout-meta-second-track);
    margin: 0;
    min-width: 0;
    width: var(--installer-payout-meta-width);
}

.installer-payout-insurance-slot[b-il77ej5plh] {
    min-width: 0;
}

[b-il77ej5plh] .installer-payout-insurance-badge {
    align-items: center;
    background: #16a34a;
    border: 1px solid #16a34a;
    border-radius: var(--rz-border-radius, .25rem);
    color: #fff;
    display: flex;
    font-size: .68rem;
    gap: .2rem;
    justify-content: center;
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    padding: .22rem .35rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

[b-il77ej5plh] .installer-payout-insurance-badge .rzi {
    font-size: .9rem;
}

[b-il77ej5plh] .installer-payout-card-action .rz-button {
    min-height: 1.8rem;
    padding: .2rem .45rem;
    width: 100%;
}

.installer-payout-help[b-il77ej5plh] {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: .5rem;
    color: #667085;
    display: grid;
    font-size: .78rem;
    gap: .35rem;
    margin-top: .7rem;
    padding: .65rem .75rem;
}

.installer-payout-help strong[b-il77ej5plh],
.installer-payout-help b[b-il77ej5plh] {
    color: #344054;
}

.installer-payout-help ul[b-il77ej5plh] {
    margin: 0;
    padding-left: 1.15rem;
}

.installer-payout-help-highlight[b-il77ej5plh] {
    align-items: center;
    display: flex;
    gap: .4rem;
}

.installer-payout-help-swatch[b-il77ej5plh] {
    background: color-mix(in srgb, var(--rz-warning) 28%, #fff);
    border: 1px solid color-mix(in srgb, var(--rz-warning) 72%, #d97706);
    border-radius: .2rem;
    flex: 0 0 auto;
    height: .85rem;
    width: .85rem;
}

.installer-payout-summary[b-il77ej5plh] {
    color: #475467;
    font-size: .9rem;
}

.installer-payout-client-link[b-il77ej5plh] {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: .25rem;
    color: #1f2937 !important;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    opacity: 1 !important;
    padding: .15rem .25rem;
    text-align: left;
}

.installer-payout-client-link:hover[b-il77ej5plh] {
    background: #eef2f6;
    color: #111827 !important;
    text-decoration: underline;
}

.installer-payout-client-link:focus-visible[b-il77ej5plh] {
    box-shadow: 0 0 0 3px rgb(249 115 22 / 24%);
    color: #111827 !important;
    outline: 2px solid #f97316;
    outline-offset: 1px;
}

[b-il77ej5plh] .installer-payout-history-badge {
    display: inline-block;
    font-size: .72rem;
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    padding: .25rem .4rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.installer-payout-dialog-summary[b-il77ej5plh] {
    display: grid;
    gap: .25rem;
}

@media (max-width: 900px) {
    .installer-payout-board[b-il77ej5plh] {
        grid-template-columns: repeat(2, minmax(20rem, 1fr));
    }
}

@media (max-width: 600px) {
    .installer-payout-date-range[b-il77ej5plh] {
        grid-template-columns: 1fr;
    }

    .installer-payout-card-primary-row[b-il77ej5plh],
    .installer-payout-card-secondary-row--with-action[b-il77ej5plh] {
        gap: .3rem;
    }
}
/* _content/PuritasCare.UI/Components/Pages/Admin/ReferralPayoutDialog.razor.rz.scp.css */
.referral-payout-dialog-client[b-11695lxv9u] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--rz-text-secondary-color);
}

.referral-payout-dialog-client strong[b-11695lxv9u] {
    color: var(--rz-text-color);
    font-size: 1.05rem;
}
/* _content/PuritasCare.UI/Components/Pages/Admin/ReferralPayouts.razor.rz.scp.css */
.payments-page[b-0ts4obgcb6] {
    min-width: 0;
}

.payments-page[b-0ts4obgcb6]  .payments-tabs {
    width: 100%;
    min-width: 0;
}

.payments-page[b-0ts4obgcb6]  .payments-tabs .rz-tabview-nav {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.payments-page[b-0ts4obgcb6]  .payments-tabs .rz-tabview-nav > li {
    flex: 0 0 auto;
}

.payments-page[b-0ts4obgcb6]  .payments-tabs .rz-tabview-nav-link {
    white-space: nowrap;
}

.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > .payments-tab-invoices {
    --payments-tab-accent: var(--rz-primary);
}

.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > .payments-tab-referrals-active,
.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > .payments-tab-installers-active {
    --payments-tab-accent: var(--rz-warning);
}

.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > .payments-tab-referrals-rejected {
    --payments-tab-accent: var(--rz-danger);
}

.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > .payments-tab-referrals-paid,
.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > .payments-tab-installers-paid {
    --payments-tab-accent: var(--rz-success);
}

.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > [class*="payments-tab-"] {
    color: var(--payments-tab-accent);
}

.payments-page[b-0ts4obgcb6]  .payments-tabs > .rz-tabview-nav > [class*="payments-tab-"].rz-tabview-selected {
    background: color-mix(in srgb, var(--payments-tab-accent) 10%, var(--rz-base-background-color));
    border-bottom-color: var(--payments-tab-accent);
}

.referral-board-loading[b-0ts4obgcb6] {
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
}

.referral-board-filters[b-0ts4obgcb6] {
    overflow: visible;
}

.referral-history-summary[b-0ts4obgcb6] {
    align-self: flex-start;
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--rz-base-300);
    border-radius: 999px;
    background: var(--rz-base-100);
    color: var(--rz-text-secondary-color);
    font-size: 0.88rem;
    font-weight: 600;
}

.referral-paid-actions[b-0ts4obgcb6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.referral-paid-actions[b-0ts4obgcb6] {
    justify-content: flex-end;
    white-space: nowrap;
}

.referral-search-field[b-0ts4obgcb6] {
    flex: 1 1 300px;
    min-width: min(300px, 100%);
}

.referral-filter-field[b-0ts4obgcb6] {
    flex: 0 1 260px;
    min-width: min(240px, 100%);
}

.referral-amount-filter-field[b-0ts4obgcb6] {
    flex: 0 1 180px;
    min-width: min(170px, 100%);
}

.referral-date-filter-field[b-0ts4obgcb6] {
    flex: 0 1 360px;
    min-width: min(320px, 100%);
}

.referral-date-range[b-0ts4obgcb6] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.referral-stage-toggles[b-0ts4obgcb6] {
    min-height: 42px;
}

[b-0ts4obgcb6] .referral-source-filter,
[b-0ts4obgcb6] .referral-stage-toggle {
    white-space: nowrap;
}

/* PC-188: match the row's other controls (arrows/D-W-M-J/refresh, all 2.75rem) — these two
   had no height override at all and rendered at Radzen's un-styled default (36px). flex-shrink:0
   keeps them from being crushed by the row's flex-wrap instead of wrapping onto their own line
   once the InvoicePeriodSelector (Paid tab) is in the same row and content no longer fits. */
.payments-page[b-0ts4obgcb6]  .referral-source-filter,
.payments-page[b-0ts4obgcb6]  .referral-stage-toggle {
    min-height: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
}

/* PC-188: was 2.5rem — shorter than the arrows/D-W-M-J segment (2.75rem, InvoicePeriodSelector.razor.css),
   which this button sits next to on the Referrals · Paid tab. Aligned to the same height. */
.payments-page[b-0ts4obgcb6]  .referral-filter-refresh {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    padding: 0;
}

.referral-board-scroll[b-0ts4obgcb6] {
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.referral-board-columns[b-0ts4obgcb6] {
    display: grid;
    grid-template-columns: repeat(3, minmax(450px, 1fr));
    gap: 0.75rem;
    min-width: 1380px;
    align-items: start;
}

.referral-board-column[b-0ts4obgcb6] {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 0.6rem;
    border: 1px solid var(--rz-base-300);
    border-radius: var(--rz-border-radius);
    background: color-mix(in srgb, var(--rz-base-100) 88%, var(--rz-primary) 12%);
}

.referral-board-column-installation[b-0ts4obgcb6] {
    background: color-mix(in srgb, #ffef72 44%, var(--rz-base-100));
}

.referral-board-column-ready-for-payout[b-0ts4obgcb6] {
    background: color-mix(in srgb, var(--rz-warning) 42%, var(--rz-base-100));
}

.referral-column-header[b-0ts4obgcb6] {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.45rem;
    width: calc(100% + 1.2rem);
    min-height: 48px;
    margin: -0.6rem -0.6rem 0.65rem;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-bottom: 1px solid var(--rz-base-300);
    border-radius: var(--rz-border-radius) var(--rz-border-radius) 0 0;
    background: var(--rz-base-background-color);
    color: var(--rz-text-color);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    min-width: 0;
}

.referral-column-title[b-0ts4obgcb6] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.referral-column-header[b-0ts4obgcb6]  .rz-badge {
    white-space: nowrap;
}

.referral-column-sort[b-0ts4obgcb6] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.referral-card-list-viewport[b-0ts4obgcb6] {
    --rz-datalist-background-color: transparent;
    --rz-datalist-shadow: none;
    --rz-datalist-padding: 0;
    --rz-datalist-border: 0;
    --rz-datalist-item-shadow: none;
    --rz-datalist-item-border: 0;
    --rz-datalist-item-margin-block: 0;
    --rz-datalist-item-margin-inline: 0;
    --rz-datalist-item-padding: 0;
    --rz-datalist-item-background-color: transparent;
    flex: 0 0 auto;
    height: clamp(20rem, calc(100vh - 30rem), 24rem);
    min-height: 0;
    overflow: hidden;
}

.referral-card-list-viewport[b-0ts4obgcb6]  .referral-card-list {
    width: 100%;
}

.payments-page[b-0ts4obgcb6]  .referral-history-grid {
    width: 100%;
    min-height: 0;
}

.referral-column-help[b-0ts4obgcb6] {
    display: grid;
    gap: 0.6rem;
    margin: 0.65rem -0.6rem -0.6rem;
    padding: 0.7rem;
    border-top: 1px solid var(--rz-base-300);
    background: color-mix(in srgb, var(--rz-base-background-color) 92%, var(--rz-info) 8%);
    color: var(--rz-text-secondary-color);
    font-size: 0.8rem;
    line-height: 1.3;
}

.referral-column-help-heading[b-0ts4obgcb6],
.referral-column-conditions li[b-0ts4obgcb6],
.referral-board-scope-note[b-0ts4obgcb6] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.referral-column-help-heading[b-0ts4obgcb6] {
    align-items: center;
    color: var(--rz-text-color);
}

.referral-column-help-heading[b-0ts4obgcb6]  .rzi,
.referral-column-conditions li[b-0ts4obgcb6]  .rzi,
.referral-board-scope-note[b-0ts4obgcb6]  .rzi {
    flex: 0 0 auto;
    font-size: 1rem;
    color: var(--rz-info);
}

.referral-column-conditions[b-0ts4obgcb6] {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.referral-column-conditions li[b-0ts4obgcb6] {
    padding: 0.35rem 0.45rem;
    border: 1px solid color-mix(in srgb, var(--rz-info) 24%, var(--rz-base-300));
    border-radius: var(--rz-border-radius);
    background: var(--rz-base-background-color);
}

.referral-column-next-step[b-0ts4obgcb6] {
    display: grid;
    gap: 0.15rem;
    padding-top: 0.55rem;
    border-top: 1px dashed var(--rz-base-300);
}

.referral-column-help-label[b-0ts4obgcb6] {
    color: var(--rz-text-color);
    font-weight: 700;
}

.referral-board-scope-note[b-0ts4obgcb6] {
    width: fit-content;
    max-width: 100%;
    margin-top: 0.65rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    background: var(--rz-base-100);
    color: var(--rz-text-secondary-color);
    font-size: 0.78rem;
}

.referral-board-card[b-0ts4obgcb6] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7rem 6.75rem;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.875rem;
    margin-bottom: 0.325rem;
    padding: 0.6rem 0.65rem;
    border: 1px solid var(--rz-base-300);
    border-radius: var(--rz-border-radius);
    background: var(--rz-base-background-color);
    box-shadow: var(--rz-shadow-1);
    cursor: pointer;
}

.referral-board-card-payable[b-0ts4obgcb6] {
    grid-template-columns: minmax(0, 1fr) 7rem 6.75rem 7rem;
    border-left: 4px solid var(--rz-primary);
}

.referral-board-card-without-stage[b-0ts4obgcb6] {
    grid-template-columns: minmax(0, 1fr) 7rem;
}

.referral-board-card-without-stage.referral-board-card-payable[b-0ts4obgcb6] {
    grid-template-columns: minmax(0, 1fr) 7rem 7rem;
}

.referral-board-card:focus-visible[b-0ts4obgcb6] {
    outline: 3px solid color-mix(in srgb, var(--rz-primary) 70%, transparent);
    outline-offset: 2px;
}

.referral-board-card:hover[b-0ts4obgcb6] {
    border-color: var(--rz-primary);
}

.referral-card-title[b-0ts4obgcb6] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.25;
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage {
    --referral-stage-color: var(--rz-base-600);
    flex: 0 0 auto;
    justify-self: end;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid color-mix(in srgb, var(--referral-stage-color) 38%, var(--rz-border-color));
    background: color-mix(in srgb, var(--referral-stage-color) 16%, var(--rz-base-background-color));
    color: color-mix(in srgb, var(--referral-stage-color) 82%, var(--rz-text-color));
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage-registered {
    --referral-stage-color: var(--rz-base-600);
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage-filed {
    --referral-stage-color: var(--rz-info);
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage-approved {
    --referral-stage-color: var(--rz-success);
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage-scheduled {
    --referral-stage-color: var(--rz-primary);
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage-installed {
    --referral-stage-color: var(--rz-success);
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage-insurance-paid {
    --referral-stage-color: var(--rz-success);
}

.referral-card-insurance-paid-badge[b-0ts4obgcb6] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    justify-self: end;
    max-width: 100%;
    padding: 0.15rem 0.4rem;
    border: 1px solid color-mix(in srgb, var(--rz-success) 38%, var(--rz-border-color));
    border-radius: var(--rz-border-radius);
    background: color-mix(in srgb, var(--rz-success) 16%, var(--rz-base-background-color));
    color: color-mix(in srgb, var(--rz-success) 82%, var(--rz-text-color));
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.referral-card-insurance-paid-badge[b-0ts4obgcb6]  .rzi {
    flex: 0 0 auto;
    font-size: 0.95rem;
}

.referral-board-card[b-0ts4obgcb6]  .referral-card-stage-referral-paid {
    --referral-stage-color: color-mix(in srgb, var(--rz-success) 55%, var(--rz-info));
}

.referral-card-referrer-badge[b-0ts4obgcb6] {
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    justify-self: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.15rem 0.45rem;
    border: 1px solid var(--rz-base-300);
    border-radius: 999px;
    background: var(--rz-base-100);
    color: var(--rz-text-secondary-color);
    font-size: 0.82rem;
    line-height: 1.2;
}

[b-0ts4obgcb6] .referral-card-pay {
    width: 100%;
    white-space: nowrap;
}

.referral-card-action[b-0ts4obgcb6] {
    justify-self: end;
    width: 100%;
}

@media (max-width: 640px) {
    .referral-search-field[b-0ts4obgcb6],
    .referral-filter-field[b-0ts4obgcb6],
    .referral-amount-filter-field[b-0ts4obgcb6],
    .referral-date-filter-field[b-0ts4obgcb6] {
        flex-basis: 100%;
        min-width: 100%;
    }

    .referral-board-columns[b-0ts4obgcb6] {
        grid-template-columns: repeat(3, 420px);
        min-width: 1285px;
    }
}
/* _content/PuritasCare.UI/Components/Pages/Crm/ClientCases/InvoicePeriodSelector.razor.rz.scp.css */
.invoice-period-range-field[b-3jc3x2grba] {
    /* Shrink-wrap the bordered group to its content so there is no empty
       space to the right of the dates (PC-188). */
    flex: 0 0 auto;
}

.invoice-period-range[b-3jc3x2grba] {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 0.4rem;
}

/* Size each picker to fit dd.MM.yyyy + clear × + calendar icon with no slack,
   staying above the PC-180 clear-icon-overlap safe zone. Slightly widened so
   the clear × has room and does not overlap the date (PC-188 feedback). */
.invoice-period-range[b-3jc3x2grba]  .rz-datepicker {
    width: 9.75rem;
}

.invoice-period-range[b-3jc3x2grba]  .rz-datepicker .rz-inputtext {
    width: 100%;
}

.invoice-period-range-separator[b-3jc3x2grba] {
    color: var(--rz-text-secondary-color, inherit);
}

/* Matches the mobile PWA's installer-day-nav__arrow (installations.css): mint fill, teal border/chevron. */
/* PC-188: this whole rule never matched anything, at all, since it shipped — not a
   specificity loss, a scoping miss. "invoice-period-arrow" is forwarded as a class=""
   parameter into <RadzenButton>, a child component; Blazor's CSS isolation only stamps the
   generated b-xxxx scope attribute onto elements authored directly in *this* .razor file, so
   the attribute the compiler appended to this selector (".invoice-period-arrow[b-xxxx]")
   never lands on the real <button> RadzenButton renders. Border/background/color looked
   "sort of styled" only because Radzen's own default light-button grey is unremarkable at a
   glance — every declaration here, height included, was dead. Fixed by anchoring on
   .invoice-period-selector (a plain <div> authored directly in this file, so it *is* scoped)
   and reaching the button with ::deep, exactly like .invoice-period-granularity ::deep
   .rz-button below (which is why the D/W/M/J segment was never affected by this bug). */
.invoice-period-selector[b-3jc3x2grba]  .invoice-period-arrow {
    border: 1px solid #176b74;
    background: #eef7f8;
    color: #176b74;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
    /* Pin to the standard medium Radzen button height so the arrows are not
       shorter than the T/W/M/J segment and the Refresh/ZIP button (PC-188). */
    box-sizing: border-box;
    min-height: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.invoice-period-selector[b-3jc3x2grba]  .invoice-period-arrow .rzi {
    color: #176b74;
    font-size: 1.5rem;
}

/* Enlarge the T/W/M/J segment buttons to match the bigger arrows (PC-188 feedback). */
.invoice-period-granularity[b-3jc3x2grba] {
    display: inline-flex;
    gap: 0.25rem;
}

.invoice-period-granularity[b-3jc3x2grba]  .rz-button {
    min-height: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .invoice-period-range-field[b-3jc3x2grba] {
        flex: 1 1 100%;
    }

    .invoice-period-range[b-3jc3x2grba] {
        grid-template-columns: 1fr auto 1fr;
    }

    .invoice-period-range[b-3jc3x2grba]  .rz-datepicker {
        width: 100%;
    }
}
/* _content/PuritasCare.UI/Components/Pages/Crm/ClientCases/PaperworkMarkSwitches.razor.rz.scp.css */
/* PC-1000: пара переключателей в строку; в узкой ячейке грида вторая уходит под первую. */
.paperwork-mark-switches[b-l471kptzkl] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    font-size: 0.8rem;
}

.paperwork-mark-switch[b-l471kptzkl] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

/* R2: две иконки в строке грида — без переноса, в высоту кнопок звонка. */
.paperwork-mark-icons[b-l471kptzkl] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}
/* _content/PuritasCare.UI/Components/Pages/Crm/ClientCases/VitalPointInvoices.razor.rz.scp.css */
.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-row--unpaid > td {
    background: color-mix(in srgb, var(--rz-warning) 34%, var(--rz-base-background-color));
}

.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-row--mixed > td {
    background: color-mix(in srgb, #ffef72 38%, var(--rz-base-background-color));
}

.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-row--paid > td {
    background: color-mix(in srgb, var(--rz-success) 18%, var(--rz-base-background-color));
}

.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-row--unpaid:hover > td,
.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-row--mixed:hover > td,
.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-row--paid:hover > td {
    filter: brightness(.97);
}

.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: .5rem;
}

.vitalpoint-invoices-page[b-afduti9unx]  .vitalpoint-invoice-action {
    min-height: var(--vitalpoint-invoice-action-min-height, 40px);
    min-width: 92px;
    touch-action: manipulation;
}

.vitalpoint-invoices-page[b-afduti9unx]  .rz-data-grid-data {
    max-height: clamp(20rem, calc(100vh - 26rem), 34rem);
    overflow-y: auto;
}
