/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mn2om7b7mp],
.components-reconnect-repeated-attempt-visible[b-mn2om7b7mp],
.components-reconnect-failed-visible[b-mn2om7b7mp],
.components-pause-visible[b-mn2om7b7mp],
.components-resume-failed-visible[b-mn2om7b7mp],
.components-rejoining-animation[b-mn2om7b7mp] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-retrying[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-failed[b-mn2om7b7mp],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mn2om7b7mp] {
    display: block;
}


#components-reconnect-modal[b-mn2om7b7mp] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-mn2om7b7mp 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mn2om7b7mp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mn2om7b7mp 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mn2om7b7mp]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mn2om7b7mp 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mn2om7b7mp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mn2om7b7mp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mn2om7b7mp {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mn2om7b7mp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mn2om7b7mp] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mn2om7b7mp] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mn2om7b7mp] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mn2om7b7mp] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mn2om7b7mp] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mn2om7b7mp] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mn2om7b7mp 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mn2om7b7mp] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mn2om7b7mp {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Submissions/SubmissionDetailPage.razor.rz.scp.css */
[b-3cfk99jvlm] .mud-tab-panel {
    padding-top: 8px;
}

.client-notes-panel[b-3cfk99jvlm] {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.client-notes-panel-header[b-3cfk99jvlm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.client-notes-count[b-3cfk99jvlm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #e8eef5;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
}

.client-notes-thread[b-3cfk99jvlm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    background: #fcfdff;
}

.client-note-message[b-3cfk99jvlm] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 9px;
    background: #f8fafc;
}

.client-note-header[b-3cfk99jvlm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.client-note-author[b-3cfk99jvlm] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
}

.client-note-time[b-3cfk99jvlm] {
    font-size: 0.69rem;
    color: #64748b;
    white-space: nowrap;
}

.client-note-body[b-3cfk99jvlm] {
    font-size: 0.77rem;
    line-height: 1.35;
    color: #1f2937;
    white-space: pre-wrap;
    word-break: break-word;
}

.client-notes-empty[b-3cfk99jvlm] {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px;
    font-size: 0.75rem;
    color: #64748b;
    background: #fff;
}
/* /Components/Pages/Submissions/SubmissionsPage.razor.rz.scp.css */
.submission-filter-date-range[b-w91rqxj4ef] {
    width: 340px;
    flex-shrink: 0;
}

.submission-filter-client[b-w91rqxj4ef] {
    flex: 1 1 160px;
    max-width: 220px;
    min-width: 140px;
}

.submission-filter-status[b-w91rqxj4ef] {
    flex: 1 1 150px;
    max-width: 200px;
    min-width: 130px;
}

.submission-row-main[b-w91rqxj4ef] {
    min-height: 32px;
}


.submission-client-name[b-w91rqxj4ef] {
    font-weight: 600;
    min-width: 160px;
}

.submission-week[b-w91rqxj4ef] {
    color: #555;
    min-width: 110px;
}

.submission-row-meta[b-w91rqxj4ef] {
    font-size: 0.72rem;
    color: #9e9e9e;
    border-top: 1px solid #f5f5f5;
    padding-top: 6px;
    margin-top: 6px;
}

.submission-comms-state--unopened[b-w91rqxj4ef] {
    color: #e65100;
    font-style: italic;
}

.submission-comms-state--failed[b-w91rqxj4ef] {
    color: #c62828;
}

.submission-comms-state--opened[b-w91rqxj4ef] {
    color: #1565c0;
}
/* /Components/Pages/Submissions/Submit/ProposeChangesForm.razor.rz.scp.css */
/* ── Scroll wrapper ── */
.proposal-table-wrap[b-whcb3x28pt] {
    overflow-x: auto;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    max-width: 1240px;
    margin: 0 auto;
}

/* ── Table base (mirrors SubmissionEditPanel) ── */
.assignment-table[b-whcb3x28pt] {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 0.84rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.assignment-table-head-row[b-whcb3x28pt] {
    background: #f8fafc;
}

.assignment-table-head-row th[b-whcb3x28pt] {
    padding: 8px 10px;
    border-bottom: 1px solid #dbe2ea;
    color: #475569;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.assignment-row td[b-whcb3x28pt] {
    padding: 6px 10px;
    vertical-align: middle;
    background: #fff;
    border-top: 2px solid var(--assignment-band-color, #cbd5e1);
    border-bottom: 2px solid var(--assignment-band-color, #cbd5e1);
    color: #1f2937;
}

.assignment-group-cell[b-whcb3x28pt] {
    vertical-align: top;
    background: color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 38%, white);
}

.assignment-group-header-row td[b-whcb3x28pt] {
    background: color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 38%, white);
    border-top: 2px solid var(--assignment-band-color, #dbe2ea);
    border-bottom: 1px solid color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 55%, white);
    padding-top: 6px;
    padding-bottom: 6px;
}

.assignment-group-header-row > td:first-child[b-whcb3x28pt],
.assignment-group-slot-row > td:first-child[b-whcb3x28pt],
.assignment-row:not(.assignment-row--grouped) > td:first-child[b-whcb3x28pt] {
    position: relative;
}

.assignment-group-header-row > td:first-child[b-whcb3x28pt]::before,
.assignment-group-slot-row > td:first-child[b-whcb3x28pt]::before,
.assignment-row:not(.assignment-row--grouped) > td:first-child[b-whcb3x28pt]::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    border-radius: 0 2px 2px 0;
    background: var(--assignment-band-color, #cbd5e1);
}

.assignment-group-header-row > td:first-child[b-whcb3x28pt]::before {
    top: -2px;
    bottom: -1px;
}

.assignment-group-slot-row > td:first-child[b-whcb3x28pt]::before {
    top: -1px;
    bottom: -1px;
    opacity: 0.75;
}

.assignment-row:not(.assignment-row--grouped) > td:first-child[b-whcb3x28pt]::before {
    top: -2px;
    bottom: -2px;
}

.assignment-group-slot-row--last td[b-whcb3x28pt] {
    border-bottom: 2px solid var(--assignment-band-color, #cbd5e1);
}

.assignment-group-header-row .assignment-col-actions[b-whcb3x28pt] {
    text-align: center;
}

.assignment-group-header-filler[b-whcb3x28pt] {
    background: color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 38%, white);
}

.assignment-row.assignment-group-slot-row td[b-whcb3x28pt] {
    background: color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 18%, white);
}

.assignment-group-slot-row--first td[b-whcb3x28pt] {
    border-top: none !important;
}

.assignment-row-border-none td[b-whcb3x28pt] {
    border-top: none;
}

.assignment-row-border-group td[b-whcb3x28pt] {
    border-top: 1px dashed color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 60%, white);
}

.assignment-row-border-default td[b-whcb3x28pt] {
    border-top: 1px solid #dbe2ea;
}

.assignment-row-border-default-dashed td[b-whcb3x28pt] {
    border-top: 1px dashed #e5e7eb;
}

.assignment-group-gap-cell[b-whcb3x28pt] {
    background: #fff;
}

.assignment-col-staff--default[b-whcb3x28pt] {
    padding-left: 10px;
}

.assignment-col-staff--grouped[b-whcb3x28pt] {
    padding-left: 10px !important;
}

.assignment-group-slot-row .assignment-col-notes[b-whcb3x28pt] {
    padding-left: 10px;
}

.assignment-group-slot-row .assignment-col-actions[b-whcb3x28pt] {
    padding-left: 10px;
}

.assignment-text--cancelled[b-whcb3x28pt] {
    text-decoration: line-through;
    color: #c62828;
    opacity: 0.6;
}

.assignment-need-text[b-whcb3x28pt] {
    color: var(--assignment-need-color, #22c55e);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: color-mix(in srgb, var(--assignment-need-color, #22c55e) 12%, white);
    font-size: 0.76rem;
}

.assignment-need-text--cancelled[b-whcb3x28pt] {
    text-decoration: line-through;
    opacity: 0.6;
}

.assignment-inline-note[b-whcb3x28pt] {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.78rem;
}

.assignment-inline-note--removed[b-whcb3x28pt] {
    color: #c62828;
    text-decoration: line-through;
}

.assignment-inline-edit[b-whcb3x28pt],
.assignment-inline-text[b-whcb3x28pt] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
}

.assignment-staff-input[b-whcb3x28pt] {
    max-width: 190px;
}

.assignment-staff-text[b-whcb3x28pt] {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: #fff;
    font-size: 0.76rem;
}

.assignment-staff-text--removed[b-whcb3x28pt] {
    color: #c62828;
    text-decoration-line: line-through;
    opacity: 0.8;
}

.assignment-note-text[b-whcb3x28pt] {
    color: #64748b;
    font-weight: 700;
    line-height: 1.2;
    display: inline-block;
    max-width: 100%;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: #fff;
    font-size: 0.76rem;
}

.assignment-notes-input[b-whcb3x28pt] {
    max-width: 140px;
}

.assignment-edit-icon[b-whcb3x28pt] {
    padding: 2px !important;
    color: #4b5563 !important;
    opacity: 0.88;
}

.assignment-edit-icon--after-label[b-whcb3x28pt] {
    margin-left: 2px;
}

.assignment-col-date[b-whcb3x28pt] {
    width: 86px;
    text-align: left;
    white-space: nowrap;
}

.assignment-col-job-type[b-whcb3x28pt] {
    min-width: 108px;
    text-align: left;
}

.assignment-col-po[b-whcb3x28pt] {
    min-width: 136px;
    text-align: left;
}

.assignment-col-shift[b-whcb3x28pt] {
    min-width: 108px;
    text-align: left;
}

.assignment-col-need[b-whcb3x28pt] {
    width: 54px;
    text-align: center;
}

.assignment-col-staff[b-whcb3x28pt] {
    text-align: left;
}

.assignment-col-notes[b-whcb3x28pt] {
    min-width: 84px;
    text-align: left;
}

.assignment-col-actions[b-whcb3x28pt] {
    min-width: 128px;
    width: auto;
    text-align: center;
    white-space: nowrap;
}

.assignment-row--cancelled td[b-whcb3x28pt] {
    opacity: 0.78;
}

.assignment-row--draft td[b-whcb3x28pt] {
    background: #fcfdff;
}

.assignment-date-text[b-whcb3x28pt] {
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
}

.assignment-job-text[b-whcb3x28pt] {
    color: var(--assignment-job-color, #2563eb);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: color-mix(in srgb, var(--assignment-job-color, #2563eb) 12%, white);
    font-size: 0.82rem;
}

.assignment-shift-text[b-whcb3x28pt] {
    color: var(--assignment-shift-color, #7c3aed);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: color-mix(in srgb, var(--assignment-shift-color, #7c3aed) 12%, white);
    font-size: 0.82rem;
}

.assignment-col-draft-note[b-whcb3x28pt] {
    color: #64748b;
    font-style: italic;
    font-size: 0.76rem;
}

.assignment-col-actions :is(.mud-button, .mud-icon-button)[b-whcb3x28pt] {
    margin-right: 4px;
}

.assignment-col-actions :is(.mud-button, .mud-icon-button):last-child[b-whcb3x28pt] {
    margin-right: 0;
}

.add-shift-row[b-whcb3x28pt] {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* ── Mobile card container ── */
.pcf-mc[b-whcb3x28pt] {
    display: none;
}

.asgn-mc-card[b-whcb3x28pt] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.asgn-mc-card[b-whcb3x28pt]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px 0 0 2px;
    background: var(--assignment-band-color, #cbd5e1);
}

.asgn-mc-card--draft[b-whcb3x28pt] {
    border-color: #94a3b8;
}

.asgn-mc-header[b-whcb3x28pt] {
    background: color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 38%, white);
    padding: 8px 10px 8px 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.asgn-mc-header-actions[b-whcb3x28pt] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.asgn-mc-date[b-whcb3x28pt] {
    color: #334155;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
}

.asgn-mc-edit-block[b-whcb3x28pt] {
    padding: 8px 10px 8px 14px;
    border-top: 1px solid color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 55%, white);
    background: color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 16%, white);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asgn-mc-edit-actions[b-whcb3x28pt] {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    margin-top: 2px;
}

.asgn-mc-slot[b-whcb3x28pt] {
    background: color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 18%, white);
    padding: 6px 10px 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.asgn-mc-slot--grouped[b-whcb3x28pt] {
    border-top: 1px dashed color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 55%, white);
}

.asgn-mc-slot--single[b-whcb3x28pt] {
    border-top: 1px solid color-mix(in srgb, var(--assignment-job-color, #0ea5e9) 45%, white);
}

.asgn-mc-slot-info[b-whcb3x28pt] {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.asgn-mc-slot-actions[b-whcb3x28pt] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}

.asgn-mc-slot-edit-block[b-whcb3x28pt] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asgn-mc-slot--readonly[b-whcb3x28pt] {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 8px;
}

.asgn-mc-slot-fields[b-whcb3x28pt] {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 3px 8px;
    align-items: baseline;
}

.asgn-mc-field-label[b-whcb3x28pt] {
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

.asgn-mc-field-val[b-whcb3x28pt] {
    font-size: 0.82rem;
    color: #334155;
    word-break: break-word;
}

.asgn-mc-slot-readonly-actions[b-whcb3x28pt] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 2px;
}

.asgn-mc-edit-btn[b-whcb3x28pt] {
    font-size: 0.75rem !important;
    padding: 2px 10px !important;
    min-height: 28px !important;
    height: 28px !important;
}

.asgn-mc-edit-field-row[b-whcb3x28pt] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.asgn-mc-edit-label[b-whcb3x28pt] {
    font-size: 0.72rem;
    color: #64748b;
    width: 44px;
    flex-shrink: 0;
}

.asgn-mc-draft-body[b-whcb3x28pt] {
    padding: 10px 10px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asgn-mc-draft-row[b-whcb3x28pt] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.asgn-mc-draft-label[b-whcb3x28pt] {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.asgn-mc-draft-footer[b-whcb3x28pt] {
    display: flex;
    justify-content: flex-end;
}

/* ── Responsive ── */
@media (max-width: 599px) {
    .pcf-desktop-wrap[b-whcb3x28pt] { display: none; }
    .pcf-mc[b-whcb3x28pt] { display: flex; flex-direction: column; gap: 10px; }
}
/* /Components/Pages/Submissions/Submit/ShiftSubmissionForm.razor.rz.scp.css */
/* ── Submission table wrapper ── */
.proposal-table-wrap[b-jsht03dzjf] {
    overflow-x: auto;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    max-width: 1240px;
    margin: 0 auto;
}

/* ── Table base (mirrors ProposeChangesForm / SubmissionEditPanel) ── */
.assignment-table[b-jsht03dzjf] {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 0.84rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.assignment-table-head-row[b-jsht03dzjf] {
    background: #f8fafc;
}

.assignment-table-head-row th[b-jsht03dzjf] {
    padding: 8px 10px;
    border-bottom: 1px solid #dbe2ea;
    color: #475569;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.assignment-row td[b-jsht03dzjf] {
    padding: 6px 10px;
    vertical-align: middle;
    background: #fff;
    border-top: 2px solid var(--assignment-band-color, #cbd5e1);
    border-bottom: 2px solid var(--assignment-band-color, #cbd5e1);
    color: #1f2937;
}

.assignment-group-cell[b-jsht03dzjf] {
    vertical-align: top;
    background: var(--assignment-job-bg-38, #a3ddf7);
}

.assignment-group-header-row td[b-jsht03dzjf] {
    background: var(--assignment-job-bg-38, #a3ddf7);
    border-top: 2px solid var(--assignment-band-color, #dbe2ea);
    border-bottom: 1px solid var(--assignment-job-bg-55, #7acef3);
    padding-top: 6px;
    padding-bottom: 6px;
}

.assignment-group-header-row > td:first-child[b-jsht03dzjf],
.assignment-group-slot-row > td:first-child[b-jsht03dzjf],
.assignment-row:not(.assignment-row--grouped) > td:first-child[b-jsht03dzjf] {
    position: relative;
}

.assignment-group-header-row > td:first-child[b-jsht03dzjf]::before,
.assignment-group-slot-row > td:first-child[b-jsht03dzjf]::before,
.assignment-row:not(.assignment-row--grouped) > td:first-child[b-jsht03dzjf]::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    border-radius: 0 2px 2px 0;
    background: var(--assignment-band-color, #cbd5e1);
}

.assignment-group-header-row > td:first-child[b-jsht03dzjf]::before {
    top: -2px;
    bottom: -1px;
}

.assignment-group-slot-row > td:first-child[b-jsht03dzjf]::before {
    top: -1px;
    bottom: -1px;
    opacity: 0.75;
}

.assignment-row:not(.assignment-row--grouped) > td:first-child[b-jsht03dzjf]::before {
    top: -2px;
    bottom: -2px;
}

.assignment-group-slot-row--last td[b-jsht03dzjf] {
    border-bottom: 2px solid var(--assignment-band-color, #cbd5e1);
}

.assignment-group-header-row .assignment-col-actions[b-jsht03dzjf] {
    text-align: center;
}

.assignment-group-header-filler[b-jsht03dzjf] {
    background: var(--assignment-job-bg-38, #a3ddf7);
}

.assignment-row.assignment-group-slot-row td[b-jsht03dzjf] {
    background: var(--assignment-job-bg-18, #d4effb);
}

.assignment-group-slot-row--first td[b-jsht03dzjf] {
    border-top: none !important;
}

.assignment-row-border-group td[b-jsht03dzjf] {
    border-top: 1px dashed var(--assignment-job-bg-60, #6ec9f2);
}

.assignment-group-gap-cell[b-jsht03dzjf] {
    background: #fff;
}

.assignment-inline-note[b-jsht03dzjf] {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.78rem;
}

.assignment-inline-text[b-jsht03dzjf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
}

.assignment-note-text[b-jsht03dzjf] {
    color: #64748b;
    font-weight: 700;
    line-height: 1.2;
    display: inline-block;
    max-width: 100%;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: #fff;
    font-size: 0.76rem;
}

.assignment-notes-input[b-jsht03dzjf] {
    max-width: 140px;
}

.assignment-edit-icon[b-jsht03dzjf] {
    padding: 2px !important;
    color: #4b5563 !important;
    opacity: 0.88;
}

.assignment-edit-icon--after-label[b-jsht03dzjf] {
    margin-left: 2px;
}

.assignment-need-text[b-jsht03dzjf] {
    color: var(--assignment-need-color, #22c55e);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: color-mix(in srgb, var(--assignment-need-color, #22c55e) 12%, white);
    font-size: 0.76rem;
}

.assignment-date-text[b-jsht03dzjf] {
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
}

.assignment-job-text[b-jsht03dzjf] {
    color: var(--assignment-job-color, #2563eb);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: var(--assignment-job-bg-12, #e2f4fc);
    font-size: 0.82rem;
}

.assignment-shift-text[b-jsht03dzjf] {
    color: var(--assignment-shift-color, #7c3aed);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: var(--assignment-shift-bg-12, #efe7fd);
    font-size: 0.82rem;
}

.assignment-col-draft-note[b-jsht03dzjf] {
    color: #64748b;
    font-style: italic;
    font-size: 0.76rem;
}

.assignment-row--draft td[b-jsht03dzjf] {
    background: #fcfdff;
}

.assignment-col-actions :is(.mud-button, .mud-icon-button)[b-jsht03dzjf] {
    margin-right: 4px;
}

.assignment-col-actions :is(.mud-button, .mud-icon-button):last-child[b-jsht03dzjf] {
    margin-right: 0;
}

/* ── Column widths ── */
.assignment-col-date[b-jsht03dzjf] {
    width: 86px;
    text-align: left;
    white-space: nowrap;
}

.assignment-col-job-type[b-jsht03dzjf] {
    min-width: 108px;
    text-align: left;
}

.assignment-col-po[b-jsht03dzjf] {
    min-width: 136px;
    text-align: left;
}

.assignment-col-shift[b-jsht03dzjf] {
    min-width: 108px;
    text-align: left;
}

.assignment-col-need[b-jsht03dzjf] {
    width: 60px;
    text-align: center;
}

.assignment-col-actions[b-jsht03dzjf] {
    min-width: 128px;
    width: auto;
    text-align: center;
    white-space: nowrap;
}

/* ── Page-level elements ── */
.submit-page-title[b-jsht03dzjf] {
    font-weight: 700;
}

.submit-form-actions[b-jsht03dzjf] {
    flex-wrap: wrap;
}

.add-shift-row[b-jsht03dzjf] {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* ── Mobile card container ── */
.ssf-mc[b-jsht03dzjf] {
    display: none;
}

.asgn-mc-card[b-jsht03dzjf] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.asgn-mc-card[b-jsht03dzjf]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px 0 0 2px;
    background: var(--assignment-band-color, #cbd5e1);
}

.asgn-mc-card--draft[b-jsht03dzjf] {
    border-color: #94a3b8;
}

.asgn-mc-header[b-jsht03dzjf] {
    background: var(--assignment-job-bg-38, #a3ddf7);
    padding: 8px 10px 8px 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.asgn-mc-header-actions[b-jsht03dzjf] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.asgn-mc-date[b-jsht03dzjf] {
    color: #334155;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
}

.asgn-mc-edit-block[b-jsht03dzjf] {
    padding: 8px 10px 8px 14px;
    border-top: 1px solid var(--assignment-job-bg-55, #7acef3);
    background: var(--assignment-job-bg-16, #d8f1fb);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asgn-mc-edit-actions[b-jsht03dzjf] {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    margin-top: 2px;
}

.asgn-mc-slot[b-jsht03dzjf] {
    background: var(--assignment-job-bg-18, #d4effb);
    padding: 6px 10px 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.asgn-mc-slot--grouped[b-jsht03dzjf] {
    border-top: 1px dashed var(--assignment-job-bg-55, #7acef3);
}

.asgn-mc-slot--single[b-jsht03dzjf] {
    border-top: 1px solid var(--assignment-job-bg-45, #93d7f5);
}

.asgn-mc-slot-info[b-jsht03dzjf] {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.asgn-mc-slot-actions[b-jsht03dzjf] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}

.asgn-mc-slot-edit-block[b-jsht03dzjf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asgn-mc-slot--readonly[b-jsht03dzjf] {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 8px;
}

.asgn-mc-slot-fields[b-jsht03dzjf] {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 3px 8px;
    align-items: baseline;
}

.asgn-mc-field-label[b-jsht03dzjf] {
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

.asgn-mc-field-val[b-jsht03dzjf] {
    font-size: 0.82rem;
    color: #334155;
    word-break: break-word;
}

.asgn-mc-slot-readonly-actions[b-jsht03dzjf] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 2px;
}

.asgn-mc-edit-btn[b-jsht03dzjf] {
    font-size: 0.75rem !important;
    padding: 2px 10px !important;
    min-height: 28px !important;
    height: 28px !important;
}

.asgn-mc-edit-field-row[b-jsht03dzjf] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.asgn-mc-edit-label[b-jsht03dzjf] {
    font-size: 0.72rem;
    color: #64748b;
    width: 44px;
    flex-shrink: 0;
}

.asgn-mc-draft-body[b-jsht03dzjf] {
    padding: 10px 10px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asgn-mc-draft-row[b-jsht03dzjf] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.asgn-mc-draft-label[b-jsht03dzjf] {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.asgn-mc-draft-footer[b-jsht03dzjf] {
    display: flex;
    justify-content: flex-end;
}

/* ── Responsive ── */
@media (max-width: 599px) {
    .ssf-desktop-wrap[b-jsht03dzjf] { display: none; }
    .ssf-mc[b-jsht03dzjf] { display: flex; flex-direction: column; gap: 10px; }
}
/* /Components/Shared/AssignmentPanel.razor.rz.scp.css */
.assignment-table-wrap[b-ugixc1wzsk] {
    overflow-x: auto;
    max-width: 1240px;
    margin: 0 auto;
}

.assignment-table[b-ugixc1wzsk] {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 0.84rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.assignment-table-head-row[b-ugixc1wzsk] {
    background: #f8fafc;
}

.assignment-table-head-row th[b-ugixc1wzsk] {
    padding: 8px 10px;
    border-bottom: 1px solid #dbe2ea;
    color: #475569;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.assignment-row td[b-ugixc1wzsk] {
    padding: 6px 10px;
    vertical-align: middle;
    background: #fff;
    border-top: 2px solid var(--assignment-band-color, #cbd5e1);
    border-bottom: 2px solid var(--assignment-band-color, #cbd5e1);
    color: #1f2937;
}

.assignment-group-cell[b-ugixc1wzsk] {
    vertical-align: top;
    background: var(--assignment-job-bg-38, #a3ddf7);
}

.assignment-group-header-row td[b-ugixc1wzsk] {
    background: var(--assignment-job-bg-38, #a3ddf7);
    border-top: 2px solid var(--assignment-band-color, #dbe2ea);
    border-bottom: 1px solid var(--assignment-job-bg-55, #7acef3);
    padding-top: 6px;
    padding-bottom: 6px;
}

.assignment-group-header-row > td:first-child[b-ugixc1wzsk],
.assignment-group-slot-row > td:first-child[b-ugixc1wzsk],
.assignment-row:not(.assignment-row--grouped) > td:first-child[b-ugixc1wzsk] {
    position: relative;
}

.assignment-group-header-row > td:first-child[b-ugixc1wzsk]::before,
.assignment-group-slot-row > td:first-child[b-ugixc1wzsk]::before,
.assignment-row:not(.assignment-row--grouped) > td:first-child[b-ugixc1wzsk]::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    border-radius: 0 2px 2px 0;
    background: var(--assignment-band-color, #cbd5e1);
}

.assignment-group-header-row > td:first-child[b-ugixc1wzsk]::before {
    top: -2px;
    bottom: -1px;
}

.assignment-group-slot-row > td:first-child[b-ugixc1wzsk]::before {
    top: -1px;
    bottom: -1px;
    opacity: 0.75;
}

.assignment-row:not(.assignment-row--grouped) > td:first-child[b-ugixc1wzsk]::before {
    top: -2px;
    bottom: -2px;
}

.assignment-group-slot-row--last td[b-ugixc1wzsk] {
    border-bottom: 2px solid var(--assignment-band-color, #cbd5e1);
}

.assignment-group-header-row .assignment-col-actions[b-ugixc1wzsk] {
    text-align: right;
}

.assignment-group-header-filler[b-ugixc1wzsk] {
    background: var(--assignment-job-bg-38, #a3ddf7);
}

.assignment-row.assignment-group-slot-row td[b-ugixc1wzsk] {
    background: var(--assignment-job-bg-18, #d4effb);
}

.assignment-group-slot-row--first td[b-ugixc1wzsk] {
    border-top: none !important;
}

.assignment-row-border-none td[b-ugixc1wzsk] {
    border-top: none;
}

.assignment-row-border-group td[b-ugixc1wzsk] {
    border-top: 1px dashed var(--assignment-job-bg-60, #6ec9f2);
}

.assignment-row-border-default td[b-ugixc1wzsk] {
    border-top: 1px solid #dbe2ea;
}

.assignment-row-border-default-dashed td[b-ugixc1wzsk] {
    border-top: 1px dashed #e5e7eb;
}

.assignment-group-gap-cell[b-ugixc1wzsk] {
    background: #fff;
}

.assignment-col-staff--default[b-ugixc1wzsk] {
    padding-left: 18px;
}

.assignment-col-staff--grouped[b-ugixc1wzsk] {
    padding-left: 18px !important;
}

.assignment-group-slot-row .assignment-col-notes[b-ugixc1wzsk] {
    padding-left: 10px;
}

.assignment-group-slot-row .assignment-col-actions[b-ugixc1wzsk] {
    padding-left: 10px;
}

.assignment-text--cancelled[b-ugixc1wzsk] {
    text-decoration: line-through;
    color: #c62828;
    opacity: 0.6;
}

.assignment-need-text[b-ugixc1wzsk] {
    color: var(--assignment-need-color, #22c55e);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: color-mix(in srgb, var(--assignment-need-color, #22c55e) 12%, white);
    font-size: 0.76rem;
}

.assignment-need-text--cancelled[b-ugixc1wzsk] {
    text-decoration: line-through;
    opacity: 0.6;
}

.assignment-inline-note[b-ugixc1wzsk] {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.78rem;
}

.assignment-inline-note--removed[b-ugixc1wzsk] {
    color: #c62828;
    text-decoration: line-through;
}

.assignment-inline-edit[b-ugixc1wzsk],
.assignment-inline-text[b-ugixc1wzsk] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
}

.asgn-remove-person-btn.mud-icon-button[b-ugixc1wzsk] {
    width: 22px;
    height: 22px;
    padding: 0;
}

.assignment-staff-input[b-ugixc1wzsk] {
    max-width: 190px;
}

.assignment-staff-text[b-ugixc1wzsk] {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: #fff;
    font-size: 0.76rem;
}

.assignment-staff-text--pending-add[b-ugixc1wzsk] {
    color: #2e7d32;
}

.assignment-staff-text--pending-edit[b-ugixc1wzsk] {
    color: #e65100;
}

.assignment-staff-text--removed[b-ugixc1wzsk] {
    color: #c62828;
    text-decoration-line: line-through;
    opacity: 0.8;
}

.assignment-staff-text--pending-delete[b-ugixc1wzsk] {
    color: #e65100;
    text-decoration-line: line-through;
    opacity: 0.8;
}

.assignment-note-text[b-ugixc1wzsk] {
    color: #64748b;
    font-weight: 700;
    line-height: 1.2;
    display: inline-block;
    max-width: 100%;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: #fff;
    font-size: 0.76rem;
}

.assignment-notes-input[b-ugixc1wzsk] {
    max-width: 140px;
}

.assignment-edit-icon[b-ugixc1wzsk] {
    padding: 2px !important;
    color: #4b5563 !important;
    opacity: 0.88;
}

.assignment-edit-icon--after-label[b-ugixc1wzsk] {
    margin-left: 2px;
}

.assignment-col-date[b-ugixc1wzsk] {
    width: 8%;
    text-align: left;
    white-space: nowrap;
}

.assignment-col-job-type[b-ugixc1wzsk] {
    width: 9%;
    text-align: left;
}

.assignment-col-po[b-ugixc1wzsk] {
    width: 9%;
    text-align: left;
}

.assignment-col-shift[b-ugixc1wzsk] {
    width: 8%;
    text-align: left;
}

.assignment-col-need[b-ugixc1wzsk] {
    width: 20%;
    text-align: center;
}

.assignment-col-staff[b-ugixc1wzsk] {
    width: 21%;
    text-align: left;
    padding-left: 18px !important;
}

.assignment-col-notes[b-ugixc1wzsk] {
    width: 12%;
    text-align: left;
}

.assignment-col-actions[b-ugixc1wzsk] {
    width: 13%;
    text-align: right;
    white-space: nowrap;
}

.assignment-row--cancelled td[b-ugixc1wzsk] {
    opacity: 0.78;
}

.assignment-row--draft td[b-ugixc1wzsk] {
    background: #fcfdff;
}

.assignment-date-text[b-ugixc1wzsk] {
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
}

.assignment-job-text[b-ugixc1wzsk] {
    color: var(--assignment-job-color, #2563eb);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: var(--assignment-job-bg-12, #e2f4fc);
    font-size: 0.82rem;
}

.assignment-shift-text[b-ugixc1wzsk] {
    color: var(--assignment-shift-color, #7c3aed);
    font-weight: 800;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 2px 10px;
    background: var(--assignment-shift-bg-12, #efe7fd);
    font-size: 0.82rem;
}

.assignment-col-draft-note[b-ugixc1wzsk] {
    color: #64748b;
    font-style: italic;
    font-size: 0.76rem;
}

.assignment-col-actions :is(.mud-button, .mud-icon-button)[b-ugixc1wzsk] {
    margin-right: 4px;
}

.assignment-col-actions :is(.mud-button, .mud-icon-button):last-child[b-ugixc1wzsk] {
    margin-right: 0;
}

.add-shift-row[b-ugixc1wzsk] {
    max-width: 1240px;
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* ── Mobile card view ── */

.asgn-mc[b-ugixc1wzsk] {
    display: none;
}

.asgn-mc-card[b-ugixc1wzsk] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.asgn-mc-card[b-ugixc1wzsk]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px 0 0 2px;
    background: var(--assignment-band-color, #cbd5e1);
}

.asgn-mc-card--draft[b-ugixc1wzsk] {
    border-color: #94a3b8;
}

.asgn-mc-header[b-ugixc1wzsk] {
    background: var(--assignment-job-bg-38, #a3ddf7);
    padding: 8px 10px 8px 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.asgn-mc-header-actions[b-ugixc1wzsk] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.asgn-mc-date[b-ugixc1wzsk] {
    color: #334155;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
}

.asgn-mc-row-note[b-ugixc1wzsk] {
    padding: 5px 10px 5px 14px;
    background: var(--assignment-job-bg-16, #d8f1fb);
    border-top: 1px solid var(--assignment-job-bg-40, #9fdbf6);
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 4px 8px;
    font-size: 0.78rem;
}

.asgn-mc-edit-block[b-ugixc1wzsk] {
    padding: 8px 10px 8px 14px;
    border-top: 1px solid var(--assignment-job-bg-55, #7acef3);
    background: var(--assignment-job-bg-16, #d8f1fb);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asgn-mc-edit-actions[b-ugixc1wzsk] {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    margin-top: 2px;
}

.asgn-mc-slot[b-ugixc1wzsk] {
    background: var(--assignment-job-bg-18, #d4effb);
    padding: 6px 10px 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.asgn-mc-slot--grouped[b-ugixc1wzsk] {
    border-top: 1px dashed var(--assignment-job-bg-55, #7acef3);
}

.asgn-mc-slot--single[b-ugixc1wzsk] {
    border-top: 1px solid var(--assignment-job-bg-45, #93d7f5);
}

.asgn-mc-slot-info[b-ugixc1wzsk] {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.asgn-mc-slot-actions[b-ugixc1wzsk] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}

/* ── Label-grid read-only slot (Idea B) ── */
.asgn-mc-slot--readonly[b-ugixc1wzsk] {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 8px;
}

.asgn-mc-slot-fields[b-ugixc1wzsk] {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 3px 8px;
    align-items: baseline;
}

.asgn-mc-field-label[b-ugixc1wzsk] {
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

.asgn-mc-field-val[b-ugixc1wzsk] {
    font-size: 0.82rem;
    color: #334155;
    word-break: break-word;
}

.asgn-mc-slot-readonly-actions[b-ugixc1wzsk] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 2px;
}

.asgn-mc-edit-btn[b-ugixc1wzsk] {
    font-size: 0.75rem !important;
    padding: 2px 10px !important;
    min-height: 28px !important;
    height: 28px !important;
}

.asgn-mc-slot-edit-block[b-ugixc1wzsk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asgn-mc-edit-field-row[b-ugixc1wzsk] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.asgn-mc-edit-label[b-ugixc1wzsk] {
    font-size: 0.72rem;
    color: #64748b;
    width: 44px;
    flex-shrink: 0;
}

.asgn-mc-draft-body[b-ugixc1wzsk] {
    padding: 10px 10px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asgn-mc-draft-row[b-ugixc1wzsk] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.asgn-mc-draft-label[b-ugixc1wzsk] {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

.asgn-mc-draft-footer[b-ugixc1wzsk] {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .asgn-desktop-wrap[b-ugixc1wzsk] { display: none; }
    .asgn-mc[b-ugixc1wzsk] { display: flex; flex-direction: column; gap: 10px; }
}
/* /Components/Shared/AuditTimelineView.razor.rz.scp.css */
.audit-card[b-7hwuddo3uc] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.audit-empty[b-7hwuddo3uc] {
    padding: 8px 4px;
}

.audit-summary[b-7hwuddo3uc] {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #fcfcfd;
}

.audit-summary-row[b-7hwuddo3uc] {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
    align-items: center;
    padding: 6px 0;
}

.audit-summary-row--with-divider[b-7hwuddo3uc] {
    border-top: 1px solid #f1f3f5;
}

.audit-summary-heading[b-7hwuddo3uc] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.audit-summary-heading--agency[b-7hwuddo3uc] {
    color: #155eaa;
}

.audit-summary-heading--client[b-7hwuddo3uc] {
    color: #c2410c;
}

.audit-summary-chips[b-7hwuddo3uc] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.audit-chip[b-7hwuddo3uc] {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    color: #4b5563;
    background: #fff;
    white-space: nowrap;
}

.audit-chip--agency[b-7hwuddo3uc] {
    border-color: #bfdbfe;
    color: #155eaa;
    background: #eff6ff;
    font-weight: 600;
}

.audit-chip--client[b-7hwuddo3uc] {
    border-color: #bbf7d0;
    color: #166534;
    background: #f0fdf4;
    font-weight: 600;
}

.audit-chip--client-flag[b-7hwuddo3uc] {
    border-color: #fed7aa;
    color: #c2410c;
    background: #fff7ed;
    font-weight: 700;
}

.audit-chip--comms[b-7hwuddo3uc] {
    border-color: #fde68a;
    color: #92400e;
    background: #fffbeb;
    font-weight: 600;
}

.audit-chip--state[b-7hwuddo3uc],
.audit-chip--time[b-7hwuddo3uc] {
    color: #374151;
}

.audit-section-heading[b-7hwuddo3uc] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 12px 4px;
}

.audit-action-log[b-7hwuddo3uc] {
    padding: 0 8px 8px;
}

.audit-event[b-7hwuddo3uc] {
    display: grid;
    grid-template-columns: 14px 95px 1fr;
    gap: 8px;
    align-items: flex-start;
    padding: 6px 4px;
    border-radius: 6px;
}

.audit-event-dot[b-7hwuddo3uc] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 5px;
    background: #e0e0e0;
}

.audit-event--client .audit-event-dot[b-7hwuddo3uc] {
    background: #43a047;
}

.audit-event--agency .audit-event-dot[b-7hwuddo3uc] {
    background: #1565c0;
}

.audit-event--system .audit-event-dot[b-7hwuddo3uc],
.audit-event--milestone .audit-event-dot[b-7hwuddo3uc] {
    background: #9e9e9e;
}

.audit-event--milestone .audit-event-dot[b-7hwuddo3uc] {
    background: #e65100;
}

.audit-event-time[b-7hwuddo3uc] {
    font-size: 0.72rem;
    color: #6b7280;
    white-space: nowrap;
    padding-top: 1px;
}

.audit-event-body[b-7hwuddo3uc] {
    min-width: 0;
}

.audit-event-title[b-7hwuddo3uc] {
    font-size: 0.84rem;
}

.audit-event-detail[b-7hwuddo3uc] {
    font-size: 0.74rem;
    color: #6b7280;
}

.audit-event--client .audit-event-title[b-7hwuddo3uc] {
    color: #2e7d32;
    font-weight: 500;
}

.audit-event--agency .audit-event-title[b-7hwuddo3uc] {
    color: #1565c0;
    font-weight: 500;
}

.audit-event--system .audit-event-title[b-7hwuddo3uc] {
    color: #555;
}

.audit-event--milestone .audit-event-title[b-7hwuddo3uc] {
    color: #e65100;
    font-weight: 600;
}

.audit-system-events[b-7hwuddo3uc] {
    border-top: 1px solid #e5e7eb;
}

.audit-system-events-body[b-7hwuddo3uc] {
    padding-top: 4px;
}

.audit-day-heading[b-7hwuddo3uc] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0 2px 4px;
    margin-top: 6px;
}

.audit-event--system-compact[b-7hwuddo3uc] {
    grid-template-columns: 14px 62px 1fr;
    padding: 4px 2px;
}

.audit-event-time--compact[b-7hwuddo3uc] {
    font-size: 0.7rem;
    color: #9e9e9e;
}

.audit-event-title--compact[b-7hwuddo3uc] {
    font-size: 0.8rem;
}

.audit-event-detail--compact[b-7hwuddo3uc] {
    font-size: 0.72rem;
    color: #757575;
}
/* /Components/Shared/SubmissionActionBar.razor.rz.scp.css */
.submission-action-bar[b-t2ng9r2g3h] {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.submission-send-button-wrap[b-t2ng9r2g3h] {
    position: relative;
    display: inline-block;
}

@media (min-width: 600px) {
    .submission-send-button-wrap--request[b-t2ng9r2g3h] {
        margin-left: auto;
    }
}

.submission-send-progress-wrap[b-t2ng9r2g3h] {
    position: absolute;
    bottom: 3px;
    left: 6px;
    right: 6px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
}

.submission-send-progress[b-t2ng9r2g3h] {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.8s linear;
}
/* /Components/Shared/SubmissionClientRequestsPanel.razor.rz.scp.css */
.submission-client-request-card[b-rc4fqkmsvf] {
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fffde7;
}

.submission-client-request-summary[b-rc4fqkmsvf] {
    font-size: 0.85rem;
}

.submission-client-request-notes[b-rc4fqkmsvf] {
    font-size: 0.82rem;
    color: #666;
}

.submission-client-request-time[b-rc4fqkmsvf] {
    font-size: 0.75rem;
    color: #999;
    margin-left: auto;
}
/* /Components/Shared/SubmissionNotesPanel.razor.rz.scp.css */
.submission-notes-panel[b-8l09ywy21w] {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.submission-notes-panel--summary[b-8l09ywy21w] {
    border-radius: 10px;
}

.submission-notes-header[b-8l09ywy21w] {
    padding: 10px 12px 8px;
    background: #f8fafc;
}

.submission-notes-panel:not(.submission-notes-panel--summary) .submission-notes-header[b-8l09ywy21w] {
    border-bottom: 1px solid #e2e8f0;
}

.submission-notes-header-row[b-8l09ywy21w] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.submission-notes-header-text[b-8l09ywy21w] {
    min-width: 0;
}

.submission-notes-header-actions[b-8l09ywy21w] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.submission-notes-count[b-8l09ywy21w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #e8eef5;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
}

.submission-notes-summary-line[b-8l09ywy21w] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    padding: 5px 12px 7px;
}

.client-note-summary-row[b-8l09ywy21w] {
    background: #eff6ff;
}

.client-note-summary-row + .internal-note-summary-row[b-8l09ywy21w] {
    border-top: 1px solid #bfdbfe;
}


.submission-notes-summary-author[b-8l09ywy21w] {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
}

.submission-notes-summary-time[b-8l09ywy21w] {
    flex: 0 0 auto;
    font-size: 0.69rem;
    color: #64748b;
}

.submission-notes-summary-body[b-8l09ywy21w] {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.75rem;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submission-notes-thread[b-8l09ywy21w] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    max-height: 210px;
    overflow-y: auto;
    background: #fcfdff;
}

.submission-note-message[b-8l09ywy21w] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 9px;
    background: #f8fafc;
}

.submission-note-header[b-8l09ywy21w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.submission-note-author[b-8l09ywy21w] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
}

.submission-note-time[b-8l09ywy21w] {
    font-size: 0.69rem;
    color: #64748b;
    white-space: nowrap;
}

.submission-note-body[b-8l09ywy21w] {
    font-size: 0.77rem;
    line-height: 1.35;
    color: #1f2937;
    white-space: pre-wrap;
    word-break: break-word;
}

.submission-notes-empty[b-8l09ywy21w] {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px;
    font-size: 0.75rem;
    color: #64748b;
    background: #fff;
}

.submission-notes-composer[b-8l09ywy21w] {
    border-top: 1px solid #e2e8f0;
    padding: 8px 12px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
}

.submission-notes-input[b-8l09ywy21w] {
    flex: 1 1 auto;
}

.submission-notes-composer .mud-input-control[b-8l09ywy21w] {
    margin: 0;
}
/* /Components/Shared/WeekGridView.razor.rz.scp.css */
/* ── WeekGridView scoped styles ─────────────────────────────────────── */

.wgv-scroll[b-hg01cmmf9n] {
    overflow-x: auto;
}

.wgv-table[b-hg01cmmf9n] {
    border-collapse: collapse;
    font-size: 0.82rem;
    min-width: 700px;
    width: 100%;
}

.wgv-th[b-hg01cmmf9n] {
    padding: 6px 8px;
    text-align: center;
    min-width: 110px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
    font-weight: 700;
}

.wgv-th-dayname[b-hg01cmmf9n] {
    padding: 4px 8px;
    text-align: center;
    border-right: 1px solid #e8e8e8;
    border-bottom: 2px solid #e0e0e0;
    text-transform: uppercase;
    font-size: 0.75rem;
    white-space: nowrap;
}

.wgv-th-weekend[b-hg01cmmf9n] {
    background: #e3f2fd;
}

.wgv-th-dayname-weekend[b-hg01cmmf9n] {
    background: #e3f2fd;
    color: #1565c0;
    font-weight: 700;
}

.wgv-client-row[b-hg01cmmf9n] {
    background: #212121;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 6px 12px;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.wgv-cell-empty[b-hg01cmmf9n] {
    background: #f5f5f5;
    border: 1px solid #eeeeee;
    min-width: 110px;
    padding: 4px 6px;
}

.wgv-cell[b-hg01cmmf9n] {
    border: 1px solid #e0e0e0;
    padding: 4px 6px;
    vertical-align: top;
    background: #fff;
    min-width: 110px;
}

.wgv-fill-count[b-hg01cmmf9n] {
    font-size: 0.68rem;
    font-weight: 600;
    text-align: right;
    margin-bottom: 3px;
}

.wgv-chip[b-hg01cmmf9n] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    width: fit-content;
    max-width: 100%;
    border: 2px solid currentColor;
    border-radius: 6px;
    padding: 1px 7px;
    margin-bottom: 3px;
    font-size: 0.76rem;
    line-height: 1.25;
    background: #fff;
    font-weight: 800;
}

.wgv-entry[b-hg01cmmf9n] {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
    margin-bottom: 4px;
    max-width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1px 7px;
    font-size: 0.76rem;
    line-height: 1.2;
    background: transparent;
    color: var(--wgv-entry-color, #0f172a);
    white-space: nowrap;
}

.wgv-entry-line[b-hg01cmmf9n] {
    display: inline;
    max-width: 100%;
}

.wgv-entry-line--staff[b-hg01cmmf9n] {
    color: #0f172a;
    font-weight: 700;
}

.wgv-entry-line--job[b-hg01cmmf9n] {
    color: var(--wgv-job-color, #2563eb);
    font-weight: 800;
}

.wgv-entry-line--shift[b-hg01cmmf9n] {
    color: var(--wgv-shift-color, #7c3aed);
    font-weight: 800;
}

.wgv-entry-line--cancelled[b-hg01cmmf9n] {
    color: #e65100;
    font-weight: 800;
}

.wgv-entry--cancelled .wgv-entry-line--staff[b-hg01cmmf9n] {
    text-decoration-line: line-through;
}

.wgv-entry-line--removed[b-hg01cmmf9n] {
    color: #c62828;
    font-weight: 800;
}

.wgv-chain-arrow[b-hg01cmmf9n] {
    display: inline-block;
    margin: 0 3px;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
}

.wgv-entry-separator[b-hg01cmmf9n] {
    color: #94a3b8;
    font-weight: 700;
}

.wgv-entry--cancelled .wgv-entry-line[b-hg01cmmf9n],
.wgv-entry--removed .wgv-entry-line[b-hg01cmmf9n],
.wgv-entry--cancelled .wgv-entry-separator[b-hg01cmmf9n],
.wgv-entry--removed .wgv-entry-separator[b-hg01cmmf9n],
.wgv-entry--cancelled .wgv-chain-arrow[b-hg01cmmf9n],
.wgv-entry--removed .wgv-chain-arrow[b-hg01cmmf9n] {
    text-decoration: line-through;
}

.wgv-chip-cancelled[b-hg01cmmf9n] {
    color: #e65100;
}

.wgv-chip-tbc[b-hg01cmmf9n] {
    display: block;
    width: 100%;
    border-radius: 6px;
    color: #64748b;
}

.wgv-chip-tbc-detailed[b-hg01cmmf9n] {
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: flex-start;
    white-space: nowrap;
}

.wgv-cancel-meta[b-hg01cmmf9n] {
    font-size: 0.68rem;
    color: #c62828;
    margin-top: -1px;
    margin-bottom: 3px;
    padding: 0 2px;
}

.wgv-tbc-removed[b-hg01cmmf9n] {
    display: block;
}

/* ── Mobile / phone (xs ≤ 599px) ───────────────────────────────────────── */
@media (max-width: 599px) {
    .wgv-scroll[b-hg01cmmf9n] {
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .wgv-table[b-hg01cmmf9n] {
        font-size: 0.72rem;
    }

    .wgv-th[b-hg01cmmf9n] {
        min-width: 76px;
        padding: 4px 4px;
    }

    .wgv-th-dayname[b-hg01cmmf9n] {
        padding: 3px 4px;
        font-size: 0.67rem;
    }

    .wgv-cell[b-hg01cmmf9n],
    .wgv-cell-empty[b-hg01cmmf9n] {
        min-width: 76px;
        padding: 3px 4px;
    }

    .wgv-chip[b-hg01cmmf9n],
    .wgv-chip-tbc[b-hg01cmmf9n],
    .wgv-chip-cancelled[b-hg01cmmf9n],
    .wgv-tbc-removed[b-hg01cmmf9n] {
        font-size: 0.67rem;
        padding: 1px 5px;
    }

}
