/* /Components/Features/Calendar/CalendarDayDetail.razor.rz.scp.css */
/* /Components/Features/Calendar/CalendarListView.razor.rz.scp.css */
/* /Components/Features/Calendar/CalendarSchedulerView.razor.rz.scp.css */
/* Scheduler theme */
[b-q5ce55hwez] .rz-scheduler-nav {
    background: transparent;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
}

/* E2E verification pass 2 regression: Week view collapsed MAAND/WEEK/DAG
   toggle onto a second line below "Vandaag". Force the view switcher to
   stay inline with the date range even on narrower viewports. */
[b-q5ce55hwez] .rz-scheduler-nav .rz-scheduler-views {
    flex-shrink: 0;
}

[b-q5ce55hwez] .rz-scheduler-nav .rz-button-text {
    color: var(--rz-text-color);
}

[b-q5ce55hwez] .rz-scheduler-nav .rz-button {
    background: transparent;
    color: var(--rz-text-color);
}

[b-q5ce55hwez] .rz-scheduler-nav .rz-scheduler-views {
    background: transparent;
    border: 1px solid var(--rz-border-color);
    border-radius: 6px;
}

[b-q5ce55hwez] .rz-scheduler-nav .rz-scheduler-views .rz-button {
    background: transparent;
    color: var(--rz-text-color);
}

[b-q5ce55hwez] .rz-scheduler-nav .rz-scheduler-views .rz-button.rz-state-active {
    background: var(--rz-primary);
    color: var(--rz-on-primary);
}

[b-q5ce55hwez] .rz-scheduler-month .rz-slots .rz-slot {
    min-height: 80px;
}

[b-q5ce55hwez] .rz-scheduler-month .rz-event {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
}
/* /Components/Features/Calendar/CalendarSubscriptionsCard.razor.rz.scp.css */
/* /Components/Features/Calendar/CalendarToolbar.razor.rz.scp.css */
.calendar-toolbar[b-0wnbp0kp0j] {
    margin-bottom: 1rem;
}
/* /Components/Features/Calendar/CalendarTypeBreakdownCard.razor.rz.scp.css */
/* /Components/Features/Calendar/NewAppointmentDialog.razor.rz.scp.css */
.appt-case-results[b-4h604lrk9c] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--adv-border);
    border-radius: 6px;
}

.appt-case-row[b-4h604lrk9c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--adv-border);
}

.appt-case-row:last-child[b-4h604lrk9c] {
    border-bottom: none;
}

.appt-case-row:hover[b-4h604lrk9c] {
    background: rgba(74, 159, 213, 0.06);
}

.appt-case-row.appt-case-linked[b-4h604lrk9c] {
    background: rgba(39, 174, 96, 0.06);
}
/* /Components/Features/Cases/CaseTagChips.razor.rz.scp.css */
.case-tag-chips-row[b-ldnm25bwp2] {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.case-kpi-tag[b-ldnm25bwp2] {
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    line-height: 1.5;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.case-tag-more[b-ldnm25bwp2] {
    cursor: default;
}
/* /Components/Features/Cases/Modals/AddCaseAppointmentDialog.razor.rz.scp.css */
.add-appt-choice-card[b-3rmjbcxjkw] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--adv-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.add-appt-choice-card:hover[b-3rmjbcxjkw] {
    background: rgba(74, 159, 213, 0.04);
    border-color: var(--adv-primary);
}

.add-appt-choice-icon[b-3rmjbcxjkw] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.add-appt-choice-text[b-3rmjbcxjkw] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.add-appt-choice-title[b-3rmjbcxjkw] {
    font-weight: 600;
    font-size: 0.9rem;
}

.add-appt-choice-desc[b-3rmjbcxjkw] {
    font-size: 0.8rem;
    color: var(--adv-text-muted);
}

.add-appt-results[b-3rmjbcxjkw] {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--adv-border);
    border-radius: 6px;
}

.add-appt-result-row[b-3rmjbcxjkw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--adv-border);
}

.add-appt-result-row:last-child[b-3rmjbcxjkw] {
    border-bottom: none;
}

.add-appt-result-row:hover[b-3rmjbcxjkw] {
    background: rgba(74, 159, 213, 0.06);
}

.add-appt-result-row.add-appt-result-selected[b-3rmjbcxjkw] {
    background: rgba(39, 174, 96, 0.06);
}

.add-appt-result-info[b-3rmjbcxjkw] {
    flex: 1;
    min-width: 0;
}

.add-appt-result-date[b-3rmjbcxjkw] {
    font-weight: 600;
    font-size: 0.83rem;
    color: var(--adv-primary-dark);
}

.add-appt-result-time[b-3rmjbcxjkw] {
    font-size: 0.8rem;
    color: var(--adv-text-muted);
}

.add-appt-result-subject[b-3rmjbcxjkw] {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Features/Cases/Modals/ManageTagsDialog.razor.rz.scp.css */
.tag-dialog-list[b-bcgrxr5hx2] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-dialog-chip[b-bcgrxr5hx2] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.tag-dialog-chip-active[b-bcgrxr5hx2] {
    background: var(--tag-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.tag-dialog-chip-available[b-bcgrxr5hx2] {
    background: var(--tag-color);
    opacity: 0.65;
    cursor: pointer;
}

.tag-dialog-chip-available:hover[b-bcgrxr5hx2] {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tag-dialog-chip-name[b-bcgrxr5hx2] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.tag-dialog-chip-remove[b-bcgrxr5hx2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.15rem;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transition: opacity 0.15s, background 0.15s;
    color: inherit;
}

.tag-dialog-chip-remove:hover[b-bcgrxr5hx2] {
    opacity: 1;
    background: var(--rz-base-200, rgba(0, 0, 0, 0.1));
}

.tag-dialog-empty[b-bcgrxr5hx2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0;
}
/* /Components/Features/Documents/DocumentDetailDialog.razor.rz.scp.css */
/* Rounded tinted tile behind the file-type icon. --rz-base-200 adapts to
   the active theme, so it stays a subtle surface in light and dark. */
.doc-detail__icon[b-vfq1iqfxm2] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--rz-base-200, rgba(128, 128, 128, 0.12));
    flex-shrink: 0;
}

/* Small pill chip for the locked state — warning tokens keep it legible
   against both light and dark dialog surfaces. */
.doc-detail__lock[b-vfq1iqfxm2] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    background: var(--rz-warning-lighter, #fff3e0);
    color: var(--rz-warning-darker, #8a5300);
}

/* Compact uppercase field label sitting above its value. */
.doc-detail__label[b-vfq1iqfxm2] {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--rz-text-secondary-color);
    margin-bottom: 0.25rem;
}
/* /Components/Features/Documents/DocumentUploadDialog.razor.rz.scp.css */
/* Read-only destination banner (the folder selected in the tree). */
.upload-destination[b-djw6xeg5v6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: var(--rz-base-200);
}

/* Drop zone: dashed surface that highlights to the primary accent on hover.
   The transparent InputFile overlays the whole zone so the entire area is
   clickable. All colours are theme tokens, so contrast holds in dark mode. */
.upload-drop-zone[b-djw6xeg5v6] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--rz-border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.upload-drop-zone:hover[b-djw6xeg5v6] {
    border-color: var(--rz-primary);
    background-color: var(--rz-base-200);
}

/* The transparent file <input> overlay is styled inline in the .razor —
   scoped CSS can't reach the element InputFile renders. */

/* Selected files render as compact bordered rows with a truncating name. */
.upload-file-row[b-djw6xeg5v6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.625rem;
    border: 1px solid var(--rz-border-color);
    border-radius: 6px;
    background: var(--rz-base-100);
}

.upload-file-row__name[b-djw6xeg5v6] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Features/Documents/FolderTreeComponent.razor.rz.scp.css */
/* The folder tree owns its selection highlight: a tinted background on the
   selected node's content div (see the template in FolderTreeComponent.razor).
   RadzenTree ALSO applies its own focus/selected visuals to .rz-treenode-content
   (a box-shadow ring + background), which stacked a SECOND highlight on top of
   ours — the "previous folder stays selected" duplicate. Neutralise RadzenTree's
   state visuals so only the component's own single highlight is ever shown.
   Our highlight sits on a descendant div, so clearing the content element's
   background here does not affect it. #1756 */
.folder-tree-container[b-usyezbgn6f]  .rz-treenode-content.rz-state-focused,
.folder-tree-container[b-usyezbgn6f]  .rz-treenode-content.rz-state-selected,
.folder-tree-container[b-usyezbgn6f]  .rz-treenode-content:focus,
.folder-tree-container[b-usyezbgn6f]  .rz-treenode-content:hover {
    box-shadow: none;
    outline: none;
    background-color: transparent;
}
/* /Components/Layout/MinimalLayout.razor.rz.scp.css */
.adv-minimal-layout[b-6bgrsadl2j] {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.adv-minimal-topbar[b-6bgrsadl2j] {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 10;
    pointer-events: none;
}

.adv-minimal-topbar > *[b-6bgrsadl2j] {
    pointer-events: auto;
}

.adv-minimal-topbar-actions[b-6bgrsadl2j] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.adv-minimal-body[b-6bgrsadl2j] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .adv-minimal-topbar[b-6bgrsadl2j] {
        top: 0.5rem;
        right: 0.75rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-7gurlvo4af],
.components-reconnect-repeated-attempt-visible[b-7gurlvo4af],
.components-reconnect-failed-visible[b-7gurlvo4af],
.components-pause-visible[b-7gurlvo4af],
.components-resume-failed-visible[b-7gurlvo4af],
.components-rejoining-animation[b-7gurlvo4af] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-retrying[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-failed[b-7gurlvo4af],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-7gurlvo4af] {
    display: block;
}


#components-reconnect-modal[b-7gurlvo4af] {
    background-color: var(--rz-dialog-background-color);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: var(--rz-dialog-border-radius);
    box-shadow: var(--rz-dialog-shadow);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-7gurlvo4af 0.5s both;
    &[open] {
        animation: components-reconnect-modal-slideUp-b-7gurlvo4af 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-7gurlvo4af 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }

}

#components-reconnect-modal[b-7gurlvo4af]::backdrop {
    background-color: var(--rz-dialog-mask-background-color);
    animation: components-reconnect-modal-fadeInOpacity-b-7gurlvo4af 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-7gurlvo4af {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-7gurlvo4af {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-7gurlvo4af {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-7gurlvo4af] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-7gurlvo4af] {
    margin: 0;
    text-align: center;
}

.components-rejoining-animation[b-7gurlvo4af] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-7gurlvo4af] {
        position: absolute;
        border: 3px solid var(--rz-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-7gurlvo4af 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-7gurlvo4af] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-7gurlvo4af {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Accounting/AccountingDashboard.razor.rz.scp.css */
.accounting-dashboard-page[b-1viomwwln1] {
    padding: 1.5rem;
}

.accounting-dashboard-header[b-1viomwwln1] {
    margin-bottom: 1.5rem;
}
/* /Components/Pages/Accounting/AccountingSettings.razor.rz.scp.css */
.settings-sub-page[b-2i3eo70w5e] {
    padding: 0.5rem 0;
}

.settings-sub-header[b-2i3eo70w5e] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-2i3eo70w5e] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-2i3eo70w5e],
.settings-card-icon .material-icons[b-2i3eo70w5e] {
    font-size: 24px !important;
}

.settings-tab-content[b-2i3eo70w5e] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-2i3eo70w5e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Accounting/BankStatementDetail.razor.rz.scp.css */
.bank-statement-detail-page[b-mrh7ba7edc] {
    padding: 0.5rem 0;
}

.bs-detail-header[b-mrh7ba7edc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.bs-header-top[b-mrh7ba7edc] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.bs-header-title[b-mrh7ba7edc] {
    min-width: 0;
    overflow: hidden;
}

.bs-header-actions[b-mrh7ba7edc] {
    flex-shrink: 0;
}

.bs-detail-icon[b-mrh7ba7edc] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(74, 159, 213, 0.12);
    color: var(--adv-primary);
}

.bs-detail-icon .rzi[b-mrh7ba7edc],
.bs-detail-icon .material-icons[b-mrh7ba7edc] {
    font-size: 24px !important;
}

/* Grid hover now handled globally in site.css */

@media (max-width: 768px) {
    .bs-detail-header[b-mrh7ba7edc] {
        flex-direction: column;
        align-items: flex-start;
    }

    .bs-header-actions[b-mrh7ba7edc] {
        width: 100%;
    }
}
/* /Components/Pages/Accounting/BankStatements.razor.rz.scp.css */
.bank-statements-header[b-l0vi173pn9] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.criteria-card[b-l0vi173pn9] {
    background: var(--rz-base-background-color);
    border: 1px solid var(--adv-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

/* Grid hover/pager/footer now handled globally in site.css */
/* /Components/Pages/Accounting/CreateInvoice.razor.rz.scp.css */
.create-invoice-page[b-nz7zvwr1by] {
    padding: 1.5rem;
}

.create-invoice-header[b-nz7zvwr1by] {
    margin-bottom: 1.5rem;
}
/* /Components/Pages/Accounting/FiscalForms.razor.rz.scp.css */
.fiscal-forms-page[b-dfagdcqoxs] {
    padding: 1.5rem;
}

.fiscal-forms-header[b-dfagdcqoxs] {
    margin-bottom: 1.5rem;
}
/* /Components/Pages/Accounting/InvoiceDetail.razor.rz.scp.css */
.invoice-detail-page[b-0o31qxs4zr] {
    padding: 0.5rem 0;
}

.invoice-detail-header[b-0o31qxs4zr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.invoice-header-top[b-0o31qxs4zr] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.invoice-header-title[b-0o31qxs4zr] {
    min-width: 0;
    overflow: hidden;
}

.invoice-header-actions[b-0o31qxs4zr] {
    flex-shrink: 0;
}

.invoice-detail-icon[b-0o31qxs4zr] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(74, 159, 213, 0.12);
    color: var(--adv-primary);
}

.invoice-detail-icon .rzi[b-0o31qxs4zr],
.invoice-detail-icon .material-icons[b-0o31qxs4zr] {
    font-size: 24px !important;
}

/* Grid hover now handled globally in site.css */

@media (max-width: 768px) {
    .invoice-detail-header[b-0o31qxs4zr] {
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-header-actions[b-0o31qxs4zr] {
        width: 100%;
    }
}
/* /Components/Pages/Accounting/Invoices.razor.rz.scp.css */
.invoices-header[b-bbprh3gh39] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.criteria-card[b-bbprh3gh39] {
    background: var(--rz-base-background-color);
    border: 1px solid var(--adv-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

/* Grid hover/pager/footer now handled globally in site.css */
/* /Components/Pages/Accounting/Journals.razor.rz.scp.css */
.journals-page[b-h9i9c5atvc] {
    padding: 1.5rem;
}

.journals-header[b-h9i9c5atvc] {
    margin-bottom: 1.5rem;
}
/* /Components/Pages/Accounting/Provisions.razor.rz.scp.css */
.provisions-header[b-xux90q1qhr] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.criteria-card[b-xux90q1qhr] {
    background: var(--rz-base-background-color);
    border: 1px solid var(--adv-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

/* Grid hover/pager/footer now handled globally in site.css */
/* /Components/Pages/Accounting/Reports.razor.rz.scp.css */
.reports-page[b-ahqhh2oquo] {
    padding: 1.5rem;
}

.reports-header[b-ahqhh2oquo] {
    margin-bottom: 1.5rem;
}
/* /Components/Pages/Accounting/VatDeclarations.razor.rz.scp.css */
.vat-declarations-page[b-u1z1vdnxrd] {
    padding: 1.5rem;
}

.vat-declarations-header[b-u1z1vdnxrd] {
    margin-bottom: 1.5rem;
}
/* /Components/Pages/Calculations/Calculations.razor.rz.scp.css */
/* All shared calculation styles are in site.css */
/* Grid hover/pager now handled globally in site.css */
/* /Components/Pages/Calendar/Calendar.razor.rz.scp.css */
.calendar-header[b-g6f97ppjfa] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

/* Scrollable panels */
.calendar-scroll-panel[b-g6f97ppjfa] {
    max-height: calc(100vh - 14rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

@media (max-width: 768px) {
    .calendar-scroll-panel[b-g6f97ppjfa] {
        max-height: none;
        overflow-y: visible;
    }
}
/* /Components/Pages/Cases/CaseDetail.razor.rz.scp.css */
.case-detail-page[b-veeo9ewnnq] {
    padding: 0.5rem 0;
}

/* ── Header ── */
.case-detail-header[b-veeo9ewnnq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.case-header-top[b-veeo9ewnnq] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.case-header-title[b-veeo9ewnnq] {
    min-width: 0;
    overflow: hidden;
}

.case-header-name[b-veeo9ewnnq] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-header-actions[b-veeo9ewnnq] {
    flex-shrink: 0;
}

.case-detail-icon[b-veeo9ewnnq] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(74, 159, 213, 0.12);
    color: var(--adv-primary);
}

.case-detail-icon .rzi[b-veeo9ewnnq],
.case-detail-icon .material-icons[b-veeo9ewnnq] {
    font-size: 24px !important;
}

/* ── Memo warning alert ── */
.case-memo-alert[b-veeo9ewnnq] {
    margin-bottom: 1.25rem;
}

/* ── Tabs ── */
/* Wrap instead of scroll so the tab strip never shows a horizontal scrollbar
   and the last tab (Fiche) is never clipped off-screen. Tighter horizontal
   padding lets all eight tabs sit on one row at typical desktop widths; they
   wrap to a second row only when the viewport is genuinely too narrow. #1756 */
[b-veeo9ewnnq] .rz-tabview-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 0.25rem;
}

[b-veeo9ewnnq] .rz-tabview-nav li > a {
    /* !important to beat Radzen's higher-specificity default (1rem) so all
       eight tabs fit one row at desktop widths; flex-wrap above is the safety
       net that keeps narrower viewports scrollbar-free rather than clipped. */
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
}

[b-veeo9ewnnq] .case-tab-content {
    padding-top: 1.25rem;
}

[b-veeo9ewnnq] .case-tab-toolbar {
    margin-bottom: 1rem;
}

/* ── Case fields (read-only display) ── */
[b-veeo9ewnnq] .case-field {
    margin-bottom: 1rem;
}

[b-veeo9ewnnq] .case-field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--adv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

[b-veeo9ewnnq] .case-field-value {
    font-size: 0.95rem;
    color: var(--adv-text);
    font-weight: 500;
    word-break: break-word;
}

/* Empty field values */
[b-veeo9ewnnq] .case-field-value:empty::after,
[b-veeo9ewnnq] .case-field-value[data-empty] {
    color: var(--adv-text-muted);
    font-weight: 400;
}

/* ── Parties ── */
[b-veeo9ewnnq] .case-party-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.5rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.15s;
}

[b-veeo9ewnnq] .case-party-item:last-child {
    border-bottom: none;
}

[b-veeo9ewnnq] .case-party-item:hover {
    background: rgba(74, 159, 213, 0.04);
}

[b-veeo9ewnnq] .case-party-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[b-veeo9ewnnq] .case-party-icon .rzi,
[b-veeo9ewnnq] .case-party-icon .material-icons {
    font-size: 18px !important;
}

[b-veeo9ewnnq] .case-party-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

[b-veeo9ewnnq] .case-party-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--adv-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-veeo9ewnnq] .case-party-role {
    font-size: 0.75rem;
    color: var(--adv-text-muted);
    margin-top: 0.1rem;
}

/* ── Memos ── */
[b-veeo9ewnnq] .case-memo-item {
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border-radius: 8px;
    background: var(--rz-base-200, rgba(0, 0, 0, 0.025));
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--adv-primary-light);
    transition: background 0.15s;
}

[b-veeo9ewnnq] .case-memo-item:hover {
    background: rgba(74, 159, 213, 0.05);
}

[b-veeo9ewnnq] .case-memo-item.case-memo-warning {
    border-left-color: var(--adv-warning);
}

[b-veeo9ewnnq] .case-memo-done {
    opacity: 0.5;
    border-left-color: var(--adv-success) !important;
}

[b-veeo9ewnnq] .case-memo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

[b-veeo9ewnnq] .case-memo-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--adv-primary-dark);
}

[b-veeo9ewnnq] .case-memo-date {
    font-size: 0.72rem;
    color: var(--adv-text-muted);
}

[b-veeo9ewnnq] .case-memo-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--adv-text);
    margin-top: 2px;
}

[b-veeo9ewnnq] .case-memo-text {
    display: block;
    font-size: 0.85rem;
    color: var(--adv-text);
    line-height: 1.55;
}

/* ── Memo Split Layout ── */
[b-veeo9ewnnq] .memo-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-height: 0;
}

[b-veeo9ewnnq] .memo-panel {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    min-width: 0;
}

[b-veeo9ewnnq] .memo-scroll {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 0.25rem;
}

/* Selected memo highlight */
[b-veeo9ewnnq] .case-memo-selected {
    border-left-color: var(--adv-primary) !important;
    background: rgba(74, 159, 213, 0.08) !important;
    box-shadow: inset 0 0 0 1px rgba(74, 159, 213, 0.2);
}

/* ── Selected memo card (top of remarks panel) ── */
[b-veeo9ewnnq] .remark-memo-card {
    padding: 0.65rem 0.75rem;
    margin: 0 0 0.75rem;
    border-radius: 8px;
    background: rgba(74, 159, 213, 0.06);
    border-left: 3px solid var(--adv-primary);
    flex-shrink: 0;
}

[b-veeo9ewnnq] .remark-memo-card-warning {
    border-left-color: var(--adv-warning);
}

[b-veeo9ewnnq] .remark-memo-card-done {
    opacity: 0.6;
    border-left-color: var(--adv-success);
}

/* ── Memo Remarks ── */
[b-veeo9ewnnq] .case-memo-remark-item {
    padding: 0.6rem 0.65rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;
    background: var(--rz-base-200, rgba(0, 0, 0, 0.025));
    position: relative;
    border-left: 2px solid rgba(74, 159, 213, 0.15);
}

[b-veeo9ewnnq] .case-memo-remark-item:hover {
    background: rgba(74, 159, 213, 0.06);
}

[b-veeo9ewnnq] .case-memo-remark-item:hover .case-memo-remark-actions {
    opacity: 1;
}

[b-veeo9ewnnq] .case-memo-remark-memo-ref {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--adv-primary);
    margin-bottom: 0.3rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-veeo9ewnnq] .case-memo-remark-memo-ref:hover {
    text-decoration: underline;
}

[b-veeo9ewnnq] .case-memo-remark-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
}

[b-veeo9ewnnq] .case-memo-remark-author {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--adv-primary-dark);
}

[b-veeo9ewnnq] .case-memo-remark-date {
    font-size: 0.68rem;
    color: var(--adv-text-muted);
}

[b-veeo9ewnnq] .case-memo-remark-content {
    font-size: 0.8rem;
    color: var(--adv-text);
    line-height: 1.45;
}

[b-veeo9ewnnq] .case-memo-remark-actions {
    display: flex;
    gap: 0.15rem;
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    opacity: 0;
    transition: opacity 0.15s;
}

[b-veeo9ewnnq] .case-memo-remark-add {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.25rem 0.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    bottom: 0;
    background: inherit;
}

/* ── Tags ── */
.case-tags-list[b-veeo9ewnnq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tag-chip[b-veeo9ewnnq] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--adv-text);
    transition: opacity 0.15s;
}

.case-tag-chip:hover[b-veeo9ewnnq] {
    opacity: 0.8;
}

/* ── KPI tags ── */
/* ::deep so these classes apply both in CaseDetail.razor's own KPI card AND
   in child components that render tag chips (CaseDetailGeneralTab). Without
   ::deep, Blazor scopes them to CaseDetail.razor only and the chips render
   unstyled in the General tab. */
[b-veeo9ewnnq] .case-kpi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

[b-veeo9ewnnq] .case-kpi-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--adv-text);
    white-space: nowrap;
}

/* ── Totals bar ── */
[b-veeo9ewnnq] .case-total-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    margin-top: 0.5rem;
    background: var(--adv-row-hover);
    border-radius: 0 0 10px 10px;
    border-top: 2px solid rgba(74, 159, 213, 0.15);
    font-size: 0.9rem;
}

/* Grid hover now handled globally in site.css */

/* ── Print-only header (hidden on screen) ── */
.print-only-header[b-veeo9ewnnq] {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .case-detail-header[b-veeo9ewnnq] {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-header-actions[b-veeo9ewnnq] {
        width: 100%;
    }

    .case-detail-icon[b-veeo9ewnnq] {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .case-detail-icon .rzi[b-veeo9ewnnq],
    .case-detail-icon .material-icons[b-veeo9ewnnq] {
        font-size: 20px !important;
    }

    [b-veeo9ewnnq] .case-memo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    [b-veeo9ewnnq] .memo-split-layout {
        grid-template-columns: 1fr;
    }

    [b-veeo9ewnnq] .memo-panel {
        max-height: 50vh;
    }
}

/* ── Dark theme ── */
:global(.dark-theme) .case-detail-icon[b-veeo9ewnnq] {
    background: rgba(74, 159, 213, 0.15);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-party-item {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-party-item:hover {
    background: rgba(74, 159, 213, 0.06);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-memo-item {
    background: rgba(255, 255, 255, 0.03);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-memo-item:hover {
    background: rgba(74, 159, 213, 0.08);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-memo-remark-item {
    background: rgba(255, 255, 255, 0.03);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-memo-remark-item:hover {
    background: rgba(74, 159, 213, 0.08);
}

[b-veeo9ewnnq] :global(.dark-theme) .remark-memo-card {
    background: rgba(74, 159, 213, 0.1);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-memo-selected {
    background: rgba(74, 159, 213, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(74, 159, 213, 0.3);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-memo-remark-add {
    border-top-color: rgba(255, 255, 255, 0.06);
}

[b-veeo9ewnnq] :global(.dark-theme) .case-total-bar {
    background: linear-gradient(135deg, #182030 0%, #1a2436 100%);
    border-top-color: rgba(74, 159, 213, 0.2);
}

/* ── Print styles ── */
@media print {
    .print-only-header[b-veeo9ewnnq] {
        display: block;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #333;
    }

    .print-only-header h1[b-veeo9ewnnq] {
        font-size: 1.5rem;
        margin: 0 0 0.25rem;
    }

    .print-only-header span[b-veeo9ewnnq] {
        font-size: 0.85rem;
        color: #666;
    }

    .no-print[b-veeo9ewnnq],
    .case-tab-toolbar[b-veeo9ewnnq],
    .adv-breadcrumb[b-veeo9ewnnq] {
        display: none !important;
    }

    /* Hide action columns in grids */
    [b-veeo9ewnnq] .rz-datatable .rz-datatable-thead th:last-child,
    [b-veeo9ewnnq] .rz-datatable .rz-datatable-data td:last-child {
        display: none !important;
    }

    .case-detail-header[b-veeo9ewnnq] {
        border-bottom: none;
        margin-bottom: 0.5rem;
        padding-bottom: 0;
    }

    .case-detail-page[b-veeo9ewnnq] {
        padding: 0;
    }

    .case-total-bar[b-veeo9ewnnq] {
        background: none;
        border-top: 1px solid #ccc;
    }

    .case-memo-item[b-veeo9ewnnq] {
        border-left: 2px solid #999;
    }
}
/* /Components/Pages/Cases/CaseItems.razor.rz.scp.css */
/* ============================================================
   Cases overview — header + unified filter bar (#1756)
   Tokens only (no hardcoded colours). Radzen-rendered internals
   are reached with ::deep from scoped HTML wrappers.
   ============================================================ */

/* ── Page header: title + count + primary actions ── */
.cases-header[b-p1jotcgufv] {
    margin-bottom: 1rem;
}

.cases-header__bar[b-p1jotcgufv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.cases-header__title[b-p1jotcgufv] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cases-header__actions[b-p1jotcgufv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Unified filter card ── */
.cases-filterbar[b-p1jotcgufv] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    background: var(--adv-surface);
    border: 1px solid var(--adv-border);
    border-radius: 0.85rem;
    box-shadow: var(--adv-shadow-card);
}

/* status segmented control */
.cases-filterbar[b-p1jotcgufv]  .rz-selectbutton {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    padding: 0.25rem;
    background: var(--adv-bg);
    border: 1px solid var(--adv-border);
    border-radius: 0.6rem;
}

.cases-filterbar[b-p1jotcgufv]  .rz-selectbutton .rz-button {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--adv-text-muted);
    font-weight: 600;
    border-radius: 0.45rem;
    padding: 0.35rem 0.85rem;
    transition: background .12s ease, color .12s ease;
}

.cases-filterbar[b-p1jotcgufv]  .rz-selectbutton .rz-button:hover {
    background: var(--adv-row-hover);
    color: var(--adv-text);
}

.cases-filterbar[b-p1jotcgufv]  .rz-selectbutton .rz-button.rz-state-active {
    background: var(--adv-primary);
    color: #fff;
    box-shadow: var(--adv-shadow-button-primary);
}

/* search row */
.cases-filterbar__search[b-p1jotcgufv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cases-search-group[b-p1jotcgufv] {
    display: flex;
    align-items: center;
    flex: 1 1 300px;
    max-width: 540px;
    background: var(--adv-surface);
    border: 1px solid var(--adv-input-border);
    border-radius: 0.6rem;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.cases-search-group:focus-within[b-p1jotcgufv] {
    border-color: var(--adv-primary);
    box-shadow: var(--adv-focus-shadow);
}

.cases-search-group__divider[b-p1jotcgufv] {
    width: 1px;
    align-self: stretch;
    margin: 0.4rem 0;
    background: var(--adv-input-border);
}

.cases-search-group[b-p1jotcgufv]  .cases-search-group__icon {
    color: var(--adv-text-muted);
    margin-left: 0.55rem;
    font-size: 1.15rem;
}

.cases-search-group__input[b-p1jotcgufv] {
    flex: 1 1 auto;
    min-width: 0;
}

/* strip Radzen's own input chrome so the group reads as one field */
.cases-search-group[b-p1jotcgufv]  .rz-dropdown,
.cases-search-group[b-p1jotcgufv]  .rz-textbox,
.cases-search-group[b-p1jotcgufv]  .rz-datepicker,
.cases-search-group[b-p1jotcgufv]  .rz-inputtext,
.cases-search-group[b-p1jotcgufv]  input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.cases-search-group[b-p1jotcgufv]  .rz-dropdown {
    min-width: 150px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .cases-search-group[b-p1jotcgufv] {
        flex-basis: 100%;
        max-width: 100%;
    }

    .cases-filterbar__search[b-p1jotcgufv]  .rz-button {
        flex: 1 1 auto;
    }
}
/* /Components/Pages/Cases/CaseLocations.razor.rz.scp.css */
.locations-header[b-qkbm3fhrno] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.locations-toolbar[b-qkbm3fhrno] {
    margin-bottom: 1rem;
}

/* Grid hover/pager now handled globally in site.css */
/* /Components/Pages/Parties/AddContactDialog.razor.rz.scp.css */
.add-contact-choice-card[b-778ijdo5v7] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--adv-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.add-contact-choice-card:hover[b-778ijdo5v7] {
    background: rgba(74, 159, 213, 0.04);
    border-color: var(--adv-primary);
}

.add-contact-choice-icon[b-778ijdo5v7] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.add-contact-choice-text[b-778ijdo5v7] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.add-contact-choice-title[b-778ijdo5v7] {
    font-weight: 600;
    font-size: 0.9rem;
}

.add-contact-choice-desc[b-778ijdo5v7] {
    font-size: 0.8rem;
    color: var(--adv-text-muted);
}

.add-contact-results[b-778ijdo5v7] {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--adv-border);
    border-radius: 6px;
}

.add-contact-result-row[b-778ijdo5v7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--adv-border);
}

.add-contact-result-row:last-child[b-778ijdo5v7] {
    border-bottom: none;
}

.add-contact-result-row:hover[b-778ijdo5v7] {
    background: rgba(74, 159, 213, 0.06);
}

.add-contact-result-row.add-contact-result-selected[b-778ijdo5v7] {
    background: rgba(39, 174, 96, 0.06);
}

.add-contact-result-info[b-778ijdo5v7] {
    flex: 1;
    min-width: 0;
}

.add-contact-result-name[b-778ijdo5v7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--adv-primary-dark);
}
/* /Components/Pages/Parties/Parties.razor.rz.scp.css */
.parties-header[b-bzf7lgtjfw] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.parties-toolbar[b-bzf7lgtjfw] {
    margin-bottom: 1rem;
}

/* Grid hover/pager now handled globally in site.css */
/* /Components/Pages/Parties/PartyDetail.razor.rz.scp.css */
.party-detail-page[b-vg55c60e1d] {
    padding: 0.5rem 0;
}

/* ── Header (same layout as CaseDetail) ── */
.party-detail-header[b-vg55c60e1d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.party-header-top[b-vg55c60e1d] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.party-header-title[b-vg55c60e1d] {
    min-width: 0;
    overflow: hidden;
}

.party-header-name[b-vg55c60e1d] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.party-header-actions[b-vg55c60e1d] {
    flex-shrink: 0;
}

.party-detail-icon[b-vg55c60e1d] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(74, 159, 213, 0.12);
    color: var(--adv-primary);
}

.party-detail-icon .rzi[b-vg55c60e1d],
.party-detail-icon .material-icons[b-vg55c60e1d] {
    font-size: 24px !important;
}

/* ── Tabs ── */
.case-tab-content[b-vg55c60e1d] {
    padding-top: 1.25rem;
}

.case-tab-toolbar[b-vg55c60e1d] {
    margin-bottom: 1rem;
}

/* ── Case fields (read-only display — same as CaseDetail) ── */
.case-field[b-vg55c60e1d] {
    margin-bottom: 1rem;
}

.case-field-label[b-vg55c60e1d] {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--adv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.case-field-value[b-vg55c60e1d] {
    font-size: 0.95rem;
    color: var(--adv-text);
    font-weight: 500;
    word-break: break-word;
}

/* ── Linked case items ── */
.party-case-item[b-vg55c60e1d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.5rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.15s;
}

.party-case-item:last-child[b-vg55c60e1d] {
    border-bottom: none;
}

.party-case-item:hover[b-vg55c60e1d] {
    background: rgba(74, 159, 213, 0.04);
}

.party-case-details[b-vg55c60e1d] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.party-case-number[b-vg55c60e1d] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--adv-primary-dark);
}

.party-case-name[b-vg55c60e1d] {
    font-size: 0.75rem;
    color: var(--adv-text-muted);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Grid hover now handled globally in site.css */

/* ── Responsive ── */
@media (max-width: 768px) {
    .party-detail-header[b-vg55c60e1d] {
        flex-direction: column;
        align-items: flex-start;
    }

    .party-header-actions[b-vg55c60e1d] {
        width: 100%;
    }

    .party-detail-icon[b-vg55c60e1d] {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .party-detail-icon .rzi[b-vg55c60e1d],
    .party-detail-icon .material-icons[b-vg55c60e1d] {
        font-size: 20px !important;
    }
}

/* ── Dark theme ── */
:global(.dark-theme) .party-detail-icon[b-vg55c60e1d] {
    background: rgba(74, 159, 213, 0.15);
}

:global(.dark-theme) .party-case-item[b-vg55c60e1d] {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

:global(.dark-theme) .party-case-item:hover[b-vg55c60e1d] {
    background: rgba(74, 159, 213, 0.06);
}

/* ── Print styles ── */
@media print {
    .no-print[b-vg55c60e1d],
    .case-tab-toolbar[b-vg55c60e1d],
    .adv-breadcrumb[b-vg55c60e1d] {
        display: none !important;
    }

    [b-vg55c60e1d] .rz-datatable .rz-datatable-thead th:last-child,
    [b-vg55c60e1d] .rz-datatable .rz-datatable-data td:last-child {
        display: none !important;
    }

    .party-detail-header[b-vg55c60e1d] {
        border-bottom: none;
        margin-bottom: 0.5rem;
        padding-bottom: 0;
    }

    .party-detail-page[b-vg55c60e1d] {
        padding: 0;
    }
}
/* /Components/Pages/Peppol/Components/UblPreviewComponent.razor.rz.scp.css */
[b-a8nw9o38so] .ubl-xml-preview {
    max-height: 600px;
    overflow: auto;
    background: var(--rz-base-200);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    tab-size: 2;
}

[b-a8nw9o38so] .ubl-xml-tag {
    color: #22863a;
    font-weight: 500;
}

[b-a8nw9o38so] .ubl-xml-attr-name {
    color: #6f42c1;
}

[b-a8nw9o38so] .ubl-xml-attr-value {
    color: #032f62;
}

[b-a8nw9o38so] .ubl-xml-comment {
    color: #6a737d;
    font-style: italic;
}

[b-a8nw9o38so] .ubl-xml-pi {
    color: #6a737d;
}
/* /Components/Pages/Performances/Performances.razor.rz.scp.css */
.performances-header[b-pro34f6bw5] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.performances-toolbar[b-pro34f6bw5] {
    margin-bottom: 1rem;
}

.perf-tab-content[b-pro34f6bw5] {
    padding-top: 1rem;
}

/* Grid hover/pager now handled globally in site.css */
/* /Components/Pages/Settings/CalendarSettings.razor.rz.scp.css */
.settings-sub-page[b-pe6g40albu] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-pe6g40albu] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-pe6g40albu] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-pe6g40albu] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-pe6g40albu],
.settings-card-icon .material-icons[b-pe6g40albu] {
    font-size: 24px !important;
}

.settings-tab-content[b-pe6g40albu] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-pe6g40albu] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/CaseSettings.razor.rz.scp.css */
.settings-sub-page[b-xw5crld7r6] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-xw5crld7r6] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-xw5crld7r6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-xw5crld7r6] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-xw5crld7r6],
.settings-card-icon .material-icons[b-xw5crld7r6] {
    font-size: 24px !important;
}

.settings-tab-content[b-xw5crld7r6] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-xw5crld7r6] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/DocumentSettings.razor.rz.scp.css */
.settings-sub-page[b-gwwi4pdyvp] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-gwwi4pdyvp] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-gwwi4pdyvp] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-gwwi4pdyvp] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-gwwi4pdyvp],
.settings-card-icon .material-icons[b-gwwi4pdyvp] {
    font-size: 24px !important;
}

.settings-tab-content[b-gwwi4pdyvp] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-gwwi4pdyvp] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/GeneralSettings.razor.rz.scp.css */
.settings-sub-page[b-h2hg2nkdvr] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-h2hg2nkdvr] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-h2hg2nkdvr] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-h2hg2nkdvr] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-h2hg2nkdvr],
.settings-card-icon .material-icons[b-h2hg2nkdvr] {
    font-size: 24px !important;
}

.settings-tab-content[b-h2hg2nkdvr] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-h2hg2nkdvr] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/IndexSettings.razor.rz.scp.css */
.index-card-active[b-6afsitp352] {
    outline: 2px solid var(--adv-primary);
    outline-offset: -2px;
    background: var(--adv-primary-lighter) !important;
}

.index-detail-section[b-6afsitp352] {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--rz-base-background-color);
    border: 1px solid var(--adv-border);
    border-radius: var(--rz-border-radius);
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/OfficeSettings.razor.rz.scp.css */
.settings-sub-page[b-39228w47n9] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-39228w47n9] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-39228w47n9] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-39228w47n9] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-39228w47n9],
.settings-card-icon .material-icons[b-39228w47n9] {
    font-size: 24px !important;
}

.settings-tab-content[b-39228w47n9] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-39228w47n9] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.settings-field[b-39228w47n9] {
    margin-bottom: 1rem;
}

.settings-field-label[b-39228w47n9] {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--adv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
}

.settings-field-value[b-39228w47n9] {
    font-size: 0.95rem;
    color: var(--adv-text);
    font-weight: 500;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/PartySettings.razor.rz.scp.css */
.settings-sub-page[b-htoeuaijb6] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-htoeuaijb6] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-htoeuaijb6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-htoeuaijb6] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-htoeuaijb6],
.settings-card-icon .material-icons[b-htoeuaijb6] {
    font-size: 24px !important;
}

.settings-tab-content[b-htoeuaijb6] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-htoeuaijb6] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/PerformanceSettings.razor.rz.scp.css */
.settings-sub-page[b-3ufs7l9t27] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-3ufs7l9t27] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-3ufs7l9t27] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-3ufs7l9t27] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-3ufs7l9t27],
.settings-card-icon .material-icons[b-3ufs7l9t27] {
    font-size: 24px !important;
}

.settings-tab-content[b-3ufs7l9t27] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-3ufs7l9t27] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Pages/Settings/Settings.razor.rz.scp.css */
.settings-header[b-c9bxivc8va] {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card[b-c9bxivc8va] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.settings-card:hover[b-c9bxivc8va] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

.settings-card-icon[b-c9bxivc8va] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.settings-card-icon .rzi[b-c9bxivc8va],
.settings-card-icon .material-icons[b-c9bxivc8va] {
    font-size: 24px !important;
}

.settings-card-items[b-c9bxivc8va] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.settings-card-tag[b-c9bxivc8va] {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    background: var(--rz-base-200, rgba(0, 0, 0, 0.04));
    color: var(--adv-text-muted);
}
/* /Components/Pages/Settings/UserSettings.razor.rz.scp.css */
.settings-sub-page[b-32y3zyzohs] {
    padding: 0.5rem 0;
}

.settings-breadcrumb[b-32y3zyzohs] {
    margin-bottom: 1rem;
}

.settings-sub-header[b-32y3zyzohs] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--adv-border);
}

.settings-card-icon[b-32y3zyzohs] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-card-icon .rzi[b-32y3zyzohs],
.settings-card-icon .material-icons[b-32y3zyzohs] {
    font-size: 24px !important;
}

.settings-tab-content[b-32y3zyzohs] {
    padding-top: 1rem;
}

.settings-tab-toolbar[b-32y3zyzohs] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Grid hover now handled globally in site.css */
/* /Components/Widgets/AppDialogFooter.razor.rz.scp.css */
/* Action bar pinned below the dialog body with a hairline divider.
   Uses Radzen theme tokens so the border + spacing read correctly in
   both light and dark. The Start slot pushes primary actions to the
   right via margin-right:auto; everything wraps gracefully when narrow. */
.app-dialog-footer[b-fulh65ehtr] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rz-border-color);
}

.app-dialog-footer__start[b-fulh65ehtr] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-right: auto;
}

.app-dialog-footer__end[b-fulh65ehtr] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* /Components/Widgets/TopBarTimerWidget.razor.rz.scp.css */
/* Styles moved to site.css for reliable rendering */
