@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Pager.razor.rz.scp.css */
.app-pager[b-mze6gcn5fi] {
    display: grid;
    grid-template-columns: minmax(190px, auto) minmax(320px, 1fr) minmax(190px, auto);
    gap: 12px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--neutral-stroke-layer-rest, rgba(15, 23, 42, 0.12));
    border-radius: 8px;
    background: var(--neutral-layer-1, #ffffff);
    color: var(--neutral-foreground-rest, #1f2937);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.app-pager__page-size[b-mze6gcn5fi],
.app-pager__nav[b-mze6gcn5fi],
.app-pager__counts[b-mze6gcn5fi],
.app-pager__page-edit[b-mze6gcn5fi],
.app-pager__current-page[b-mze6gcn5fi] {
    display: flex;
    align-items: center;
}

.app-pager__page-size[b-mze6gcn5fi] {
    gap: 8px;
    min-width: 0;
}

.app-pager__nav[b-mze6gcn5fi] {
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.app-pager__counts[b-mze6gcn5fi] {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

.app-pager__counts strong[b-mze6gcn5fi],
.app-pager__counts span[b-mze6gcn5fi] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-pager__counts strong[b-mze6gcn5fi] {
    font-size: 0.88rem;
    font-weight: 760;
}

.app-pager__counts span[b-mze6gcn5fi] {
    color: var(--neutral-foreground-hint, #667085);
    font-size: 0.78rem;
    font-weight: 650;
}

.app-pager__label[b-mze6gcn5fi] {
    color: var(--neutral-foreground-hint, #667085);
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.app-pager__page-edit[b-mze6gcn5fi] {
    gap: 7px;
    padding: 3px 8px;
    border: 1px solid var(--neutral-stroke-layer-rest, rgba(15, 23, 42, 0.12));
    border-radius: 8px;
    background: var(--neutral-layer-2, #f8fafc);
}

.app-pager__page-total[b-mze6gcn5fi] {
    color: var(--neutral-foreground-hint, #667085);
    font-size: 0.84rem;
    font-weight: 650;
    white-space: nowrap;
}

.app-pager__current-page[b-mze6gcn5fi] {
    gap: 6px;
    min-width: 74px;
    justify-content: center;
    padding: 4px 9px;
    border: 1px solid var(--neutral-stroke-layer-rest, rgba(15, 23, 42, 0.12));
    border-radius: 8px;
    background: var(--neutral-layer-2, #f8fafc);
}

.app-pager__current-page strong[b-mze6gcn5fi] {
    color: var(--app-accent-color, #00796e);
    font-size: 0.95rem;
    font-weight: 780;
    font-variant-numeric: tabular-nums;
}

.app-pager__button-symbol[b-mze6gcn5fi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    font-weight: 780;
    line-height: 1;
}

.app-pager__sr-only[b-mze6gcn5fi] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[b-mze6gcn5fi] fluent-select.app-pager__select {
    min-width: 176px;
}

[b-mze6gcn5fi] fluent-select.app-pager__select::part(control),
[b-mze6gcn5fi] fluent-number-field.app-pager__page-number::part(control),
[b-mze6gcn5fi] fluent-number-field.app-pager__page-number::part(root) {
    border-radius: 6px;
}

[b-mze6gcn5fi] fluent-number-field.app-pager__page-number {
    width: 66px;
}

[b-mze6gcn5fi] fluent-number-field.app-pager__page-number input {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

[b-mze6gcn5fi] fluent-button.app-pager__nav-button::part(control) {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 6px;
    font-size: 0.86rem;
}

[b-mze6gcn5fi] fluent-button.app-pager__text-button::part(control) {
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 650;
}

[b-mze6gcn5fi] fluent-button.app-pager__nav-button:not([disabled]):hover::part(control),
[b-mze6gcn5fi] fluent-button.app-pager__nav-button:not([disabled]):focus-visible::part(control),
[b-mze6gcn5fi] fluent-button.app-pager__text-button:not([disabled]):hover::part(control),
[b-mze6gcn5fi] fluent-button.app-pager__text-button:not([disabled]):focus-visible::part(control) {
    border-color: var(--app-accent-color, #00796e);
    color: var(--app-accent-color, #00796e);
}

@media (max-width: 920px) {
    .app-pager[b-mze6gcn5fi] {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .app-pager__page-size[b-mze6gcn5fi],
    .app-pager__nav[b-mze6gcn5fi] {
        justify-content: flex-start;
    }

    .app-pager__counts[b-mze6gcn5fi] {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .app-pager[b-mze6gcn5fi] {
        padding: 10px;
    }

    .app-pager__page-size[b-mze6gcn5fi],
    .app-pager__nav[b-mze6gcn5fi] {
        flex-wrap: wrap;
    }

    [b-mze6gcn5fi] fluent-select.app-pager__select {
        min-width: 100%;
        flex: 1 1 100%;
    }
}
/* /Pages/Calculations/Calculations.razor.rz.scp.css */
.calculations-page[b-y31yvxnw4l] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 96px;
}

.calculations-toolbar-card[b-y31yvxnw4l],
.calculations-grid-card[b-y31yvxnw4l] {
    width: 100%;
    box-sizing: border-box;
}

.calculations-toolbar[b-y31yvxnw4l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.calculations-toolbar-actions[b-y31yvxnw4l] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.calculations-runs-grid[b-y31yvxnw4l] {
    height: 64vh;
    min-height: 420px;
}

[b-y31yvxnw4l] fluent-overlay {
    z-index: 2147483000 !important;
}

@media (max-width: 760px) {
    .calculations-toolbar[b-y31yvxnw4l] {
        align-items: stretch;
    }

    .calculations-toolbar-actions[b-y31yvxnw4l] {
        justify-content: stretch;
    }

        .calculations-toolbar-actions > *[b-y31yvxnw4l] {
            flex: 1 1 100%;
        }
}
/* /Pages/Calculations/Dialogs/RunCalculationDialog.razor.rz.scp.css */
.run-calculation-dialog[b-640jpszw0k] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.run-calculation-grid[b-640jpszw0k] {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px 16px;
    align-items: end;
    overflow: visible;
}

.calculation-select-field[b-640jpszw0k] {
    grid-column: 1 / -1;
}

.run-calculation-field[b-640jpszw0k] {
    min-width: 0;
    overflow: visible;
}

    .run-calculation-field label[b-640jpszw0k] {
        display: block;
        margin-bottom: 4px;
    }

.run-calculation-native-select[b-640jpszw0k] {
    width: 100%;
    min-height: 34px;
    box-sizing: border-box;
}

.run-calculation-date[b-640jpszw0k] {
    width: 100%;
    min-width: 220px;
}

.run-calculation-footer[b-640jpszw0k] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

[b-640jpszw0k] fluent-datepicker,
[b-640jpszw0k] fluent-anchored-region,
[b-640jpszw0k] fluent-calendar,
[b-640jpszw0k] fluent-menu-list {
    z-index: 2147482500 !important;
}

@media (max-width: 640px) {
    .run-calculation-grid[b-640jpszw0k] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/CrossTests/CrossTestRunDetails.razor.rz.scp.css */
.cross-test-run-page[b-y2z5hg76gi] {
    min-height: 100%;
    padding: 24px;
    color: #111827;
    background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.cross-test-run-header[b-y2z5hg76gi],
.cross-test-run-actions[b-y2z5hg76gi],
.cross-test-run-title-row[b-y2z5hg76gi],
.cross-test-run-source-target[b-y2z5hg76gi] {
    display: flex;
    align-items: center;
}

.cross-test-run-header[b-y2z5hg76gi],
.cross-test-run-title-row[b-y2z5hg76gi] {
    justify-content: space-between;
    gap: 16px;
}

.cross-test-run-header[b-y2z5hg76gi] {
    align-items: flex-start;
    margin-bottom: 18px;
}

.cross-test-run-header h1[b-y2z5hg76gi] {
    margin: 4px 0 6px;
    color: #14332f;
    font-size: 1.9rem;
}

.cross-test-run-header p[b-y2z5hg76gi],
.cross-test-run-title-row p[b-y2z5hg76gi] {
    margin: 0;
    color: #64748b;
}

.cross-test-run-eyebrow[b-y2z5hg76gi] {
    color: var(--app-accent-color, #00796e);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cross-test-run-actions[b-y2z5hg76gi] { gap: 8px; flex-wrap: wrap; }

.cross-test-run-panel[b-y2z5hg76gi] {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.cross-test-run-title-row h2[b-y2z5hg76gi] {
    margin: 0 0 4px;
    color: #14332f;
    font-size: 1.08rem;
}

.cross-test-run-badge[b-y2z5hg76gi],
.cross-test-run-count[b-y2z5hg76gi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.cross-test-run-badge.success[b-y2z5hg76gi] { background: #ecfdf5; color: #047857; }
.cross-test-run-badge.error[b-y2z5hg76gi] { background: #fff1f2; color: #b42318; }
.cross-test-run-badge.warning[b-y2z5hg76gi] { background: #fffbeb; color: #a16207; }
.cross-test-run-badge.info[b-y2z5hg76gi] { background: #eff6ff; color: #1d4ed8; }
.cross-test-run-badge.neutral[b-y2z5hg76gi] { background: #f1f5f9; color: #475569; }
.cross-test-run-count[b-y2z5hg76gi] { background: rgba(0, 121, 110, .1); color: #00675e; }

.cross-test-run-source-target[b-y2z5hg76gi] {
    justify-content: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fbfd;
}

.cross-test-run-source-target > div[b-y2z5hg76gi] {
    display: grid;
    gap: 4px;
    min-width: min(360px, 40%);
}

.cross-test-run-source-target span[b-y2z5hg76gi],
.cross-test-run-source-target small[b-y2z5hg76gi],
.cross-test-run-metrics span[b-y2z5hg76gi],
.cross-test-run-audit span[b-y2z5hg76gi] {
    color: #64748b;
}

.cross-test-run-metrics[b-y2z5hg76gi] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.cross-test-run-metrics > div[b-y2z5hg76gi],
.cross-test-run-audit > div[b-y2z5hg76gi] {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fbfd;
}

.cross-test-run-metrics span[b-y2z5hg76gi],
.cross-test-run-metrics strong[b-y2z5hg76gi],
.cross-test-run-audit span[b-y2z5hg76gi],
.cross-test-run-audit strong[b-y2z5hg76gi] {
    display: block;
}

.cross-test-run-metrics span[b-y2z5hg76gi],
.cross-test-run-audit span[b-y2z5hg76gi] {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cross-test-run-metrics strong[b-y2z5hg76gi],
.cross-test-run-audit strong[b-y2z5hg76gi] { margin-top: 4px; }
.cross-test-run-metrics strong[b-y2z5hg76gi] { font-size: 1.2rem; }

.cross-test-run-filters[b-y2z5hg76gi] {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(180px, .7fr) minmax(220px, .9fr) auto;
    gap: 12px;
    align-items: end;
}

.cross-test-run-grid[b-y2z5hg76gi] { min-height: 260px; max-height: 58vh; }

.cross-test-run-empty[b-y2z5hg76gi] {
    min-height: 150px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(100, 116, 139, .3);
    border-radius: 8px;
    color: #64748b;
    background: rgba(248, 250, 252, .82);
}

.cross-test-run-audit[b-y2z5hg76gi] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

html[data-theme-mode="dark"] .cross-test-run-page[b-y2z5hg76gi] {
    color: #e7edf7;
    background: linear-gradient(180deg, #1a1d24 0%, #151920 100%);
}

html[data-theme-mode="dark"] .cross-test-run-panel[b-y2z5hg76gi] {
    border-color: rgba(198, 209, 226, .18);
    background: rgba(37, 40, 47, .94);
}

html[data-theme-mode="dark"] .cross-test-run-header h1[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-title-row h2[b-y2z5hg76gi] { color: #f5f8ff; }

html[data-theme-mode="dark"] .cross-test-run-header p[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-title-row p[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-source-target span[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-source-target small[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-metrics span[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-audit span[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-empty[b-y2z5hg76gi] { color: #aebbd0; }

html[data-theme-mode="dark"] .cross-test-run-source-target[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-metrics > div[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-audit > div[b-y2z5hg76gi],
html[data-theme-mode="dark"] .cross-test-run-empty[b-y2z5hg76gi] {
    border-color: rgba(173, 188, 212, .2);
    background: rgba(43, 47, 56, .82);
}

@media (max-width: 1200px) {
    .cross-test-run-metrics[b-y2z5hg76gi] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cross-test-run-filters[b-y2z5hg76gi] { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}

@media (max-width: 760px) {
    .cross-test-run-page[b-y2z5hg76gi] { padding: 14px; }
    .cross-test-run-header[b-y2z5hg76gi],
    .cross-test-run-title-row[b-y2z5hg76gi] { display: grid; }
    .cross-test-run-source-target[b-y2z5hg76gi] { display: grid; }
    .cross-test-run-source-target > div[b-y2z5hg76gi] { min-width: 0; }
    .cross-test-run-source-target fluent-icon[b-y2z5hg76gi] { transform: rotate(90deg); }
    .cross-test-run-metrics[b-y2z5hg76gi],
    .cross-test-run-filters[b-y2z5hg76gi],
    .cross-test-run-audit[b-y2z5hg76gi] { grid-template-columns: 1fr; }
}
/* /Pages/CrossTests/CrossTests.razor.rz.scp.css */
.cross-tests-page[b-gha60dqwyo] {
    min-height: 100%;
    padding: 24px;
    color: #111827;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.cross-tests-header[b-gha60dqwyo],
.cross-tests-section-header[b-gha60dqwyo],
.cross-tests-header-actions[b-gha60dqwyo],
.cross-tests-row-actions[b-gha60dqwyo],
.cross-tests-filter-title[b-gha60dqwyo],
.cross-tests-editor-actions[b-gha60dqwyo] {
    display: flex;
    align-items: center;
}

.cross-tests-header[b-gha60dqwyo],
.cross-tests-section-header[b-gha60dqwyo] {
    justify-content: space-between;
    gap: 16px;
}

.cross-tests-header[b-gha60dqwyo] {
    align-items: flex-start;
    margin-bottom: 18px;
}

.cross-tests-header h1[b-gha60dqwyo] {
    margin: 4px 0 6px;
    color: #14332f;
    font-size: 1.9rem;
}

.cross-tests-header p[b-gha60dqwyo],
.cross-tests-section-header p[b-gha60dqwyo] {
    margin: 0;
    color: #64748b;
}

.cross-tests-eyebrow[b-gha60dqwyo] {
    color: var(--app-accent-color, #00796e);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cross-tests-header-actions[b-gha60dqwyo],
.cross-tests-row-actions[b-gha60dqwyo],
.cross-tests-editor-actions[b-gha60dqwyo] {
    gap: 8px;
    flex-wrap: wrap;
}

.cross-tests-summary[b-gha60dqwyo] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.cross-tests-summary > div[b-gha60dqwyo] {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.cross-tests-summary span[b-gha60dqwyo],
.cross-tests-summary strong[b-gha60dqwyo] {
    display: block;
}

.cross-tests-summary span[b-gha60dqwyo] {
    color: #64748b;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cross-tests-summary strong[b-gha60dqwyo] {
    margin-top: 3px;
    color: #14332f;
    font-size: 1.35rem;
}

.cross-tests-panel[b-gha60dqwyo] {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    overflow: visible;
}

.cross-tests-section-header h2[b-gha60dqwyo],
.cross-tests-section-header h3[b-gha60dqwyo] {
    margin: 0 0 4px;
    color: #14332f;
}

.cross-tests-section-header h2[b-gha60dqwyo] {
    font-size: 1.08rem;
}

.cross-tests-section-header h3[b-gha60dqwyo] {
    font-size: 1rem;
}

.cross-tests-section-header.compact[b-gha60dqwyo] {
    align-items: flex-start;
}

.cross-tests-count-pill[b-gha60dqwyo],
.cross-tests-badge[b-gha60dqwyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    white-space: nowrap;
    font-weight: 700;
}

.cross-tests-count-pill[b-gha60dqwyo] {
    padding: 4px 10px;
    background: rgba(0, 121, 110, .1);
    color: #00675e;
}

.cross-tests-badge[b-gha60dqwyo] {
    padding: 4px 9px;
    font-size: .78rem;
}

.cross-tests-badge.success[b-gha60dqwyo] { background: #ecfdf5; color: #047857; }
.cross-tests-badge.error[b-gha60dqwyo] { background: #fff1f2; color: #b42318; }
.cross-tests-badge.info[b-gha60dqwyo] { background: #eff6ff; color: #1d4ed8; }
.cross-tests-badge.neutral[b-gha60dqwyo] { background: #f1f5f9; color: #475569; }

.cross-tests-grid[b-gha60dqwyo] {
    min-height: 220px;
    max-height: 54vh;
}

.cross-tests-empty[b-gha60dqwyo],
.cross-tests-inline-empty[b-gha60dqwyo] {
    display: grid;
    place-items: center;
    border: 1px dashed rgba(100, 116, 139, .3);
    border-radius: 8px;
    color: #64748b;
    background: rgba(248, 250, 252, .82);
}

.cross-tests-empty[b-gha60dqwyo] { min-height: 130px; }
.cross-tests-inline-empty[b-gha60dqwyo] { min-height: 72px; }

.cross-tests-editor[b-gha60dqwyo] {
    position: relative;
    overflow: visible;
}

.cross-tests-editor-section[b-gha60dqwyo] {
    display: grid;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.cross-tests-editor-section > h3[b-gha60dqwyo] {
    margin: 0;
    color: #14332f;
    font-size: 1rem;
}

.cross-tests-form-grid[b-gha60dqwyo] {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
    align-items: end;
}

.cross-tests-description-field[b-gha60dqwyo] {
    grid-column: span 3;
}

.cross-tests-source-target-grid[b-gha60dqwyo],
.cross-tests-filter-columns[b-gha60dqwyo] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cross-tests-side-card[b-gha60dqwyo] {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #f8fbfd;
}

.cross-tests-side-label[b-gha60dqwyo] {
    color: var(--app-accent-color, #00796e);
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.cross-tests-mapping-row[b-gha60dqwyo],
.cross-tests-value-row[b-gha60dqwyo],
.cross-tests-filter-row[b-gha60dqwyo] {
    display: grid;
    gap: 10px;
    align-items: end;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #f8fbfd;
}

.cross-tests-mapping-row[b-gha60dqwyo] { grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) auto; }
.cross-tests-value-row[b-gha60dqwyo] { grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) 160px 140px auto; }

.cross-tests-filter-columns > div[b-gha60dqwyo] {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.cross-tests-filter-title[b-gha60dqwyo] {
    justify-content: space-between;
    gap: 8px;
}

.cross-tests-filter-row[b-gha60dqwyo] {
    grid-template-columns: minmax(150px, 1fr) minmax(135px, .75fr) minmax(150px, 1fr) auto;
}

.cross-tests-switch-grid[b-gha60dqwyo] {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 12px;
}

.cross-tests-editor-actions[b-gha60dqwyo] {
    position: sticky;
    bottom: 0;
    z-index: 3;
    justify-content: flex-end;
    padding: 12px 0;
    background: color-mix(in srgb, white 90%, transparent);
    backdrop-filter: blur(8px);
}

.cross-tests-run-panel[b-gha60dqwyo] {
    overflow: visible;
}

.cross-tests-run-form[b-gha60dqwyo] {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr) minmax(280px, 1.2fr) auto;
    gap: 12px;
    align-items: end;
}

.cross-tests-run-field[b-gha60dqwyo] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cross-tests-run-label[b-gha60dqwyo] {
    color: #111827;
    font-size: .82rem;
    line-height: 1.2;
}

.cross-tests-run-select[b-gha60dqwyo] {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    box-sizing: border-box;
    padding: 4px 30px 4px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #111827;
    background-color: #fff;
    font: inherit;
    appearance: auto;
}

.cross-tests-run-select:hover:not(:disabled)[b-gha60dqwyo] {
    border-color: #9ca3af;
}

.cross-tests-run-select:focus-visible[b-gha60dqwyo] {
    border-color: var(--app-accent-color, #00796e);
    outline: 2px solid color-mix(in srgb, var(--app-accent-color, #00796e) 34%, transparent);
    outline-offset: 1px;
}

.cross-tests-run-select:disabled[b-gha60dqwyo] {
    color: #6b7280;
    background: #f3f4f6;
    cursor: not-allowed;
}

html[data-theme-mode="dark"] .cross-tests-page[b-gha60dqwyo] {
    color: #e7edf7;
    background: linear-gradient(180deg, #1a1d24 0%, #151920 100%);
}

html[data-theme-mode="dark"] .cross-tests-panel[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-summary > div[b-gha60dqwyo] {
    border-color: rgba(198, 209, 226, .18);
    background: rgba(37, 40, 47, .94);
}

html[data-theme-mode="dark"] .cross-tests-header h1[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-section-header h2[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-section-header h3[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-editor-section > h3[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-summary strong[b-gha60dqwyo] {
    color: #f5f8ff;
}

html[data-theme-mode="dark"] .cross-tests-header p[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-section-header p[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-summary span[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-empty[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-inline-empty[b-gha60dqwyo] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .cross-tests-side-card[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-mapping-row[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-value-row[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-filter-row[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-empty[b-gha60dqwyo],
html[data-theme-mode="dark"] .cross-tests-inline-empty[b-gha60dqwyo] {
    border-color: rgba(173, 188, 212, .2);
    background: rgba(43, 47, 56, .82);
}

html[data-theme-mode="dark"] .cross-tests-editor-actions[b-gha60dqwyo] {
    background: color-mix(in srgb, #1f2023 92%, transparent);
}

html[data-theme-mode="dark"] .cross-tests-run-label[b-gha60dqwyo] {
    color: #e7edf7;
}

html[data-theme-mode="dark"] .cross-tests-run-select[b-gha60dqwyo] {
    border-color: #667085;
    color: #f5f8ff;
    background-color: #2b2f38;
    color-scheme: dark;
}

html[data-theme-mode="dark"] .cross-tests-run-select option[b-gha60dqwyo] {
    color: #f5f8ff;
    background-color: #2b2f38;
}

html[data-theme-mode="dark"] .cross-tests-run-select:disabled[b-gha60dqwyo] {
    border-color: #4b5563;
    color: #9ca3af;
    background-color: #23262d;
}

@media (max-width: 1250px) {
    .cross-tests-form-grid[b-gha60dqwyo] { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
    .cross-tests-description-field[b-gha60dqwyo] { grid-column: span 2; }
    .cross-tests-value-row[b-gha60dqwyo] { grid-template-columns: repeat(2, minmax(220px, 1fr)) auto; }
    .cross-tests-run-form[b-gha60dqwyo] { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}

@media (max-width: 900px) {
    .cross-tests-summary[b-gha60dqwyo] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cross-tests-source-target-grid[b-gha60dqwyo],
    .cross-tests-filter-columns[b-gha60dqwyo] { grid-template-columns: 1fr; }
    .cross-tests-switch-grid[b-gha60dqwyo] { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
    .cross-tests-mapping-row[b-gha60dqwyo],
    .cross-tests-value-row[b-gha60dqwyo],
    .cross-tests-filter-row[b-gha60dqwyo] { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .cross-tests-page[b-gha60dqwyo] { padding: 14px; }
    .cross-tests-header[b-gha60dqwyo],
    .cross-tests-section-header[b-gha60dqwyo] { display: grid; }
    .cross-tests-summary[b-gha60dqwyo],
    .cross-tests-form-grid[b-gha60dqwyo],
    .cross-tests-run-form[b-gha60dqwyo],
    .cross-tests-switch-grid[b-gha60dqwyo] { grid-template-columns: 1fr; }
    .cross-tests-description-field[b-gha60dqwyo] { grid-column: auto; }
}
/* /Pages/Data/AutomaticImports.razor.rz.scp.css */
.auto-import-page[b-gpyr8bzyx5] {
    min-height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
    color: #111827;
    background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.page-header[b-gpyr8bzyx5],
.panel-title[b-gpyr8bzyx5],
.section-heading[b-gpyr8bzyx5],
.subsection-heading[b-gpyr8bzyx5],
.header-actions[b-gpyr8bzyx5],
.editor-actions[b-gpyr8bzyx5],
.definition-card-top[b-gpyr8bzyx5],
.definition-route[b-gpyr8bzyx5],
.definition-meta[b-gpyr8bzyx5],
.mapper-actions[b-gpyr8bzyx5] {
    display: flex;
    align-items: center;
}

.page-header[b-gpyr8bzyx5],
.panel-title[b-gpyr8bzyx5],
.section-heading[b-gpyr8bzyx5],
.subsection-heading[b-gpyr8bzyx5] {
    justify-content: space-between;
    gap: 16px;
}

.page-header[b-gpyr8bzyx5] {
    align-items: flex-start;
    margin-bottom: 18px;
}

.page-header h1[b-gpyr8bzyx5] {
    margin: 4px 0 6px;
    color: #14332f;
    font-size: 1.9rem;
}

.page-header p[b-gpyr8bzyx5],
.panel-title p[b-gpyr8bzyx5],
.section-heading p[b-gpyr8bzyx5] {
    margin: 0;
    color: #64748b;
}

.eyebrow[b-gpyr8bzyx5] {
    color: var(--app-accent-color, #00796e);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.header-actions[b-gpyr8bzyx5],
.editor-actions[b-gpyr8bzyx5],
.mapper-actions[b-gpyr8bzyx5] {
    gap: 8px;
    flex-wrap: wrap;
}

.summary-grid[b-gpyr8bzyx5] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.summary-grid > div[b-gpyr8bzyx5] {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.summary-grid span[b-gpyr8bzyx5],
.summary-grid strong[b-gpyr8bzyx5] {
    display: block;
}

.summary-grid span[b-gpyr8bzyx5] {
    color: #64748b;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.summary-grid strong[b-gpyr8bzyx5] {
    margin-top: 3px;
    color: #14332f;
    font-size: 1.35rem;
}

.workspace-grid[b-gpyr8bzyx5] {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.panel[b-gpyr8bzyx5] {
    display: grid;
    gap: 16px;
    min-width: 0;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    overflow: visible;
}

.panel-title[b-gpyr8bzyx5] {
    align-items: flex-start;
}

.panel-title h2[b-gpyr8bzyx5],
.section-heading h3[b-gpyr8bzyx5],
.subsection-heading h3[b-gpyr8bzyx5] {
    margin: 0 0 4px;
    color: #14332f;
}

.panel-title h2[b-gpyr8bzyx5] { font-size: 1.08rem; }
.section-heading h3[b-gpyr8bzyx5],
.subsection-heading h3[b-gpyr8bzyx5] { font-size: 1rem; }

.count-pill[b-gpyr8bzyx5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #00675e;
    background: rgba(0, 121, 110, .1);
    font-weight: 700;
}

.definition-search[b-gpyr8bzyx5] {
    margin-top: -4px;
}

.definition-list[b-gpyr8bzyx5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 10px;
    min-width: 0;
}

.definition-card[b-gpyr8bzyx5] {
    display: grid;
    gap: 9px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    color: inherit;
    background: #f8fbfd;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.definition-card:hover[b-gpyr8bzyx5],
.definition-card.selected[b-gpyr8bzyx5] {
    border-color: color-mix(in srgb, var(--app-accent-color, #00796e) 55%, transparent);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.definition-card:focus-visible[b-gpyr8bzyx5] {
    outline: 2px solid var(--app-accent-color, #00796e);
    outline-offset: 2px;
}

.definition-card-top[b-gpyr8bzyx5],
.definition-route[b-gpyr8bzyx5],
.definition-meta[b-gpyr8bzyx5] {
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.definition-card-top strong[b-gpyr8bzyx5],
.definition-route[b-gpyr8bzyx5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.definition-route[b-gpyr8bzyx5],
.definition-meta[b-gpyr8bzyx5] {
    color: #64748b;
    font-size: .78rem;
}

.definition-route[b-gpyr8bzyx5] {
    justify-content: flex-start;
}

.state-badge[b-gpyr8bzyx5],
.run-status[b-gpyr8bzyx5],
.type-badge[b-gpyr8bzyx5],
.required-badge[b-gpyr8bzyx5],
.mapping-state[b-gpyr8bzyx5] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    white-space: nowrap;
    font-weight: 700;
}

.definition-search-field[b-gpyr8bzyx5] {
    display: grid;
    gap: 5px;
    width: min(100%, 360px);
}

.state-badge[b-gpyr8bzyx5],
.run-status[b-gpyr8bzyx5] {
    padding: 3px 8px;
    font-size: .72rem;
}

.state-badge.active[b-gpyr8bzyx5],
.run-status.succeeded[b-gpyr8bzyx5] { color: #047857; background: #ecfdf5; }
.state-badge.inactive[b-gpyr8bzyx5],
.run-status.nodata[b-gpyr8bzyx5] { color: #475569; background: #f1f5f9; }
.run-status.failed[b-gpyr8bzyx5] { color: #b42318; background: #fff1f2; }
.run-status.running[b-gpyr8bzyx5],
.run-status.queued[b-gpyr8bzyx5] { color: #1d4ed8; background: #eff6ff; }

.empty[b-gpyr8bzyx5],
.inline-empty[b-gpyr8bzyx5],
.mapper-placeholder[b-gpyr8bzyx5] {
    display: grid;
    place-items: center;
    min-height: 90px;
    padding: 18px;
    border: 1px dashed rgba(100, 116, 139, .3);
    border-radius: 8px;
    color: #64748b;
    background: rgba(248, 250, 252, .82);
    text-align: center;
}

.empty-state[b-gpyr8bzyx5] {
    grid-column: 1 / -1;
    gap: 8px;
    min-height: 150px;
}

.empty-icon[b-gpyr8bzyx5] {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--app-accent-color, #00796e);
    background: rgba(0, 121, 110, .1);
}

.editor-panel[b-gpyr8bzyx5] {
    position: relative;
}

.editor-section[b-gpyr8bzyx5],
.mapper-section[b-gpyr8bzyx5] {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.editor-title + .editor-section[b-gpyr8bzyx5] {
    padding-top: 0;
    border-top: 0;
}

.form-grid[b-gpyr8bzyx5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
    align-items: start;
    min-width: 0;
}

.form-grid .wide[b-gpyr8bzyx5] {
    grid-column: 1 / -1;
}

.form-field[b-gpyr8bzyx5],
.action-field[b-gpyr8bzyx5] {
    display: grid;
    gap: 5px;
    min-width: 0;
    align-content: start;
}

.basic-grid .name-field[b-gpyr8bzyx5] {
    grid-column: span 2;
}

.switch-field[b-gpyr8bzyx5] {
    min-height: 52px;
    align-content: end;
}

.notification-grid .recipient-field[b-gpyr8bzyx5] {
    grid-column: span 2;
}

.field-with-help[b-gpyr8bzyx5] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.field-with-help small[b-gpyr8bzyx5],
.subsection-heading small[b-gpyr8bzyx5],
.mapper-placeholder[b-gpyr8bzyx5],
.inline-empty[b-gpyr8bzyx5],
.muted[b-gpyr8bzyx5],
.paging-help[b-gpyr8bzyx5],
.parameter-period-hint[b-gpyr8bzyx5],
.mapping-summary[b-gpyr8bzyx5] {
    color: #64748b;
    font-size: .76rem;
    font-weight: 400;
}

.query-field[b-gpyr8bzyx5] {
    margin-top: 2px;
}

.parameter-editor[b-gpyr8bzyx5],
.paging-editor[b-gpyr8bzyx5] {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #f8fbfd;
}

.parameter-row[b-gpyr8bzyx5] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.parameter-fields[b-gpyr8bzyx5] {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(130px, .8fr) minmax(170px, 1fr) minmax(160px, 1fr);
    gap: 10px;
    align-items: end;
    min-width: 0;
}

.parameter-remove[b-gpyr8bzyx5] {
    align-self: end;
}

.parameter-period-hint[b-gpyr8bzyx5] {
    align-self: center;
    padding: 8px 0;
}

.paging-settings[b-gpyr8bzyx5] {
    display: grid;
    grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.paging-help[b-gpyr8bzyx5],
.paging-order[b-gpyr8bzyx5],
.paging-order-input[b-gpyr8bzyx5] {
    grid-column: 2;
}

.paging-order[b-gpyr8bzyx5] {
    display: grid;
    gap: 7px;
}

.order-column-list[b-gpyr8bzyx5],
.weekday-picker[b-gpyr8bzyx5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.weekday-field[b-gpyr8bzyx5] {
    display: grid;
    gap: 8px;
}

.weekday-field > span[b-gpyr8bzyx5] {
    font-size: .76rem;
    font-weight: 600;
}

.mapper-section[b-gpyr8bzyx5] {
    margin: 0;
}

.mapper-loading[b-gpyr8bzyx5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: #64748b;
}

.mapping-readiness[b-gpyr8bzyx5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mapping-readiness > div[b-gpyr8bzyx5] {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 8px;
    background: #f8fafc;
}

.mapping-readiness strong[b-gpyr8bzyx5] {
    color: #14332f;
    font-size: 1rem;
}

.mapping-readiness span[b-gpyr8bzyx5] {
    color: #64748b;
    font-size: .72rem;
}

.mapping-table-wrap[b-gpyr8bzyx5] {
    max-height: 520px;
    overflow: auto;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
}

.mapping-table[b-gpyr8bzyx5] {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    background: #fff;
    font-size: .79rem;
}

.mapping-table th[b-gpyr8bzyx5],
.mapping-table td[b-gpyr8bzyx5] {
    padding: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    text-align: left;
    vertical-align: top;
}

.mapping-table th[b-gpyr8bzyx5] {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #334155;
    background: #f8fafc;
}

.target-column-cell[b-gpyr8bzyx5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-width: 220px;
}

.target-column-cell small[b-gpyr8bzyx5] {
    flex-basis: 100%;
    color: #64748b;
}

.mapping-table tr.not-mappable[b-gpyr8bzyx5] {
    opacity: .72;
}

.mapping-table tr.missing-required td[b-gpyr8bzyx5] {
    background: #fff8f8;
}

.mapping-table tr.mapped-row td[b-gpyr8bzyx5] {
    background: rgba(236, 253, 245, .42);
}

.mapping-table tr.invalid-mapping td[b-gpyr8bzyx5] {
    background: #fffaf0;
}

.type-badge[b-gpyr8bzyx5],
.required-badge[b-gpyr8bzyx5],
.mapping-state[b-gpyr8bzyx5] {
    padding: 2px 6px;
    font-size: .66rem;
    color: #475569;
    background: #f1f5f9;
}

.required-badge[b-gpyr8bzyx5] {
    color: #b42318;
    background: #fff1f2;
}

.mapping-state[b-gpyr8bzyx5] {
    color: #475569;
    background: #f1f5f9;
}

.mapping-state.mapped[b-gpyr8bzyx5] {
    color: #047857;
    background: #ecfdf5;
}

.mapping-state.unmapped[b-gpyr8bzyx5] {
    color: #475569;
    background: #f1f5f9;
}

.mapping-state.missing[b-gpyr8bzyx5] {
    color: #b42318;
    background: #fff1f2;
}

.mapping-state.invalid[b-gpyr8bzyx5] {
    color: #9a6700;
    background: #fff7d6;
}

.sample-values[b-gpyr8bzyx5] {
    display: block;
    max-width: 280px;
    overflow: hidden;
    color: #64748b;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editor-actions[b-gpyr8bzyx5] {
    position: static;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 6px;
    padding: 16px 0 2px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.spacer[b-gpyr8bzyx5] {
    flex: 1;
}

.history-grid[b-gpyr8bzyx5] {
    min-height: 180px;
    max-height: 520px;
}

.loading-overlay[b-gpyr8bzyx5] {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px 32px;
    border-radius: 8px;
    color: #14332f;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
}

html[data-theme-mode="dark"] .auto-import-page[b-gpyr8bzyx5] {
    color: #e7edf7;
    background: linear-gradient(180deg, #1a1d24 0%, #151920 100%);
}

html[data-theme-mode="dark"] .panel[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .summary-grid > div[b-gpyr8bzyx5] {
    border-color: rgba(198, 209, 226, .18);
    background: rgba(37, 40, 47, .94);
}

html[data-theme-mode="dark"] .page-header h1[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .panel-title h2[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .section-heading h3[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .subsection-heading h3[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .summary-grid strong[b-gpyr8bzyx5] {
    color: #f5f8ff;
}

html[data-theme-mode="dark"] .page-header p[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .panel-title p[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .section-heading p[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .summary-grid span[b-gpyr8bzyx5] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .definition-card[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .parameter-editor[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .paging-editor[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .mapping-readiness > div[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .empty[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .inline-empty[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .mapper-placeholder[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .mapping-table[b-gpyr8bzyx5],
html[data-theme-mode="dark"] .mapping-table th[b-gpyr8bzyx5] {
    border-color: rgba(173, 188, 212, .2);
    color: #e7edf7;
    background: rgba(43, 47, 56, .86);
}

html[data-theme-mode="dark"] .mapping-readiness strong[b-gpyr8bzyx5] {
    color: #f5f8ff;
}

html[data-theme-mode="dark"] .mapping-table tr.missing-required td[b-gpyr8bzyx5] {
    background: rgba(127, 29, 29, .16);
}

html[data-theme-mode="dark"] .mapping-table tr.mapped-row td[b-gpyr8bzyx5] {
    background: rgba(6, 78, 59, .14);
}

html[data-theme-mode="dark"] .mapping-table tr.invalid-mapping td[b-gpyr8bzyx5] {
    background: rgba(120, 53, 15, .16);
}

@media (max-width: 1250px) {
    .definition-list[b-gpyr8bzyx5] { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
    .form-grid[b-gpyr8bzyx5] { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
    .parameter-fields[b-gpyr8bzyx5] { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 900px) {
    .summary-grid[b-gpyr8bzyx5] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .definition-list[b-gpyr8bzyx5] { grid-template-columns: 1fr; }
    .paging-settings[b-gpyr8bzyx5] { grid-template-columns: 1fr; }
    .paging-help[b-gpyr8bzyx5],
    .paging-order[b-gpyr8bzyx5],
    .paging-order-input[b-gpyr8bzyx5] { grid-column: auto; }
    .editor-actions[b-gpyr8bzyx5] { align-items: flex-end; }
    .basic-grid .name-field[b-gpyr8bzyx5],
    .notification-grid .recipient-field[b-gpyr8bzyx5] { grid-column: auto; }
}

@media (max-width: 640px) {
    .auto-import-page[b-gpyr8bzyx5] { padding: 14px; }
    .page-header[b-gpyr8bzyx5],
    .panel-title[b-gpyr8bzyx5],
    .section-heading[b-gpyr8bzyx5],
    .subsection-heading[b-gpyr8bzyx5] { display: grid; }
    .summary-grid[b-gpyr8bzyx5],
    .form-grid[b-gpyr8bzyx5],
    .parameter-fields[b-gpyr8bzyx5],
    .mapping-readiness[b-gpyr8bzyx5] { grid-template-columns: 1fr; }
    .parameter-row[b-gpyr8bzyx5] { grid-template-columns: 1fr; }
    .parameter-remove[b-gpyr8bzyx5] { justify-self: end; }
    .form-grid .wide[b-gpyr8bzyx5] { grid-column: auto; }
    .editor-actions[b-gpyr8bzyx5] { position: static; }
    .spacer[b-gpyr8bzyx5] { display: none; }
}
/* /Pages/Data/DataUploads.razor.rz.scp.css */
.data-upload-page[b-7mfl6vfki7] {
    width: 100%;
    max-width: 100%;
    margin: 10px;
    padding-bottom: 96px;
    box-sizing: border-box;
    overflow: visible;
}

.data-upload-stage-one[b-7mfl6vfki7] {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
}

.data-source-select-host[b-7mfl6vfki7] {
    width: min(520px, 100%);
    max-width: 100%;
}

.data-source-select[b-7mfl6vfki7] {
    width: 100%;
}

.data-upload-stage-one-actions[b-7mfl6vfki7] {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    box-sizing: border-box;
}

.data-upload-stage-two[b-7mfl6vfki7] {
    width: 100%;
    min-width: 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
}

.data-upload-section[b-7mfl6vfki7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
}

.data-upload-info-card[b-7mfl6vfki7] {
    width: 100%;
    box-sizing: border-box;
}

.data-upload-mode-panel[b-7mfl6vfki7] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
}

.data-source-summary-card[b-7mfl6vfki7] {
    margin-top: 12px;
}

.data-upload-info-stack[b-7mfl6vfki7] {
    gap: 12px 18px;
}

.data-upload-grid-host[b-7mfl6vfki7] {
    width: 100%;
    height: clamp(260px, 42vh, 520px);
    min-height: 260px;
    max-height: 520px;
    min-width: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.data-upload-columns-grid[b-7mfl6vfki7] {
    height: 100%;
    max-height: 100%;
    min-height: 0;
}

[b-7mfl6vfki7] .data-upload-columns-grid {
    height: 100%;
    max-height: 100%;
    min-height: 0;
}

[b-7mfl6vfki7] .data-upload-columns-grid .dxbl-grid-container {
    height: 100%;
}

/* Plain div card, intentionally NOT FluentCard. FluentCard clips/breaks FluentDatePicker popup here. */
.data-period-card[b-7mfl6vfki7] {
    position: relative;
    z-index: 10000;
    overflow: visible;
    min-height: 136px;
    padding: 20px;
    border-radius: 4px;
    background: var(--neutral-layer-1, #ffffff);
    box-shadow: var(--elevation-shadow-card-rest, 0 2px 8px rgba(0, 0, 0, 0.14));
    border: 1px solid var(--neutral-stroke-layer-rest, rgba(0, 0, 0, 0.08));
}

    .data-period-card:focus-within[b-7mfl6vfki7] {
        z-index: 30000;
    }

.data-period-stack[b-7mfl6vfki7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: visible;
}

.data-period-grid[b-7mfl6vfki7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 280px));
    gap: 16px 28px;
    align-items: end;
    width: fit-content;
    max-width: 100%;
    position: relative;
    overflow: visible;
}

.data-period-field[b-7mfl6vfki7] {
    width: 220px;
    min-width: 220px;
    position: relative;
    overflow: visible;
}

.data-period-datepicker[b-7mfl6vfki7] {
    width: 220px;
    min-width: 220px;
    position: relative;
    z-index: 30010;
}

/* Fluent popup layering */
[b-7mfl6vfki7] fluent-datepicker {
    width: 220px;
    min-width: 220px;
    position: relative;
    z-index: 20020 !important;
}

[b-7mfl6vfki7] fluent-anchored-region,
[b-7mfl6vfki7] fluent-calendar,
[b-7mfl6vfki7] fluent-menu-list {
    z-index: 20050 !important;
}

/* Keep lower sections under the datepicker popup */
.data-upload-drop-host[b-7mfl6vfki7],
.selected-file-card[b-7mfl6vfki7],
.data-upload-actions[b-7mfl6vfki7] {
    position: relative;
    z-index: 1;
}

/* Upload area */
.data-upload-drop-host[b-7mfl6vfki7] {
    width: 100%;
    min-height: 160px;
    box-sizing: border-box;
    border: 1px dashed var(--accent-fill-rest, #00897b);
    background: var(--neutral-layer-1, #fafafa);
    overflow: hidden;
    position: relative;
}

.data-source-native-file-input[b-7mfl6vfki7] {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

[b-7mfl6vfki7] .data-source-native-file-input {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

.data-upload-drop-content[b-7mfl6vfki7] {
    min-height: 158px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.data-source-upload-button-like[b-7mfl6vfki7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 6px 2px;
    padding: 0 12px;
    border-radius: 4px;
    color: var(--accent-foreground-cut-rest, #ffffff);
    background: var(--accent-fill-rest, #0078d4);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.selected-file-card[b-7mfl6vfki7] {
    margin-top: 12px;
}

.data-upload-actions[b-7mfl6vfki7] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    isolation: isolate;
}

.data-upload-completed[b-7mfl6vfki7] {
    width: 100%;
    margin-top: 48px;
}

.data-upload-completed-description[b-7mfl6vfki7] {
    margin-top: 12px;
}

.data-upload-completed-actions[b-7mfl6vfki7] {
    margin-top: 24px;
}

/* FluentSelect dropdown */
[b-7mfl6vfki7] .data-source-select::part(listbox) {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 520px;
    max-width: min(720px, 90vw);
}

[b-7mfl6vfki7] .data-source-select fluent-option {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
    min-height: 32px;
}

@media (max-width: 720px) {
    .data-upload-page[b-7mfl6vfki7] {
        margin: 10px 0;
        padding: 0 8px 96px 8px;
        overflow: visible;
    }

    .data-upload-grid-host[b-7mfl6vfki7] {
        height: 320px;
    }

    .data-period-grid[b-7mfl6vfki7] {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .data-period-field[b-7mfl6vfki7],
    .data-period-datepicker[b-7mfl6vfki7] {
        width: 100%;
        min-width: 100%;
    }

    [b-7mfl6vfki7] fluent-datepicker {
        width: 100%;
        min-width: 100%;
    }

    .data-upload-actions[b-7mfl6vfki7] {
        flex-direction: column;
        align-items: stretch;
    }

    .data-upload-mode-panel[b-7mfl6vfki7] {
        flex-direction: column;
        align-items: flex-start;
    }

    [b-7mfl6vfki7] .data-source-select::part(listbox) {
        min-width: 100%;
        max-width: 90vw;
    }
}
.data-upload-loading-backdrop[b-7mfl6vfki7] {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.32);
    pointer-events: all;
}

.data-upload-loading-ring[b-7mfl6vfki7] {
    width: 48px;
    height: 48px;
}
/* /Pages/Data/PreviewDataSource.razor.rz.scp.css */
/* PreviewData drill value-column highlight UI v3 */

/* Also change the header template condition:
   @if (IsSummableNumericColumn(column.FieldName))
   to:
   @if (IsSummableNumericColumn(column.FieldName) && !IsHighlightedDrillColumn(column.FieldName))
   This removes the normal numeric sum header from the drill value column.
*/

.calculation-drill-header[b-fqj2gepchr] {
    display: flex;
    align-items: center;
    min-height: 28px;
    line-height: 1.18;
}

.calculation-drill-header-name[b-fqj2gepchr] {
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 620;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.calculation-drill-highlight-header[b-fqj2gepchr] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 42px;
    padding: 7px 8px 7px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f7fffd 0%, #eefdf8 100%);
    border: 1px solid #99f6e4;
    box-shadow: inset 3px 0 0 var(--app-accent-color);
}

.calculation-drill-value-chip[b-fqj2gepchr] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.calculation-drill-highlight-header .calculation-drill-header-name[b-fqj2gepchr] {
    color: #064e3b;
    font-size: 0.84rem;
    font-weight: 680;
}

.calculation-drill-highlight-cell[b-fqj2gepchr] {
    position: relative;
    display: block;
    min-height: 100%;
    margin: -4px -6px;
    padding: 6px 8px 6px 10px;
    border-left: 3px solid var(--app-accent-color);
    background: linear-gradient(90deg, rgba(204, 251, 241, 0.46) 0%, rgba(255, 255, 255, 0.98) 86%);
    color: #064e3b;
    font-weight: 620;
}

    .calculation-drill-highlight-cell[b-fqj2gepchr]::after {
        content: "";
        position: absolute;
        inset: 5px 6px 5px auto;
        width: 2px;
        border-radius: 999px;
        background: color-mix(in srgb, var(--app-accent-color) 16%, transparent);
    }

html[data-theme-mode="dark"] .calculation-drill-header-name[b-fqj2gepchr] {
    color: #e8edf5;
}

html[data-theme-mode="dark"] .calculation-drill-highlight-header[b-fqj2gepchr] {
    border-color: color-mix(in srgb, var(--app-accent-color) 58%, #454c58);
    background: linear-gradient(180deg, #263c39 0%, #243430 100%);
}

html[data-theme-mode="dark"] .calculation-drill-value-chip[b-fqj2gepchr] {
    background: #224d47;
    color: #8ce3d6;
}

html[data-theme-mode="dark"] .calculation-drill-highlight-header .calculation-drill-header-name[b-fqj2gepchr],
html[data-theme-mode="dark"] .calculation-drill-highlight-cell[b-fqj2gepchr] {
    color: #b8f3e8;
}

html[data-theme-mode="dark"] .calculation-drill-highlight-cell[b-fqj2gepchr] {
    background: linear-gradient(90deg, rgba(35, 94, 84, 0.5) 0%, rgba(38, 42, 49, 0.98) 86%);
}
/* /Pages/Notifications/NotificationCenter.razor.rz.scp.css */
.notification-center[b-pct2qozbgs] {
    --notification-accent: var(--app-accent-color, #00796e);
    --notification-blue: #3498db;
    --notification-orange: #e67e22;
    --notification-purple: #9b59b6;
    --notification-green: #16a085;
    --notification-red: #e74c3c;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 42%, #f4f6fb 100%);
    color: #172033;
}

.notification-center *[b-pct2qozbgs],
.notification-center *[b-pct2qozbgs]::before,
.notification-center *[b-pct2qozbgs]::after {
    box-sizing: border-box;
}

.notification-topbar[b-pct2qozbgs] {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, auto);
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.eyebrow[b-pct2qozbgs] {
    display: inline-flex;
    color: var(--notification-accent);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: uppercase;
}

.notification-topbar h1[b-pct2qozbgs],
.panel-header h2[b-pct2qozbgs] {
    margin: 6px 0 4px;
    color: #243245;
    letter-spacing: 0;
}

.notification-topbar h1[b-pct2qozbgs] {
    font-size: 2.2rem;
    line-height: 1.05;
}

.notification-topbar p[b-pct2qozbgs],
.panel-header p[b-pct2qozbgs] {
    margin: 0;
    color: #64748b;
}

.period-controls[b-pct2qozbgs],
.form-actions[b-pct2qozbgs],
.channel-actions[b-pct2qozbgs] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: end;
}

.notification-error[b-pct2qozbgs] {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    color: #991b1b;
    background: #fff1f2;
}

.summary-grid[b-pct2qozbgs] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.summary-card[b-pct2qozbgs],
.notification-panel[b-pct2qozbgs],
.channel-row[b-pct2qozbgs],
.event-row[b-pct2qozbgs] {
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.summary-card[b-pct2qozbgs] {
    display: grid;
    gap: 12px;
    min-height: 138px;
    padding: 16px;
}

.summary-card-head[b-pct2qozbgs] {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.summary-card-head span[b-pct2qozbgs] {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 760;
    text-transform: uppercase;
}

.summary-card-head strong[b-pct2qozbgs] {
    color: #172033;
    font-size: 1.8rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.summary-metrics[b-pct2qozbgs] {
    display: grid;
    gap: 6px;
}

.metric[b-pct2qozbgs] {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 720;
}

.metric.success[b-pct2qozbgs] {
    color: #047857;
    background: #d1fae5;
}

.metric.pending[b-pct2qozbgs] {
    color: #92400e;
    background: #fef3c7;
}

.metric.failed[b-pct2qozbgs] {
    color: #991b1b;
    background: #fee2e2;
}

.summary-card small[b-pct2qozbgs],
.channel-row small[b-pct2qozbgs],
.event-row small[b-pct2qozbgs] {
    color: #64748b;
}

.loading-card[b-pct2qozbgs],
.empty-state[b-pct2qozbgs] {
    display: grid;
    place-items: center;
    gap: 10px;
    color: #64748b;
}

.notification-layout[b-pct2qozbgs] {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 18px;
    align-items: start;
}

.notification-panel[b-pct2qozbgs] {
    min-width: 0;
    overflow: hidden;
    padding: 18px;
}

.panel-header[b-pct2qozbgs] {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    margin-bottom: 14px;
}

.event-list[b-pct2qozbgs],
.channel-list[b-pct2qozbgs],
.integration-form[b-pct2qozbgs] {
    display: grid;
    gap: 10px;
}

.event-row[b-pct2qozbgs] {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 12px;
    padding: 12px;
    box-shadow: none;
}

.event-row strong[b-pct2qozbgs],
.channel-row strong[b-pct2qozbgs] {
    display: block;
    color: #172033;
}

.event-row p[b-pct2qozbgs] {
    margin: 3px 0 5px;
    color: #334155;
}

.event-dot[b-pct2qozbgs] {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 999px;
    background: var(--notification-blue);
}

.event-dot.success[b-pct2qozbgs] {
    background: var(--notification-green);
}

.event-dot.warning[b-pct2qozbgs] {
    background: var(--notification-orange);
}

.event-dot.error[b-pct2qozbgs] {
    background: var(--notification-red);
}

.integration-form[b-pct2qozbgs] {
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #f8fafc;
    min-width: 0;
    overflow: hidden;
}

.edit-mode-banner[b-pct2qozbgs] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
    border-left: 3px solid var(--notification-accent);
    border-radius: 6px;
    background: rgba(0, 121, 110, 0.08);
    color: #172033;
}

.edit-mode-banner span[b-pct2qozbgs] {
    color: #475569;
    font-size: 0.84rem;
}

.edit-mode-banner strong[b-pct2qozbgs] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-grid[b-pct2qozbgs],
.preferences-grid[b-pct2qozbgs] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.preferences-grid[b-pct2qozbgs] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field[b-pct2qozbgs] {
    display: grid;
    min-width: 0;
    gap: 6px;
    align-content: start;
}

.form-field label[b-pct2qozbgs],
.switch-field label[b-pct2qozbgs] {
    color: #172033;
    font-size: 0.86rem;
    line-height: 1.25;
}

.webhook-hint[b-pct2qozbgs] {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
}

.preference-field label[b-pct2qozbgs] {
    min-height: 18px;
}

.switch-field[b-pct2qozbgs] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    margin: 2px 0;
}

.integration-form[b-pct2qozbgs]  fluent-text-field,
.integration-form[b-pct2qozbgs]  fluent-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.integration-form[b-pct2qozbgs]  fluent-text-field::part(root),
.integration-form[b-pct2qozbgs]  fluent-text-field::part(control),
.integration-form[b-pct2qozbgs]  fluent-select::part(root),
.integration-form[b-pct2qozbgs]  fluent-select::part(control) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.channel-list[b-pct2qozbgs] {
    margin-top: 14px;
}

.channel-row[b-pct2qozbgs] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    box-shadow: none;
}

.channel-row.is-editing[b-pct2qozbgs] {
    border-color: rgba(0, 121, 110, 0.42);
    background: rgba(0, 121, 110, 0.06);
}

.channel-row span[b-pct2qozbgs] {
    display: block;
    margin-top: 2px;
    color: #475569;
}

.empty-state[b-pct2qozbgs] {
    min-height: 160px;
    border: 1px dashed rgba(100, 116, 139, 0.28);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.86);
    text-align: center;
    padding: 18px;
}

@media (max-width: 1200px) {
    .summary-grid[b-pct2qozbgs] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notification-layout[b-pct2qozbgs],
    .notification-topbar[b-pct2qozbgs] {
        grid-template-columns: 1fr;
    }

    .preferences-grid[b-pct2qozbgs] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .notification-center[b-pct2qozbgs] {
        padding: 14px;
    }

    .summary-grid[b-pct2qozbgs],
    .form-grid[b-pct2qozbgs],
    .preferences-grid[b-pct2qozbgs] {
        grid-template-columns: 1fr;
    }

    .channel-row[b-pct2qozbgs] {
        grid-template-columns: 1fr;
    }

    .period-controls[b-pct2qozbgs] {
        align-items: stretch;
    }
}

html[data-theme-mode="dark"] .notification-center[b-pct2qozbgs] {
    background: linear-gradient(180deg, #1f2023 0%, #23272f 42%, #20242b 100%);
    color: #e8edf5;
}

html[data-theme-mode="dark"] .notification-topbar[b-pct2qozbgs],
html[data-theme-mode="dark"] .summary-card[b-pct2qozbgs],
html[data-theme-mode="dark"] .notification-panel[b-pct2qozbgs],
html[data-theme-mode="dark"] .channel-row[b-pct2qozbgs],
html[data-theme-mode="dark"] .event-row[b-pct2qozbgs] {
    border-color: #454c58;
    background: #262a31;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

html[data-theme-mode="dark"] .notification-topbar h1[b-pct2qozbgs],
html[data-theme-mode="dark"] .panel-header h2[b-pct2qozbgs],
html[data-theme-mode="dark"] .summary-card-head strong[b-pct2qozbgs],
html[data-theme-mode="dark"] .event-row strong[b-pct2qozbgs],
html[data-theme-mode="dark"] .channel-row strong[b-pct2qozbgs],
html[data-theme-mode="dark"] .form-field label[b-pct2qozbgs],
html[data-theme-mode="dark"] .switch-field label[b-pct2qozbgs],
html[data-theme-mode="dark"] .edit-mode-banner[b-pct2qozbgs] {
    color: #f5f7fa;
}

html[data-theme-mode="dark"] .notification-topbar p[b-pct2qozbgs],
html[data-theme-mode="dark"] .panel-header p[b-pct2qozbgs],
html[data-theme-mode="dark"] .summary-card-head span[b-pct2qozbgs],
html[data-theme-mode="dark"] .summary-card small[b-pct2qozbgs],
html[data-theme-mode="dark"] .channel-row small[b-pct2qozbgs],
html[data-theme-mode="dark"] .event-row small[b-pct2qozbgs],
html[data-theme-mode="dark"] .loading-card[b-pct2qozbgs],
html[data-theme-mode="dark"] .empty-state[b-pct2qozbgs],
html[data-theme-mode="dark"] .webhook-hint[b-pct2qozbgs] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .event-row p[b-pct2qozbgs],
html[data-theme-mode="dark"] .edit-mode-banner span[b-pct2qozbgs],
html[data-theme-mode="dark"] .channel-row span[b-pct2qozbgs] {
    color: #c7d0de;
}

html[data-theme-mode="dark"] .integration-form[b-pct2qozbgs],
html[data-theme-mode="dark"] .empty-state[b-pct2qozbgs] {
    border-color: #454c58;
    background: #2d333e;
}

html[data-theme-mode="dark"] .edit-mode-banner[b-pct2qozbgs],
html[data-theme-mode="dark"] .channel-row.is-editing[b-pct2qozbgs] {
    border-color: color-mix(in srgb, var(--notification-accent) 62%, #454c58);
    background: color-mix(in srgb, var(--notification-accent) 16%, #2d333e);
}

html[data-theme-mode="dark"] .notification-error[b-pct2qozbgs] {
    border-color: #8f4b55;
    background: #3b252b;
    color: #ffb4bd;
}

html[data-theme-mode="dark"] .metric.success[b-pct2qozbgs] {
    background: rgba(22, 163, 74, 0.2);
    color: #86efac;
}

html[data-theme-mode="dark"] .metric.pending[b-pct2qozbgs] {
    background: rgba(217, 119, 6, 0.2);
    color: #fcd34d;
}

html[data-theme-mode="dark"] .metric.failed[b-pct2qozbgs] {
    background: rgba(225, 29, 72, 0.2);
    color: #fda4af;
}
/* /Pages/Settings/Administrative/Contexts/CompaniesAssignmentEdit.razor.rz.scp.css */
.companies-assignment-dialog-body[b-kzeb6lv3cx] {
    padding: 20px;
    width: min(640px, 100%);
}

[b-kzeb6lv3cx] .companies-assignment-user-autocomplete {
    position: relative;
    overflow: visible;
}

[b-kzeb6lv3cx] .companies-assignment-user-autocomplete::part(positioning-region),
[b-kzeb6lv3cx] .companies-assignment-user-autocomplete::part(listbox) {
    max-height: 260px !important;
    min-width: 520px;
    max-width: min(720px, 90vw);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
}

[b-kzeb6lv3cx] .companies-assignment-user-autocomplete fluent-option {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
    min-height: 32px;
}

@media (max-width: 720px) {
    .companies-assignment-dialog-body[b-kzeb6lv3cx] {
        padding: 16px 12px;
        width: 100%;
    }

    [b-kzeb6lv3cx] .companies-assignment-user-autocomplete::part(positioning-region),
    [b-kzeb6lv3cx] .companies-assignment-user-autocomplete::part(listbox) {
        min-width: min(320px, 90vw);
    }
}
/* /Pages/Settings/Administrative/HealthChecks.razor.rz.scp.css */
.health-page[b-nc3ajyyotv] {
    min-height: 100%;
    padding: 24px;
    color: #111827;
    background: #f7f8fb;
}

.health-header[b-nc3ajyyotv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d8dee8;
}

.health-header h3[b-nc3ajyyotv] {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
}

.health-header p[b-nc3ajyyotv] {
    margin: 6px 0 0;
    color: #5b6472;
}

.health-loading[b-nc3ajyyotv],
.health-error[b-nc3ajyyotv] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
}

.health-error[b-nc3ajyyotv] {
    display: grid;
    color: #991b1b;
    border-color: #fecdd3;
    background: #fff1f2;
}

.health-summary[b-nc3ajyyotv] {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.health-summary-item[b-nc3ajyyotv] {
    display: grid;
    gap: 8px;
    min-height: 86px;
    padding: 14px 16px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
}

.health-summary-item span[b-nc3ajyyotv] {
    color: #5b6472;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.health-summary-item strong[b-nc3ajyyotv] {
    align-self: end;
    font-size: 1.15rem;
}

.health-table-shell[b-nc3ajyyotv] {
    overflow-x: auto;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
}

.health-table[b-nc3ajyyotv] {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

.health-table th[b-nc3ajyyotv],
.health-table td[b-nc3ajyyotv] {
    padding: 12px 14px;
    border-bottom: 1px solid #e7ebf1;
    text-align: left;
    vertical-align: top;
}

.health-table th[b-nc3ajyyotv] {
    color: #4b5563;
    background: #f1f5f9;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.health-table tbody tr:last-child td[b-nc3ajyyotv] {
    border-bottom: 0;
}

.check-name[b-nc3ajyyotv] {
    font-weight: 700;
}

.status-pill[b-nc3ajyyotv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill.healthy[b-nc3ajyyotv] {
    color: #065f46;
    background: #d1fae5;
}

.status-pill.degraded[b-nc3ajyyotv] {
    color: #92400e;
    background: #fef3c7;
}

.status-pill.unhealthy[b-nc3ajyyotv] {
    color: #991b1b;
    background: #fee2e2;
}

.status-pill.unknown[b-nc3ajyyotv] {
    color: #374151;
    background: #e5e7eb;
}

.check-error[b-nc3ajyyotv] {
    display: block;
    margin-top: 6px;
    color: #991b1b;
    font-size: 0.88rem;
}

.health-data[b-nc3ajyyotv] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.health-data span[b-nc3ajyyotv] {
    display: inline-flex;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 6px;
    color: #1f2937;
    background: #eef2ff;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.latarnia-messages[b-nc3ajyyotv] {
    display: grid;
    gap: 8px;
}

.latarnia-message[b-nc3ajyyotv] {
    display: grid;
    gap: 5px;
    max-width: 760px;
    padding: 10px 12px;
    border: 1px solid #fecdd3;
    border-left: 4px solid #e11d48;
    border-radius: 6px;
    color: #3f1d1d;
    background: #fff7f7;
    font-size: 0.9rem;
    line-height: 1.35;
}

.latarnia-message strong[b-nc3ajyyotv] {
    color: #991b1b;
    font-size: 0.94rem;
}

.latarnia-message-time[b-nc3ajyyotv] {
    color: #6b2932;
    font-size: 0.82rem;
    font-weight: 700;
}

.muted[b-nc3ajyyotv] {
    color: #6b7280;
}

@media (max-width: 760px) {
    .health-page[b-nc3ajyyotv] {
        padding: 16px;
    }

    .health-header[b-nc3ajyyotv] {
        align-items: stretch;
        flex-direction: column;
    }

    .health-summary[b-nc3ajyyotv] {
        grid-template-columns: 1fr;
    }
}

html[data-theme-mode="dark"] .health-page[b-nc3ajyyotv] {
    color: #e8edf5;
    background: #1f2023;
}

html[data-theme-mode="dark"] .health-header[b-nc3ajyyotv] {
    border-color: #454c58;
}

html[data-theme-mode="dark"] .health-header p[b-nc3ajyyotv],
html[data-theme-mode="dark"] .health-summary-item span[b-nc3ajyyotv],
html[data-theme-mode="dark"] .muted[b-nc3ajyyotv] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .health-loading[b-nc3ajyyotv],
html[data-theme-mode="dark"] .health-summary-item[b-nc3ajyyotv],
html[data-theme-mode="dark"] .health-table-shell[b-nc3ajyyotv] {
    border-color: #454c58;
    background: #262a31;
}

html[data-theme-mode="dark"] .health-table th[b-nc3ajyyotv],
html[data-theme-mode="dark"] .health-table td[b-nc3ajyyotv] {
    border-color: #3f4653;
}

html[data-theme-mode="dark"] .health-table th[b-nc3ajyyotv] {
    color: #dbe4f1;
    background: #2f3540;
}

html[data-theme-mode="dark"] .health-error[b-nc3ajyyotv] {
    color: #ffb4bd;
    border-color: #8f4b55;
    background: #3b252b;
}

html[data-theme-mode="dark"] .status-pill.healthy[b-nc3ajyyotv] {
    color: #86efac;
    background: rgba(22, 163, 74, 0.2);
}

html[data-theme-mode="dark"] .status-pill.degraded[b-nc3ajyyotv] {
    color: #fcd34d;
    background: rgba(217, 119, 6, 0.2);
}

html[data-theme-mode="dark"] .status-pill.unhealthy[b-nc3ajyyotv] {
    color: #fda4af;
    background: rgba(225, 29, 72, 0.2);
}

html[data-theme-mode="dark"] .status-pill.unknown[b-nc3ajyyotv] {
    color: #cbd5e1;
    background: #3b4350;
}

html[data-theme-mode="dark"] .check-error[b-nc3ajyyotv],
html[data-theme-mode="dark"] .latarnia-message strong[b-nc3ajyyotv] {
    color: #ffb4bd;
}

html[data-theme-mode="dark"] .health-data span[b-nc3ajyyotv] {
    color: #dbeafe;
    background: #30394c;
}

html[data-theme-mode="dark"] .latarnia-message[b-nc3ajyyotv] {
    color: #f5d4d8;
    border-color: #8f4b55;
    border-left-color: #fb7185;
    background: #3b252b;
}

html[data-theme-mode="dark"] .latarnia-message-time[b-nc3ajyyotv] {
    color: #f3aab4;
}
/* /Pages/Settings/CalculationSettings/CalculationsDefinitions.razor.rz.scp.css */
.calculation-definitions-page[b-jnsq17zggv] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 96px;
}

.calculation-definitions-toolbar-card[b-jnsq17zggv],
.calculation-definitions-grid-card[b-jnsq17zggv] {
    width: 100%;
    box-sizing: border-box;
}

.calculation-definitions-toolbar[b-jnsq17zggv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.calculation-definitions-actions[b-jnsq17zggv] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.calculation-definitions-filter-shell[b-jnsq17zggv] {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.calculation-definitions-filter-grid[b-jnsq17zggv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px 20px;
    flex: 1 1 auto;
    min-width: 0;
}

.calculation-definition-filter-field[b-jnsq17zggv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.calculation-definition-filter-input-row[b-jnsq17zggv],
.calculation-definition-date-row[b-jnsq17zggv],
.calculation-definition-deleted-filter-row[b-jnsq17zggv] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.calculation-definition-filter-input-row[b-jnsq17zggv] {
    flex-wrap: wrap;
}

.calculation-definition-filter-input-row > fluent-autocomplete[b-jnsq17zggv],
.calculation-definition-filter-input-row > fluent-select[b-jnsq17zggv] {
    flex: 1 1 220px;
    min-width: min(200px, 100%);
}

.calculation-definition-date-row[b-jnsq17zggv],
.calculation-definition-deleted-filter-row[b-jnsq17zggv] {
    flex-wrap: wrap;
}

.calculation-definition-date-row > fluent-date-picker[b-jnsq17zggv],
.calculation-definition-date-row > fluent-datepicker[b-jnsq17zggv],
.calculation-definition-deleted-filter-row > fluent-date-picker[b-jnsq17zggv],
.calculation-definition-deleted-filter-row > fluent-datepicker[b-jnsq17zggv] {
    flex: 1 1 160px;
    min-width: min(160px, 100%);
}

.calculation-definition-deleted-filter-row > fluent-switch[b-jnsq17zggv] {
    flex: 0 1 auto;
}

.calculation-definition-filter-caption[b-jnsq17zggv] {
    color: var(--neutral-foreground-hint, #64748b);
}

.calculation-definitions-filter-buttons[b-jnsq17zggv] {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 8px;
}

.calculation-definitions-grid[b-jnsq17zggv] {
    height: 64vh;
    min-height: 420px;
}

@media (max-width: 1180px) {
    .calculation-definitions-filter-shell[b-jnsq17zggv] {
        flex-direction: column;
    }

    .calculation-definitions-filter-grid[b-jnsq17zggv],
    .calculation-definitions-filter-buttons[b-jnsq17zggv] {
        width: 100%;
    }

    .calculation-definitions-filter-buttons[b-jnsq17zggv] {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
/* /Pages/Settings/CalculationSettings/CalculationsDefinitionsEdit.razor.rz.scp.css */
.calculation-editor-page[b-dssgqibhox] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
}

.calculation-editor-card[b-dssgqibhox] {
    padding: 16px;
    border-radius: 16px;
}

.calculation-definition-form[b-dssgqibhox] {
    display: grid;
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) minmax(150px, 230px) minmax(240px, 360px);
    gap: 14px 18px;
    align-items: center;
}

.required-star[b-dssgqibhox] {
    color: #C62747;
}

.description-label[b-dssgqibhox] {
    align-self: start;
    padding-top: 8px;
}

.description-input[b-dssgqibhox] {
    grid-column: 2 / -1;
    width: 100%;
    min-height: 92px;
}

.calculation-card-header[b-dssgqibhox],
.calculation-subheader[b-dssgqibhox] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.calculation-card-hint[b-dssgqibhox] {
    color: #64748b;
    font-size: 0.84rem;
    margin-top: 2px;
}

.calculation-inline-actions[b-dssgqibhox] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.calculation-structure-card[b-dssgqibhox] {
    overflow: hidden;
}

.calculation-matrix-shell[b-dssgqibhox] {
    width: 100%;
    overflow: auto;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    max-height: 58vh;
}

.calculation-matrix[b-dssgqibhox] {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
    background: white;
}

    .calculation-matrix th[b-dssgqibhox],
    .calculation-matrix td[b-dssgqibhox] {
        border-bottom: 1px solid #e2e8f0;
        border-right: 1px solid #e2e8f0;
        vertical-align: top;
    }

.calculation-row-header[b-dssgqibhox] {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 320px;
    width: 360px;
    background: #f8fafc;
    text-align: left;
    padding: 14px;
}

.calculation-column-header[b-dssgqibhox] {
    min-width: 300px;
    background: #f8fafc;
    text-align: left;
    padding: 10px;
}

.calculation-column-title[b-dssgqibhox] {
    font-weight: 700;
    color: #0f172a;
}

.calculation-column-key[b-dssgqibhox] {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 2px;
}

.calculation-cell-actions[b-dssgqibhox] {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 6px;
}

.calculation-row-cell[b-dssgqibhox] {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    min-width: 320px;
    width: 360px;
}

.calculation-row-content[b-dssgqibhox] {
    padding: 10px;
}

.calculation-row-actions[b-dssgqibhox] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.calculation-badge[b-dssgqibhox] {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    margin-left: 6px;
    white-space: nowrap;
}

.calculation-component-cell[b-dssgqibhox] {
    padding: 8px;
    min-width: 300px;
}

.calculation-component-button[b-dssgqibhox] {
    width: 100%;
    min-height: 62px;
    border: 1px dashed var(--app-accent-color);
    background: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #0f172a;
}

    .calculation-component-button:hover[b-dssgqibhox] {
        background: #f0fdfa;
    }

    .calculation-component-button small[b-dssgqibhox] {
        color: #64748b;
    }

.calculation-editor-actions[b-dssgqibhox] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 0;
    background: color-mix(in srgb, white 88%, transparent);
    backdrop-filter: blur(8px);
}

@media (max-width: 1100px) {
    .calculation-definition-form[b-dssgqibhox] {
        grid-template-columns: 1fr;
    }

    .description-input[b-dssgqibhox] {
        grid-column: auto;
    }
}

.calculation-component-button-disabled[b-dssgqibhox] {
    cursor: default;
    border-style: solid;
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569;
}

    .calculation-component-button-disabled:hover[b-dssgqibhox] {
        background: #f8fafc;
    }


.calculation-row-actions[b-dssgqibhox],
.calculation-cell-actions[b-dssgqibhox] {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

    .calculation-row-actions fluent-button[b-dssgqibhox],
    .calculation-cell-actions fluent-button[b-dssgqibhox] {
        min-width: 32px;
    }

.calculation-badge[b-dssgqibhox] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.78rem;
    line-height: 1.2;
}

.calculation-component-button-disabled[b-dssgqibhox] {
    cursor: default;
    border-style: solid;
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569;
}

    .calculation-component-button-disabled:hover[b-dssgqibhox] {
        background: #f8fafc;
    }

.calculation-inline-actions fluent-button:first-child[b-dssgqibhox] {
    --accent-fill-rest: #ffffff;
}

.calculation-inline-actions fluent-button:nth-child(2)[b-dssgqibhox] {
    --accent-fill-rest: #ffffff;
}

.calculation-component-button[b-dssgqibhox] {
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.calculation-component-button-empty[b-dssgqibhox] {
    background: #fffaf0;
    border-color: #f59e0b;
    color: #92400e;
}

    .calculation-component-button-empty:hover[b-dssgqibhox] {
        background: #fffbeb;
        border-color: #d97706;
    }

.calculation-component-button-defined[b-dssgqibhox] {
    background: #ffffff;
    border-color: var(--app-accent-color);
}

    .calculation-component-button-defined:hover[b-dssgqibhox] {
        background: #f0fdfa;
    }

.calculation-component-summary[b-dssgqibhox],
.calculation-component-empty[b-dssgqibhox] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
}

.calculation-component-icon[b-dssgqibhox] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.calculation-component-icon-define[b-dssgqibhox] {
    background: #fef3c7;
    color: #92400e;
}

.calculation-component-button small[b-dssgqibhox] {
    max-width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-theme-mode="dark"] .calculation-editor-card[b-dssgqibhox] {
    background: #262a31;
    border: 1px solid #3f4653;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

html[data-theme-mode="dark"] .calculation-card-hint[b-dssgqibhox],
html[data-theme-mode="dark"] .calculation-column-key[b-dssgqibhox],
html[data-theme-mode="dark"] .calculation-component-button small[b-dssgqibhox] {
    color: #b9c4d6;
}

html[data-theme-mode="dark"] .calculation-column-title[b-dssgqibhox] {
    color: #f5f7fa;
}

html[data-theme-mode="dark"] .calculation-matrix-shell[b-dssgqibhox] {
    border-color: #3f4653;
    background: #23272f;
}

html[data-theme-mode="dark"] .calculation-matrix[b-dssgqibhox] {
    background: #252a33;
}

html[data-theme-mode="dark"] .calculation-matrix th[b-dssgqibhox],
html[data-theme-mode="dark"] .calculation-matrix td[b-dssgqibhox] {
    border-bottom-color: #3f4653;
    border-right-color: #3f4653;
}

html[data-theme-mode="dark"] .calculation-row-header[b-dssgqibhox],
html[data-theme-mode="dark"] .calculation-column-header[b-dssgqibhox] {
    background: #2f3540;
}

html[data-theme-mode="dark"] .calculation-row-cell[b-dssgqibhox] {
    background: #262a31;
}

html[data-theme-mode="dark"] .calculation-badge[b-dssgqibhox] {
    background: #184157;
    color: #90dcff;
}

html[data-theme-mode="dark"] .calculation-component-button[b-dssgqibhox] {
    background: #242931;
    color: #e8edf5;
}

html[data-theme-mode="dark"] .calculation-component-button:hover[b-dssgqibhox] {
    background: #1f3438;
}

html[data-theme-mode="dark"] .calculation-component-button-disabled[b-dssgqibhox] {
    border-color: #4b5464;
    background: #2d333e;
    color: #8f9bad;
}

html[data-theme-mode="dark"] .calculation-component-button-disabled:hover[b-dssgqibhox] {
    background: #2d333e;
}

html[data-theme-mode="dark"] .calculation-component-button-empty[b-dssgqibhox] {
    background: #3a3122;
    border-color: #c28a2b;
    color: #ffd79a;
}

html[data-theme-mode="dark"] .calculation-component-button-empty:hover[b-dssgqibhox] {
    background: #453823;
    border-color: #d19a3e;
}

html[data-theme-mode="dark"] .calculation-component-button-defined[b-dssgqibhox] {
    background: #242931;
    border-color: var(--app-accent-color);
}

html[data-theme-mode="dark"] .calculation-component-button-defined:hover[b-dssgqibhox] {
    background: #1f3438;
}

html[data-theme-mode="dark"] .calculation-component-icon[b-dssgqibhox] {
    background: #184157;
    color: #90dcff;
}

html[data-theme-mode="dark"] .calculation-component-icon-define[b-dssgqibhox] {
    background: #5a4522;
    color: #ffd79a;
}

html[data-theme-mode="dark"] .calculation-editor-actions[b-dssgqibhox] {
    background: color-mix(in srgb, #1f2023 92%, transparent);
}
/* /Pages/Settings/CalculationSettings/Dialogs/CalculationColumnEditDialog.razor.rz.scp.css */
.calculation-column-dialog[b-ijh2cd0w0f] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calculation-column-grid[b-ijh2cd0w0f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px 16px;
    align-items: end;
}

.calculation-native-input[b-ijh2cd0w0f],
.calculation-native-select[b-ijh2cd0w0f] {
    width: 100%;
    min-height: 32px;
    box-sizing: border-box;
}

.calculation-column-footer[b-ijh2cd0w0f] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 700px) {
    .calculation-column-grid[b-ijh2cd0w0f] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Settings/CalculationSettings/Dialogs/CalculationComponentEditDialog.razor.rz.scp.css */
/* CalculationComponentEditDialog.razor.css - V5
   This version assumes the Razor uses normal div sections instead of FluentCard wrappers.
   The visual card look is preserved here, but FluentCard's internal stacking/clipping is removed. */

.calc-component-dialog[b-ado7qau5tn] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: visible !important;
    position: relative;
    isolation: auto !important;
    contain: none !important;
}

.calc-section-base[b-ado7qau5tn] {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.14);
    overflow: visible !important;
    contain: none !important;
    position: relative;
}

.calc-section-main[b-ado7qau5tn] {
    z-index: 700;
}

.calc-section-offsets[b-ado7qau5tn] {
    z-index: 600;
}

.calc-conditions-section[b-ado7qau5tn] {
    z-index: 500;
}

.calc-postings-section[b-ado7qau5tn] {
    z-index: 400;
}

.calc-section-base:focus-within[b-ado7qau5tn],
.calc-condition-group:focus-within[b-ado7qau5tn],
.calc-field:focus-within[b-ado7qau5tn],
.calc-select-layer:focus-within[b-ado7qau5tn] {
    z-index: 2147483647 !important;
    overflow: visible !important;
    contain: none !important;
}

.calc-dialog-grid[b-ado7qau5tn],
.calc-field-grid[b-ado7qau5tn] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 18px;
    align-items: end;
    overflow: visible !important;
    position: relative;
}

.calc-offset-grid[b-ado7qau5tn] {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 12px;
}

.calc-postings-grid[b-ado7qau5tn] {
    margin-top: 12px;
}

.calc-field[b-ado7qau5tn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    overflow: visible !important;
    position: relative;
}

.calc-switch-field[b-ado7qau5tn] {
    justify-content: end;
    min-height: 58px;
}

.calc-section-header[b-ado7qau5tn],
.calc-condition-group-header[b-ado7qau5tn] {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    overflow: visible !important;
    position: relative;
}

.calc-group-name-field[b-ado7qau5tn] {
    width: 240px;
}

.calc-group-operator-field[b-ado7qau5tn] {
    width: 240px;
}

.calc-main-join-field[b-ado7qau5tn] {
    width: 280px;
}

.calc-dialog-help[b-ado7qau5tn] {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.35;
    margin-top: 4px;
}

.calc-main-condition-row[b-ado7qau5tn] {
    margin-bottom: 12px;
}

.calc-condition-group[b-ado7qau5tn] {
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    padding: 14px;
    margin-top: 12px;
    overflow: visible !important;
    background: #fbfdff;
    position: relative;
    contain: none !important;
}

.calc-condition-list[b-ado7qau5tn] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible !important;
}

.calc-condition-row[b-ado7qau5tn] {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(175px, 0.75fr) minmax(260px, 1fr) 44px;
    gap: 10px;
    align-items: end;
    overflow: visible !important;
    position: relative;
}

.calc-condition-remove-field[b-ado7qau5tn] {
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 1px;
}

.calc-empty-state[b-ado7qau5tn] {
    color: #64748b;
    padding: 10px 0;
    font-size: 0.9rem;
}

    .calc-empty-state.compact[b-ado7qau5tn] {
        padding: 4px 0;
    }

.calc-dialog-error[b-ado7qau5tn] {
    color: #C62747;
    font-weight: 600;
    white-space: pre-wrap;
}

[b-ado7qau5tn] .calc-component-dialog fluent-select,
[b-ado7qau5tn] .calc-component-dialog fluent-text-field,
[b-ado7qau5tn] .calc-component-dialog fluent-number-field {
    width: 100%;
    min-width: 0;
}

.calc-select-layer[b-ado7qau5tn] {
    width: 100%;
    min-width: 0;
    overflow: visible !important;
    position: relative;
    z-index: 50;
    contain: none !important;
}

    .calc-field-select:focus-within[b-ado7qau5tn],
    .calc-select-layer:focus-within[b-ado7qau5tn] {
        z-index: 2147483647 !important;
        overflow: visible !important;
        contain: none !important;
    }

.calc-layer-aggregate[b-ado7qau5tn] {
    z-index: 900;
}

.calc-layer-value-column[b-ado7qau5tn] {
    z-index: 880;
}

.calc-select-layer-condition[b-ado7qau5tn] {
    z-index: 760;
}

.calc-layer-posting[b-ado7qau5tn] {
    z-index: 650;
}

[b-ado7qau5tn] fluent-select.calc-component-select {
    position: relative !important;
    z-index: inherit !important;
    overflow: visible !important;
    contain: none !important;
}

    [b-ado7qau5tn] fluent-select.calc-component-select::part(positioning-region),
    [b-ado7qau5tn] fluent-select.calc-component-select::part(listbox),
    [b-ado7qau5tn] .calc-component-select::part(positioning-region),
    [b-ado7qau5tn] .calc-component-select::part(listbox) {
        z-index: 2147483647 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

[b-ado7qau5tn] fluent-select.calc-component-select-scroll::part(positioning-region),
[b-ado7qau5tn] fluent-select.calc-component-select-scroll::part(listbox),
[b-ado7qau5tn] .calc-component-select-scroll::part(positioning-region),
[b-ado7qau5tn] .calc-component-select-scroll::part(listbox) {
    max-height: 260px !important;
    overflow-y: auto !important;
}

[b-ado7qau5tn] fluent-select.calc-component-select-short::part(positioning-region),
[b-ado7qau5tn] fluent-select.calc-component-select-short::part(listbox),
[b-ado7qau5tn] .calc-component-select-short::part(positioning-region),
[b-ado7qau5tn] .calc-component-select-short::part(listbox) {
    max-height: 210px !important;
    overflow-y: auto !important;
}

@media (max-width: 1180px) {
    .calc-condition-row[b-ado7qau5tn] {
        grid-template-columns: minmax(220px, 1fr) minmax(165px, 0.7fr) minmax(220px, 1fr) 44px;
    }
}

@media (max-width: 980px) {
    .calc-dialog-grid[b-ado7qau5tn],
    .calc-field-grid[b-ado7qau5tn],
    .calc-offset-grid[b-ado7qau5tn],
    .calc-condition-row[b-ado7qau5tn] {
        grid-template-columns: 1fr;
    }

    .calc-condition-remove-field[b-ado7qau5tn] {
        justify-content: flex-start;
    }

    .calc-group-name-field[b-ado7qau5tn],
    .calc-group-operator-field[b-ado7qau5tn],
    .calc-main-join-field[b-ado7qau5tn] {
        width: 100%;
    }
}

html[data-theme-mode="dark"] .calc-section-base[b-ado7qau5tn] {
    border-color: #424b5a;
    background: #2b3038;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

html[data-theme-mode="dark"] .calc-dialog-help[b-ado7qau5tn],
html[data-theme-mode="dark"] .calc-empty-state[b-ado7qau5tn] {
    color: #b7c2d4;
}

html[data-theme-mode="dark"] .calc-condition-group[b-ado7qau5tn] {
    border-color: #424b5a;
    background: #252b34;
}
/* /Pages/Settings/CalculationSettings/Dialogs/CalculationRowEditDialog.razor.rz.scp.css */
.calculation-row-dialog[b-0oytb3xuqe] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calculation-row-grid[b-0oytb3xuqe],
.calculation-row-formula-grid[b-0oytb3xuqe] {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px 16px;
    align-items: end;
}

.calculation-native-input[b-0oytb3xuqe],
.calculation-native-select[b-0oytb3xuqe] {
    width: 100%;
    min-height: 32px;
    box-sizing: border-box;
}

.calculation-row-formula-card[b-0oytb3xuqe] {
    width: 100%;
    box-sizing: border-box;
}

.calculation-row-help[b-0oytb3xuqe] {
    display: block;
    margin-top: 10px;
    color: #64748b;
    line-height: 1.35;
}

.calculation-row-footer[b-0oytb3xuqe] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 700px) {
    .calculation-row-grid[b-0oytb3xuqe],
    .calculation-row-formula-grid[b-0oytb3xuqe] {
        grid-template-columns: 1fr;
    }
}

html[data-theme-mode="dark"] .calculation-row-help[b-0oytb3xuqe] {
    color: #b7c2d4;
}
/* /Pages/Settings/IC/Emails/EmailTemplateEdit.razor.rz.scp.css */
.email-template-page-shell[b-du7rg32ng7] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 12px 24px;
    min-width: 0;
}

.email-template-page-header[b-du7rg32ng7] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.email-template-page-title[b-du7rg32ng7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-template-page-section[b-du7rg32ng7] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid #d9dde6;
    border-radius: 12px;
    background: #fff;
    min-width: 0;
}

.email-template-editor-page-section[b-du7rg32ng7] {
    overflow: visible;
}

.email-template-editor-panel[b-du7rg32ng7] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.email-template-actions[b-du7rg32ng7] {
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.email-template-translations-list[b-du7rg32ng7] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-template-error-banner[b-du7rg32ng7] {
    padding: 12px 16px;
    border: 1px solid rgba(231, 76, 60, 0.35);
    border-radius: 10px;
    background: rgba(231, 76, 60, 0.08);
}

.email-template-editor-surface[b-du7rg32ng7] {
    min-height: 680px;
    height: calc(100vh - 320px);
    max-height: 960px;
    overflow: hidden;
}

html[data-theme-mode="dark"] .email-template-page-section[b-du7rg32ng7] {
    border-color: #454c58;
    background: #262a31;
    color: #e8edf5;
}

html[data-theme-mode="dark"] .email-template-error-banner[b-du7rg32ng7] {
    border-color: #8f4b55;
    background: #3b252b;
    color: #ffb4bd;
}

@media (max-width: 960px) {
    .email-template-page-shell[b-du7rg32ng7] {
        padding-inline: 4px;
    }

    .email-template-editor-surface[b-du7rg32ng7] {
        min-height: 560px;
        height: calc(100vh - 280px);
    }
}
/* /Pages/Settings/MonthClosure/MonthClosureSettings.razor.rz.scp.css */
.month-closure-settings[b-0j28osvg9d] {
    --month-closure-select-dropdown-space: 232px;
    min-height: 100vh;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    color: #111827;
    overflow: visible !important;
    contain: none !important;
}

.settings-header[b-0j28osvg9d] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.settings-header h1[b-0j28osvg9d] {
    margin: 4px 0 6px;
    font-size: 1.9rem;
    color: #14332f;
}

.settings-header p[b-0j28osvg9d],
.panel-title p[b-0j28osvg9d] {
    margin: 0;
    color: #64748b;
}

.section-label[b-0j28osvg9d] {
    color: var(--app-accent-color, #00796e);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-panel[b-0j28osvg9d] {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    overflow: visible !important;
    contain: none !important;
    position: relative;
    z-index: 1;
}

.add-requirement-shell[b-0j28osvg9d] {
    overflow: visible !important;
    contain: none !important;
    position: relative;
    z-index: 2147483000;
}

.add-requirement-panel[b-0j28osvg9d] {
    align-content: start;
    z-index: 40;
}

.month-closure-settings[b-0j28osvg9d]  .settings-panel {
    overflow: visible !important;
    contain: none !important;
    height: auto !important;
}

.add-requirement-panel:focus-within[b-0j28osvg9d] {
    z-index: 2147483400;
}

.month-closure-settings[b-0j28osvg9d]  .add-requirement-panel:focus-within {
    z-index: 2147483400;
}

.procedure-panel[b-0j28osvg9d] {
    z-index: 1;
}

.loading-panel[b-0j28osvg9d] {
    min-height: 220px;
    place-items: center;
    color: #64748b;
}

.panel-title[b-0j28osvg9d] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.panel-title h2[b-0j28osvg9d] {
    margin: 0 0 4px;
    font-size: 1.08rem;
    color: #14332f;
}

.requirement-form[b-0j28osvg9d] {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(260px, 1.45fr) minmax(180px, 0.9fr) minmax(120px, 0.45fr) minmax(130px, auto);
    gap: 12px;
    align-items: end;
    overflow: visible !important;
    contain: none !important;
    position: relative;
    z-index: 50;
}

.select-field[b-0j28osvg9d],
.native-field[b-0j28osvg9d] {
    display: grid;
    gap: 4px;
    font-size: 0.84rem;
    color: #475569;
    min-width: 0;
    overflow: visible !important;
    contain: none !important;
    position: relative;
}

.select-layer-type[b-0j28osvg9d] {
    z-index: 180;
}

.select-layer-source[b-0j28osvg9d] {
    z-index: 170;
}

.select-layer-frequency[b-0j28osvg9d] {
    z-index: 160;
}

.select-field > span[b-0j28osvg9d],
.native-field > span[b-0j28osvg9d] {
    min-height: 20px;
    font-weight: 650;
}

.requirement-form[b-0j28osvg9d]  fluent-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.requirement-form[b-0j28osvg9d]  .month-closure-select {
    position: relative !important;
    z-index: inherit;
    width: 100%;
    overflow: visible !important;
    contain: none !important;
}

.requirement-form[b-0j28osvg9d]  .month-closure-select:focus-within {
    z-index: 2147483450;
}

.requirement-form[b-0j28osvg9d]  .month-closure-select::part(control) {
    position: relative;
    z-index: 2;
}

.requirement-form[b-0j28osvg9d]  .month-closure-select::part(listbox),
.requirement-form[b-0j28osvg9d]  .month-closure-select::part(positioning-region) {
    z-index: 2147483600;
    max-height: min(34vh, 220px);
    min-width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@supports selector(:has(*)) {
    .month-closure-settings[b-0j28osvg9d]  .add-requirement-panel:has(.select-field:focus-within) {
        padding-bottom: calc(18px + var(--month-closure-select-dropdown-space));
    }
}

.native-field input[b-0j28osvg9d] {
    width: 100%;
    min-height: 34px;
    border: 1px solid rgba(15, 23, 42, 0.22);
    border-radius: 6px;
    padding: 5px 8px;
    background: #ffffff;
    color: #111827;
}

.requirement-form fluent-button[b-0j28osvg9d] {
    width: 100%;
    min-width: 120px;
}

fluent-anchored-region[b-0j28osvg9d],
fluent-menu-list[b-0j28osvg9d],
fluent-listbox[b-0j28osvg9d] {
    z-index: 2147483647 !important;
}

.count-pill[b-0j28osvg9d],
.type-chip[b-0j28osvg9d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(0, 121, 110, 0.1);
    color: #00675e;
    font-weight: 760;
}

.table-wrap[b-0j28osvg9d] {
    overflow: auto;
}

.settings-table[b-0j28osvg9d] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.settings-table th[b-0j28osvg9d] {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #64748b;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.settings-table td[b-0j28osvg9d] {
    padding: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    vertical-align: middle;
}

.settings-table strong[b-0j28osvg9d],
.settings-table small[b-0j28osvg9d] {
    display: block;
}

.settings-table small[b-0j28osvg9d] {
    margin-top: 3px;
    color: #64748b;
}

.settings-table .number[b-0j28osvg9d] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.row-action[b-0j28osvg9d] {
    text-align: right;
}

.message[b-0j28osvg9d] {
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 650;
}

.message.success[b-0j28osvg9d] {
    background: #ecfdf5;
    color: #047857;
}

.message.error[b-0j28osvg9d] {
    background: #fff1f2;
    color: #991b1b;
}

.empty-panel[b-0j28osvg9d] {
    min-height: 160px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(100, 116, 139, 0.28);
    border-radius: 8px;
    color: #64748b;
    background: rgba(248, 250, 252, 0.82);
}

html[data-theme-mode="dark"] .month-closure-settings[b-0j28osvg9d] {
    background: linear-gradient(180deg, #1a1d24 0%, #151920 100%);
    color: #e7edf7;
}

html[data-theme-mode="dark"] .settings-panel[b-0j28osvg9d] {
    border-color: rgba(198, 209, 226, 0.18);
    background: rgba(37, 40, 47, 0.94);
}

html[data-theme-mode="dark"] .settings-header h1[b-0j28osvg9d],
html[data-theme-mode="dark"] .panel-title h2[b-0j28osvg9d] {
    color: #f5f8ff;
}

html[data-theme-mode="dark"] .settings-header p[b-0j28osvg9d],
html[data-theme-mode="dark"] .panel-title p[b-0j28osvg9d],
html[data-theme-mode="dark"] .settings-table th[b-0j28osvg9d],
html[data-theme-mode="dark"] .settings-table small[b-0j28osvg9d],
html[data-theme-mode="dark"] .empty-panel[b-0j28osvg9d] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .select-field[b-0j28osvg9d],
html[data-theme-mode="dark"] .native-field[b-0j28osvg9d] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .native-field input[b-0j28osvg9d] {
    border-color: rgba(198, 209, 226, 0.24);
    background: #232832;
    color: #e7edf7;
}

html[data-theme-mode="dark"] .settings-table th[b-0j28osvg9d] {
    border-bottom-color: rgba(170, 186, 210, 0.22);
}

html[data-theme-mode="dark"] .settings-table td[b-0j28osvg9d] {
    border-bottom-color: rgba(170, 186, 210, 0.14);
}

html[data-theme-mode="dark"] .empty-panel[b-0j28osvg9d] {
    border-color: rgba(173, 188, 212, 0.22);
    background: rgba(43, 47, 56, 0.82);
}

@media (max-width: 1100px) {
    .requirement-form[b-0j28osvg9d] {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 720px) {
    .month-closure-settings[b-0j28osvg9d] {
        padding: 14px;
    }

    .settings-header[b-0j28osvg9d] {
        display: grid;
    }

    .requirement-form[b-0j28osvg9d] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Settings/ReportingDataSources/DataSourceIndexAdvisor.razor.rz.scp.css */
.index-advisor-shell[b-lhz014xm3x] {
    display: grid;
    gap: 16px;
    max-width: 1180px;
}

.index-advisor-subtitle[b-lhz014xm3x] {
    color: #52606d;
}

.index-advisor-toolbar[b-lhz014xm3x] {
    padding: 18px 20px;
    border: 1px solid #d8dee9;
    border-radius: 18px;
    background: #fff;
}

.index-advisor-empty[b-lhz014xm3x] {
    padding: 12px 16px;
}

.index-advisor-results[b-lhz014xm3x] {
    display: grid;
    gap: 16px;
}

.index-advisor-card[b-lhz014xm3x] {
    padding: 8px;
}

.index-advisor-header[b-lhz014xm3x] {
    justify-content: space-between;
    gap: 12px;
}

.index-advisor-summary[b-lhz014xm3x] {
    min-width: 260px;
    display: grid;
    gap: 4px;
}

.index-advisor-section-grid[b-lhz014xm3x] {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.index-advisor-section[b-lhz014xm3x] {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.index-advisor-entry-list[b-lhz014xm3x] {
    display: grid;
    gap: 10px;
}

.index-advisor-entry[b-lhz014xm3x] {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #d8dee9;
    border-radius: 10px;
    background: #fafcfe;
}

.index-advisor-entry-header[b-lhz014xm3x] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.index-advisor-protected[b-lhz014xm3x] {
    color: #6b7280;
    font-size: 0.9rem;
}

.index-advisor-sql[b-lhz014xm3x] {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #0f172a;
    color: #e2e8f0;
    white-space: pre-wrap;
    overflow-x: auto;
    font-size: 0.9rem;
}

html[data-theme-mode="dark"] .index-advisor-subtitle[b-lhz014xm3x],
html[data-theme-mode="dark"] .index-advisor-protected[b-lhz014xm3x] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .index-advisor-toolbar[b-lhz014xm3x],
html[data-theme-mode="dark"] .index-advisor-entry[b-lhz014xm3x] {
    border-color: #454c58;
    background: #262a31;
    color: #e8edf5;
}
/* /Pages/Start.razor.rz.scp.css */
.start-dashboard[b-b0ififktzz] {
    --flat-turquoise: #1abc9c;
    --flat-green: #2ecc71;
    --flat-blue: #3498db;
    --flat-purple: #9b59b6;
    --flat-orange: #e67e22;
    --flat-red: #e74c3c;
    --flat-midnight: #2c3e50;
    --flat-silver: #bdc3c7;
    --dashboard-accent: var(--app-accent-color, var(--flat-turquoise));
    --dashboard-accent-companion: color-mix(in srgb, var(--dashboard-accent) 68%, var(--flat-blue));
    --dashboard-accent-glow: color-mix(in srgb, var(--dashboard-accent) 16%, transparent);
    min-height: 100vh;
    padding: 24px;
    background: radial-gradient(circle at top left, var(--dashboard-accent-glow), transparent 34rem), linear-gradient(180deg, #fff 0%, #f6f7fb 40%, #f4f6fb 100%);
    color: #111827;
    overflow: visible;
}

/* Keep FluentDatePicker calendar popups above KPI/cards below the filter panel. */
.dashboard-hero[b-b0ififktzz] {
    position: relative;
    z-index: 100;
    overflow: visible;
}

.period-panel[b-b0ififktzz],
.quick-periods[b-b0ififktzz],
.date-range-row[b-b0ififktzz] {
    position: relative;
    z-index: 110;
    overflow: visible;
}

fluent-anchored-region[b-b0ififktzz],
fluent-calendar[b-b0ififktzz],
fluent-menu-list[b-b0ififktzz] {
    z-index: 5000 !important;
}

.kpi-grid[b-b0ififktzz],
.charts-grid[b-b0ififktzz] {
    position: relative;
    z-index: 1;
}

.dashboard-card[b-b0ififktzz] {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-radius: 24px;
}

.dashboard-hero[b-b0ififktzz] {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(340px, 640px);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
}

.hero-copy[b-b0ififktzz] {
    padding: 26px;
}

.eyebrow[b-b0ififktzz],
.section-label[b-b0ififktzz] {
    display: inline-flex;
    align-items: center;
    color: var(--dashboard-accent);
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.hero-copy h1[b-b0ififktzz] {
    margin: 10px 0 8px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.055em;
    color: var(--flat-midnight);
}

.hero-copy p[b-b0ififktzz],
.chart-card-header p[b-b0ififktzz] {
    margin: 0;
    color: #64748b;
    font-size: 0.96rem;
}

.period-panel[b-b0ififktzz] {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.quick-periods[b-b0ififktzz],
.date-range-row[b-b0ififktzz] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}

.dashboard-date-picker[b-b0ififktzz] {
    min-width: 220px;
    position: relative;
    z-index: 12000;
}

.period-panel.dashboard-card[b-b0ififktzz] {
    overflow: visible !important;
}

fluent-card.dashboard-card[b-b0ififktzz],
.dashboard-card[b-b0ififktzz],
.start-dashboard[b-b0ififktzz],
.dashboard-hero[b-b0ififktzz],
.period-panel[b-b0ififktzz],
.date-range-row[b-b0ififktzz] {
    overflow: visible !important;
}

fluent-anchored-region[b-b0ififktzz],
fluent-calendar[b-b0ififktzz],
fluent-datepicker[b-b0ififktzz],
fluent-menu-list[b-b0ififktzz] {
    z-index: 12000 !important;
}

.kpi-grid[b-b0ififktzz] {
    display: grid;
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.closure-kpi-grid[b-b0ififktzz] {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
}

.kpi-card[b-b0ififktzz] {
    padding: 20px;
    min-height: 132px;
    display: grid;
    gap: 8px;
    align-content: center;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
    background: rgba(255, 255, 255, 0.94);
}

    .kpi-card.accent[b-b0ififktzz] {
        background: linear-gradient(135deg, var(--dashboard-accent), var(--dashboard-accent-companion));
        color: white;
    }

        .kpi-card.accent .kpi-label[b-b0ififktzz],
        .kpi-card.accent .kpi-caption[b-b0ififktzz] {
            color: rgba(255, 255, 255, 0.78);
        }

        .kpi-card.accent strong[b-b0ififktzz] {
            color: #ffffff;
        }

    .kpi-label[b-b0ififktzz],
    .kpi-card strong[b-b0ififktzz],
    .kpi-caption[b-b0ififktzz] {
        display: block;
    }

.kpi-label[b-b0ififktzz] {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.kpi-card strong[b-b0ififktzz] {
    font-size: clamp(1rem, 1.45vw, 1.65rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    font-variant-numeric: tabular-nums;
}

.kpi-caption[b-b0ififktzz] {
    color: #64748b;
    font-size: 0.84rem;
}

.skeleton-card[b-b0ififktzz] {
    place-items: center;
    color: #64748b;
}

.kpi-error[b-b0ififktzz] {
    grid-column: 1 / -1;
    color: #991b1b;
    background: #fff1f2;
}

.charts-grid[b-b0ififktzz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.chart-card[b-b0ififktzz] {
    min-width: 0;
    padding: 22px;
}

.chart-card-header[b-b0ififktzz] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 12px;
}

    .chart-card-header h2[b-b0ififktzz] {
        margin: 0 0 4px;
        font-size: 1.05rem;
        color: var(--flat-midnight);
        letter-spacing: -0.02em;
    }

.chart-loading[b-b0ififktzz],
.empty-state[b-b0ififktzz],
.chart-error[b-b0ififktzz] {
    min-height: 275px;
    display: grid;
    place-items: center;
    gap: 10px;
    color: #64748b;
    border: 1px dashed rgba(100, 116, 139, 0.28);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.86);
    text-align: center;
    padding: 18px;
}

.chart-error[b-b0ififktzz] {
    color: #991b1b;
    background: #fff1f2;
    border-color: rgba(239, 68, 68, 0.28);
}


.dashboard-tooltip[b-b0ififktzz] {
    display: grid;
    gap: 4px;
    padding: 8px 10px;
    color: #111827;
    font-size: 0.86rem;
    min-width: 130px;
}

    .dashboard-tooltip strong[b-b0ififktzz] {
        color: var(--flat-midnight);
        font-weight: 760;
    }

.table-wrap[b-b0ififktzz] {
    overflow: auto;
    max-height: 340px;
}

.modern-table[b-b0ififktzz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

    .modern-table th[b-b0ififktzz] {
        text-align: left;
        color: #64748b;
        font-size: 0.74rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        white-space: nowrap;
    }

    .modern-table td[b-b0ififktzz] {
        padding: 12px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        vertical-align: middle;
    }

    .modern-table .number[b-b0ififktzz] {
        text-align: right;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

.buyer-name[b-b0ififktzz] {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--flat-midnight);
    font-weight: 650;
}

.country-chip[b-b0ififktzz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(52, 152, 219, 0.1);
    color: #2471a3;
    font-weight: 760;
}

.share-cell[b-b0ififktzz] {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.share-track[b-b0ififktzz] {
    display: block;
    width: 120px;
    height: 7px;
    border-radius: 999px;
    background: rgba(44, 62, 80, 0.1);
    overflow: hidden;
}

.share-track span[b-b0ififktzz] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--dashboard-accent), var(--dashboard-accent-companion));
    }

.tax-closure-dashboard[b-b0ififktzz] {
    --dashboard-accent: var(--app-accent-color, #00796e);
    --dashboard-accent-companion: #3498db;
}

.closure-grid[b-b0ififktzz] {
    align-items: stretch;
}

.closure-table-wrap[b-b0ififktzz] {
    max-height: 340px;
}

.closure-status-pill[b-b0ififktzz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 760;
    white-space: nowrap;
}

.closure-status-pill.success[b-b0ififktzz] {
    background: rgba(46, 204, 113, 0.14);
    color: #1d7d46;
}

.closure-status-pill.warning[b-b0ififktzz] {
    background: rgba(241, 196, 15, 0.18);
    color: #836300;
}

.closure-status-pill.danger[b-b0ififktzz] {
    background: rgba(231, 76, 60, 0.14);
    color: #a93226;
}

.closure-status-pill.muted[b-b0ififktzz] {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.closure-summary-grid[b-b0ififktzz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.closure-summary-grid div[b-b0ififktzz] {
    min-height: 96px;
    display: grid;
    align-content: center;
    gap: 6px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.92);
    padding: 14px;
}

.closure-summary-grid span[b-b0ififktzz] {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.closure-summary-grid strong[b-b0ififktzz] {
    color: var(--flat-midnight);
    font-size: 1.35rem;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

html[data-theme-mode="dark"] .start-dashboard[b-b0ififktzz] {
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--dashboard-accent) 20%, transparent), transparent 34rem), linear-gradient(180deg, #1a1d24 0%, #181b22 45%, #151920 100%);
    color: #e7edf7;
}

html[data-theme-mode="dark"] .dashboard-card[b-b0ififktzz],
html[data-theme-mode="dark"] .kpi-card[b-b0ififktzz] {
    border-color: rgba(198, 209, 226, 0.18);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.35);
    background: rgba(37, 40, 47, 0.94);
}

html[data-theme-mode="dark"] .hero-copy h1[b-b0ififktzz] {
    color: #7dc9ff;
}

html[data-theme-mode="dark"] .hero-copy p[b-b0ififktzz],
html[data-theme-mode="dark"] .chart-card-header p[b-b0ififktzz],
html[data-theme-mode="dark"] .kpi-caption[b-b0ififktzz],
html[data-theme-mode="dark"] .kpi-label[b-b0ififktzz],
html[data-theme-mode="dark"] .skeleton-card[b-b0ififktzz] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .chart-card-header h2[b-b0ififktzz],
html[data-theme-mode="dark"] .dashboard-tooltip strong[b-b0ififktzz],
html[data-theme-mode="dark"] .buyer-name[b-b0ififktzz] {
    color: #f5f8ff;
}

html[data-theme-mode="dark"] .chart-loading[b-b0ififktzz],
html[data-theme-mode="dark"] .empty-state[b-b0ififktzz],
html[data-theme-mode="dark"] .chart-error[b-b0ififktzz] {
    border-color: rgba(173, 188, 212, 0.22);
    background: rgba(43, 47, 56, 0.82);
    color: #bcc8dc;
}

html[data-theme-mode="dark"] .kpi-error[b-b0ififktzz],
html[data-theme-mode="dark"] .chart-error[b-b0ififktzz] {
    color: #ffb5c8;
    background: rgba(116, 20, 48, 0.3);
    border-color: rgba(255, 119, 158, 0.38);
}

html[data-theme-mode="dark"] .dashboard-tooltip[b-b0ififktzz] {
    color: #dce5f5;
}

html[data-theme-mode="dark"] .modern-table th[b-b0ififktzz] {
    color: #aebbd0;
    border-bottom-color: rgba(170, 186, 210, 0.22);
}

html[data-theme-mode="dark"] .modern-table td[b-b0ififktzz] {
    border-bottom-color: rgba(170, 186, 210, 0.14);
}

html[data-theme-mode="dark"] .country-chip[b-b0ififktzz] {
    background: rgba(88, 174, 240, 0.2);
    color: #b7e6ff;
}

html[data-theme-mode="dark"] .share-track[b-b0ififktzz] {
    background: rgba(174, 190, 214, 0.18);
}

html[data-theme-mode="dark"] .closure-summary-grid div[b-b0ififktzz] {
    border-color: rgba(198, 209, 226, 0.18);
    background: rgba(43, 47, 56, 0.82);
}

html[data-theme-mode="dark"] .closure-summary-grid span[b-b0ififktzz],
html[data-theme-mode="dark"] .closure-status-pill.muted[b-b0ififktzz] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .closure-summary-grid strong[b-b0ififktzz] {
    color: #f5f8ff;
}

html[data-theme-mode="dark"] .closure-status-pill.success[b-b0ififktzz] {
    color: #9ff0bf;
}

html[data-theme-mode="dark"] .closure-status-pill.warning[b-b0ififktzz] {
    color: #ffe38d;
}

html[data-theme-mode="dark"] .closure-status-pill.danger[b-b0ififktzz] {
    color: #ffb2a8;
}

@media (max-width: 1200px) {
    .dashboard-hero[b-b0ififktzz],
    .charts-grid[b-b0ififktzz] {
        grid-template-columns: 1fr;
    }

    .kpi-grid[b-b0ififktzz] {
        grid-template-columns: repeat(2, minmax(170px, 1fr));
    }

    .closure-kpi-grid[b-b0ififktzz] {
        grid-template-columns: repeat(2, minmax(170px, 1fr));
    }
}

@media (max-width: 720px) {
    .start-dashboard[b-b0ififktzz] {
        padding: 14px;
    }

    .kpi-grid[b-b0ififktzz] {
        grid-template-columns: 1fr;
    }

    .closure-kpi-grid[b-b0ififktzz],
    .closure-summary-grid[b-b0ififktzz] {
        grid-template-columns: 1fr;
    }

    .dashboard-date-picker[b-b0ififktzz],
    .quick-periods > *[b-b0ififktzz] {
        min-width: 100%;
        width: 100%;
    }

    .chart-card[b-b0ififktzz] {
        padding: 16px;
    }
}
