@import '_content/Excubo.Blazor.TreeViews/Excubo.Blazor.TreeViews.bundle.scp.css';
@import '_content/Toolbelt.Blazor.PWA.Updater/Toolbelt.Blazor.PWA.Updater.bnjuj6nd91.bundle.scp.css';

/* /Components/Scheduling/ScheduleBuilder.razor.rz.scp.css */
.schedule-editor[b-ujddbi4xgx] {
    --schedule-ink: #183b56;
    --schedule-muted: #60758a;
    --schedule-border: #dfe7ee;
    --schedule-surface: #ffffff;
    --schedule-field: #f4f7f9;
    --schedule-teal: #2eb5aa;
    --schedule-teal-dark: #16887f;
    --schedule-label: #35536d;
    --schedule-icon: #355673;
    --schedule-field-border: #e1e8ee;
    --schedule-subtle: #f4f7f9;
    --schedule-hover: #f5f8fa;
    --schedule-active-surface: #dff5f2;
    --schedule-selected-surface: #effbf9;
    --schedule-line: #e6edf2;
    --schedule-step-line: #c8d5df;
    --schedule-control: #eef2f5;
    --schedule-control-ink: #52697c;
    --schedule-thumbnail: #fbfcfd;
    --schedule-link: #355bff;
    --schedule-hover-border: #9acfc9;
    --schedule-shadow: rgba(30, 61, 87, .035);
    display: grid;
    gap: 1.45rem;
    width: 100%;
    max-width: 74rem;
    min-width: 0;
    color: var(--schedule-ink);
    container-type: inline-size;
}

:global(.lpx-theme-dark) .schedule-editor[b-ujddbi4xgx],
:global(.lpx-theme-dim) .schedule-editor[b-ujddbi4xgx] {
    --schedule-ink: #e6eef7;
    --schedule-muted: #9fb0c0;
    --schedule-border: #2d4053;
    --schedule-surface: #172434;
    --schedule-field: #101a26;
    --schedule-teal: #4fd1c5;
    --schedule-teal-dark: #8cf4ec;
    --schedule-label: #c3d2e2;
    --schedule-icon: #9fb6c9;
    --schedule-field-border: #33485c;
    --schedule-subtle: #1d2d3d;
    --schedule-hover: #213447;
    --schedule-active-surface: rgba(79, 209, 197, .16);
    --schedule-selected-surface: rgba(79, 209, 197, .12);
    --schedule-line: #2b4054;
    --schedule-step-line: #496174;
    --schedule-control: #223449;
    --schedule-control-ink: #d5e3f1;
    --schedule-thumbnail: #101a26;
    --schedule-link: #8ea2ff;
    --schedule-hover-border: #4fd1c5;
    --schedule-shadow: rgba(0, 0, 0, .24);
    color-scheme: dark;
}

.schedule-editor-header[b-ujddbi4xgx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.schedule-title-row[b-ujddbi4xgx] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .85rem;
}

.schedule-title-row h2[b-ujddbi4xgx] {
    margin: 0;
    color: var(--schedule-ink);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.schedule-editor-header p[b-ujddbi4xgx] {
    margin: .45rem 0 0;
    color: var(--schedule-muted);
    font-size: 1rem;
}

.status-badge[b-ujddbi4xgx] {
    padding: .34rem .68rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 650;
}

.status-badge.is-active[b-ujddbi4xgx] {
    background: var(--schedule-active-surface);
    color: var(--schedule-teal-dark);
}

.status-badge.is-paused[b-ujddbi4xgx] {
    background: var(--schedule-control);
    color: var(--schedule-muted);
}

.status-dot[b-ujddbi4xgx] {
    width: .45rem;
    height: .45rem;
    background: currentColor;
    border-radius: 50%;
}

.schedule-editor-grid[b-ujddbi4xgx] {
    display: grid;
    grid-template-columns: 13rem minmax(0, 38rem) minmax(18rem, 20rem);
    gap: 1.35rem;
    align-items: start;
    min-width: 0;
}

.schedule-stepper[b-ujddbi4xgx],
.schedule-form-card[b-ujddbi4xgx],
.delivery-preview[b-ujddbi4xgx] {
    background: var(--schedule-surface);
    border: 1px solid var(--schedule-border);
    border-radius: .95rem;
    box-shadow: 0 .25rem 1rem var(--schedule-shadow);
}

.schedule-stepper[b-ujddbi4xgx] {
    padding: .75rem;
    display: grid;
    gap: .2rem;
    overflow: hidden;
}

.schedule-step[b-ujddbi4xgx] {
    position: relative;
    width: 100%;
    min-height: 3.9rem;
    padding: .7rem .8rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: transparent;
    border: 0;
    border-radius: .7rem;
    color: var(--schedule-label);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    transition: background-color .15s ease, color .15s ease;
}

.schedule-step:not(:last-child)[b-ujddbi4xgx]::after {
    position: absolute;
    z-index: 0;
    top: calc(50% + 1rem);
    left: 1.8rem;
    width: 1px;
    height: calc(100% - 1.8rem);
    background: var(--schedule-step-line);
    content: "";
}

.schedule-step.is-complete:not(:last-child)[b-ujddbi4xgx]::after {
    background: var(--schedule-teal);
}

.schedule-step:hover[b-ujddbi4xgx] {
    background: var(--schedule-hover);
}

.schedule-step.is-current[b-ujddbi4xgx] {
    background: var(--schedule-active-surface);
    color: var(--schedule-teal-dark);
}

.schedule-step.is-complete[b-ujddbi4xgx] {
    color: var(--schedule-ink);
}

.step-number[b-ujddbi4xgx] {
    position: relative;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--schedule-label);
    border-radius: 50%;
    color: var(--schedule-label);
    font-size: .76rem;
    font-weight: 600;
}

.schedule-step.is-current .step-number[b-ujddbi4xgx],
.schedule-step.is-complete .step-number[b-ujddbi4xgx] {
    background: var(--schedule-teal);
    border-color: var(--schedule-teal);
    color: #fff;
}

.schedule-form-card[b-ujddbi4xgx] {
    min-height: 41rem;
    padding: 1.65rem 1.8rem 1.45rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.schedule-step-panel[b-ujddbi4xgx] {
    flex: 1;
}

[b-ujddbi4xgx] .step-heading {
    margin-bottom: 1.55rem;
}

[b-ujddbi4xgx] .step-heading h3 {
    margin: 0;
    color: var(--schedule-ink);
    font-size: 1.45rem;
    font-weight: 600;
}

[b-ujddbi4xgx] .step-heading p {
    margin: .35rem 0 0;
    color: var(--schedule-muted);
    font-size: .95rem;
}

.schedule-form-card[b-ujddbi4xgx]  .form-group,
.schedule-form-card[b-ujddbi4xgx]  .field {
    margin-bottom: 1.15rem;
}

.schedule-form-card[b-ujddbi4xgx]  label,
.schedule-form-card[b-ujddbi4xgx]  .field-label {
    margin-bottom: .45rem;
    color: var(--schedule-label);
    font-size: .88rem;
    font-weight: 600;
}

.schedule-form-card[b-ujddbi4xgx]  .form-control,
.schedule-form-card[b-ujddbi4xgx]  .form-select,
.schedule-form-card[b-ujddbi4xgx]  .input-group-text {
    min-height: 2.9rem;
    background-color: var(--schedule-field);
    border-color: var(--schedule-field-border);
    border-radius: .65rem;
    color: var(--schedule-ink);
    box-shadow: none;
}

.schedule-form-card[b-ujddbi4xgx]  textarea.form-control {
    min-height: 7.25rem;
    resize: vertical;
}

.schedule-form-card[b-ujddbi4xgx]  .form-control:focus,
.schedule-form-card[b-ujddbi4xgx]  .form-select:focus {
    background-color: var(--schedule-surface);
    border-color: var(--schedule-teal);
    box-shadow: 0 0 0 .2rem rgba(46, 181, 170, .12);
}

.schedule-form-card[b-ujddbi4xgx]  .form-text {
    color: var(--schedule-muted);
    font-size: .76rem;
}

.two-column-fields[b-ujddbi4xgx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.status-control[b-ujddbi4xgx],
.end-date-choice[b-ujddbi4xgx] {
    min-height: 5.25rem;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--schedule-border);
    border-radius: .75rem;
}

.status-control strong[b-ujddbi4xgx],
.status-control span[b-ujddbi4xgx],
.end-date-choice strong[b-ujddbi4xgx],
.end-date-choice span[b-ujddbi4xgx] {
    display: block;
}

.status-control strong[b-ujddbi4xgx],
.end-date-choice strong[b-ujddbi4xgx] {
    color: var(--schedule-label);
    font-size: .9rem;
}

.status-control span[b-ujddbi4xgx],
.end-date-choice span[b-ujddbi4xgx] {
    margin-top: .25rem;
    color: var(--schedule-muted);
    font-size: .8rem;
}

.status-control[b-ujddbi4xgx]  .form-switch,
.end-date-choice[b-ujddbi4xgx]  .form-switch {
    margin: 0;
}

.status-control[b-ujddbi4xgx]  .form-check-input:checked,
.end-date-choice[b-ujddbi4xgx]  .form-check-input:checked {
    background-color: var(--schedule-teal);
    border-color: var(--schedule-teal);
}

.recipient-summary[b-ujddbi4xgx],
.date-summary[b-ujddbi4xgx],
.review-ready[b-ujddbi4xgx] {
    margin-top: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    background: var(--schedule-subtle);
    border-radius: .75rem;
}

.recipient-summary i[b-ujddbi4xgx],
.date-summary i[b-ujddbi4xgx],
.review-ready i[b-ujddbi4xgx] {
    color: var(--schedule-teal);
    font-size: 1.3rem;
}

.recipient-summary strong[b-ujddbi4xgx],
.recipient-summary span[b-ujddbi4xgx],
.date-summary strong[b-ujddbi4xgx],
.date-summary span[b-ujddbi4xgx],
.review-ready strong[b-ujddbi4xgx],
.review-ready span[b-ujddbi4xgx] {
    display: block;
}

.recipient-summary span[b-ujddbi4xgx],
.date-summary span[b-ujddbi4xgx],
.review-ready span[b-ujddbi4xgx] {
    margin-top: .15rem;
    color: var(--schedule-muted);
    font-size: .8rem;
}

.variable-help[b-ujddbi4xgx] {
    margin-bottom: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--schedule-teal-dark);
    font-size: .82rem;
}

.format-options[b-ujddbi4xgx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.format-option[b-ujddbi4xgx] {
    min-height: 5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    background: var(--schedule-surface);
    border: 1px solid var(--schedule-border);
    border-radius: .75rem;
    color: var(--schedule-ink);
    font-weight: 600;
}

.format-option i[b-ujddbi4xgx] {
    color: var(--schedule-muted);
    font-size: 1.55rem;
}

.format-option.is-selected[b-ujddbi4xgx] {
    background: var(--schedule-selected-surface);
    border: 2px solid var(--schedule-teal);
    color: var(--schedule-teal-dark);
}

.format-option.is-selected i[b-ujddbi4xgx] {
    color: var(--schedule-teal);
}

.cadence-options[b-ujddbi4xgx] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.cadence-option[b-ujddbi4xgx] {
    min-height: 6.6rem;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    background: var(--schedule-surface);
    border: 1px solid var(--schedule-border) !important;
    border-radius: .8rem;
    color: var(--schedule-ink) !important;
    font-size: .88rem;
    font-weight: 600;
}

.cadence-option i[b-ujddbi4xgx] {
    color: var(--schedule-icon);
    font-size: 2.15rem;
}

.cadence-option.active[b-ujddbi4xgx] {
    background: var(--schedule-selected-surface);
    border: 2px solid var(--schedule-teal) !important;
    color: var(--schedule-teal-dark) !important;
}

.cadence-option.active i[b-ujddbi4xgx] {
    color: var(--schedule-teal);
}

.recurrence-settings[b-ujddbi4xgx] {
    margin-top: 1.25rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--schedule-border);
}

.timing-fields[b-ujddbi4xgx] {
    margin-top: .5rem;
}

.timezone-text[b-ujddbi4xgx] {
    min-height: 2.9rem;
    display: flex;
    align-items: center;
    color: var(--schedule-label);
    font-size: .88rem;
    font-weight: 600;
}

[b-ujddbi4xgx] .next-runs {
    margin-top: 1.15rem;
    padding: 1rem 1.05rem;
    border: 1px solid var(--schedule-border);
    border-radius: .75rem;
}

[b-ujddbi4xgx] .next-runs h4 {
    margin: 0 0 .65rem;
    color: var(--schedule-label);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

[b-ujddbi4xgx] .next-run {
    padding: .55rem 0;
    display: grid;
    grid-template-columns: 1rem 1fr auto;
    align-items: center;
    gap: .6rem;
    border-top: 1px solid var(--schedule-line);
}

[b-ujddbi4xgx] .next-run:first-of-type {
    border-top: 0;
}

[b-ujddbi4xgx] .next-run i {
    color: var(--schedule-teal);
}

[b-ujddbi4xgx] .next-run span {
    color: var(--schedule-muted);
    font-size: .8rem;
}

.schedule-step-actions[b-ujddbi4xgx] {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--schedule-border);
}

.schedule-step-actions .btn[b-ujddbi4xgx] {
    min-height: 2.65rem;
    padding: .55rem .9rem;
    border: 0;
    border-radius: .65rem;
    font-weight: 600;
}

.schedule-step-actions .btn-light[b-ujddbi4xgx] {
    background: var(--schedule-control);
    color: var(--schedule-control-ink);
}

.delivery-preview[b-ujddbi4xgx] {
    position: sticky;
    top: 1rem;
    padding: 1.3rem;
    min-width: 0;
}

[b-ujddbi4xgx] .recurrence-builder > header h3 {
    margin: 0 0 1rem;
    color: var(--schedule-ink);
    font-size: 1.35rem;
    font-weight: 600;
}

[b-ujddbi4xgx] .recurrence-builder h4 {
    margin: 0 0 .7rem;
    color: var(--schedule-label);
    font-size: .9rem;
    font-weight: 600;
}

[b-ujddbi4xgx] .schedule-choice-grid {
    margin: .6rem 0 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
}

[b-ujddbi4xgx] .schedule-day-selector {
    margin: .6rem 0 1rem;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .55rem;
}

[b-ujddbi4xgx] .schedule-choice-grid > .row,
[b-ujddbi4xgx] .schedule-choice-grid > div:has(> .form-check),
[b-ujddbi4xgx] .schedule-choice-grid > .form-check-group,
[b-ujddbi4xgx] .schedule-choice-grid > .checkbox-list {
    display: contents;
    margin: 0;
}

[b-ujddbi4xgx] .month-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

[b-ujddbi4xgx] .schedule-choice-grid .form-check {
    min-width: 0;
    margin: 0;
    padding: 0;
}

[b-ujddbi4xgx] .schedule-choice-grid label[for^="checkbox-item-"],
[b-ujddbi4xgx] .schedule-day-selector label[for^="checkbox-item-"] {
    position: relative;
    min-height: 3.1rem;
    margin: 0;
    padding: .65rem .45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--schedule-surface);
    border: 1px solid var(--schedule-border);
    border-radius: .65rem;
    color: var(--schedule-label);
    cursor: pointer;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    width: auto;
    max-width: none;
    flex: none;
}

[b-ujddbi4xgx] .schedule-choice-grid label[for^="checkbox-item-"]:hover,
[b-ujddbi4xgx] .schedule-day-selector label[for^="checkbox-item-"]:hover {
    border-color: var(--schedule-hover-border);
}

[b-ujddbi4xgx] .schedule-choice-grid label[for^="checkbox-item-"]:has(input:checked),
[b-ujddbi4xgx] .schedule-day-selector label[for^="checkbox-item-"]:has(input:checked) {
    background: var(--schedule-active-surface);
    border-color: var(--schedule-teal);
    color: var(--schedule-teal-dark);
    box-shadow: inset 0 0 0 1px var(--schedule-teal);
}

[b-ujddbi4xgx] .schedule-choice-grid label[for^="checkbox-item-"]:has(input:disabled),
[b-ujddbi4xgx] .schedule-day-selector label[for^="checkbox-item-"]:has(input:disabled) {
    cursor: not-allowed;
    opacity: .5;
}

[b-ujddbi4xgx] .schedule-choice-grid label[for^="checkbox-item-"] input,
[b-ujddbi4xgx] .schedule-day-selector label[for^="checkbox-item-"] input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

[b-ujddbi4xgx] .day-label-medium,
[b-ujddbi4xgx] .day-label-short {
    display: none;
}

@container (max-width: 68rem) {
    [b-ujddbi4xgx] .day-label-full {
        display: none;
    }

    [b-ujddbi4xgx] .day-label-medium {
        display: inline;
    }
}

@container (max-width: 50rem) {
    [b-ujddbi4xgx] .day-label-medium {
        display: none;
    }

    [b-ujddbi4xgx] .day-label-short {
        display: inline;
    }
}

.delivery-preview h3[b-ujddbi4xgx] {
    margin: 0 0 1.15rem;
    color: var(--schedule-label);
    font-size: 1.05rem;
    font-weight: 600;
}

.preview-email[b-ujddbi4xgx] {
    padding: 1rem;
    display: grid;
    gap: .85rem;
    border: 1px solid var(--schedule-border);
    border-radius: .75rem;
}

.preview-row span[b-ujddbi4xgx],
.preview-row strong[b-ujddbi4xgx] {
    display: block;
}

.preview-row span[b-ujddbi4xgx] {
    color: var(--schedule-muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.preview-row strong[b-ujddbi4xgx] {
    margin-top: .2rem;
    color: var(--schedule-label);
    font-size: .82rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.attachment-chip[b-ujddbi4xgx] {
    padding: .15rem 0;
    color: var(--schedule-muted);
    font-size: .75rem;
    overflow-wrap: anywhere;
}

.attachment-chip i[b-ujddbi4xgx] {
    color: var(--schedule-icon);
}

.report-thumbnail[b-ujddbi4xgx] {
    min-height: 8.5rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .5rem;
    background: var(--schedule-thumbnail);
    border-radius: .55rem;
    color: var(--schedule-muted);
    font-size: .75rem;
}

.report-thumbnail i[b-ujddbi4xgx] {
    color: var(--schedule-teal);
    font-size: 2.3rem;
}

.schedule-summary[b-ujddbi4xgx] {
    margin-top: .9rem;
    padding: .8rem .85rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    background: var(--schedule-active-surface);
    border-radius: .7rem;
    color: var(--schedule-teal-dark);
    font-size: .8rem;
}

.next-delivery[b-ujddbi4xgx] {
    margin-top: 1.15rem;
}

.next-delivery span[b-ujddbi4xgx],
.next-delivery strong[b-ujddbi4xgx] {
    display: block;
}

.next-delivery span[b-ujddbi4xgx] {
    color: var(--schedule-muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.next-delivery strong[b-ujddbi4xgx] {
    margin-top: .3rem;
    color: var(--schedule-label);
    font-size: .85rem;
    font-weight: 650;
}

.delivery-settings[b-ujddbi4xgx] {
    margin-top: 1.1rem;
    padding-top: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--schedule-border);
}

.delivery-settings span[b-ujddbi4xgx],
.delivery-settings strong[b-ujddbi4xgx] {
    display: block;
    font-size: .75rem;
}

.delivery-settings span[b-ujddbi4xgx] {
    color: var(--schedule-muted);
}

.delivery-settings strong[b-ujddbi4xgx] {
    margin-top: .15rem;
    color: var(--schedule-label);
}

.delivery-settings .btn[b-ujddbi4xgx] {
    padding: 0 !important;
    color: var(--schedule-link);
    font-size: .78rem;
}

.review-ready[b-ujddbi4xgx] {
    background: var(--schedule-active-surface);
    color: var(--schedule-teal-dark);
}

[b-ujddbi4xgx] .review-row {
    margin-top: .8rem;
    padding: .9rem;
    border: 1px solid var(--schedule-border);
    border-radius: .7rem;
}

[b-ujddbi4xgx] .review-row-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[b-ujddbi4xgx] .review-row-heading h4 {
    margin: 0;
    color: var(--schedule-label);
    font-size: .86rem;
}

[b-ujddbi4xgx] .review-row-heading .btn {
    padding: 0 !important;
}

[b-ujddbi4xgx] .review-row-content {
    margin-top: .45rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .8rem;
}

[b-ujddbi4xgx] .review-row-content span {
    color: var(--schedule-muted);
}

@media (max-width: 1050px) {
    .schedule-editor-grid[b-ujddbi4xgx] {
        grid-template-columns: 13rem minmax(0, 1fr);
    }

    .delivery-preview[b-ujddbi4xgx] {
        position: static;
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    [b-ujddbi4xgx] .schedule-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .schedule-editor-grid[b-ujddbi4xgx] {
        grid-template-columns: 1fr;
    }

    .schedule-stepper[b-ujddbi4xgx] {
        display: flex;
        overflow-x: auto;
    }

    .schedule-step[b-ujddbi4xgx]::after {
        display: none;
    }

    .schedule-step[b-ujddbi4xgx] {
        min-width: max-content;
    }

    .delivery-preview[b-ujddbi4xgx] {
        grid-column: 1;
    }

    .two-column-fields[b-ujddbi4xgx],
    .cadence-options[b-ujddbi4xgx] {
        grid-template-columns: 1fr;
    }

    .schedule-form-card[b-ujddbi4xgx] {
        min-height: 0;
        padding: 1.25rem;
    }

    [b-ujddbi4xgx] .schedule-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Scheduling/ScheduleList.razor.rz.scp.css */
.schedule-list-shell[b-6o85gldsmy] {
    --schedule-ink: #183b56;
    --schedule-muted: #60758a;
    --schedule-border: #dfe7ee;
    --schedule-surface: #ffffff;
    --schedule-field: #f4f7f9;
    --schedule-teal: #2eb5aa;
    --schedule-label: #355673;
    --schedule-icon: #46657f;
    --schedule-field-border: #e3eaf0;
    --schedule-placeholder: #748494;
    --schedule-hover: #fbfcfd;
    --schedule-row-border: #e6edf2;
    --schedule-header-border: #36536c;
    --schedule-control: #eef2f5;
    --schedule-control-ink: #425d73;
    --schedule-format-bg: #f0edff;
    --schedule-format-ink: #6752dc;
    --schedule-active-bg: #e3f7f4;
    --schedule-active-ink: #16887f;
    --schedule-shadow: rgba(30, 61, 87, .035);
    --schedule-hover-shadow: rgba(0, 0, 0, .06);
    display: grid;
    gap: 1.75rem;
    color: var(--schedule-ink);
}

:global(.lpx-theme-dark) .schedule-list-shell[b-6o85gldsmy],
:global(.lpx-theme-dim) .schedule-list-shell[b-6o85gldsmy] {
    --schedule-ink: #e6eef7;
    --schedule-muted: #9fb0c0;
    --schedule-border: #2d4053;
    --schedule-surface: #172434;
    --schedule-field: #101a26;
    --schedule-teal: #4fd1c5;
    --schedule-label: #c3d2e2;
    --schedule-icon: #9fb6c9;
    --schedule-field-border: #33485c;
    --schedule-placeholder: #7f93a5;
    --schedule-hover: #1d2d3d;
    --schedule-row-border: #2b4054;
    --schedule-header-border: #516f8b;
    --schedule-control: #223449;
    --schedule-control-ink: #d5e3f1;
    --schedule-format-bg: rgba(139, 124, 246, .18);
    --schedule-format-ink: #c8c0ff;
    --schedule-active-bg: rgba(79, 209, 197, .16);
    --schedule-active-ink: #8cf4ec;
    --schedule-shadow: rgba(0, 0, 0, .24);
    --schedule-hover-shadow: rgba(0, 0, 0, .28);
    color-scheme: dark;
}

.schedule-list-heading[b-6o85gldsmy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.schedule-list-heading h2[b-6o85gldsmy] {
    margin: 0;
    color: var(--schedule-ink);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.schedule-list-heading p[b-6o85gldsmy] {
    margin: .45rem 0 0;
    color: var(--schedule-muted);
    font-size: 1rem;
}

.schedule-list-heading[b-6o85gldsmy]  .btn {
    min-height: 2.75rem;
    padding: .6rem 1rem;
    border: 0;
    border-radius: .65rem;
    box-shadow: 0 .25rem .65rem rgba(53, 91, 255, .18);
    font-weight: 600;
}

.schedule-metrics[b-6o85gldsmy] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.schedule-metric[b-6o85gldsmy] {
    min-height: 6rem;
    padding: 1.3rem 1.55rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--schedule-surface);
    border: 1px solid var(--schedule-border);
    border-radius: .9rem;
    box-shadow: 0 .1rem .35rem rgba(30, 61, 87, .025);
    position: relative;
    overflow: hidden;
}

.schedule-metric span[b-6o85gldsmy] {
    color: var(--schedule-label);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.schedule-metric strong[b-6o85gldsmy] {
    color: var(--schedule-ink);
    font-size: 1.8rem;
    font-weight: 650;
    line-height: 1;
}

.schedule-table-card[b-6o85gldsmy] {
    overflow: hidden;
    background: var(--schedule-surface);
    border: 1px solid var(--schedule-border);
    border-radius: .95rem;
    box-shadow: 0 .25rem 1rem var(--schedule-shadow);
}

.schedule-toolbar[b-6o85gldsmy] {
    padding: 1.15rem 1.3rem;
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) 13rem 13rem;
    gap: .9rem;
    border-bottom: 1px solid var(--schedule-border);
}

.schedule-search[b-6o85gldsmy] {
    position: relative;
    min-width: 0;
}

.schedule-search i[b-6o85gldsmy] {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 1rem;
    color: var(--schedule-icon);
    font-size: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.schedule-search input[b-6o85gldsmy],
.schedule-toolbar .form-select[b-6o85gldsmy] {
    height: 3rem;
    background-color: var(--schedule-field);
    border: 1px solid var(--schedule-field-border);
    border-radius: .65rem;
    color: var(--schedule-ink);
    font-size: .95rem;
    box-shadow: none;
}

.schedule-search input[b-6o85gldsmy] {
    padding-left: 2.75rem;
}

.schedule-search input[b-6o85gldsmy]::placeholder {
    color: var(--schedule-placeholder);
    opacity: 1;
}

.schedule-search input:focus[b-6o85gldsmy],
.schedule-toolbar .form-select:focus[b-6o85gldsmy] {
    background-color: var(--schedule-surface);
    border-color: var(--schedule-teal);
    box-shadow: 0 0 0 .2rem rgba(46, 181, 170, .12);
}

.schedule-table[b-6o85gldsmy] {
    margin: 0;
    color: var(--schedule-ink);
    vertical-align: middle;
}

.schedule-table thead th[b-6o85gldsmy] {
    padding: .85rem 1rem !important;
    background: var(--schedule-surface);
    border-bottom: 1px solid var(--schedule-header-border);
    color: var(--schedule-label);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.schedule-table tbody tr[b-6o85gldsmy] {
    transition: background-color .15s ease;
}

.schedule-table tbody tr:hover[b-6o85gldsmy] {
    background: var(--schedule-hover);
}

.schedule-table td[b-6o85gldsmy] {
    min-height: 4.75rem;
    padding: 1.15rem 1rem !important;
    border-color: var(--schedule-row-border);
    color: var(--schedule-label);
}

.sort-button[b-6o85gldsmy] {
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.sort-button i[b-6o85gldsmy] {
    font-size: .68rem;
}

.schedule-name-button[b-6o85gldsmy] {
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    text-align: left;
}

.schedule-name-button strong[b-6o85gldsmy],
.schedule-name-button span[b-6o85gldsmy],
.schedule-cell-subtitle[b-6o85gldsmy] {
    display: block;
}

.schedule-name-button strong[b-6o85gldsmy] {
    color: var(--schedule-teal);
    font-size: .9rem;
    font-weight: 650;
}

.schedule-name-button span[b-6o85gldsmy],
.schedule-cell-subtitle[b-6o85gldsmy] {
    margin-top: .18rem;
    color: var(--schedule-muted);
    font-size: .78rem;
}

.format-badge[b-6o85gldsmy] {
    padding: .28rem .55rem;
    display: inline-flex;
    align-items: center;
    background: var(--schedule-format-bg);
    border-radius: .4rem;
    color: var(--schedule-format-ink);
    font-size: .72rem;
    font-weight: 700;
}

.status-badge[b-6o85gldsmy] {
    padding: .32rem .65rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 650;
}

.status-badge.is-active[b-6o85gldsmy] {
    background: var(--schedule-active-bg);
    color: var(--schedule-active-ink);
}

.status-badge.is-paused[b-6o85gldsmy] {
    background: var(--schedule-control);
    color: var(--schedule-muted);
}

.status-dot[b-6o85gldsmy] {
    width: .45rem;
    height: .45rem;
    background: currentColor;
    border-radius: 50%;
}

.schedule-table td:last-child .btn[b-6o85gldsmy] {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    background: var(--schedule-control);
    border: 0;
    border-radius: .55rem;
    color: var(--schedule-control-ink);
}

.schedule-empty[b-6o85gldsmy] {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    color: var(--schedule-muted);
}

.schedule-empty i[b-6o85gldsmy] {
    color: var(--schedule-teal);
    font-size: 2rem;
}

.schedule-pager[b-6o85gldsmy] {
    min-height: 4.5rem;
    padding: .9rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--schedule-border);
    color: var(--schedule-label);
    font-size: .82rem;
}

.schedule-pager > div[b-6o85gldsmy] {
    display: flex;
    gap: .5rem;
}

.schedule-pager .btn[b-6o85gldsmy] {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    background: var(--schedule-control);
    border: 0;
    border-radius: .55rem;
    color: var(--schedule-control-ink);
}

@media (max-width: 1000px) {
    .schedule-toolbar[b-6o85gldsmy] {
        grid-template-columns: 1fr 1fr;
    }

    .schedule-search[b-6o85gldsmy] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .schedule-metrics[b-6o85gldsmy] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .schedule-list-heading[b-6o85gldsmy] {
        align-items: stretch;
        flex-direction: column;
    }

    .schedule-list-heading[b-6o85gldsmy]  .btn {
        width: 100%;
    }

    .schedule-metrics[b-6o85gldsmy],
    .schedule-toolbar[b-6o85gldsmy] {
        grid-template-columns: 1fr;
    }

    .schedule-search[b-6o85gldsmy] {
        grid-column: auto;
    }
}


.schedule-metric[b-6o85gldsmy]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.schedule-metric:hover[b-6o85gldsmy] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--schedule-hover-shadow);
}

.schedule-metric.total[b-6o85gldsmy]::before    { background: var(--tog-primary-color, #36b3ac); }
.schedule-metric.active[b-6o85gldsmy]::before { background: #10b981; }
.schedule-metric.paused[b-6o85gldsmy]::before  { background: #3b82f6; }
.schedule-metric.today[b-6o85gldsmy]::before   { background: #ef4444; }
/* /Components/Shared/AlertContainer.razor.rz.scp.css */
.alert-container[b-yufjk8cb8b] {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    pointer-events: none;
}

.alert-container > *[b-yufjk8cb8b] {
    pointer-events: auto;
}
/* /Components/Shared/ErrorModal.razor.rz.scp.css */
.error-modal-correlation[b-htoyu25djm] {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border-left: 3px solid #dc3545;
}

.error-modal-correlation code[b-htoyu25djm] {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #495057;
    font-size: 0.875rem;
}

.error-modal-technical[b-htoyu25djm] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.error-modal-technical pre[b-htoyu25djm] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}
/* /Components/Shared/TOGErrorBoundary.razor.rz.scp.css */
.error-boundary-container[b-proqnbbrpd] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 2rem;
}

.error-boundary-content[b-proqnbbrpd] {
    max-width: 600px;
    text-align: center;
    background: #fff;
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.error-icon[b-proqnbbrpd] {
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-boundary-content h3[b-proqnbbrpd] {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.error-message[b-proqnbbrpd] {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.error-correlation[b-proqnbbrpd] {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.error-correlation code[b-proqnbbrpd] {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #495057;
}

.error-actions[b-proqnbbrpd] {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.error-technical-details[b-proqnbbrpd] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
}

.error-technical-pre[b-proqnbbrpd] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    font-size: 0.75rem;
    line-height: 1.4;
    max-height: 300px;
    overflow-y: auto;
}
/* /Pages/Admin/BackgroundJobs/BackgroundJobsMonitoringDashboard.razor.rz.scp.css */
/* ============================================================
   Background Jobs Monitoring Dashboard — Scoped Styles
   Theme-aware: works with LeptonX light / dark / dim modes
   Prefix: bjm- (background jobs monitoring)
   ============================================================ */

/* ---- Layout Shell ---- */
.bjm-dashboard[b-zds1tljynr] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}

/* ---- Header ---- */
.bjm-dashboard-header[b-zds1tljynr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
}

.bjm-dashboard-title[b-zds1tljynr] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bs-heading-color, var(--bs-body-color));
    margin: 0;
    line-height: 1.3;
}

.bjm-dashboard-subtitle[b-zds1tljynr] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin: 0.125rem 0 0;
}

.bjm-controls[b-zds1tljynr] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.bjm-btn-secondary[b-zds1tljynr] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.4;
    text-decoration: none;
}

.bjm-btn-secondary:hover[b-zds1tljynr] {
    background: var(--bs-tertiary-bg, #f8f9fa);
    border-color: var(--bs-secondary-color, #6c757d);
}

.bjm-btn-refresh[b-zds1tljynr] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.4;
}

.bjm-btn-refresh:hover[b-zds1tljynr] {
    background: var(--tog-primary-color, #36b3ac);
    color: #fff;
    border-color: var(--tog-primary-color, #36b3ac);
}

.bjm-btn-refresh:disabled[b-zds1tljynr] {
    opacity: 0.6;
    cursor: not-allowed;
}

.bjm-btn-refresh.loading i[b-zds1tljynr] {
    animation: bjm-spin-b-zds1tljynr 0.8s linear infinite;
}

/* ---- Scheduler Status ---- */
.bjm-scheduler-status[b-zds1tljynr] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--bs-border-color, #e9ecef);
    background: var(--bs-body-bg, #fff);
    margin-bottom: 1rem;
    font-size: 0.8125rem;
}

.bjm-status-indicator[b-zds1tljynr] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bjm-status-indicator.running[b-zds1tljynr] {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: bjm-pulse-b-zds1tljynr 2s ease-in-out infinite;
}

.bjm-status-indicator.standby[b-zds1tljynr] {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.bjm-status-indicator.shutdown[b-zds1tljynr] {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.bjm-status-text[b-zds1tljynr] {
    font-weight: 600;
    color: var(--bs-heading-color, var(--bs-body-color));
}

.bjm-status-since[b-zds1tljynr] {
    color: var(--bs-secondary-color, #6c757d);
}

/* ---- Stat Cards Grid ---- */
.bjm-stat-grid[b-zds1tljynr] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .bjm-stat-grid[b-zds1tljynr] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .bjm-stat-grid[b-zds1tljynr] {
        grid-template-columns: 1fr;
    }
}

.bjm-stat-card[b-zds1tljynr] {
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--bs-body-bg, #fff);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bjm-stat-card[b-zds1tljynr]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.bjm-stat-card:hover[b-zds1tljynr] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bjm-stat-card.total[b-zds1tljynr]::before    { background: var(--tog-primary-color, #36b3ac); }
.bjm-stat-card.executed[b-zds1tljynr]::before { background: #10b981; }
.bjm-stat-card.running[b-zds1tljynr]::before  { background: #3b82f6; }
.bjm-stat-card.failed[b-zds1tljynr]::before   { background: #ef4444; }

.bjm-stat-icon[b-zds1tljynr] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.875rem;
}

.bjm-stat-card.total .bjm-stat-icon[b-zds1tljynr]    { background: rgba(54, 179, 172, 0.1); color: var(--tog-primary-color, #36b3ac); }
.bjm-stat-card.executed .bjm-stat-icon[b-zds1tljynr] { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.bjm-stat-card.running .bjm-stat-icon[b-zds1tljynr]  { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.bjm-stat-card.failed .bjm-stat-icon[b-zds1tljynr]   { background: rgba(239, 68, 68, 0.1);  color: #ef4444; }

.bjm-stat-label[b-zds1tljynr] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.25rem;
}

.bjm-stat-value[b-zds1tljynr] {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--bs-heading-color, var(--bs-body-color));
    font-variant-numeric: tabular-nums;
}

.bjm-stat-sub[b-zds1tljynr] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 0.25rem;
}

/* ---- 2-Column Grid ---- */
.bjm-grid-2[b-zds1tljynr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
    .bjm-grid-2[b-zds1tljynr] {
        grid-template-columns: 1fr;
    }
}

/* ---- Panel Card ---- */
.bjm-panel[b-zds1tljynr] {
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 12px;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
    margin-bottom: 1rem;
}

.bjm-panel-header[b-zds1tljynr] {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bjm-panel-title[b-zds1tljynr] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bs-heading-color, var(--bs-body-color));
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bjm-panel-title-icon[b-zds1tljynr] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.8rem;
}

.bjm-panel-badge[b-zds1tljynr] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color, #6c757d);
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.bjm-panel-body[b-zds1tljynr] {
    padding: 1.25rem;
}

.bjm-panel-body--table[b-zds1tljynr] {
    padding: 0;
}

/* ---- Modern Table ---- */
.bjm-table[b-zds1tljynr] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.bjm-table th[b-zds1tljynr] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color, #6c757d);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
    text-align: left;
    white-space: nowrap;
}

.bjm-table td[b-zds1tljynr] {
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.04));
    color: var(--bs-body-color, #212529);
    vertical-align: middle;
}

.bjm-table tbody tr:last-child td[b-zds1tljynr] {
    border-bottom: none;
}

.bjm-table tbody tr[b-zds1tljynr] {
    transition: background 0.15s ease;
}

.bjm-table tbody tr:hover[b-zds1tljynr] {
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.02));
}

.bjm-table-name[b-zds1tljynr] {
    font-weight: 600;
    color: var(--bs-heading-color, var(--bs-body-color));
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bjm-table-muted[b-zds1tljynr] {
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
}

/* ---- Group Pill ---- */
.bjm-group-pill[b-zds1tljynr] {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
    color: var(--bs-secondary-color, #6c757d);
}

/* ---- Running Badge ---- */
.bjm-running-badge[b-zds1tljynr] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-variant-numeric: tabular-nums;
}

/* ---- Success Rate Pill ---- */
.bjm-success-pill[b-zds1tljynr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bjm-success-pill.high[b-zds1tljynr]   { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.bjm-success-pill.medium[b-zds1tljynr] { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.bjm-success-pill.low[b-zds1tljynr]    { background: rgba(239, 68, 68, 0.1);  color: #ef4444; }

/* ---- Duration Bar ---- */
.bjm-duration-bar-container[b-zds1tljynr] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 140px;
}

.bjm-duration-bar[b-zds1tljynr] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06));
    overflow: hidden;
    min-width: 48px;
}

.bjm-duration-bar-fill[b-zds1tljynr] {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--tog-primary-color, #36b3ac), #8b5cf6);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bjm-duration-value[b-zds1tljynr] {
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--bs-heading-color, var(--bs-body-color));
    min-width: 3.5rem;
    text-align: right;
    white-space: nowrap;
}

/* ---- Activity List ---- */
.bjm-activity-list[b-zds1tljynr] {
    display: flex;
    flex-direction: column;
}

.bjm-activity-item[b-zds1tljynr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.04));
}

.bjm-activity-item:last-child[b-zds1tljynr] {
    border-bottom: none;
}

.bjm-activity-dot[b-zds1tljynr] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bjm-activity-dot.success[b-zds1tljynr] { background: #10b981; }
.bjm-activity-dot.failed[b-zds1tljynr]  { background: #ef4444; }

.bjm-activity-content[b-zds1tljynr] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bjm-activity-name[b-zds1tljynr] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-heading-color, var(--bs-body-color));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bjm-activity-group[b-zds1tljynr] {
    font-size: 0.6875rem;
    color: var(--bs-secondary-color, #6c757d);
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
    padding: 0.1rem 0.375rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.bjm-activity-meta[b-zds1tljynr] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
    flex-shrink: 0;
}

.bjm-activity-duration[b-zds1tljynr] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-heading-color, var(--bs-body-color));
    font-variant-numeric: tabular-nums;
}

.bjm-activity-time[b-zds1tljynr] {
    font-size: 0.6875rem;
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
}

/* ---- Error Message (inline failure details) ---- */
.bjm-error-message[b-zds1tljynr] {
    font-size: 0.75rem;
    color: #ef4444;
    padding: 0.25rem 0 0.5rem 1.75rem;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.04));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.8;
}

/* ---- Error Banner ---- */
.bjm-error-banner[b-zds1tljynr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ---- Empty State ---- */
.bjm-empty[b-zds1tljynr] {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--bs-secondary-color, #6c757d);
}

.bjm-empty-icon[b-zds1tljynr] {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.35;
}

.bjm-empty p[b-zds1tljynr] {
    margin: 0;
    font-size: 0.8125rem;
}

/* ---- Skeleton Loading ---- */
.bjm-skeleton[b-zds1tljynr] {
    background: linear-gradient(
        90deg,
        var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06)) 25%,
        var(--bs-tertiary-bg, rgba(0, 0, 0, 0.02)) 50%,
        var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06)) 75%
    );
    background-size: 200% 100%;
    animation: bjm-shimmer-b-zds1tljynr 1.5s ease-in-out infinite;
    border-radius: 6px;
}

/* ---- Animations ---- */
@keyframes bjm-fade-up-b-zds1tljynr {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bjm-animate[b-zds1tljynr] {
    animation: bjm-fade-up-b-zds1tljynr 0.45s ease-out forwards;
    opacity: 0;
}

.bjm-stat-grid .bjm-animate:nth-child(1)[b-zds1tljynr] { animation-delay: 0.00s; }
.bjm-stat-grid .bjm-animate:nth-child(2)[b-zds1tljynr] { animation-delay: 0.06s; }
.bjm-stat-grid .bjm-animate:nth-child(3)[b-zds1tljynr] { animation-delay: 0.12s; }
.bjm-stat-grid .bjm-animate:nth-child(4)[b-zds1tljynr] { animation-delay: 0.18s; }

@keyframes bjm-shimmer-b-zds1tljynr {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bjm-spin-b-zds1tljynr {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes bjm-pulse-b-zds1tljynr {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
    50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1); }
}

/* ---- Dark Theme Overrides ---- */
:global(.lpx-theme-dark) .bjm-stat-card:hover[b-zds1tljynr] {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

:global(.lpx-theme-dark) .bjm-stat-card.total .bjm-stat-icon[b-zds1tljynr]    { background: rgba(54, 179, 172, 0.15); }
:global(.lpx-theme-dark) .bjm-stat-card.executed .bjm-stat-icon[b-zds1tljynr] { background: rgba(16, 185, 129, 0.15); }
:global(.lpx-theme-dark) .bjm-stat-card.running .bjm-stat-icon[b-zds1tljynr]  { background: rgba(59, 130, 246, 0.15); }
:global(.lpx-theme-dark) .bjm-stat-card.failed .bjm-stat-icon[b-zds1tljynr]   { background: rgba(239, 68, 68, 0.15); }

:global(.lpx-theme-dark) .bjm-success-pill.high[b-zds1tljynr]   { background: rgba(16, 185, 129, 0.15); }
:global(.lpx-theme-dark) .bjm-success-pill.medium[b-zds1tljynr] { background: rgba(245, 158, 11, 0.15); }
:global(.lpx-theme-dark) .bjm-success-pill.low[b-zds1tljynr]    { background: rgba(239, 68, 68, 0.15); }

:global(.lpx-theme-dark) .bjm-running-badge[b-zds1tljynr] {
    background: rgba(59, 130, 246, 0.15);
}

:global(.lpx-theme-dark) .bjm-error-banner[b-zds1tljynr] {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
}
/* /Pages/Admin/WorkflowEngine/WorkflowMetricsDashboard.razor.rz.scp.css */
/* ============================================================
   Workflow Metrics Dashboard — Scoped Styles
   Theme-aware: works with LeptonX light / dark / dim modes
   ============================================================ */

/* ---- Layout Shell ---- */
.wf-dashboard[b-j7845js2k7] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}

/* ---- In-flight: stalled run highlight ---- */
.wf-row-stalled[b-j7845js2k7] {
    background: rgba(220, 53, 69, 0.06);
}

.wf-row-stalled td:first-child[b-j7845js2k7] {
    box-shadow: inset 3px 0 0 0 var(--wf-danger, #dc3545);
}

/* ---- Header ---- */
.wf-dashboard-header[b-j7845js2k7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
}

.wf-dashboard-title[b-j7845js2k7] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bs-heading-color, var(--bs-body-color));
    margin: 0;
    line-height: 1.3;
}

.wf-dashboard-subtitle[b-j7845js2k7] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin: 0.125rem 0 0;
}

.wf-controls[b-j7845js2k7] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wf-select[b-j7845js2k7] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.4rem 2rem 0.4rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 12px;
    transition: border-color 0.2s ease;
}

.wf-select:focus[b-j7845js2k7] {
    outline: none;
    border-color: var(--tog-primary-color, #36b3ac);
    box-shadow: 0 0 0 3px rgba(54, 179, 172, 0.15);
}

.wf-btn-refresh[b-j7845js2k7] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.4;
}

.wf-btn-refresh:hover[b-j7845js2k7] {
    background: var(--tog-primary-color, #36b3ac);
    color: #fff;
    border-color: var(--tog-primary-color, #36b3ac);
}

.wf-btn-refresh:disabled[b-j7845js2k7] {
    opacity: 0.6;
    cursor: not-allowed;
}

.wf-btn-refresh.loading i[b-j7845js2k7] {
    animation: wf-spin-b-j7845js2k7 0.8s linear infinite;
}

/* ---- Stat Cards Grid ---- */
.wf-stat-grid[b-j7845js2k7] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
    .wf-stat-grid[b-j7845js2k7] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .wf-stat-grid[b-j7845js2k7] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wf-stat-card[b-j7845js2k7] {
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--bs-body-bg, #fff);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wf-stat-card[b-j7845js2k7]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.wf-stat-card:hover[b-j7845js2k7] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Card accent colors */
.wf-stat-card.total[b-j7845js2k7]::before  { background: var(--tog-primary-color, #36b3ac); }
.wf-stat-card.completed[b-j7845js2k7]::before { background: #10b981; }
.wf-stat-card.failed[b-j7845js2k7]::before { background: #ef4444; }
.wf-stat-card.running[b-j7845js2k7]::before { background: #3b82f6; }
.wf-stat-card.duration[b-j7845js2k7]::before { background: #8b5cf6; }

.wf-stat-icon[b-j7845js2k7] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.875rem;
}

.wf-stat-card.total .wf-stat-icon[b-j7845js2k7]    { background: rgba(54, 179, 172, 0.1); color: var(--tog-primary-color, #36b3ac); }
.wf-stat-card.completed .wf-stat-icon[b-j7845js2k7] { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.wf-stat-card.failed .wf-stat-icon[b-j7845js2k7]   { background: rgba(239, 68, 68, 0.1);  color: #ef4444; }
.wf-stat-card.running .wf-stat-icon[b-j7845js2k7]  { background: rgba(59, 130, 246, 0.1);  color: #3b82f6; }
.wf-stat-card.duration .wf-stat-icon[b-j7845js2k7] { background: rgba(139, 92, 246, 0.1);  color: #8b5cf6; }

.wf-stat-label[b-j7845js2k7] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.25rem;
}

.wf-stat-value[b-j7845js2k7] {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--bs-heading-color, var(--bs-body-color));
    font-variant-numeric: tabular-nums;
}

.wf-stat-sub[b-j7845js2k7] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 0.25rem;
}

/* ---- 2-Column Grid ---- */
.wf-grid-2[b-j7845js2k7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
    .wf-grid-2[b-j7845js2k7] {
        grid-template-columns: 1fr;
    }
}

/* ---- Panel Card ---- */
.wf-panel[b-j7845js2k7] {
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 12px;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

/* Panels arranged in a grid use the grid gap for spacing instead */
.wf-grid-2 .wf-panel[b-j7845js2k7] {
    margin-bottom: 0;
}

.wf-panel-header[b-j7845js2k7] {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wf-panel-title[b-j7845js2k7] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bs-heading-color, var(--bs-body-color));
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wf-panel-title-icon[b-j7845js2k7] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.8rem;
}

.wf-panel-badge[b-j7845js2k7] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color, #6c757d);
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.wf-panel-body[b-j7845js2k7] {
    padding: 1.25rem;
}

.wf-panel-body--table[b-j7845js2k7] {
    padding: 0;
}

/* ---- Chart Container ---- */
.wf-chart-container[b-j7845js2k7] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

/* ---- Success Rate Display ---- */
.wf-success-display[b-j7845js2k7] {
    padding: 0.5rem 0;
}

.wf-ring-value[b-j7845js2k7] {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.25rem;
}

.wf-ring-unit[b-j7845js2k7] {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.6;
}

.wf-ring-value.high[b-j7845js2k7]   { color: #10b981; }
.wf-ring-value.medium[b-j7845js2k7] { color: #f59e0b; }
.wf-ring-value.low[b-j7845js2k7]    { color: #ef4444; }

.wf-progress-track[b-j7845js2k7] {
    height: 8px;
    border-radius: 4px;
    background: var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06));
    overflow: hidden;
    margin: 1rem 0 1.25rem;
}

.wf-progress-fill[b-j7845js2k7] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.wf-progress-fill.high[b-j7845js2k7]   { background: #10b981; }
.wf-progress-fill.medium[b-j7845js2k7] { background: #f59e0b; }
.wf-progress-fill.low[b-j7845js2k7]    { background: #ef4444; }

.wf-rate-details[b-j7845js2k7] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.wf-rate-row[b-j7845js2k7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.wf-rate-row.total[b-j7845js2k7] {
    padding-top: 0.5rem;
    border-top: 1px solid var(--bs-border-color, #e9ecef);
    margin-top: 0.125rem;
}

.wf-rate-dot[b-j7845js2k7] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wf-rate-dot.success[b-j7845js2k7] { background: #10b981; }
.wf-rate-dot.failed[b-j7845js2k7]  { background: #ef4444; }
.wf-rate-dot.total[b-j7845js2k7]   { background: var(--bs-secondary-color, #6c757d); }

.wf-rate-label[b-j7845js2k7] {
    flex: 1;
    color: var(--bs-body-color, #212529);
}

.wf-rate-count[b-j7845js2k7] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--bs-heading-color, var(--bs-body-color));
}

/* ---- Modern Table ---- */
.wf-table[b-j7845js2k7] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.wf-table th[b-j7845js2k7] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color, #6c757d);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
    text-align: left;
    white-space: nowrap;
}

.wf-table td[b-j7845js2k7] {
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.04));
    color: var(--bs-body-color, #212529);
    vertical-align: middle;
}

.wf-table tbody tr:last-child td[b-j7845js2k7] {
    border-bottom: none;
}

.wf-table tbody tr[b-j7845js2k7] {
    transition: background 0.15s ease;
}

.wf-table tbody tr:hover[b-j7845js2k7] {
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.02));
}

.wf-table-name[b-j7845js2k7] {
    font-weight: 600;
    color: var(--bs-heading-color, var(--bs-body-color));
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wf-table-muted[b-j7845js2k7] {
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
}

/* ---- Failure Pill ---- */
.wf-failure-pill[b-j7845js2k7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ---- Duration Bar ---- */
.wf-duration-bar-container[b-j7845js2k7] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 140px;
}

.wf-duration-bar[b-j7845js2k7] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06));
    overflow: hidden;
    min-width: 48px;
}

.wf-duration-bar-fill[b-j7845js2k7] {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--tog-primary-color, #36b3ac), #8b5cf6);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wf-duration-value[b-j7845js2k7] {
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--bs-heading-color, var(--bs-body-color));
    min-width: 3.5rem;
    text-align: right;
    white-space: nowrap;
}

/* ---- Empty State ---- */
.wf-empty[b-j7845js2k7] {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--bs-secondary-color, #6c757d);
}

.wf-empty-icon[b-j7845js2k7] {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.35;
}

.wf-empty p[b-j7845js2k7] {
    margin: 0;
    font-size: 0.8125rem;
}

/* ---- Skeleton Loading ---- */
.wf-skeleton[b-j7845js2k7] {
    background: linear-gradient(
        90deg,
        var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06)) 25%,
        var(--bs-tertiary-bg, rgba(0, 0, 0, 0.02)) 50%,
        var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06)) 75%
    );
    background-size: 200% 100%;
    animation: wf-shimmer-b-j7845js2k7 1.5s ease-in-out infinite;
    border-radius: 6px;
}

/* ---- Animations ---- */
@keyframes wf-fade-up-b-j7845js2k7 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wf-animate[b-j7845js2k7] {
    animation: wf-fade-up-b-j7845js2k7 0.45s ease-out forwards;
    opacity: 0;
}

/* Stagger animation for stat cards */
.wf-stat-grid .wf-animate:nth-child(1)[b-j7845js2k7] { animation-delay: 0.00s; }
.wf-stat-grid .wf-animate:nth-child(2)[b-j7845js2k7] { animation-delay: 0.06s; }
.wf-stat-grid .wf-animate:nth-child(3)[b-j7845js2k7] { animation-delay: 0.12s; }
.wf-stat-grid .wf-animate:nth-child(4)[b-j7845js2k7] { animation-delay: 0.18s; }
.wf-stat-grid .wf-animate:nth-child(5)[b-j7845js2k7] { animation-delay: 0.24s; }

@keyframes wf-shimmer-b-j7845js2k7 {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes wf-spin-b-j7845js2k7 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---- Dark Theme Overrides ---- */
:global(.lpx-theme-dark) .wf-stat-card:hover[b-j7845js2k7] {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

:global(.lpx-theme-dark) .wf-failure-pill[b-j7845js2k7] {
    background: rgba(239, 68, 68, 0.15);
}

:global(.lpx-theme-dark) .wf-stat-card.total .wf-stat-icon[b-j7845js2k7]    { background: rgba(54, 179, 172, 0.15); }
:global(.lpx-theme-dark) .wf-stat-card.completed .wf-stat-icon[b-j7845js2k7] { background: rgba(16, 185, 129, 0.15); }
:global(.lpx-theme-dark) .wf-stat-card.failed .wf-stat-icon[b-j7845js2k7]   { background: rgba(239, 68, 68, 0.15); }
:global(.lpx-theme-dark) .wf-stat-card.running .wf-stat-icon[b-j7845js2k7]  { background: rgba(59, 130, 246, 0.15); }
:global(.lpx-theme-dark) .wf-stat-card.duration .wf-stat-icon[b-j7845js2k7] { background: rgba(139, 92, 246, 0.15); }

/* ---- Tab Bar ---- */
.wf-tab-bar[b-j7845js2k7] {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--bs-border-color, #e9ecef);
}

.wf-tab[b-j7845js2k7] {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.wf-tab:hover[b-j7845js2k7] {
    color: var(--bs-body-color, #212529);
}

.wf-tab.active[b-j7845js2k7] {
    color: var(--tog-primary-color, #36b3ac);
    border-bottom-color: var(--tog-primary-color, #36b3ac);
}

/* ---- Rate Limit Category ---- */
.wf-rate-limit-category[b-j7845js2k7] {
    padding: 1rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.04));
}

.wf-rate-limit-category:last-child[b-j7845js2k7] {
    border-bottom: none;
    padding-bottom: 0;
}

.wf-rate-limit-category:first-child[b-j7845js2k7] {
    padding-top: 0;
}

.wf-rate-limit-category-name[b-j7845js2k7] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bs-heading-color, var(--bs-body-color));
    margin: 0 0 0.75rem;
}

.wf-rate-limit-bars[b-j7845js2k7] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.wf-rate-limit-row[b-j7845js2k7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wf-rate-limit-label[b-j7845js2k7] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    min-width: 80px;
    flex-shrink: 0;
}

.wf-rate-limit-bar-wrapper[b-j7845js2k7] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wf-rate-limit-bar-wrapper .wf-progress-track[b-j7845js2k7] {
    flex: 1;
    margin: 0;
}

.wf-rate-limit-count[b-j7845js2k7] {
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--bs-heading-color, var(--bs-body-color));
    min-width: 80px;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Usage progress bar colors */
.wf-progress-fill.low-usage[b-j7845js2k7]    { background: #10b981; }
.wf-progress-fill.medium-usage[b-j7845js2k7] { background: #f59e0b; }
.wf-progress-fill.high-usage[b-j7845js2k7]   { background: #ef4444; }

/* ---- Enforcement Pills ---- */
.wf-enforcement-pill[b-j7845js2k7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wf-enforcement-pill.enforcement-blocked[b-j7845js2k7] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.wf-enforcement-pill.enforcement-deferred[b-j7845js2k7] {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.wf-enforcement-pill.enforcement-allowed[b-j7845js2k7] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* ---- Dark Theme: Rate Limit additions ---- */
:global(.lpx-theme-dark) .wf-enforcement-pill.enforcement-blocked[b-j7845js2k7] {
    background: rgba(239, 68, 68, 0.15);
}

:global(.lpx-theme-dark) .wf-enforcement-pill.enforcement-deferred[b-j7845js2k7] {
    background: rgba(245, 158, 11, 0.15);
}

:global(.lpx-theme-dark) .wf-enforcement-pill.enforcement-allowed[b-j7845js2k7] {
    background: rgba(16, 185, 129, 0.15);
}
/* /Pages/Admin/WorkflowEngine/WorkflowRunDetail.razor.rz.scp.css */
/* ============================================================
   Workflow Run Detail — Scoped Styles
   Theme-aware: works with LeptonX light / dark / dim modes
   ============================================================ */

/* ---- Layout ---- */
.wfd-page[b-rrinscoekv] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}

/* ---- Header ---- */
.wfd-header[b-rrinscoekv] {
    margin-bottom: 1.5rem;
}

.wfd-back[b-rrinscoekv] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-secondary-color, #6c757d);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0.75rem;
    transition: color 0.15s ease;
}

.wfd-back:hover[b-rrinscoekv] {
    color: var(--tog-primary-color, #36b3ac);
}

.wfd-header-main[b-rrinscoekv] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
}

.wfd-title[b-rrinscoekv] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bs-heading-color, var(--bs-body-color));
    margin: 0;
    line-height: 1.3;
}

.wfd-subtitle[b-rrinscoekv] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin: 0.125rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.wfd-header-actions[b-rrinscoekv] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.wfd-code[b-rrinscoekv] {
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
    font-size: 0.75rem;
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    color: var(--tog-primary-color, #36b3ac);
}

/* ---- Buttons ---- */
.wfd-btn[b-rrinscoekv] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.4;
}

.wfd-btn--accent[b-rrinscoekv] {
    background: var(--tog-primary-color, #36b3ac);
    color: #fff;
    border-color: var(--tog-primary-color, #36b3ac);
}

.wfd-btn--accent:hover[b-rrinscoekv] {
    filter: brightness(1.1);
    color: #fff;
}

.wfd-btn--danger[b-rrinscoekv] {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.wfd-btn--danger:hover[b-rrinscoekv] {
    filter: brightness(1.1);
    color: #fff;
}

/* ---- Error Alert ---- */
.wfd-error-alert[b-rrinscoekv] {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.05);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    color: #ef4444;
    font-size: 0.8125rem;
    align-items: flex-start;
}

.wfd-error-alert i[b-rrinscoekv] {
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.wfd-error-alert strong[b-rrinscoekv] {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.wfd-error-alert p[b-rrinscoekv] {
    margin: 0;
    opacity: 0.9;
}

/* ---- Error Page ---- */
.wfd-error-page[b-rrinscoekv] {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--bs-secondary-color, #6c757d);
}

.wfd-error-page-icon[b-rrinscoekv] {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.wfd-error-page h2[b-rrinscoekv] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-heading-color, var(--bs-body-color));
    margin-bottom: 0.5rem;
}

.wfd-error-page p[b-rrinscoekv] {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

/* ---- Metadata Grid ---- */
.wfd-meta-grid[b-rrinscoekv] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 960px) {
    .wfd-meta-grid[b-rrinscoekv] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .wfd-meta-grid[b-rrinscoekv] {
        grid-template-columns: 1fr;
    }
}

.wfd-meta-item[b-rrinscoekv] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 10px;
    background: var(--bs-body-bg, #fff);
}

.wfd-meta-icon[b-rrinscoekv] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    background: rgba(54, 179, 172, 0.08);
    color: var(--tog-primary-color, #36b3ac);
    flex-shrink: 0;
}

.wfd-meta-label[b-rrinscoekv] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.125rem;
}

.wfd-meta-value[b-rrinscoekv] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-heading-color, var(--bs-body-color));
    word-break: break-all;
}

.wfd-meta-sub[b-rrinscoekv] {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 0.125rem;
}

.wfd-meta-id[b-rrinscoekv] {
    font-size: 0.625rem;
    opacity: 0.7;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
}

/* ---- Status Badges ---- */
.wfd-status[b-rrinscoekv] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    white-space: nowrap;
}

.wfd-status--sm[b-rrinscoekv] {
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
}

.wfd-status--pending[b-rrinscoekv]         { background: rgba(148, 163, 184, 0.12); color: #64748b; }
.wfd-status--running[b-rrinscoekv]         { background: rgba(59, 130, 246, 0.1);   color: #3b82f6; }
.wfd-status--completed[b-rrinscoekv]       { background: rgba(16, 185, 129, 0.1);   color: #10b981; }
.wfd-status--failed[b-rrinscoekv]          { background: rgba(239, 68, 68, 0.1);    color: #ef4444; }
.wfd-status--suspended[b-rrinscoekv]       { background: rgba(245, 158, 11, 0.1);   color: #f59e0b; }
.wfd-status--cancelled[b-rrinscoekv]       { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }
.wfd-status--skipped[b-rrinscoekv]         { background: rgba(148, 163, 184, 0.08); color: #94a3b8; }
.wfd-status--waitingforinput[b-rrinscoekv] { background: rgba(245, 158, 11, 0.1);   color: #d97706; }

/* ---- Tabs ---- */
.wfd-tabs[b-rrinscoekv] {
    margin-bottom: 1.5rem;
}

.wfd-tab-bar[b-rrinscoekv] {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--bs-border-color, #e9ecef);
    margin-bottom: 0;
}

.wfd-tab[b-rrinscoekv] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-secondary-color, #6c757d);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wfd-tab:hover[b-rrinscoekv] {
    color: var(--bs-body-color, #212529);
}

.wfd-tab.active[b-rrinscoekv] {
    color: var(--tog-primary-color, #36b3ac);
    border-bottom-color: var(--tog-primary-color, #36b3ac);
    font-weight: 600;
}

.wfd-tab-count[b-rrinscoekv] {
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
    padding: 0.075rem 0.4rem;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

.wfd-tab.active .wfd-tab-count[b-rrinscoekv] {
    background: rgba(54, 179, 172, 0.1);
    color: var(--tog-primary-color, #36b3ac);
}

/* ---- Panel ---- */
.wfd-panel[b-rrinscoekv] {
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 0 0 12px 12px;
    border-top: none;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
}

/* ---- Step Timeline ---- */
.wfd-timeline[b-rrinscoekv] {
    padding: 1.5rem;
}

.wfd-step[b-rrinscoekv] {
    display: flex;
    gap: 1rem;
}

.wfd-step-indicator[b-rrinscoekv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16px;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.wfd-step-dot[b-rrinscoekv] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bs-secondary-color, #94a3b8);
    flex-shrink: 0;
}

.wfd-step-line[b-rrinscoekv] {
    width: 2px;
    flex: 1;
    background: var(--bs-border-color, #e9ecef);
    margin: 4px 0;
}

.wfd-step:last-child .wfd-step-line[b-rrinscoekv] {
    display: none;
}

/* Step dot colors */
.wfd-step--completed .wfd-step-dot[b-rrinscoekv]       { background: #10b981; }
.wfd-step--failed .wfd-step-dot[b-rrinscoekv]          { background: #ef4444; }
.wfd-step--running .wfd-step-dot[b-rrinscoekv]         { background: #3b82f6; animation: wfd-pulse-b-rrinscoekv 2s ease-in-out infinite; }
.wfd-step--pending .wfd-step-dot[b-rrinscoekv]         { background: #94a3b8; }
.wfd-step--skipped .wfd-step-dot[b-rrinscoekv]         { background: #cbd5e1; }
.wfd-step--waitingforinput .wfd-step-dot[b-rrinscoekv] { background: #f59e0b; }

.wfd-step-content[b-rrinscoekv] {
    flex: 1;
    padding-bottom: 1.5rem;
    min-width: 0;
}

.wfd-step:last-child .wfd-step-content[b-rrinscoekv] {
    padding-bottom: 0;
}

.wfd-step-header[b-rrinscoekv] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.wfd-step-info[b-rrinscoekv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.wfd-step-name[b-rrinscoekv] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bs-heading-color, var(--bs-body-color));
}

.wfd-step-time[b-rrinscoekv] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
}

.wfd-step-error[b-rrinscoekv] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.wfd-step-error i[b-rrinscoekv] {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.wfd-step-response[b-rrinscoekv] {
    margin-bottom: 0.5rem;
}

.wfd-step-response-label[b-rrinscoekv] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color, #6c757d);
    display: block;
    margin-bottom: 0.25rem;
}

.wfd-step-response-content[b-rrinscoekv] {
    margin: 0;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.02));
    border: 1px solid var(--bs-border-color, #e9ecef);
    font-size: 0.8125rem;
    overflow-x: auto;
}

.wfd-step-retry[b-rrinscoekv] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    display: block;
    margin-bottom: 0.5rem;
}

/* ---- Actions ---- */
.wfd-actions[b-rrinscoekv] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color, #e9ecef);
}

.wfd-action[b-rrinscoekv] {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.015));
}

.wfd-action-header[b-rrinscoekv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.wfd-action-info[b-rrinscoekv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wfd-action-type[b-rrinscoekv] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bs-body-color, #212529);
}

.wfd-action-time[b-rrinscoekv] {
    font-size: 0.6875rem;
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
}

.wfd-action-error[b-rrinscoekv] {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.375rem;
}

.wfd-action-output[b-rrinscoekv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.375rem;
}

.wfd-action-output-item[b-rrinscoekv] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.04));
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
}

.wfd-action-output-key[b-rrinscoekv] {
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
}

.wfd-action-output-key[b-rrinscoekv]::after {
    content: ":";
}

.wfd-action-output-value[b-rrinscoekv] {
    font-weight: 500;
    color: var(--tog-primary-color, #36b3ac);
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
}

/* Action border accents */
.wfd-action--completed[b-rrinscoekv] { border-left: 2px solid #10b981; }
.wfd-action--failed[b-rrinscoekv]    { border-left: 2px solid #ef4444; }
.wfd-action--running[b-rrinscoekv]   { border-left: 2px solid #3b82f6; }
.wfd-action--suspended[b-rrinscoekv] { border-left: 2px solid #f59e0b; }

/* ---- Log Viewer ---- */
.wfd-log-toolbar[b-rrinscoekv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
}

.wfd-log-filter[b-rrinscoekv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wfd-filter-label[b-rrinscoekv] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color, #6c757d);
}

.wfd-log-select[b-rrinscoekv] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.3rem 2rem 0.3rem 0.625rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 10px;
    transition: border-color 0.2s ease;
}

.wfd-log-select:focus[b-rrinscoekv] {
    outline: none;
    border-color: var(--tog-primary-color, #36b3ac);
    box-shadow: 0 0 0 3px rgba(54, 179, 172, 0.15);
}

.wfd-log-count[b-rrinscoekv] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
}

.wfd-log-entries[b-rrinscoekv] {
    max-height: 600px;
    overflow-y: auto;
}

.wfd-log-entry[b-rrinscoekv] {
    padding: 0.625rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.04));
    transition: background 0.15s ease;
}

.wfd-log-entry:last-child[b-rrinscoekv] {
    border-bottom: none;
}

.wfd-log-entry:hover[b-rrinscoekv] {
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.01));
}

.wfd-log--error[b-rrinscoekv] {
    background: rgba(239, 68, 68, 0.03);
}

.wfd-log--warning[b-rrinscoekv] {
    background: rgba(245, 158, 11, 0.03);
}

.wfd-log-header[b-rrinscoekv] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.wfd-log-badge[b-rrinscoekv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.wfd-log-badge--debug[b-rrinscoekv]   { background: rgba(148, 163, 184, 0.12); color: #64748b; }
.wfd-log-badge--info[b-rrinscoekv]    { background: rgba(59, 130, 246, 0.1);   color: #3b82f6; }
.wfd-log-badge--warning[b-rrinscoekv] { background: rgba(245, 158, 11, 0.1);   color: #d97706; }
.wfd-log-badge--error[b-rrinscoekv]   { background: rgba(239, 68, 68, 0.1);    color: #ef4444; }

.wfd-log-message[b-rrinscoekv] {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--bs-body-color, #212529);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wfd-log-timestamp[b-rrinscoekv] {
    font-size: 0.6875rem;
    color: var(--bs-secondary-color, #6c757d);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
}

.wfd-log-exception[b-rrinscoekv] {
    margin: 0.5rem 0 0;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.02));
    border: 1px solid var(--bs-border-color, #e9ecef);
    font-size: 0.75rem;
    overflow-x: auto;
    max-height: 200px;
    overflow-y: auto;
}

/* ---- Empty State ---- */
.wfd-empty[b-rrinscoekv] {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--bs-secondary-color, #6c757d);
}

.wfd-empty-icon[b-rrinscoekv] {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.3;
    display: block;
}

.wfd-empty p[b-rrinscoekv] {
    margin: 0;
    font-size: 0.8125rem;
}

/* ---- Loading Skeleton ---- */
.wfd-loading[b-rrinscoekv] {
    padding: 1rem 0;
}

.wfd-skeleton[b-rrinscoekv] {
    background: linear-gradient(
        90deg,
        var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06)) 25%,
        var(--bs-tertiary-bg, rgba(0, 0, 0, 0.02)) 50%,
        var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06)) 75%
    );
    background-size: 200% 100%;
    animation: wfd-shimmer-b-rrinscoekv 1.5s ease-in-out infinite;
    border-radius: 6px;
}

/* ---- Animations ---- */
@keyframes wfd-fade-up-b-rrinscoekv {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wfd-animate[b-rrinscoekv] {
    animation: wfd-fade-up-b-rrinscoekv 0.45s ease-out forwards;
    opacity: 0;
}

@keyframes wfd-shimmer-b-rrinscoekv {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes wfd-pulse-b-rrinscoekv {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .wfd-step-header[b-rrinscoekv] {
        flex-direction: column;
        gap: 0.25rem;
    }

    .wfd-action-header[b-rrinscoekv] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .wfd-log-header[b-rrinscoekv] {
        flex-wrap: wrap;
    }
}

/* ---- Theme Variable Overrides ---- */
:global(.lpx-theme-dim) .wfd-page[b-rrinscoekv],
:global(.lpx-theme-light) .wfd-page[b-rrinscoekv] {
    --bs-body-bg: #fff;
    --bs-body-color: #212529;
    --bs-heading-color: #212529;
    --bs-secondary-color: #6c757d;
    --bs-border-color: #e9ecef;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.06);
    --bs-tertiary-bg: rgba(0, 0, 0, 0.04);
}

/* ---- Dark Theme Overrides ---- */
:global(.lpx-theme-dark) .wfd-meta-item[b-rrinscoekv] {
    background: var(--bs-body-bg);
}

:global(.lpx-theme-dark) .wfd-code[b-rrinscoekv] {
    background: rgba(255, 255, 255, 0.06);
}

:global(.lpx-theme-dark) .wfd-meta-icon[b-rrinscoekv] {
    background: rgba(54, 179, 172, 0.12);
}

:global(.lpx-theme-dark) .wfd-action[b-rrinscoekv] {
    background: rgba(255, 255, 255, 0.02);
}

:global(.lpx-theme-dark) .wfd-log--error[b-rrinscoekv] {
    background: rgba(239, 68, 68, 0.06);
}

:global(.lpx-theme-dark) .wfd-log--warning[b-rrinscoekv] {
    background: rgba(245, 158, 11, 0.06);
}

:global(.lpx-theme-dark) .wfd-status--pending[b-rrinscoekv]         { background: rgba(148, 163, 184, 0.15); }
:global(.lpx-theme-dark) .wfd-status--running[b-rrinscoekv]         { background: rgba(59, 130, 246, 0.15); }
:global(.lpx-theme-dark) .wfd-status--completed[b-rrinscoekv]       { background: rgba(16, 185, 129, 0.15); }
:global(.lpx-theme-dark) .wfd-status--failed[b-rrinscoekv]          { background: rgba(239, 68, 68, 0.15); }
:global(.lpx-theme-dark) .wfd-status--suspended[b-rrinscoekv]       { background: rgba(245, 158, 11, 0.15); }
:global(.lpx-theme-dark) .wfd-status--waitingforinput[b-rrinscoekv] { background: rgba(245, 158, 11, 0.15); }

:global(.lpx-theme-dark) .wfd-log-badge--debug[b-rrinscoekv]   { background: rgba(148, 163, 184, 0.15); }
:global(.lpx-theme-dark) .wfd-log-badge--info[b-rrinscoekv]    { background: rgba(59, 130, 246, 0.15); }
:global(.lpx-theme-dark) .wfd-log-badge--warning[b-rrinscoekv] { background: rgba(245, 158, 11, 0.15); }
:global(.lpx-theme-dark) .wfd-log-badge--error[b-rrinscoekv]   { background: rgba(239, 68, 68, 0.15); }

:global(.lpx-theme-dark) .wfd-error-alert[b-rrinscoekv] {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.08);
}

:global(.lpx-theme-dark) .wfd-step-error[b-rrinscoekv] {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

:global(.lpx-theme-dark) .wfd-tab-count[b-rrinscoekv] {
    background: rgba(255, 255, 255, 0.06);
}

:global(.lpx-theme-dark) .wfd-log-select[b-rrinscoekv] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

:global(.lpx-theme-dark) .wfd-log-entry:hover[b-rrinscoekv] {
    background: rgba(255, 255, 255, 0.02);
}

:global(.lpx-theme-dark) .wfd-skeleton[b-rrinscoekv] {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.06) 25%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.06) 75%
    );
    background-size: 200% 100%;
    animation: wfd-shimmer-b-rrinscoekv 1.5s ease-in-out infinite;
}
/* /Pages/Index.razor.rz.scp.css */
/* Write here your styles for the Index page */
/* /Pages/Reporting/ReportSchedule.razor.rz.scp.css */
.report-schedule-page[b-bg5lztgv7v] {
    display: grid;
    gap: 1.25rem;
    width: 100%;
    max-width: 74rem;
    min-width: 0;
}

.report-schedule-actions[b-bg5lztgv7v] {
    position: sticky;
    z-index: 5;
    bottom: 1rem;
    min-height: 5rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #dfe7ee;
    border-radius: .95rem;
    box-shadow: 0 .75rem 2rem rgba(30, 61, 87, .1);
    backdrop-filter: blur(8px);
}

:global(.lpx-theme-dark) .report-schedule-actions[b-bg5lztgv7v],
:global(.lpx-theme-dim) .report-schedule-actions[b-bg5lztgv7v] {
    background: rgba(23, 36, 52, .94);
    border-color: #2d4053;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .28);
}

.report-schedule-actions[b-bg5lztgv7v]  .btn {
    min-height: 2.7rem;
    padding: .55rem 1rem;
    border-radius: .65rem;
    font-weight: 600;
}

.report-schedule-actions[b-bg5lztgv7v]  .btn-danger,
.report-schedule-actions[b-bg5lztgv7v]  .btn-warning {
    background: #fff;
    border-color: #d8e1e8;
    color: #506b82;
}

:global(.lpx-theme-dark) .report-schedule-actions[b-bg5lztgv7v]  .btn-danger,
:global(.lpx-theme-dark) .report-schedule-actions[b-bg5lztgv7v]  .btn-warning,
:global(.lpx-theme-dim) .report-schedule-actions[b-bg5lztgv7v]  .btn-danger,
:global(.lpx-theme-dim) .report-schedule-actions[b-bg5lztgv7v]  .btn-warning {
    background: #223449;
    border-color: #33485c;
    color: #d5e3f1;
}

@media (max-width: 576px) {
    .report-schedule-actions[b-bg5lztgv7v] {
        bottom: .5rem;
    }

    .report-schedule-actions[b-bg5lztgv7v]  .btn {
        flex: 1;
    }
}

@media (max-height: 760px) {
    .report-schedule-actions[b-bg5lztgv7v] {
        position: static;
        min-height: 4rem;
        padding: .65rem 1rem;
    }
}
