@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;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.definition-select[b-gpyr8bzyx5] {
    display: grid;
    gap: 9px;
    min-width: 0;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.definition-actions[b-gpyr8bzyx5] {
    display: flex;
    justify-content: flex-end;
    padding-top: 6px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.on-demand-hint[b-gpyr8bzyx5] {
    margin: 0;
    color: #475569;
    font-size: .85rem;
}

.run-panel[b-gpyr8bzyx5] {
    border-left: 4px solid var(--app-accent-color, #00796e);
}

.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-select: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/EDeklaracje/JpkCourierArchiveImport.razor.rz.scp.css */
.courier-archive-import[b-6tsvanc31e] { max-width: 960px; margin: 0 auto; padding: 4px 4px 28px; }
header[b-6tsvanc31e] { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
h3[b-6tsvanc31e], h4[b-6tsvanc31e] { margin-top: 0; }
p[b-6tsvanc31e] { line-height: 1.55; }
.archive-card[b-6tsvanc31e] { padding: 24px; margin-bottom: 20px; border: 1px solid var(--neutral-stroke-rest, #dce3e7); border-radius: 12px; background: var(--neutral-layer-1, #fff); }
.archive-company[b-6tsvanc31e] { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--neutral-layer-2, #f3f6f8); border-radius: 8px; }
label[b-6tsvanc31e] { display: block; font-weight: 600; margin: 24px 0 12px; }
.archive-muted[b-6tsvanc31e] { color: var(--neutral-foreground-hint, #606975); font-size: 13px; }
.archive-selection[b-6tsvanc31e], .archive-actions[b-6tsvanc31e], .archive-progress[b-6tsvanc31e] { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.archive-selection[b-6tsvanc31e] { margin: 20px 0; overflow-wrap: anywhere; }
.archive-actions[b-6tsvanc31e] { margin-top: 24px; }
.archive-error[b-6tsvanc31e], .archive-notice[b-6tsvanc31e] { margin-top: 20px; padding: 14px; border-radius: 6px; overflow-wrap: anywhere; }
.archive-error[b-6tsvanc31e] { background: #fff0ed; color: #9c2525; }
.archive-notice[b-6tsvanc31e] { background: var(--neutral-layer-2, #f3f6f8); }
dl[b-6tsvanc31e] { display: flex; flex-wrap: wrap; gap: 36px; margin: 20px 0; }
dd[b-6tsvanc31e] { margin: 8px 0 0; font-size: 28px; font-weight: 600; }
@media (max-width: 640px) { header[b-6tsvanc31e] { flex-direction: column; } .archive-card[b-6tsvanc31e] { padding: 16px; } }
/* /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: 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
    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;
}

.notification-panel.integration-panel[b-pct2qozbgs] {
    overflow: visible;
}

.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-list-actions[b-pct2qozbgs] {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    overflow-anchor: none;
}

.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: visible;
}

.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;
}

.email-channel-fields[b-pct2qozbgs] {
    display: grid;
    gap: 14px;
}

.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],
.email-sender-hint[b-pct2qozbgs] {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
}

.email-sender-hint strong[b-pct2qozbgs] {
    color: #334155;
    font-weight: 600;
}

.email-sender-hint.warning[b-pct2qozbgs] {
    color: #9a6700;
}

.preference-category[b-pct2qozbgs] {
    color: #172033;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 18px;
}

.preference-controls[b-pct2qozbgs] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.preference-control[b-pct2qozbgs] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.preference-control label[b-pct2qozbgs] {
    color: #64748b;
    font-size: 0.74rem;
}

.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,
.integration-form[b-pct2qozbgs]  fluent-autocomplete {
    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),
.integration-form[b-pct2qozbgs]  fluent-autocomplete::part(root),
.integration-form[b-pct2qozbgs]  fluent-autocomplete::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;
}

.channel-row small[b-pct2qozbgs] {
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.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;
    }

    .preference-controls[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"] .preference-category[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],
html[data-theme-mode="dark"] .email-sender-hint[b-pct2qozbgs] {
    color: #aebbd0;
}

html[data-theme-mode="dark"] .email-sender-hint strong[b-pct2qozbgs] {
    color: #e8edf5;
}

html[data-theme-mode="dark"] .email-sender-hint.warning[b-pct2qozbgs] {
    color: #fcd34d;
}

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/Reports/Cit8.razor.rz.scp.css */
.cit8-page[b-9llt0uxbad] { max-width: 1500px; margin: 0 auto; padding: 1rem; }
.cit8-heading[b-9llt0uxbad], .cit8-actions[b-9llt0uxbad], .cit8-summary[b-9llt0uxbad] { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cit8-heading[b-9llt0uxbad] { justify-content: space-between; }
.cit8-page fieldset[b-9llt0uxbad] { border: 0; margin: 0; padding: 0; min-width: 0; }
.cit8-card[b-9llt0uxbad] { border: 1px solid var(--neutral-stroke-rest, #d1d5db); background: var(--neutral-layer-1, #fff); border-radius: 8px; padding: 1.25rem; margin: 1rem 0; }
.cit8-card h4[b-9llt0uxbad] { margin-top: 0; font-size: 1.15rem; }
.cit8-card p[b-9llt0uxbad], .cit8-card small[b-9llt0uxbad] { line-height: 1.55; }
.cit8-card small[b-9llt0uxbad] { display: inline-block; margin-top: .5rem; }
.cit8-form-grid[b-9llt0uxbad] { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(14rem, 2fr); align-items: center; gap: .8rem 1.2rem; margin: 1rem 0; }
.cit8-page select[b-9llt0uxbad], .cit8-page input[type=number][b-9llt0uxbad], .cit8-page textarea[b-9llt0uxbad] { padding: .6rem; max-width: 100%; color: inherit; font: inherit; background: var(--neutral-fill-input-rest, #fff); border: 1px solid var(--neutral-stroke-rest, #cbd5e1); border-radius: 4px; }
.cit8-summary[b-9llt0uxbad] { background: var(--neutral-layer-2, #f3f4f6); padding: .8rem; margin: .8rem 0; }
.cit8-table-wrap[b-9llt0uxbad] { overflow-x: auto; margin: 1rem 0; }
.cit8-page table[b-9llt0uxbad] { border-collapse: collapse; width: 100%; text-align: left; }
.cit8-page th[b-9llt0uxbad], .cit8-page td[b-9llt0uxbad] { padding: .7rem; vertical-align: top; border-bottom: 1px solid var(--neutral-stroke-rest, #d1d5db); }
.cit8-page th[b-9llt0uxbad] { background: var(--neutral-layer-2, #f3f4f6); }
.cit8-number[b-9llt0uxbad] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cit8-page details[b-9llt0uxbad] { margin: .6rem 0; max-width: 45rem; overflow-wrap: anywhere; }
.cit8-page summary[b-9llt0uxbad] { cursor: pointer; }
.cit8-report-list[b-9llt0uxbad] { max-height: 18rem; overflow-y: auto; margin: 1rem 0; }
.cit8-report[b-9llt0uxbad] { display: flex; align-items: start; gap: .6rem; padding: .6rem 0; }
.cit8-report input[b-9llt0uxbad] { margin-top: .3rem; }
.cit8-alert[b-9llt0uxbad], .cit8-notice[b-9llt0uxbad] { padding: 1rem; margin: .8rem 0; border-left: 4px solid #b7791f; background: var(--neutral-layer-2, #f3f4f6); white-space: pre-wrap; }
.cit8-alert[b-9llt0uxbad] { border-color: #c0392b; }
.cit8-pass[b-9llt0uxbad] { color: #137943; font-weight: 600; }
.cit8-fail[b-9llt0uxbad] { color: #c0392b; font-weight: 600; }
.cit8-skipped[b-9llt0uxbad] { color: #90621c; font-weight: 600; }
.cit8-source-options[b-9llt0uxbad] { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin: 1rem 0; }
.cit8-drop-zone[b-9llt0uxbad] { position: relative; margin: 1rem 0 .5rem; border: 2px dashed color-mix(in srgb, var(--accent-fill-rest, #00796e) 40%, var(--neutral-stroke-rest, #dce3e7)); border-radius: 10px; background: color-mix(in srgb, var(--accent-fill-rest, #00796e) 4%, var(--neutral-layer-1, #fff)); }
.cit8-drop-zone:hover[b-9llt0uxbad] { border-color: var(--accent-fill-rest, #00796e); }
.cit8-drop-zone:focus-within[b-9llt0uxbad] { outline: 2px solid var(--accent-fill-rest, #00796e); outline-offset: 3px; }
.cit8-drop-zone.is-uploading[b-9llt0uxbad] { opacity: .6; }
.cit8-drop-zone[b-9llt0uxbad]  .cit8-file-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cit8-drop-zone[b-9llt0uxbad]  .cit8-file-input:disabled { cursor: not-allowed; }
.cit8-drop-content[b-9llt0uxbad] { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1.25rem; text-align: center; pointer-events: none; }
.cit8-file-help[b-9llt0uxbad] { font-size: .85rem; color: var(--neutral-foreground-hint, #606975); }
.cit8-storage-input[b-9llt0uxbad] { display: block; box-sizing: border-box; width: 100%; margin: .5rem 0; }
.cit8-storage-hint[b-9llt0uxbad] { border-left: 3px solid var(--accent-fill-rest, #00796e); padding: .25rem 1rem; margin: 1rem 0; background: var(--neutral-layer-2, #f3f4f6); }
.cit8-storage-hint code[b-9llt0uxbad], .cit8-selected-files[b-9llt0uxbad] { overflow-wrap: anywhere; }
@media (max-width: 760px) { .cit8-form-grid[b-9llt0uxbad] { grid-template-columns: 1fr; } .cit8-page[b-9llt0uxbad] { padding: .5rem; } .cit8-card[b-9llt0uxbad] { padding: .85rem; } }
.cit8-diagnostic pre[b-9llt0uxbad] { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.cit8-diagnostic p[b-9llt0uxbad] { margin: .4rem 0; }
/* /Pages/Reports/FinancialStatements.razor.rz.scp.css */
.fs-page[b-cak4lk630x] { max-width: 1680px; margin: 0 auto; padding: 4px 8px 36px; color: var(--neutral-foreground-rest, #242424); }
.fs-header[b-cak4lk630x], .fs-toolbar[b-cak4lk630x], .fs-actions[b-cak4lk630x] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fs-header[b-cak4lk630x] { margin-bottom: 22px; align-items: flex-start; }
.fs-page h3[b-cak4lk630x], .fs-page h4[b-cak4lk630x], .fs-page h5[b-cak4lk630x] { margin: 0 0 8px; }
.fs-page h4[b-cak4lk630x] { font-size: 17px; }
.fs-page h5[b-cak4lk630x] { font-size: 15px; margin-top: 22px; }
.fs-page p[b-cak4lk630x] { margin: 6px 0 14px; line-height: 1.55; }
.fs-layout[b-cak4lk630x] { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.fs-content[b-cak4lk630x] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fs-card[b-cak4lk630x] { padding: 22px; background: var(--neutral-layer-1, #fff); border: 1px solid var(--neutral-stroke-rest, #dce3e7); border-radius: 12px; min-width: 0; }
.fs-sidebar[b-cak4lk630x] { display: flex; flex-direction: column; gap: 12px; }
.fs-sidebar hr[b-cak4lk630x] { width: 100%; border: 0; border-top: 1px solid var(--neutral-stroke-rest, #dce3e7); }
.fs-drop-zone[b-cak4lk630x] { position: relative; border: 2px dashed color-mix(in srgb, var(--accent-fill-rest, #00796e) 40%, var(--neutral-stroke-rest, #dce3e7)); border-radius: 10px; background: color-mix(in srgb, var(--accent-fill-rest, #00796e) 4%, var(--neutral-layer-1, #fff)); }
.fs-drop-zone:focus-within[b-cak4lk630x] { outline: 2px solid var(--accent-fill-rest, #00796e); outline-offset: 3px; }
.fs-drop-zone:hover[b-cak4lk630x] { border-color: var(--accent-fill-rest, #00796e); }
.fs-drop-zone.is-disabled[b-cak4lk630x] { opacity: .6; }
.fs-drop-zone[b-cak4lk630x]  .fs-file-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fs-drop-zone[b-cak4lk630x]  .fs-file-input:disabled { cursor: progress; }
.fs-drop-content[b-cak4lk630x] { min-height: 165px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; pointer-events: none; }
.fs-drop-content strong[b-cak4lk630x] { font-size: 15px; }
.fs-drop-content span[b-cak4lk630x] { color: var(--neutral-foreground-hint, #606975); font-size: 12px; }
.fs-page .fs-file-help[b-cak4lk630x] { margin: -3px 0 0; }
.fs-selected-file[b-cak4lk630x] { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.fs-selected-file > div[b-cak4lk630x] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.fs-selected-file span[b-cak4lk630x] { color: var(--neutral-foreground-hint, #606975); font-size: 12px; }
.fs-selected-file[b-cak4lk630x]  fluent-icon { flex-shrink: 0; }
.fs-cloud-options[b-cak4lk630x] { padding-top: 14px; margin-top: 2px; border-top: 1px solid var(--neutral-stroke-rest, #dce3e7); }
.fs-cloud-options[b-cak4lk630x]  fluent-switch { font-size: 12px; max-width: 100%; white-space: normal; }
.fs-cloud-options p[b-cak4lk630x] { margin: 8px 0 0; }
.fs-upload-progress[b-cak4lk630x] { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.fs-muted[b-cak4lk630x], .fs-metadata dt[b-cak4lk630x], .fs-page small[b-cak4lk630x] { color: var(--neutral-foreground-hint, #606975); font-size: 12px; }
.fs-statement[b-cak4lk630x] { display: flex; flex-direction: column; gap: 5px; padding: 12px; border: 1px solid var(--neutral-stroke-rest, #dce3e7); border-radius: 8px; text-decoration: none; color: inherit; overflow-wrap: anywhere; }
.fs-statement:hover[b-cak4lk630x], .fs-statement.selected[b-cak4lk630x] { border-color: var(--accent-fill-rest, #00796e); background: color-mix(in srgb, var(--accent-fill-rest, #00796e) 6%, transparent); }
.fs-statement.selected[b-cak4lk630x] { box-shadow: inset 3px 0 var(--accent-fill-rest, #00796e); }
.fs-metadata[b-cak4lk630x] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.fs-metadata dd[b-cak4lk630x] { margin: 4px 0 0; overflow-wrap: anywhere; }
.fs-tabs[b-cak4lk630x] { display: flex; gap: 6px; flex-wrap: wrap; }
.fs-tabs button[b-cak4lk630x] { border: 1px solid var(--neutral-stroke-rest, #dce3e7); border-radius: 7px; background: var(--neutral-layer-1, #fff); color: inherit; padding: 10px 16px; font: inherit; cursor: pointer; }
.fs-tabs button.active[b-cak4lk630x] { border-color: var(--accent-fill-rest, #00796e); color: var(--accent-fill-rest, #00796e); font-weight: 600; }
.fs-page button:focus-visible[b-cak4lk630x], .fs-page a:focus-visible[b-cak4lk630x], .fs-page input:focus-visible[b-cak4lk630x], .fs-page select:focus-visible[b-cak4lk630x] { outline: 2px solid var(--accent-fill-rest, #00796e); outline-offset: 2px; }
.fs-message[b-cak4lk630x] { padding: 12px 14px; border-radius: 7px; background: color-mix(in srgb, #00796e 8%, var(--neutral-layer-1, #fff)); border-left: 3px solid #00796e; margin: 10px 0; line-height: 1.5; overflow-wrap: anywhere; }
.fs-error[b-cak4lk630x] { border-color: #bc3232; background: color-mix(in srgb, #bc3232 9%, var(--neutral-layer-1, #fff)); }
.fs-warning[b-cak4lk630x] { border-color: #a66b00; background: color-mix(in srgb, #e9a927 10%, var(--neutral-layer-1, #fff)); }
.fs-progress[b-cak4lk630x] { padding: 10px; margin-bottom: 12px; color: var(--accent-fill-rest, #00796e); }
.fs-intro li[b-cak4lk630x] { margin: 14px 0; line-height: 1.6; }
.fs-table-scroll[b-cak4lk630x] { overflow: auto; max-width: 100%; margin-top: 14px; }
.fs-page table[b-cak4lk630x] { width: 100%; border-collapse: collapse; font-size: 12px; }
.fs-page th[b-cak4lk630x] { text-align: left; color: var(--neutral-foreground-hint, #606975); font-weight: 600; background: var(--neutral-layer-2, #f4f6f8); white-space: nowrap; }
.fs-page td[b-cak4lk630x], .fs-page th[b-cak4lk630x] { padding: 11px 10px; border-bottom: 1px solid var(--neutral-stroke-rest, #e4e9ed); vertical-align: top; }
.fs-page td small[b-cak4lk630x] { display: block; margin-top: 5px; }
.fs-number[b-cak4lk630x] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fs-path[b-cak4lk630x] { font-family: ui-monospace, monospace; font-size: 11px; word-break: break-word; max-width: 480px; }
.fs-search[b-cak4lk630x] { display: flex; flex-direction: column; gap: 6px; max-width: 440px; margin: 14px 0; font-size: 12px; }
.fs-page input:not([type=checkbox])[b-cak4lk630x], .fs-page select[b-cak4lk630x] { font: inherit; min-height: 32px; box-sizing: border-box; border: 1px solid var(--neutral-stroke-rest, #b9c3ca); border-radius: 5px; padding: 5px 8px; background: var(--neutral-layer-1, #fff); color: inherit; }
.fs-page input[type=checkbox][b-cak4lk630x] { width: 16px; height: 16px; accent-color: var(--accent-fill-rest, #00796e); }
.fs-fieldset[b-cak4lk630x] { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs-mapping-table input:not([type=checkbox])[b-cak4lk630x] { width: 100%; min-width: 120px; }
.fs-mapping-table td:nth-child(3) input[b-cak4lk630x] { min-width: 240px; }
.fs-mapping-table td:nth-child(5) input[b-cak4lk630x] { min-width: 70px; width: 80px; }
.fs-netting[b-cak4lk630x] { min-width: 150px; margin: 0 !important; }
.fs-netting label[b-cak4lk630x] { display: flex; flex-direction: column; gap: 5px; margin: 12px 0; }
.fs-netting .fs-checkbox[b-cak4lk630x] { flex-direction: row; align-items: center; }
.fs-options[b-cak4lk630x] { display: flex; gap: 20px; align-items: end; flex-wrap: wrap; margin: 18px 0; }
.fs-options label[b-cak4lk630x] { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.fs-options .fs-checkbox[b-cak4lk630x] { flex-direction: row; align-items: center; padding: 7px 0; }
.fs-link-button[b-cak4lk630x] { border: 0; background: none; color: var(--accent-fill-rest, #00796e); padding: 0; cursor: pointer; font: inherit; text-align: left; }
.fs-page a[b-cak4lk630x] { color: var(--accent-fill-rest, #00796e); }
.fs-badge[b-cak4lk630x] { display: inline-block; padding: 4px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.fs-pass[b-cak4lk630x] { color: #145e39; background: #e4f3e9; }
.fs-fail[b-cak4lk630x] { color: #a72c2c; background: #fce9e8; }
.fs-pending[b-cak4lk630x] { color: #775219; background: #fff2da; }
.fs-neutral[b-cak4lk630x] { color: var(--neutral-foreground-hint, #606975); background: var(--neutral-layer-2, #f4f6f8); }
.fs-page details[b-cak4lk630x] { margin: 12px 0 3px; }
.fs-page summary[b-cak4lk630x] { cursor: pointer; color: var(--accent-fill-rest, #00796e); }
.fs-account-list[b-cak4lk630x] { margin: 8px 0; padding-left: 14px; min-width: 270px; }
.fs-account-list li[b-cak4lk630x] { margin: 12px 0; }
.fs-account-list strong[b-cak4lk630x], .fs-account-list span[b-cak4lk630x] { display: block; margin-bottom: 4px; }
@media (max-width: 1050px) { .fs-layout[b-cak4lk630x] { grid-template-columns: 290px minmax(0, 1fr); } .fs-card[b-cak4lk630x] { padding: 16px; } .fs-metadata[b-cak4lk630x] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 750px) { .fs-layout[b-cak4lk630x] { grid-template-columns: 1fr; } .fs-header[b-cak4lk630x] { flex-direction: column; } .fs-tabs button[b-cak4lk630x] { flex: 1 1 42%; } }
/* /Pages/Reports/ImportJpkXml.razor.rz.scp.css */
.jpk-report-import[b-imb9pato9m] {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4px 4px 28px;
    color: var(--neutral-foreground-rest, #242424);
}

.jpk-report-import-header[b-imb9pato9m] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.jpk-report-import h3[b-imb9pato9m],
.jpk-report-import h4[b-imb9pato9m],
.jpk-report-import p[b-imb9pato9m] {
    margin: 0;
}

.jpk-report-import h3[b-imb9pato9m] {
    margin-bottom: 8px;
}

.jpk-report-import p[b-imb9pato9m] {
    line-height: 1.55;
}

.jpk-report-import-header p[b-imb9pato9m],
.jpk-report-import-muted[b-imb9pato9m],
.jpk-report-workflow p[b-imb9pato9m],
.jpk-report-selected-file span[b-imb9pato9m] {
    color: var(--neutral-foreground-hint, #606975);
}

.jpk-report-import-card[b-imb9pato9m] {
    padding: 24px;
    background: var(--neutral-layer-1, #ffffff);
    border: 1px solid var(--neutral-stroke-rest, #dce3e7);
    border-radius: 12px;
}

.jpk-report-import-card h4[b-imb9pato9m] {
    margin-bottom: 6px;
    font-size: 17px;
}

.jpk-report-drop-zone[b-imb9pato9m] {
    position: relative;
    margin-top: 22px;
    border: 2px dashed color-mix(in srgb, var(--accent-fill-rest, #00796e) 40%, var(--neutral-stroke-rest, #dce3e7));
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-fill-rest, #00796e) 4%, var(--neutral-layer-1, #ffffff));
}

.jpk-report-drop-zone:focus-within[b-imb9pato9m] {
    outline: 2px solid var(--accent-fill-rest, #00796e);
    outline-offset: 3px;
}

.jpk-report-drop-zone:hover[b-imb9pato9m] {
    border-color: var(--accent-fill-rest, #00796e);
}

.jpk-report-drop-zone.is-uploading[b-imb9pato9m] {
    opacity: 0.6;
}

.jpk-report-drop-zone[b-imb9pato9m]  .jpk-report-file-input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.jpk-report-drop-zone[b-imb9pato9m]  .jpk-report-file-input:disabled {
    cursor: progress;
}

.jpk-report-drop-content[b-imb9pato9m] {
    min-height: 166px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    text-align: center;
    pointer-events: none;
}

.jpk-report-drop-content strong[b-imb9pato9m] {
    margin-top: 4px;
    font-size: 16px;
}

.jpk-report-import .jpk-report-file-help[b-imb9pato9m] {
    margin-top: 8px;
    font-size: 12px;
}

.jpk-report-selected-file[b-imb9pato9m] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
}

.jpk-report-selected-file > div[b-imb9pato9m] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    overflow-wrap: anywhere;
}

.jpk-report-import-actions[b-imb9pato9m] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.jpk-report-import-progress[b-imb9pato9m] {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
    min-width: 220px;
}

.jpk-report-cloud-note[b-imb9pato9m] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--neutral-stroke-rest, #e4e8ec);
    font-size: 13px;
    line-height: 1.5;
    color: var(--neutral-foreground-hint, #606975);
}

.jpk-report-cloud-note[b-imb9pato9m]  fluent-icon,
.jpk-report-selected-file[b-imb9pato9m]  fluent-icon {
    flex-shrink: 0;
}

.jpk-report-import-error[b-imb9pato9m],
.jpk-report-import-notice[b-imb9pato9m] {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.jpk-report-import-error[b-imb9pato9m] {
    border: 1px solid color-mix(in srgb, #c4314b 50%, var(--neutral-layer-1, #ffffff));
    background: color-mix(in srgb, #c4314b 9%, var(--neutral-layer-1, #ffffff));
}

.jpk-report-import-notice[b-imb9pato9m] {
    background: color-mix(in srgb, var(--accent-fill-rest, #00796e) 9%, var(--neutral-layer-1, #ffffff));
}

.jpk-report-next-steps[b-imb9pato9m] {
    margin-top: 28px;
}

.jpk-report-next-steps h4[b-imb9pato9m] {
    font-size: 16px;
    margin-bottom: 16px;
}

.jpk-report-workflow[b-imb9pato9m] {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
}

.jpk-report-workflow li[b-imb9pato9m] {
    display: flex;
    gap: 12px;
}

.jpk-report-workflow p[b-imb9pato9m] {
    margin-top: 6px;
    font-size: 13px;
}

.jpk-report-step-number[b-imb9pato9m] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-fill-rest, #00796e) 12%, var(--neutral-layer-1, #ffffff));
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .jpk-report-import-header[b-imb9pato9m] {
        flex-direction: column;
        gap: 12px;
    }

    .jpk-report-import-card[b-imb9pato9m] {
        padding: 18px;
    }

    .jpk-report-workflow[b-imb9pato9m] {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .jpk-report-import-progress[b-imb9pato9m] {
        flex-basis: 100%;
    }
}
/* /Pages/Reports/JpkV7DeclarationView.razor.rz.scp.css */
.jpk-v7-declaration[b-l7ece6ueqo] {
    --jpk-border: #d8e1ec;
    --jpk-muted: #5b6b82;
    --jpk-soft: #f5f8fc;
    --jpk-panel: #ffffff;
    --jpk-heading: #28323f;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.jpk-v7-header[b-l7ece6ueqo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid var(--jpk-border);
    border-top: 5px solid #00857c;
    border-radius: 14px;
    background: var(--jpk-panel);
}

.jpk-v7-header h4[b-l7ece6ueqo],
.jpk-v7-group-title h5[b-l7ece6ueqo],
.jpk-v7-source-panel-header h6[b-l7ece6ueqo] {
    margin: 0;
}

.jpk-v7-header h4[b-l7ece6ueqo] {
    margin-top: 4px;
    font-size: 1.24rem;
}

.jpk-v7-header p[b-l7ece6ueqo] {
    max-width: 860px;
    margin: 7px 0 0;
    color: var(--jpk-muted);
    line-height: 1.45;
}

.jpk-v7-eyebrow[b-l7ece6ueqo] {
    color: #00756d;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.jpk-v7-header-badges[b-l7ece6ueqo],
.jpk-v7-legend[b-l7ece6ueqo],
.jpk-v7-source-choice-list[b-l7ece6ueqo],
.jpk-v7-source-summary[b-l7ece6ueqo],
.jpk-v7-source-pager[b-l7ece6ueqo],
.jpk-v7-action-buttons[b-l7ece6ueqo] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.jpk-v7-header-badges[b-l7ece6ueqo] {
    justify-content: flex-end;
}

.jpk-v7-header-badges > span[b-l7ece6ueqo] {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 3px 9px;
    border: 1px solid #b8d9d5;
    border-radius: 999px;
    background: #effaf8;
    color: #006d65;
    font-size: .78rem;
    font-weight: 650;
    white-space: nowrap;
}

.jpk-v7-legend[b-l7ece6ueqo] {
    padding: 0 4px;
}

.jpk-v7-origin[b-l7ece6ueqo] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.2;
}

.jpk-v7-origin--calculated[b-l7ece6ueqo] {
    background: #eaf3ff;
    color: #245d9c;
}

.jpk-v7-origin--derived[b-l7ece6ueqo] {
    background: #f1ebff;
    color: #6842a8;
}

.jpk-v7-origin--manual[b-l7ece6ueqo] {
    background: #fff3df;
    color: #9b5b00;
}

.jpk-v7-origin--empty[b-l7ece6ueqo] {
    background: #eef1f5;
    color: #657185;
}

.jpk-v7-message[b-l7ece6ueqo],
.jpk-v7-state[b-l7ece6ueqo] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid var(--jpk-border);
    border-radius: 12px;
    background: var(--jpk-panel);
}

.jpk-v7-message[b-l7ece6ueqo] {
    flex-direction: column;
    gap: 3px;
}

.jpk-v7-message--warning[b-l7ece6ueqo] {
    border-color: #f2c777;
    background: #fff8e8;
    color: #7d4c00;
}

.jpk-v7-message--success[b-l7ece6ueqo] {
    border-color: #8acfb1;
    background: #eefaf4;
    color: #176b4a;
}

.jpk-v7-message--error[b-l7ece6ueqo],
.jpk-v7-state--error[b-l7ece6ueqo] {
    border-color: #efaaa5;
    background: #fff3f2;
    color: #a33b35;
}

.jpk-v7-group[b-l7ece6ueqo] {
    overflow: hidden;
    border: 1px solid var(--jpk-border);
    border-radius: 14px;
    background: var(--jpk-panel);
}

.jpk-v7-group-title[b-l7ece6ueqo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--jpk-heading);
    color: #ffffff;
}

.jpk-v7-group-title h5[b-l7ece6ueqo] {
    font-size: .98rem;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.jpk-v7-group-title span[b-l7ece6ueqo] {
    color: #d8e3ed;
    font-size: .74rem;
    white-space: nowrap;
}

.jpk-v7-column-headings[b-l7ece6ueqo] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--jpk-border);
    background: #e8edf3;
    color: #324255;
    font-size: .78rem;
    font-weight: 750;
    text-align: center;
}

.jpk-v7-column-headings span[b-l7ece6ueqo] {
    padding: 8px 12px;
}

.jpk-v7-column-headings span + span[b-l7ece6ueqo] {
    border-left: 1px solid #d0d9e4;
}

.jpk-v7-group-body[b-l7ece6ueqo] {
    display: flex;
    flex-direction: column;
}

.jpk-v7-row[b-l7ece6ueqo] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    border-bottom: 1px solid #e6ebf2;
}

.jpk-v7-row:last-child[b-l7ece6ueqo] {
    border-bottom: 0;
}

.jpk-v7-field[b-l7ece6ueqo] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
    padding: 14px 16px;
    background: #ffffff;
}

.jpk-v7-field + .jpk-v7-field[b-l7ece6ueqo] {
    border-left: 1px solid #e6ebf2;
}

.jpk-v7-field--base[b-l7ece6ueqo] {
    grid-column: 1;
}

.jpk-v7-field--tax[b-l7ece6ueqo] {
    grid-column: 2;
}

.jpk-v7-field--full[b-l7ece6ueqo] {
    grid-column: 1 / -1;
}

.jpk-v7-field-heading[b-l7ece6ueqo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.jpk-v7-field-label[b-l7ece6ueqo] {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 8px;
    color: #27364a;
    font-size: .82rem;
    font-weight: 650;
    line-height: 1.35;
}

.jpk-v7-field-label code[b-l7ece6ueqo],
.jpk-v7-source-label code[b-l7ece6ueqo],
.jpk-v7-source-summary code[b-l7ece6ueqo] {
    border-radius: 5px;
    background: #edf2f7;
    color: #20344d;
    font-family: Consolas, "Cascadia Mono", monospace;
    font-size: .76rem;
    font-weight: 750;
    white-space: nowrap;
}

.jpk-v7-field-label code[b-l7ece6ueqo] {
    padding: 2px 5px;
}

.jpk-v7-kind-label[b-l7ece6ueqo] {
    color: #66758a;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.jpk-v7-readonly-value[b-l7ece6ueqo] {
    display: flex;
    min-height: 54px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #d8e0e9;
    border-radius: 9px;
    background: var(--jpk-soft);
    color: #15243a;
    font: inherit;
    text-align: left;
}

.jpk-v7-readonly-value:disabled[b-l7ece6ueqo] {
    cursor: default;
    opacity: 1;
}

.jpk-v7-readonly-value--interactive[b-l7ece6ueqo] {
    cursor: pointer;
}

.jpk-v7-readonly-value--interactive:hover[b-l7ece6ueqo],
.jpk-v7-readonly-value--interactive:focus-visible[b-l7ece6ueqo],
.jpk-v7-readonly-value--active[b-l7ece6ueqo] {
    border-color: #00857c;
    background: #edf9f7;
    box-shadow: 0 0 0 2px rgba(0, 133, 124, .12);
    outline: 0;
}

.jpk-v7-value[b-l7ece6ueqo] {
    font-size: 1.08rem;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
}

.jpk-v7-drilldown-hint[b-l7ece6ueqo] {
    color: #00776f;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.jpk-v7-manual-control[b-l7ece6ueqo] {
    min-height: 54px;
}

.jpk-v7-calculated-reference[b-l7ece6ueqo] {
    color: #6e5b8e;
    font-size: .74rem;
}

.jpk-v7-source-label[b-l7ece6ueqo] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    color: var(--jpk-muted);
    font-size: .72rem;
}

.jpk-v7-formula-components[b-l7ece6ueqo] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    color: var(--jpk-muted);
    font-size: .72rem;
}

.jpk-v7-formula-components code[b-l7ece6ueqo] {
    padding: 1px 5px;
    border-radius: 5px;
    background: #edf5f1;
    color: #255b49;
    font-family: Consolas, "Cascadia Mono", monospace;
    font-size: .72rem;
    font-weight: 750;
}

.jpk-v7-formula-components code.jpk-v7-component-negative[b-l7ece6ueqo] {
    background: #fff0ef;
    color: #9c3f39;
}

.jpk-v7-component-origin[b-l7ece6ueqo] {
    margin-left: 3px;
    font-family: inherit;
    font-size: .67rem;
    font-weight: 600;
    opacity: .78;
}

.jpk-v7-source-label code[b-l7ece6ueqo],
.jpk-v7-source-summary code[b-l7ece6ueqo] {
    padding: 1px 5px;
}

.jpk-v7-source-panel[b-l7ece6ueqo] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 12px 12px;
    padding: 14px;
    border: 1px solid #a9cbc7;
    border-radius: 12px;
    background: #f7fbfb;
    box-shadow: 0 10px 28px rgba(28, 63, 72, .1);
}

.jpk-v7-source-panel-header[b-l7ece6ueqo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.jpk-v7-source-panel-header h6[b-l7ece6ueqo] {
    margin-top: 3px;
    font-size: .96rem;
}

.jpk-v7-source-choice-list[b-l7ece6ueqo] {
    padding: 10px;
    border-radius: 9px;
    background: #eaf4f3;
}

.jpk-v7-source-empty[b-l7ece6ueqo] {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: 1px dashed #b9c7d4;
    border-radius: 9px;
    color: var(--jpk-muted);
    text-align: center;
}

.jpk-v7-source-summary[b-l7ece6ueqo] {
    color: #405269;
    font-size: .78rem;
}

.jpk-v7-source-summary strong[b-l7ece6ueqo] {
    color: #173a37;
}

.jpk-v7-source-grid-shell[b-l7ece6ueqo] {
    width: 100%;
    max-height: min(62dvh, 560px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #d8e1ea;
    border-radius: 9px;
    background: #ffffff;
}

.jpk-v7-source-value[b-l7ece6ueqo] {
    color: #006f67;
    font-weight: 750;
}

.jpk-v7-source-pager[b-l7ece6ueqo] {
    justify-content: center;
    color: var(--jpk-muted);
    font-size: .8rem;
}

.jpk-v7-actions[b-l7ece6ueqo] {
    position: sticky;
    bottom: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid #b8c9d8;
    border-radius: 13px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 34px rgba(29, 47, 70, .16);
    backdrop-filter: blur(7px);
}

.jpk-v7-actions > div:first-child[b-l7ece6ueqo] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.jpk-v7-actions strong[b-l7ece6ueqo] {
    color: #22364e;
    font-size: .82rem;
}

.jpk-v7-actions span[b-l7ece6ueqo] {
    color: var(--jpk-muted);
    font-size: .74rem;
}

.jpk-v7-refresh-indicator[b-l7ece6ueqo] {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--jpk-border);
    border-radius: 999px;
    background: var(--jpk-panel);
    box-shadow: 0 8px 24px rgba(29, 47, 70, .18);
    color: var(--jpk-muted);
    font-size: .76rem;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-declaration[b-l7ece6ueqo] {
    --jpk-border: #3b4758;
    --jpk-muted: #aebbd0;
    --jpk-soft: #1a2432;
    --jpk-panel: #111a26;
    --jpk-heading: #222e3d;
    color: #e8edf5;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-header[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-field[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-actions[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-source-grid-shell[b-l7ece6ueqo] {
    background: #111a26;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-header h4[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-field-label[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-actions strong[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-value[b-l7ece6ueqo] {
    color: #e8edf5;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-column-headings[b-l7ece6ueqo] {
    border-color: #3b4758;
    background: #283445;
    color: #dce5ef;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-field-label code[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-source-label code[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-source-summary code[b-l7ece6ueqo] {
    background: #273447;
    color: #dce7f5;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-readonly-value--interactive:hover[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-readonly-value--interactive:focus-visible[b-l7ece6ueqo],
:global(html[data-theme-mode="dark"]) .jpk-v7-readonly-value--active[b-l7ece6ueqo] {
    border-color: #3cbab0;
    background: #163531;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-source-panel[b-l7ece6ueqo] {
    border-color: #365f5c;
    background: #142725;
}

:global(html[data-theme-mode="dark"]) .jpk-v7-source-choice-list[b-l7ece6ueqo] {
    background: #1d3633;
}

@media (max-width: 820px) {
    .jpk-v7-header[b-l7ece6ueqo],
    .jpk-v7-actions[b-l7ece6ueqo] {
        align-items: stretch;
        flex-direction: column;
    }

    .jpk-v7-header-badges[b-l7ece6ueqo],
    .jpk-v7-action-buttons[b-l7ece6ueqo] {
        justify-content: flex-start;
    }

    .jpk-v7-column-headings[b-l7ece6ueqo] {
        display: none;
    }

    .jpk-v7-row[b-l7ece6ueqo] {
        grid-template-columns: minmax(0, 1fr);
    }

    .jpk-v7-field[b-l7ece6ueqo],
    .jpk-v7-field--base[b-l7ece6ueqo],
    .jpk-v7-field--tax[b-l7ece6ueqo],
    .jpk-v7-field--full[b-l7ece6ueqo] {
        grid-column: 1;
    }

    .jpk-v7-field + .jpk-v7-field[b-l7ece6ueqo] {
        border-top: 1px solid #e6ebf2;
        border-left: 0;
    }

    .jpk-v7-field-heading[b-l7ece6ueqo],
    .jpk-v7-source-panel-header[b-l7ece6ueqo] {
        align-items: stretch;
        flex-direction: column;
    }

    .jpk-v7-origin[b-l7ece6ueqo] {
        align-self: flex-start;
    }

    .jpk-v7-actions[b-l7ece6ueqo] {
        position: static;
    }

    .jpk-v7-action-buttons > *[b-l7ece6ueqo] {
        flex: 1 1 220px;
    }

    .jpk-v7-source-grid-shell[b-l7ece6ueqo] {
        max-height: min(56dvh, 460px);
    }
}

@media (max-width: 520px) {
    .jpk-v7-header[b-l7ece6ueqo],
    .jpk-v7-field[b-l7ece6ueqo],
    .jpk-v7-actions[b-l7ece6ueqo] {
        padding-right: 12px;
        padding-left: 12px;
    }

    .jpk-v7-group-title[b-l7ece6ueqo] {
        align-items: flex-start;
        flex-direction: column;
    }

    .jpk-v7-readonly-value[b-l7ece6ueqo] {
        align-items: flex-start;
        flex-direction: column;
    }

    .jpk-v7-refresh-indicator[b-l7ece6ueqo] {
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
    }
}
/* /Pages/Reports/SourceControlTotals.razor.rz.scp.css */
.source-control-totals[b-98s0q3v7bf] {
    margin: 16px 0;
}

.source-control-totals h3[b-98s0q3v7bf] {
    margin: 0 0 6px;
    font-size: 1rem;
}

.source-control-totals p[b-98s0q3v7bf] {
    margin: 0 0 10px;
}

.source-control-scroll[b-98s0q3v7bf] {
    overflow-x: auto;
}

.source-control-totals table[b-98s0q3v7bf] {
    width: 100%;
    border-collapse: collapse;
}

.source-control-totals th[b-98s0q3v7bf],
.source-control-totals td[b-98s0q3v7bf] {
    padding: 8px 12px;
    border-bottom: 1px solid var(--neutral-stroke-rest, #d1d1d1);
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.source-control-totals th:first-child[b-98s0q3v7bf] {
    text-align: left;
    white-space: normal;
    min-width: 180px;
}

.source-control-id[b-98s0q3v7bf],
.source-control-status[b-98s0q3v7bf] {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
}

.source-control-unbalanced td:last-child[b-98s0q3v7bf] {
    color: var(--error, #b10e1c);
    font-weight: 600;
}
/* /Pages/Settings/Administrative/Contexts/CompaniesAssignmentEdit.razor.rz.scp.css */
.companies-assignment-dialog-shell[b-kzeb6lv3cx] {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.companies-assignment-dialog-header[b-kzeb6lv3cx] {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding-bottom: 16px;
}

[b-kzeb6lv3cx] .companies-assignment-dialog-heading {
    flex: 1 1 auto;
    min-width: 0;
}

[b-kzeb6lv3cx] .companies-assignment-company-name {
    max-width: 100%;
    overflow-wrap: anywhere;
}

[b-kzeb6lv3cx] .companies-assignment-dialog-close {
    flex: 0 0 auto;
}

.companies-assignment-dialog-scroll[b-kzeb6lv3cx] {
    box-sizing: border-box;
    container-type: size;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    padding: 4px;
}

.companies-assignment-dialog-actions[b-kzeb6lv3cx] {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    padding-top: 16px;
}

[b-kzeb6lv3cx] .companies-assignment-user-autocomplete {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    overflow: visible;
}

[b-kzeb6lv3cx] .companies-assignment-user-autocomplete fluent-anchored-region {
    /* The dialog reserves space below the field, including on short screens. */
    inset: 100% 0 auto;
    transform: none !important;
    width: 100% !important;
    max-width: 100%;
}

[b-kzeb6lv3cx] .companies-assignment-user-autocomplete div[role="listbox"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    /* Reserve the selected-user field (96px plus borders) and popup spacing. */
    max-height: min(220px, max(40px, calc(100cqh - 112px))) !important;
    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: 520px) {
    .companies-assignment-dialog-header[b-kzeb6lv3cx] {
        gap: 8px;
    }

    .companies-assignment-dialog-actions[b-kzeb6lv3cx] {
        justify-content: stretch;
    }

    [b-kzeb6lv3cx] .companies-assignment-dialog-action {
        flex: 1 1 120px;
        min-width: 0;
    }
}
/* /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/Cit8FieldPickerDialog.razor.rz.scp.css */
/* FluentTextField renders its label and input as separate grid children. */
.cit8-field-browser[b-tv9k54xpeo] { height: 100%; min-height: 0; min-width: 0; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); }
.cit8-field-count[b-tv9k54xpeo] { margin: .75rem 0; }
.cit8-field-list[b-tv9k54xpeo] { min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; list-style: none; padding: 2px; margin: 0; border: 1px solid var(--neutral-stroke-rest); border-radius: 4px; }
.cit8-field-list li + li[b-tv9k54xpeo] { border-top: 1px solid var(--neutral-stroke-rest); }
.cit8-field-option[b-tv9k54xpeo] { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .35rem .75rem; width: 100%; padding: .75rem; box-sizing: border-box; border: 0; background: var(--neutral-layer-1); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cit8-field-option span[b-tv9k54xpeo] { white-space: normal; overflow-wrap: anywhere; }
.cit8-field-option small[b-tv9k54xpeo] { grid-column: 2; }
.cit8-field-option:hover[b-tv9k54xpeo], .cit8-field-option[aria-pressed=true][b-tv9k54xpeo] { background: var(--neutral-fill-stealth-hover); }
.cit8-field-option:focus-visible[b-tv9k54xpeo] { outline: 2px solid var(--accent-fill-rest); outline-offset: -2px; }
.cit8-field-empty[b-tv9k54xpeo] { padding: 1rem; }
@media (max-width: 480px) {
    .cit8-field-option[b-tv9k54xpeo] { grid-template-columns: minmax(0, 1fr); }
    .cit8-field-option small[b-tv9k54xpeo] { grid-column: 1; }
}
/* /Pages/Settings/CalculationSettings/Cit8MappingEditor.razor.rz.scp.css */
.cit8-mapping-scroll[b-8j33p8l2af] { overflow-x: auto; max-width: 100%; margin: 1rem 0; }
.cit8-mapping-table[b-8j33p8l2af] { border-collapse: collapse; table-layout: fixed; width: 100%; min-width: 50rem; text-align: left; }
.cit8-field-column[b-8j33p8l2af] { width: 36%; }
.cit8-multiplier-column[b-8j33p8l2af] { width: 6.5rem; }
.cit8-rpd-column[b-8j33p8l2af] { width: 8rem; }
.cit8-actions-column[b-8j33p8l2af] { width: 6rem; }
.cit8-mapping-table th[b-8j33p8l2af], .cit8-mapping-table td[b-8j33p8l2af] { padding: .55rem; border-bottom: 1px solid var(--neutral-stroke-rest); overflow-wrap: anywhere; }
.cit8-mapping-table select[b-8j33p8l2af], .cit8-field-picker[b-8j33p8l2af] { padding: .5rem; width: 100%; min-width: 0; box-sizing: border-box; color: inherit; background: var(--neutral-fill-input-rest); border: 1px solid var(--neutral-stroke-rest); border-radius: 4px; font: inherit; }
.cit8-field-picker[b-8j33p8l2af] { display: flex; gap: .75rem; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; }
.cit8-field-picker span:first-child[b-8j33p8l2af] { min-width: 0; overflow-wrap: anywhere; }
.cit8-field-picker span:last-child[b-8j33p8l2af] { flex: 0 0 auto; }
.cit8-field-picker:hover[b-8j33p8l2af] { border-color: var(--accent-fill-rest); }
.cit8-field-picker:focus-visible[b-8j33p8l2af] { outline: 2px solid var(--accent-fill-rest); outline-offset: 2px; }
/* /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/IC/FileTransfer/InvoiceCourierFileTransferSettings.razor.rz.scp.css */
.file-transfer-settings[b-baoojqjh5o] {
    display: grid;
    gap: 18px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}

.page-header[b-baoojqjh5o],
.card-heading[b-baoojqjh5o],
.header-actions[b-baoojqjh5o],
.toggle-control[b-baoojqjh5o],
.check-row[b-baoojqjh5o],
.loading-card[b-baoojqjh5o],
.test-facts[b-baoojqjh5o] {
    display: flex;
    align-items: center;
}

.page-header[b-baoojqjh5o] {
    justify-content: space-between;
    gap: 24px;
}

.page-header h1[b-baoojqjh5o] {
    margin: 4px 0 6px;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}

.page-header p[b-baoojqjh5o],
.card-heading p[b-baoojqjh5o],
.field small[b-baoojqjh5o],
.probe-note[b-baoojqjh5o],
.fingerprint-action p[b-baoojqjh5o] {
    margin: 0;
    color: var(--neutral-foreground-hint, #616161);
    line-height: 1.45;
}

.section-label[b-baoojqjh5o] {
    color: var(--accent-foreground-rest, #7a3b78);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.header-actions[b-baoojqjh5o] {
    flex-shrink: 0;
    gap: 10px;
}

.button-progress[b-baoojqjh5o] {
    width: 16px;
    height: 16px;
    margin-right: 7px;
}

.settings-card[b-baoojqjh5o] {
    display: block;
    padding: 22px;
    border: 1px solid var(--neutral-stroke-rest, #d1d1d1);
    border-radius: 12px;
}

.loading-card[b-baoojqjh5o] {
    justify-content: center;
    gap: 12px;
    min-height: 160px;
}

.card-heading[b-baoojqjh5o] {
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.card-heading h2[b-baoojqjh5o] {
    margin: 0 0 4px;
    font-size: 1.13rem;
}

.toggle-control[b-baoojqjh5o],
.check-row[b-baoojqjh5o] {
    gap: 9px;
    cursor: pointer;
}

.toggle-control[b-baoojqjh5o] {
    flex-shrink: 0;
    font-weight: 650;
}

.toggle-control fluent-switch[b-baoojqjh5o] {
    white-space: nowrap;
}

.form-grid[b-baoojqjh5o] {
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(100px, 0.35fr) minmax(260px, 1.2fr);
    gap: 16px;
}

.wide-field[b-baoojqjh5o] {
    grid-column: span 1;
}

.field[b-baoojqjh5o] {
    display: grid;
    align-content: start;
    gap: 7px;
}

.format-fieldset legend[b-baoojqjh5o],
.observed-fingerprint > span[b-baoojqjh5o] {
    font-size: 0.87rem;
    font-weight: 650;
}

.security-note[b-baoojqjh5o],
.information-note[b-baoojqjh5o],
.danger-note[b-baoojqjh5o] {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 7px;
    line-height: 1.45;
}

.security-note[b-baoojqjh5o],
.information-note[b-baoojqjh5o] {
    background: color-mix(in srgb, var(--accent-fill-rest, #7a3b78) 9%, transparent);
    border-left: 3px solid var(--accent-fill-rest, #7a3b78);
}

.danger-note[b-baoojqjh5o] {
    background: #fff4ce;
    border-left: 3px solid #c19c00;
    color: #4d3d00;
}

.danger-note .check-row[b-baoojqjh5o] {
    margin-top: 9px;
    font-weight: 650;
}

.destructive-choice[b-baoojqjh5o] {
    margin-top: 17px;
}

.fingerprint-panel[b-baoojqjh5o],
.custom-format-panel[b-baoojqjh5o] {
    margin-top: 18px;
}

.two-column-layout[b-baoojqjh5o] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.format-fieldset[b-baoojqjh5o] {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    border: 0;
}

.format-fieldset legend[b-baoojqjh5o] {
    margin-bottom: 9px;
}

.format-fieldset small[b-baoojqjh5o] {
    color: var(--neutral-foreground-hint, #616161);
}

.format-fieldset fluent-checkbox[b-baoojqjh5o] {
    width: fit-content;
}

.confirmation-format-fieldset[b-baoojqjh5o] {
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 24px;
}

.confirmation-format-fieldset legend[b-baoojqjh5o] {
    grid-column: 1 / -1;
}

.custom-format-panel[b-baoojqjh5o] {
    display: grid;
    gap: 16px;
    padding: 16px;
    background: var(--neutral-fill-secondary-rest, #f5f5f5);
    border-radius: 8px;
}

.configuration-actions[b-baoojqjh5o] {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.probe-note[b-baoojqjh5o] {
    margin-top: 16px;
}

.message[b-baoojqjh5o] {
    padding: 12px 15px;
    border-radius: 7px;
    border-left: 3px solid;
}

.message-success[b-baoojqjh5o] {
    background: #e9f7ef;
    border-color: #107c41;
    color: #0b5730;
}

.message-error[b-baoojqjh5o] {
    background: #fde7e9;
    border-color: #c50f1f;
    color: #8e0b16;
}

.test-card[b-baoojqjh5o] {
    border-left: 4px solid;
}

.test-success[b-baoojqjh5o] {
    border-left-color: #107c41;
}

.test-failure[b-baoojqjh5o] {
    border-left-color: #c50f1f;
}

.status-pill[b-baoojqjh5o] {
    flex-shrink: 0;
    padding: 5px 9px;
    background: var(--neutral-fill-secondary-rest, #f5f5f5);
    border-radius: 999px;
    font-size: 0.78rem;
}

.test-facts[b-baoojqjh5o] {
    flex-wrap: wrap;
    gap: 10px 24px;
}

.observed-fingerprint[b-baoojqjh5o] {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--neutral-stroke-rest, #d1d1d1);
}

.observed-fingerprint code[b-baoojqjh5o],
.status-grid code[b-baoojqjh5o] {
    overflow-wrap: anywhere;
}

.fingerprint-action[b-baoojqjh5o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 5px;
}

.status-grid[b-baoojqjh5o] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.status-grid > div[b-baoojqjh5o] {
    min-width: 0;
    padding: 13px;
    background: var(--neutral-fill-secondary-rest, #f5f5f5);
    border-radius: 7px;
}

.status-grid dt[b-baoojqjh5o] {
    margin-bottom: 5px;
    color: var(--neutral-foreground-hint, #616161);
    font-size: 0.78rem;
}

.status-grid dd[b-baoojqjh5o] {
    margin: 0;
    font-weight: 600;
}

@media (max-width: 900px) {
    .page-header[b-baoojqjh5o],
    .fingerprint-action[b-baoojqjh5o] {
        align-items: stretch;
        flex-direction: column;
    }

    .header-actions[b-baoojqjh5o] {
        align-self: stretch;
    }

    .header-actions fluent-button[b-baoojqjh5o] {
        flex: 1;
    }

    .form-grid[b-baoojqjh5o],
    .two-column-layout[b-baoojqjh5o],
    .status-grid[b-baoojqjh5o] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .file-transfer-settings[b-baoojqjh5o] {
        padding: 14px 10px 28px;
    }

    .header-actions[b-baoojqjh5o],
    .card-heading[b-baoojqjh5o] {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-card[b-baoojqjh5o] {
        padding: 17px;
    }
}
/* /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;
    }
}
/* /Pages/Workflows/Workflows.razor.rz.scp.css */
.workflow-page[b-hc0chfypay] {
    max-width: 1600px;
    min-height: 100%;
    margin: 0 auto;
    padding: 24px;
    color: #16332f;
    background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.page-heading[b-hc0chfypay], .panel-heading[b-hc0chfypay], .section-heading[b-hc0chfypay], .actions[b-hc0chfypay], .editor-footer[b-hc0chfypay], .card-title[b-hc0chfypay], .card-meta[b-hc0chfypay], .step-heading[b-hc0chfypay], .step-actions[b-hc0chfypay], .delete-confirm[b-hc0chfypay] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-heading[b-hc0chfypay], .panel-heading[b-hc0chfypay], .card-title[b-hc0chfypay], .card-meta[b-hc0chfypay], .step-heading[b-hc0chfypay], .editor-footer[b-hc0chfypay] { justify-content: space-between; }
.page-heading[b-hc0chfypay] { align-items: flex-start; margin-bottom: 20px; }
.page-heading h1[b-hc0chfypay] { font-size: 1.9rem; margin: 4px 0 8px; }
.page-heading p[b-hc0chfypay], .panel-heading p[b-hc0chfypay], .section-heading p[b-hc0chfypay], .welcome-panel p[b-hc0chfypay] { color: #64748b; margin: 0; line-height: 1.55; }
.eyebrow[b-hc0chfypay] { color: var(--app-accent-color, #00796e); font-size: .71rem; font-weight: 760; letter-spacing: .09em; }
.actions[b-hc0chfypay] { flex-wrap: wrap; justify-content: flex-end; }
.workflow-page > [role="alert"][b-hc0chfypay], .workflow-page > [role="status"][b-hc0chfypay] { margin-bottom: 14px; }

.summary-grid[b-hc0chfypay] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.summary-grid > div[b-hc0chfypay] { border: 1px solid #e1e8ec; border-radius: 9px; padding: 14px 17px; background: #fff; }
.summary-grid span[b-hc0chfypay] { color: #64748b; display: block; font-size: .76rem; }
.summary-grid strong[b-hc0chfypay] { display: block; margin-top: 5px; font-size: 1.5rem; }
.workspace[b-hc0chfypay] { display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: start; gap: 20px; }
.panel[b-hc0chfypay] { min-width: 0; padding: 22px; border: 1px solid #e1e8ec; border-radius: 10px; background: #fff; box-shadow: 0 7px 24px rgba(15, 23, 42, .035); }
.panel h2[b-hc0chfypay] { font-size: 1.13rem; margin: 3px 0 5px; overflow-wrap: anywhere; }
.panel h3[b-hc0chfypay] { font-size: 1rem; margin: 0 0 4px; }
.panel-heading[b-hc0chfypay] { margin-bottom: 20px; align-items: flex-start; }
.count-pill[b-hc0chfypay] { padding: 3px 10px; border-radius: 20px; color: #006c61; background: #e8f6f2; font-weight: 700; }
.workflow-library[b-hc0chfypay] { padding: 17px; }
.workflow-library .panel-heading[b-hc0chfypay] { margin-bottom: 12px; }
.workflow-card[b-hc0chfypay] { display: grid; width: 100%; text-align: left; gap: 11px; padding: 14px; margin: 10px 0 0; border: 1px solid #e0e7eb; border-radius: 8px; color: inherit; background: #fff; cursor: pointer; }
.workflow-card:hover[b-hc0chfypay] { background: #f8fbfa; border-color: #90b9ae; }
.workflow-card.selected[b-hc0chfypay] { background: #f0f9f6; border-color: var(--app-accent-color, #00796e); box-shadow: inset 3px 0 var(--app-accent-color, #00796e); }
.card-title[b-hc0chfypay] { gap: 5px; align-items: flex-start; }
.card-title strong[b-hc0chfypay] { overflow-wrap: anywhere; }
.card-description[b-hc0chfypay] { color: #63756f; font-size: .81rem; overflow-wrap: anywhere; line-height: 1.4; }
.card-meta[b-hc0chfypay], .next-run[b-hc0chfypay] { color: #64748b; font-size: .73rem; }
.state[b-hc0chfypay] { border-radius: 20px; padding: 2px 7px; font-size: .65rem; white-space: nowrap; }
.state.active[b-hc0chfypay] { background: #dcefe6; color: #176542; }
.state.paused[b-hc0chfypay] { background: #f0f2f5; color: #596773; }

.editor-fields[b-hc0chfypay] { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-grid[b-hc0chfypay] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.basic-fields[b-hc0chfypay] { grid-template-columns: minmax(0, 1fr) 140px; }
.wide[b-hc0chfypay] { grid-column: 1 / -1; }
.field[b-hc0chfypay] { display: grid; align-content: start; gap: 6px; min-width: 0; color: #334b44; font-size: .81rem; }
.field input[b-hc0chfypay], .field select[b-hc0chfypay], .field textarea[b-hc0chfypay] { width: 100%; box-sizing: border-box; min-width: 0; min-height: 35px; border: 1px solid #cbd5da; border-radius: 5px; padding: 8px 10px; background: #fff; color: #172f28; font: inherit; }
.field textarea[b-hc0chfypay] { resize: vertical; }
.field select[b-hc0chfypay] { padding-right: 22px; }
.field input:focus[b-hc0chfypay], .field textarea:focus[b-hc0chfypay], .field select:focus[b-hc0chfypay] { outline: 2px solid #00796e; outline-offset: 1px; }
.search-field[b-hc0chfypay] { margin-bottom: 15px; }
.check-field[b-hc0chfypay] { display: flex; align-items: center; gap: 9px; font-size: .81rem; color: #334b44; min-height: 35px; }
.basic-fields > .check-field[b-hc0chfypay] { align-self: end; }
.check-field input[b-hc0chfypay] { width: 16px; height: 16px; accent-color: var(--app-accent-color, #00796e); flex-shrink: 0; }
.designer-section[b-hc0chfypay] { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e7ecef; }
.section-heading[b-hc0chfypay] { margin-bottom: 16px; align-items: flex-start; }
.section-heading p[b-hc0chfypay] { font-size: .81rem; }
.section-number[b-hc0chfypay] { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; background: #edf7f3; color: #00796e; border-radius: 8px; font-weight: 750; font-size: .85rem; }
.hint[b-hc0chfypay] { font-size: .77rem; color: #687b74; line-height: 1.5; margin: 9px 0 0; }
.pipeline[b-hc0chfypay] { list-style: none; margin: 4px 0 18px; padding: 0; }
.pipeline-item[b-hc0chfypay] { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 13px; position: relative; margin-top: 13px; }
.pipeline-item + .pipeline-item[b-hc0chfypay]:before { position: absolute; content: ''; width: 2px; left: 13px; top: -19px; height: 27px; background: #d9e8e1; }
.step-number[b-hc0chfypay] { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; background: #e7f2ee; font-weight: 700; font-size: .77rem; color: #256753; margin-top: 12px; z-index: 1; }
.step-content[b-hc0chfypay] { padding: 14px; border: 1px solid #dce6e1; background: #fbfdfc; border-radius: 8px; min-width: 0; }
.step-heading[b-hc0chfypay] { gap: 8px; margin-bottom: 12px; }
.step-heading strong[b-hc0chfypay] { font-size: .85rem; }
.step-actions[b-hc0chfypay] { gap: 3px; flex-shrink: 0; }
.icon-button[b-hc0chfypay], .text-button[b-hc0chfypay] { border: 0; border-radius: 4px; cursor: pointer; background: transparent; color: #486b5c; font: inherit; }
.icon-button[b-hc0chfypay] { width: 28px; height: 28px; font-size: 1rem; }
.text-button[b-hc0chfypay] { padding: 5px 8px; font-size: .76rem; }
.icon-button:hover[b-hc0chfypay], .text-button:hover[b-hc0chfypay] { background: #e6f0eb; }
.remove[b-hc0chfypay] { color: #a34242; }
button:disabled[b-hc0chfypay], fieldset:disabled button[b-hc0chfypay] { cursor: default; opacity: .5; }
.add-step-actions[b-hc0chfypay] { display: flex; flex-wrap: wrap; gap: 8px; }
.add-step-button[b-hc0chfypay] { border: 1px dashed #9fbbad; color: #286d55; border-radius: 6px; padding: 9px 12px; background: #fff; font-size: .78rem; cursor: pointer; }
.add-step-button:hover[b-hc0chfypay] { background: #eff8f3; border-style: solid; }
.editor-footer[b-hc0chfypay] { padding-top: 20px; margin-top: 22px; border-top: 1px solid #e5ece7; flex-wrap: wrap; }
.delete-confirm[b-hc0chfypay] { flex-wrap: wrap; font-size: .79rem; color: #944040; }
.run-panel[b-hc0chfypay] { padding: 18px; margin-top: 22px; border-radius: 8px; background: #f1f7f4; border: 1px solid #dfece4; }
.run-panel .section-heading[b-hc0chfypay] { justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.run-panel .form-grid[b-hc0chfypay] { margin-top: 9px; }

.empty[b-hc0chfypay] { padding: 24px 6px; text-align: center; color: #64748b; line-height: 1.6; font-size: .83rem; }
.steps-empty[b-hc0chfypay] { border: 1px dashed #cddbd3; border-radius: 8px; padding: 23px; margin-bottom: 13px; }
.welcome-panel[b-hc0chfypay] { min-height: 410px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px; background: radial-gradient(ellipse at right top, #f0f9f3, #fff 65%); }
.welcome-panel h2[b-hc0chfypay] { max-width: 560px; font-size: 1.65rem; line-height: 1.35; margin: 12px 0 15px; }
.welcome-panel p[b-hc0chfypay] { max-width: 630px; font-size: .93rem; }
.example-flow[b-hc0chfypay] { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; margin: 30px 0; gap: 10px; }
.example-flow li[b-hc0chfypay] { padding: 13px 12px; border: 1px solid #e2ebe5; border-radius: 7px; font-size: .8rem; background: #fff; }
.example-flow span[b-hc0chfypay] { display: block; margin-bottom: 10px; color: #88a496; font-size: .68rem; font-weight: 700; }

.history-panel[b-hc0chfypay] { margin-top: 22px; }
.table-scroll[b-hc0chfypay] { overflow-x: auto; }
.runs-table[b-hc0chfypay] { width: 100%; border-collapse: collapse; font-size: .8rem; white-space: nowrap; }
.runs-table th[b-hc0chfypay] { text-align: left; color: #6c7c75; font-size: .7rem; font-weight: 650; background: #f7faf8; padding: 11px 12px; border-bottom: 1px solid #e1e9e4; }
.runs-table td[b-hc0chfypay] { padding: 12px; border-bottom: 1px solid #edf1ef; color: #466052; }
.runs-table tbody tr:hover[b-hc0chfypay], .selected-run[b-hc0chfypay] { background: #f2f9f5; }
.run-link[b-hc0chfypay] { border: 0; padding: 0; background: none; font: inherit; font-weight: 600; color: #00796e; cursor: pointer; text-align: left; }
.run-link:hover[b-hc0chfypay] { text-decoration: underline; }
.status[b-hc0chfypay] { display: inline-flex; white-space: nowrap; padding: 4px 9px; border-radius: 20px; background: #eef2f4; color: #5b6973; font-size: .71rem; font-weight: 650; align-self: start; }
.status.succeeded[b-hc0chfypay] { background: #e5f5eb; color: #286742; }
.status.running[b-hc0chfypay] { background: #e6f0fb; color: #255e99; }
.status.queued[b-hc0chfypay] { background: #fff3d8; color: #8c6618; }
.status.failed[b-hc0chfypay] { background: #fde9e8; color: #ac3832; }
.run-detail[b-hc0chfypay] { border-top: 1px solid #dce7e0; margin-top: 20px; padding-top: 23px; }
.run-detail .panel-heading[b-hc0chfypay] { margin-bottom: 12px; }
.run-detail .panel-heading p[b-hc0chfypay] { font-size: .81rem; }
.run-message[b-hc0chfypay] { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; color: #5c6e66; font-size: .79rem; }
.run-steps[b-hc0chfypay] { list-style: none; padding: 0; margin: 16px 0 0; }
.run-steps li[b-hc0chfypay] { display: flex; gap: 13px; align-items: flex-start; padding: 15px 0; border-top: 1px solid #e9efeb; }
.run-steps .step-number[b-hc0chfypay] { margin-top: 0; }
.run-steps li > div[b-hc0chfypay] { flex: 1; min-width: 0; }
.run-steps strong[b-hc0chfypay] { font-size: .85rem; }
.run-steps p[b-hc0chfypay] { margin: 5px 0; color: #667a70; font-size: .78rem; }
.workflow-page a[b-hc0chfypay] { color: #00796e; }
.run-steps a[b-hc0chfypay] { display: inline-block; font-size: .8rem; margin-top: 4px; }
button:focus-visible[b-hc0chfypay], a:focus-visible[b-hc0chfypay] { outline: 2px solid #00796e; outline-offset: 3px; }

@media (max-width: 1150px) {
    .workspace[b-hc0chfypay] { grid-template-columns: 245px minmax(0, 1fr); gap: 14px; }
    .workflow-page[b-hc0chfypay] { padding: 18px; }
    .panel[b-hc0chfypay] { padding: 17px; }
    .welcome-panel[b-hc0chfypay] { padding: 27px; }
    .example-flow[b-hc0chfypay] { grid-template-columns: repeat(2, 1fr); }
    .card-title[b-hc0chfypay] { flex-wrap: wrap; }
}

@media (max-width: 850px) {
    .workspace[b-hc0chfypay] { grid-template-columns: 1fr; }
    .workflow-library[b-hc0chfypay] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .workflow-library > .panel-heading[b-hc0chfypay], .workflow-library > .search-field[b-hc0chfypay], .workflow-library > .empty[b-hc0chfypay] { grid-column: 1 / -1; }
    .workflow-card[b-hc0chfypay] { margin-top: 0; }
    .page-heading[b-hc0chfypay] { flex-wrap: wrap; }
    .actions[b-hc0chfypay] { justify-content: flex-start; }
}

@media (max-width: 540px) {
    .workflow-page[b-hc0chfypay] { padding: 12px; }
    .summary-grid[b-hc0chfypay] { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .form-grid[b-hc0chfypay], .basic-fields[b-hc0chfypay], .workflow-library[b-hc0chfypay] { grid-template-columns: 1fr; }
    .pipeline-item[b-hc0chfypay] { grid-template-columns: 23px minmax(0, 1fr); gap: 7px; }
    .step-number[b-hc0chfypay] { width: 23px; height: 23px; flex-basis: 23px; }
    .pipeline-item + .pipeline-item[b-hc0chfypay]:before { left: 11px; }
    .step-content[b-hc0chfypay] { padding: 10px; }
    .step-heading[b-hc0chfypay] { align-items: flex-start; flex-wrap: wrap; }
    .run-steps li[b-hc0chfypay] { gap: 8px; }
    .run-steps .status[b-hc0chfypay] { font-size: .65rem; padding: 4px 6px; }
    .welcome-panel h2[b-hc0chfypay] { font-size: 1.4rem; }
}

.weekday-picker[b-hc0chfypay] { display: flex; flex-wrap: wrap; gap: 10px 18px; border: 0; padding: 0; margin: 18px 0 0; }
.weekday-picker legend[b-hc0chfypay] { font-size: .8rem; font-weight: 600; padding: 0 0 9px; }
.stage-map[b-hc0chfypay] { overflow-x: auto; margin: 18px 0 24px; padding: 20px 12px; border: 1px solid #dce7e0; border-radius: 12px; background: #f5f9f7; }
.stage-map:focus-visible[b-hc0chfypay] { outline: 2px solid #00796e; outline-offset: 3px; }
.stage-track[b-hc0chfypay] { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; width: max-content; min-width: 100%; align-items: stretch; }
.stage-node[b-hc0chfypay] { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; width: 185px; flex: 0 0 185px; border: 1px solid #c9dcd2; border-top: 3px solid #438573; border-radius: 8px; padding: 15px; background: #fff; box-shadow: 0 2px 4px #163a2810; overflow-wrap: anywhere; }
.stage-node + .stage-node[b-hc0chfypay]::before { content: ""; position: absolute; width: 32px; height: 2px; background: #91b4a4; left: -33px; top: 38px; }
.stage-node + .stage-node[b-hc0chfypay]::after { content: ""; position: absolute; left: -8px; top: 34px; width: 8px; height: 8px; border-top: 2px solid #91b4a4; border-right: 2px solid #91b4a4; transform: rotate(45deg); }
.stage-symbol[b-hc0chfypay] { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e8f4ee; color: #246f54; font-size: .9rem; font-weight: 700; }
.stage-node strong[b-hc0chfypay] { font-size: .84rem; line-height: 1.4; }
.stage-node small[b-hc0chfypay] { font-size: .72rem; line-height: 1.5; color: #5c6e66; }
.stage-kind[b-hc0chfypay] { font-size: .66rem; line-height: 1.4; color: #64766c; }
.trigger-node[b-hc0chfypay] { border-top-color: #677e8d; background: #edf3f5; }
.stage-node.succeeded[b-hc0chfypay] { border-color: #8dbd9e; }
.stage-node.running[b-hc0chfypay] { border-color: #5e9bd0; background: #f4f9ff; }
.stage-node.running .stage-symbol[b-hc0chfypay] { color: #255e99; background: #e6f0fb; }
.stage-node.failed[b-hc0chfypay] { border-color: #d59692; background: #fff8f7; }
.stage-node.failed .stage-symbol[b-hc0chfypay] { color: #ac3832; background: #fde9e8; }
.stage-node.queued[b-hc0chfypay] { border-color: #d8c58b; }
.stage-node.queued .stage-symbol[b-hc0chfypay] { color: #8c6618; background: #fff3d8; }
.stage-node.skipped[b-hc0chfypay] { border-color: #bbc5c0; border-top-style: dashed; background: #f8faf9; }
.stage-node.skipped .stage-symbol[b-hc0chfypay] { color: #69746e; background: #edf0ee; }
