/* /Components/ProjectCommentsSection.razor.rz.scp.css */
[b-pnuaw4tqqw] .comments-divider {
    border-color: rgba(66, 66, 66, 0.2) !important;
}
/* /Components/ProjectRunInProgressIndicator.razor.rz.scp.css */
.in-progress-indicator-stack[b-6b25ybx8e8] {
    flex-shrink: 0;
    box-sizing: border-box;
}

.in-progress-indicator-stack--large[b-6b25ybx8e8] {
    width: 2.25rem;
    min-width: 2.25rem;
    max-width: 2.25rem;
}

.in-progress-indicator-stack--compact[b-6b25ybx8e8] {
    width: 1.5rem;
    min-width: 1.5rem;
    max-width: 1.5rem;
}

.in-progress-indicator-stack[b-6b25ybx8e8]  .mud-progress-linear {
    width: 100%;
    max-width: 100%;
}
/* /Components/Utility/GlobalSearchBar.razor.rz.scp.css */
[b-sl1vr1kn6o] .global-search .mud-input {
    height: 36px;
    background-color: white;
    border-radius: var(--mud-default-borderradius) !important;
    width: 400px;
}
/* /Components/Utility/ValidationErrorList.razor.rz.scp.css */
.validation-error-list[b-temjbzk9r3] {
    list-style-type: initial;
    list-style-position: inside;
    white-space: wrap;
}
/* /Components/ViewProject/Configuration/ProjectConfigurationForm.razor.rz.scp.css */
.project-configuration-form[b-hcw9tppteo] {
    min-height: calc(100vh - 10rem);
    width: 100%;
}

[b-hcw9tppteo] .project-configuration-content {
    min-height: inherit;
}

[b-hcw9tppteo] .project-configuration-stack {
    min-height: inherit;
}
/* /Components/ViewProject/Configuration/WorkerServiceSection/WorkerServiceSelectionModeRadio.razor.rz.scp.css */
/* 
    The radio buttons are nested in a MudPaper that may have a custom colour applied.
    Ensure that the colour of the radio button matches the text in the MudPaper.
*/

.worker-selection-mode-radio[b-qchao2i27f]  .mud-theme-primary .mud-radio,
.worker-selection-mode-radio[b-qchao2i27f]  .mud-theme-primary .mud-radio-content,
.worker-selection-mode-radio[b-qchao2i27f]  .mud-theme-primary .mud-icon-root {
    color: var(--mud-palette-primary-text) !important;
}

.worker-selection-mode-radio[b-qchao2i27f]  .mud-theme-error .mud-radio,
.worker-selection-mode-radio[b-qchao2i27f]  .mud-theme-error .mud-radio-content,
.worker-selection-mode-radio[b-qchao2i27f]  .mud-theme-error .mud-icon-root {
    color: var(--mud-palette-error-text) !important;
}
/* /Components/ViewProject/ProjectStageIndicator.razor.rz.scp.css */
.step-lead[b-a3wcrbovr0] {
    position: absolute;
    top: calc(50% - 2px);
    left: 0;
    width: 50%;
    height: 2px;
}


.step-trail[b-a3wcrbovr0] {
    position: absolute;
    top: calc(50% - 2px);
    right: 0;
    width: 50%;
    height: 2px;
}

[b-a3wcrbovr0] .stage-default {
    border-color: var(--mud-palette-primary);
    background-color: var(--mud-palette-tertiary);
}

[b-a3wcrbovr0] .stage-step {
    z-index: 1;
}
/* /Components/ViewProject/Runs/InProgressRun.razor.rz.scp.css */
[b-r71omfkse6] .view-project-section.inprogress-section {
    background-color: rgba(89,74,226,0.1);
}

[b-r71omfkse6] .progress-section {
    width: 100%;
    position: relative;
    height: 100%;
}

/* Only the bar is in flow so it stays vertically centred; the stage text is pinned just underneath */
.run-progress[b-r71omfkse6] {
    position: relative;
    width: 100%;
}

[b-r71omfkse6] .run-progress__caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    text-align: center;
}
/* /Components/ViewProject/Runs/NewRun.razor.rz.scp.css */
[b-877r7sk5ds] .view-project-new-run-header {
    background-color: rgba(89, 74, 226, 0.1);
    border-top-left-radius: var(--mud-default-borderradius) !important;
    border-top-right-radius: var(--mud-default-borderradius) !important;
}

[b-877r7sk5ds] .tooltip-fit-width {
    width: fit-content !important;
}
/* /Components/ViewProject/Runs/RunTypeConfigurations/SourceUpload.razor.rz.scp.css */
:global(.source-upload-tooltip)[b-mjf1odzl4p] {
    max-width: 30vw !important;
}
/* /Components/ViewProject/Runs/RunTypeSelector.razor.rz.scp.css */
.run-options-selector[b-0c1qmnxi7x] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

[b-0c1qmnxi7x] .run-options-mode-select {
    max-width: 420px;
}
/* /Components/ViewProject/Uploads/ProjectUploadProgress.razor.rz.scp.css */
[b-v5hpk8li7s] .view-project-section.upload-progress-section {
    background-color: rgba(89,74,226,0.1);
}

[b-v5hpk8li7s] .upload-progress-details-section {
    width: 100%;
}

[b-v5hpk8li7s] .progress-section {
    width: 100%;
    position: relative;
    height: 100%;
}

[b-v5hpk8li7s] .progress-bar-wrapper {
    width: 100%;
}

[b-v5hpk8li7s] .progress-section .progress-text {
    position: absolute;
    top: 50%;
    margin-top: 15px;
}

[b-v5hpk8li7s] .summary-upload-progress__segments {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}
/* /Components/ViewProject/Uploads/RunUploadFailuresDialog.razor.rz.scp.css */
.upload-failures-dialog__subtitle[b-pxhftspuor] {
    margin-bottom: 0.75rem;
}

.upload-failures-dialog__table[b-pxhftspuor] {
    min-height: 200px;
}

.upload-failures-dialog__table[b-pxhftspuor]  table {
    table-layout: fixed;
    width: 100%;
}

.upload-failures-dialog__file-path[b-pxhftspuor] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-failures-dialog__message[b-pxhftspuor] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/ViewProject/Uploads/RunUploadProgress.razor.rz.scp.css */
.run-upload-progress__standard-column[b-equx6388sg] {
    width: 20%;
}

.run-upload-progress__progress-column[b-equx6388sg] {
    width: 40%;
}

.run-upload-progress[b-equx6388sg] {
    position: relative;
    width: 100%;
}

[b-equx6388sg] .run-upload-progress__segments {
    width: 100%;
}

[b-equx6388sg] .run-upload-progress__caption {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    top: 100%;
    margin-top: 4px;
}
/* /Components/ViewProject/Workflows/WorkflowExecutionRow.razor.rz.scp.css */
/* Plain div inside MudItem — scoped CSS applies without ::deep; no max-width so it matches MudGrid bleed.
   The header, step rows, step details and Background uploads row are child components, so their rules use ::deep
   (they share the workflow-step-row / workflow-step-details styles). */
.workflow-execution[b-9ke2n5ljub] {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: var(--mud-default-borderradius, 4px);
    overflow: hidden;
}

[b-9ke2n5ljub] .workflow-execution__head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
}

[b-9ke2n5ljub] .workflow-execution__head--toggle {
    cursor: pointer;
}

[b-9ke2n5ljub] .workflow-execution__head--toggle:hover {
    background: #f7f9fc;
}

[b-9ke2n5ljub] .workflow-execution__head--expanded {
    border-bottom: 1px solid var(--mud-palette-lines-default, #e7eaef);
}

[b-9ke2n5ljub] .workflow-execution__times {
    font-size: 12px;
    color: var(--mud-palette-text-secondary, #5b6776);
    white-space: nowrap;
}

[b-9ke2n5ljub] .workflow-execution__title-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

[b-9ke2n5ljub] .workflow-execution__title {
    margin: 0;
    font-weight: 700;
    line-height: 1.25;
}

[b-9ke2n5ljub] .workflow-execution__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

[b-9ke2n5ljub] .workflow-execution__worker {
    display: inline-flex;
    align-items: center;
    background: var(--mud-palette-success-hover, #e7f6ee);
    color: var(--mud-palette-success, #18a558);
    border-radius: 999px;
    padding: 2px 6px;
}

.workflow-execution__alert[b-9ke2n5ljub] {
    padding: 12px 18px;
}

.workflow-execution__rows[b-9ke2n5ljub] {
    display: flex;
    flex-direction: column;
}

[b-9ke2n5ljub] .workflow-step-row {
    display: grid !important;
    grid-template-columns: minmax(160px, 220px) 120px minmax(140px, 1fr) 110px;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e7eaef);
    transition: background 0.2s;
    width: 100%;
    box-sizing: border-box;
}

[b-9ke2n5ljub] .workflow-step-row:last-child {
    border-bottom: none;
}

[b-9ke2n5ljub] .workflow-step-row--active {
    background: #f8fbff;
}

/* Checkpoint/failed rows stay white; only the callout panels below use tinted backgrounds. */

[b-9ke2n5ljub] .workflow-step-row__name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    min-width: 0;
}

[b-9ke2n5ljub] .workflow-step-row__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-9ke2n5ljub] .workflow-step-row__icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    flex: none;
}

[b-9ke2n5ljub] .workflow-step-row__icon--grey {
    background: #eef1f5;
    color: #5b6776;
}

[b-9ke2n5ljub] .workflow-step-row__icon--blue {
    background: #e8f1fe;
    color: #005bc0;
}

[b-9ke2n5ljub] .workflow-step-row__icon--green {
    background: #e7f6ee;
    color: #18a558;
}

[b-9ke2n5ljub] .workflow-step-row__icon--red {
    background: #fdeceb;
    color: #e0413c;
}

[b-9ke2n5ljub] .workflow-step-row__icon--amber {
    background: #fdf3e0;
    color: #d98a00;
}

[b-9ke2n5ljub] .workflow-step-row__pill {
    min-width: 0;
    display: flex;
    align-items: center;
}

/* Only the bar is in flow, so the bar is what gets vertically centred */
[b-9ke2n5ljub] .workflow-step-row__prog {
    position: relative;
    width: 100%;
    min-width: 0;
}

[b-9ke2n5ljub] .workflow-step-row__completed {
    display: flex;
    align-items: center;
    min-height: 1.25rem;
    font-size: 13px;
    color: var(--mud-palette-text-secondary, #5b6776);
}

[b-9ke2n5ljub] .workflow-step-row__caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 4px;
    text-align: center;
}

[b-9ke2n5ljub] .workflow-step-row__updated {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 12px;
    color: var(--mud-palette-text-disabled, #97a2b0);
    text-align: right;
    white-space: nowrap;
}

[b-9ke2n5ljub] .workflow-step-row--expandable {
    cursor: pointer;
}

[b-9ke2n5ljub] .workflow-step-row--expandable:hover {
    background: #f7f9fc;
}

[b-9ke2n5ljub] .workflow-step-row--expandable.workflow-step-row--active:hover {
    background: #f0f6ff;
}

[b-9ke2n5ljub] .workflow-step-row__expand-icon {
    flex: none;
    color: var(--mud-palette-text-secondary, #5b6776);
}

[b-9ke2n5ljub] .workflow-step-details {
    grid-column: 1 / -1;
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: default;
}

[b-9ke2n5ljub] .workflow-step-details__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 2px;
}

[b-9ke2n5ljub] .workflow-step-details__meta .mud-typography {
    margin: 0;
}

/* Label + GUID + copy stay on one line (workflow steps only; run cards keep their own layout). */
[b-9ke2n5ljub] .workflow-step-details__run-id {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    font-size: 0.875rem;
    line-height: 1.43;
    white-space: nowrap;
}

[b-9ke2n5ljub] .workflow-step-details__summary,
[b-9ke2n5ljub] .workflow-step-details__logs,
[b-9ke2n5ljub] .workflow-step-details__files {
    width: 100%;
}

/* SummaryDisplayArea uses pb-6 on items; strip that here so section gap stays even */
[b-9ke2n5ljub] .workflow-step-details__summary .mud-grid {
    row-gap: 12px;
}

[b-9ke2n5ljub] .workflow-step-details__summary .mud-grid-item {
    padding-bottom: 0 !important;
}

[b-9ke2n5ljub] .workflow-step-fail {
    grid-column: 1 / -1;
    background: #fdeceb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 4px;
}

[b-9ke2n5ljub] .workflow-step-fail__title {
    font-weight: 700;
    color: #e0413c;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

[b-9ke2n5ljub] .workflow-step-fail__msg {
    color: var(--mud-palette-text-primary, #1f2733);
    font-size: 13px;
    margin-bottom: 4px;
}

[b-9ke2n5ljub] .workflow-step-fail__block {
    color: var(--mud-palette-text-secondary, #5b6776);
    font-size: 12.5px;
    margin-bottom: 12px;
}

[b-9ke2n5ljub] .workflow-step-fail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

[b-9ke2n5ljub] .workflow-step-checkpoint {
    grid-column: 1 / -1;
    background: #fdf3e0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 4px;
}

[b-9ke2n5ljub] .workflow-step-checkpoint__title {
    font-weight: 700;
    color: #d98a00;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

[b-9ke2n5ljub] .workflow-step-checkpoint__msg {
    color: var(--mud-palette-text-primary, #1f2733);
    font-size: 13px;
    margin-bottom: 4px;
}

[b-9ke2n5ljub] .workflow-step-checkpoint__block {
    color: var(--mud-palette-text-secondary, #5b6776);
    font-size: 12.5px;
}

@media (max-width: 900px) {
    [b-9ke2n5ljub] .workflow-step-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "name pill"
            "prog prog"
            "updated updated"
            "fail fail";
    }

    [b-9ke2n5ljub] .workflow-step-row__name { grid-area: name; }
    [b-9ke2n5ljub] .workflow-step-row__pill { grid-area: pill; justify-self: end; }
    [b-9ke2n5ljub] .workflow-step-row__prog { grid-area: prog; margin-bottom: 20px; }
    [b-9ke2n5ljub] .workflow-step-row__updated { grid-area: updated; text-align: left; }
    [b-9ke2n5ljub] .workflow-step-fail,
    [b-9ke2n5ljub] .workflow-step-checkpoint,
    [b-9ke2n5ljub] .workflow-step-details { grid-area: fail; }
}
/* /Components/WorkerServiceFileBrowserDialog.razor.rz.scp.css */
.selectable-file-browser-row[b-2pz4pfn4l8],
.selectable-file-browser-row *[b-2pz4pfn4l8] {
    cursor: pointer;
}
/* /Pages/NewProject.razor.rz.scp.css */
[b-mca1m88690] .project-configuration-form {
    min-height: calc(100vh - 12rem);
}
/* /Pages/ViewProject/Information.razor.rz.scp.css */
[b-ke0ok1i3z9] .run-header {
    line-height: 100% !important;
}

[b-ke0ok1i3z9] .project-details-title-section {
    border-color: rgba(66, 66, 66, 0.2) !important;
    height: 100%;
}

[b-ke0ok1i3z9] .run-more-details-section {
    width: 100%;
    max-width: 100%;
}

[b-ke0ok1i3z9] .view-project-section.warning-section {
    background-color: rgba(255, 165, 0, 0.1);
}

[b-ke0ok1i3z9] .view-project-section.error-section {
    background-color: rgba(244,67,54,0.1);
}
