@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.bundle.scp.css';

/* /Components/Assignments/AssignmentCrewManagementPanel.razor.rz.scp.css */
.assignment-crews-card[b-unrt0en29h] {
    display: grid;
    gap: 1.1rem;
    padding: 1.15rem;
    margin: 0;
    border: 1px solid light-dark(#dce5f0, var(--fo-border));
    border-radius: .9rem;
    background: var(--fo-surface);
    box-shadow: none;
}

.assignment-crews-heading[b-unrt0en29h] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.assignment-crews-heading > div[b-unrt0en29h] {
    display: grid;
    gap: .25rem;
}

.assignment-crews-heading span:first-child[b-unrt0en29h],
.assignment-crew-category-label[b-unrt0en29h] {
    color: light-dark(#1657a6, var(--fo-link-strong));
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.assignment-crews-heading h2[b-unrt0en29h],
.assignment-crews-heading p[b-unrt0en29h] {
    margin: 0;
}

.assignment-crews-heading h2[b-unrt0en29h] {
    color: var(--fo-text-strong);
    font-size: 1.05rem;
}

.assignment-crews-heading p[b-unrt0en29h] {
    color: light-dark(#61708a, var(--fo-text-secondary));
    font-size: .8rem;
    line-height: 1.45;
}

.assignment-crews-progress[b-unrt0en29h] {
    min-width: 2.5rem;
    padding: .45rem .65rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: light-dark(#edf2f7, var(--fo-surface-subtle));
    color: var(--fo-text-secondary);
    text-align: center;
    font-size: .78rem;
    font-weight: 750;
}

.assignment-crews-progress.complete[b-unrt0en29h] {
    background: light-dark(#eaf8ef, var(--fo-surface-subtle));
    color: light-dark(#146c36, var(--fo-success-700));
}

.assignment-crews-state[b-unrt0en29h],
.assignment-crews-empty[b-unrt0en29h] {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1rem;
    border: 1px dashed var(--fo-border-strong);
    border-radius: .8rem;
    color: var(--fo-text-muted);
    text-align: center;
    font-size: .8rem;
}

.assignment-crews-grid[b-unrt0en29h] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .85rem;
}

.assignment-crew-row[b-unrt0en29h] {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid light-dark(#dce5f0, var(--fo-border));
    border-radius: .8rem;
    background: var(--fo-surface-subtle);
}

.assignment-crew-category[b-unrt0en29h] {
    min-width: 0;
    display: grid;
    gap: .2rem;
}

.assignment-crew-category strong[b-unrt0en29h] {
    color: var(--fo-text-strong);
    font-size: .9rem;
}

.assignment-crew-category small[b-unrt0en29h],
.assignment-crew-date[b-unrt0en29h] {
    color: var(--fo-text-muted);
    font-size: .72rem;
    line-height: 1.4;
}

.assignment-crew-selector[b-unrt0en29h] {
    display: grid;
    gap: .35rem;
    color: var(--fo-text-secondary);
    font-size: .72rem;
    font-weight: 700;
}

.assignment-crew-selector select[b-unrt0en29h] {
    width: 100%;
    min-height: 2.65rem;
    padding: .65rem .75rem;
    box-sizing: border-box;
    border: 1px solid var(--fo-border-strong);
    border-radius: .55rem;
    background: var(--fo-surface);
    color: var(--fo-text-strong);
    cursor: pointer;
}

.assignment-crew-selector select:focus[b-unrt0en29h] {
    border-color: var(--fo-action-600);
    outline: 3px solid rgba(37, 99, 235, .12);
}

.assignment-crew-selector select:disabled[b-unrt0en29h] {
    color: var(--fo-text-subtle);
    background: var(--fo-surface-muted);
    cursor: not-allowed;
}

.assigned-crew-display[b-unrt0en29h] {
    display: grid;
    gap: .3rem;
    padding: .8rem .9rem;
    border: 1px solid light-dark(#cfe0f5, var(--fo-primary-200));
    border-radius: .65rem;
    background: light-dark(#eef5ff, var(--fo-surface-subtle));
}

.assigned-crew-display span[b-unrt0en29h] {
    color: light-dark(#5f6f88, var(--fo-text-secondary));
    font-size: .68rem;
    font-weight: 650;
}

.assigned-crew-display strong[b-unrt0en29h] {
    color: light-dark(#163f73, var(--fo-link-strong));
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.assignment-crew-warning[b-unrt0en29h] {
    color: light-dark(#a4262c, var(--fo-danger-700));
    font-size: .72rem;
}

.assignment-crews-message[b-unrt0en29h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    border-radius: .7rem;
    font-size: .78rem;
}

.assignment-crews-message.error[b-unrt0en29h] {
    background: light-dark(#fff0f0, var(--fo-surface-subtle));
    color: light-dark(#a4262c, var(--fo-danger-700));
}

.assignment-crews-message.success[b-unrt0en29h] {
    background: light-dark(#eaf8ef, var(--fo-surface-subtle));
    color: light-dark(#146c36, var(--fo-success-700));
}

.assignment-crews-actions[b-unrt0en29h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .2rem;
}

.assignment-crews-action-buttons[b-unrt0en29h] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .65rem;
}

.assignment-crews-actions > span[b-unrt0en29h],
.assignment-crews-readonly[b-unrt0en29h] {
    color: var(--fo-text-muted);
    font-size: .75rem;
    line-height: 1.4;
}

.assignment-crews-readonly[b-unrt0en29h] {
    padding: .8rem .9rem;
    border-radius: .65rem;
    background: var(--fo-surface-muted);
}

@media (max-width: 720px) {
    .assignment-crews-heading[b-unrt0en29h],
    .assignment-crews-actions[b-unrt0en29h] {
        flex-direction: column;
        align-items: stretch;
    }

    .assignment-crews-action-buttons[b-unrt0en29h] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .assignment-crews-action-buttons fluent-button[b-unrt0en29h] {
        width: 100%;
    }
}
/* /Components/Assignments/AssignmentFileExplorer.razor.rz.scp.css */
.file-explorer-card[b-dj2ap7v8s4] {
    display: block;
    padding: 1.35rem;
    border: 1px solid light-dark(#dfe7f1, var(--fo-border));
    border-radius: 18px;
    background: var(--fo-surface);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .045);
}

.file-explorer-heading[b-dj2ap7v8s4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.file-explorer-heading h2[b-dj2ap7v8s4] {
    margin: .2rem 0 .35rem;
    color: var(--fo-text);
    font-size: 1.2rem;
}

.file-explorer-heading p[b-dj2ap7v8s4] {
    max-width: 760px;
    margin: 0;
    color: var(--fo-text-muted);
    font-size: .78rem;
    line-height: 1.55;
}

.file-explorer-kicker[b-dj2ap7v8s4] {
    color: var(--fo-link-strong);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.documentation-summary[b-dj2ap7v8s4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1rem;
}

.documentation-summary div[b-dj2ap7v8s4] {
    min-width: 0;
    padding: .75rem .9rem;
    display: flex;
    align-items: baseline;
    gap: .55rem;
    border: 1px solid var(--fo-border-soft);
    border-radius: 10px;
    background: var(--fo-surface-subtle);
}

.documentation-summary strong[b-dj2ap7v8s4] {
    color: var(--fo-link-strong-hover);
    font-size: 1.05rem;
}

.documentation-summary span[b-dj2ap7v8s4] {
    overflow: hidden;
    color: var(--fo-text-muted);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.documentation-browser[b-dj2ap7v8s4] {
    min-height: 480px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid light-dark(#dfe7f1, var(--fo-border));
    border-radius: 14px;
    background: var(--fo-surface);
}

.documentation-navigation[b-dj2ap7v8s4] {
    padding: .85rem;
    border-right: 1px solid var(--fo-border-soft);
    background: var(--fo-surface-subtle);
}

.navigation-heading[b-dj2ap7v8s4] {
    padding: .2rem .45rem .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation-heading span[b-dj2ap7v8s4] {
    color: var(--fo-text-emphasis);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.navigation-heading small[b-dj2ap7v8s4] {
    color: var(--fo-text-subtle);
    font-size: .65rem;
}

.navigation-item[b-dj2ap7v8s4] {
    width: 100%;
    min-width: 0;
    padding: .62rem .68rem;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: .58rem;
    color: var(--fo-text-secondary);
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.navigation-item:hover[b-dj2ap7v8s4] {
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-50);
}

.navigation-item.active[b-dj2ap7v8s4] {
    color: var(--fo-link-strong-hover);
    border-color: var(--fo-primary-200);
    background: var(--fo-primary-50);
}

.navigation-item svg[b-dj2ap7v8s4] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navigation-item > span:last-child[b-dj2ap7v8s4] {
    min-width: 0;
    display: grid;
    gap: .15rem;
}

.navigation-item strong[b-dj2ap7v8s4],
.navigation-item small[b-dj2ap7v8s4] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navigation-item strong[b-dj2ap7v8s4] {
    font-size: .73rem;
}

.navigation-item small[b-dj2ap7v8s4] {
    color: var(--fo-text-subtle);
    font-size: .62rem;
    font-weight: 500;
}

.navigation-item.section[b-dj2ap7v8s4] {
    margin-top: .3rem;
}

.navigation-children[b-dj2ap7v8s4] {
    margin: .15rem 0 .45rem .65rem;
    padding-left: .65rem;
    border-left: 1px solid light-dark(#dbe4ee, var(--fo-border));
}

.navigation-item.child[b-dj2ap7v8s4] {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: .48rem .55rem;
}

.navigation-dot[b-dj2ap7v8s4] {
    width: 5px;
    height: 5px;
    display: block;
    border-radius: 999px;
    background: #94a3b8;
}

.navigation-item.child.active .navigation-dot[b-dj2ap7v8s4] {
    background: var(--fo-action-600);
    box-shadow: 0 0 0 3px #dbeafe;
}

.documentation-content[b-dj2ap7v8s4] {
    min-width: 0;
    padding: 1rem;
}

.file-explorer-breadcrumbs[b-dj2ap7v8s4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem;
    margin-bottom: .85rem;
    color: var(--fo-text-subtle);
}

.file-explorer-breadcrumbs button[b-dj2ap7v8s4] {
    padding: .18rem .28rem;
    border: 0;
    background: transparent;
    color: var(--fo-link-strong);
    font-family: inherit;
    font-size: .68rem;
    cursor: pointer;
}

.file-explorer-breadcrumbs button.current[b-dj2ap7v8s4] {
    color: var(--fo-text-secondary);
    font-weight: 750;
    cursor: default;
}

.folder-toolbar[b-dj2ap7v8s4] {
    min-height: 48px;
    margin-bottom: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.folder-toolbar h3[b-dj2ap7v8s4] {
    margin: 0 0 .2rem;
    color: var(--fo-text);
    font-size: 1rem;
}

.folder-toolbar > div > span[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .68rem;
}

.folder-search[b-dj2ap7v8s4] {
    width: min(280px, 100%);
    min-height: 39px;
    padding: 0 .65rem;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: .4rem;
    border: 1px solid var(--fo-border-strong);
    border-radius: 9px;
    background: var(--fo-surface);
}

.folder-search:focus-within[b-dj2ap7v8s4] {
    border-color: var(--fo-action-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.folder-search svg[b-dj2ap7v8s4] {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--fo-text-muted);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.folder-search input[b-dj2ap7v8s4] {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--fo-text);
    background: transparent;
    font-family: inherit;
    font-size: .72rem;
}

.folder-search button[b-dj2ap7v8s4] {
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 6px;
    color: var(--fo-text-muted);
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
}

.folder-search button:hover[b-dj2ap7v8s4] {
    color: var(--fo-text);
    background: var(--fo-surface-muted);
}

.file-explorer-grid[b-dj2ap7v8s4] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: .7rem;
}

.file-explorer-item[b-dj2ap7v8s4] {
    min-width: 0;
    min-height: 86px;
    padding: .85rem;
    border: 1px solid var(--fo-border-soft);
    border-radius: 11px;
    background: var(--fo-surface);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.file-explorer-item.folder[b-dj2ap7v8s4] {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.file-explorer-item.folder:hover[b-dj2ap7v8s4] {
    border-color: var(--fo-primary-300);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    transform: translateY(-1px);
}

.file-explorer-item.file[b-dj2ap7v8s4] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: .7rem;
}

.file-explorer-icon[b-dj2ap7v8s4] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--fo-link-strong);
    background: var(--fo-primary-50);
}

.file-explorer-icon svg[b-dj2ap7v8s4],
.file-explorer-open[b-dj2ap7v8s4] {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.file-explorer-open[b-dj2ap7v8s4] {
    width: 17px;
    color: var(--fo-text-subtle);
}

.file-explorer-item-copy[b-dj2ap7v8s4] {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: .22rem;
}

.file-explorer-item-copy strong[b-dj2ap7v8s4] {
    overflow: hidden;
    color: var(--fo-text);
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-explorer-item-copy small[b-dj2ap7v8s4],
.file-explorer-item-copy p[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .66rem;
    line-height: 1.45;
}

.file-explorer-item-copy p[b-dj2ap7v8s4] {
    margin: .2rem 0 0;
    white-space: normal;
}

.file-explorer-file-actions[b-dj2ap7v8s4] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: .25rem;
    margin-top: .25rem;
    padding-top: .55rem;
    border-top: 1px solid var(--fo-border-faint);
}

.file-explorer-file-actions[b-dj2ap7v8s4]  fluent-button {
    min-height: 29px;
    padding: 0 .5rem;
    border-radius: 6px;
    font-size: .66rem;
    font-weight: 750;
}

@media (forced-colors: none) {
    .file-explorer-file-actions[b-dj2ap7v8s4]  fluent-button { color: var(--fo-text-secondary); }
}

.file-explorer-state[b-dj2ap7v8s4],
.file-explorer-empty[b-dj2ap7v8s4],
.file-preview-state[b-dj2ap7v8s4] {
    min-height: 220px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .55rem;
    padding: 2rem;
    color: var(--fo-text-muted);
    text-align: center;
}

.file-explorer-empty svg[b-dj2ap7v8s4] {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--fo-text-subtle);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.file-explorer-empty small[b-dj2ap7v8s4] {
    max-width: 360px;
    font-size: .7rem;
    line-height: 1.5;
}

.file-explorer-message[b-dj2ap7v8s4] {
    margin-bottom: .85rem;
    padding: .85rem 1rem;
    border-radius: 10px;
}

.file-explorer-message.error[b-dj2ap7v8s4] {
    color: light-dark(#a4262c, var(--fo-danger-700));
    border: 1px solid light-dark(#f2b8b5, var(--fo-danger-200));
    background: light-dark(#fff1f0, var(--fo-surface-subtle));
}

.file-preview-backdrop[b-dj2ap7v8s4] {
    position: fixed;
    inset: 0;
    z-index: 1500;
    padding: 1.25rem;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .68);
    backdrop-filter: blur(3px);
}

.file-preview-dialog[b-dj2ap7v8s4] {
    width: min(1080px, 100%);
    max-height: calc(100vh - 2.5rem);
    display: grid;
    grid-template-rows: auto minmax(300px, 1fr) auto;
    overflow: hidden;
    border-radius: 16px;
    background: var(--fo-surface);
    box-shadow: 0 30px 90px rgba(15, 23, 42, .4);
}

.file-preview-dialog > header[b-dj2ap7v8s4],
.file-preview-dialog > footer[b-dj2ap7v8s4] {
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--fo-border-soft);
}

.file-preview-dialog > footer[b-dj2ap7v8s4] {
    border-top: 1px solid var(--fo-border-soft);
    border-bottom: 0;
}

.file-preview-dialog h2[b-dj2ap7v8s4] {
    margin: .2rem 0 0;
    font-size: 1rem;
}

.file-preview-dialog footer > div:first-child[b-dj2ap7v8s4] {
    min-width: 0;
    display: grid;
    gap: .2rem;
}

.file-preview-dialog footer > div:first-child strong[b-dj2ap7v8s4] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-preview-dialog footer > div:first-child small[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .7rem;
}

.file-preview-dialog footer > div:last-child[b-dj2ap7v8s4] {
    display: flex;
    gap: .65rem;
}

.file-preview-content[b-dj2ap7v8s4] {
    min-height: 420px;
    display: grid;
    place-items: center;
    overflow: auto;
    background: #0f172a;
}

.file-preview-content img[b-dj2ap7v8s4] {
    max-width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
}

.file-preview-content iframe[b-dj2ap7v8s4] {
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 520px;
    border: 0;
    background: var(--fo-surface);
}

@media (max-width: 980px) {
    .documentation-browser[b-dj2ap7v8s4] {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .documentation-summary[b-dj2ap7v8s4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .file-explorer-grid[b-dj2ap7v8s4] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .file-explorer-card[b-dj2ap7v8s4] {
        padding: 1rem;
    }

    .file-explorer-heading[b-dj2ap7v8s4],
    .folder-toolbar[b-dj2ap7v8s4],
    .file-preview-dialog > footer[b-dj2ap7v8s4] {
        align-items: stretch;
        flex-direction: column;
    }

    .documentation-browser[b-dj2ap7v8s4] {
        display: block;
    }

    .documentation-navigation[b-dj2ap7v8s4] {
        border-right: 0;
        border-bottom: 1px solid var(--fo-border-soft);
    }

    .navigation-children[b-dj2ap7v8s4] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .folder-search[b-dj2ap7v8s4] {
        width: 100%;
    }

    .file-preview-dialog footer > div:last-child[b-dj2ap7v8s4] {
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .documentation-summary[b-dj2ap7v8s4],
    .navigation-children[b-dj2ap7v8s4] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .file-explorer-item[b-dj2ap7v8s4] {
        transition: none;
    }
}


/* Icons are rendered by focused provider/documentation components. */
.navigation-item[b-dj2ap7v8s4]  .documentation-icon,
.navigation-item[b-dj2ap7v8s4]  .provider-mark {
    width: 32px;
    transform: none;
}

.file-explorer-item.folder[b-dj2ap7v8s4]  .documentation-icon {
    align-self: center;
}

.file-explorer-item.file[b-dj2ap7v8s4]  .documentation-icon {
    align-self: start;
}

.file-explorer-item.folder .file-explorer-item-copy[b-dj2ap7v8s4],
.file-explorer-item.folder .file-explorer-open[b-dj2ap7v8s4] {
    align-self: center;
}


/* Phase 4.1.11 — Modern documentation browser.
   Uses existing file-tree metadata and lazy-loaded authenticated photo URLs. */
.file-explorer-card[b-dj2ap7v8s4] {
    display: block;
    min-width: 0;
    padding: var(--fo-space-3);
    border: 0;
    border-radius: var(--fo-radius-md);
    background: var(--fo-surface);
    box-shadow: none;
}

.file-explorer-heading[b-dj2ap7v8s4] {
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fo-space-3);
    padding: 0 2px;
    margin-bottom: var(--fo-space-3);
}

.file-explorer-heading .file-explorer-intro p[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.5;
}

.file-explorer-kicker[b-dj2ap7v8s4] {
    color: var(--fo-primary-700);
    font-weight: 550;
}

.file-explorer-heading .refresh-button[b-dj2ap7v8s4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 8px;
    min-height: 36px;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-sm);
    background: var(--fo-surface);
    color: var(--fo-text-secondary);
    font: inherit;
    font-size: .75rem;
    font-weight: 500;
    cursor: pointer;
}

.file-explorer-heading .refresh-button svg[b-dj2ap7v8s4] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.file-explorer-heading .refresh-button:hover:not(:disabled)[b-dj2ap7v8s4] {
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
}

.file-explorer-heading .refresh-button:focus-visible[b-dj2ap7v8s4],
.documentation-stat:focus-visible[b-dj2ap7v8s4],
.navigation-expand:focus-visible[b-dj2ap7v8s4],
.file-explorer-item:focus-visible[b-dj2ap7v8s4],
.preview-icon-button:focus-visible[b-dj2ap7v8s4],
.explorer-search-context button:focus-visible[b-dj2ap7v8s4] {
    outline: 2px solid var(--fo-focus);
    outline-offset: 2px;
}

.documentation-summary[b-dj2ap7v8s4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--fo-space-2);
    margin-bottom: var(--fo-space-3);
}

.documentation-summary .documentation-stat[b-dj2ap7v8s4] {
    min-width: 0;
    min-height: 66px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
    background: var(--fo-surface);
    color: var(--fo-text-secondary);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease;
}

.documentation-summary .documentation-stat:hover[b-dj2ap7v8s4],
.documentation-summary .documentation-stat.selected[b-dj2ap7v8s4] {
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
}

.documentation-stat[b-dj2ap7v8s4]  .documentation-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
}

.documentation-stat > span[b-dj2ap7v8s4] {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.documentation-summary .documentation-stat strong[b-dj2ap7v8s4] {
    color: var(--fo-text);
    font-size: 1.05rem;
    font-weight: 530;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.documentation-summary .documentation-stat small[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .7rem;
    font-weight: 400;
    line-height: 1.25;
    white-space: normal;
}

.documentation-browser[b-dj2ap7v8s4] {
    min-width: 0;
    min-height: 440px;
    grid-template-columns: 228px minmax(0, 1fr);
    border-color: var(--fo-border);
    border-radius: var(--fo-radius-lg);
    background: var(--fo-surface);
}

.documentation-navigation[b-dj2ap7v8s4] {
    padding: 12px 9px;
    border-right: 1px solid var(--fo-border);
    background: var(--fo-surface-subtle);
}

.navigation-heading[b-dj2ap7v8s4] {
    padding: 5px 8px 11px;
}

.navigation-heading span[b-dj2ap7v8s4] {
    color: var(--fo-text-secondary);
    font-size: .68rem;
    font-weight: 530;
}

.navigation-item[b-dj2ap7v8s4] {
    min-height: 49px;
    border-radius: var(--fo-radius-sm);
    color: var(--fo-text-secondary);
}

.navigation-item strong[b-dj2ap7v8s4] {
    color: var(--fo-text);
    font-size: .74rem;
    font-weight: 520;
}

.navigation-item small[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .66rem;
    font-weight: 400;
}

.navigation-item.active strong[b-dj2ap7v8s4] { color: var(--fo-primary-700); }

.navigation-section-row[b-dj2ap7v8s4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
}

.navigation-section-row .navigation-item.section[b-dj2ap7v8s4] {
    margin-top: 0;
}

.navigation-expand[b-dj2ap7v8s4] {
    width: 30px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: var(--fo-radius-sm);
    background: transparent;
    color: var(--fo-text-muted);
    cursor: pointer;
}

.navigation-expand:hover[b-dj2ap7v8s4] {
    background: var(--fo-primary-50);
    color: var(--fo-primary-700);
}

.navigation-expand svg[b-dj2ap7v8s4] {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
    transition: transform 150ms ease;
}

.navigation-expand svg.expanded[b-dj2ap7v8s4] { transform: rotate(180deg); }

.navigation-children[b-dj2ap7v8s4] {
    display: grid;
    gap: 3px;
    margin: 3px 0 7px 17px;
    padding-left: 9px;
    border-left: 1px solid var(--fo-border);
}

.navigation-item.child[b-dj2ap7v8s4] {
    min-height: 43px;
    padding: 6px 5px;
    gap: 8px;
}

.navigation-item.child[b-dj2ap7v8s4]  .documentation-icon {
    width: 27px;
    height: 27px;
}

.documentation-content[b-dj2ap7v8s4] {
    padding: var(--fo-space-4);
}

.file-explorer-breadcrumbs[b-dj2ap7v8s4] {
    margin-bottom: var(--fo-space-3);
    min-height: 24px;
}

.file-explorer-breadcrumbs > svg[b-dj2ap7v8s4] {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: var(--fo-text-muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.file-explorer-breadcrumbs button[b-dj2ap7v8s4] {
    font-size: .72rem;
    font-weight: 450;
    border-radius: 5px;
}

.file-explorer-breadcrumbs button.current[b-dj2ap7v8s4] { font-weight: 540; }

.folder-toolbar[b-dj2ap7v8s4] {
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--fo-space-3);
}

.folder-toolbar h3[b-dj2ap7v8s4] {
    color: var(--fo-text);
    font-size: .94rem;
    font-weight: 560;
}

.folder-toolbar > div > span[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .71rem;
}

.folder-search[b-dj2ap7v8s4] {
    width: min(365px, 100%);
    min-height: 40px;
    gap: 8px;
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
}

.folder-search:focus-within[b-dj2ap7v8s4] {
    border-color: var(--fo-primary-200);
    box-shadow: 0 0 0 3px var(--fo-primary-50);
}

.folder-search input[b-dj2ap7v8s4] {
    min-width: 0;
    font-size: .74rem;
    font-weight: 400;
}

.folder-search .clear-search svg[b-dj2ap7v8s4] {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.explorer-search-context[b-dj2ap7v8s4] {
    margin-bottom: var(--fo-space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--fo-text-muted);
    font-size: .71rem;
    line-height: 1.4;
}

.explorer-search-context button[b-dj2ap7v8s4] {
    padding: 6px 8px;
    border: 0;
    border-radius: var(--fo-radius-sm);
    background: var(--fo-primary-50);
    color: var(--fo-primary-700);
    font: inherit;
    font-size: .71rem;
    cursor: pointer;
}

.file-explorer-grid.folders[b-dj2ap7v8s4] {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
}

.file-explorer-grid.list[b-dj2ap7v8s4] {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.file-explorer-grid.gallery[b-dj2ap7v8s4] {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 12px;
}

.file-explorer-item[b-dj2ap7v8s4] {
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
    background: var(--fo-surface);
    box-shadow: none;
}

.file-explorer-item.folder[b-dj2ap7v8s4] {
    min-height: 72px;
    padding: 12px;
    gap: 10px;
}

.file-explorer-item.folder:hover[b-dj2ap7v8s4] {
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .045);
    transform: none;
}

.file-explorer-item-copy strong[b-dj2ap7v8s4] {
    color: var(--fo-text);
    font-size: .75rem;
    font-weight: 540;
}

.file-explorer-item-copy small[b-dj2ap7v8s4],
.file-explorer-item-copy p[b-dj2ap7v8s4] {
    color: var(--fo-text-muted);
    font-size: .7rem;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.file-explorer-item.file[b-dj2ap7v8s4] {
    min-height: 67px;
    padding: 11px 12px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.file-explorer-item.file[b-dj2ap7v8s4]  .documentation-icon {
    width: 34px;
    height: 34px;
}

.file-explorer-item.file .file-explorer-item-copy[b-dj2ap7v8s4] { align-content: center; }

.file-explorer-item.file.note[b-dj2ap7v8s4],
.file-explorer-item.file.material[b-dj2ap7v8s4] {
    grid-template-columns: 34px minmax(0, 1fr);
}

.file-explorer-item.file.note .file-explorer-item-copy strong[b-dj2ap7v8s4] {
    color: var(--fo-primary-700);
}

.file-explorer-item.file.note .file-explorer-item-copy p[b-dj2ap7v8s4] {
    margin: 2px 0;
    color: var(--fo-text-secondary);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.file-explorer-file-actions[b-dj2ap7v8s4] {
    margin: 0;
    padding: 0;
    border-top: 0;
    grid-column: auto;
    align-items: center;
}

.file-explorer-file-actions[b-dj2ap7v8s4]  fluent-button {
    min-height: 32px;
    font-size: .71rem;
    font-weight: 490;
}

.file-explorer-item.photo[b-dj2ap7v8s4] {
    display: grid;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.file-explorer-item.photo:hover[b-dj2ap7v8s4] {
    border-color: var(--fo-primary-200);
    box-shadow: 0 5px 15px rgba(15, 23, 42, .08);
    transform: none;
}

.photo-thumbnail[b-dj2ap7v8s4] {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    background: light-dark(#e8eef6, var(--fo-surface-subtle));
}

.photo-thumbnail > img[b-dj2ap7v8s4] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.photo-thumbnail > svg[b-dj2ap7v8s4] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 50%;
    color: var(--fo-on-accent);
    background: rgba(15, 23, 42, .68);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.file-explorer-item.photo .file-explorer-item-copy[b-dj2ap7v8s4] {
    padding: 10px;
    gap: 3px;
    min-width: 0;
}

.file-explorer-grid.list .file-explorer-item.photo[b-dj2ap7v8s4] {
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
}

.file-explorer-grid.list .file-explorer-item.photo .photo-thumbnail[b-dj2ap7v8s4] {
    aspect-ratio: 4 / 3;
}

.file-preview-dialog[b-dj2ap7v8s4] {
    width: min(1080px, 100%);
    border: 1px solid var(--fo-border);
}

.file-preview-header-actions[b-dj2ap7v8s4] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.file-preview-position[b-dj2ap7v8s4] {
    margin-right: 7px;
    color: var(--fo-text-muted);
    font-size: .75rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.preview-icon-button[b-dj2ap7v8s4] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-sm);
    color: var(--fo-text-secondary);
    background: var(--fo-surface);
    cursor: pointer;
}

.preview-icon-button:hover:not(:disabled)[b-dj2ap7v8s4] {
    border-color: var(--fo-primary-200);
    background: var(--fo-primary-50);
    color: var(--fo-primary-700);
}

.preview-icon-button:disabled[b-dj2ap7v8s4] {
    opacity: .4;
    cursor: default;
}

.preview-icon-button svg[b-dj2ap7v8s4] {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1120px) {
    .documentation-browser[b-dj2ap7v8s4] { grid-template-columns: 205px minmax(0, 1fr); }
    .file-explorer-grid.gallery[b-dj2ap7v8s4] { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
}

@media (max-width: 760px) {
    .documentation-browser[b-dj2ap7v8s4] { display: block; }
    .documentation-navigation[b-dj2ap7v8s4] {
        border-right: 0;
        border-bottom: 1px solid var(--fo-border);
    }
    .documentation-summary[b-dj2ap7v8s4] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .documentation-content[b-dj2ap7v8s4] { padding: 12px; }
    .navigation-children[b-dj2ap7v8s4] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .file-explorer-grid.gallery[b-dj2ap7v8s4] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .file-explorer-item.file[b-dj2ap7v8s4] { grid-template-columns: 32px minmax(0, 1fr); }
    .file-explorer-file-actions[b-dj2ap7v8s4] {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 460px) {
    .file-explorer-card[b-dj2ap7v8s4] { padding: 4px; }
    .documentation-stat[b-dj2ap7v8s4]  .documentation-icon { width: 26px; height: 26px; }
    .documentation-summary .documentation-stat[b-dj2ap7v8s4] { padding: 9px 7px; gap: 7px; min-height: 59px; }
    .navigation-children[b-dj2ap7v8s4] { grid-template-columns: minmax(0, 1fr); }
    .file-explorer-grid.list .file-explorer-item.photo[b-dj2ap7v8s4] { grid-template-columns: 86px minmax(0, 1fr); }
    .file-preview-dialog > header[b-dj2ap7v8s4] { align-items: flex-start; gap: 10px; }
    .file-preview-dialog h2[b-dj2ap7v8s4] { font-size: .84rem; overflow-wrap: anywhere; }
    .file-preview-header-actions[b-dj2ap7v8s4] { gap: 3px; }
    .preview-icon-button[b-dj2ap7v8s4] { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .documentation-stat[b-dj2ap7v8s4], .navigation-expand svg[b-dj2ap7v8s4] { transition: none; }
}
/* /Components/Assignments/AssignmentImportDialog.razor.rz.scp.css */
.import-dialog[b-wjxtxlzu90] { width:min(1050px,calc(100vw - 2rem)); max-height:calc(100dvh - 2rem); padding:0; border:1px solid light-dark(#dae3dd, var(--fo-border)); border-radius:18px; color:var(--text-primary,light-dark(#24372c, var(--fo-text))); box-shadow:0 25px 80px #102c3540; }
.import-dialog[b-wjxtxlzu90]::backdrop { background:#132d3e65; backdrop-filter:blur(3px); }
header[b-wjxtxlzu90],footer[b-wjxtxlzu90] { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.2rem 1.5rem; }
header[b-wjxtxlzu90] { border-bottom:1px solid light-dark(#e4ebe6, var(--fo-border)); } h2[b-wjxtxlzu90] { margin:.4rem 0 0; font-size:1.25rem; } .provider[b-wjxtxlzu90] { font-size:.72rem; font-weight:750; letter-spacing:.1em; color:light-dark(#347641, var(--fo-success-700)); }
.close[b-wjxtxlzu90] { border:0; background:transparent; font-size:1.8rem; cursor:pointer; padding:.3rem .6rem; }
.dialog-body[b-wjxtxlzu90] { padding:1.4rem 1.5rem; overflow:auto; max-height:calc(100dvh - 230px); }
footer[b-wjxtxlzu90] { border-top:1px solid light-dark(#e4ebe6, var(--fo-border)); } footer small[b-wjxtxlzu90],.hint[b-wjxtxlzu90] { color:light-dark(#66766d, var(--fo-text-secondary)); font-size:.82rem; line-height:1.6; }
.file-label[b-wjxtxlzu90] { display:block; font-weight:650; margin-bottom:.6rem; } button[b-wjxtxlzu90] { cursor:pointer; border-radius:9px; padding:.6rem .9rem; font-weight:650; } button:disabled[b-wjxtxlzu90] { opacity:.5; cursor:default; }
.primary[b-wjxtxlzu90] { background:#28623c; border:1px solid #28623c; color:var(--fo-on-accent); } .secondary[b-wjxtxlzu90],.pagination button[b-wjxtxlzu90] { background:var(--fo-surface); border:1px solid light-dark(#ccd9d0, var(--fo-border)); color:light-dark(#2b5038, var(--fo-success-700)); }
.message[b-wjxtxlzu90] { background:light-dark(#eef4f0, var(--fo-surface-subtle)); padding:.8rem 1rem; border-radius:10px; line-height:1.6; } .error[b-wjxtxlzu90] { background:light-dark(#fff0ed, var(--fo-danger-50)); color:light-dark(#9c3427, var(--fo-danger-700)); } .success[b-wjxtxlzu90] { background:light-dark(#eaf7ed, var(--fo-surface-subtle)); color:light-dark(#28623c, var(--fo-success-700)); }
.counts[b-wjxtxlzu90] { display:flex; flex-wrap:wrap; gap:.7rem; margin:1.2rem 0; } .counts span[b-wjxtxlzu90] { padding:.5rem .7rem; border:1px solid light-dark(#dde5df, var(--fo-border)); border-radius:9px; font-size:.86rem; } .counts strong[b-wjxtxlzu90] { font-size:1rem; }
.table-scroll[b-wjxtxlzu90] { overflow:auto; } table[b-wjxtxlzu90] { width:100%; border-collapse:collapse; font-size:.85rem; } caption[b-wjxtxlzu90] { text-align:left; padding:.7rem 0; font-weight:650; } th[b-wjxtxlzu90],td[b-wjxtxlzu90] { text-align:left; vertical-align:top; padding:.8rem .65rem; border-bottom:1px solid light-dark(#e5ebe7, var(--fo-border)); } th[b-wjxtxlzu90] { background:light-dark(#f2f6f3, var(--fo-surface-subtle)); white-space:nowrap; } td small[b-wjxtxlzu90] { color:light-dark(#6d7c72, var(--fo-text-secondary)); } .row-error[b-wjxtxlzu90] { display:block; color:light-dark(#a13d2c, var(--fo-danger-700)); margin-top:.3rem; } .pagination[b-wjxtxlzu90] { display:flex; gap:1rem; align-items:center; justify-content:flex-end; margin:1rem 0; }
@media(max-width:600px) { header[b-wjxtxlzu90],footer[b-wjxtxlzu90],.dialog-body[b-wjxtxlzu90] { padding:1rem; } footer[b-wjxtxlzu90] { align-items:flex-end; } th[b-wjxtxlzu90],td[b-wjxtxlzu90] { padding:.6rem; } }
/* /Components/Assignments/CrewRowReviewPanel.razor.rz.scp.css */
.crew-row-review[b-q9zd3oqdgb] { display: contents; font-size: .75rem; color: var(--fo-text-secondary); }
.crew-row-review > p[b-q9zd3oqdgb] { grid-column: 1 / -1; margin: 0; }
.crew-review-status-line[b-q9zd3oqdgb] { display: grid; align-content: start; gap: 5px; font-size: .75rem; color: var(--fo-text-secondary); }
.crew-review-status-line > span[b-q9zd3oqdgb] { color: var(--fo-text-muted); font-size: .69rem; }
.crew-review-entry[b-q9zd3oqdgb], .crew-evidence-link[b-q9zd3oqdgb] { display: inline-flex; align-items: center; justify-content: flex-start; gap: 5px; min-height: 36px; padding: 4px 0; border: 0; border-radius: var(--fo-radius-sm); background: transparent; color: var(--fo-primary-700); font: inherit; cursor: pointer; text-align: left; }
.crew-review-entry[b-q9zd3oqdgb] { padding-top: 0; align-self: start; min-height: 28px; }
.crew-review-entry:hover[b-q9zd3oqdgb], .crew-evidence-link:hover[b-q9zd3oqdgb] { text-decoration: underline; }
.crew-review-entry:disabled[b-q9zd3oqdgb], .crew-evidence-link:disabled[b-q9zd3oqdgb] { opacity: .6; cursor: default; }
.crew-review-entry:focus-visible[b-q9zd3oqdgb], .crew-evidence-link:focus-visible[b-q9zd3oqdgb], input:focus-visible[b-q9zd3oqdgb], textarea:focus-visible[b-q9zd3oqdgb] { outline: 2px solid var(--fo-focus); outline-offset: 3px; }
.crew-review-readonly[b-q9zd3oqdgb] { font-weight: 500; }
.crew-review-readonly.Approved[b-q9zd3oqdgb] { color: var(--fo-success-700); }
.crew-review-readonly.CorrectionsRequired[b-q9zd3oqdgb] { color: var(--fo-warning-700); }
.crew-review-readonly.non-completion[b-q9zd3oqdgb] { color: var(--fo-text-secondary); }
.crew-review-history[b-q9zd3oqdgb] { grid-column: 1 / -1; overflow-wrap: anywhere; }
.crew-review-dialog-content details[b-q9zd3oqdgb] { overflow-wrap: anywhere; }
.crew-review-history summary[b-q9zd3oqdgb], .crew-review-dialog-content summary[b-q9zd3oqdgb] { cursor: pointer; }
.crew-evidence-toolbar[b-q9zd3oqdgb] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .75rem; }
.crew-review-reason[b-q9zd3oqdgb], .crew-review-error[b-q9zd3oqdgb] { padding: var(--fo-space-3); border-radius: var(--fo-radius-sm); overflow-wrap: anywhere; white-space: pre-wrap; }
.crew-review-reason[b-q9zd3oqdgb] { background: var(--fo-warning-50); color: var(--fo-warning-700); }
.crew-review-error[b-q9zd3oqdgb] { background: var(--fo-danger-50); color: var(--fo-danger-700); }
.crew-review-dialog[b-q9zd3oqdgb] { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; background: var(--fo-surface); border: 1px solid var(--fo-border); border-radius: var(--fo-radius-lg); box-shadow: var(--fo-shadow-overlay); box-sizing: border-box; }
.crew-review-dialog[b-q9zd3oqdgb]::backdrop { background: rgb(15 23 42 / 45%); }
.crew-review-dialog-content[b-q9zd3oqdgb] { display: grid; gap: 12px; padding: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; box-sizing: border-box; color: var(--fo-text); }
.crew-review-dialog-content h2[b-q9zd3oqdgb] { margin: 5px 0 8px; font-size: 1.25rem; }
.crew-review-dialog-content p[b-q9zd3oqdgb] { margin: 0; overflow-wrap: anywhere; }
.crew-review-kicker[b-q9zd3oqdgb], .crew-review-dialog-content small[b-q9zd3oqdgb], .crew-review-metadata[b-q9zd3oqdgb] { color: var(--fo-text-muted); font-size: .75rem; }
.crew-review-summary[b-q9zd3oqdgb] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.crew-review-summary > div[b-q9zd3oqdgb] { display: grid; gap: 5px; padding: 12px; background: var(--fo-surface-subtle); border: 1px solid var(--fo-border); border-radius: var(--fo-radius-md); }
.crew-review-summary strong[b-q9zd3oqdgb] { font-size: 1.2rem; }
.crew-review-summary span[b-q9zd3oqdgb] { font-size: .75rem; overflow-wrap: anywhere; }
fieldset[b-q9zd3oqdgb] { display: grid; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--fo-border); border-radius: var(--fo-radius-md); }
legend[b-q9zd3oqdgb] { font-size: .8rem; padding: 0 5px; }
.crew-decision-choice[b-q9zd3oqdgb] { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: .85rem; cursor: pointer; }
input[type=radio][b-q9zd3oqdgb] { accent-color: var(--fo-primary-600); width: 18px; height: 18px; }
textarea[b-q9zd3oqdgb] { width: 100%; min-height: 100px; padding: 10px; box-sizing: border-box; resize: vertical; border: 1px solid var(--fo-border-strong); border-radius: var(--fo-radius-sm); font: inherit; }
footer[b-q9zd3oqdgb] { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--fo-border); }
@media (max-width: 420px) { .crew-review-dialog-content[b-q9zd3oqdgb] { padding: 16px; } .crew-review-summary > div[b-q9zd3oqdgb] { padding: 8px; } }
/* /Components/Assignments/CrewWorkRequirementsPanel.razor.rz.scp.css */
.crew-requirements-panel[b-iwcutc3x4t] {
    min-width: 0;
}

/* Phase 4.1.5 — concise crew editing, with finalized specialties shown
   as read-only labels rather than disabled checkboxes. */
.crew-requirements-count[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.crew-requirements-count small[b-iwcutc3x4t] {
    color: var(--fo-primary-700);
    font-size: .68rem;
    font-weight: 400;
}
.crew-requirements-finalized[b-iwcutc3x4t] {
    margin-left: auto;
    color: var(--fo-text-muted);
    font-size: .7rem;
    font-weight: 450;
}
.crew-category-tags[b-iwcutc3x4t] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fo-space-2);
    min-width: 0;
}
.crew-category-tag[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 11px;
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-primary-200);
    background: var(--fo-primary-50);
    color: var(--fo-primary-700);
    font-size: .78rem;
    font-weight: 480;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.crew-category-tag > span[b-iwcutc3x4t] {
    font-size: .8rem;
    color: var(--fo-primary-600);
}
.crew-category-empty[b-iwcutc3x4t] {
    font-size: .78rem;
    color: var(--fo-text-muted);
}
.crew-step-heading .crew-reload-inline[b-iwcutc3x4t] {
    margin-left: auto;
}
.crew-selection-review-status[b-iwcutc3x4t] {
    display: block;
    margin-top: 6px;
    color: var(--fo-text-secondary);
    font-size: var(--fo-font-caption);
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-requirements-card {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid light-dark(#dbe3ef, var(--fo-border));
    border-radius: 16px;
    background: var(--fo-surface);
    box-shadow: none;
}

.crew-requirements-heading[b-iwcutc3x4t],
.crew-selection-heading[b-iwcutc3x4t] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.crew-requirements-heading h2[b-iwcutc3x4t] {
    margin: 0 0 .4rem;
    color: var(--fo-text-strong);
    font-size: 1.05rem;
}

.crew-requirements-heading p[b-iwcutc3x4t],
.crew-selection-heading p[b-iwcutc3x4t] {
    margin: 0;
    color: light-dark(#61708a, var(--fo-text-secondary));
    font-size: .8rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.crew-requirements-count[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 3.25rem;
    padding: .6rem .8rem;
    border: 1px solid var(--fo-primary-100);
    border-radius: 999px;
    background: var(--fo-primary-50);
    color: var(--fo-link-strong-hover);
    font-size: .8rem;
    font-weight: 700;
}

.crew-step-heading[b-iwcutc3x4t] {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.crew-step-heading h3[b-iwcutc3x4t] {
    margin: 0;
    color: var(--fo-text-emphasis);
    font-size: .9rem;
}

.crew-step-number[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    background: light-dark(#eaf2ff, var(--fo-primary-50));
    color: var(--fo-link-strong);
    font-size: .8rem;
    font-weight: 700;
}

.crew-assignment-step[b-iwcutc3x4t] {
    margin-top: .25rem;
    padding-top: 1.25rem;
    border-top: 1px solid light-dark(#e8edf4, var(--fo-border));
}

.crew-category-grid[b-iwcutc3x4t] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: .75rem;
}

.crew-category-option[b-iwcutc3x4t] {
    position: relative;
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    min-height: 56px;
    padding: .85rem;
    border: 1px solid light-dark(#d8e1ee, var(--fo-border));
    border-radius: 10px;
    background: var(--fo-surface-subtle);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.crew-category-option:hover[b-iwcutc3x4t] {
    border-color: light-dark(#93b8ed, var(--fo-primary-200));
}

.crew-category-option.selected[b-iwcutc3x4t] {
    border-color: light-dark(#93b8ed, var(--fo-primary-200));
    background: var(--fo-primary-50);
}

.crew-category-option:has(input:disabled)[b-iwcutc3x4t] {
    cursor: default;
}

.crew-category-option:focus-within[b-iwcutc3x4t] {
    outline: 2px solid var(--fo-action-600);
    outline-offset: 3px;
}

.crew-category-option input[b-iwcutc3x4t] {
    position: absolute;
    opacity: 0;
}

.crew-category-check[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid light-dark(#aab7ca, var(--fo-primary-200));
    border-radius: 5px;
    background: var(--fo-surface);
    color: transparent;
    font-size: .75rem;
    font-weight: 700;
}

.crew-category-option.selected .crew-category-check[b-iwcutc3x4t] {
    border-color: var(--fo-action-600);
    background: var(--fo-action-600);
    color: var(--fo-on-accent);
}

.crew-category-copy[b-iwcutc3x4t] {
    min-width: 0;
    color: light-dark(#1b2639, var(--fo-text));
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.crew-category-lock[b-iwcutc3x4t] {
    display: block;
    margin-top: .15rem;
    color: light-dark(#66758d, var(--fo-text-secondary));
    font-size: .7rem;
    line-height: 1.4;
}

.crew-requirements-actions[b-iwcutc3x4t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.crew-requirements-actions > span[b-iwcutc3x4t] {
    flex: 1 1 220px;
    color: light-dark(#66758d, var(--fo-text-secondary));
    font-size: .75rem;
    line-height: 1.6;
}

.crew-requirements-readonly[b-iwcutc3x4t] {
    margin: 0;
    padding: .8rem 1rem;
    border-radius: 10px;
    background: light-dark(#f4f6f9, var(--fo-surface-subtle));
    color: light-dark(#66758d, var(--fo-text-secondary));
    font-size: .78rem;
    line-height: 1.6;
}

.crew-assignment-grid[b-iwcutc3x4t] {
    display: grid;
    gap: 1.1rem;
}

.crew-selection-card[b-iwcutc3x4t] {
    min-width: 0;
    border: 1px solid light-dark(#dbe3ef, var(--fo-border));
    border-radius: 14px;
    background: var(--fo-surface);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .025);
}

.crew-selection-card.replacing[b-iwcutc3x4t] {
    border-color: light-dark(#f0c68c, var(--fo-orange-200));
}

.crew-selection-heading[b-iwcutc3x4t] {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid light-dark(#e8edf4, var(--fo-border));
    border-radius: 14px 14px 0 0;
    background: light-dark(#f8faff, var(--fo-surface-subtle));
}

.crew-selection-heading > div[b-iwcutc3x4t] {
    min-width: 0;
}

.crew-selection-heading strong[b-iwcutc3x4t] {
    display: block;
    margin-bottom: .25rem;
    color: var(--fo-text-strong);
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.crew-status[b-iwcutc3x4t] {
    flex: 0 0 auto;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 650;
    line-height: 1.5;
}

.crew-status.pending[b-iwcutc3x4t] { background: light-dark(#eef2f6, var(--fo-surface-subtle)); color: var(--fo-text-secondary); }
.crew-status.in-progress[b-iwcutc3x4t] { background: light-dark(#e6f0ff, var(--fo-primary-50)); color: var(--fo-link-strong-hover); }
.crew-status.complete[b-iwcutc3x4t] { background: light-dark(#e6f7ed, var(--fo-surface-subtle)); color: var(--fo-status-success-text); }
.crew-status.corrections[b-iwcutc3x4t] { background: light-dark(#fff2dd, var(--fo-orange-50)); color: var(--fo-warning-700); }

.crew-selection-fields[b-iwcutc3x4t] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    align-items: start;
    gap: 1rem 1.25rem;
    padding: 1.2rem 1.15rem;
}

.crew-inline-selector[b-iwcutc3x4t] {
    display: grid;
    gap: .5rem;
    min-width: 0;
    color: var(--fo-text-emphasis);
    font-size: .8rem;
}

.crew-inline-selector > span[b-iwcutc3x4t] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-weight: 650;
}

.crew-inline-selector > span small[b-iwcutc3x4t] {
    color: var(--fo-text-muted);
    font-size: .7rem;
    font-weight: 400;
}

.crew-inline-selector select[b-iwcutc3x4t] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: .65rem .75rem;
    border: 1px solid light-dark(#d5dce6, var(--fo-border));
    border-radius: 9px;
    background: var(--fo-surface);
    color: var(--fo-text-strong);
    font: inherit;
}

.crew-inline-selector select:focus-visible[b-iwcutc3x4t] {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.crew-inline-selector select:disabled[b-iwcutc3x4t] {
    background: var(--fo-surface-muted);
    color: var(--fo-text-muted);
}

.crew-date-controls[b-iwcutc3x4t] {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .crew-date-picker {
    flex: 1 1 auto;
    height: 46px;
    min-width: 0;
    color: var(--fo-text);
    font-size: .86rem;
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .crew-date-picker::part(root) {
    height: 100%;
    border: 1px solid light-dark(#d5dce6, var(--fo-border));
    border-radius: 9px;
    background: var(--fo-surface);
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .crew-date-picker::after { display: none; }

.crew-scheduled-date-field[b-iwcutc3x4t]  .crew-date-picker:focus-within::part(root) {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .1);
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .crew-date-picker[disabled]::part(root) {
    background: var(--fo-surface-muted);
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .crew-date-picker > svg {
    fill: var(--fo-link-strong);
    cursor: pointer;
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .fluent-datepicker-popup {
    border-radius: 14px !important;
    border: 1px solid var(--fo-border-soft);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .fluent-calendar {
    --calendar-cell-size: 34px;
    --calendar-gap: 2px;
    font-family: inherit;
    font-size: .84rem;
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .fluent-calendar .title {
    color: var(--fo-text);
    font-weight: 700;
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .fluent-calendar .week-day {
    color: var(--fo-text-muted);
    font-size: .75rem;
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .fluent-calendar .day { border-radius: 9px; }

.crew-scheduled-date-field[b-iwcutc3x4t]  .fluent-calendar .day[selected] {
    color: var(--fo-on-accent);
    background: var(--fo-action-600);
    border-color: var(--fo-action-600);
}

.crew-scheduled-date-field[b-iwcutc3x4t]  .fluent-calendar .day:not([disabled]):not([selected]):hover {
    background: var(--fo-primary-50);
    color: var(--fo-link-strong-hover);
}

.crew-date-hint[b-iwcutc3x4t] {
    color: var(--fo-text-muted);
    font-size: .7rem;
    line-height: 1.5;
}

.crew-clear-date[b-iwcutc3x4t] {
    flex: 0 0 auto;
    width: 36px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--fo-border-soft);
    border-radius: 9px;
    background: var(--fo-surface-subtle);
    color: var(--fo-text-muted);
    font-size: 1.25rem;
    cursor: pointer;
}

.crew-clear-date:hover[b-iwcutc3x4t] { background: var(--fo-primary-50); color: var(--fo-link-strong-hover); }
.crew-clear-date:focus-visible[b-iwcutc3x4t] { outline: 2px solid var(--fo-action-600); outline-offset: 2px; }

.crew-selection-actions[b-iwcutc3x4t],
.crew-panel-footer[b-iwcutc3x4t] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 1.15rem;
    border-top: 1px solid light-dark(#e8edf4, var(--fo-border));
}

.crew-panel-footer[b-iwcutc3x4t] {
    justify-content: flex-start;
    padding: 1.15rem 0 0;
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-action-button {
    flex: 0 0 auto;
    max-width: 100%;
    min-height: 44px;
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-action-button {
    min-height: 44px;
    height: auto;
    padding: .65rem 1rem;
    border-radius: 9px;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 650;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
}

@media (forced-colors: none) {
.crew-requirements-panel[b-iwcutc3x4t]  .crew-primary-button {
    border-color: var(--fo-action-600);
    background: var(--fo-action-600);
    color: var(--fo-on-accent);
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-primary-button:not([disabled]):hover {
    border-color: var(--fo-action-700);
    background: var(--fo-action-700);
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-schedule-button {
    border-color: light-dark(#b7cffa, var(--fo-primary-200));
    background: var(--fo-primary-50);
    color: var(--fo-link-strong-hover);
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-schedule-button:not([disabled]):hover {
    background: var(--fo-primary-100);
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-replace-button {
    border-color: #b45309;
    background: #b45309;
    color: var(--fo-on-accent);
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-replace-button:not([disabled]):hover {
    border-color: #92400e;
    background: #92400e;
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-refresh-button {
    border-color: var(--fo-border-strong);
    background: var(--fo-surface);
    color: var(--fo-text-secondary);
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-refresh-button:not([disabled]):hover {
    background: var(--fo-surface-muted);
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-action-button[disabled] {
    border-color: var(--fo-border-soft);
    background: var(--fo-surface-muted);
    color: var(--fo-text-muted);
    cursor: not-allowed;
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-action-button:focus-visible {
    outline: 2px solid var(--fo-action-600);
    outline-offset: 3px;
}
}

.crew-replacement-warning[b-iwcutc3x4t] {
    display: grid;
    gap: .65rem;
    margin: 0 1.15rem 1.2rem;
    padding: 1rem;
    border: 1px solid light-dark(#f3d3a5, var(--fo-orange-200));
    border-radius: 10px;
    background: light-dark(#fff8ed, var(--fo-orange-50));
    color: var(--fo-warning-700);
    font-size: .78rem;
    line-height: 1.6;
}

.crew-replacement-warning p[b-iwcutc3x4t] { margin: 0; }

.crew-deletion-confirmation[b-iwcutc3x4t] {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    cursor: pointer;
}

.crew-deletion-confirmation input[b-iwcutc3x4t] {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin: .15rem 0 0;
    accent-color: #b45309;
}

.crew-selection-warning[b-iwcutc3x4t],
.crew-saved-date[b-iwcutc3x4t] {
    margin: 0;
    padding: .85rem 1.15rem;
    color: light-dark(#61708a, var(--fo-text-secondary));
    font-size: .8rem;
    line-height: 1.6;
}

.crew-selection-warning[b-iwcutc3x4t] {
    border-radius: 10px;
    background: light-dark(#fff8ed, var(--fo-orange-50));
    color: var(--fo-warning-700);
}

.crew-requirements-state[b-iwcutc3x4t],
.crew-requirements-message[b-iwcutc3x4t] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    font-size: .78rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.crew-requirements-state[b-iwcutc3x4t] { color: light-dark(#5d6e88, var(--fo-text-secondary)); background: light-dark(#f5f8fc, var(--fo-surface-subtle)); }
.crew-requirements-message.error[b-iwcutc3x4t] { color: light-dark(#9b1c1c, var(--fo-danger-700)); background: light-dark(#fff0f0, var(--fo-surface-subtle)); }
.crew-requirements-message.success[b-iwcutc3x4t] { color: light-dark(#12633a, var(--fo-success-700)); background: light-dark(#ebf9f1, var(--fo-surface-subtle)); }
.crew-row-error[b-iwcutc3x4t] { margin: 0 1.15rem 1rem; }

@media (max-width: 620px) {
    .crew-requirements-panel[b-iwcutc3x4t]  .crew-requirements-card { padding: 1rem; }
    .crew-selection-heading[b-iwcutc3x4t] { flex-wrap: wrap; }
    .crew-selection-heading[b-iwcutc3x4t],
    .crew-selection-fields[b-iwcutc3x4t],
    .crew-selection-actions[b-iwcutc3x4t] { padding: 1rem; }
    .crew-replacement-warning[b-iwcutc3x4t] { margin-right: 1rem; margin-left: 1rem; }
    .crew-requirements-panel[b-iwcutc3x4t]  .crew-action-button { width: 100%; }
}

/* Phase 4.1.5 responsive refinements */
.crew-step-heading[b-iwcutc3x4t] {
    min-width: 0;
    flex-wrap: wrap;
}
.crew-step-heading h3[b-iwcutc3x4t] {
    font-weight: 540;
}
.crew-step-number[b-iwcutc3x4t] {
    font-weight: 500;
}
.crew-requirements-panel[b-iwcutc3x4t]  .crew-reload-inline {
    min-height: 36px;
    padding: .4rem .65rem;
    font-size: .72rem;
}
@media (max-width: 620px) {
    .crew-step-heading .crew-reload-inline[b-iwcutc3x4t] { flex: 1 1 100%; margin-left: 0; }
}


/* Phase 4.1.6 — One crew card: identity, independent states, assignment,
   schedule and evidence. Uses the approved soft status palette. */
.crew-assignment-grid[b-iwcutc3x4t] {
    gap: var(--fo-space-4);
}

.crew-selection-card[b-iwcutc3x4t] {
    overflow: hidden;
    border-color: var(--fo-border);
    border-radius: var(--fo-radius-lg);
    background: var(--fo-surface);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .035);
}

.crew-selection-heading[b-iwcutc3x4t] {
    padding: 14px 17px;
    align-items: flex-start;
    gap: 12px;
    border-bottom-color: var(--fo-border);
    background: var(--fo-surface-subtle);
}

.crew-selection-identity[b-iwcutc3x4t] {
    flex: 1 1 auto;
    min-width: 0;
}

.crew-selection-heading .crew-selection-identity strong[b-iwcutc3x4t] {
    margin-bottom: 4px;
    color: var(--fo-text);
    font-size: .85rem;
    font-weight: 560;
    line-height: 1.35;
}

.crew-selection-heading .crew-selection-identity p[b-iwcutc3x4t] {
    font-size: .76rem;
    font-weight: 400;
    color: var(--fo-text-secondary);
    line-height: 1.45;
}

.crew-selection-heading > .crew-status[b-iwcutc3x4t] {
    white-space: normal;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.crew-selection-overview[b-iwcutc3x4t] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fo-space-2);
    padding: 12px 17px;
    background: var(--fo-surface);
    border-bottom: 1px solid var(--fo-border);
}

.crew-selection-overview-item[b-iwcutc3x4t] {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
    background: var(--fo-surface-subtle);
}

.crew-selection-overview-label[b-iwcutc3x4t] {
    color: var(--fo-text-muted);
    font-size: .68rem;
    font-weight: 400;
    line-height: 1.4;
}

.crew-selection-overview-value[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    align-self: start;
    width: fit-content;
    max-width: 100%;
    min-height: 25px;
    padding: 4px 8px;
    border-radius: var(--fo-radius-pill);
    background: light-dark(#eef2f6, var(--fo-surface-subtle));
    color: var(--fo-text-secondary);
    font-size: .73rem;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.crew-selection-overview-value.execution.in-progress[b-iwcutc3x4t] {
    background: var(--fo-status-active-surface);
    color: light-dark(#6d28d9, var(--fo-status-active-text));
}
.crew-selection-overview-value.execution.complete[b-iwcutc3x4t],
.crew-selection-overview-value.review.approved[b-iwcutc3x4t] {
    background: var(--fo-success-50);
    color: var(--fo-success-700);
}
.crew-selection-overview-value.execution.corrections[b-iwcutc3x4t],
.crew-selection-overview-value.review.corrections[b-iwcutc3x4t] {
    background: var(--fo-warning-50);
    color: var(--fo-warning-700);
}
.crew-selection-overview-value.review.awaiting[b-iwcutc3x4t] {
    background: var(--fo-primary-50);
    color: var(--fo-primary-700);
}
.crew-selection-overview-value.review.not-submitted[b-iwcutc3x4t] {
    color: var(--fo-text-secondary);
    background: var(--fo-surface-muted);
}

.crew-selection-manage[b-iwcutc3x4t] {
    min-width: 0;
    padding: 15px 17px;
    display: grid;
    gap: 12px;
    border-bottom: 1px solid var(--fo-border);
}

.crew-selection-manage-title[b-iwcutc3x4t] {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.crew-selection-manage-title > span[b-iwcutc3x4t] {
    color: var(--fo-text-secondary);
    font-size: .75rem;
    font-weight: 540;
}

.crew-selection-manage-title > small[b-iwcutc3x4t] {
    color: var(--fo-text-muted);
    font-size: .7rem;
    font-weight: 400;
    line-height: 1.4;
}

.crew-selection-manage .crew-selection-fields[b-iwcutc3x4t] {
    padding: 0;
    gap: 12px 16px;
}

.crew-inline-selector > span[b-iwcutc3x4t] {
    font-weight: 500;
    font-size: .76rem;
}

.crew-selection-actions[b-iwcutc3x4t] {
    padding: 12px 17px;
    border-top: 0;
    border-bottom: 1px solid var(--fo-border);
}

.crew-selection-schedule[b-iwcutc3x4t] {
    padding: 12px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--fo-border);
    color: var(--fo-text-secondary);
    font-size: .76rem;
}

.crew-selection-schedule-label[b-iwcutc3x4t] {
    color: var(--fo-text-muted);
    font-size: .7rem;
}

@media (max-width: 680px) {
    .crew-selection-heading[b-iwcutc3x4t],
    .crew-selection-overview[b-iwcutc3x4t],
    .crew-selection-manage[b-iwcutc3x4t],
    .crew-selection-schedule[b-iwcutc3x4t] {
        padding-left: 12px;
        padding-right: 12px;
    }
    .crew-selection-overview-item[b-iwcutc3x4t] {
        padding: 9px;
    }
}

@media (max-width: 420px) {
    .crew-selection-overview[b-iwcutc3x4t] {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Phase 4.1.7 — Approved compact crew card preview.
   Default view is read-only; edit controls appear on explicit request. */
.crew-selection-heading[b-iwcutc3x4t] {
    padding: 14px 17px 9px;
    border-bottom: 0;
}

.crew-selection-heading > .crew-status[b-iwcutc3x4t] {
    padding: 5px 10px;
    font-weight: 450;
    font-size: .68rem;
}

.crew-selection-overview[b-iwcutc3x4t] {
    padding: 11px 17px 13px;
    gap: 12px;
    border-bottom: 0;
    background: var(--fo-surface);
}

.crew-selection-overview-item[b-iwcutc3x4t] {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.crew-selection-overview-label[b-iwcutc3x4t] {
    font-size: .69rem;
    font-weight: 400;
    color: var(--fo-text-muted);
}

.crew-selection-overview-value[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    align-self: start;
    gap: 5px;
    padding: 0;
    min-height: 20px;
    border-radius: 0;
    background: transparent !important;
    color: var(--fo-text-secondary);
    font-size: .75rem;
    font-weight: 450;
    line-height: 1.45;
}

.crew-selection-overview-value svg[b-iwcutc3x4t] {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: var(--fo-text-muted);
}

.crew-selection-overview-value.execution.in-progress[b-iwcutc3x4t] { color: light-dark(#6d28d9, var(--fo-status-active-text)); }
.crew-selection-overview-value.execution.complete[b-iwcutc3x4t],
.crew-selection-overview-value.review.approved[b-iwcutc3x4t] { color: var(--fo-success-700); }
.crew-selection-overview-value.execution.corrections[b-iwcutc3x4t],
.crew-selection-overview-value.review.corrections[b-iwcutc3x4t] { color: var(--fo-warning-700); }
.crew-selection-overview-value.review.awaiting[b-iwcutc3x4t] { color: var(--fo-primary-700); }
.crew-selection-overview-value.review.not-submitted[b-iwcutc3x4t] { color: var(--fo-text-secondary); }

.crew-selection-overview-value.execution.in-progress svg[b-iwcutc3x4t] { color: light-dark(#7c3aed, var(--fo-status-active-text)); }
.crew-selection-overview-value.execution.complete svg[b-iwcutc3x4t],
.crew-selection-overview-value.review.approved svg[b-iwcutc3x4t] { color: var(--fo-success-700); }
.crew-selection-overview-value.execution.corrections svg[b-iwcutc3x4t],
.crew-selection-overview-value.review.corrections svg[b-iwcutc3x4t] { color: var(--fo-warning-700); }
.crew-selection-overview-value.review.awaiting svg[b-iwcutc3x4t] { color: var(--fo-primary-700); }

.crew-selection-schedule[b-iwcutc3x4t] {
    padding: 13px 0;
    margin: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    border-top: 1px solid var(--fo-border);
    border-bottom: 0;
    color: var(--fo-text-secondary);
}

.crew-selection-schedule-value[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fo-text-secondary);
    font-size: .76rem;
    line-height: 1.45;
}

.crew-selection-schedule-value svg[b-iwcutc3x4t] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--fo-text-muted);
}

.crew-schedule-link[b-iwcutc3x4t] {
    min-height: 32px;
    padding: 3px 1px;
    background: transparent;
    border: 0;
    border-radius: var(--fo-radius-sm);
    color: var(--fo-primary-700);
    font: inherit;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

.crew-schedule-link:hover:not(:disabled)[b-iwcutc3x4t] { text-decoration: underline; }
.crew-schedule-link:focus-visible[b-iwcutc3x4t] {
    outline: 2px solid var(--fo-focus);
    outline-offset: 2px;
}

.crew-schedule-link:disabled[b-iwcutc3x4t] {
    opacity: .5;
    cursor: not-allowed;
}

.crew-selection-editor[b-iwcutc3x4t] {
    min-width: 0;
    border-top: 1px solid var(--fo-border);
    background: var(--fo-surface-subtle);
}

.crew-selection-editor .crew-selection-manage[b-iwcutc3x4t] {
    padding: 13px 17px;
}

.crew-selection-editor .crew-selection-actions[b-iwcutc3x4t] {
    border-top: 1px solid var(--fo-border);
    background: var(--fo-surface);
}

@media (max-width: 680px) {
    .crew-selection-heading[b-iwcutc3x4t],
    .crew-selection-overview[b-iwcutc3x4t] {
        padding-left: 12px;
        padding-right: 12px;
    }
    .crew-selection-schedule[b-iwcutc3x4t] { margin: 0 12px; }
    .crew-selection-editor .crew-selection-manage[b-iwcutc3x4t] { padding: 12px; }
}

@media (max-width: 420px) {
    .crew-selection-overview[b-iwcutc3x4t] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .crew-selection-overview-value[b-iwcutc3x4t] { overflow-wrap: anywhere; }
    .crew-schedule-link[b-iwcutc3x4t] { min-height: 36px; }
}


/* Phase 4.1.12 — Match check, clear and refresh icon sizing to the page. */
.crew-category-check[b-iwcutc3x4t],
.crew-category-tag > span[b-iwcutc3x4t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.crew-category-check[b-iwcutc3x4t] { overflow: hidden; }

.crew-clear-date[b-iwcutc3x4t] {
    display: inline-grid;
    place-items: center;
    line-height: 0;
}

.crew-requirements-panel[b-iwcutc3x4t]  .crew-reload-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}
.crew-status.non-completion[b-iwcutc3x4t], .crew-selection-overview-value.execution.non-completion[b-iwcutc3x4t] {
    background: var(--fo-surface-subtle);
    color: var(--fo-text-secondary);
}
/* /Components/Assignments/DocumentationIcon.razor.rz.scp.css */
.documentation-icon[b-86myahtms8] {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
}

.documentation-icon svg[b-86myahtms8] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tone-photo[b-86myahtms8] {
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-100);
}

.tone-note[b-86myahtms8] {
    color: light-dark(#a16207, var(--fo-orange-800));
    background: var(--fo-warning-100);
}

.tone-material[b-86myahtms8] {
    color: light-dark(#047857, var(--fo-success-700));
    background: light-dark(#d1fae5, var(--fo-status-success-surface));
}

.tone-attachment[b-86myahtms8] {
    color: light-dark(#7c3aed, var(--fo-status-active-text));
    background: var(--fo-status-active-surface);
}

.tone-crew[b-86myahtms8] {
    color: light-dark(#0f766e, var(--fo-provider-dei-text));
    background: light-dark(#ccfbf1, var(--fo-provider-dei-surface));
}

.tone-surveyor[b-86myahtms8] {
    color: light-dark(#0369a1, var(--fo-link-strong));
    background: light-dark(#e0f2fe, var(--fo-primary-50));
}

.tone-folder[b-86myahtms8] {
    color: var(--fo-text-secondary);
    background: var(--fo-border-soft);
}
/* /Components/Assignments/ImportRowValues.razor.rz.scp.css */
.row-values[b-grr0xc1onv] { min-width:180px; } summary[b-grr0xc1onv] { cursor:pointer; color:light-dark(#315b3e, var(--fo-success-700)); line-height:1.6; } dl[b-grr0xc1onv] { display:grid; grid-template-columns:auto 1fr; column-gap:.75rem; row-gap:.4rem; margin:.7rem 0 0; font-size:.8rem; } dt[b-grr0xc1onv] { color:light-dark(#697a6e, var(--fo-text-secondary)); } dd[b-grr0xc1onv] { margin:0; overflow-wrap:anywhere; }
/* /Components/Assignments/ProviderMark.razor.rz.scp.css */
.provider-mark[b-zv9fi6grdv] {
    width: fit-content;
    min-height: 38px;
    padding: 3px 10px 3px 4px;
    display: inline-flex;
    align-items: center;
    gap: .52rem;
    color: var(--fo-text-emphasis);
    border: 1px solid color-mix(in srgb, var(--fo-border-strong) 88%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--fo-surface) 84%, transparent);
    box-shadow: 0 5px 14px rgba(15, 23, 42, .07);
    font-weight: 760;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

.provider-symbol[b-zv9fi6grdv] {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    color: var(--fo-on-accent);
    border: 1px solid var(--fo-border-soft);
    border-radius: 9px;
    background: var(--fo-surface);
}

.provider-symbol svg[b-zv9fi6grdv] {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.provider-symbol img[b-zv9fi6grdv] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    user-select: none;
}

.provider-vodafone[b-zv9fi6grdv] {
    border-color: light-dark(rgba(254, 205, 211, .95), var(--fo-provider-vodafone-border));
    background: light-dark(rgba(255, 247, 248, .9), var(--fo-provider-vodafone-surface));
}

.provider-vodafone .provider-symbol[b-zv9fi6grdv] {
    border-color: light-dark(#fecdd3, var(--fo-danger-200));
    box-shadow: 0 3px 9px rgba(230, 0, 20, .12);
}

.provider-vodafone .provider-symbol img[b-zv9fi6grdv] {
    transform: scale(1.22);
}

.provider-vodafone .provider-label[b-zv9fi6grdv] {
    color: light-dark(#9f1239, var(--fo-danger-700));
}

.provider-ote[b-zv9fi6grdv] {
    border-color: color-mix(in srgb, var(--fo-primary-200) 95%, transparent);
    background: color-mix(in srgb, var(--fo-surface-tint-blue) 92%, transparent);
}

.provider-ote .provider-symbol[b-zv9fi6grdv] {
    border-color: var(--fo-primary-200);
    box-shadow: 0 3px 9px rgba(22, 131, 199, .13);
}

.provider-ote .provider-symbol img[b-zv9fi6grdv] {
    transform: scale(1.04);
}

.provider-ote .provider-label[b-zv9fi6grdv] {
    color: light-dark(#075985, var(--fo-link-strong));
}

.provider-dei[b-zv9fi6grdv] {
    border-color: light-dark(rgba(125, 211, 252, .9), var(--fo-primary-200));
    background: color-mix(in srgb, var(--fo-surface-subtle) 96%, transparent);
}

.provider-dei .provider-symbol[b-zv9fi6grdv] {
    border-color: light-dark(#bae6fd, var(--fo-primary-200));
    background: var(--fo-surface);
    box-shadow: 0 3px 9px rgba(2, 132, 199, .14);
}

.provider-dei .provider-symbol img[b-zv9fi6grdv] {
    transform: scale(.94);
}

.provider-dei .provider-label[b-zv9fi6grdv] {
    color: light-dark(#082f49, var(--fo-text));
}

.provider-other .provider-symbol[b-zv9fi6grdv],
.provider-generic .provider-symbol[b-zv9fi6grdv] {
    background: linear-gradient(145deg, #64748b, #334155);
}

.provider-label[b-zv9fi6grdv] {
    padding-right: 1px;
    font-size: .74rem;
    font-weight: 790;
    letter-spacing: -.01em;
}

.provider-mark.icon-only[b-zv9fi6grdv] {
    min-height: 30px;
    padding: 2px;
    gap: 0;
    border-radius: 9px;
}

.size-small[b-zv9fi6grdv] {
    min-height: 32px;
    padding: 2px 7px 2px 3px;
    gap: .4rem;
    border-radius: 10px;
}

.size-small .provider-symbol[b-zv9fi6grdv] {
    width: 26px;
    height: 26px;
    border-radius: 8px;
}

.size-small .provider-symbol svg[b-zv9fi6grdv] {
    width: 15px;
    height: 15px;
}

.size-small .provider-label[b-zv9fi6grdv] {
    font-size: .67rem;
}

.size-small.icon-only[b-zv9fi6grdv] {
    width: 30px;
    min-height: 30px;
    padding: 2px;
}

.size-explorer[b-zv9fi6grdv] {
    width: 36px;
    min-height: 36px;
    padding: 2px;
    justify-content: center;
    gap: 0;
    border-radius: 10px;
}

.size-explorer .provider-symbol[b-zv9fi6grdv] {
    width: 30px;
    height: 30px;
}

@media (max-width: 520px) {
    .size-normal[b-zv9fi6grdv] {
        min-height: 36px;
        padding-right: 8px;
    }

    .size-normal .provider-symbol[b-zv9fi6grdv] {
        width: 28px;
        height: 28px;
    }

    .provider-label[b-zv9fi6grdv] {
        font-size: .7rem;
    }
}
/* /Components/Assignments/SurveyReviewPanel.razor.rz.scp.css */
.survey-review-card[b-0t0bmb8t7k] {
    display: block;
    padding: 22px;
    border: 1px solid var(--fo-border-soft);
    border-radius: 14px;
    background: var(--fo-surface);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.review-heading[b-0t0bmb8t7k] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.review-heading h2[b-0t0bmb8t7k],
.review-decision h3[b-0t0bmb8t7k] {
    margin: 4px 0 0;
}

.review-heading p[b-0t0bmb8t7k] {
    margin: 8px 0 0;
    color: var(--fo-text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.review-kicker[b-0t0bmb8t7k] {
    color: var(--fo-link-strong);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.review-status[b-0t0bmb8t7k] {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--fo-warning-100);
    color: var(--fo-warning-700);
}

.review-status.success[b-0t0bmb8t7k] {
    background: var(--fo-status-success-surface);
    color: var(--fo-status-success-text);
}

.review-status.non-completion[b-0t0bmb8t7k] {
    border-color: var(--fo-border);
    background: var(--fo-surface-subtle);
    color: var(--fo-text-secondary);
}

.review-metadata[b-0t0bmb8t7k] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fo-space-3);
    margin: var(--fo-space-3) 0;
    font-size: .82rem;
}

.review-metadata dt[b-0t0bmb8t7k] { color: var(--fo-text-muted); }
.review-metadata dd[b-0t0bmb8t7k] { margin: 0; font-weight: 700; }
.review-evidence[b-0t0bmb8t7k] { margin-block: var(--fo-space-3); overflow-wrap: anywhere; }
.review-evidence summary[b-0t0bmb8t7k] { cursor: pointer; }
.review-evidence a[b-0t0bmb8t7k] { color: var(--fo-link-strong); }
.review-status[b-0t0bmb8t7k] { max-width: 100%; white-space: normal; }

.review-status.danger[b-0t0bmb8t7k] {
    background: var(--fo-danger-100);
    color: var(--fo-danger-800);
}

.review-state[b-0t0bmb8t7k] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fo-text-muted);
}

.review-decision[b-0t0bmb8t7k] {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--fo-border-soft);
}

.review-decision > fluent-button[b-0t0bmb8t7k] {
    width: fit-content;
}

.correction-form[b-0t0bmb8t7k] {
    padding: 14px;
    border: 1px solid var(--fo-border-soft);
    border-radius: 12px;
    background: var(--fo-surface-subtle);
}

.correction-form[b-0t0bmb8t7k] {
    display: grid;
    gap: 8px;
}

.correction-form label[b-0t0bmb8t7k] {
    font-weight: 700;
}

.correction-form textarea[b-0t0bmb8t7k] {
    min-height: 105px;
    resize: vertical;
    padding: 12px;
    border: 1px solid var(--fo-border-strong);
    border-radius: 10px;
    font: inherit;
}

.correction-form small[b-0t0bmb8t7k] {
    color: var(--fo-text-muted);
}

.review-message[b-0t0bmb8t7k] {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    overflow-wrap: anywhere;
}

.review-message.error[b-0t0bmb8t7k] {
    background: var(--fo-danger-100);
    color: var(--fo-danger-800);
}

.review-message.success[b-0t0bmb8t7k] {
    background: var(--fo-status-success-surface);
    color: var(--fo-status-success-text);
}

.review-message.warning[b-0t0bmb8t7k] {
    background: var(--fo-warning-100);
    color: var(--fo-warning-700);
}

@media (max-width: 800px) {
    .review-heading[b-0t0bmb8t7k] {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Phase 4.1 — Preserve decision meanings while clarifying review hierarchy. */
.review-heading[b-0t0bmb8t7k] {
    flex-wrap: wrap;
    gap: var(--fo-space-3);
}

.review-heading > div[b-0t0bmb8t7k] {
    min-width: 0;
    flex: 1 1 260px;
}

.review-heading h2[b-0t0bmb8t7k] {
    color: var(--fo-text);
    font-size: var(--fo-font-title);
}

.review-heading p[b-0t0bmb8t7k] {
    color: var(--fo-text-muted);
    line-height: var(--fo-line-height);
}

.review-status[b-0t0bmb8t7k] {
    min-height: 30px;
    padding: 5px 11px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--fo-warning-200);
    border-radius: var(--fo-radius-pill);
    background: var(--fo-warning-50);
    color: var(--fo-warning-700);
    font-size: var(--fo-font-caption);
    line-height: 1.35;
    white-space: normal;
}

.review-status.success[b-0t0bmb8t7k] {
    border-color: var(--fo-success-200);
    background: var(--fo-success-50);
    color: var(--fo-success-700);
}

.review-status.danger[b-0t0bmb8t7k] {
    border-color: var(--fo-danger-200);
    background: var(--fo-danger-50);
    color: var(--fo-danger-700);
}

.review-decision[b-0t0bmb8t7k] {
    margin-top: var(--fo-space-4);
    padding-top: var(--fo-space-4);
    border-top-color: var(--fo-border);
}

.correction-form[b-0t0bmb8t7k] {
    border-color: var(--fo-warning-200);
    background: var(--fo-warning-50);
}

.correction-form textarea[b-0t0bmb8t7k] {
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
    color: var(--fo-text);
    background: var(--fo-surface);
    border-color: var(--fo-border-strong);
}

.correction-form textarea:focus-visible[b-0t0bmb8t7k] {
    outline: 2px solid var(--fo-focus);
    outline-offset: 2px;
}

.review-message[b-0t0bmb8t7k] {
    border: 1px solid transparent;
    line-height: var(--fo-line-height);
    overflow-wrap: anywhere;
}

.review-message.error[b-0t0bmb8t7k] { border-color: var(--fo-danger-200); }
.review-message.success[b-0t0bmb8t7k] { border-color: var(--fo-success-200); }
.review-message.warning[b-0t0bmb8t7k] { border-color: var(--fo-warning-200); }

@media (max-width: 620px) {
    .review-heading[b-0t0bmb8t7k] { align-items: flex-start; }
    .review-status[b-0t0bmb8t7k] { max-width: 100%; }
    .review-decision > fluent-button[b-0t0bmb8t7k] { max-width: 100%; }
}
/* /Components/Crews/CrewMembersDialog.razor.rz.scp.css */
.crew-members-backdrop[b-ocrgdpnppi],
.crew-transfer-backdrop[b-ocrgdpnppi] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(15 23 42 / 55%);
}

.crew-members-dialog[b-ocrgdpnppi] {
    width: min(68rem, 100%);
    max-height: calc(100vh - 2rem);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--fo-surface);
    box-shadow: 0 1.5rem 5rem rgb(15 23 42 / 28%);
}

.crew-members-dialog > header[b-ocrgdpnppi],
.crew-members-dialog > footer[b-ocrgdpnppi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--fo-border-soft);
}

.crew-members-dialog > footer[b-ocrgdpnppi] {
    justify-content: flex-end;
    border-top: 1px solid var(--fo-border-soft);
    border-bottom: 0;
}

.crew-members-dialog > header div[b-ocrgdpnppi] {
    min-width: 0;
}

.crew-members-dialog > header span[b-ocrgdpnppi],
.crew-members-section-heading span[b-ocrgdpnppi] {
    color: var(--fo-link-strong);
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.crew-members-dialog > header h2[b-ocrgdpnppi],
.crew-members-section-heading h3[b-ocrgdpnppi],
.crew-transfer-dialog h2[b-ocrgdpnppi] {
    margin: .25rem 0 0;
    color: var(--fo-text);
}

.crew-members-dialog > header p[b-ocrgdpnppi] {
    margin: .3rem 0 0;
    color: var(--fo-text-muted);
    font-size: .78rem;
}

.crew-members-dialog > header button[b-ocrgdpnppi] {
    border: 0;
    background: transparent;
    color: var(--fo-text-muted);
    cursor: pointer;
    font-size: 1.5rem;
}

.crew-members-state[b-ocrgdpnppi] {
    min-height: 22rem;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .75rem;
    color: var(--fo-text-muted);
}

.crew-members-state.error strong[b-ocrgdpnppi] {
    color: var(--fo-danger-800);
}

.crew-members-message[b-ocrgdpnppi] {
    margin: 1rem 1.25rem 0;
    padding: .8rem 1rem;
    border-radius: .7rem;
    font-size: .78rem;
    font-weight: 650;
}

.crew-members-message.success[b-ocrgdpnppi] {
    color: var(--fo-status-success-text);
    background: var(--fo-success-50);
    border: 1px solid var(--fo-success-200);
}

.crew-members-message.error[b-ocrgdpnppi] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-50);
    border: 1px solid var(--fo-danger-200);
}

.crew-members-content[b-ocrgdpnppi] {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    overflow: auto;
}

.crew-members-section[b-ocrgdpnppi] {
    min-width: 0;
    padding: 1.25rem;
}

.crew-members-section + .crew-members-section[b-ocrgdpnppi] {
    border-left: 1px solid var(--fo-border-soft);
}

.crew-members-section-heading[b-ocrgdpnppi] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.crew-members-section-heading h3[b-ocrgdpnppi] {
    font-size: 1rem;
}

.crew-members-section-heading > strong[b-ocrgdpnppi] {
    min-width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-100);
    border-radius: 999px;
}

.crew-member-search[b-ocrgdpnppi] {
    width: 100%;
    min-height: 42px;
    margin-bottom: .85rem;
    padding: 0 .8rem;
    border: 1px solid var(--fo-border-strong);
    border-radius: .65rem;
}

.crew-member-list[b-ocrgdpnppi],
.crew-candidate-list[b-ocrgdpnppi] {
    display: grid;
    gap: .7rem;
}

.crew-member-row[b-ocrgdpnppi],
.crew-candidate-row[b-ocrgdpnppi] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .8rem;
    padding: .85rem;
    border: 1px solid var(--fo-border-soft);
    border-radius: .8rem;
    background: var(--fo-surface);
}

.crew-candidate-row[b-ocrgdpnppi] {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.crew-member-avatar[b-ocrgdpnppi] {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-100);
    border-radius: .7rem;
    font-size: .72rem;
    font-weight: 800;
}

.crew-member-copy[b-ocrgdpnppi] {
    min-width: 0;
    display: grid;
    gap: .18rem;
}

.crew-member-copy strong[b-ocrgdpnppi] {
    color: var(--fo-text);
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.crew-member-copy small[b-ocrgdpnppi] {
    color: var(--fo-text-muted);
    font-size: .7rem;
    overflow-wrap: anywhere;
}

.crew-member-copy .crew-transfer-warning[b-ocrgdpnppi] {
    color: var(--fo-orange-800);
    font-weight: 650;
}

.crew-member-status[b-ocrgdpnppi] {
    padding: .3rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 750;
}

.crew-member-status.active[b-ocrgdpnppi] {
    color: var(--fo-status-success-text);
    background: var(--fo-status-success-surface);
}

.crew-member-status.inactive[b-ocrgdpnppi] {
    color: var(--fo-text-secondary);
    background: var(--fo-border-soft);
}

.crew-member-remove[b-ocrgdpnppi] {
    border: 0;
    background: transparent;
    color: var(--fo-danger-700);
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
}

.crew-member-remove:disabled[b-ocrgdpnppi] {
    opacity: .5;
    cursor: not-allowed;
}

.crew-members-empty[b-ocrgdpnppi],
.crew-members-info[b-ocrgdpnppi] {
    padding: 1rem;
    color: var(--fo-text-muted);
    background: var(--fo-surface-subtle);
    border: 1px dashed var(--fo-border-strong);
    border-radius: .8rem;
    text-align: center;
    font-size: .76rem;
    line-height: 1.5;
}

.crew-members-info[b-ocrgdpnppi] {
    color: var(--fo-status-pending-text);
    background: light-dark(#fefce8, var(--fo-warning-50));
    border-style: solid;
    border-color: var(--fo-warning-200);
}

.crew-transfer-backdrop[b-ocrgdpnppi] {
    z-index: 1200;
}

.crew-transfer-dialog[b-ocrgdpnppi] {
    width: min(32rem, 100%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--fo-surface);
    box-shadow: 0 1.5rem 5rem rgb(15 23 42 / 30%);
}

.crew-transfer-icon[b-ocrgdpnppi] {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    color: var(--fo-orange-800);
    background: var(--fo-orange-100);
    border-radius: 999px;
    font-weight: 800;
}

.crew-transfer-dialog p[b-ocrgdpnppi] {
    margin: .6rem 0 0;
    color: var(--fo-text-secondary);
    font-size: .78rem;
    line-height: 1.65;
}

.crew-transfer-dialog footer[b-ocrgdpnppi] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: .7rem;
    padding-top: .25rem;
}

@media (max-width: 800px) {
    .crew-members-content[b-ocrgdpnppi] {
        grid-template-columns: 1fr;
    }

    .crew-members-section + .crew-members-section[b-ocrgdpnppi] {
        border-top: 1px solid var(--fo-border-soft);
        border-left: 0;
    }
}

@media (max-width: 560px) {
    .crew-member-row[b-ocrgdpnppi],
    .crew-candidate-row[b-ocrgdpnppi] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .crew-member-status[b-ocrgdpnppi],
    .crew-member-remove[b-ocrgdpnppi],
    .crew-candidate-row fluent-button[b-ocrgdpnppi] {
        grid-column: 2;
        justify-self: start;
    }

    .crew-transfer-dialog footer[b-ocrgdpnppi] {
        flex-direction: column-reverse;
    }
}
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-shell[b-q53ca2f0ih] {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 100vh;
    min-height: 100svh;

    padding: clamp(16px, 4vw, 40px);

    display: grid;
    place-items: center;

    box-sizing: border-box;

    background:
    radial-gradient(
        ellipse 75% 55% at 8% -5%,
        color-mix(in srgb, var(--fo-royal) 12%, transparent),
        transparent 58%
    ),
    radial-gradient(
        ellipse 60% 50% at 100% 100%,
        color-mix(in srgb, var(--fo-cyan) 10%, transparent),
        transparent 58%
    ),
    linear-gradient(
        135deg,
        var(--fo-primary-50) 0%,
        var(--fieldops-canvas) 48%,
        var(--fo-primary-50) 100%
    );
}


/* Independent ambient lights; decorative layers stay behind the card. */
.login-shell[b-q53ca2f0ih]::before,
.login-shell[b-q53ca2f0ih]::after {
    content: "";

    position: absolute;
    inset: -18%;

    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
}

.login-shell[b-q53ca2f0ih]::before {
    background: radial-gradient(
        ellipse at 26% 34%,
        color-mix(in srgb, var(--fo-royal) 24%, transparent),
        transparent 50%
    );
    animation: login-glow-primary-b-q53ca2f0ih 18s ease-in-out infinite alternate;
}

.login-shell[b-q53ca2f0ih]::after {
    background: radial-gradient(
        ellipse at 74% 68%,
        color-mix(in srgb, var(--fo-cyan) 22%, transparent),
        transparent 48%
    );
    animation: login-glow-secondary-b-q53ca2f0ih 26s ease-in-out infinite alternate;
}


@keyframes login-glow-primary-b-q53ca2f0ih {
    from {
        opacity: 0.7;
        transform: translate3d(-8%, -5%, 0) scale(1.02);
    }

    to {
        opacity: 1;

        transform: translate3d(8%, 6%, 0) scale(1.06);
    }
}

@keyframes login-glow-secondary-b-q53ca2f0ih {
    from {
        opacity: 1;
        transform: translate3d(9%, -7%, 0) scale(1.06);
    }
    to {
        opacity: 0.7;
        transform: translate3d(-9%, 7%, 0) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-shell[b-q53ca2f0ih]::before,
    .login-shell[b-q53ca2f0ih]::after {
        animation: none;
        transform: none;
    }
}

/* Discreet theme menu; it stays outside the card so the login layout is unchanged. */
.login-shell[b-q53ca2f0ih]  .login-theme {
    position: absolute;
    top: clamp(12px, 3vw, 24px);
    right: clamp(12px, 3vw, 24px);
    z-index: 1;
}

/* Dark ambient lighting: same layers and motion, softer glow on the dark canvas. */
:root[data-theme="dark"] .login-shell[b-q53ca2f0ih]::before,
:root[data-theme="dark"] .login-shell[b-q53ca2f0ih]::after {
    filter: saturate(1.15);
    mix-blend-mode: screen;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-cn4h2qiw9g] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    background: var(--fo-canvas);
}

.sidebar[b-cn4h2qiw9g] {
    position: sticky;
    top: 0;
    height: 100vh;
    color: var(--fo-border);
    background:
        radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--fo-cyan) 13%, transparent), transparent 32%),
        var(--fo-navy);
    border-right: 1px solid rgba(148, 163, 184, 0.14);
}

.workspace[b-cn4h2qiw9g] {
    min-width: 0;
}

.app-header[b-cn4h2qiw9g] {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 72px;
    padding: var(--fo-space-2) var(--fo-space-6);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fo-space-5);
    background: var(--fo-surface);
    border-bottom: 1px solid var(--fo-border);
}

.context-label[b-cn4h2qiw9g],
.context-title[b-cn4h2qiw9g] {
    display: block;
}

.context-label[b-cn4h2qiw9g] {
    margin-bottom: 2px;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.context-title[b-cn4h2qiw9g] {
    color: var(--fo-text);
    font-size: 1rem;
    font-weight: 650;
}

.user-chip[b-cn4h2qiw9g] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-actions[b-cn4h2qiw9g] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.logout-button[b-cn4h2qiw9g] {
    min-height: var(--fo-control-height);
    padding: 0 11px;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border-strong);
    border-radius: var(--fo-radius-sm);
    transition: color var(--fo-transition), border-color var(--fo-transition), background var(--fo-transition);
    font-size: var(--fo-font-caption);
    font-weight: 700;
    cursor: pointer;
}

.logout-button:hover[b-cn4h2qiw9g] {
    color: var(--fo-primary-700);
    border-color: var(--fo-primary-200);
}

.avatar[b-cn4h2qiw9g] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    color: var(--fo-on-accent);
    background: var(--fo-brand-gradient);
    border-radius: var(--fo-radius-md);
    font-size: var(--fo-font-caption);
    font-weight: 750;
    box-shadow: 0 6px 18px var(--fo-focus-halo);
}

.user-copy[b-cn4h2qiw9g] {
    min-width: 0;
    max-width: 240px;
    overflow-wrap: anywhere;
    display: grid;
    line-height: 1.2;
}

.user-copy strong[b-cn4h2qiw9g] {
    color: var(--fo-text);
    font-size: var(--fo-font-small);
}

.user-copy small[b-cn4h2qiw9g] {
    margin-top: var(--fo-space-1);
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
}

.content[b-cn4h2qiw9g] {
    box-sizing: border-box;
    width: 100%;
    max-width: 1480px;
    margin-inline: auto;
    padding: var(--fo-space-6) var(--fo-space-6) 48px;
}

#blazor-error-ui[b-cn4h2qiw9g] {
    display: none;
    position: fixed;
    z-index: 1000;
    right: 24px;
    bottom: 24px;
    max-width: 520px;
    padding: 14px 44px 14px 18px;
    color: #7f1d1d;
    background: var(--fo-danger-50);
    border: 1px solid var(--fo-danger-200);
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

#blazor-error-ui .reload[b-cn4h2qiw9g] {
    margin-left: 8px;
    color: var(--fo-danger-700);
    font-weight: 650;
}

#blazor-error-ui .dismiss[b-cn4h2qiw9g] {
    position: absolute;
    top: 11px;
    right: 14px;
    cursor: pointer;
    font-size: 1.15rem;
}

@media (max-width: 900px) {
    .app-shell[b-cn4h2qiw9g] {
        display: block;
    }

    .sidebar[b-cn4h2qiw9g] {
        position: sticky;
        z-index: 20;
        width: 100%;
        height: auto;
    }

    .app-header[b-cn4h2qiw9g] {
        position: relative;
        z-index: 30;
        flex-wrap: wrap;
        min-height: 64px;
        padding: var(--fo-space-3) var(--fo-space-4);
    }

    .content[b-cn4h2qiw9g] {
        padding: 24px 18px 40px;
    }
}

@media (max-width: 560px) {
    .app-header[b-cn4h2qiw9g] { gap: var(--fo-space-3); }
    .user-actions[b-cn4h2qiw9g] { gap: 10px; margin-left: auto; }
    .context-title[b-cn4h2qiw9g] { font-size: var(--fo-font-small); }
    .user-copy[b-cn4h2qiw9g] {
        max-width: min(11rem, 45vw);
    }

    .logout-button[b-cn4h2qiw9g] {
        padding: 0 8px;
    }
}

@media (max-width: 390px) {
    .user-actions[b-cn4h2qiw9g] { width: 100%; justify-content: flex-end; gap: var(--fo-space-2); }
    .user-chip[b-cn4h2qiw9g] { flex: 1; }
    .user-copy[b-cn4h2qiw9g] { max-width: none; }
}

:root[data-theme="dark"] #blazor-error-ui[b-cn4h2qiw9g] {
    color: var(--fo-danger-700);
    box-shadow: var(--fo-shadow-overlay);
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-row[b-giqpws496e] {
    min-height: 72px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.brand[b-giqpws496e] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.brand-mark[b-giqpws496e] {
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    display: block;
    object-fit: contain;
    flex: 0 0 44px;
    border: none;
    border-radius: 11px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.brand strong[b-giqpws496e],
.brand small[b-giqpws496e] {
    display: block;
}

.brand strong[b-giqpws496e] {
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

.brand small[b-giqpws496e] {
    margin-top: 2px;
    color: var(--fo-on-brand-muted);
    font-size: var(--fo-font-caption);
}

.nav-toggle-input[b-giqpws496e],
.nav-toggle[b-giqpws496e] {
    display: none;
}

.nav-scrollable[b-giqpws496e] {
    height: calc(100dvh - 72px);
    box-sizing: border-box;
    padding: 24px 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.nav-list[b-giqpws496e] {
    display: grid;
    gap: 6px;
}

.nav-section[b-giqpws496e] {
    padding: 0 12px 10px;
    color: var(--fo-on-brand-subtle);
    font-size: var(--fo-font-caption);
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-list[b-giqpws496e]  .nav-link {
    min-height: 44px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fo-on-brand);
    border: 1px solid transparent;
    border-radius: 9px;
    text-decoration: none;
    font-size: var(--fo-font-small);
    font-weight: 570;
    transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}

.nav-list[b-giqpws496e]  .nav-link svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-list[b-giqpws496e]  .nav-link:first-of-type svg {
    fill: currentColor;
    stroke: none;
}

.nav-list[b-giqpws496e]  .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-list[b-giqpws496e]  .nav-link.active {
    color: #ffffff;
    background: rgba(23, 104, 221, 0.36);
    border-color: rgba(103, 232, 249, 0.32);
    box-shadow: inset 3px 0 var(--fo-aqua);
}

.sidebar-footer[b-giqpws496e] {
    padding: 14px 12px 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fo-on-brand);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    font-size: var(--fo-font-caption);
}

.sidebar-footer span:last-child[b-giqpws496e],
.sidebar-footer small[b-giqpws496e] {
    display: block;
}

.sidebar-footer small[b-giqpws496e] {
    margin-bottom: 2px;
    color: var(--fo-on-brand-subtle);
    font-size: var(--fo-font-caption);
}

.environment-dot[b-giqpws496e] {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

@media (max-width: 900px) {
    /* Keep the existing checkbox toggle accessible to keyboard users. */
    .nav-toggle-input[b-giqpws496e] {
        display: block;
        position: absolute;
        top: 10px;
        right: 18px;
        width: 44px;
        height: 44px;
        margin: 0;
        opacity: 0;
        cursor: pointer;
    }

    .brand-row:has(+ .nav-toggle-input:focus-visible) .nav-toggle[b-giqpws496e] {
        outline: 2px solid var(--fo-aqua);
        outline-offset: 3px;
    }

    .brand-row[b-giqpws496e] {
        min-height: 64px;
        padding: 0 18px;
    }

    .nav-toggle[b-giqpws496e] {
        width: 44px;
        height: 44px;
        display: grid;
        align-content: center;
        gap: 4px;
        padding: 11px;
        box-sizing: border-box;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 8px;
        cursor: pointer;
    }

    .nav-toggle span[b-giqpws496e] {
        height: 2px;
        display: block;
        background: var(--fo-on-brand);
        border-radius: 999px;
    }

    .nav-scrollable[b-giqpws496e] {
        display: none;
        height: auto;
        max-height: calc(100dvh - 64px);
        padding: 14px;
    }

    .nav-toggle-input:checked + .nav-scrollable[b-giqpws496e] {
        display: flex;
    }

    .sidebar-footer[b-giqpws496e] {
        margin-top: 18px;
    }
}
/* /Components/Layout/NotificationCenter.razor.rz.scp.css */
.notification-center[b-7ju3ax9xqf] {
    position: relative;
}

.notification-bell[b-7ju3ax9xqf] {
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border);
    border-radius: 11px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.notification-bell:hover[b-7ju3ax9xqf],
.notification-bell.open[b-7ju3ax9xqf] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
}

.notification-bell svg[b-7ju3ax9xqf] {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notification-badge[b-7ju3ax9xqf] {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    min-height: 21px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    color: var(--fo-on-accent);
    background: var(--fo-danger-600);
    border: 2px solid var(--fo-surface);
    border-radius: var(--fo-radius-pill);
    font-size: var(--fo-font-caption);
    font-weight: 800;
    line-height: 1;
}

.notification-panel[b-7ju3ax9xqf] {
    position: absolute;
    top: calc(100% + var(--fo-space-2));
    right: 0;
    z-index: 80;
    width: min(410px, calc(100vw - 32px));
    box-sizing: border-box;
    overflow-x: hidden;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-lg);
    box-shadow: var(--fo-shadow-overlay);
    max-height: min(36rem, calc(100dvh - 96px));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.notification-panel-header[b-7ju3ax9xqf] {
    min-height: 68px;
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf1f6;
}

.notification-panel-header > div[b-7ju3ax9xqf] {
    min-width: 0;
    flex: 1 1 160px;
    display: grid;
    gap: 3px;
}

.notification-panel-header strong[b-7ju3ax9xqf] {
    color: var(--fo-text);
    font-size: .94rem;
}

.notification-panel-header span[b-7ju3ax9xqf] {
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
}

.mark-all-button[b-7ju3ax9xqf] {
    min-height: 44px;
    padding: 6px 8px;
    color: var(--fo-link);
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: var(--fo-font-caption);
    font-weight: 750;
    cursor: pointer;
}

.mark-all-button:hover:not(:disabled)[b-7ju3ax9xqf] {
    background: var(--fo-primary-50);
}

.mark-all-button:disabled[b-7ju3ax9xqf] {
    opacity: .55;
    cursor: default;
}

.notification-list[b-7ju3ax9xqf] {
    min-width: 0;
}

.notification-item[b-7ju3ax9xqf] {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    text-align: left;
    background: var(--fo-surface);
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.notification-item:hover[b-7ju3ax9xqf] {
    background: var(--fo-surface-subtle);
}

.notification-item.unread[b-7ju3ax9xqf] {
    background: #f7fbff;
}

.notification-item.unread:hover[b-7ju3ax9xqf] {
    background: var(--fo-primary-50);
}

.notification-type-icon[b-7ju3ax9xqf] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: var(--fo-font-caption);
    font-weight: 800;
}

.notification-type-icon.survey[b-7ju3ax9xqf] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-100);
}

.notification-type-icon.crew[b-7ju3ax9xqf] {
    color: #047857;
    background: #d1fae5;
}

.notification-type-icon.generic[b-7ju3ax9xqf] {
    color: var(--fo-text-secondary);
    background: var(--fo-border);
}

.notification-copy[b-7ju3ax9xqf] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.notification-title-row[b-7ju3ax9xqf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notification-title-row strong[b-7ju3ax9xqf] {
    color: var(--fo-text);
    font-size: var(--fo-font-small);
    overflow-wrap: anywhere;
}

.notification-title-row i[b-7ju3ax9xqf] {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    background: var(--fo-primary-600);
    border-radius: 50%;
}

.notification-reference[b-7ju3ax9xqf] {
    overflow: hidden;
    color: var(--fo-text-secondary);
    font-size: var(--fo-font-caption);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-message[b-7ju3ax9xqf] {
    overflow-wrap: anywhere;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
    line-height: 1.42;
}

.notification-copy time[b-7ju3ax9xqf] {
    margin-top: 2px;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
}

.notification-state[b-7ju3ax9xqf] {
    min-height: 160px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--fo-text-muted);
    text-align: center;
    font-size: var(--fo-font-caption);
}

.notification-state strong[b-7ju3ax9xqf] {
    color: var(--fo-text-secondary);
}

.notification-state button[b-7ju3ax9xqf] {
    min-height: var(--fo-control-height);
    margin-top: 4px;
    padding: 6px 10px;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
}

.notification-state.error strong[b-7ju3ax9xqf] {
    color: var(--fo-danger-700);
}

.empty-bell[b-7ju3ax9xqf] {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #047857;
    background: #d1fae5;
    border-radius: 50%;
    font-weight: 900;
}

@media (max-width: 900px) {
    /* MainLayout's positioned header is the containing block, so the panel
       follows its actual height when user information wraps. */
    .notification-center[b-7ju3ax9xqf] { position: static; }
    .notification-panel[b-7ju3ax9xqf] {
        right: var(--fo-space-4);
        max-height: min(50dvh, calc(100dvh - 208px));
    }
}

@media (max-width: 560px) {
    .notification-panel[b-7ju3ax9xqf] {
        left: var(--fo-space-4);
        width: auto;
    }
}


.realtime-toast[b-7ju3ax9xqf] {
    position: fixed;
    z-index: 1400;
    top: 88px;
    right: 24px;
    width: min(430px, calc(100vw - 32px));
    padding: 14px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto 44px;
    align-items: center;
    gap: 11px;
    color: #172033;
    background: rgba(255, 255, 255, .97);
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .2);
    backdrop-filter: blur(14px);
    animation: notification-toast-enter-b-7ju3ax9xqf .2s ease-out;
    box-sizing: border-box;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.realtime-toast.final[b-7ju3ax9xqf] {
    border-color: #86efac;
}

.realtime-toast-icon[b-7ju3ax9xqf] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #5b21b6;
    background: #ede9fe;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 850;
}

.realtime-toast.final .realtime-toast-icon[b-7ju3ax9xqf] {
    color: #166534;
    background: #dcfce7;
}

.realtime-toast-copy[b-7ju3ax9xqf] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.realtime-toast-copy strong[b-7ju3ax9xqf] {
    color: var(--fo-text);
    font-size: var(--fo-font-caption);
}

.realtime-toast-copy span[b-7ju3ax9xqf] {
    overflow: hidden;
    color: var(--fo-link);
    font-size: var(--fo-font-caption);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.realtime-toast-copy p[b-7ju3ax9xqf] {
    margin: 2px 0 0;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
    line-height: 1.4;
}

.realtime-toast-open[b-7ju3ax9xqf],
.realtime-toast-close[b-7ju3ax9xqf] {
    font-family: inherit;
    cursor: pointer;
}

.realtime-toast-open[b-7ju3ax9xqf] {
    min-height: 44px;
    padding: 0 9px;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 8px;
    font-size: var(--fo-font-caption);
    font-weight: 750;
}

.realtime-toast-close[b-7ju3ax9xqf] {
    width: 44px;
    height: 44px;
    color: var(--fo-text-muted);
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: 1rem;
}

.realtime-toast-close:hover[b-7ju3ax9xqf] {
    color: var(--fo-text);
    background: #f1f5f9;
}

@keyframes notification-toast-enter-b-7ju3ax9xqf {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 620px) {
    .realtime-toast[b-7ju3ax9xqf] {
        top: 74px;
        right: 16px;
        left: 16px;
        width: auto;
        grid-template-columns: 36px minmax(0, 1fr) 44px;
    }

    .realtime-toast-open[b-7ju3ax9xqf] {
        grid-column: 2;
        width: fit-content;
    }

    .realtime-toast-close[b-7ju3ax9xqf] {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-height: 480px) {
    .realtime-toast[b-7ju3ax9xqf] { top: 12px; max-height: calc(100dvh - 24px); }
}

/* Dark theme: literal Light colours above get token-based equivalents. */
:root[data-theme="dark"] .notification-panel[b-7ju3ax9xqf] { background: var(--fo-surface-elevated); }
:root[data-theme="dark"] .notification-panel-header[b-7ju3ax9xqf] { border-bottom-color: var(--fo-border); }
:root[data-theme="dark"] .notification-item[b-7ju3ax9xqf] { background: var(--fo-surface-elevated); border-bottom-color: var(--fo-border); }
:root[data-theme="dark"] .notification-item:hover[b-7ju3ax9xqf] { background: var(--fo-surface-hover); }
:root[data-theme="dark"] .notification-item.unread[b-7ju3ax9xqf] { background: var(--fo-selected); }
:root[data-theme="dark"] .notification-item.unread:hover[b-7ju3ax9xqf] { background: var(--fo-primary-100); }
:root[data-theme="dark"] :is(.notification-type-icon.crew, .empty-bell)[b-7ju3ax9xqf] { color: var(--fo-success-700); background: var(--fo-success-50); }

:root[data-theme="dark"] .realtime-toast[b-7ju3ax9xqf] {
    color: var(--fo-text);
    background: color-mix(in srgb, var(--fo-surface-elevated) 97%, transparent);
    border-color: var(--fo-primary-200);
    box-shadow: var(--fo-shadow-overlay);
}

:root[data-theme="dark"] .realtime-toast.final[b-7ju3ax9xqf] { border-color: var(--fo-success-200); }
:root[data-theme="dark"] .realtime-toast-icon[b-7ju3ax9xqf] { color: var(--fo-status-active-text); background: var(--fo-status-active-surface); }
:root[data-theme="dark"] .realtime-toast.final .realtime-toast-icon[b-7ju3ax9xqf] { color: var(--fo-success-700); background: var(--fo-success-50); }
:root[data-theme="dark"] .realtime-toast-close:hover[b-7ju3ax9xqf] { background: var(--fo-surface-hover); }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-phtf4wewjy],
.components-reconnect-repeated-attempt-visible[b-phtf4wewjy],
.components-reconnect-failed-visible[b-phtf4wewjy],
.components-pause-visible[b-phtf4wewjy],
.components-resume-failed-visible[b-phtf4wewjy],
.components-rejoining-animation[b-phtf4wewjy] {
    display: none;
}

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


#components-reconnect-modal[b-phtf4wewjy] {
    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-phtf4wewjy 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-phtf4wewjy {
    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;
    }
}

/* Dark theme (FR-06.1): the dialog follows the FieldOps surfaces. */
:root[data-theme="dark"] #components-reconnect-modal[b-phtf4wewjy] {
    color: var(--fo-text);
    background-color: var(--fo-surface-elevated);
    box-shadow: var(--fo-shadow-overlay);
}

:root[data-theme="dark"] #components-reconnect-modal[b-phtf4wewjy]::backdrop { background-color: var(--fo-backdrop); }
:root[data-theme="dark"] #components-reconnect-modal button[b-phtf4wewjy] { color: var(--fo-on-accent); background-color: var(--fo-accent); }
:root[data-theme="dark"] #components-reconnect-modal button:hover[b-phtf4wewjy] { background-color: var(--fo-accent-hover); }
:root[data-theme="dark"] .components-rejoining-animation div[b-phtf4wewjy] { border-color: var(--fo-primary-500); }
/* /Components/Pages/Areas.razor.rz.scp.css */
.heading-actions[b-h5yha89xdl] {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
}

.create-entity-button[b-h5yha89xdl] {
    min-height: 52px;
}

.total-counter[b-h5yha89xdl] {
    min-width: 160px;
    padding: 14px 18px;
    display: grid;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 11px;
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.045);
}

.total-counter strong[b-h5yha89xdl] {
    color: var(--fo-text);
    font-size: 1.3rem;
}

.total-counter span[b-h5yha89xdl] {
    margin-top: 2px;
    color: var(--fo-text-muted);
    font-size: 0.73rem;
}

.filters-card[b-h5yha89xdl] {
    padding: 20px;
    display: grid;
    gap: 18px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.filter-grid[b-h5yha89xdl] {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) minmax(180px, 0.8fr);
    gap: 14px;
}

.filter-field[b-h5yha89xdl],
.editor-field[b-h5yha89xdl] {
    display: grid;
    gap: 7px;
}

.filter-field > span[b-h5yha89xdl],
.editor-field > span[b-h5yha89xdl] {
    color: var(--fo-text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
}

.editor-field > span strong[b-h5yha89xdl] {
    color: var(--fo-danger-strong);
}

.filter-field input[b-h5yha89xdl],
.filter-field select[b-h5yha89xdl],
.editor-field input[b-h5yha89xdl] {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    color: var(--fo-text);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-strong);
    border-radius: 7px;
    font-size: 0.82rem;
}

.filter-field input[b-h5yha89xdl]::placeholder {
    color: var(--fo-text-subtle);
}

.filter-field input:hover[b-h5yha89xdl],
.filter-field select:hover[b-h5yha89xdl],
.editor-field input:hover[b-h5yha89xdl] {
    border-color: var(--fo-text-subtle);
}

.filter-field input:focus[b-h5yha89xdl],
.filter-field select:focus[b-h5yha89xdl],
.editor-field input:focus[b-h5yha89xdl] {
    border-color: var(--fo-primary-600);
    outline: 3px solid rgba(37, 99, 235, 0.11);
}

.filter-actions[b-h5yha89xdl],
.row-actions[b-h5yha89xdl],
.dialog-actions[b-h5yha89xdl] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice[b-h5yha89xdl] {
    margin-top: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 620;
}

.notice span[b-h5yha89xdl] {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
}

.notice.success[b-h5yha89xdl] {
    color: var(--fo-status-success-text);
    background: var(--fo-success-50);
    border-color: var(--fo-success-200);
}

.notice.success span[b-h5yha89xdl] {
    color: var(--fo-surface);
    background: #22c55e;
}

.notice.error[b-h5yha89xdl] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-50);
    border-color: var(--fo-danger-200);
}

.notice.error span[b-h5yha89xdl] {
    color: var(--fo-surface);
    background: var(--fo-danger-600);
}

.results-panel[b-h5yha89xdl] {
    min-height: 350px;
    margin-top: 18px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.state-panel[b-h5yha89xdl] {
    min-height: 350px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    text-align: center;
}

.state-panel strong[b-h5yha89xdl] {
    margin-top: 4px;
    color: var(--fo-text);
    font-size: 0.95rem;
}

.state-panel span:not(.state-icon)[b-h5yha89xdl] {
    max-width: 480px;
    color: var(--fo-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.state-panel fluent-button[b-h5yha89xdl] {
    margin-top: 10px;
}

.state-icon[b-h5yha89xdl] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--fo-danger-700);
    background: var(--fo-danger-100);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
}

.state-icon.empty[b-h5yha89xdl] {
    color: var(--fo-text-secondary);
    background: var(--fo-surface-muted);
}

.table-scroll[b-h5yha89xdl] {
    overflow-x: auto;
}

.areas-table[b-h5yha89xdl] {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
}

.areas-table th[b-h5yha89xdl] {
    padding: 14px 16px;
    color: var(--fo-text-muted);
    background: var(--fo-surface-subtle);
    border-bottom: 1px solid var(--fo-border);
    text-align: left;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.areas-table td[b-h5yha89xdl] {
    padding: 15px 16px;
    color: var(--fo-text-emphasis);
    border-bottom: 1px solid var(--fo-border-faint);
    font-size: 0.78rem;
    vertical-align: middle;
}

.areas-table tbody tr[b-h5yha89xdl] {
    transition: background 100ms ease;
}

.areas-table tbody tr:hover[b-h5yha89xdl] {
    background: var(--fo-surface-tint);
}

.areas-table tbody tr:last-child td[b-h5yha89xdl] {
    border-bottom: 0;
}

/* The Area column uses the shared .centered-list centring: header and name sit on the column's centre axis.
   The 30px minimum height keeps the row height the former icon badge set. */
.area-name[b-h5yha89xdl] {
    min-width: 0;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-name strong[b-h5yha89xdl] {
    min-width: 0;
    color: var(--fo-text);
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.postal-code-list[b-h5yha89xdl] {
    max-width: 290px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.postal-code[b-h5yha89xdl] {
    padding: 3px 7px;
    display: inline-flex;
    align-items: center;
    color: var(--fo-text-emphasis);
    background: var(--fo-surface-muted);
    border: 1px solid var(--fo-border);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

.postal-code.empty[b-h5yha89xdl] {
    color: var(--fo-text-subtle);
    background: transparent;
    border-style: dashed;
}

.postal-code-entry[b-h5yha89xdl] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.postal-code-entry button[b-h5yha89xdl] {
    min-height: 40px;
    padding: 0 14px;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 7px;
    font: inherit;
    font-size: .72rem;
    font-weight: 750;
    cursor: pointer;
}

.postal-code-entry button:hover:not(:disabled)[b-h5yha89xdl] {
    background: var(--fo-primary-100);
}

.postal-code-entry button:disabled[b-h5yha89xdl] {
    opacity: .55;
    cursor: not-allowed;
}

.postal-code-editor-list[b-h5yha89xdl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.postal-code-chip[b-h5yha89xdl] {
    min-height: 29px;
    padding: 0 5px 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--fo-link-deep);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 720;
}

.postal-code-chip button[b-h5yha89xdl] {
    width: 21px;
    height: 21px;
    padding: 0;
    display: grid;
    place-items: center;
    color: var(--fo-text-muted);
    background: color-mix(in srgb, var(--fo-surface) 72%, transparent);
    border: 0;
    border-radius: 50%;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.postal-code-chip button:hover:not(:disabled)[b-h5yha89xdl] {
    color: var(--fo-danger-700);
    background: var(--fo-danger-100);
}

.field-hint[b-h5yha89xdl] {
    color: var(--fo-text-muted);
    font-size: .68rem;
    line-height: 1.45;
}

.status-badge[b-h5yha89xdl] {
    min-height: 25px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 700;
}

.status-badge i[b-h5yha89xdl] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.active[b-h5yha89xdl] {
    color: var(--fo-status-success-text);
    background: var(--fo-status-success-surface);
}

.status-badge.active i[b-h5yha89xdl] {
    background: #22c55e;
}

.status-badge.inactive[b-h5yha89xdl] {
    color: var(--fo-text-secondary);
    background: var(--fo-border);
}

.status-badge.inactive i[b-h5yha89xdl] {
    background: var(--fo-text-subtle);
}

.areas-table time[b-h5yha89xdl] {
    color: var(--fo-text-muted);
    white-space: nowrap;
    font-size: 0.72rem;
}

.actions-heading[b-h5yha89xdl] {
    text-align: center !important;
}

.row-actions[b-h5yha89xdl] {
    justify-content: flex-end;
}

.action-button[b-h5yha89xdl],
.close-button[b-h5yha89xdl] {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.action-button[b-h5yha89xdl] {
    min-height: 31px;
    padding: 0 10px;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 680;
}

.action-button:hover[b-h5yha89xdl] {
    background: var(--fo-primary-100);
}

.action-button.activate[b-h5yha89xdl] {
    color: var(--fo-status-success-text);
    background: var(--fo-success-50);
}

.action-button.activate:hover[b-h5yha89xdl] {
    background: var(--fo-status-success-surface);
}

.action-button.deactivate[b-h5yha89xdl] {
    color: var(--fo-orange-800);
    background: var(--fo-orange-50);
}

.action-button.deactivate:hover[b-h5yha89xdl] {
    background: var(--fo-orange-100);
}

.action-button:disabled[b-h5yha89xdl],
.close-button:disabled[b-h5yha89xdl] {
    cursor: not-allowed;
    opacity: 0.55;
}

.pagination-bar[b-h5yha89xdl] {
    min-height: 64px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--fo-text-muted);
    background: var(--fo-surface-tint-soft);
    border-top: 1px solid var(--fo-border);
    font-size: 0.75rem;
}

.pagination-controls[b-h5yha89xdl] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-controls strong[b-h5yha89xdl] {
    min-width: 120px;
    color: var(--fo-text-secondary);
    text-align: center;
    font-size: 0.73rem;
}

.dialog-backdrop[b-h5yha89xdl] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    padding: 24px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
}

.dialog-panel[b-h5yha89xdl] {
    width: min(100%, 520px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.dialog-header[b-h5yha89xdl] {
    padding: 22px 24px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--fo-border-faint);
}

.dialog-kicker[b-h5yha89xdl] {
    display: block;
    margin-bottom: 5px;
    color: var(--fo-primary-600);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dialog-header h2[b-h5yha89xdl] {
    margin: 0;
    color: var(--fo-text);
    font-size: 1.05rem;
}

.close-button[b-h5yha89xdl] {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    color: var(--fo-text-muted);
    background: var(--fo-surface-muted);
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 1;
}

.close-button:hover[b-h5yha89xdl] {
    color: var(--fo-text);
    background: var(--fo-border);
}

.dialog-body[b-h5yha89xdl] {
    padding: 22px 24px;
    display: grid;
    gap: 18px;
}

.dialog-body p[b-h5yha89xdl] {
    margin: 0;
    color: var(--fo-text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
}

.dialog-body p strong[b-h5yha89xdl] {
    color: var(--fo-text);
}

.field-error[b-h5yha89xdl] {
    color: var(--fo-danger-700);
    font-size: 0.68rem;
}

.dialog-message[b-h5yha89xdl] {
    padding: 11px 12px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.5;
}

.dialog-message.error[b-h5yha89xdl] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-50);
    border-color: var(--fo-danger-200);
}

.dialog-actions[b-h5yha89xdl] {
    padding: 16px 24px 22px;
    justify-content: flex-end;
    border-top: 1px solid var(--fo-border-faint);
}

.confirmation-panel[b-h5yha89xdl] {
    width: min(100%, 500px);
}

@media (max-width: 760px) {
    .page-heading[b-h5yha89xdl],
    .heading-actions[b-h5yha89xdl],
    .pagination-bar[b-h5yha89xdl],
    .pagination-controls[b-h5yha89xdl] {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-grid[b-h5yha89xdl] {
        grid-template-columns: 1fr;
    }

    .filter-actions[b-h5yha89xdl] {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-actions fluent-button[b-h5yha89xdl],
    .heading-actions fluent-button[b-h5yha89xdl] {
        width: 100%;
    }

    .total-counter[b-h5yha89xdl] {
        min-width: 0;
    }

    .pagination-bar[b-h5yha89xdl] {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .dialog-backdrop[b-h5yha89xdl] {
        padding: 12px;
    }

    .dialog-header[b-h5yha89xdl],
    .dialog-body[b-h5yha89xdl] {
        padding-left: 19px;
        padding-right: 19px;
    }

    .dialog-actions[b-h5yha89xdl] {
        padding: 15px 19px 19px;
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .dialog-actions fluent-button[b-h5yha89xdl] {
        width: 100%;
    }
}


.create-entity-button .add-icon[b-h5yha89xdl] {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    margin-right: 7px;
    color: var(--fo-primary-700);
    background: var(--fo-surface);
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 800;
}

.pagination-button[b-h5yha89xdl] {
    min-width: 116px;
}

.pagination-arrow[b-h5yha89xdl] {
    font-size: 0.95rem;
    line-height: 1;
}

.page-indicator[b-h5yha89xdl] {
    min-width: 116px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--fo-surface-muted);
    border: 1px solid var(--fo-border);
    border-radius: 8px;
}

.page-indicator span[b-h5yha89xdl] {
    color: var(--fo-text-muted);
    font-weight: 600;
}

.action-button.delete[b-h5yha89xdl] {
    color: var(--fo-danger-700);
    background: var(--fo-danger-50);
}

.action-button.delete:hover[b-h5yha89xdl] {
    background: var(--fo-danger-100);
}

.dialog-kicker.danger[b-h5yha89xdl] {
    color: var(--fo-danger-700);
}
/* /Components/Pages/Articles.razor.rz.scp.css */
.articles-placeholder[b-2bgkxe7r5m]{min-height:330px;margin-top:20px;padding:36px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--fo-text-secondary);background:var(--fo-surface);border:1px solid var(--fo-border-soft);border-radius:14px;text-align:center;box-shadow:0 8px 28px rgba(15,23,42,.04)}.placeholder-icon[b-2bgkxe7r5m]{width:52px;height:52px;margin-bottom:6px;display:grid;place-items:center;color:var(--fo-link-strong);background:var(--fo-primary-50);border-radius:14px;font-size:1.5rem}.placeholder-kicker[b-2bgkxe7r5m]{color:var(--fo-link-strong);font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.articles-placeholder h2[b-2bgkxe7r5m]{margin:0;color:var(--fo-text);font-size:1.05rem}.articles-placeholder p[b-2bgkxe7r5m]{max-width:620px;margin:0;color:var(--fo-text-muted);font-size:.82rem;line-height:1.65}.placeholder-link[b-2bgkxe7r5m]{margin-top:8px;min-height:38px;padding:0 14px;display:inline-flex;align-items:center;color:var(--fo-on-accent);background:var(--fo-action-600);border-radius:8px;text-decoration:none;font-size:.75rem;font-weight:700}.placeholder-link:hover[b-2bgkxe7r5m]{color:var(--fo-on-accent);background:var(--fo-action-700)}
/* /Components/Pages/AssignmentDetails.razor.rz.scp.css */
/* =========================================================
   ASSIGNMENT DETAILS
   ========================================================= */


/* =========================================================
   NAVIGATION
   ========================================================= */

.back-link[b-uzzd0wszrf] {
    width: fit-content;
    margin-bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fo-text-muted);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 650;
    transition: color .16s ease, transform .16s ease;
}

    .back-link:hover[b-uzzd0wszrf] {
        color: var(--fo-link-strong);
        transform: translateX(-2px);
    }


/* =========================================================
   PAGE LAYOUT
   ========================================================= */

.assignment-page[b-uzzd0wszrf] {
    display: grid;
    gap: 22px;
}


/* =========================================================
   ASSIGNMENT HERO
   ========================================================= */

.assignment-header[b-uzzd0wszrf] {
    position: relative;
    min-width: 0;
    min-height: 160px;
    padding: 28px 30px 28px 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 255px);
    align-items: center;
    gap: 30px;
    overflow: hidden;
    background: radial-gradient( circle at 90% 10%, rgba(96, 165, 250, .15), transparent 33% ), linear-gradient( 120deg, var(--fo-surface) 0%, var(--fo-surface-tint-blue) 62%, light-dark(#edf6ff, var(--fo-primary-50)) 100% );
    border: 1px solid light-dark(#cfe0f5, var(--fo-primary-200));
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .02), 0 14px 40px rgba(15, 23, 42, .07);
}

    .assignment-header[b-uzzd0wszrf]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 4px;
        background: linear-gradient( 180deg, var(--fo-action-600), var(--fo-primary-400) );
    }


    /* =========================================================
   PROVIDER HERO COLORS
   ========================================================= */

    .assignment-header.provider-ote[b-uzzd0wszrf] {
        background: radial-gradient( circle at 90% 10%, rgba(37, 131, 232, .17), transparent 33% ), linear-gradient( 120deg, var(--fo-surface) 0%, var(--fo-surface-tint-blue) 62%, light-dark(#edf6ff, var(--fo-primary-50)) 100% );
        border-color: light-dark(#c7def7, var(--fo-primary-200));
    }

        .assignment-header.provider-ote[b-uzzd0wszrf]::before {
            background: linear-gradient( 180deg, #2387e8, #075bb4 );
        }


    .assignment-header.provider-vodafone[b-uzzd0wszrf] {
        background: radial-gradient( circle at 90% 10%, rgba(230, 0, 20, .13), transparent 33% ), linear-gradient( 120deg, var(--fo-surface) 0%, light-dark(#fff8f8, var(--fo-surface-subtle)) 62%, light-dark(#fff0f1, var(--fo-surface-subtle)) 100% );
        border-color: light-dark(#fecdd3, var(--fo-danger-200));
    }

        .assignment-header.provider-vodafone[b-uzzd0wszrf]::before {
            background: linear-gradient( 180deg, #ef1b2d, #b80016 );
        }


    .assignment-header.provider-dei[b-uzzd0wszrf] {
        background: radial-gradient( circle at 90% 10%, rgba(20, 184, 166, .15), transparent 33% ), linear-gradient( 120deg, var(--fo-surface) 0%, light-dark(#f6fffd, var(--fo-surface-subtle)) 62%, light-dark(#ecfdf9, var(--fo-surface-subtle)) 100% );
        border-color: light-dark(#b7eee5, var(--fo-provider-dei-border));
    }

        .assignment-header.provider-dei[b-uzzd0wszrf]::before {
            background: linear-gradient( 180deg, #0f766e, #f5b700 );
        }


/* =========================================================
   ASSIGNMENT IDENTITY
   ========================================================= */

.assignment-identity[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 11px;
}

.assignment-overline[b-uzzd0wszrf] {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

    .assignment-overline .eyebrow[b-uzzd0wszrf] {
        color: var(--fo-link-strong);
        font-size: .68rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .assignment-overline .status-badge[b-uzzd0wszrf] {
        min-height: 27px;
        padding: 0 10px;
        box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .12);
    }

.assignment-reference[b-uzzd0wszrf] {
    max-width: 100%;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--fo-text);
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: -.045em;
}


/* =========================================================
   ASSIGNMENT CONTEXT
   ========================================================= */

.assignment-subtitle[b-uzzd0wszrf] {
    margin-top: 3px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--fo-text-muted);
}

    .assignment-subtitle[b-uzzd0wszrf]  .provider-mark {
        min-height: 34px;
        margin: 0 2px 0 0;
    }

.assignment-context-item[b-uzzd0wszrf] {
    min-width: 0;
    min-height: 35px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: light-dark(#526276, var(--fo-text-emphasis));
    background: color-mix(in srgb, var(--fo-surface) 76%, transparent);
    border: 1px solid color-mix(in srgb, var(--fo-border-strong) 90%, transparent);
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
    font-size: .75rem;
    font-weight: 620;
}

    .assignment-context-item svg[b-uzzd0wszrf] {
        width: 15px;
        height: 15px;
        flex: 0 0 auto;
        fill: none;
        stroke: var(--fo-text-muted);
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .assignment-context-item span[b-uzzd0wszrf] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* =========================================================
   HEADER META
   ========================================================= */

.assignment-header-meta[b-uzzd0wszrf] {
    width: 100%;
    min-width: 0;
    padding: 17px 18px;
    align-self: stretch;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 10px;
    background: color-mix(in srgb, var(--fo-surface) 83%, transparent);
    border: 1px solid color-mix(in srgb, var(--fo-border-strong) 90%, transparent);
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    backdrop-filter: blur(10px);
}

    .assignment-header-meta > div[b-uzzd0wszrf] {
        width: 100%;
        padding-top: 11px;
        display: grid;
        justify-items: start;
        gap: 3px;
        border-top: 1px solid var(--fo-border-soft);
    }

        .assignment-header-meta > div:first-child[b-uzzd0wszrf] {
            padding-top: 0;
            border-top: 0;
        }

        .assignment-header-meta > div span[b-uzzd0wszrf] {
            color: light-dark(#7c899b, var(--fo-text-muted));
            font-size: .7rem;
        }

        .assignment-header-meta > div strong[b-uzzd0wszrf] {
            color: var(--fo-text-strong);
            font-size: .82rem;
            font-weight: 720;
        }


/* =========================================================
   ATTENTION
   ========================================================= */

.attention-strip[b-uzzd0wszrf] {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: light-dark(#713f12, var(--fo-orange-800));
    background: var(--fo-warning-50);
    border: 1px solid var(--fo-warning-200);
    border-radius: 11px;
}

.attention-icon[b-uzzd0wszrf] {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--fo-warning-700);
    background: var(--fo-warning-100);
    border-radius: 8px;
    font-weight: 800;
}

.attention-strip > div[b-uzzd0wszrf] {
    display: grid;
    gap: 2px;
}

.attention-strip span:not(.attention-icon)[b-uzzd0wszrf] {
    color: light-dark(#a16207, var(--fo-orange-800));
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.attention-strip strong[b-uzzd0wszrf] {
    font-size: .82rem;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.assignment-summary-grid[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.summary-card[b-uzzd0wszrf] {
    min-width: 0;
    min-height: 82px;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: color-mix(in srgb, var(--fo-surface) 96%, transparent);
    border: 1px solid light-dark(#e3e9f0, var(--fo-border));
    border-radius: 13px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .035);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .summary-card:hover[b-uzzd0wszrf] {
        transform: translateY(-2px);
        border-color: var(--fo-primary-200);
        box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
    }

.summary-icon[b-uzzd0wszrf] {
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-50);
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 800;
}

.summary-card > div[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .summary-card > div > span[b-uzzd0wszrf] {
        color: var(--fo-text-muted);
        font-size: .7rem;
        font-weight: 650;
    }

.summary-card strong[b-uzzd0wszrf] {
    color: var(--fo-text-strong);
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.summary-card small[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    font-size: .71rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}


/* =========================================================
   MAIN WORKSPACE
   ========================================================= */

.assignment-workspace[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    align-items: start;
    gap: 24px;
}

.assignment-main[b-uzzd0wszrf],
.assignment-sidebar[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    gap: 20px;
}

.assignment-sidebar[b-uzzd0wszrf] {
    position: sticky;
    top: 22px;
}


/* =========================================================
   SHARED CARDS
   ========================================================= */

.next-action-panel[b-uzzd0wszrf],
.workflow-workspace-card[b-uzzd0wszrf],
.sidebar-card[b-uzzd0wszrf] {
    min-width: 0;
    padding: 24px;
    background: color-mix(in srgb, var(--fo-surface) 96%, transparent);
    border: 1px solid light-dark(#e3e9f0, var(--fo-border));
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .02), 0 8px 28px rgba(15, 23, 42, .045);
}


/* =========================================================
   NEXT ACTION
   ========================================================= */

.next-action-panel[b-uzzd0wszrf] {
    display: grid;
    gap: 17px;
    background: linear-gradient( 135deg, var(--fo-surface) 0%, var(--fo-surface-tint-blue) 100% );
    border-color: light-dark(#c9ddf7, var(--fo-primary-200));
    box-shadow: 0 12px 32px rgba(37, 99, 235, .075);
}

.next-action-copy h2[b-uzzd0wszrf],
.section-heading-row h2[b-uzzd0wszrf],
.sidebar-card-heading h2[b-uzzd0wszrf] {
    margin: 0;
    color: var(--fo-text-strong);
}

.next-action-copy h2[b-uzzd0wszrf],
.section-heading-row h2[b-uzzd0wszrf] {
    font-size: 1.12rem;
}

.next-action-copy p[b-uzzd0wszrf],
.section-heading-row p[b-uzzd0wszrf] {
    margin: 6px 0 0;
    color: var(--fo-text-muted);
    font-size: .79rem;
    line-height: 1.55;
}

.section-kicker[b-uzzd0wszrf] {
    display: block;
    margin-bottom: 6px;
    color: var(--fo-link-strong);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.next-action-panel .workflow-actions[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 9px;
}

    .next-action-panel .workflow-actions fluent-button[b-uzzd0wszrf] {
        width: 100%;
        min-height: 42px;
    }


/* =========================================================
   WORKFLOW NOTE
   ========================================================= */

.workflow-note-form[b-uzzd0wszrf] {
    display: grid;
    gap: 7px;
}

    .workflow-note-form label[b-uzzd0wszrf] {
        color: var(--fo-text-secondary);
        font-size: .74rem;
        font-weight: 700;
    }

    .workflow-note-form textarea[b-uzzd0wszrf] {
        width: 100%;
        min-height: 110px;
        padding: 12px 13px;
        box-sizing: border-box;
        resize: vertical;
        color: var(--fo-text-strong);
        background: var(--fo-surface);
        border: 1px solid var(--fo-border-strong);
        border-radius: 9px;
        font: inherit;
        font-size: .8rem;
        line-height: 1.5;
    }

        .workflow-note-form textarea:focus[b-uzzd0wszrf] {
            border-color: var(--fo-action-600);
            outline: 3px solid rgba(37, 99, 235, .11);
        }

    .workflow-note-form small[b-uzzd0wszrf] {
        color: var(--fo-text-muted);
        font-size: .68rem;
        text-align: right;
    }


/* =========================================================
   WORKFLOW CONFIRMATION
   ========================================================= */

.workflow-confirmation[b-uzzd0wszrf] {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: light-dark(#7c2d12, var(--fo-orange-800));
    background: var(--fo-orange-50);
    border: 1px solid var(--fo-orange-200);
    border-radius: 10px;
}

    .workflow-confirmation > div:first-child[b-uzzd0wszrf] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

    .workflow-confirmation strong[b-uzzd0wszrf] {
        font-size: .78rem;
    }

    .workflow-confirmation span[b-uzzd0wszrf] {
        font-size: .72rem;
        line-height: 1.45;
    }

.workflow-confirmation-actions[b-uzzd0wszrf] {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading-row[b-uzzd0wszrf] {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}


/* =========================================================
   WORKFLOW STAGES
   ========================================================= */

.stage-list[b-uzzd0wszrf] {
    display: grid;
    gap: 12px;
}

.stage-panel[b-uzzd0wszrf] {
    overflow: hidden;
    background: var(--fo-surface);
    border: 1px solid light-dark(#e1e7ef, var(--fo-border));
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .025);
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .stage-panel.current[b-uzzd0wszrf] {
        border-color: var(--fo-primary-300);
        box-shadow: 0 0 0 2px rgba(37, 99, 235, .06), 0 8px 20px rgba(37, 99, 235, .05);
    }

    .stage-panel.completed[b-uzzd0wszrf] {
        border-color: light-dark(#cdebd8, var(--fo-success-200));
    }

    .stage-panel.cancelled[b-uzzd0wszrf] {
        border-color: var(--fo-danger-200);
        background: light-dark(#fffafa, var(--fo-surface-subtle));
    }


    /* =========================================================
   STAGE SUMMARY
   ========================================================= */

    .stage-panel > summary[b-uzzd0wszrf] {
        min-width: 0;
        min-height: 64px;
        padding: 15px 17px;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) auto 20px;
        align-items: center;
        gap: 13px;
        cursor: pointer;
        list-style: none;
        transition: background .15s ease;
    }

        .stage-panel > summary[b-uzzd0wszrf]::-webkit-details-marker {
            display: none;
        }

        .stage-panel > summary:hover[b-uzzd0wszrf] {
            background: var(--fo-surface-tint);
        }

    .stage-panel[open] > summary[b-uzzd0wszrf] {
        background: var(--fo-surface-tint-soft);
        border-bottom: 1px solid light-dark(#e8edf4, var(--fo-border));
    }

    .stage-panel.current > summary[b-uzzd0wszrf] {
        background: linear-gradient( 90deg, var(--fo-surface-tint), var(--fo-surface) );
    }


/* =========================================================
   STAGE MARKERS
   ========================================================= */

.stage-number[b-uzzd0wszrf] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--fo-text-secondary);
    background: var(--fo-border-soft);
    border-radius: 10px;
    font-size: .76rem;
    font-weight: 800;
}

.stage-panel.current .stage-number[b-uzzd0wszrf] {
    color: var(--fo-on-accent);
    background: var(--fo-action-600);
    box-shadow: 0 4px 10px rgba(37, 99, 235, .2);
}

.stage-panel.completed .stage-number[b-uzzd0wszrf] {
    color: var(--fo-status-success-text);
    background: var(--fo-status-success-surface);
}

.stage-panel.cancelled .stage-number[b-uzzd0wszrf] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-100);
}


/* =========================================================
   STAGE COPY
   ========================================================= */

.stage-summary-copy[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .stage-summary-copy strong[b-uzzd0wszrf] {
        color: var(--fo-text-strong);
        font-size: .83rem;
    }

    .stage-summary-copy small[b-uzzd0wszrf] {
        margin-top: 1px;
        color: var(--fo-text-muted);
        font-size: .7rem;
        line-height: 1.4;
    }

.stage-state[b-uzzd0wszrf] {
    min-height: 27px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: var(--fo-text-muted);
    background: var(--fo-surface-muted);
    border-radius: 999px;
    font-size: .64rem;
    font-weight: 700;
}

.stage-panel.current .stage-state[b-uzzd0wszrf] {
    color: var(--fo-link-deep);
    background: var(--fo-primary-100);
}

.stage-panel.completed .stage-state[b-uzzd0wszrf] {
    color: var(--fo-status-success-text);
    background: var(--fo-status-success-surface);
}

.stage-panel.cancelled .stage-state[b-uzzd0wszrf] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-100);
}

.stage-chevron[b-uzzd0wszrf] {
    width: 16px;
    height: 16px;
    display: block;
    justify-self: center;
    flex: 0 0 16px;
    color: var(--fo-text-muted);
    transform-origin: center;
    transition: transform .15s ease;
}

.stage-panel[open] .stage-chevron[b-uzzd0wszrf] {
    transform: rotate(180deg);
}

.stage-panel-body[b-uzzd0wszrf] {
    padding: 17px;
}


/* =========================================================
   WORKFLOW TARGETS
   ========================================================= */

.workflow-target-heading[b-uzzd0wszrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .workflow-target-heading > label[b-uzzd0wszrf] {
        color: var(--fo-text-secondary);
        font-size: .73rem;
        font-weight: 700;
    }

    .workflow-target-heading button[b-uzzd0wszrf] {
        padding: 5px 9px;
        color: var(--fo-link-strong-hover);
        background: var(--fo-primary-50);
        border: 1px solid var(--fo-primary-200);
        border-radius: 7px;
        cursor: pointer;
        font: inherit;
        font-size: .67rem;
        font-weight: 700;
    }

        .workflow-target-heading button:hover:not(:disabled)[b-uzzd0wszrf] {
            background: var(--fo-primary-100);
        }

        .workflow-target-heading button:disabled[b-uzzd0wszrf] {
            opacity: .55;
            cursor: not-allowed;
        }

.workflow-target-options[b-uzzd0wszrf] {
    max-height: 240px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
    overflow-y: auto;
    background: var(--fo-surface-subtle);
    border: 1px solid light-dark(#dbe4ef, var(--fo-border));
    border-radius: 10px;
}

.workflow-target-option[b-uzzd0wszrf] {
    min-width: 0;
    min-height: 50px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-soft);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

    .workflow-target-option:hover[b-uzzd0wszrf] {
        border-color: var(--fo-primary-200);
    }

    .workflow-target-option.selected[b-uzzd0wszrf] {
        background: var(--fo-primary-50);
        border-color: var(--fo-primary-400);
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08);
    }

    .workflow-target-option input[b-uzzd0wszrf] {
        width: 17px;
        height: 17px;
        flex: 0 0 auto;
        accent-color: #2563eb;
    }

    .workflow-target-option > span[b-uzzd0wszrf] {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .workflow-target-option strong[b-uzzd0wszrf] {
        overflow: hidden;
        color: var(--fo-text-strong);
        font-size: .73rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .workflow-target-option small[b-uzzd0wszrf] {
        color: var(--fo-text-muted);
        font-size: .65rem;
        text-align: left;
    }


/* =========================================================
   SURVEYOR
   ========================================================= */

.survey-assignment-body[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
    align-items: start;
    gap: 18px;
}

.surveyor-overview[b-uzzd0wszrf] {
    min-width: 0;
    padding: 15px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border-soft);
    border-radius: 10px;
}

.surveyor-avatar[b-uzzd0wszrf] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--fo-on-accent);
    background: var(--fo-action-600);
    border-radius: 9px;
    font-size: .78rem;
    font-weight: 780;
}

.surveyor-overview > div[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .surveyor-overview > div > span[b-uzzd0wszrf],
    .surveyor-overview small[b-uzzd0wszrf] {
        color: var(--fo-text-muted);
        font-size: .68rem;
    }

.surveyor-overview strong[b-uzzd0wszrf] {
    color: var(--fo-text-strong);
    font-size: .78rem;
    overflow-wrap: anywhere;
}


/* =========================================================
   ASSIGN SURVEYOR
   ========================================================= */

.assign-form[b-uzzd0wszrf] {
    display: grid;
    gap: 8px;
}

    .assign-form > label[b-uzzd0wszrf] {
        color: var(--fo-text-secondary);
        font-size: .72rem;
        font-weight: 700;
    }

.assign-form-row[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.assign-form select[b-uzzd0wszrf] {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    color: var(--fo-text-strong);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-strong);
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
}

    .assign-form select:hover:not(:disabled)[b-uzzd0wszrf] {
        border-color: #94a3b8;
    }

    .assign-form select:focus[b-uzzd0wszrf] {
        border-color: var(--fo-action-600);
        outline: 3px solid rgba(37, 99, 235, .11);
    }

    .assign-form select:disabled[b-uzzd0wszrf] {
        color: var(--fo-text-subtle);
        background: var(--fo-surface-subtle);
        cursor: not-allowed;
    }

.assign-form-row fluent-button[b-uzzd0wszrf] {
    min-width: 112px;
}


/* =========================================================
   EMBEDDED COMPONENTS
   ========================================================= */

.embedded-component[b-uzzd0wszrf] {
    padding: 0;
}

    .embedded-component[b-uzzd0wszrf]  .survey-review-card,
    .embedded-component[b-uzzd0wszrf]  .crew-requirements-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

.crew-stage-body[b-uzzd0wszrf]  .crew-requirements-card {
    padding: 18px;
}

#assignment-crew-stage[open][b-uzzd0wszrf] {
    overflow: visible;
}

#assignment-crew-stage[open] > summary[b-uzzd0wszrf] {
    border-radius: 12px 12px 0 0;
}


/* Phase 4.1.5 — workflow execution is represented by per-crew
   evidence and the sidebar; no duplicate end-of-stage totals. */
.crew-workflow-fault-summary[b-uzzd0wszrf] {
    margin: var(--fo-space-4);
    padding: var(--fo-space-4);
    border: 1px solid var(--fo-warning-200);
    border-radius: var(--fo-radius-md);
    background: var(--fo-warning-50);
}
.crew-workflow-fault-summary p[b-uzzd0wszrf] {
    margin: 5px 0 0;
    color: var(--fo-text-secondary);
    font-size: .79rem;
    line-height: 1.5;
}

/* =========================================================
   DOCUMENTATION
   ========================================================= */

.documentation-card[b-uzzd0wszrf] {
    min-width: 0;
    padding: 0;
    display: grid;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.document-grid[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.document-tile[b-uzzd0wszrf] {
    min-width: 0;
    min-height: 88px;
    padding: 14px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    color: inherit;
    background: var(--fo-surface);
    border: 1px solid light-dark(#dfe6ef, var(--fo-border));
    border-radius: 11px;
    text-align: left;
    font: inherit;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}

button.document-tile[b-uzzd0wszrf] {
    cursor: pointer;
}

    button.document-tile:hover[b-uzzd0wszrf] {
        transform: translateY(-1px);
        background: var(--fo-surface-tint);
        border-color: var(--fo-primary-300);
        box-shadow: 0 8px 20px rgba(37, 99, 235, .08);
    }

.document-tile.selected[b-uzzd0wszrf] {
    background: var(--fo-primary-50);
    border-color: var(--fo-action-600);
    box-shadow: 0 0 0 1px #2563eb;
}

.document-tile.static[b-uzzd0wszrf] {
    background: var(--fo-surface-subtle);
}

.document-icon[b-uzzd0wszrf] {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-50);
    border-radius: 9px;
    font-size: .75rem;
    font-weight: 800;
}

.document-copy[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .document-copy strong[b-uzzd0wszrf] {
        color: var(--fo-text-strong);
        font-size: .79rem;
    }

    .document-copy small[b-uzzd0wszrf] {
        color: var(--fo-text-muted);
        font-size: .68rem;
        line-height: 1.35;
    }

.document-count[b-uzzd0wszrf] {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-muted);
    border-radius: 999px;
    font-size: .69rem;
    font-weight: 750;
}


/* =========================================================
   WORK DETAIL
   ========================================================= */

.work-detail-shell[b-uzzd0wszrf] {
    margin-top: 15px;
    overflow: hidden;
    background: var(--fo-surface);
    border: 1px solid light-dark(#dfe6ef, var(--fo-border));
    border-radius: 11px;
}

.work-detail-toolbar[b-uzzd0wszrf] {
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--fo-surface-subtle);
    border-bottom: 1px solid var(--fo-border-soft);
}

    .work-detail-toolbar > div[b-uzzd0wszrf] {
        display: grid;
        gap: 2px;
    }

    .work-detail-toolbar strong[b-uzzd0wszrf] {
        color: var(--fo-text-strong);
        font-size: .8rem;
    }

    .work-detail-toolbar button[b-uzzd0wszrf] {
        padding: 7px 11px;
        color: var(--fo-text-secondary);
        background: var(--fo-surface);
        border: 1px solid var(--fo-border-strong);
        border-radius: 8px;
        cursor: pointer;
        font-size: .71rem;
        font-weight: 700;
    }

        .work-detail-toolbar button:hover[b-uzzd0wszrf] {
            color: var(--fo-link-strong-hover);
            border-color: var(--fo-primary-300);
        }

.work-detail-shell[b-uzzd0wszrf]  .file-explorer-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar-card[b-uzzd0wszrf] {
    padding: 20px;
}

.sidebar-card-heading[b-uzzd0wszrf] {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

    .sidebar-card-heading.compact[b-uzzd0wszrf] {
        margin-bottom: 13px;
    }

    .sidebar-card-heading h2[b-uzzd0wszrf] {
        font-size: .94rem;
    }


/* =========================================================
   PROGRESS STEPPER
   ========================================================= */

.progress-card .workflow-stepper[b-uzzd0wszrf] {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

    .progress-card .workflow-stepper li[b-uzzd0wszrf] {
        min-width: 0;
        padding: 10px;
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        background: var(--fo-surface);
        border: 1px solid var(--fo-border-soft);
        border-radius: 10px;
    }

        .progress-card .workflow-stepper li.current[b-uzzd0wszrf] {
            background: var(--fo-primary-50);
            border-color: var(--fo-primary-300);
        }

        .progress-card .workflow-stepper li.completed[b-uzzd0wszrf] {
            background: light-dark(#f7fff9, var(--fo-surface-subtle));
            border-color: light-dark(#cdebd8, var(--fo-success-200));
        }

        .progress-card .workflow-stepper li.pending[b-uzzd0wszrf] {
            opacity: .72;
        }

        .progress-card .workflow-stepper li.cancelled[b-uzzd0wszrf] {
            opacity: .78;
            background: light-dark(#fffafa, var(--fo-surface-subtle));
            border-color: var(--fo-danger-200);
        }

.progress-card .workflow-step-marker[b-uzzd0wszrf] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--fo-text-secondary);
    background: var(--fo-border-soft);
    border-radius: 50%;
    font-size: .67rem;
    font-weight: 800;
}

.progress-card li.current .workflow-step-marker[b-uzzd0wszrf] {
    color: var(--fo-on-accent);
    background: var(--fo-action-600);
}

.progress-card li.completed .workflow-step-marker[b-uzzd0wszrf] {
    color: var(--fo-on-accent);
    background: #16a34a;
}

.progress-card li.cancelled .workflow-step-marker[b-uzzd0wszrf] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-100);
}

.progress-card .workflow-stepper strong[b-uzzd0wszrf],
.progress-card .workflow-stepper small[b-uzzd0wszrf] {
    display: block;
}

.progress-card .workflow-stepper strong[b-uzzd0wszrf] {
    color: var(--fo-text-strong);
    font-size: .75rem;
}

.progress-card .workflow-stepper small[b-uzzd0wszrf] {
    margin-top: 2px;
    color: var(--fo-text-muted);
    font-size: .65rem;
    line-height: 1.35;
}


/* =========================================================
   QUICK FACTS
   ========================================================= */

.quick-facts[b-uzzd0wszrf] {
    margin: 0;
    display: grid;
}

    .quick-facts > div[b-uzzd0wszrf] {
        padding: 12px 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        border-top: 1px solid var(--fo-border-faint);
    }

        .quick-facts > div:first-child[b-uzzd0wszrf] {
            border-top: 0;
        }

    .quick-facts dt[b-uzzd0wszrf] {
        color: var(--fo-text-muted);
        font-size: .69rem;
    }

    .quick-facts dd[b-uzzd0wszrf] {
        margin: 0;
        color: var(--fo-text-strong);
        font-size: .72rem;
        font-weight: 650;
        text-align: right;
        overflow-wrap: anywhere;
    }


/* =========================================================
   TIMELINE
   ========================================================= */

.timeline[b-uzzd0wszrf] {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .timeline li[b-uzzd0wszrf] {
        position: relative;
        min-height: 48px;
        padding: 0 0 16px 22px;
    }

        .timeline li:not(:last-child)[b-uzzd0wszrf]::before {
            content: "";
            position: absolute;
            top: 8px;
            bottom: -3px;
            left: 4px;
            width: 1px;
            background: var(--fo-border-soft);
        }

        .timeline li > i[b-uzzd0wszrf] {
            position: absolute;
            top: 4px;
            left: 0;
            width: 8px;
            height: 8px;
            background: var(--fo-border-strong);
            border: 2px solid var(--fo-surface);
            border-radius: 50%;
            box-shadow: 0 0 0 1px #cbd5e1;
        }

        .timeline li.current > i[b-uzzd0wszrf] {
            background: var(--fo-action-600);
            box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, .09);
        }

        .timeline li > div[b-uzzd0wszrf] {
            display: grid;
            gap: 3px;
        }

    .timeline strong[b-uzzd0wszrf] {
        color: var(--fo-text-strong);
        font-size: .72rem;
    }

    .timeline time[b-uzzd0wszrf] {
        color: var(--fo-text-muted);
        font-size: .65rem;
    }


/* =========================================================
   BADGES
   ========================================================= */

.priority-badge[b-uzzd0wszrf],
.status-badge[b-uzzd0wszrf],
.assignment-indicator[b-uzzd0wszrf] {
    width: fit-content;
    min-height: 26px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 700;
}

.priority-low[b-uzzd0wszrf],
.status-muted[b-uzzd0wszrf] {
    color: var(--fo-text-secondary);
    background: var(--fo-border-soft);
}

.priority-normal[b-uzzd0wszrf],
.status-new[b-uzzd0wszrf] {
    color: var(--fo-link-deep);
    background: var(--fo-primary-100);
}

.priority-high[b-uzzd0wszrf] {
    color: var(--fo-orange-800);
    background: var(--fo-orange-100);
}

.priority-critical[b-uzzd0wszrf],
.status-danger[b-uzzd0wszrf] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-100);
}

.status-pending[b-uzzd0wszrf] {
    color: var(--fo-status-pending-text);
    background: var(--fo-status-pending-surface);
}

.status-active[b-uzzd0wszrf] {
    color: var(--fo-status-active-text);
    background: var(--fo-status-active-surface);
}

.status-success[b-uzzd0wszrf] {
    color: var(--fo-status-success-text);
    background: var(--fo-status-success-surface);
}

.assignment-indicator[b-uzzd0wszrf] {
    color: var(--fo-status-pending-text);
    background: var(--fo-status-pending-surface);
}

    .assignment-indicator.assigned[b-uzzd0wszrf] {
        color: var(--fo-status-success-text);
        background: var(--fo-status-success-surface);
    }


/* =========================================================
   INLINE MESSAGES
   ========================================================= */

.inline-message[b-uzzd0wszrf],
.locked-action[b-uzzd0wszrf] {
    padding: 11px 12px;
    border-radius: 8px;
    font-size: .72rem;
    line-height: 1.45;
}

    .inline-message.error[b-uzzd0wszrf] {
        color: var(--fo-danger-800);
        background: var(--fo-danger-50);
        border: 1px solid var(--fo-danger-200);
    }

.locked-action[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border-soft);
}


/* =========================================================
   CREW STAGES
   ========================================================= */

.crew-stage-card[b-uzzd0wszrf] {
    gap: 0;
}

.crew-stage-total[b-uzzd0wszrf] {
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-50);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

/* Phase 4.1.1 — One common metric language for execution and review. */
.crew-overview[b-uzzd0wszrf] {
    display: grid;
    gap: var(--fo-space-4);
}
.crew-overview-section[b-uzzd0wszrf] {
    display: grid;
    gap: var(--fo-space-2);
    min-width: 0;
}
.crew-overview-section + .crew-overview-section[b-uzzd0wszrf] {
    padding-top: var(--fo-space-3);
    border-top: 1px solid var(--fo-border);
}
.crew-overview-section h3[b-uzzd0wszrf] {
    margin: 0;
    color: var(--fo-text-secondary);
    font-size: var(--fo-font-caption);
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.4;
}
.crew-overview-grid[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fo-space-2);
}
.crew-overview-metric[b-uzzd0wszrf] {
    box-sizing: border-box;
    min-width: 0;
    min-height: 78px;
    padding: 11px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
    text-align: center;
}
.crew-overview-metric strong[b-uzzd0wszrf] {
    color: var(--fo-text-secondary);
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    line-height: 1.18;
}
.crew-overview-metric span[b-uzzd0wszrf] {
    color: var(--fo-text-secondary);
    font-size: .63rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -.015em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}
/* Status colors remain visible for zero as well as non-zero counts. */
.crew-overview-metric.pending[b-uzzd0wszrf] {
    background: var(--fo-surface-muted);
    border-color: light-dark(#dbe3ed, var(--fo-border));
}
.crew-overview-metric.pending strong[b-uzzd0wszrf] { color: var(--fo-text-secondary); }
.crew-overview-metric.in-progress[b-uzzd0wszrf] {
    background: var(--fo-status-active-surface);
    border-color: light-dark(#ddd6fe, var(--fo-primary-200));
}
.crew-overview-metric.in-progress strong[b-uzzd0wszrf] { color: light-dark(#6d28d9, var(--fo-status-active-text)); }
.crew-overview-metric.completed[b-uzzd0wszrf] {
    background: var(--fo-status-success-surface);
    border-color: var(--fo-success-200);
}
.crew-overview-metric.completed strong[b-uzzd0wszrf] { color: var(--fo-status-success-text); }
.crew-overview-metric.approved[b-uzzd0wszrf] {
    background: var(--fo-success-50);
    border-color: var(--fo-success-200);
}
.crew-overview-metric.approved strong[b-uzzd0wszrf] { color: var(--fo-success-700); }
.crew-overview-metric.awaiting[b-uzzd0wszrf] {
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
}
.crew-overview-metric.awaiting strong[b-uzzd0wszrf] { color: var(--fo-primary-700); }
.crew-overview-metric.corrections[b-uzzd0wszrf] {
    background: var(--fo-warning-50);
    border-color: var(--fo-warning-200);
}
.crew-overview-metric.corrections strong[b-uzzd0wszrf] { color: var(--fo-warning-700); }
.crew-overview-hint[b-uzzd0wszrf] {
    margin: 0;
    padding-top: var(--fo-space-3);
    border-top: 1px solid var(--fo-border);
    color: var(--fo-text-muted);
    font-size: .71rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* =========================================================
   CREW STAGE LIST — Execution and review are separate
   ========================================================= */

.crew-next-step[b-uzzd0wszrf] {
    min-width: 0;
    margin: var(--fo-space-4) 0;
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    border: 1px solid var(--fo-border);
    border-left: 3px solid var(--fo-border-strong);
    border-radius: var(--fo-radius-md);
    background: var(--fo-surface);
}

.crew-next-step-icon[b-uzzd0wszrf] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: var(--fo-radius-sm);
    background: var(--fo-surface-subtle);
    color: var(--fo-text-secondary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
}

.crew-next-step > div[b-uzzd0wszrf] {
    min-width: 0;
}

.crew-next-step-kicker[b-uzzd0wszrf] {
    display: block;
    margin-bottom: 3px;
    color: var(--fo-text-muted);
    font-size: .65rem;
    font-weight: 500;
    line-height: 1.3;
}

.crew-next-step p[b-uzzd0wszrf] {
    margin: 0;
    color: var(--fo-text);
    font-size: .78rem;
    font-weight: 550;
    line-height: 1.45;
    overflow-wrap: break-word;
}

.crew-next-step small[b-uzzd0wszrf] {
    display: block;
    margin-top: 4px;
    color: var(--fo-text-muted);
    font-size: .69rem;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.crew-next-step.review[b-uzzd0wszrf] { border-left-color: var(--fo-primary-600); }
.crew-next-step.review .crew-next-step-icon[b-uzzd0wszrf] {
    background: var(--fo-primary-50);
    color: var(--fo-primary-700);
}

.crew-next-step.corrections[b-uzzd0wszrf] { border-left-color: var(--fo-warning-700); }
.crew-next-step.corrections .crew-next-step-icon[b-uzzd0wszrf] {
    background: var(--fo-warning-50);
    color: var(--fo-warning-700);
}

.crew-next-step.active[b-uzzd0wszrf] { border-left-color: #7c3aed; }
.crew-next-step.active .crew-next-step-icon[b-uzzd0wszrf] {
    background: var(--fo-status-active-surface);
    color: light-dark(#6d28d9, var(--fo-status-active-text));
}

.crew-next-step.success[b-uzzd0wszrf] { border-left-color: var(--fo-success-700); }
.crew-next-step.success .crew-next-step-icon[b-uzzd0wszrf] {
    background: var(--fo-success-50);
    color: var(--fo-success-700);
}

.crew-stage-list[b-uzzd0wszrf] {
    display: grid;
    gap: 10px;
}

.crew-stage-item[b-uzzd0wszrf] {
    min-width: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
}

.crew-stage-header[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.crew-stage-marker[b-uzzd0wszrf] {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: .77rem;
    font-weight: 550;
}

.crew-stage-identity[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.crew-stage-category[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    font-size: .67rem;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.crew-stage-name[b-uzzd0wszrf] {
    color: var(--fo-text);
    font-size: .8rem;
    font-weight: 550;
    line-height: 1.45;
    overflow-wrap: break-word;
}

.crew-stage-statuses[b-uzzd0wszrf] {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fo-space-2);
}

.crew-stage-status-group[b-uzzd0wszrf] {
    min-width: 0;
    padding: 9px 7px;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 7px;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-sm);
    background: var(--fo-surface);
}

.crew-stage-status-label[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    font-size: .64rem;
    font-weight: 400;
    line-height: 1.4;
}

.crew-stage-badge[b-uzzd0wszrf],
.crew-stage-review-badge[b-uzzd0wszrf] {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 26px;
    padding: 5px 8px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--fo-radius-pill);
    font-size: .67rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.crew-stage-review-badge.not-submitted[b-uzzd0wszrf] {
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
}

.crew-stage-review-badge.review[b-uzzd0wszrf] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
}

.crew-stage-review-badge.corrections[b-uzzd0wszrf] {
    color: var(--fo-warning-700);
    background: var(--fo-warning-50);
}

.crew-stage-review-badge.approved[b-uzzd0wszrf] {
    color: var(--fo-success-700);
    background: var(--fo-success-50);
}

.crew-stage-timestamp[b-uzzd0wszrf] {
    display: block;
    color: var(--fo-text-muted);
    font-size: .67rem;
    line-height: 1.45;
    overflow-wrap: break-word;
}

/* Crew states */

.crew-stage-item.pending
.crew-stage-marker[b-uzzd0wszrf],
.crew-stage-item.pending
.crew-stage-badge[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    background: var(--fo-border-soft);
}

.crew-stage-item.in-progress[b-uzzd0wszrf] {
    background: light-dark(#f5f3ff, var(--fo-surface-subtle));
    border-color: light-dark(#c7d2fe, var(--fo-primary-200));
}

    .crew-stage-item.in-progress
    .crew-stage-marker[b-uzzd0wszrf],
    .crew-stage-item.in-progress
    .crew-stage-badge[b-uzzd0wszrf] {
        color: var(--fo-status-active-text);
        background: var(--fo-status-active-surface);
    }

.crew-stage-item.completed[b-uzzd0wszrf] {
    background: var(--fo-success-50);
    border-color: var(--fo-success-200);
}

    .crew-stage-item.completed
    .crew-stage-marker[b-uzzd0wszrf],
    .crew-stage-item.completed
    .crew-stage-badge[b-uzzd0wszrf] {
        color: var(--fo-status-success-text);
        background: var(--fo-status-success-surface);
    }

.crew-stage-item.correction-pending[b-uzzd0wszrf] {
    background: var(--fo-orange-50);
    border-color: var(--fo-orange-200);
}

    .crew-stage-item.correction-pending
    .crew-stage-marker[b-uzzd0wszrf],
    .crew-stage-item.correction-pending
    .crew-stage-badge[b-uzzd0wszrf] {
        color: var(--fo-orange-800);
        background: var(--fo-orange-100);
    }

.crew-stage-item.correction-in-progress[b-uzzd0wszrf] {
    background: var(--fo-warning-50);
    border-color: #fcd34d;
}

    .crew-stage-item.correction-in-progress
    .crew-stage-marker[b-uzzd0wszrf],
    .crew-stage-item.correction-in-progress
    .crew-stage-badge[b-uzzd0wszrf] {
        color: var(--fo-warning-700);
        background: var(--fo-warning-100);
    }

.crew-stage-item.correction-completed[b-uzzd0wszrf] {
    background: var(--fo-success-50);
    border-color: light-dark(#86efac, var(--fo-success-200));
}

    .crew-stage-item.correction-completed
    .crew-stage-marker[b-uzzd0wszrf],
    .crew-stage-item.correction-completed
    .crew-stage-badge[b-uzzd0wszrf] {
        color: var(--fo-status-success-text);
        background: var(--fo-status-success-surface);
    }


/* =========================================================
   STATE PANEL
   ========================================================= */

.state-panel[b-uzzd0wszrf] {
    min-height: 440px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-soft);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

    .state-panel strong[b-uzzd0wszrf] {
        margin-top: 4px;
        color: var(--fo-text-strong);
        font-size: .95rem;
    }

    .state-panel > span:not(.state-icon)[b-uzzd0wszrf] {
        max-width: 480px;
        color: var(--fo-text-muted);
        font-size: .82rem;
        line-height: 1.55;
    }

.state-icon[b-uzzd0wszrf] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--fo-danger-700);
    background: var(--fo-danger-100);
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 800;
}

    .state-icon.missing[b-uzzd0wszrf] {
        color: var(--fo-text-secondary);
        background: var(--fo-surface-muted);
    }

.primary-link[b-uzzd0wszrf] {
    min-height: 40px;
    margin-top: 10px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    color: var(--fo-on-accent);
    background: var(--fo-action-600);
    border-radius: 8px;
    text-decoration: none;
    font-size: .77rem;
    font-weight: 680;
    transition: background .15s ease, transform .15s ease;
}

    .primary-link:hover[b-uzzd0wszrf] {
        background: var(--fo-action-700);
        transform: translateY(-1px);
    }


/* =========================================================
   TOAST
   ========================================================= */

.toast[b-uzzd0wszrf] {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1600;
    max-width: 420px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: light-dark(#14532d, var(--fo-success-700));
    background: var(--fo-success-50);
    border: 1px solid var(--fo-success-200);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    font-size: .8rem;
    line-height: 1.45;
    animation: toast-in-b-uzzd0wszrf .18s ease;
}

@keyframes toast-in-b-uzzd0wszrf {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-icon[b-uzzd0wszrf] {
    color: light-dark(#16a34a, var(--fo-success-700));
    font-weight: 800;
}

.toast-dismiss[b-uzzd0wszrf] {
    margin-left: auto;
    padding: 0 4px;
    color: var(--fo-status-success-text);
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}


/* =========================================================
   OPERATION POPUP
   ========================================================= */

.operation-popup-backdrop[b-uzzd0wszrf] {
    position: fixed;
    inset: 0;
    z-index: 1700;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(2px);
}

.operation-popup[b-uzzd0wszrf] {
    width: min(460px, 100%);
    padding: 1.3rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-soft);
    border-radius: 15px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .35);
}

    .operation-popup fluent-button[b-uzzd0wszrf] {
        grid-column: 2;
        justify-self: end;
    }

.operation-popup-icon[b-uzzd0wszrf] {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--fo-on-accent);
    background: var(--fo-danger-600);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
}

.operation-popup h2[b-uzzd0wszrf] {
    margin: 0;
    color: var(--fo-text-strong);
    font-size: 1rem;
}

.operation-popup p[b-uzzd0wszrf] {
    margin: .35rem 0 0;
    color: var(--fo-text-muted);
    line-height: 1.5;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1180px) {

    .assignment-workspace[b-uzzd0wszrf] {
        grid-template-columns: 1fr;
    }

    .assignment-sidebar[b-uzzd0wszrf] {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }
}


/* =========================================================
   RESPONSIVE — SMALL TABLET
   ========================================================= */

@media (max-width: 900px) {

    .assignment-summary-grid[b-uzzd0wszrf],
    .assignment-sidebar[b-uzzd0wszrf] {
        grid-template-columns: 1fr;
    }

    .survey-assignment-body[b-uzzd0wszrf] {
        grid-template-columns: 1fr;
    }

    .workflow-confirmation[b-uzzd0wszrf] {
        align-items: stretch;
        flex-direction: column;
    }

    .workflow-confirmation-actions[b-uzzd0wszrf] {
        justify-content: flex-end;
    }
}


/* =========================================================
   RESPONSIVE — HERO
   ========================================================= */

@media (max-width: 760px) {

    .assignment-header[b-uzzd0wszrf] {
        min-height: 0;
        padding: 24px 23px 23px 27px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .assignment-header-meta[b-uzzd0wszrf] {
        min-width: 0;
        min-height: 80px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 14px;
    }

        .assignment-header-meta > div[b-uzzd0wszrf] {
            padding: 0 0 0 14px;
            border-top: 0;
            border-left: 1px solid var(--fo-border-soft);
        }

            .assignment-header-meta > div:first-child[b-uzzd0wszrf] {
                padding-left: 0;
                border-left: 0;
            }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .next-action-panel[b-uzzd0wszrf],
    .workflow-workspace-card[b-uzzd0wszrf],
    .sidebar-card[b-uzzd0wszrf] {
        padding: 19px;
    }

    .stage-panel > summary[b-uzzd0wszrf] {
        grid-template-columns: 36px minmax(0, 1fr) 18px;
    }

    .stage-state[b-uzzd0wszrf] {
        display: none;
    }

    .assign-form-row[b-uzzd0wszrf] {
        grid-template-columns: 1fr;
    }

        .assign-form-row fluent-button[b-uzzd0wszrf] {
            width: 100%;
        }

    .workflow-confirmation-actions[b-uzzd0wszrf] {
        display: grid;
        grid-template-columns: 1fr;
    }

        .workflow-confirmation-actions fluent-button[b-uzzd0wszrf] {
            width: 100%;
        }

    .toast[b-uzzd0wszrf] {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}


/* =========================================================
   RESPONSIVE — PHONE
   ========================================================= */

@media (max-width: 520px) {

    .assignment-header[b-uzzd0wszrf] {
        padding: 21px 19px 21px 23px;
        border-radius: 14px;
    }

    .assignment-overline[b-uzzd0wszrf] {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .assignment-reference[b-uzzd0wszrf] {
        font-size: clamp(1.55rem, 9vw, 2rem);
    }

    .assignment-subtitle[b-uzzd0wszrf] {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 7px;
    }

        .assignment-subtitle[b-uzzd0wszrf]  .provider-mark,
        .assignment-context-item[b-uzzd0wszrf] {
            width: fit-content;
            max-width: 100%;
        }

    .assignment-header-meta[b-uzzd0wszrf] {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }

        .assignment-header-meta > div[b-uzzd0wszrf],
        .assignment-header-meta > div:first-child[b-uzzd0wszrf] {
            padding: 9px 0 0;
            border-top: 1px solid var(--fo-border-soft);
            border-left: 0;
        }

            .assignment-header-meta > div:first-child[b-uzzd0wszrf] {
                padding-top: 0;
                border-top: 0;
            }

    .document-grid[b-uzzd0wszrf] {
        grid-template-columns: 1fr;
    }

    .operation-popup[b-uzzd0wszrf] {
        grid-template-columns: 1fr;
    }

        .operation-popup fluent-button[b-uzzd0wszrf] {
            grid-column: 1;
        }

    .operation-popup-icon[b-uzzd0wszrf] {
        margin: auto;
    }
}


/* =========================================================
   RESPONSIVE — SMALL PHONE
   ========================================================= */

@media (max-width: 420px) {
    .crew-stage-statuses[b-uzzd0wszrf] {
        grid-template-columns: minmax(0, 1fr);
    }
}
.completed-articles-placeholder[b-uzzd0wszrf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px dashed light-dark(#b7c5d8, var(--fo-primary-200));
    border-radius: .75rem;
    background: light-dark(#f7f9fc, var(--fo-surface-subtle));
}

.completed-articles-placeholder p[b-uzzd0wszrf] { margin: .35rem 0 0; color: light-dark(#52637a, var(--fo-text-secondary)); font-size: .85rem; }
.completed-articles-placeholder button[b-uzzd0wszrf] {
    min-height: 44px;
    padding: .6rem 1rem;
    border: 1px solid light-dark(#c5cedb, var(--fo-border));
    border-radius: .45rem;
    background: light-dark(#e9eef5, var(--fo-surface-subtle));
    color: light-dark(#52637a, var(--fo-text-secondary));
    cursor: not-allowed;
}



/* Phase 4.1 — Workflow clarity. Stage semantics are still supplied by the
   existing StagePanelClass/WorkflowStepClass; only their presentation changes. */
.workflow-workspace-card .section-heading-row[b-uzzd0wszrf] {
    align-items: center;
    gap: var(--fo-space-3);
}

.workflow-workspace-card .section-heading-row h2[b-uzzd0wszrf] {
    color: var(--fo-text);
    font-size: var(--fo-font-title);
    font-weight: 770;
}

.workflow-workspace-card .section-heading-row p[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    line-height: var(--fo-line-height);
}

.stage-list[b-uzzd0wszrf] {
    gap: var(--fo-space-3);
}

.stage-panel[b-uzzd0wszrf] {
    min-width: 0;
    border-color: var(--fo-border);
    border-radius: var(--fo-radius-md);
    box-shadow: 0 3px 12px rgba(7, 23, 94, .035);
}

.stage-panel.current[b-uzzd0wszrf] {
    border-color: var(--fo-primary-200);
    box-shadow: inset 4px 0 0 var(--fo-primary-600), 0 8px 24px rgba(7, 23, 94, .075);
}

.stage-panel.next[b-uzzd0wszrf] {
    border-color: var(--fo-border-strong);
    box-shadow: inset 3px 0 0 var(--fo-text-subtle);
}

.stage-panel.completed[b-uzzd0wszrf] {
    border-color: var(--fo-success-200);
    box-shadow: inset 3px 0 0 var(--fo-success-700);
}

.stage-panel.cancelled[b-uzzd0wszrf] {
    border-color: var(--fo-danger-200);
    background: var(--fo-danger-50);
    box-shadow: inset 3px 0 0 var(--fo-danger-600);
}

.stage-panel > summary[b-uzzd0wszrf] {
    min-height: 72px;
    gap: var(--fo-space-3);
}

.stage-panel > summary:focus-visible[b-uzzd0wszrf] {
    outline: 3px solid var(--fo-focus);
    outline-offset: -3px;
    border-radius: var(--fo-radius-md);
}

.stage-panel > summary:hover[b-uzzd0wszrf],
.stage-panel[open] > summary[b-uzzd0wszrf] {
    background: var(--fo-surface-subtle);
}

.stage-panel.current > summary[b-uzzd0wszrf] {
    background: linear-gradient(90deg, var(--fo-primary-50), var(--fo-surface));
}

.stage-panel .stage-summary-copy strong[b-uzzd0wszrf] {
    color: var(--fo-text);
    font-size: var(--fo-font-small);
    line-height: 1.4;
}

.stage-panel .stage-summary-copy small[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.stage-panel .stage-state[b-uzzd0wszrf] {
    box-sizing: border-box;
    min-height: 30px;
    border: 1px solid var(--fo-border);
    font-size: var(--fo-font-caption);
    font-weight: 750;
}

.stage-panel.current .stage-state[b-uzzd0wszrf] {
    border-color: var(--fo-primary-200);
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
}

.stage-panel.completed .stage-state[b-uzzd0wszrf] {
    border-color: var(--fo-success-200);
    color: var(--fo-success-700);
    background: var(--fo-success-50);
}

.stage-panel.cancelled .stage-state[b-uzzd0wszrf] {
    border-color: var(--fo-danger-200);
    color: var(--fo-danger-700);
    background: var(--fo-danger-50);
}

.next-action-panel[b-uzzd0wszrf] {
    border-color: var(--fo-primary-200);
    box-shadow: inset 4px 0 0 var(--fo-primary-600), var(--fo-shadow-card);
}

.next-action-copy h2[b-uzzd0wszrf] { color: var(--fo-text); }

.progress-card .workflow-stepper li.current[b-uzzd0wszrf] {
    border-color: var(--fo-primary-200);
    box-shadow: inset 3px 0 0 var(--fo-primary-600);
}

.progress-card .workflow-stepper li.completed[b-uzzd0wszrf] {
    border-color: var(--fo-success-200);
}

.progress-card .workflow-stepper li.pending[b-uzzd0wszrf] {
    opacity: 1;
}

.progress-card .workflow-stepper li.pending small[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
}

.progress-card .workflow-stepper li.cancelled[b-uzzd0wszrf] {
    opacity: 1;
    border-color: var(--fo-danger-200);
    background: var(--fo-danger-50);
}



@media (max-width: 680px) {
    .stage-panel > summary[b-uzzd0wszrf] {
        min-height: 64px;
    }

    .stage-panel .stage-state[b-uzzd0wszrf] {
        white-space: normal;
        line-height: 1.3;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage-panel[b-uzzd0wszrf],
    .stage-panel > summary[b-uzzd0wszrf] {
        transition: none;
    }
}


/* Phase 4.1.5 — compact Assignment Overview sidebar.
   Keep the approved pastel crew colors intact. */
.assignment-sidebar[b-uzzd0wszrf] {
    align-content: start;
    gap: 14px;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    scrollbar-width: thin;
    overscroll-behavior: contain;
    padding-right: 3px;
}
.assignment-sidebar .sidebar-card[b-uzzd0wszrf] {
    padding: 17px;
    border-radius: var(--fo-radius-lg);
}
.assignment-sidebar .sidebar-card-heading[b-uzzd0wszrf] {
    align-items: center;
    gap: var(--fo-space-2);
}
.assignment-sidebar .sidebar-card-heading h2[b-uzzd0wszrf] {
    font-size: .89rem;
    font-weight: 550;
}
.assignment-sidebar .progress-card .sidebar-card-heading[b-uzzd0wszrf] {
    margin-bottom: var(--fo-space-3);
}
.workflow-progress-heading[b-uzzd0wszrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fo-space-2);
    color: var(--fo-text-secondary);
    font-size: .7rem;
    font-weight: 450;
    line-height: 1.4;
    margin-bottom: 7px;
}
.workflow-progress-segments[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: var(--fo-space-3);
}
.workflow-progress-segments > span[b-uzzd0wszrf] {
    min-width: 0;
    height: 5px;
    border-radius: var(--fo-radius-pill);
    background: var(--fo-border);
}
.workflow-progress-segments > .completed[b-uzzd0wszrf] { background: var(--fo-success-700); }
.workflow-progress-segments > .current[b-uzzd0wszrf] { background: var(--fo-primary-600); }
.workflow-progress-segments > .cancelled[b-uzzd0wszrf] { background: var(--fo-danger-200); }
.workflow-completed-group[b-uzzd0wszrf] {
    margin-bottom: var(--fo-space-2);
    border: 1px solid var(--fo-success-200);
    border-radius: var(--fo-radius-md);
    background: var(--fo-success-50);
}
.workflow-completed-group > summary[b-uzzd0wszrf] {
    min-height: 44px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: var(--fo-space-2);
    color: var(--fo-success-700);
    font-size: .73rem;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}
.workflow-completed-group > summary[b-uzzd0wszrf]::-webkit-details-marker { display: none; }
.workflow-completed-group > summary:focus-visible[b-uzzd0wszrf],
.sidebar-disclosure > summary:focus-visible[b-uzzd0wszrf] {
    outline: 2px solid var(--fo-focus);
    outline-offset: 2px;
}
.workflow-completed-icon[b-uzzd0wszrf] {
    width: 25px;
    height: 25px;
    display: grid;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 50%;
    color: var(--fo-on-accent);
    background: var(--fo-success-700);
    font-size: .8rem;
}
.workflow-completed-chevron[b-uzzd0wszrf] {
    width: 16px;
    height: 16px;
    display: block;
    flex: 0 0 16px;
    margin-left: auto;
    color: var(--fo-success-700);
    transform-origin: center;
    transition: transform 150ms ease;
}
.workflow-completed-group[open] .workflow-completed-chevron[b-uzzd0wszrf] { transform: rotate(180deg); }
.workflow-completed-group .workflow-stepper[b-uzzd0wszrf] {
    padding: 0 9px 9px;
}
.progress-card .workflow-stepper.compact[b-uzzd0wszrf] {
    gap: 6px;
}
.progress-card .workflow-stepper.compact li[b-uzzd0wszrf] {
    padding: 9px;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    border-radius: var(--fo-radius-sm);
}
.progress-card .workflow-stepper.compact li.current[b-uzzd0wszrf] {
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
}
.progress-card .workflow-stepper.compact li.pending[b-uzzd0wszrf] {
    background: var(--fo-surface-subtle);
    border-color: var(--fo-border);
}
.progress-card .workflow-stepper.compact strong[b-uzzd0wszrf] {
    font-size: .73rem;
    font-weight: 530;
    line-height: 1.4;
}
.progress-card .workflow-stepper.compact small[b-uzzd0wszrf] {
    font-size: .65rem;
    line-height: 1.4;
}
.progress-card .workflow-stepper.compact li.completed[b-uzzd0wszrf] {
    background: var(--fo-success-50);
    border-color: var(--fo-success-200);
}
.crew-stage-card .crew-overview[b-uzzd0wszrf] {
    gap: var(--fo-space-3);
}
.crew-stage-card .crew-overview-hint[b-uzzd0wszrf] {
    font-size: .69rem;
}
.crew-stage-card .crew-next-step[b-uzzd0wszrf] {
    margin: var(--fo-space-3) 0 0;
    padding: 10px;
}
.crew-stage-card .crew-stage-total[b-uzzd0wszrf] {
    min-width: 48px;
    padding: 0 9px;
    font-weight: 500;
}
.sidebar-extra-card[b-uzzd0wszrf] {
    display: grid;
    gap: 0;
}
.sidebar-disclosure + .sidebar-disclosure[b-uzzd0wszrf] {
    border-top: 1px solid var(--fo-border);
}
.sidebar-disclosure > summary[b-uzzd0wszrf] {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fo-space-2);
    cursor: pointer;
    list-style: none;
    color: var(--fo-text-secondary);
    font-size: .77rem;
    font-weight: 500;
    line-height: 1.4;
}
.sidebar-disclosure > summary[b-uzzd0wszrf]::-webkit-details-marker { display: none; }
.sidebar-disclosure-heading[b-uzzd0wszrf] {
    display: flex;
    align-items: center;
    gap: var(--fo-space-2);
}
.sidebar-disclosure-icon[b-uzzd0wszrf] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--fo-text-secondary);
}
.sidebar-disclosure-chevron[b-uzzd0wszrf] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--fo-text-muted);
    transform-origin: 50% 50%;
    transition: transform 150ms ease;
}
.sidebar-disclosure[open] .sidebar-disclosure-chevron[b-uzzd0wszrf] { transform: rotate(180deg); }
.sidebar-disclosure > .quick-facts[b-uzzd0wszrf],
.sidebar-disclosure > .timeline[b-uzzd0wszrf] {
    padding: 8px 0 12px;
}
.sidebar-disclosure .quick-facts > div[b-uzzd0wszrf] {
    padding: 8px 0;
}
.sidebar-disclosure .quick-facts dd[b-uzzd0wszrf] {
    font-weight: 500;
}
@media (max-width: 1180px) {
    .assignment-sidebar[b-uzzd0wszrf] {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}
@media (max-height: 570px) and (min-width: 1181px) {
    .assignment-sidebar[b-uzzd0wszrf] {
        max-height: calc(100vh - 24px);
        top: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .stage-chevron[b-uzzd0wszrf], .sidebar-disclosure-chevron[b-uzzd0wszrf], .workflow-completed-chevron[b-uzzd0wszrf] {
        transition: none;
    }
}


/* Phase 4.1.11 — Documentation Explorer collapses like workflow stages. */
.documentation-disclosure[b-uzzd0wszrf] {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-lg);
    background: var(--fo-surface);
    box-shadow: var(--fo-shadow-card);
}

.documentation-disclosure > summary[b-uzzd0wszrf] {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    align-items: center;
    gap: var(--fo-space-3);
    min-height: 76px;
    padding: 13px 18px;
    list-style: none;
    cursor: pointer;
    background: var(--fo-surface);
}

.documentation-disclosure > summary[b-uzzd0wszrf]::-webkit-details-marker { display: none; }
.documentation-disclosure > summary:hover[b-uzzd0wszrf],
.documentation-disclosure[open] > summary[b-uzzd0wszrf] {
    background: var(--fo-surface-subtle);
}
.documentation-disclosure > summary:focus-visible[b-uzzd0wszrf] {
    outline: 3px solid var(--fo-focus);
    outline-offset: -3px;
}
.documentation-disclosure-icon[b-uzzd0wszrf] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--fo-radius-md);
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
}
.documentation-disclosure-icon svg[b-uzzd0wszrf] { width: 20px; height: 20px; }
.documentation-disclosure-heading[b-uzzd0wszrf] { display: grid; min-width: 0; gap: 4px; }
.documentation-disclosure-heading .section-kicker[b-uzzd0wszrf] { font-size: .65rem; font-weight: 550; }
.documentation-disclosure-heading strong[b-uzzd0wszrf] {
    color: var(--fo-text);
    font-size: .94rem;
    font-weight: 560;
    line-height: 1.3;
}
.documentation-disclosure-heading small[b-uzzd0wszrf] {
    color: var(--fo-text-muted);
    font-size: .74rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.documentation-disclosure-chevron[b-uzzd0wszrf] {
    width: 18px;
    height: 18px;
    justify-self: end;
    color: var(--fo-text-muted);
    transform-origin: center;
    transition: transform 150ms ease;
}
.documentation-disclosure[open] .documentation-disclosure-chevron[b-uzzd0wszrf] { transform: rotate(180deg); }
.documentation-disclosure-body[b-uzzd0wszrf] {
    min-width: 0;
    padding: var(--fo-space-3);
    border-top: 1px solid var(--fo-border);
}
@media (max-width: 620px) {
    .documentation-disclosure > summary[b-uzzd0wszrf] { padding: 12px; gap: 9px; }
    .documentation-disclosure-body[b-uzzd0wszrf] { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .documentation-disclosure-chevron[b-uzzd0wszrf] { transition: none; }
}


/* Phase 4.1.12 — Consistent iconography across Assignment Details.
   Every icon is a crisp 24px-viewBox stroke SVG, sized by context. */
.back-link > .fo-workflow-icon[b-uzzd0wszrf] {
    display: inline-block;
    flex: 0 0 17px;
    vertical-align: middle;
}

.attention-icon[b-uzzd0wszrf],
.summary-icon[b-uzzd0wszrf],
.surveyor-avatar[b-uzzd0wszrf],
.crew-next-step-icon[b-uzzd0wszrf],
.operation-popup-icon[b-uzzd0wszrf],
.workflow-completed-icon[b-uzzd0wszrf],
.toast-icon[b-uzzd0wszrf] {
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.summary-icon[b-uzzd0wszrf],
.surveyor-avatar[b-uzzd0wszrf],
.crew-next-step-icon[b-uzzd0wszrf],
.operation-popup-icon[b-uzzd0wszrf],
.workflow-completed-icon[b-uzzd0wszrf],
.attention-icon[b-uzzd0wszrf] {
    line-height: 0;
}

.toast-icon[b-uzzd0wszrf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toast-dismiss[b-uzzd0wszrf] {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: var(--fo-radius-sm);
    color: var(--fo-success-700);
    line-height: 0;
}

.toast-dismiss:hover[b-uzzd0wszrf] {
    background: var(--fo-success-50);
}

.toast-dismiss:focus-visible[b-uzzd0wszrf] {
    outline: 2px solid var(--fo-focus);
    outline-offset: 2px;
}

.stage-overview-icon[b-uzzd0wszrf] {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

/* Preserve the approval-state palette and circular step markers. */
.workflow-step-marker[b-uzzd0wszrf] {
    display: grid;
    place-items: center;
    line-height: 1;
}

.completed-report-action[b-uzzd0wszrf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
    padding: 1rem;
    border: 1px solid light-dark(#cfe0f6, var(--fo-primary-200));
    border-radius: .75rem;
    background: light-dark(#f3f8ff, var(--fo-surface-subtle));
}

.completed-report-action p[b-uzzd0wszrf] { margin: .35rem 0 0; color: light-dark(#52637a, var(--fo-text-secondary)); font-size: .85rem; }

.completed-report-link[b-uzzd0wszrf] {
    min-height: 44px;
    padding: .6rem 1rem;
    display: inline-flex;
    align-items: center;
    border-radius: .45rem;
    background: var(--fo-accent);
    color: var(--fo-on-accent);
    font-weight: 700;
    text-decoration: none;
}

.completed-report-link:hover[b-uzzd0wszrf] { background: var(--fo-accent-hover); color: var(--fo-on-accent); }
.completed-report-link:focus-visible[b-uzzd0wszrf] { outline: 2px solid var(--fo-accent); outline-offset: 2px; }
/* /Components/Pages/Assignments.razor.rz.scp.css */
.assignment-filter-summary[b-h6ru554w8n] {
    min-height: 44px;
    list-style: none;
    cursor: pointer;
}

.assignment-filter-summary[b-h6ru554w8n]::-webkit-details-marker {
    display: none;
}

.assignment-filter-summary:focus-visible[b-h6ru554w8n] {
    outline: 2px solid var(--fo-primary-600);
    outline-offset: -2px;
    border-radius: 8px;
}

.filter-summary-meta[b-h6ru554w8n] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.filter-summary-meta .catalog-filter-active[b-h6ru554w8n] {
    white-space: normal;
}

.filter-disclosure-chevron[b-h6ru554w8n] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--fo-text-muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.assignment-filter-disclosure[open] > summary .filter-disclosure-chevron[b-h6ru554w8n] {
    transform: rotate(180deg);
}

.quick-status-section > .quick-status-heading[b-h6ru554w8n] {
    margin-bottom: 0;
    flex-direction: row;
    align-items: center;
}

.quick-status-actions[b-h6ru554w8n] {
    display: flex;
    justify-content: flex-end;
}

.quick-status-actions:has(button)[b-h6ru554w8n] {
    margin-top: 12px;
}

.assignment-filter-disclosure .quick-status-grid[b-h6ru554w8n] {
    margin-top: 14px;
}

.assignment-filter-card:not([open]) > summary[b-h6ru554w8n] {
    border-bottom: 0;
}

@media (max-width: 760px) {
    .assignment-filter-card > summary[b-h6ru554w8n] {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .assignment-filter-summary small[b-h6ru554w8n] {
        display: none;
    }

    .quick-status-heading .filter-summary-meta[b-h6ru554w8n] {
        max-width: 55%;
    }
}

.heading-actions[b-h6ru554w8n] {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
}

.new-assignment-link[b-h6ru554w8n] {
    min-height: 52px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--fo-surface);
    background: var(--fo-primary-600);
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(37, 99, 235, 0.18);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 750;
}

.new-assignment-link:hover[b-h6ru554w8n] {
    background: var(--fo-primary-700);
}

.new-assignment-link .add-icon[b-h6ru554w8n] {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--fo-primary-700);
    background: var(--fo-surface);
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.total-counter[b-h6ru554w8n] {
    min-width: 150px;
    padding: 14px 18px;
    display: grid;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 11px;
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.045);
}

.total-counter strong[b-h6ru554w8n] {
    color: var(--fo-text);
    font-size: 1.3rem;
}

.total-counter span[b-h6ru554w8n] {
    margin-top: 2px;
    color: var(--fo-text-muted);
    font-size: 0.73rem;
}

.quick-status-section[b-h6ru554w8n] {
    margin-bottom: 16px;
    padding: 18px;
    background: linear-gradient(135deg, var(--fo-surface-tint) 0%, var(--fo-surface) 58%, var(--fo-surface-subtle) 100%);
    border: 1px solid light-dark(#dbe7f5, var(--fo-primary-200));
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.035);
}

.quick-status-heading[b-h6ru554w8n],
.filters-card-heading[b-h6ru554w8n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.quick-status-heading[b-h6ru554w8n] {
    margin-bottom: 14px;
}

.quick-status-heading > div[b-h6ru554w8n],
.filters-card-heading > div[b-h6ru554w8n] {
    display: grid;
    gap: 3px;
}

.quick-status-heading > div > span[b-h6ru554w8n],
.filters-kicker[b-h6ru554w8n] {
    color: var(--fo-primary-600);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-status-heading > div > strong[b-h6ru554w8n],
.filters-card-heading > div > strong[b-h6ru554w8n] {
    color: var(--fo-text);
    font-size: 0.9rem;
}

.clear-status-filter[b-h6ru554w8n] {
    min-height: 32px;
    padding: 0 11px;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
}

.clear-status-filter:hover[b-h6ru554w8n] {
    background: var(--fo-primary-100);
}

.quick-status-grid[b-h6ru554w8n] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.quick-status-card[b-h6ru554w8n] {
    --status-accent: var(--fo-primary-600);
    --status-soft: var(--fo-primary-50);
    --status-border: var(--fo-primary-200);
    min-height: 100px;
    padding: 13px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 5px 10px;
    color: var(--fo-text-emphasis);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 11px;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.quick-status-card:hover:not(:disabled)[b-h6ru554w8n] {
    transform: translateY(-1px);
    border-color: var(--status-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.quick-status-card.selected[b-h6ru554w8n] {
    background: var(--status-soft);
    border-color: var(--status-border);
    box-shadow: inset 3px 0 0 var(--status-accent);
}

.quick-status-card > span[b-h6ru554w8n] {
    align-self: center;
    color: var(--fo-text-emphasis);
    font-size: 0.75rem;
    font-weight: 750;
}

.quick-status-card > strong[b-h6ru554w8n] {
    min-width: 34px;
    align-self: center;
    color: var(--status-accent);
    font-size: 1.25rem;
    text-align: right;
}

.quick-status-card > small[b-h6ru554w8n] {
    grid-column: 1 / -1;
    align-self: end;
    color: var(--fo-text-subtle);
    font-size: 0.65rem;
    line-height: 1.35;
}

.quick-status-card.tone-cyan[b-h6ru554w8n] {
    --status-accent: #0891b2;
    --status-soft: #ecfeff;
    --status-border: #a5f3fc;
}

.quick-status-card.tone-violet[b-h6ru554w8n] {
    --status-accent: #7c3aed;
    --status-soft: #f5f3ff;
    --status-border: #ddd6fe;
}

.quick-status-card.tone-amber[b-h6ru554w8n] {
    --status-accent: #b45309;
    --status-soft: #fffbeb;
    --status-border: #fde68a;
}

.quick-status-card.tone-red[b-h6ru554w8n] {
    --status-accent: #dc2626;
    --status-soft: #fef2f2;
    --status-border: #fecaca;
}

.quick-status-card.tone-orange[b-h6ru554w8n] {
    --status-accent: #ea580c;
    --status-soft: #fff7ed;
    --status-border: #fed7aa;
}

.quick-status-card.tone-indigo[b-h6ru554w8n] {
    --status-accent: #4f46e5;
    --status-soft: #eef2ff;
    --status-border: #c7d2fe;
}

.quick-status-card.tone-green[b-h6ru554w8n] {
    --status-accent: #16a34a;
    --status-soft: #f0fdf4;
    --status-border: #bbf7d0;
}

.quick-status-card:disabled[b-h6ru554w8n],
.clear-status-filter:disabled[b-h6ru554w8n] {
    cursor: wait;
    opacity: 0.7;
}

.filters-card[b-h6ru554w8n] {
    padding: 20px;
    display: grid;
    gap: 18px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.active-filter-count[b-h6ru554w8n] {
    padding: 5px 9px;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 750;
}

.filter-grid[b-h6ru554w8n] {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
}

.search-field[b-h6ru554w8n] {
    grid-column: span 2;
}

.filter-field[b-h6ru554w8n] {
    display: grid;
    gap: 7px;
}

.filter-field > span[b-h6ru554w8n] {
    color: var(--fo-text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
}

.filter-field input[b-h6ru554w8n],
.filter-field select[b-h6ru554w8n] {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    color: var(--fo-text);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-strong);
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.82rem;
}

.filter-field input[b-h6ru554w8n]::placeholder {
    color: var(--fo-text-subtle);
}

.filter-field input:hover[b-h6ru554w8n],
.filter-field select:hover[b-h6ru554w8n] {
    border-color: var(--fo-text-subtle);
}

.filter-field input:focus[b-h6ru554w8n],
.filter-field select:focus[b-h6ru554w8n] {
    border-color: var(--fo-primary-600);
    outline: 3px solid rgba(37, 99, 235, 0.11);
}

.filter-message[b-h6ru554w8n] {
    padding: 10px 12px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 0.72rem;
}

.filter-message.error[b-h6ru554w8n] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-50);
    border-color: var(--fo-danger-200);
}

.filter-message.warning[b-h6ru554w8n] {
    color: var(--fo-warning-700);
    background: var(--fo-warning-50);
    border-color: var(--fo-warning-200);
}

.filter-actions[b-h6ru554w8n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-panel[b-h6ru554w8n] {
    margin-top: 18px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.state-panel[b-h6ru554w8n] {
    min-height: 350px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    text-align: center;
}

.state-panel strong[b-h6ru554w8n] {
    margin-top: 4px;
    color: var(--fo-text);
    font-size: 0.95rem;
}

.state-panel span[b-h6ru554w8n] {
    max-width: 480px;
    color: var(--fo-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.state-icon[b-h6ru554w8n] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--fo-danger-700) !important;
    background: var(--fo-danger-100);
    border-radius: 50%;
    font-size: 1.1rem !important;
    font-weight: 800;
}

.state-icon.empty[b-h6ru554w8n] {
    color: var(--fo-text-secondary) !important;
    background: var(--fo-surface-muted);
}

.error-state fluent-button[b-h6ru554w8n] {
    margin-top: 10px;
}

.table-scroll[b-h6ru554w8n] {
    overflow-x: auto;
}

.assignments-table[b-h6ru554w8n] {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    table-layout: fixed;
}

.assignments-table .assignment-column[b-h6ru554w8n] { width: 19%; }
.assignments-table .provider-column[b-h6ru554w8n] { width: 9%; }
.assignments-table .location-column[b-h6ru554w8n] { width: 20%; }
.assignments-table .priority-column[b-h6ru554w8n] { width: 10%; }
.assignments-table .workflow-column[b-h6ru554w8n] { width: 17%; }
.assignments-table .surveyor-column[b-h6ru554w8n] { width: 13%; }
.assignments-table .updated-column[b-h6ru554w8n] { width: 8%; }
.assignments-table .actions-column[b-h6ru554w8n] { width: 64px; }

.assignments-table th[b-h6ru554w8n] {
    padding: 10px 12px;
    color: var(--fo-text-muted);
    background: var(--fo-surface-subtle);
    border-bottom: 1px solid var(--fo-border);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    white-space: normal;
}

.sort-header[b-h6ru554w8n] {
    min-height: 30px;
    padding: 3px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 5px;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: center;
    cursor: pointer;
    transition: color .15s ease;
}
.sort-header > span[b-h6ru554w8n] { flex: 0 0 auto; color: var(--fo-text-subtle); font-size: .85rem; }
.sort-header:hover[b-h6ru554w8n], .sort-header.active[b-h6ru554w8n], .sort-header.active > span[b-h6ru554w8n] { color: var(--fo-primary-700); }
.sort-header.active > span[b-h6ru554w8n] { font-weight: 800; }
.sort-header:focus-visible[b-h6ru554w8n] { outline: 2px solid var(--fo-primary-400); outline-offset: 4px; }

.assignments-table td[b-h6ru554w8n] {
    padding: 13px 12px;
    color: var(--fo-text-emphasis);
    border-bottom: 1px solid var(--fo-border-faint);
    font-size: 0.84rem;
    vertical-align: middle;
    text-align: center;
    justify-items: center;
    overflow-wrap: anywhere;
}

.assignments-table th:first-child[b-h6ru554w8n],
.assignments-table td:first-child[b-h6ru554w8n] {
    padding-left: 12px;
}

.assignments-table th:last-child[b-h6ru554w8n],
.assignments-table td:last-child[b-h6ru554w8n] {
    position: sticky;
    right: 0;
    z-index: 2;
    background: var(--fo-surface);
    border-left: 1px solid var(--fo-border-faint);
}

.assignments-table th:last-child[b-h6ru554w8n] {
    z-index: 3;
    background: color-mix(in srgb, var(--fo-surface-subtle) 9%, transparent);
}

.assignment-row:nth-child(even) td:last-child[b-h6ru554w8n] {
    background: light-dark(#fbfcfe, var(--fo-surface-subtle));
}

.assignment-row:hover td:last-child[b-h6ru554w8n],
.assignment-row:focus-visible td:last-child[b-h6ru554w8n] {
    background: var(--fo-primary-50);
}

.assignments-table tbody tr[b-h6ru554w8n] {
    transition: background 100ms ease, box-shadow 100ms ease;
}

.assignment-row[b-h6ru554w8n] {
    cursor: pointer;
}

.assignment-row:hover[b-h6ru554w8n] {
    background: var(--fo-surface-tint);
}

.assignment-row:focus-visible[b-h6ru554w8n] {
    background: var(--fo-primary-50);
    outline: 2px solid var(--fo-primary-400);
    outline-offset: -2px;
}

.assignments-table tbody tr:last-child td[b-h6ru554w8n] {
    border-bottom: 0;
}

.reference-cell[b-h6ru554w8n],
.address-cell[b-h6ru554w8n] {
    display: grid;
    gap: 3px;
}

.reference-cell[b-h6ru554w8n] {
    justify-items: center;
}

.reference-cell .customer-name[b-h6ru554w8n] {
    margin-left: 0;
    color: var(--fo-text-emphasis);
    font-size: .82rem;
    font-weight: 650;
    line-height: 1.35;
}

.address-cell strong[b-h6ru554w8n] {
    color: var(--fo-text);
    font-size: 0.85rem;
    line-height: 1.4;
}

.reference-cell span[b-h6ru554w8n],
.address-cell span[b-h6ru554w8n] {
    max-width: 310px;
    color: var(--fo-text-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

.reference-cell small[b-h6ru554w8n] {
    color: var(--fo-text-muted);
    font-size: 0.72rem;
}

.building-reference[b-h6ru554w8n] {
    margin-left: 0;
}

.assignment-link[b-h6ru554w8n] {
    color: var(--fo-primary-700);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.assignment-link:hover[b-h6ru554w8n] {
    color: var(--fo-primary-700);
    text-decoration: none;
}

.provider-badge[b-h6ru554w8n],
.priority-badge[b-h6ru554w8n],
.status-badge[b-h6ru554w8n] {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
}

.provider-badge[b-h6ru554w8n] {
    min-height: 25px;
    padding: 0 8px;
    justify-content: center;
    gap: 6px;
    color: var(--fo-text-emphasis);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border-faint);
}

.provider-badge[b-h6ru554w8n]::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    background: var(--fo-text-subtle);
    border-radius: 50%;
}

.provider-badge.provider-ote[b-h6ru554w8n] {
    color: light-dark(#075bb4, var(--fo-link-strong));
    background: light-dark(#f5f9ff, var(--fo-surface-subtle));
    border-color: light-dark(#e2edfc, var(--fo-primary-200));
}

.provider-badge.provider-ote[b-h6ru554w8n]::before {
    background: #2387e8;
}

.provider-badge.provider-vodafone[b-h6ru554w8n] {
    color: light-dark(#b4232f, var(--fo-danger-700));
    background: light-dark(#fff7f8, var(--fo-surface-subtle));
    border-color: light-dark(#fce7eb, var(--fo-border));
}

.provider-badge.provider-vodafone[b-h6ru554w8n]::before {
    background: #e60014;
}

.provider-badge.provider-dei[b-h6ru554w8n] {
    color: light-dark(#0f766e, var(--fo-provider-dei-text));
    background: light-dark(#f3fbf8, var(--fo-surface-subtle));
    border-color: light-dark(#d7f2e8, var(--fo-success-200));
}

.provider-badge.provider-dei[b-h6ru554w8n]::before {
    background: #0f9f8f;
}

.priority-badge[b-h6ru554w8n],
.status-badge[b-h6ru554w8n] {
    min-height: 25px;
    padding: 0 9px;
}

.priority-low[b-h6ru554w8n] {
    color: var(--fo-success-700);
    background: var(--fo-success-50);
    box-shadow: inset 0 0 0 1px #bbf7d0;
}

.priority-normal[b-h6ru554w8n] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    box-shadow: inset 0 0 0 1px var(--fo-primary-200);
}

.priority-high[b-h6ru554w8n] {
    color: var(--fo-orange-800);
    background: var(--fo-orange-100);
    box-shadow: inset 0 0 0 1px #fed7aa;
}

.priority-critical[b-h6ru554w8n] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-100);
    box-shadow: inset 0 0 0 1px #fecaca;
}

.status-badge[b-h6ru554w8n] { max-width: 100%; min-height: 28px; padding: 5px 10px; box-sizing: border-box; white-space: normal; line-height: 1.4; border-radius: 8px; }

.status-new[b-h6ru554w8n] {
    color: var(--fo-link-deep);
    background: var(--fo-primary-100);
}

.status-pending[b-h6ru554w8n] {
    color: var(--fo-status-pending-text);
    background: var(--fo-status-pending-surface);
}

.status-active[b-h6ru554w8n] {
    color: var(--fo-status-active-text);
    background: var(--fo-status-active-surface);
}

.status-success[b-h6ru554w8n] {
    color: var(--fo-status-success-text);
    background: var(--fo-status-success-surface);
}

.status-danger[b-h6ru554w8n] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-100);
}

.status-muted[b-h6ru554w8n] {
    color: var(--fo-text-secondary);
    background: var(--fo-border);
}

.surveyor-state[b-h6ru554w8n] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fo-text-muted);
    line-height: 1.5;
}

.surveyor-state i[b-h6ru554w8n] {
    width: 7px;
    height: 7px;
    display: block;
    flex: 0 0 auto;
    background: var(--fo-border-strong);
    border-radius: 50%;
}

.surveyor-state i.assigned[b-h6ru554w8n] {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.11);
}

.assignments-table time[b-h6ru554w8n] {
    color: var(--fo-text-muted);
    white-space: nowrap;
    font-size: 0.78rem;
}

.updated-time[b-h6ru554w8n] { display: grid; gap: 3px; font-variant-numeric: tabular-nums; }
.updated-date[b-h6ru554w8n] { color: var(--fo-text-secondary); font-weight: 650; }
.updated-hour[b-h6ru554w8n] { color: var(--fo-text-muted); font-size: .73rem; }

.actions-heading[b-h6ru554w8n] {
    text-align: center !important;
}

.row-actions[b-h6ru554w8n] {
    text-align: center;
}

.row-actions .ui-action-group[b-h6ru554w8n] { justify-content: center; }

.delete-action[b-h6ru554w8n] {
    min-height: 31px;
    padding: 0 10px;
    color: var(--fo-danger-700);
    background: var(--fo-danger-50);
    border: 0;
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
}

.delete-action:hover[b-h6ru554w8n] {
    background: var(--fo-danger-100);
}

.delete-action:disabled[b-h6ru554w8n] {
    cursor: not-allowed;
    opacity: 0.55;
}

.pagination-bar[b-h6ru554w8n] {
    min-height: 60px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--fo-text-muted);
    background: var(--fo-surface-tint-soft);
    border-top: 1px solid var(--fo-border);
    font-size: 0.75rem;
}

.pagination-summary[b-h6ru554w8n],
.pagination-controls[b-h6ru554w8n],
.page-size-field[b-h6ru554w8n] {
    display: flex;
    align-items: center;
}

.pagination-summary[b-h6ru554w8n] {
    gap: 18px;
}

.page-size-field[b-h6ru554w8n] {
    gap: 7px;
    color: var(--fo-text-muted);
    font-size: 0.7rem;
}

.page-size-field select[b-h6ru554w8n] {
    min-height: 31px;
    padding: 0 8px;
    color: var(--fo-text-emphasis);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-strong);
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.72rem;
}

.pagination-controls[b-h6ru554w8n] {
    gap: 12px;
}

.pagination-controls strong[b-h6ru554w8n] {
    min-width: 120px;
    color: var(--fo-text-secondary);
    text-align: center;
    font-size: 0.73rem;
}

.pagination-button[b-h6ru554w8n] {
    min-width: 116px;
}

.pagination-arrow[b-h6ru554w8n] {
    font-size: 0.95rem;
    line-height: 1;
}

.page-indicator[b-h6ru554w8n] {
    min-width: 116px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--fo-surface-muted);
    border: 1px solid var(--fo-border);
    border-radius: 8px;
}

.page-indicator span[b-h6ru554w8n] {
    color: var(--fo-text-muted);
    font-weight: 600;
}

.notice[b-h6ru554w8n] {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 650;
}

.notice.success[b-h6ru554w8n] {
    color: var(--fo-status-success-text);
    background: var(--fo-success-50);
    border-color: var(--fo-success-200);
}

.notice.error[b-h6ru554w8n],
.dialog-error[b-h6ru554w8n] {
    color: var(--fo-danger-800);
    background: var(--fo-danger-50);
    border-color: var(--fo-danger-200);
}

.dialog-backdrop[b-h6ru554w8n] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    padding: 24px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
}

.delete-dialog[b-h6ru554w8n] {
    width: min(100%, 500px);
    padding: 24px;
    display: grid;
    gap: 14px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.dialog-kicker[b-h6ru554w8n] {
    color: var(--fo-danger-700);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.delete-dialog h2[b-h6ru554w8n] {
    margin: 0;
    color: var(--fo-text);
    font-size: 1.1rem;
}

.delete-dialog p[b-h6ru554w8n] {
    margin: 0;
    color: var(--fo-text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
}

.delete-dialog p strong[b-h6ru554w8n] {
    color: var(--fo-text);
}

.dialog-error[b-h6ru554w8n] {
    padding: 11px 12px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 0.72rem;
}

.delete-dialog footer[b-h6ru554w8n] {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.delete-dialog[b-h6ru554w8n]  .cancel-delete-button { min-height: 40px; }

.delete-dialog[b-h6ru554w8n]  .cancel-delete-button {
    min-height: 40px;
    padding: 0 16px;
    box-sizing: border-box;
    border: 1px solid;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    transition: background .15s ease, border-color .15s ease;
}

@media (forced-colors: none) {
.delete-dialog[b-h6ru554w8n]  .cancel-delete-button {
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
    border-color: var(--fo-border-strong);
}

.delete-dialog[b-h6ru554w8n]  .cancel-delete-button:not([disabled]):hover {
    color: var(--fo-text-emphasis);
    background: var(--fo-surface-muted);
    border-color: var(--fo-text-subtle);
}

.delete-dialog[b-h6ru554w8n]  .cancel-delete-button:focus-within {
    outline: 2px solid var(--fo-primary-400);
    outline-offset: 2px;
}
}

.delete-dialog[b-h6ru554w8n]  .cancel-delete-button[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

@media (max-width: 1180px) {
    .quick-status-grid[b-h6ru554w8n],
    .filter-grid[b-h6ru554w8n] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .quick-status-grid[b-h6ru554w8n],
    .filter-grid[b-h6ru554w8n] {
        grid-template-columns: 1fr;
    }

    .search-field[b-h6ru554w8n] {
        grid-column: auto;
    }

    .quick-status-heading[b-h6ru554w8n],
    .filters-card-heading[b-h6ru554w8n],
    .pagination-bar[b-h6ru554w8n],
    .pagination-summary[b-h6ru554w8n],
    .pagination-controls[b-h6ru554w8n] {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-actions[b-h6ru554w8n] {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-actions fluent-button[b-h6ru554w8n] {
        width: 100%;
    }

    .heading-actions[b-h6ru554w8n] {
        width: 100%;
        flex-direction: column;
    }

    .new-assignment-link[b-h6ru554w8n] {
        width: 100%;
    }

    .pagination-bar[b-h6ru554w8n] {
        padding: 18px;
    }

    .page-size-field[b-h6ru554w8n] {
        justify-content: space-between;
    }
}

@media (max-width: 520px) {
    .dialog-backdrop[b-h6ru554w8n] {
        padding: 12px;
    }

    .delete-dialog footer[b-h6ru554w8n] {
        align-items: stretch;
        flex-direction: column-reverse;
    }
}


/* Visual hierarchy for the assignments workspace. */
.page-heading[b-h6ru554w8n] {
    padding: 22px 24px;
    align-items: center;
    background: linear-gradient(120deg, color-mix(in srgb, var(--fo-surface) 96%, transparent), color-mix(in srgb, var(--fo-primary-50) 90%, transparent));
    border: 1px solid color-mix(in srgb, var(--fo-primary-200) 90%, transparent);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(30, 64, 175, .07);
    backdrop-filter: blur(10px);
}

.quick-status-section[b-h6ru554w8n],
.filters-card[b-h6ru554w8n],
.results-panel[b-h6ru554w8n] {
    background: color-mix(in srgb, var(--fo-surface) 94%, transparent);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .065);
    backdrop-filter: blur(10px);
}

.results-panel[b-h6ru554w8n] {
    border-radius: 12px;
    background: var(--fo-surface);
    box-shadow: 0 6px 22px rgba(15, 23, 42, .04);
    backdrop-filter: none;
}

.assignments-table[b-h6ru554w8n] {
    border-collapse: separate;
    border-spacing: 0;
}

.assignments-table th[b-h6ru554w8n] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: color-mix(in srgb, var(--fo-surface-subtle) 9%, transparent);
    backdrop-filter: blur(8px);
}

.assignments-table td:first-child[b-h6ru554w8n] {
    position: relative;
}

.assignment-row:nth-child(even)[b-h6ru554w8n] {
    background: color-mix(in srgb, var(--fo-surface-subtle) 55%, transparent);
}

.assignments-table td:first-child[b-h6ru554w8n]::before {
    content: "";
    width: 3px;
    position: absolute;
    inset: 0 auto 0 0;
    background: transparent;
}

.assignment-row:hover td:first-child[b-h6ru554w8n]::before,
.assignment-row:focus-visible td:first-child[b-h6ru554w8n]::before {
    background: #3b82f6;
}

.assignment-row:hover[b-h6ru554w8n] {
    background: light-dark(#f0f6ff, var(--fo-surface-subtle));
}

.assignment-link[b-h6ru554w8n] {
    width: fit-content;
    padding: 0;
    color: var(--fo-primary-700);
    background: transparent;
    border: 0;
    border-radius: 3px;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.assignment-link:hover[b-h6ru554w8n] { color: var(--fo-link-deep); text-decoration: underline; text-underline-offset: 3px; }
.assignment-link:focus-visible[b-h6ru554w8n] { outline: 2px solid var(--fo-primary-400); outline-offset: 3px; }

@media (max-width: 760px) {
    .assignments-table[b-h6ru554w8n] { display: block; }
    .assignments-table colgroup[b-h6ru554w8n] { display: none; }
    .assignments-table tbody[b-h6ru554w8n] { width: 100%; box-sizing: border-box; }
    .assignment-row[b-h6ru554w8n] { height: auto; }
    .assignments-table td:first-child[b-h6ru554w8n]::before { width: auto; position: static; background: transparent; }
    .assignment-row:hover td:first-child[b-h6ru554w8n]::before,
    .assignment-row:focus-visible td:first-child[b-h6ru554w8n]::before { background: transparent; }
    .page-heading[b-h6ru554w8n] {
        padding: 18px;
    }

    .assignments-table th:last-child[b-h6ru554w8n],
    .assignments-table td:last-child[b-h6ru554w8n] {
        position: static;
        box-shadow: none;
        border-left: 0;
    }
}

/* FR-08.6: outcome facts are text (never color alone) under the status badge. */
.outcome-note[b-h6ru554w8n] {
    display: block;
    max-width: 220px;
    margin-top: 4px;
    color: var(--fo-text-secondary);
    font-size: var(--fo-font-caption);
    line-height: 1.35;
    overflow-wrap: anywhere;
}
/* /Components/Pages/Crews.razor.rz.scp.css */
.crew-page-heading[b-ruil9kf2l1] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

    .crew-page-heading > div > span[b-ruil9kf2l1],
    .crew-table-heading > div > span[b-ruil9kf2l1] {
        color: var(--neutral-foreground-hint);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .crew-page-heading h1[b-ruil9kf2l1],
    .crew-table-heading h2[b-ruil9kf2l1] {
        margin: .25rem 0;
    }

    .crew-page-heading p[b-ruil9kf2l1] {
        margin: 0;
        color: var(--neutral-foreground-hint);
    }

.crew-message[b-ruil9kf2l1] {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border-radius: .75rem;
    font-weight: 600;
}

    .crew-message.success[b-ruil9kf2l1] {
        background: light-dark(#eaf8ef, var(--fo-surface-subtle));
        color: light-dark(#146c36, var(--fo-success-700));
    }

    .crew-message.error[b-ruil9kf2l1],
    .crew-dialog-error[b-ruil9kf2l1] {
        background: light-dark(#fff0f0, var(--fo-surface-subtle));
        color: light-dark(#a4262c, var(--fo-danger-700));
    }

.crew-state[b-ruil9kf2l1] {
    min-height: 12rem;
    display: grid;
    place-items: center;
    gap: .75rem;
    padding: 2rem;
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: 1rem;
    background: var(--neutral-layer-1);
}

/* Category summary */

.crew-category-summary[b-ruil9kf2l1] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.crew-category-card[b-ruil9kf2l1] {
    position: relative;
    display: grid;
    gap: .35rem;
    min-height: 9rem;
    padding: 1.25rem 1.35rem;
    overflow: hidden;
    border: 1px solid var(--neutral-stroke-rest);
    border-top: 4px solid var(--fo-primary-600);
    border-radius: 1rem;
    background: var(--neutral-layer-1);
    box-shadow: 0 .2rem .75rem rgb(0 0 0 / 5%);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .crew-category-card:hover[b-ruil9kf2l1] {
        transform: translateY(-2px);
        box-shadow: 0 .5rem 1.25rem rgb(0 0 0 / 9%);
    }

.crew-category-name[b-ruil9kf2l1] {
    color: var(--fo-primary-600);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.crew-category-count[b-ruil9kf2l1] {
    display: block;
    margin-top: .35rem;
    color: var(--neutral-foreground-rest);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
}

.crew-category-description[b-ruil9kf2l1] {
    margin-top: .15rem;
    color: var(--neutral-foreground-hint);
    font-size: .88rem;
}

/* Second category */

.crew-category-card:nth-child(3n + 2)[b-ruil9kf2l1] {
    border-top-color: #059669;
}

    .crew-category-card:nth-child(3n + 2) .crew-category-name[b-ruil9kf2l1] {
        color: light-dark(#059669, var(--fo-success-700));
    }

/* Third category */

.crew-category-card:nth-child(3n + 3)[b-ruil9kf2l1] {
    border-top-color: #d97706;
}

    .crew-category-card:nth-child(3n + 3) .crew-category-name[b-ruil9kf2l1] {
        color: light-dark(#d97706, var(--fo-orange-800));
    }

/* Table */

.crew-table-card[b-ruil9kf2l1] {
    padding: 0;
    overflow: hidden;
}

.crew-table-heading[b-ruil9kf2l1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--neutral-stroke-rest);
}

    .crew-table-heading label[b-ruil9kf2l1] {
        display: flex;
        align-items: center;
        gap: .5rem;
    }

.crew-table-scroll[b-ruil9kf2l1] {
    overflow-x: auto;
}

    .crew-table-scroll table[b-ruil9kf2l1] {
        width: 100%;
        border-collapse: collapse;
    }

    .crew-table-scroll th[b-ruil9kf2l1],
    .crew-table-scroll td[b-ruil9kf2l1] {
        padding: .9rem 1rem;
        text-align: left;
        border-bottom: 1px solid var(--neutral-stroke-rest);
    }

    .crew-table-scroll th[b-ruil9kf2l1] {
        color: var(--neutral-foreground-hint);
        font-size: .78rem;
        text-transform: uppercase;
    }

    .crew-table-scroll tbody tr[b-ruil9kf2l1] {
        transition: background-color .15s ease;
    }

        .crew-table-scroll tbody tr:hover[b-ruil9kf2l1] {
            background: var(--neutral-layer-2);
        }

        .crew-table-scroll tbody tr:last-child td[b-ruil9kf2l1] {
            border-bottom: 0;
        }

/* Status */

.crew-status[b-ruil9kf2l1] {
    display: inline-flex;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}

    .crew-status.active[b-ruil9kf2l1] {
        background: light-dark(#eaf8ef, var(--fo-surface-subtle));
        color: light-dark(#146c36, var(--fo-success-700));
    }

    .crew-status.inactive[b-ruil9kf2l1] {
        background: light-dark(#f1f1f1, var(--fo-surface-subtle));
        color: light-dark(#666, var(--fo-text-secondary));
    }

/* Actions */

.crew-actions[b-ruil9kf2l1] {
    min-width: 230px;
    vertical-align: middle;
    white-space: nowrap;
}

    .crew-actions button[b-ruil9kf2l1] {
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--accent-fill-rest);
        font-family: inherit;
        font-size: .78rem;
        font-weight: 600;
        cursor: pointer;
    }

        .crew-actions button:hover:not(:disabled)[b-ruil9kf2l1] {
            text-decoration: underline;
        }

        .crew-actions button:disabled[b-ruil9kf2l1] {
            opacity: .45;
            cursor: not-allowed;
        }

        .crew-actions button + button[b-ruil9kf2l1] {
            margin-left: 1rem;
        }

.crew-empty[b-ruil9kf2l1] {
    padding: 2rem;
    text-align: center;
    color: var(--neutral-foreground-hint);
}

/* Dialog */

.crew-dialog-backdrop[b-ruil9kf2l1] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 45%);
}

.crew-dialog[b-ruil9kf2l1] {
    width: min(32rem, 100%);
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--neutral-layer-1);
    box-shadow: 0 1.2rem 3rem rgb(0 0 0 / 22%);
}

    .crew-dialog header[b-ruil9kf2l1],
    .crew-dialog footer[b-ruil9kf2l1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

        .crew-dialog header h2[b-ruil9kf2l1] {
            margin: 0;
        }

        .crew-dialog header button[b-ruil9kf2l1] {
            border: 0;
            background: transparent;
            font-size: 1.5rem;
            cursor: pointer;
        }

    .crew-dialog label[b-ruil9kf2l1] {
        display: grid;
        gap: .4rem;
        font-weight: 600;
    }

    .crew-dialog input[b-ruil9kf2l1],
    .crew-dialog select[b-ruil9kf2l1] {
        width: 100%;
        box-sizing: border-box;
        padding: .7rem .8rem;
        border: 1px solid var(--neutral-stroke-rest);
        border-radius: .55rem;
        background: var(--neutral-layer-1);
        color: inherit;
    }

        .crew-dialog input:focus[b-ruil9kf2l1],
        .crew-dialog select:focus[b-ruil9kf2l1] {
            outline: 2px solid var(--accent-fill-rest);
            outline-offset: 1px;
        }

.crew-dialog-error[b-ruil9kf2l1] {
    padding: .75rem;
    border-radius: .6rem;
}

/* Responsive */

@media (max-width: 900px) {
    .crew-category-summary[b-ruil9kf2l1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .crew-page-heading[b-ruil9kf2l1],
    .crew-table-heading[b-ruil9kf2l1] {
        flex-direction: column;
        align-items: stretch;
    }

    .crew-category-summary[b-ruil9kf2l1] {
        grid-template-columns: 1fr;
    }

    .crew-category-card[b-ruil9kf2l1] {
        min-height: auto;
    }

    .crew-actions[b-ruil9kf2l1] {
        min-width: 220px;
    }
}

/* Reduced-motion support for category overview cards. */
@media (prefers-reduced-motion: reduce) {
    .crew-category-card[b-ruil9kf2l1],
    .crew-category-card:hover[b-ruil9kf2l1] { transform: none; transition: none; }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dashboard-topbar[b-t1ur3ljjl2] {
    min-width: 0;
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--fo-primary-200);
    border-radius: var(--fo-radius-lg);
    background:
        radial-gradient(circle at 92% -35%, rgba(59, 130, 246, .2), transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--fo-surface) 98%, transparent), color-mix(in srgb, var(--fo-primary-50) 90%, transparent));
    box-shadow: var(--fo-shadow-card);
}

.dashboard-topbar[b-t1ur3ljjl2]::before {
    content: "";
    width: 5px;
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(180deg, var(--fo-primary-600), #38bdf8);
}

.dashboard-title[b-t1ur3ljjl2] {
    min-width: 0;
}

.dashboard-title h1[b-t1ur3ljjl2] {
    margin: .2rem 0 .35rem;
    color: var(--fo-text);
    font-size: clamp(1.65rem, 2.6vw, 2.1rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.dashboard-title p[b-t1ur3ljjl2] {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .42rem;
    color: var(--fo-text-muted);
    font-size: .76rem;
}

.dashboard-title p i[b-t1ur3ljjl2] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fo-primary-500);
}

.dashboard-title p strong[b-t1ur3ljjl2] {
    color: var(--fo-text-secondary);
    font-weight: 720;
}

.dashboard-actions[b-t1ur3ljjl2] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .6rem;
}

.live-state[b-t1ur3ljjl2] {
    min-height: 40px;
    padding: 0 .82rem;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    border: 1px solid var(--fo-border);
    border-radius: 10px;
    color: var(--fo-text-muted);
    background: color-mix(in srgb, var(--fo-surface) 88%, transparent);
    box-shadow: 0 3px 10px rgba(15, 23, 42, .035);
    font-size: .8rem;
    font-weight: 720;
    white-space: nowrap;
}

.live-state i[b-t1ur3ljjl2] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .12);
}

.live-state.connected[b-t1ur3ljjl2] {
    color: light-dark(#047857, var(--fo-success-700));
    border-color: var(--fo-success-200);
    background: var(--fo-success-50);
}

.live-state.connected i[b-t1ur3ljjl2] {
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.new-assignment-action[b-t1ur3ljjl2] {
    min-height: 40px;
    padding: 0 .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    border-radius: 10px;
    font: inherit;
    font-size: .8rem;
    font-weight: 770;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
}

.new-assignment-action[b-t1ur3ljjl2] {
    color: var(--fo-surface);
    border: 1px solid var(--fo-primary-700);
    background: linear-gradient(135deg, var(--fo-primary-600), var(--fo-primary-700));
    box-shadow: 0 8px 18px rgba(37, 99, 235, .2);
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.new-assignment-action:hover[b-t1ur3ljjl2] {
    color: var(--fo-surface);
    background: linear-gradient(135deg, var(--fo-primary-700), #1e40af);
    box-shadow: 0 11px 22px rgba(37, 99, 235, .25);
    transform: translateY(-1px);
}

.new-assignment-action > .ui-create-icon[b-t1ur3ljjl2] {
    line-height: 1;
}

.dashboard-message[b-t1ur3ljjl2] {
    margin-bottom: .75rem;
    padding: .72rem .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 10px;
}

.dashboard-message.error[b-t1ur3ljjl2] {
    color: var(--fo-danger-800);
    border: 1px solid var(--fo-danger-200);
    background: light-dark(#fff1f2, var(--fo-surface-subtle));
}

.dashboard-message > div[b-t1ur3ljjl2] {
    display: grid;
    gap: .15rem;
}

.dashboard-message strong[b-t1ur3ljjl2] {
    font-size: .8rem;
}

.dashboard-message span[b-t1ur3ljjl2] {
    font-size: .75rem;
}

.dashboard-message button[b-t1ur3ljjl2] {
    min-height: 40px;
    padding: 0 .8rem;
    border: 1px solid currentColor;
    border-radius: 8px;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
}

.metrics-grid[b-t1ur3ljjl2] {
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .85rem;
}

.metric-card[b-t1ur3ljjl2] {
    min-width: 0;
    min-height: 104px;
    padding: .95rem;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: .8rem;
    position: relative;
    overflow: hidden;
    color: inherit;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
    background: color-mix(in srgb, var(--fo-surface) 94%, transparent);
    text-decoration: none;
    box-shadow: var(--fo-shadow-card);
    transition: transform var(--fo-transition), border-color var(--fo-transition), box-shadow var(--fo-transition);
}

.metric-card:hover[b-t1ur3ljjl2] {
    transform: translateY(-2px);
    border-color: var(--fo-primary-200);
    box-shadow: 0 13px 28px rgba(15, 23, 42, .085);
}

.metric-card[b-t1ur3ljjl2]::after {
    content: "";
    width: 64px;
    height: 64px;
    position: absolute;
    right: -30px;
    bottom: -34px;
    border-radius: 50%;
    background: currentColor;
    opacity: .045;
}

.metric-card:focus-visible[b-t1ur3ljjl2],
.recent-assignment:focus-visible[b-t1ur3ljjl2],
.dashboard-notification:focus-visible[b-t1ur3ljjl2],
.new-assignment-action:focus-visible[b-t1ur3ljjl2] {
    outline: 3px solid var(--fo-focus);
    outline-offset: 2px;
}

.metric-card.loading[b-t1ur3ljjl2] {
    background: linear-gradient(110deg, var(--fo-surface), var(--fo-surface-tint));
}

.metric-card.loading .metric-copy[b-t1ur3ljjl2] {
    opacity: .68;
}

.metric-icon[b-t1ur3ljjl2] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
}

.metric-icon svg[b-t1ur3ljjl2] {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.metric-copy[b-t1ur3ljjl2] {
    min-width: 0;
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: .16rem .55rem;
}

.metric-copy small[b-t1ur3ljjl2] {
    overflow: hidden;
    color: var(--fo-text-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
}

.metric-copy strong[b-t1ur3ljjl2] {
    grid-column: 2;
    justify-self: end;
    font-variant-numeric: tabular-nums;
    grid-row: 1;
    align-self: center;
    color: var(--fo-text);
    font-size: 1.72rem;
    line-height: 1;
    letter-spacing: -.035em;
}

.metric-copy > span[b-t1ur3ljjl2] {
    grid-column: 1 / -1;
    overflow: hidden;
    color: var(--fo-text-muted);
    font-size: .75rem;
    line-height: 1.35;
    white-space: normal;
}

.metric-card.needs-action[b-t1ur3ljjl2] {
    border-color: #fcd34d;
    background: linear-gradient(135deg, var(--fo-surface), var(--fo-warning-50));
    box-shadow: inset 3px 0 0 #d97706;
}

.metric-card.needs-action .metric-copy strong[b-t1ur3ljjl2] {
    color: var(--fo-warning-700);
}

.metric-card.all .metric-icon[b-t1ur3ljjl2] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-100);
}

.metric-card.survey .metric-icon[b-t1ur3ljjl2] {
    color: light-dark(#b77905, var(--fo-orange-800));
    background: var(--fo-warning-100);
}

.metric-card.survey-active .metric-icon[b-t1ur3ljjl2] {
    color: light-dark(#0369a1, var(--fo-link-strong));
    background: light-dark(#e0f2fe, var(--fo-primary-50));
}

.metric-card.provider .metric-icon[b-t1ur3ljjl2] {
    color: light-dark(#7c3aed, var(--fo-status-active-text));
    background: var(--fo-status-active-surface);
}

.metric-card.crew .metric-icon[b-t1ur3ljjl2] {
    color: light-dark(#047857, var(--fo-success-700));
    background: light-dark(#d1fae5, var(--fo-status-success-surface));
}

.metric-card.final .metric-icon[b-t1ur3ljjl2] {
    color: light-dark(#be123c, var(--fo-danger-700));
    background: light-dark(#ffe4e6, var(--fo-danger-50));
}

.analytics-grid[b-t1ur3ljjl2] {
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
}

.provider-panel[b-t1ur3ljjl2] {
    grid-column: span 1;
}

.workflow-panel[b-t1ur3ljjl2],
.map-panel[b-t1ur3ljjl2] {
    grid-column: span 2;
}

.dashboard-panel[b-t1ur3ljjl2] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-lg);
    background: color-mix(in srgb, var(--fo-surface) 96%, transparent);
    box-shadow: var(--fo-shadow-card);
}

.compact-panel[b-t1ur3ljjl2] {
    min-height: 280px;
    display: grid;
    grid-template-rows: auto 1fr;
}

.panel-heading[b-t1ur3ljjl2] {
    min-height: 66px;
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    border-bottom: 1px solid var(--fo-border-faint);
}

.panel-heading > div[b-t1ur3ljjl2] {
    min-width: 0;
    flex: 1 1 auto;
}

.panel-kicker[b-t1ur3ljjl2] {
    display: block;
    color: var(--fo-primary-600);
    font-size: .75rem;
    font-weight: 820;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.panel-heading h2[b-t1ur3ljjl2] {
    margin: .18rem 0 0;
    overflow: hidden;
    color: var(--fo-text);
    font-size: .9rem;
    line-height: 1.4;
    white-space: normal;
}

.panel-heading > small[b-t1ur3ljjl2],
.panel-heading > a[b-t1ur3ljjl2] {
    flex: 0 0 auto;
    margin-left: auto;
    padding: .3rem .48rem;
    color: var(--fo-text-muted);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.panel-heading > a[b-t1ur3ljjl2] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
}

.panel-heading > a:hover[b-t1ur3ljjl2] {
    background: var(--fo-primary-100);
}

.compact-panel .panel-heading > small[b-t1ur3ljjl2] {
    min-width: 2.2rem;
    padding-left: .4rem;
    text-align: right;
}

.chart-empty[b-t1ur3ljjl2] {
    min-height: 0;
    padding: 1.25rem;
    display: grid;
    place-items: center;
    color: var(--fo-text-muted);
    text-align: center;
    font-size: .78rem;
}

.provider-chart[b-t1ur3ljjl2] {
    min-height: 0;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    align-content: center;
    gap: .9rem;
}

.provider-donut[b-t1ur3ljjl2] {
    width: min(132px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    position: relative;
    justify-self: center;
}

.provider-donut svg[b-t1ur3ljjl2] {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-track[b-t1ur3ljjl2],
.donut-segment[b-t1ur3ljjl2] {
    fill: none;
    stroke-width: 6;
}

.donut-track[b-t1ur3ljjl2] {
    stroke: var(--fo-border-faint);
}

.donut-segment[b-t1ur3ljjl2] {
    stroke-linecap: butt;
}

.donut-segment.provider-ote[b-t1ur3ljjl2] {
    stroke: #1683c7;
}

.donut-segment.provider-vodafone[b-t1ur3ljjl2] {
    stroke: #e60000;
}

.donut-segment.provider-dei[b-t1ur3ljjl2] {
    stroke: #eab308;
}

.donut-segment.provider-other[b-t1ur3ljjl2] {
    stroke: var(--fo-text-muted);
}

.provider-donut > span[b-t1ur3ljjl2] {
    display: grid;
    position: absolute;
    inset: 0;
    place-content: center;
    justify-items: center;
    pointer-events: none;
}

.provider-donut > span strong[b-t1ur3ljjl2] {
    color: var(--fo-text);
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -.04em;
}

.provider-donut > span small[b-t1ur3ljjl2] {
    margin-top: .2rem;
    color: var(--fo-text-muted);
    font-size: .75rem;
}

.provider-legend[b-t1ur3ljjl2] {
    display: grid;
    gap: .68rem;
    width: 100%;
    max-width: 220px;
    justify-self: center;
}

.provider-legend > div[b-t1ur3ljjl2] {
    min-width: 0;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: center;
    gap: .42rem;
    color: var(--fo-text-secondary);
    font-size: .78rem;
}

.provider-legend i[b-t1ur3ljjl2],
.map-legend i[b-t1ur3ljjl2] {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
}

.provider-legend strong[b-t1ur3ljjl2] {
    color: var(--fo-text);
    font-size: .8rem;
}

.provider-legend i.provider-ote[b-t1ur3ljjl2],
.map-legend i.provider-ote[b-t1ur3ljjl2] {
    background: #1683c7;
}

.provider-legend i.provider-vodafone[b-t1ur3ljjl2],
.map-legend i.provider-vodafone[b-t1ur3ljjl2] {
    background: #e60000;
}

.provider-legend i.provider-dei[b-t1ur3ljjl2],
.map-legend i.provider-dei[b-t1ur3ljjl2] {
    background: #eab308;
}

.provider-legend i.provider-other[b-t1ur3ljjl2],
.map-legend i.provider-other[b-t1ur3ljjl2] {
    background: var(--fo-text-muted);
}

.workflow-chart[b-t1ur3ljjl2] {
    min-height: min-content;
    padding: 1rem 1.1rem;
    display: grid;
    align-content: start;
    gap: .66rem;
}

.workflow-bar-row[b-t1ur3ljjl2] {
    display: grid;
    gap: .3rem;
}

.workflow-bar-label[b-t1ur3ljjl2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    color: var(--fo-text-secondary);
    font-size: .78rem;
    font-weight: 680;
}

.workflow-bar-label strong[b-t1ur3ljjl2] {
    min-width: 1.35rem;
    color: var(--fo-text);
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.workflow-bar-track[b-t1ur3ljjl2] {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--fo-border-faint);
}

.workflow-bar-track i[b-t1ur3ljjl2] {
    height: 100%;
    display: block;
    border-radius: inherit;
    transition: width .2s ease;
}

.workflow-bar-track i.survey[b-t1ur3ljjl2] {
    background: linear-gradient(90deg, var(--fo-primary-600), var(--fo-primary-400));
}

.workflow-bar-track i.provider[b-t1ur3ljjl2] {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}

.workflow-bar-track i.crew[b-t1ur3ljjl2] {
    background: linear-gradient(90deg, #059669, #34d399);
}

.workflow-bar-track i.final[b-t1ur3ljjl2] {
    background: linear-gradient(90deg, #7c3aed, light-dark(#a78bfa, var(--fo-status-active-surface)));
}

.workflow-bar-track i.completed[b-t1ur3ljjl2] {
    background: linear-gradient(90deg, #0f766e, #2dd4bf);
}

.workflow-bar-track i.other[b-t1ur3ljjl2] {
    background: linear-gradient(90deg, var(--fo-text-muted), var(--fo-text-subtle));
}

.map-panel[b-t1ur3ljjl2] {
    grid-template-rows: auto 1fr auto;
}

.map-shell[b-t1ur3ljjl2] {
    min-height: 0;
    position: relative;
    background: light-dark(#eaf1f7, var(--fo-surface-subtle));
}

.assignments-map[b-t1ur3ljjl2] {
    width: 100%;
    height: 100%;
    min-height: 226px;
    position: relative;
    z-index: 1;
}

.map-empty-state[b-t1ur3ljjl2] {
    min-height: 220px;
    padding: 1.5rem;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .65rem;
    background: linear-gradient(145deg, var(--fo-surface-subtle), var(--fo-primary-50));
    text-align: center;
}

.map-empty-icon[b-t1ur3ljjl2] {
    width: 56px;
    height: 56px;
    margin-bottom: .25rem;
    display: grid;
    place-items: center;
    color: var(--fo-text-muted);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 18px;
}

.map-empty-icon svg[b-t1ur3ljjl2] {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-empty-state strong[b-t1ur3ljjl2] {
    color: var(--fo-text-emphasis);
    font-size: .9rem;
}

.map-empty-state > span:last-child[b-t1ur3ljjl2] {
    max-width: 310px;
    color: var(--fo-text-muted);
    font-size: .8rem;
    line-height: 1.5;
}

.map-overlay[b-t1ur3ljjl2] {
    max-width: calc(100% - 1.5rem);
    padding: .72rem .82rem;
    display: grid;
    gap: .22rem;
    position: absolute;
    z-index: 500;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid color-mix(in srgb, var(--fo-border-strong) 85%, transparent);
    border-radius: 10px;
    color: var(--fo-text-emphasis);
    background: color-mix(in srgb, var(--fo-surface) 94%, transparent);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
    text-align: center;
    backdrop-filter: blur(6px);
}

.map-overlay strong[b-t1ur3ljjl2] {
    color: var(--fo-text);
    font-size: .78rem;
}

.map-overlay span[b-t1ur3ljjl2] {
    color: var(--fo-text-muted);
    font-size: .75rem;
    line-height: 1.4;
}

.map-overlay.error[b-t1ur3ljjl2] {
    border-color: var(--fo-danger-200);
    background: light-dark(rgba(255, 241, 242, .96), color-mix(in srgb, var(--fo-surface-subtle) 96%, transparent));
}

.map-legend[b-t1ur3ljjl2] {
    min-height: 40px;
    padding: .5rem .85rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem .85rem;
    border-top: 1px solid var(--fo-border-faint);
}

.map-legend span[b-t1ur3ljjl2] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--fo-text-secondary);
    font-size: .75rem;
    font-weight: 680;
}

.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker {
    width: 20px !important;
    height: 20px !important;
    display: grid;
    place-items: center;
    border: 3px solid var(--fo-surface);
    border-radius: 50%;
    background: var(--fo-text-muted);
    box-shadow: 0 3px 9px rgba(15, 23, 42, .3);
}

.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker span {
    width: 5px;
    height: 5px;
    display: block;
    border-radius: 50%;
    background: color-mix(in srgb, var(--fo-surface) 96%, transparent);
}

.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-ote {
    background: #1683c7;
}

.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-vodafone {
    background: #e60000;
}

.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-dei {
    background: #eab308;
}

.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-other {
    background: var(--fo-text-muted);
}

.assignments-map[b-t1ur3ljjl2]  .leaflet-tooltip.assignment-map-tooltip {
    padding: .55rem .65rem;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 9px 22px rgba(15, 23, 42, .16);
}

.assignments-map[b-t1ur3ljjl2]  .assignment-tooltip-content {
    min-width: 170px;
    display: grid;
    gap: .13rem;
}

.assignments-map[b-t1ur3ljjl2]  .assignment-tooltip-content strong {
    color: var(--fo-text);
    font-size: .78rem;
}

.assignments-map[b-t1ur3ljjl2]  .assignment-tooltip-content span {
    color: var(--fo-text-secondary);
    font-size: .58rem;
}

.assignments-map[b-t1ur3ljjl2]  .assignment-tooltip-content small {
    color: var(--fo-primary-600);
    font-size: .56rem;
    font-weight: 750;
}

.assignments-map[b-t1ur3ljjl2]  .leaflet-control-attribution {
    font-size: 8px;
}

.activity-grid[b-t1ur3ljjl2] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: .85rem;
}

.recent-panel[b-t1ur3ljjl2] {
    grid-column: span 3;
}

.notifications-panel[b-t1ur3ljjl2] {
    grid-column: span 2;
}

.recent-panel[b-t1ur3ljjl2],
.notifications-panel[b-t1ur3ljjl2] {
    min-height: 318px;
}

.panel-state[b-t1ur3ljjl2] {
    min-height: 220px;
    padding: 1.2rem;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .4rem;
    color: var(--fo-text-muted);
    text-align: center;
    font-size: .78rem;
}

.panel-state.empty strong[b-t1ur3ljjl2] {
    color: var(--fo-text-emphasis);
}

.panel-state.empty span[b-t1ur3ljjl2] {
    max-width: 280px;
    font-size: .75rem;
}

.recent-list[b-t1ur3ljjl2] {
    padding: .35rem .72rem .5rem;
}

.recent-assignment[b-t1ur3ljjl2] {
    min-width: 0;
    min-height: 49px;
    padding: .44rem .4rem;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto auto 15px;
    align-items: center;
    gap: .62rem;
    color: inherit;
    border-bottom: 1px solid var(--fo-surface-muted);
    border-radius: 7px;
    text-decoration: none;
}

.recent-assignment:last-child[b-t1ur3ljjl2] {
    border-bottom: 0;
}

.recent-assignment:hover[b-t1ur3ljjl2] {
    background: var(--fo-primary-50);
}

.recent-main[b-t1ur3ljjl2] {
    min-width: 0;
    display: grid;
    gap: .08rem;
}

.recent-main strong[b-t1ur3ljjl2],
.recent-main small[b-t1ur3ljjl2] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-main strong[b-t1ur3ljjl2] {
    color: var(--fo-text);
    font-size: .85rem;
}

.recent-main small[b-t1ur3ljjl2],
.recent-assignment time[b-t1ur3ljjl2] {
    color: var(--fo-text-muted);
    font-size: .75rem;
}

.recent-assignment time[b-t1ur3ljjl2] {
    white-space: nowrap;
}

.recent-assignment > svg[b-t1ur3ljjl2] {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--fo-text-subtle);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.assignment-status[b-t1ur3ljjl2] {
    max-width: 128px;
    padding: .3rem .5rem;
    overflow: hidden;
    border-radius: 999px;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-muted);
    font-size: .59rem;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-pendingsurveyreview[b-t1ur3ljjl2],
.status-pendingproviderapproval[b-t1ur3ljjl2] {
    color: var(--fo-warning-700);
    background: var(--fo-warning-100);
}

.status-crewworkinprogress[b-t1ur3ljjl2],
.status-surveyinprogress[b-t1ur3ljjl2],
.status-faultinprogress[b-t1ur3ljjl2] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-100);
}

.status-pendingfinalreview[b-t1ur3ljjl2] {
    color: light-dark(#6d28d9, var(--fo-status-active-text));
    background: var(--fo-status-active-surface);
}

.status-completed[b-t1ur3ljjl2] {
    color: light-dark(#047857, var(--fo-success-700));
    background: light-dark(#d1fae5, var(--fo-status-success-surface));
}

.status-correctionsrequired[b-t1ur3ljjl2],
.status-faultreported[b-t1ur3ljjl2] {
    color: var(--fo-danger-700);
    background: var(--fo-danger-100);
}

.dashboard-notification-list[b-t1ur3ljjl2] {
    padding: .35rem .72rem .5rem;
}

.dashboard-notification[b-t1ur3ljjl2] {
    min-width: 0;
    min-height: 49px;
    padding: .44rem .4rem;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: .62rem;
    position: relative;
    color: inherit;
    border-bottom: 1px solid var(--fo-surface-muted);
    border-radius: 7px;
    text-decoration: none;
}

.dashboard-notification:last-child[b-t1ur3ljjl2] {
    border-bottom: 0;
}

.dashboard-notification:hover[b-t1ur3ljjl2] {
    background: var(--fo-primary-50);
}

.dashboard-notification.unread[b-t1ur3ljjl2] {
    background: var(--fo-primary-50);
    box-shadow: inset 3px 0 0 var(--fo-primary-600);
}

.dashboard-notification.unread[b-t1ur3ljjl2]::after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 50%;
    background: var(--fo-primary-600);
}

.dashboard-notification-icon[b-t1ur3ljjl2] {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-muted);
    font-size: .78rem;
    font-weight: 820;
}

.dashboard-notification-icon.survey[b-t1ur3ljjl2] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-100);
}

.dashboard-notification-icon.crew[b-t1ur3ljjl2] {
    color: light-dark(#7c3aed, var(--fo-status-active-text));
    background: var(--fo-status-active-surface);
}

.dashboard-notification-icon.completed[b-t1ur3ljjl2] {
    color: light-dark(#047857, var(--fo-success-700));
    background: light-dark(#d1fae5, var(--fo-status-success-surface));
}

.dashboard-notification-copy[b-t1ur3ljjl2] {
    min-width: 0;
    display: grid;
    gap: .08rem;
}

.dashboard-notification-copy strong[b-t1ur3ljjl2],
.dashboard-notification-copy small[b-t1ur3ljjl2] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-notification-copy strong[b-t1ur3ljjl2] {
    color: var(--fo-text);
    font-size: .8rem;
}

.dashboard-notification-copy small[b-t1ur3ljjl2],
.dashboard-notification time[b-t1ur3ljjl2] {
    color: var(--fo-text-muted);
    font-size: .75rem;
}

.dashboard-notification time[b-t1ur3ljjl2] {
    padding-right: .55rem;
    white-space: nowrap;
}

.empty-notification-icon[b-t1ur3ljjl2] {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: light-dark(#047857, var(--fo-success-700));
    background: light-dark(#d1fae5, var(--fo-status-success-surface));
    font-weight: 850;
}

@media (max-width: 1280px) {
    .metrics-grid[b-t1ur3ljjl2] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .analytics-grid[b-t1ur3ljjl2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-panel[b-t1ur3ljjl2],
    .workflow-panel[b-t1ur3ljjl2] {
        grid-column: auto;
    }

    .map-panel[b-t1ur3ljjl2] {
        grid-column: 1 / -1;
    }

    .activity-grid[b-t1ur3ljjl2] {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    }

    .recent-panel[b-t1ur3ljjl2] {
        grid-column: 1;
    }

    .notifications-panel[b-t1ur3ljjl2] {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .dashboard-topbar[b-t1ur3ljjl2] {
        align-items: flex-start;
    }

    .activity-grid[b-t1ur3ljjl2] {
        grid-template-columns: 1fr;
    }

    .recent-panel[b-t1ur3ljjl2],
    .notifications-panel[b-t1ur3ljjl2] {
        grid-column: auto;
    }

    .analytics-grid[b-t1ur3ljjl2] {
        grid-template-columns: 1fr;
    }

    .map-panel[b-t1ur3ljjl2] {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .dashboard-topbar[b-t1ur3ljjl2] {
        padding: 1rem;
        flex-direction: column;
    }

    .dashboard-actions[b-t1ur3ljjl2] {
        width: 100%;
        justify-content: flex-start;
    }

    .metrics-grid[b-t1ur3ljjl2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-card[b-t1ur3ljjl2] {
        min-height: 92px;
    }

    .compact-panel[b-t1ur3ljjl2] {
        height: auto;
        min-height: 270px;
    }

    .assignments-map[b-t1ur3ljjl2] {
        height: 210px;
    }

    .recent-assignment[b-t1ur3ljjl2] {
        grid-template-columns: 30px minmax(0, 1fr) 15px;
    }

    .recent-assignment .assignment-status[b-t1ur3ljjl2],
    .recent-assignment time[b-t1ur3ljjl2] {
        display: none;
    }
}

@media (max-width: 460px) {
    .dashboard-actions[b-t1ur3ljjl2] {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .live-state[b-t1ur3ljjl2] {
        grid-column: 1 / -1;
    }

    .metrics-grid[b-t1ur3ljjl2] {
        grid-template-columns: 1fr;
    }

    .metric-card[b-t1ur3ljjl2] {
        min-height: 88px;
    }

    .provider-chart[b-t1ur3ljjl2] {
        grid-template-columns: 1fr;
    }

    .provider-donut[b-t1ur3ljjl2] {
        width: 122px;
    }

    .notifications-panel[b-t1ur3ljjl2] {
        min-width: 0;
    }

    .dashboard-notification[b-t1ur3ljjl2] {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .dashboard-notification time[b-t1ur3ljjl2] {
        grid-column: 2;
        padding: 0;
    }
}

@media (pointer: coarse) {
    .live-state[b-t1ur3ljjl2],
    .dashboard-refresh[b-t1ur3ljjl2],
    .new-assignment-action[b-t1ur3ljjl2],
    .dashboard-message button[b-t1ur3ljjl2] {
        min-height: 44px;
    }
}

/* Honor reduced motion in clickable dashboard metric cards. */
@media (prefers-reduced-motion: reduce) {
    .metric-card[b-t1ur3ljjl2],
    .metric-card:hover[b-t1ur3ljjl2] { transform: none; transition: none; }
}


/* Phase 3.3 — Dashboard composition and KPI hierarchy.
   Visual-only changes: live refresh, links and provider/status colors stay intact. */
.dashboard-section-heading[b-t1ur3ljjl2] {
    min-width: 0;
    margin: .25rem 0 .85rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem 1.2rem;
}

.dashboard-section-heading > div[b-t1ur3ljjl2] { min-width: 0; }

.dashboard-section-kicker[b-t1ur3ljjl2] {
    display: block;
    margin-bottom: .22rem;
    color: var(--fo-primary-700);
    font-size: var(--fo-font-caption);
    font-weight: 800;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.dashboard-section-heading h2[b-t1ur3ljjl2] {
    margin: 0;
    color: var(--fo-text);
    font-size: clamp(1.05rem, 1.5vw, 1.32rem);
    font-weight: 780;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.dashboard-section-heading p[b-t1ur3ljjl2] {
    margin: 0;
    max-width: 370px;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
    line-height: 1.5;
}

.dashboard-section-heading-analytics[b-t1ur3ljjl2] { margin-top: .4rem; }

.metrics-grid[b-t1ur3ljjl2] {
    margin-bottom: 1.45rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.metric-card[b-t1ur3ljjl2] {
    min-height: 142px;
    padding: 1.14rem;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: .95rem;
    border-radius: var(--fo-radius-lg);
    background: linear-gradient(145deg, var(--fo-surface), var(--fo-primary-50));
    box-shadow: var(--fo-shadow-card);
}

.metric-card:hover[b-t1ur3ljjl2] {
    border-color: var(--fo-primary-200);
    box-shadow: 0 14px 28px rgba(7, 23, 94, .10);
}

.metric-icon[b-t1ur3ljjl2] {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.metric-copy[b-t1ur3ljjl2] {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: .3rem;
}

.metric-copy small[b-t1ur3ljjl2] {
    color: var(--fo-text-secondary);
    font-size: var(--fo-font-caption);
    font-weight: 750;
}

.metric-copy strong[b-t1ur3ljjl2] {
    align-self: flex-start;
    color: var(--fo-text);
    font-size: clamp(1.9rem, 2.4vw, 2.35rem);
    font-weight: 820;
    line-height: 1.1;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
}

.metric-copy > span[b-t1ur3ljjl2] {
    max-width: 100%;
    padding-right: 1.6rem;
    color: var(--fo-text-muted);
    font-size: .78rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.metric-card-cue[b-t1ur3ljjl2] {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    position: absolute;
    right: .95rem;
    bottom: .85rem;
    border: 1px solid var(--fo-border);
    border-radius: 9px;
    background: color-mix(in srgb, var(--fo-surface) 94%, transparent);
    color: var(--fo-primary-700);
    transition: transform var(--fo-transition), border-color var(--fo-transition);
}

.metric-card-cue svg[b-t1ur3ljjl2] {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.metric-card:hover .metric-card-cue[b-t1ur3ljjl2],
.metric-card:focus-visible .metric-card-cue[b-t1ur3ljjl2] {
    transform: translateX(2px);
    border-color: var(--fo-primary-200);
}

.analytics-grid[b-t1ur3ljjl2] {
    margin-bottom: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1rem;
}

.analytics-grid .provider-panel[b-t1ur3ljjl2],
.analytics-grid .workflow-panel[b-t1ur3ljjl2] {
    grid-column: auto;
}

.analytics-grid .map-panel[b-t1ur3ljjl2] {
    grid-column: 1 / -1;
}

.dashboard-panel[b-t1ur3ljjl2] {
    background: var(--fo-surface);
    box-shadow: var(--fo-shadow-card);
}

.panel-heading[b-t1ur3ljjl2] { border-bottom-color: var(--fo-border); }

.provider-chart[b-t1ur3ljjl2] {
    padding: 1.2rem;
    grid-template-columns: minmax(120px, .95fr) minmax(0, 1.05fr);
    gap: 1.2rem;
}

.provider-donut[b-t1ur3ljjl2] { width: min(154px, 100%); }

.provider-legend[b-t1ur3ljjl2] {
    max-width: none;
    align-content: center;
    gap: .8rem;
}

.workflow-chart[b-t1ur3ljjl2] {
    padding: 1.15rem 1.25rem;
    align-content: center;
    gap: .8rem;
}

.assignments-map[b-t1ur3ljjl2] { min-height: 320px; }

.activity-grid[b-t1ur3ljjl2] {
    gap: 1rem;
    align-items: stretch;
}

.recent-assignment[b-t1ur3ljjl2],
.dashboard-notification[b-t1ur3ljjl2] {
    min-height: 58px;
    padding: .65rem .55rem;
    border-bottom-color: var(--fo-border);
    border-radius: var(--fo-radius-sm);
}

@media (max-width: 900px) {
    .metrics-grid[b-t1ur3ljjl2] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-grid[b-t1ur3ljjl2] { grid-template-columns: 1fr; }
    .analytics-grid .map-panel[b-t1ur3ljjl2] { grid-column: auto; }
}

@media (max-width: 680px) {
    .dashboard-section-heading[b-t1ur3ljjl2] { align-items: flex-start; }
    .dashboard-section-heading p[b-t1ur3ljjl2] { max-width: none; }

    .provider-chart[b-t1ur3ljjl2] {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .provider-donut[b-t1ur3ljjl2] { width: 132px; }

    .assignments-map[b-t1ur3ljjl2] {
        min-height: 250px;
        height: 250px;
    }

    /* Keep status and timestamp legible instead of removing both on mobile. */
    .recent-assignment[b-t1ur3ljjl2] {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: .4rem .65rem;
    }

    .recent-assignment > :first-child[b-t1ur3ljjl2] {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .recent-assignment .recent-main[b-t1ur3ljjl2] {
        grid-column: 2;
        grid-row: 1;
    }

    .recent-assignment .assignment-status[b-t1ur3ljjl2] {
        display: inline-block;
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        max-width: min(100%, 180px);
    }

    .recent-assignment time[b-t1ur3ljjl2] {
        display: block;
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }

    .recent-assignment > svg[b-t1ur3ljjl2] {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-width: 460px) {
    .metrics-grid[b-t1ur3ljjl2] { grid-template-columns: 1fr; }
    .metric-card[b-t1ur3ljjl2] { min-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .metric-card-cue[b-t1ur3ljjl2],
    .metric-card:hover .metric-card-cue[b-t1ur3ljjl2],
    .metric-card:focus-visible .metric-card-cue[b-t1ur3ljjl2] {
        transform: none;
        transition: none;
    }

    .workflow-bar-track i[b-t1ur3ljjl2] { transition: none; }
}


/* Phase 3.3.1 — Above-the-fold operational overview.
   A spacious layout remains below desktop width. On common desktop monitors,
   preserve the approved look while reducing unnecessary vertical stacking.
   The activity feed stays below analytics and scrolling is always available. */
@media (min-width: 1281px) {
    .dashboard-topbar[b-t1ur3ljjl2] {
        margin-bottom: .75rem;
        padding: .9rem 1.15rem;
    }

    .dashboard-section-heading[b-t1ur3ljjl2] {
        margin: .15rem 0 .55rem;
        gap: .25rem 1rem;
    }

    .dashboard-section-heading-analytics[b-t1ur3ljjl2] {
        margin-top: .25rem;
    }

    .metrics-grid[b-t1ur3ljjl2] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .7rem;
        margin-bottom: .95rem;
    }

    .metric-card[b-t1ur3ljjl2] {
        box-sizing: border-box;
        min-height: 116px;
        padding: .78rem .9rem;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: .7rem;
    }

    .metric-icon[b-t1ur3ljjl2] {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .metric-icon svg[b-t1ur3ljjl2] {
        width: 19px;
        height: 19px;
    }

    .metric-copy[b-t1ur3ljjl2] {
        gap: .2rem;
    }

    .metric-copy small[b-t1ur3ljjl2] {
        font-size: var(--fo-font-caption);
        line-height: 1.3;
    }

    .metric-copy strong[b-t1ur3ljjl2] {
        font-size: clamp(1.55rem, 1.9vw, 1.88rem);
        line-height: 1.1;
    }

    .metric-copy > span[b-t1ur3ljjl2] {
        padding-right: 1.55rem;
        font-size: .76rem;
        line-height: 1.32;
    }

    .metric-card-cue[b-t1ur3ljjl2] {
        width: 24px;
        height: 24px;
        right: .7rem;
        bottom: .65rem;
    }

    /* Place provider distribution, workflow and map in one overview row. */
    .analytics-grid[b-t1ur3ljjl2] {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1.45fr);
        align-items: stretch;
        gap: .75rem;
        margin-bottom: 1rem;
    }

    .analytics-grid .provider-panel[b-t1ur3ljjl2],
    .analytics-grid .workflow-panel[b-t1ur3ljjl2],
    .analytics-grid .map-panel[b-t1ur3ljjl2] {
        grid-column: auto;
    }

    .compact-panel[b-t1ur3ljjl2] {
        min-height: 0;
    }

    .analytics-grid .panel-heading[b-t1ur3ljjl2] {
        min-height: 58px;
        padding: .65rem .85rem;
        gap: .5rem;
    }

    .analytics-grid .panel-heading h2[b-t1ur3ljjl2] {
        font-size: .87rem;
    }

    .analytics-grid .panel-heading > small[b-t1ur3ljjl2] {
        padding: .25rem .38rem;
        font-size: .72rem;
        white-space: normal;
        text-align: right;
    }

    /* Keep the provider legend readable even in a ~280px-wide panel. */
    .provider-chart[b-t1ur3ljjl2] {
        padding: .7rem .85rem;
        grid-template-columns: 1fr;
        align-content: center;
        gap: .5rem;
    }

    .provider-donut[b-t1ur3ljjl2] {
        width: min(104px, 100%);
    }

    .provider-donut > span strong[b-t1ur3ljjl2] {
        font-size: 1.26rem;
    }

    .provider-legend[b-t1ur3ljjl2] {
        gap: .42rem;
    }

    .provider-legend > div[b-t1ur3ljjl2] {
        gap: .4rem;
        font-size: .75rem;
    }

    .workflow-chart[b-t1ur3ljjl2] {
        padding: .75rem .85rem;
        align-content: center;
        gap: .5rem;
    }

    .workflow-bar-row[b-t1ur3ljjl2] {
        gap: .24rem;
    }

    .workflow-bar-label[b-t1ur3ljjl2] {
        gap: .38rem;
        font-size: .75rem;
    }

    .workflow-bar-track[b-t1ur3ljjl2] {
        height: 7px;
    }

    /* A visible map preview without a rigid viewport-height dashboard. */
    .analytics-grid .assignments-map[b-t1ur3ljjl2] {
        min-height: clamp(190px, 25vh, 235px);
        height: clamp(190px, 25vh, 235px);
    }
}

/* Wide desktop: all six KPIs fit in one row without tiny text or hidden data. */
@media (min-width: 1720px) {
    .metrics-grid[b-t1ur3ljjl2] {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .metric-card[b-t1ur3ljjl2] {
        min-height: 130px;
        padding: .84rem .75rem;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: start;
        gap: .55rem;
    }

    .metric-icon[b-t1ur3ljjl2] {
        width: 34px;
        height: 34px;
    }

    .metric-copy small[b-t1ur3ljjl2] {
        font-size: .79rem;
    }

    .metric-copy strong[b-t1ur3ljjl2] {
        font-size: 1.67rem;
    }

    .metric-copy > span[b-t1ur3ljjl2] {
        font-size: .75rem;
    }

    /* The wider provider panel can show chart and legend side by side. */
    .provider-chart[b-t1ur3ljjl2] {
        grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr);
        align-items: center;
        gap: .75rem;
    }

    .provider-donut[b-t1ur3ljjl2] {
        width: min(120px, 100%);
    }

    .provider-legend[b-t1ur3ljjl2] {
        gap: .6rem;
    }

    .analytics-grid .assignments-map[b-t1ur3ljjl2] {
        min-height: clamp(215px, 27vh, 260px);
        height: clamp(215px, 27vh, 260px);
    }
}


/* Light enterprise map: compact controls, readable grouped locations and detail cards. */
.map-shell:fullscreen[b-t1ur3ljjl2] {
    width: 100%;
    height: 100%;
    background: light-dark(#eef3f8, var(--fo-surface-subtle));
}
.map-shell:fullscreen .assignments-map[b-t1ur3ljjl2] {
    min-height: 100%;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker {
    display: grid;
    place-items: center;
    width: 24px !important;
    height: 24px !important;
    border: 3px solid var(--fo-surface);
    border-radius: 50%;
    background: #64748b;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .22);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-ote { background: #1683c7; }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-vodafone { background: #e60000; }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-dei { background: #eab308; }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-mixed { background: #334155; }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.is-group {
    width: 34px !important;
    height: 34px !important;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .25);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fo-surface);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.is-group span {
    width: auto;
    height: auto;
    color: var(--fo-on-accent);
    background: transparent;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters,
.assignments-map[b-t1ur3ljjl2]  .assignment-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    max-width: min(450px, calc(100vw - 120px));
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select,
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action {
    min-height: 32px;
    padding: .35rem .55rem;
    border: 1px solid light-dark(#d9e2eb, var(--fo-border));
    border-radius: 9px;
    color: var(--fo-text-emphasis);
    background: color-mix(in srgb, var(--fo-surface) 97%, transparent);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
    font-family: inherit;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select {
    max-width: 160px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select:focus-visible,
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action:focus-visible,
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card:focus-visible {
    outline: 3px solid var(--fo-primary-400);
    outline-offset: 2px;
}
.assignments-map[b-t1ur3ljjl2]  .leaflet-popup.assignment-map-popup .leaflet-popup-content-wrapper {
    border: 1px solid var(--fo-border-soft);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .leaflet-popup-content {
    margin: 12px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-content {
    min-width: 205px;
    display: grid;
    gap: .6rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading {
    color: var(--fo-text);
    font-size: .82rem;
    font-weight: 800;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-list {
    display: grid;
    gap: .4rem;
    max-height: 235px;
    overflow-y: auto;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card {
    display: grid;
    gap: .18rem;
    padding: .55rem .65rem;
    border: 1px solid var(--fo-border-soft);
    border-radius: 9px;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
    text-decoration: none;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card:hover {
    border-color: var(--fo-primary-300);
    background: var(--fo-primary-50);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card strong {
    color: var(--fo-text);
    font-size: .77rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card span {
    font-size: .71rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-status {
    color: var(--fo-link-strong-hover);
    font-size: .68rem;
    font-weight: 700;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-address {
    color: var(--fo-text-muted);
    font-size: .69rem;
    line-height: 1.45;
}
@media (max-width: 600px) {
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-filters { flex-direction: column; }
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select { max-width: 125px; }
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-actions { flex-direction: column; align-items: flex-end; }
}

.assignments-map[b-t1ur3ljjl2]  .assignment-map-visible-count {
    align-self: center;
    padding: .35rem .45rem;
    border: 1px solid var(--fo-border-soft);
    border-radius: 8px;
    color: var(--fo-text-secondary);
    background: color-mix(in srgb, var(--fo-surface) 94%, transparent);
    font-size: .7rem;
    font-weight: 700;
}

/* Dashboard map refinement: share the same desktop grid lines across rows. */
@media (min-width: 1281px) {
    .analytics-grid[b-t1ur3ljjl2],
    .activity-grid[b-t1ur3ljjl2] {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1.45fr);
        column-gap: .75rem;
    }
    .recent-panel[b-t1ur3ljjl2] { grid-column: 1 / span 2; }
    .notifications-panel[b-t1ur3ljjl2] { grid-column: 3; }
    .analytics-grid .assignments-map[b-t1ur3ljjl2] {
        min-height: 300px;
        height: clamp(300px, 34vh, 360px);
    }
}
@media (min-width: 1720px) {
    .analytics-grid .assignments-map[b-t1ur3ljjl2] {
        min-height: 320px;
        height: clamp(320px, 34vh, 380px);
    }
}
@media (min-width: 901px) and (max-width: 1280px) {
    .assignments-map[b-t1ur3ljjl2] { min-height: 300px; }
}
@media (max-width: 680px) {
    .assignments-map[b-t1ur3ljjl2] { min-height: 255px; }
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters { flex-wrap: nowrap; gap: .3rem; }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select {
    max-width: 150px;
    min-width: 0;
    padding: .32rem .35rem;
    font-size: .68rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-actions { flex-wrap: nowrap; gap: .3rem; }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    font-size: 1rem;
}
@media (max-width: 680px) {
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-filters { flex-direction: row; flex-wrap: wrap; max-width: 200px; }
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select { max-width: 142px; }
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-actions { flex-direction: row; }
}

.map-panel[b-t1ur3ljjl2] { grid-template-rows: auto minmax(0, 1fr); }

/* Unified light-enterprise map controls with crisp vector icons. */
.assignments-map[b-t1ur3ljjl2]  .assignment-map-actions {
    align-items: center;
    padding: 3px;
    gap: 2px;
    border: 1px solid color-mix(in srgb, var(--fo-border-strong) 90%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--fo-surface) 96%, transparent);
    box-shadow: 0 4px 16px rgba(15, 23, 42, .12);
    backdrop-filter: blur(8px);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action {
    width: 34px;
    height: 34px;
    min-height: 34px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
    color: var(--fo-text-secondary);
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action svg {
    display: block;
    width: 17px;
    height: 17px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action:hover {
    background: var(--fo-primary-50);
    color: var(--fo-link-strong-hover);
    transform: translateY(-1px);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action:active {
    transform: translateY(0);
    background: var(--fo-primary-100);
}
.assignments-map[b-t1ur3ljjl2]  .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--fo-border-strong) 90%, transparent) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .12);
}
.assignments-map[b-t1ur3ljjl2]  .leaflet-control-zoom a {
    width: 35px !important;
    height: 35px !important;
    line-height: 34px !important;
    border-color: var(--fo-border-soft) !important;
    background: color-mix(in srgb, var(--fo-surface) 97%, transparent);
    color: var(--fo-text-secondary);
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    transition: background-color .16s ease, color .16s ease;
}
.assignments-map[b-t1ur3ljjl2]  .leaflet-control-zoom a:hover {
    background: var(--fo-primary-50);
    color: var(--fo-link-strong-hover);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select {
    min-height: 36px;
    border-radius: 10px;
    border-color: light-dark(#d8e2ef, var(--fo-primary-200));
    background: color-mix(in srgb, var(--fo-surface) 97%, transparent);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .09);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select:hover {
    border-color: light-dark(#93b5e2, var(--fo-primary-200));
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select:focus-visible,
.assignments-map[b-t1ur3ljjl2]  .leaflet-control-zoom a:focus-visible {
    outline: 3px solid var(--fo-primary-300);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-action,
    .assignments-map[b-t1ur3ljjl2]  .leaflet-control-zoom a,
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-filters select {
        transition: none;
    }
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-action:hover { transform: none; }
}

/* Shared-location popup: compact, scannable cards without losing individual links. */
.assignments-map[b-t1ur3ljjl2]  .leaflet-popup.assignment-map-popup .leaflet-popup-content-wrapper {
    border-radius: 16px;
    overflow: hidden;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .leaflet-popup-content {
    margin: 0;
    width: min(310px, calc(100vw - 84px)) !important;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-content {
    min-width: 0;
    display: grid;
    gap: 0;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading {
    display: grid;
    gap: 4px;
    padding: 14px 16px 11px;
    border-bottom: 1px solid light-dark(#e9eef5, var(--fo-border));
    background: var(--fo-surface);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading strong {
    font-size: .86rem;
    color: var(--fo-text);
    letter-spacing: -.01em;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading > span {
    font-size: .7rem;
    font-weight: 500;
    color: var(--fo-text-muted);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading .assignment-map-popup-address {
    margin-top: 2px;
    font-size: .67rem;
    font-weight: 500;
    color: var(--fo-text-muted);
    line-height: 1.4;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-list {
    max-height: 290px;
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 0;
    padding: 7px;
    background: var(--fo-surface-subtle);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-list > [role="listitem"] + [role="listitem"] {
    margin-top: 6px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card {
    gap: 7px;
    padding: 10px 11px;
    background: var(--fo-surface);
    border-radius: 10px;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card:hover {
    background: light-dark(#f0f7ff, var(--fo-surface-subtle));
    border-color: var(--fo-primary-300);
    box-shadow: 0 2px 8px rgba(37, 99, 235, .08);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card-top,
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card-top strong {
    overflow-wrap: anywhere;
    font-size: .78rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-provider {
    flex-shrink: 0;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: .62rem;
    font-weight: 750;
    background: var(--fo-surface-muted);
    color: var(--fo-text-secondary);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-provider.provider-ote { color: light-dark(#075985, var(--fo-link-strong)); background: light-dark(#e0f2fe, var(--fo-primary-50)); }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-provider.provider-vodafone { color: var(--fo-danger-700); background: var(--fo-danger-50); }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-provider.provider-dei { color: var(--fo-status-pending-text); background: var(--fo-status-pending-surface); }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card-customer {
    color: var(--fo-text-secondary);
    font-size: .72rem;
    overflow-wrap: anywhere;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-status {
    overflow-wrap: anywhere;
    font-size: .67rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-open {
    flex-shrink: 0;
    color: var(--fo-link-strong);
    font-size: .67rem;
    font-weight: 750;
}
@media (prefers-reduced-motion: reduce) {
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-card { transition: none; }
}

/* Marker sizes match Leaflet iconSize/iconAnchor for accurate popup positioning. */
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker {
    width: 20px !important;
    height: 20px !important;
    border-width: 2.5px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .20);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.is-group {
    width: 30px !important;
    height: 30px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .22);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.is-group span {
    font-size: .72rem;
}


/* Compact Leaflet popup for dashboard-sized maps. */
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .leaflet-popup-content-wrapper {
    overflow: hidden;
    border: 1px solid var(--fo-border-soft);
    border-radius: 12px;
    box-shadow: 0 9px 28px rgba(15, 23, 42, .16);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .leaflet-popup-content {
    width: 255px !important;
    max-width: calc(100vw - 80px);
    margin: 0;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-content {
    min-width: 0;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading {
    padding: 10px 32px 8px 11px;
    gap: 2px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading strong {
    font-size: .77rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading > span {
    font-size: .64rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-heading .assignment-map-popup-address {
    font-size: .63rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-list {
    padding: 5px;
    max-height: 158px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-list > [role="listitem"] + [role="listitem"] {
    margin-top: 4px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card {
    padding: 7px 8px;
    gap: 4px;
    border-radius: 8px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card-top strong {
    font-size: .72rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-provider {
    max-width: 82px;
    font-size: .58rem;
    padding: 2px 5px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-card-customer,
.assignments-map[b-t1ur3ljjl2]  .assignment-map-status,
.assignments-map[b-t1ur3ljjl2]  .assignment-map-open {
    font-size: .62rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .leaflet-popup-close-button {
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--fo-text-muted);
    background: var(--fo-surface-muted);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .leaflet-popup-close-button:hover {
    background: var(--fo-primary-100);
    color: var(--fo-link-strong-hover);
}
@media (max-width: 680px) {
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .leaflet-popup-content {
        width: min(235px, calc(100vw - 80px)) !important;
    }
}

/* DEI uses the teal provider identity shared with assignment lists and reports. */
.assignments-map[b-t1ur3ljjl2]  .assignment-map-marker.provider-dei { background: #0f9f8f; }
.assignments-map[b-t1ur3ljjl2]  .assignment-map-provider.provider-dei { color: light-dark(#0f766e, var(--fo-provider-dei-text)); background: light-dark(#f3fbf8, var(--fo-surface-subtle)); }

/* Mapbox GL JS renderer: same controls, popup and cards as the Leaflet fallback. */
.assignments-map.mapboxgl-map[b-t1ur3ljjl2] {
    font-family: var(--fo-font-family);
}
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-canvas:focus-visible {
    outline: 3px solid var(--fo-primary-300);
    outline-offset: -3px;
}
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-top-left .assignment-map-filters,
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-top-right .assignment-map-actions {
    margin: 10px 10px 0;
}
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-bottom-right .assignment-map-zoom {
    margin: 0 10px 28px 0;
    flex-direction: column;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-action[aria-pressed="true"] {
    background: var(--fo-primary-100);
    color: var(--fo-link-strong-hover);
}
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-attrib {
    font-size: 9px;
}
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-popup.assignment-map-popup {
    z-index: 3;
    translate: var(--fo-map-popup-x, 0px) calc(-1 * var(--fo-map-popup-gap, 0px));
}
/* Keep Mapbox's anchor stable while panning. Flip the tip and card together when
   there is more room below the marker. */
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-popup.assignment-map-popup-below {
    flex-direction: column;
    translate: var(--fo-map-popup-x, 0px) calc(100% + var(--fo-map-popup-gap, 0px));
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .mapboxgl-popup-tip {
    position: relative;
    left: var(--fo-map-popup-tip-x, 0px);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup-below .mapboxgl-popup-tip {
    rotate: 180deg;
}
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-popup .assignment-map-popup-content {
    max-height: var(--fo-map-popup-height, none);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.assignments-map[b-t1ur3ljjl2]  .mapboxgl-popup .assignment-map-popup-list {
    max-height: var(--fo-map-popup-list-height, 158px);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .mapboxgl-popup-content {
    width: 255px;
    max-width: min(calc(100vw - 80px), calc(var(--fo-map-popup-width, 275px) - 2px));
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--fo-border-soft);
    border-radius: 12px;
    box-shadow: 0 9px 28px rgba(15, 23, 42, .16);
    font-family: var(--fo-font-family);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .mapboxgl-popup-close-button {
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--fo-text-muted);
    background: var(--fo-surface-muted);
    font-size: 16px;
    line-height: 1;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .mapboxgl-popup-close-button:hover {
    background: var(--fo-primary-100);
    color: var(--fo-link-strong-hover);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .mapboxgl-popup-close-button:focus-visible {
    outline: 3px solid var(--fo-primary-300);
    outline-offset: 1px;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-status-overlay {
    max-width: calc(100% - 1.5rem);
    padding: .72rem .82rem;
    display: grid;
    gap: .22rem;
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid color-mix(in srgb, var(--fo-border-strong) 85%, transparent);
    border-radius: 10px;
    color: var(--fo-text-emphasis);
    background: color-mix(in srgb, var(--fo-surface) 94%, transparent);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
    text-align: center;
    font-family: var(--fo-font-family);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-status-overlay.error {
    border-color: var(--fo-danger-200);
    background: light-dark(rgba(255, 241, 242, .96), color-mix(in srgb, var(--fo-surface-subtle) 96%, transparent));
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-status-overlay strong {
    color: var(--fo-text);
    font-size: .78rem;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-status-overlay span {
    color: var(--fo-text-muted);
    font-size: .75rem;
    line-height: 1.4;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-retry {
    justify-self: center;
    min-height: 32px;
    margin-top: .3rem;
    padding: .35rem .8rem;
    border: 1px solid light-dark(#d9e2eb, var(--fo-border));
    border-radius: 9px;
    color: var(--fo-text-emphasis);
    background: var(--fo-surface);
    font-family: inherit;
    font-size: .74rem;
    font-weight: 600;
    cursor: pointer;
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-retry:hover {
    border-color: var(--fo-primary-300);
    color: var(--fo-link-strong-hover);
}
.assignments-map[b-t1ur3ljjl2]  .assignment-map-retry:focus-visible {
    outline: 3px solid var(--fo-primary-400);
    outline-offset: 2px;
}
@media (max-width: 680px) {
    .assignments-map[b-t1ur3ljjl2]  .assignment-map-popup .mapboxgl-popup-content {
        width: min(235px, calc(100vw - 80px));
    }
}

/* FR-03.2: minimal enterprise controls for the Mapbox renderer only (the Leaflet fallback
   keeps the rules above). Every control is 32px high and uses the FieldOps tokens. */
.assignments-map.mapboxgl-map[b-t1ur3ljjl2] {
    --fo-map-control-height: 32px;
    --fo-map-control-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .07);
    background: var(--fo-surface-subtle);
}
/* The filter row stops short of the top-right action group, so the two never overlap. */
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-top-left {
    right: 96px;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-top-left .assignment-map-filters {
    float: none;
    max-width: none;
    margin: 8px 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-top-right .assignment-map-actions {
    margin: 8px 8px 0 0;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-bottom-right .assignment-map-zoom {
    margin: 0 8px 6px 0;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-filters select {
    flex: 1 1 0;
    width: auto;
    min-width: 104px;
    max-width: 150px;
    height: var(--fo-map-control-height);
    min-height: var(--fo-map-control-height);
    box-sizing: border-box;
    padding: 0 26px 0 10px;
    overflow: hidden;
    border: 1px solid var(--fo-border-strong);
    border-radius: var(--fo-radius-sm);
    color: var(--fo-text-secondary);
    background: var(--fo-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center / 12px 12px;
    box-shadow: var(--fo-map-control-shadow);
    -webkit-appearance: none;
    appearance: none;
    font: 600 .72rem/1 var(--fo-font-family);
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color var(--fo-transition), color var(--fo-transition);
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-filters select:hover {
    border-color: var(--fo-primary-200);
    color: var(--fo-text);
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    max-width: none;
    box-sizing: border-box;
    padding: 1px;
    border: 1px solid var(--fo-border-strong);
    border-radius: var(--fo-radius-sm);
    background: var(--fo-surface);
    box-shadow: var(--fo-map-control-shadow);
    backdrop-filter: none;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-zoom {
    flex-direction: column;
    gap: 0;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-action {
    width: calc(var(--fo-map-control-height) - 4px);
    height: calc(var(--fo-map-control-height) - 4px);
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: var(--fo-text-secondary);
    background: transparent;
    box-shadow: none;
    transition: background-color var(--fo-transition), color var(--fo-transition);
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-zoom .assignment-map-action + .assignment-map-action {
    box-shadow: 0 -1px 0 var(--fo-border);
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-action svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-action:hover {
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    transform: none;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-action:active,
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-action[aria-pressed="true"] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-100);
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-filters select:focus-visible,
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-action:focus-visible {
    outline: 2px solid var(--fo-focus);
    outline-offset: 2px;
}
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .mapboxgl-ctrl-attrib {
    font-size: 9px;
    color: var(--fo-text-muted);
}
/* Popup: same compact content, tokenised frame matching the controls. */
.assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-popup .mapboxgl-popup-content {
    border-color: var(--fo-border-strong);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
}
@media (prefers-reduced-motion: reduce) {
    .assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-filters select,
    .assignments-map.mapboxgl-map[b-t1ur3ljjl2]  .assignment-map-action {
        transition: none;
    }
}

/* FR-08.6: compact non-completion strip (current assignments only; history is never counted here). */
.non-completion-strip[b-t1ur3ljjl2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .5rem;
    margin: -.25rem 0 1rem;
    padding: .55rem .85rem;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
    background: var(--fo-surface);
    font-size: var(--fo-font-small);
}

.non-completion-strip > strong[b-t1ur3ljjl2] {
    margin-right: .25rem;
    color: var(--fo-text);
}

.non-completion-strip a[b-t1ur3ljjl2] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .6rem;
    border: 1px solid var(--fo-border-soft);
    border-radius: var(--fo-radius-pill);
    color: var(--fo-text-secondary);
    text-decoration: none;
}

.non-completion-strip a:hover[b-t1ur3ljjl2],
.non-completion-strip a:focus-visible[b-t1ur3ljjl2] {
    border-color: var(--fo-primary-200);
    color: var(--fo-link);
}

.non-completion-strip b[b-t1ur3ljjl2] {
    color: var(--fo-text);
    font-variant-numeric: tabular-nums;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-card[b-zive2jty4k] {
    width: min(500px, 100%);
    min-width: 0;
    padding: clamp(24px, 4vw, 36px);
    box-sizing: border-box;
    color: var(--fieldops-ink);
    border: 1px solid var(--fo-primary-100);
    background: var(--fieldops-surface) url("/images/login_background.svg") center top / cover no-repeat;
    border-radius: var(--fo-radius-xl);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.06), var(--fo-shadow-card);
}

.login-brand[b-zive2jty4k] {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark[b-zive2jty4k] {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.brand-copy[b-zive2jty4k] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.brand-copy strong[b-zive2jty4k] {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.brand-copy span[b-zive2jty4k] {
    color: var(--fieldops-muted);
    font-size: 0.8rem;
}

.environment-badge[b-zive2jty4k] {
    margin-left: auto;
    padding: 3px 8px;
    flex-shrink: 0;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-100);
    border-radius: 999px;
    font-size: var(--fo-font-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.eyebrow[b-zive2jty4k] {
    font-size: 0.75rem;
    font-weight: 700;
}

h1[b-zive2jty4k] {
    margin: 8px 0;
    font-size: clamp(1.75rem, 6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

header p[b-zive2jty4k] {
    margin: 0;
    color: var(--fo-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.55;
}

form[b-zive2jty4k] {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

label[b-zive2jty4k] {
    display: grid;
    gap: 8px;
    color: var(--fo-text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
}

input[b-zive2jty4k] {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 10px 14px;
    box-sizing: border-box;
    color: var(--fieldops-ink);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-border-strong);
    border-radius: var(--fo-radius-md);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

input:hover[b-zive2jty4k] {
    border-color: var(--fo-primary-200);
}

input:focus[b-zive2jty4k],
input:focus-visible[b-zive2jty4k] {
    background: var(--fieldops-surface);
    border-color: var(--fieldops-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--fo-focus-halo);
}

button[b-zive2jty4k] {
    min-height: 50px;
    width: 100%;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--fo-on-accent);
    background: var(--fo-accent);
    border: 0;
    border-radius: var(--fo-radius-md);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.10);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

button:hover[b-zive2jty4k] {
    background: var(--fo-accent-hover);
}

button:active[b-zive2jty4k] {
    background: var(--fo-accent-hover);
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.15);
}

button:focus-visible[b-zive2jty4k] {
    outline: 2px solid var(--fieldops-primary-dark);
    outline-offset: 3px;
}

button svg[b-zive2jty4k] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-error[b-zive2jty4k] {
    margin-top: 20px;
    padding: 12px 14px;
    color: var(--fo-danger-700);
    background: var(--fo-danger-50);
    border: 1px solid var(--fo-danger-200);
    border-radius: var(--fo-radius-md);
    font-size: 0.8125rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.login-success[b-zive2jty4k] {
    margin-top: 20px;
    color: var(--fo-primary-700);
}

.login-card > small[b-zive2jty4k] {
    display: block;
    margin-top: 22px;
    padding-top: 16px;
    color: var(--fieldops-muted);
    border-top: 1px solid var(--fieldops-border);
    font-size: 0.75rem;
    line-height: 1.55;
    text-align: center;
}

@media (forced-colors: active) {
    input:focus[b-zive2jty4k],
    input:focus-visible[b-zive2jty4k] {
        outline: 2px solid Highlight;
        outline-offset: 2px;
    }
}

/* Dark theme: the same illustration under a dark scrim, so the card keeps its waves but reads as a dark surface. */
:root[data-theme="dark"] .login-card[b-zive2jty4k] {
    background:
        linear-gradient(color-mix(in srgb, var(--fo-surface) 90%, transparent), color-mix(in srgb, var(--fo-surface) 90%, transparent)),
        var(--fieldops-surface) url("/images/login_background.svg") center top / cover no-repeat;
    border-color: var(--fo-border);
    box-shadow: 0 24px 60px rgb(0 0 0 / .35);
}

:root[data-theme="dark"] input[b-zive2jty4k] {
    background: var(--fo-input-background);
}

:root[data-theme="dark"] input:focus[b-zive2jty4k],
:root[data-theme="dark"] input:focus-visible[b-zive2jty4k] {
    background: var(--fo-input-background);
}

:root[data-theme="dark"] button[b-zive2jty4k] {
    box-shadow: 0 6px 16px rgb(0 0 0 / .3);
}
/* /Components/Pages/Materials.razor.rz.scp.css */
.heading-actions[b-fjobwzfgw4] { display:flex; align-items:stretch; justify-content:flex-end; gap:10px; }
.create-entity-button[b-fjobwzfgw4] { min-height:52px; }
.create-entity-button .add-icon[b-fjobwzfgw4] { width:24px; height:24px; display:inline-grid; place-items:center; margin-right:7px; color:var(--fo-primary-700); background:var(--fo-surface); border-radius:7px; font-size:1rem; font-weight:800; }
.total-counter[b-fjobwzfgw4] { min-width:160px; padding:14px 18px; display:grid; background:var(--fo-surface); border:1px solid var(--fo-border); border-radius:11px; box-shadow:0 7px 22px rgba(15,23,42,.045); }
.total-counter strong[b-fjobwzfgw4] { color:var(--fo-text); font-size:1.3rem; }
.total-counter span[b-fjobwzfgw4] { margin-top:2px; color:var(--fo-text-muted); font-size:.73rem; }
.catalog-tabs[b-fjobwzfgw4] { margin:18px 0 12px; display:flex; gap:8px; border-bottom:1px solid light-dark(#dbe3ee, var(--fo-border)); }
.catalog-tab[b-fjobwzfgw4] { padding:11px 16px; color:var(--fo-text-muted); background:transparent; border:0; border-bottom:3px solid transparent; font-family:inherit; font-size:.78rem; font-weight:700; cursor:pointer; }
.catalog-tab:hover[b-fjobwzfgw4] { color:var(--fo-primary-700); background:var(--fo-surface-tint); }
.catalog-tab.active[b-fjobwzfgw4] { color:var(--fo-primary-700); border-bottom-color:var(--fo-primary-600); }
.catalog-tab:disabled[b-fjobwzfgw4] { cursor:not-allowed; opacity:.55; }
.filters-card[b-fjobwzfgw4] { padding:20px; display:grid; gap:18px; background:var(--fo-surface); border:1px solid var(--fo-border); border-radius:14px; box-shadow:0 8px 28px rgba(15,23,42,.04); }
.filter-grid[b-fjobwzfgw4] { display:grid; grid-template-columns:minmax(280px,2fr) minmax(180px,.8fr); gap:14px; }
.filter-grid.with-category[b-fjobwzfgw4] { grid-template-columns:minmax(260px,1.5fr) minmax(210px,1fr) minmax(170px,.7fr); }
.filter-field[b-fjobwzfgw4],.editor-field[b-fjobwzfgw4] { display:grid; gap:7px; }
.filter-field>span[b-fjobwzfgw4],.editor-field>span[b-fjobwzfgw4] { color:var(--fo-text-secondary); font-size:.72rem; font-weight:700; }
.editor-field>span strong[b-fjobwzfgw4] { color:var(--fo-danger-strong); }
.filter-field input[b-fjobwzfgw4],.filter-field select[b-fjobwzfgw4],.editor-field input[b-fjobwzfgw4],.editor-field select[b-fjobwzfgw4] { width:100%; min-height:40px; padding:0 12px; box-sizing:border-box; color:var(--fo-text); background:var(--fo-surface); border:1px solid var(--fo-border-strong); border-radius:7px; font-size:.82rem; }
.filter-field input:focus[b-fjobwzfgw4],.filter-field select:focus[b-fjobwzfgw4],.editor-field input:focus[b-fjobwzfgw4],.editor-field select:focus[b-fjobwzfgw4] { border-color:var(--fo-primary-600); outline:3px solid rgba(37,99,235,.11); }
.filter-actions[b-fjobwzfgw4],.row-actions[b-fjobwzfgw4],.dialog-actions[b-fjobwzfgw4] { display:flex; align-items:center; gap:10px; }
.notice[b-fjobwzfgw4] { margin-top:16px; padding:12px 14px; display:flex; align-items:center; gap:10px; border:1px solid; border-radius:10px; font-size:.76rem; font-weight:620; }
.notice span[b-fjobwzfgw4] { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; font-size:.7rem; font-weight:800; }
.notice.success[b-fjobwzfgw4] { color:var(--fo-status-success-text); background:var(--fo-success-50); border-color:var(--fo-success-200); }
.notice.success span[b-fjobwzfgw4] { color:var(--fo-surface); background:#22c55e; }
.notice.error[b-fjobwzfgw4] { color:var(--fo-danger-800); background:var(--fo-danger-50); border-color:var(--fo-danger-200); }
.notice.error span[b-fjobwzfgw4] { color:var(--fo-surface); background:var(--fo-danger-600); }
.results-panel[b-fjobwzfgw4] { min-height:350px; margin-top:18px; background:var(--fo-surface); border:1px solid var(--fo-border); border-radius:14px; box-shadow:0 8px 28px rgba(15,23,42,.04); overflow:hidden; }
.state-panel[b-fjobwzfgw4] { min-height:350px; padding:30px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:9px; text-align:center; }
.state-panel strong[b-fjobwzfgw4] { margin-top:4px; color:var(--fo-text); font-size:.95rem; }
.state-panel span:not(.state-icon)[b-fjobwzfgw4] { max-width:480px; color:var(--fo-text-muted); font-size:.82rem; line-height:1.5; }
.state-panel fluent-button[b-fjobwzfgw4] { margin-top:10px; }
.state-icon[b-fjobwzfgw4] { width:42px; height:42px; display:grid; place-items:center; color:var(--fo-danger-700); background:var(--fo-danger-100); border-radius:50%; font-size:1.1rem; font-weight:800; }
.state-icon.empty[b-fjobwzfgw4] { color:var(--fo-text-secondary); background:var(--fo-surface-muted); }
.table-scroll[b-fjobwzfgw4] { overflow-x:auto; }
.catalog-table[b-fjobwzfgw4] { width:100%; min-width:920px; border-collapse:collapse; }
.materials-table[b-fjobwzfgw4] { min-width:1080px; }
.catalog-table th[b-fjobwzfgw4] { padding:14px 16px; color:var(--fo-text-muted); background:var(--fo-surface-subtle); border-bottom:1px solid var(--fo-border); text-align:left; font-size:.68rem; font-weight:750; letter-spacing:.045em; text-transform:uppercase; white-space:nowrap; }
.catalog-table td[b-fjobwzfgw4] { padding:15px 16px; color:var(--fo-text-emphasis); border-bottom:1px solid var(--fo-border-faint); font-size:.78rem; vertical-align:middle; }
.catalog-table tbody tr:hover[b-fjobwzfgw4] { background:var(--fo-surface-tint); }
.catalog-table tbody tr:last-child td[b-fjobwzfgw4] { border-bottom:0; }
.catalog-table td small[b-fjobwzfgw4] { margin-top:3px; display:block; color:var(--fo-text-muted); font-size:.68rem; }
.item-name[b-fjobwzfgw4] { color:var(--fo-text); font-size:.8rem; }
.code-badge[b-fjobwzfgw4],.secondary-code[b-fjobwzfgw4],.unit-symbol[b-fjobwzfgw4] { display:inline-flex; align-items:center; color:var(--fo-primary-700); font-weight:700; }
.code-badge[b-fjobwzfgw4] { min-height:27px; padding:0 9px; background:var(--fo-primary-50); border-radius:7px; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.72rem; }
.secondary-code[b-fjobwzfgw4] { font-size:.72rem; }
.unit-symbol[b-fjobwzfgw4] { min-width:34px; justify-content:center; padding:4px 8px; color:var(--fo-text-secondary); background:var(--fo-surface-muted); border-radius:6px; }
.status-badge[b-fjobwzfgw4] { min-height:25px; padding:0 9px; display:inline-flex; align-items:center; gap:7px; white-space:nowrap; border-radius:999px; font-size:.69rem; font-weight:700; }
.status-badge i[b-fjobwzfgw4] { width:6px; height:6px; border-radius:50%; }
.status-badge.active[b-fjobwzfgw4] { color:var(--fo-status-success-text); background:var(--fo-status-success-surface); }
.status-badge.active i[b-fjobwzfgw4] { background:#22c55e; }
.status-badge.inactive[b-fjobwzfgw4] { color:var(--fo-text-secondary); background:var(--fo-border); }
.status-badge.inactive i[b-fjobwzfgw4] { background:var(--fo-text-subtle); }
.catalog-table time[b-fjobwzfgw4] { color:var(--fo-text-muted); white-space:nowrap; font-size:.72rem; }
.actions-heading[b-fjobwzfgw4] { text-align:center!important; }
.row-actions[b-fjobwzfgw4] { justify-content:flex-end; }
.action-button[b-fjobwzfgw4],.close-button[b-fjobwzfgw4] { border:0; cursor:pointer; font-family:inherit; }
.action-button[b-fjobwzfgw4] { min-height:31px; padding:0 10px; color:var(--fo-primary-700); background:var(--fo-primary-50); border-radius:7px; font-size:.7rem; font-weight:680; }
.action-button:hover[b-fjobwzfgw4] { background:var(--fo-primary-100); }
.action-button.activate[b-fjobwzfgw4] { color:var(--fo-status-success-text); background:var(--fo-success-50); }
.action-button.activate:hover[b-fjobwzfgw4] { background:var(--fo-status-success-surface); }
.action-button.deactivate[b-fjobwzfgw4] { color:var(--fo-orange-800); background:var(--fo-orange-50); }
.action-button.deactivate:hover[b-fjobwzfgw4] { background:var(--fo-orange-100); }
.action-button:disabled[b-fjobwzfgw4],.close-button:disabled[b-fjobwzfgw4] { cursor:not-allowed; opacity:.55; }
.results-footer[b-fjobwzfgw4] { min-height:52px; padding:0 16px; display:flex; align-items:center; color:var(--fo-text-muted); background:var(--fo-surface-tint-soft); border-top:1px solid var(--fo-border); font-size:.75rem; }
.pagination-bar[b-fjobwzfgw4] { min-height:68px; padding:12px 16px; display:flex; align-items:center; justify-content:space-between; gap:18px; color:var(--fo-text-muted); background:var(--fo-surface-tint-soft); border-top:1px solid var(--fo-border); font-size:.75rem; }
.pagination-summary[b-fjobwzfgw4],.pagination-controls[b-fjobwzfgw4],.page-size-field[b-fjobwzfgw4] { display:flex; align-items:center; }
.pagination-summary[b-fjobwzfgw4] { gap:18px; }
.page-size-field[b-fjobwzfgw4] { gap:7px; color:var(--fo-text-muted); font-size:.7rem; }
.page-size-field select[b-fjobwzfgw4] { min-height:31px; padding:0 8px; color:var(--fo-text-emphasis); background:var(--fo-surface); border:1px solid var(--fo-border-strong); border-radius:7px; font:inherit; font-size:.72rem; }
.pagination-controls[b-fjobwzfgw4] { gap:12px; }
.pagination-button[b-fjobwzfgw4] { min-width:116px; }
.page-indicator[b-fjobwzfgw4] { min-width:116px; padding:7px 12px; display:inline-flex; align-items:center; justify-content:center; gap:5px; box-sizing:border-box; color:var(--fo-text-secondary); background:var(--fo-surface-muted); border:1px solid var(--fo-border); border-radius:8px; text-align:center; font-size:.73rem; }
.page-indicator span[b-fjobwzfgw4] { color:var(--fo-text-muted); font-weight:600; }
.dialog-backdrop[b-fjobwzfgw4] { position:fixed; z-index:1000; inset:0; padding:24px; display:grid; place-items:center; background:rgba(15,23,42,.48); backdrop-filter:blur(3px); }
.dialog-panel[b-fjobwzfgw4] { width:min(100%,560px); max-height:calc(100vh - 48px); overflow-y:auto; background:var(--fo-surface); border:1px solid var(--fo-border); border-radius:16px; box-shadow:0 30px 80px rgba(15,23,42,.28); }
.dialog-header[b-fjobwzfgw4] { padding:22px 24px 18px; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; border-bottom:1px solid var(--fo-border-faint); }
.dialog-kicker[b-fjobwzfgw4] { display:block; margin-bottom:5px; color:var(--fo-primary-600); font-size:.65rem; font-weight:750; letter-spacing:.11em; text-transform:uppercase; }
.dialog-header h2[b-fjobwzfgw4] { margin:0; color:var(--fo-text); font-size:1.05rem; }
.close-button[b-fjobwzfgw4] { width:32px; height:32px; flex:0 0 auto; color:var(--fo-text-muted); background:var(--fo-surface-muted); border-radius:8px; font-size:1.2rem; line-height:1; }
.dialog-body[b-fjobwzfgw4] { padding:22px 24px; display:grid; gap:18px; }
.editor-grid[b-fjobwzfgw4] { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field-error[b-fjobwzfgw4] { color:var(--fo-danger-700); font-size:.68rem; }
.dialog-message[b-fjobwzfgw4] { padding:11px 12px; border:1px solid; border-radius:8px; font-size:.72rem; line-height:1.5; }
.dialog-message.error[b-fjobwzfgw4] { color:var(--fo-danger-800); background:var(--fo-danger-50); border-color:var(--fo-danger-200); }
.dialog-actions[b-fjobwzfgw4] { padding:16px 24px 22px; justify-content:flex-end; border-top:1px solid var(--fo-border-faint); }
.confirmation-panel[b-fjobwzfgw4] { width:min(100%,500px); }
.confirmation-panel p[b-fjobwzfgw4] { margin:0; color:var(--fo-text-secondary); font-size:.82rem; line-height:1.65; }
@media(max-width:860px) { .filter-grid[b-fjobwzfgw4],.filter-grid.with-category[b-fjobwzfgw4] { grid-template-columns:1fr; } }
@media(max-width:760px) { .page-heading[b-fjobwzfgw4],.heading-actions[b-fjobwzfgw4] { align-items:stretch; flex-direction:column; } .filter-actions[b-fjobwzfgw4] { align-items:stretch; flex-direction:column; } .filter-actions fluent-button[b-fjobwzfgw4],.heading-actions fluent-button[b-fjobwzfgw4] { width:100%; } .total-counter[b-fjobwzfgw4] { min-width:0; } .catalog-tabs[b-fjobwzfgw4] { overflow-x:auto; } .catalog-tab[b-fjobwzfgw4] { flex:0 0 auto; } }
@media(max-width:560px) { .dialog-backdrop[b-fjobwzfgw4] { padding:12px; } .dialog-header[b-fjobwzfgw4],.dialog-body[b-fjobwzfgw4] { padding-left:19px; padding-right:19px; } .dialog-actions[b-fjobwzfgw4] { padding:15px 19px 19px; align-items:stretch; flex-direction:column-reverse; } .dialog-actions fluent-button[b-fjobwzfgw4] { width:100%; } .editor-grid[b-fjobwzfgw4] { grid-template-columns:1fr; } }


.materials-table[b-fjobwzfgw4] {
    min-width: 1040px;
    table-layout: fixed;
}

.materials-table .material-column[b-fjobwzfgw4] { width: 32%; }
.materials-table .category-column[b-fjobwzfgw4] { width: 10%; }
.materials-table .availability-column[b-fjobwzfgw4] { width: 25%; }
.materials-table .cost-column[b-fjobwzfgw4] { width: 13%; }
.materials-table .status-column[b-fjobwzfgw4] { width: 14%; }
.materials-table .actions-column[b-fjobwzfgw4] { width: 112px; }

.materials-table th[b-fjobwzfgw4],
.materials-table td[b-fjobwzfgw4] {
    padding-right: 12px;
    padding-left: 12px;
}

.materials-table td[b-fjobwzfgw4] {
    overflow-wrap: anywhere;
}

.materials-table th:last-child[b-fjobwzfgw4],
.materials-table td:last-child[b-fjobwzfgw4] {
    position: sticky;
    right: 0;
    z-index: 1;
    background: var(--fo-surface);
    box-shadow: -8px 0 14px -14px rgba(15, 23, 42, .5);
}

.materials-table th:last-child[b-fjobwzfgw4] {
    z-index: 2;
    background: var(--fo-surface-subtle);
}

.materials-table tbody tr:hover td:last-child[b-fjobwzfgw4] {
    background: var(--fo-surface-tint);
}

.material-code-line[b-fjobwzfgw4] {
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 9px;
}

.material-code-line .external-code[b-fjobwzfgw4] {
    margin: 0;
}

.materials-table .item-name[b-fjobwzfgw4] {
    display: block;
    line-height: 1.45;
}

.visibility-summary[b-fjobwzfgw4],
.status-summary[b-fjobwzfgw4],
.cost-summary[b-fjobwzfgw4] {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
}

.visibility-summary > div[b-fjobwzfgw4] {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    justify-items: center;
    gap: 8px;
}

.visibility-summary .visibility-tag[b-fjobwzfgw4] {
    max-width: 100%;
    justify-self: center;
}

.summary-label[b-fjobwzfgw4] {
    margin: 0 !important;
    padding-top: 5px;
    color: var(--fo-text-subtle) !important;
    font-size: .6rem !important;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.visibility-tag.unassigned[b-fjobwzfgw4] {
    width: fit-content;
    color: var(--fo-orange-800);
    background: var(--fo-orange-50);
}

.cost-summary > strong[b-fjobwzfgw4] {
    color: var(--fo-text);
    font-size: .8rem;
    white-space: nowrap;
}

.cost-summary > span[b-fjobwzfgw4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--fo-text-muted);
    font-size: .68rem;
}

.cost-summary .unit-symbol[b-fjobwzfgw4] {
    min-width: 28px;
    margin-right: 3px;
    padding: 3px 6px;
}

.status-summary[b-fjobwzfgw4] {
    justify-items: center;
}

.visibility-summary .tag-list[b-fjobwzfgw4] { justify-content: center; }

.material-filter-fields[b-fjobwzfgw4] {
    grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(160px, .75fr));
}

.material-filter-fields .catalog-filter-actions[b-fjobwzfgw4] {
    grid-column: 1 / -1;
    justify-content: flex-start;
}

.editor-field textarea[b-fjobwzfgw4] {
    width: 100%;
    min-height: 104px;
    padding: 10px 12px;
    box-sizing: border-box;
    resize: vertical;
    color: var(--fo-text);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border-strong);
    border-radius: 7px;
    font: inherit;
    font-size: .82rem;
    line-height: 1.5;
}

.editor-field textarea:focus[b-fjobwzfgw4] {
    border-color: var(--fo-primary-600);
    outline: 3px solid rgba(37, 99, 235, .11);
}

.material-editor-panel[b-fjobwzfgw4] {
    width: min(100%, 840px);
    max-height: calc(100vh - 40px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.material-editor-panel .dialog-header[b-fjobwzfgw4] {
    padding: 20px 24px 17px;
    background: linear-gradient(135deg, var(--fo-surface) 0%, light-dark(#f5f9ff, var(--fo-surface-subtle)) 100%);
}

.material-editor-panel .dialog-header p[b-fjobwzfgw4] {
    margin: 6px 0 0;
    color: var(--fo-text-muted);
    font-size: .72rem;
}

.material-editor-panel .dialog-body[b-fjobwzfgw4] {
    padding: 18px;
    overflow-y: auto;
    background: var(--fo-surface-subtle);
    overscroll-behavior: contain;
}

.material-editor-panel .dialog-actions[b-fjobwzfgw4] {
    position: relative;
    z-index: 1;
    padding: 14px 20px;
    background: var(--fo-surface);
    box-shadow: 0 -10px 24px -24px rgba(15, 23, 42, .65);
}

.material-editor-panel .dialog-actions[b-fjobwzfgw4]  fluent-button {
    min-height: 42px;
    min-width: 112px;
    border-radius: 9px;
    font-weight: 720;
}

.editor-section[b-fjobwzfgw4] {
    padding: 18px;
    display: grid;
    gap: 16px;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .035);
}

.editor-section-heading[b-fjobwzfgw4] {
    padding-bottom: 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--fo-border-faint);
}

.editor-section-heading > span[b-fjobwzfgw4] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 9px;
    font-size: .65rem;
    font-weight: 800;
}

.editor-section-heading h3[b-fjobwzfgw4],
.editor-section-heading p[b-fjobwzfgw4] {
    margin: 0;
}

.editor-section-heading h3[b-fjobwzfgw4] {
    color: var(--fo-text);
    font-size: .82rem;
}

.editor-section-heading p[b-fjobwzfgw4] {
    margin-top: 3px;
    color: var(--fo-text-muted);
    font-size: .67rem;
    line-height: 1.4;
}

.editor-grid.three-columns[b-fjobwzfgw4] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.material-editor-panel .editor-field input[b-fjobwzfgw4],
.material-editor-panel .editor-field select[b-fjobwzfgw4] {
    min-height: 44px;
    border-radius: 9px;
}

.visibility-selector[b-fjobwzfgw4] {
    margin: 0;
    padding: 14px;
    background: var(--fo-surface-tint-soft);
    border: 1px solid light-dark(#dbe3ee, var(--fo-border));
    border-radius: 10px;
}

.visibility-selector legend[b-fjobwzfgw4] {
    padding: 0 6px;
    color: var(--fo-text-emphasis);
    font-size: .75rem;
    font-weight: 750;
}

.visibility-selector legend strong[b-fjobwzfgw4] {
    color: var(--fo-danger-strong);
}

.selector-hint[b-fjobwzfgw4] {
    display: block;
    margin-bottom: 10px;
    color: var(--fo-text-muted);
    font-size: .69rem;
}

.visibility-option-grid[b-fjobwzfgw4] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.visibility-option[b-fjobwzfgw4] {
    min-height: 48px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--fo-text-emphasis);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    cursor: pointer;
}

.visibility-option:has(input:checked)[b-fjobwzfgw4] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-300);
}

.visibility-option input[b-fjobwzfgw4] {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    accent-color: var(--fo-primary-600);
}

.visibility-option span[b-fjobwzfgw4],
.visibility-option small[b-fjobwzfgw4] {
    display: block;
}

.visibility-option strong[b-fjobwzfgw4] {
    font-size: .73rem;
}

.visibility-option small[b-fjobwzfgw4] {
    margin-top: 2px;
    color: var(--fo-text-muted);
    font-size: .63rem;
}

.tag-list[b-fjobwzfgw4] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.visibility-tag[b-fjobwzfgw4] {
    min-height: 24px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    color: var(--fo-text-emphasis);
    background: var(--fo-surface-muted);
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 700;
    white-space: nowrap;
}

.visibility-tag.crew[b-fjobwzfgw4] {
    color: var(--fo-status-active-text);
    background: light-dark(#f3e8ff, var(--fo-status-active-surface));
}

.visibility-tag.provider[b-fjobwzfgw4] {
    color: var(--fo-link-deep);
    background: var(--fo-primary-100);
}

.analytical-preview[b-fjobwzfgw4] {
    max-width: 100%;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.4;
}

@media(max-width: 1180px) {
    .material-filter-fields[b-fjobwzfgw4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 680px) {
    .material-filter-fields[b-fjobwzfgw4],
    .visibility-option-grid[b-fjobwzfgw4] {
        grid-template-columns: 1fr;
    }

    .editor-grid.three-columns[b-fjobwzfgw4] {
        grid-template-columns: 1fr;
    }

    .material-editor-panel .dialog-body[b-fjobwzfgw4] {
        padding: 12px;
    }

    .editor-section[b-fjobwzfgw4] {
        padding: 14px;
    }
}

@media(max-width: 480px) {
    .visibility-summary > div[b-fjobwzfgw4] {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .summary-label[b-fjobwzfgw4] {
        padding-top: 0;
    }
}

@media(max-width: 760px) {
    .pagination-bar[b-fjobwzfgw4],
    .pagination-summary[b-fjobwzfgw4],
    .pagination-controls[b-fjobwzfgw4] {
        align-items: stretch;
        flex-direction: column;
    }

    .pagination-bar[b-fjobwzfgw4] {
        padding: 18px;
    }

    .page-size-field[b-fjobwzfgw4] {
        justify-content: space-between;
    }

    .materials-table th:last-child[b-fjobwzfgw4],
    .materials-table td:last-child[b-fjobwzfgw4] {
        position: static;
        box-shadow: none;
    }

    .materials-table .row-actions[b-fjobwzfgw4] {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
/* /Components/Pages/NewAssignment.razor.rz.scp.css */
.back-link[b-dd5096jceg] {
    width: fit-content;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fo-text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 650;
    transition: color 0.18s ease, transform 0.18s ease;
}

    .back-link:hover[b-dd5096jceg] {
        color: var(--fo-link-strong);
        transform: translateX(-2px);
    }


/* =========================
   PAGE HEADER
   ========================= */

.create-heading[b-dd5096jceg] {
    margin-bottom: 30px;
    padding-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid light-dark(#e8edf4, var(--fo-border));
}

    .create-heading h1[b-dd5096jceg] {
        margin: 5px 0 8px;
        color: var(--fo-text);
        font-size: clamp(1.85rem, 3vw, 2.4rem);
        font-weight: 750;
        letter-spacing: -0.04em;
        line-height: 1.1;
    }

    .create-heading p[b-dd5096jceg] {
        max-width: 700px;
        margin: 0;
        color: var(--fo-text-muted);
        font-size: 0.9rem;
        line-height: 1.65;
    }

.eyebrow[b-dd5096jceg] {
    color: var(--fo-link-strong);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.draft-badge[b-dd5096jceg] {
    min-height: 34px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 750;
    white-space: nowrap;
}


/* =========================
   LAYOUT
   ========================= */

.create-layout[b-dd5096jceg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 24px;
}

.form-sections[b-dd5096jceg] {
    display: grid;
    gap: 22px;
}


/* =========================
   CARDS
   ========================= */

.form-card[b-dd5096jceg],
.summary-card[b-dd5096jceg] {
    padding: 26px;
    background: var(--fo-surface);
    border: 1px solid light-dark(#e5eaf1, var(--fo-border));
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02), 0 8px 30px rgba(15, 23, 42, 0.045);
}

.form-card[b-dd5096jceg] {
    position: relative;
    overflow: hidden;
}

.form-card.calendar-form-card[b-dd5096jceg] {
    overflow: visible;
}

.form-card.calendar-form-card[b-dd5096jceg]::before {
    border-radius: 16px 0 0 16px;
}

    .form-card[b-dd5096jceg]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient( 180deg, var(--fo-action-600) 0%, var(--fo-primary-400) 100% );
    }

.card-heading[b-dd5096jceg] {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.card-kicker[b-dd5096jceg] {
    display: block;
    color: var(--fo-link-strong);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-heading h2[b-dd5096jceg],
.summary-card h2[b-dd5096jceg] {
    margin: 5px 0 0;
    color: var(--fo-text);
    font-size: 1.08rem;
    font-weight: 750;
}

.required-note[b-dd5096jceg] {
    color: var(--fo-text-subtle);
    font-size: 0.72rem;
}


/* =========================
   FORM GRID
   ========================= */

.form-grid[b-dd5096jceg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.full-width[b-dd5096jceg] {
    grid-column: 1 / -1;
}

.form-field[b-dd5096jceg] {
    display: grid;
    align-content: start;
    gap: 8px;
}

    .form-field > span:first-child[b-dd5096jceg] {
        color: var(--fo-text-emphasis);
        font-size: 0.78rem;
        font-weight: 700;
    }


    /* =========================
   INPUTS
   ========================= */

    .form-field input[b-dd5096jceg],
    .form-field select[b-dd5096jceg] {
        width: 100%;
        min-height: 46px;
        padding: 0 14px;
        color: var(--fo-text);
        background: var(--fo-surface);
        border: 1px solid light-dark(#d5dce6, var(--fo-border));
        border-radius: 9px;
        font-family: inherit;
        font-size: 0.86rem;
        transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    }

        .form-field input[b-dd5096jceg]::placeholder {
            color: #a3afbf;
        }

        .form-field input:hover:not(:disabled)[b-dd5096jceg],
        .form-field select:hover:not(:disabled)[b-dd5096jceg] {
            border-color: #94a3b8;
        }

        .form-field input:focus[b-dd5096jceg],
        .form-field select:focus[b-dd5096jceg] {
            border-color: #3b82f6;
            outline: none;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(15, 23, 42, 0.04);
        }

        .form-field input:disabled[b-dd5096jceg],
        .form-field select:disabled[b-dd5096jceg] {
            color: var(--fo-text-subtle);
            background: var(--fo-surface-subtle);
            cursor: not-allowed;
        }

        .form-field input[aria-invalid="true"][b-dd5096jceg],
        .form-field select[aria-invalid="true"][b-dd5096jceg] {
            border-color: #ef4444;
            background: light-dark(#fffafa, var(--fo-surface-subtle));
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.06);
        }


    /* =========================
   HELP / VALIDATION
   ========================= */

    .form-field small[b-dd5096jceg],
    .coordinates-note[b-dd5096jceg] {
        margin: 0;
        color: light-dark(#7c899b, var(--fo-text-muted));
        font-size: 0.71rem;
        line-height: 1.5;
    }

.field-error[b-dd5096jceg] {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--fo-danger-strong);
    font-size: 0.72rem;
    font-weight: 650;
}


/* =========================
   GEOCODING
   ========================= */

.geocode-action-panel[b-dd5096jceg] {
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient( 135deg, var(--fo-surface-tint) 0%, light-dark(#f4f8ff, var(--fo-surface-subtle)) 100% );
    border: 1px solid var(--fo-primary-100);
    border-radius: 12px;
}

    .geocode-action-panel > div[b-dd5096jceg] {
        display: grid;
        gap: 5px;
    }

    .geocode-action-panel strong[b-dd5096jceg],
    .geocode-result strong[b-dd5096jceg] {
        color: light-dark(#1e293b, var(--fo-text));
        font-size: 0.82rem;
        font-weight: 750;
    }

    .geocode-action-panel span[b-dd5096jceg],
    .geocode-result > span:not(.google-maps-attribution)[b-dd5096jceg] {
        color: var(--fo-text-muted);
        font-size: 0.74rem;
        line-height: 1.5;
    }

.geocode-button[b-dd5096jceg] {
    min-height: 42px;
    padding: 0 17px;
    color: var(--fo-on-accent);
    background: linear-gradient( 135deg, var(--fo-action-600) 0%, var(--fo-action-700) 100% );
    border: 0;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

    .geocode-button:hover:not(:disabled)[b-dd5096jceg] {
        transform: translateY(-1px);
        box-shadow: 0 6px 17px rgba(37, 99, 235, 0.24);
    }

    .geocode-button:focus-visible[b-dd5096jceg] {
        outline: 3px solid rgba(37, 99, 235, 0.18);
        outline-offset: 3px;
    }

    .geocode-button:disabled[b-dd5096jceg] {
        opacity: 0.55;
        cursor: default;
        box-shadow: none;
    }


/* =========================
   GEOCODE RESULTS
   ========================= */

.geocode-result[b-dd5096jceg] {
    padding: 15px 17px;
    display: grid;
    gap: 6px;
    border-radius: 11px;
}

    .geocode-result.success[b-dd5096jceg] {
        background: var(--fo-success-50);
        border: 1px solid var(--fo-success-200);
        box-shadow: inset 3px 0 0 #22c55e;
    }

    .geocode-result.error[b-dd5096jceg] {
        background: var(--fo-danger-50);
        border: 1px solid var(--fo-danger-200);
        box-shadow: inset 3px 0 0 #ef4444;
    }

    .geocode-result small[b-dd5096jceg] {
        color: var(--fo-warning-700);
        font-size: 0.7rem;
        line-height: 1.45;
    }

.google-maps-attribution[b-dd5096jceg] {
    width: fit-content;
    margin-top: 4px;
    color: light-dark(#5f6368, var(--fo-text-emphasis));
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    white-space: nowrap;
}


/* =========================
   SUMMARY
   ========================= */

.create-aside[b-dd5096jceg] {
    position: sticky;
    top: 24px;
}

.summary-card[b-dd5096jceg] {
    position: relative;
    border-color: light-dark(#dce5f0, var(--fo-border));
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

    .summary-card[b-dd5096jceg]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 24px;
        right: 24px;
        height: 3px;
        background: linear-gradient( 90deg, var(--fo-action-600), var(--fo-primary-400) );
        border-radius: 0 0 8px 8px;
    }

    .summary-card dl[b-dd5096jceg] {
        margin: 22px 0 24px;
        display: grid;
    }

        .summary-card dl > div[b-dd5096jceg] {
            padding: 13px 0;
            display: grid;
            gap: 5px;
            border-bottom: 1px solid light-dark(#edf1f6, var(--fo-border));
        }

            .summary-card dl > div:last-child[b-dd5096jceg] {
                border-bottom: none;
            }

    .summary-card dt[b-dd5096jceg] {
        color: light-dark(#7b8798, var(--fo-text-muted));
        font-size: 0.7rem;
    }

    .summary-card dd[b-dd5096jceg] {
        margin: 0;
        color: var(--fo-text);
        overflow-wrap: anywhere;
        font-size: 0.82rem;
        font-weight: 700;
    }

.status-new[b-dd5096jceg] {
    width: fit-content;
    min-height: 27px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    color: var(--fo-link-strong-hover);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}


/* =========================
   ACTIONS
   ========================= */

.submit-actions[b-dd5096jceg] {
    display: grid;
    gap: 11px;
}

    .submit-actions fluent-button[b-dd5096jceg] {
        width: 100%;
    }

.cancel-link[b-dd5096jceg],
.primary-link[b-dd5096jceg] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fo-text-muted);
    text-decoration: none;
    font-size: 0.77rem;
    font-weight: 700;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

    .cancel-link:hover[b-dd5096jceg],
    .primary-link:hover[b-dd5096jceg] {
        color: var(--fo-link-strong-hover);
        background: var(--fo-surface-subtle);
    }


/* =========================
   FORM MESSAGE
   ========================= */

.form-message[b-dd5096jceg] {
    padding: 15px 17px;
    display: grid;
    gap: 4px;
    border-radius: 11px;
    font-size: 0.78rem;
}

    .form-message.error[b-dd5096jceg] {
        color: var(--fo-danger-800);
        background: var(--fo-danger-50);
        border: 1px solid var(--fo-danger-200);
    }


/* =========================
   STATE PANELS
   ========================= */

.state-panel[b-dd5096jceg] {
    min-height: 360px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    background: var(--fo-surface);
    border: 1px solid light-dark(#e4e9f0, var(--fo-border));
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

    .state-panel strong[b-dd5096jceg] {
        color: var(--fo-text);
        font-size: 0.95rem;
    }

    .state-panel span[b-dd5096jceg] {
        max-width: 520px;
        color: var(--fo-text-muted);
        font-size: 0.82rem;
        line-height: 1.55;
    }

.state-icon[b-dd5096jceg] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--fo-danger-700) !important;
    background: var(--fo-danger-100);
    border-radius: 12px;
    font-size: 1.2rem !important;
    font-weight: 800;
}

    .state-icon.empty[b-dd5096jceg] {
        color: var(--fo-text-secondary) !important;
        background: var(--fo-surface-muted);
    }


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1050px) {
    .create-layout[b-dd5096jceg] {
        grid-template-columns: minmax(0, 1fr) 290px;
    }
}

@media (max-width: 900px) {
    .create-layout[b-dd5096jceg] {
        grid-template-columns: 1fr;
    }

    .create-aside[b-dd5096jceg] {
        position: static;
    }
}

@media (max-width: 640px) {
    .create-heading[b-dd5096jceg],
    .card-heading[b-dd5096jceg] {
        align-items: stretch;
        flex-direction: column;
    }

    .create-heading[b-dd5096jceg] {
        gap: 14px;
    }

    .draft-badge[b-dd5096jceg] {
        width: fit-content;
    }

    .form-grid[b-dd5096jceg] {
        grid-template-columns: 1fr;
    }

    .geocode-action-panel[b-dd5096jceg] {
        align-items: stretch;
        flex-direction: column;
    }

    .geocode-button[b-dd5096jceg] {
        width: 100%;
    }

    .full-width[b-dd5096jceg] {
        grid-column: auto;
    }

    .form-card[b-dd5096jceg],
    .summary-card[b-dd5096jceg] {
        padding: 20px;
        border-radius: 14px;
    }
}
/* /Components/Pages/Reports.razor.rz.scp.css */
.total-counter[b-jlili0zvdi] {
    min-width: 150px;
    padding: 14px 18px;
    flex: none;
    display: grid;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 12px;
}

.total-counter strong[b-jlili0zvdi] {
    color: var(--fo-text);
    font-size: 1.3rem;
}

.total-counter span[b-jlili0zvdi] {
    margin-top: 2px;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
}

/* Report type card: the page is built so more report types can be added as further cards. */
.report-type-card[b-jlili0zvdi] {
    margin-top: var(--fo-space-5);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fo-space-4);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-left: 4px solid var(--fo-primary-500);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}

.report-type-icon[b-jlili0zvdi] {
    width: 46px;
    height: 46px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--fo-primary-600);
    background: var(--fo-primary-50);
    border-radius: 12px;
}

.report-type-icon svg[b-jlili0zvdi] {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-type-text[b-jlili0zvdi] {
    flex: 1 1 260px;
    min-width: 0;
}

.report-type-text h2[b-jlili0zvdi] {
    margin: 0;
    color: var(--fo-text);
    font-size: var(--fo-font-title);
}

.report-type-text p[b-jlili0zvdi] {
    margin: 4px 0 0;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-small);
}

.report-price-scope[b-jlili0zvdi] {
    padding: 6px 12px;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border);
    border-radius: 999px;
    font-size: var(--fo-font-caption);
    font-weight: 600;
    white-space: nowrap;
}

.report-price-scope.with-prices[b-jlili0zvdi] {
    color: var(--fo-success-700);
    background: var(--fo-success-50);
    border-color: var(--fo-success-200);
}

.report-filter-bar[b-jlili0zvdi] {
    margin: var(--fo-space-4) 0;
    padding: 14px 18px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--fo-space-3) var(--fo-space-4);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: 14px;
}

.report-filter-bar .catalog-filter-field[b-jlili0zvdi] {
    flex: 0 1 220px;
}

.report-filter-bar .report-search-field[b-jlili0zvdi] {
    flex: 1 1 320px;
}

.report-filter-bar .report-state-field[b-jlili0zvdi] {
    flex-basis: 175px;
}

.report-generation-error[b-jlili0zvdi] {
    margin: 0 0 var(--fo-space-4);
    padding: var(--fo-space-3) var(--fo-space-4);
    color: var(--fo-danger-700);
    background: var(--fo-danger-50);
    border: 1px solid var(--fo-danger-200);
    border-radius: var(--fo-radius-sm);
    font-size: var(--fo-font-small);
}

.results-panel[b-jlili0zvdi] {
    overflow: hidden;
}

.results-panel .table-scroll[b-jlili0zvdi] {
    scrollbar-gutter: auto;
}

.reports-table th[b-jlili0zvdi],
.reports-table td[b-jlili0zvdi] {
    padding-inline: var(--fo-space-4);
}

.reference-cell[b-jlili0zvdi],
.address-cell[b-jlili0zvdi] {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 0;
}

.reference-cell .assignment-link[b-jlili0zvdi] {
    color: var(--fo-primary-700);
    border-radius: var(--fo-radius-sm);
    font-weight: 700;
    text-decoration: none;
}

.reference-cell .assignment-link:hover[b-jlili0zvdi] {
    text-decoration: underline;
}

.reference-cell strong[b-jlili0zvdi],
.address-cell strong[b-jlili0zvdi] {
    color: var(--fo-text);
    font-size: .85rem;
}

.reference-cell small[b-jlili0zvdi],
.address-cell span[b-jlili0zvdi] {
    color: var(--fo-text-muted);
    font-size: var(--fo-font-caption);
}

.report-provider[b-jlili0zvdi],
.report-status[b-jlili0zvdi] {
    min-height: 25px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.report-provider.provider-ote[b-jlili0zvdi] { color: var(--fo-provider-ote-text); background: var(--fo-provider-ote-surface); border-color: var(--fo-provider-ote-border); }
.report-provider.provider-vodafone[b-jlili0zvdi] { color: var(--fo-provider-vodafone-text); background: var(--fo-provider-vodafone-surface); border-color: var(--fo-provider-vodafone-border); }
.report-provider.provider-dei[b-jlili0zvdi] { color: var(--fo-provider-dei-text); background: var(--fo-provider-dei-surface); border-color: var(--fo-provider-dei-border); }

.report-status[b-jlili0zvdi] {
    white-space: nowrap;
}

.report-status.is-generated[b-jlili0zvdi] {
    color: var(--fo-success-700);
    background: var(--fo-success-50);
    border-color: var(--fo-success-200);
}

.ui-icon-action-glyph[b-jlili0zvdi] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pagination-bar .page-indicator[b-jlili0zvdi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25em;
}

@media (max-width: 760px) {
    .total-counter[b-jlili0zvdi] {
        min-width: 0;
        padding: 8px 12px;
        display: flex;
        align-items: baseline;
        gap: var(--fo-space-2);
    }

    .total-counter span[b-jlili0zvdi] {
        margin: 0;
    }

    .report-filter-bar[b-jlili0zvdi] {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .report-filter-bar .catalog-filter-actions[b-jlili0zvdi] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .report-type-card[b-jlili0zvdi] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: var(--fo-space-3);
        padding: 14px 16px;
    }

    .report-price-scope[b-jlili0zvdi] {
        grid-column: 2;
        justify-self: start;
        white-space: normal;
    }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-state[b-kg49ht9k96]{min-height:320px;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;background:var(--fo-surface);border:1px solid var(--fo-border-soft);border-radius:14px}.settings-state strong[b-kg49ht9k96]{color:var(--fo-text);font-size:.95rem}.settings-state span[b-kg49ht9k96]{color:var(--fo-text-muted);font-size:.8rem}.settings-card[b-kg49ht9k96]{padding:0;overflow:hidden;background:var(--fo-surface);border:1px solid var(--fo-border-soft);border-radius:14px;box-shadow:0 8px 28px rgba(15,23,42,.04)}.settings-section[b-kg49ht9k96]{padding:24px;display:grid;gap:18px;border-bottom:1px solid var(--fo-border-faint)}.settings-section-heading[b-kg49ht9k96]{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:12px}.settings-icon[b-kg49ht9k96]{width:38px;height:38px;display:grid;place-items:center;color:var(--fo-link-strong-hover);background:var(--fo-primary-50);border-radius:10px;font-size:.9rem;font-weight:800}.settings-section-heading>div[b-kg49ht9k96]{min-width:0}.settings-section-heading>div>span[b-kg49ht9k96]{color:var(--fo-link-strong);font-size:.64rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.settings-section-heading h2[b-kg49ht9k96]{margin:3px 0 0;color:var(--fo-text);font-size:1rem}.settings-section-heading p[b-kg49ht9k96]{max-width:720px;margin:5px 0 0;color:var(--fo-text-muted);font-size:.74rem;line-height:1.5}.directory-section[b-kg49ht9k96]{background:linear-gradient(135deg,var(--fo-surface) 0%,var(--fo-surface-tint) 100%)}.directory-row[b-kg49ht9k96]{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--fo-surface-subtle);border:1px solid var(--fo-border-soft);border-radius:10px}.directory-row>div[b-kg49ht9k96]{min-width:0;display:grid;gap:4px}.directory-row span[b-kg49ht9k96]{color:var(--fo-text-muted);font-size:.68rem}.directory-row strong[b-kg49ht9k96]{color:var(--fo-text);font-size:.82rem;overflow-wrap:anywhere}.settings-grid[b-kg49ht9k96]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-field[b-kg49ht9k96]{display:grid;align-content:start;gap:7px}.settings-field>span[b-kg49ht9k96]{color:var(--fo-text-secondary);font-size:.72rem;font-weight:700}.settings-field input[b-kg49ht9k96]{width:100%;min-height:40px;padding:0 12px;box-sizing:border-box;color:var(--fo-text);background:var(--fo-surface);border:1px solid var(--fo-border-strong);border-radius:7px}.settings-field input:focus[b-kg49ht9k96]{border-color:var(--fo-action-600);outline:3px solid rgba(37,99,235,.11)}.settings-field small[b-kg49ht9k96]{color:var(--fo-text-muted);font-size:.65rem;line-height:1.45}.settings-toggle-list[b-kg49ht9k96]{display:grid;gap:10px}.settings-toggle-list label[b-kg49ht9k96]{padding:13px 14px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:11px;background:var(--fo-surface-subtle);border:1px solid var(--fo-border-soft);border-radius:10px;cursor:pointer}.settings-toggle-list input[b-kg49ht9k96]{margin-top:3px}.settings-toggle-list label>span[b-kg49ht9k96]{display:grid;gap:3px}.settings-toggle-list strong[b-kg49ht9k96]{color:var(--fo-text);font-size:.76rem}.settings-toggle-list small[b-kg49ht9k96]{color:var(--fo-text-muted);font-size:.67rem;line-height:1.45}.settings-message[b-kg49ht9k96]{margin:20px 24px 0;padding:11px 13px;border:1px solid;border-radius:9px;font-size:.74rem}.settings-message.success[b-kg49ht9k96]{color:var(--fo-status-success-text);background:var(--fo-success-50);border-color:var(--fo-success-200)}.settings-message.error[b-kg49ht9k96]{color:var(--fo-danger-800);background:var(--fo-danger-50);border-color:var(--fo-danger-200)}.settings-actions[b-kg49ht9k96]{padding:20px 24px;display:flex;justify-content:flex-end;background:var(--fo-surface-tint-soft)}@media(max-width:700px){.settings-grid[b-kg49ht9k96]{grid-template-columns:1fr}.directory-row[b-kg49ht9k96]{align-items:stretch;flex-direction:column}.directory-row fluent-button[b-kg49ht9k96],.settings-actions fluent-button[b-kg49ht9k96]{width:100%}.settings-actions[b-kg49ht9k96]{align-items:stretch;flex-direction:column}}
/* /Components/Pages/Tools.razor.rz.scp.css */
.tools-grid[b-c1ryk4au1b] { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),420px)); gap:1.2rem; }
.tool-card[b-c1ryk4au1b] { padding:1.6rem; background:var(--surface,#fff); border:1px solid var(--border-color,#dde4e0); border-radius:18px; box-shadow:0 5px 20px #183e2310; }
.tool-badge[b-c1ryk4au1b] { display:inline-block; font-size:.72rem; font-weight:750; letter-spacing:.08em; padding:.35rem .65rem; border-radius:8px; color:#235b31; background:#edf7ee; }
.tool-card h2[b-c1ryk4au1b] { font-size:1.2rem; margin:1rem 0 .6rem; }
.tool-card p[b-c1ryk4au1b] { color:var(--text-secondary,#61706a); line-height:1.65; margin-bottom:1.3rem; }

/* Dark theme (FR-06.1): token surfaces; the Light literals above stay authoritative for Light mode. */
:root[data-theme="dark"] .tool-card[b-c1ryk4au1b] { color: var(--fo-text); background: var(--fo-surface); border-color: var(--fo-border); box-shadow: var(--fo-shadow-card); }
:root[data-theme="dark"] .tool-badge[b-c1ryk4au1b] { color: var(--fo-success-700); background: var(--fo-success-50); }
:root[data-theme="dark"] .tool-card p[b-c1ryk4au1b] { color: var(--fo-text-secondary); }
/* /Components/Pages/Users.razor.rz.scp.css */
.page-heading[b-ozx0ucrvls] { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:20px; }
.page-heading h1[b-ozx0ucrvls] { margin:5px 0; font-size:1.8rem; }
.page-heading p[b-ozx0ucrvls] { margin:0; color:var(--fo-text-muted); font-size:.8rem; }
.eyebrow[b-ozx0ucrvls] { color:var(--fo-primary-600); font-size:.66rem; font-weight:750; letter-spacing:.1em; text-transform:uppercase; }
.heading-actions[b-ozx0ucrvls] { display:flex; align-items:stretch; justify-content:flex-end; gap:10px; }
.create-entity-button[b-ozx0ucrvls] { min-height:52px; }
.total-counter[b-ozx0ucrvls] { min-width:160px; padding:14px 18px; display:grid; background:var(--fo-surface); border:1px solid var(--fo-border); border-radius:11px; box-shadow:0 7px 22px rgba(15,23,42,.045); }
.total-counter strong[b-ozx0ucrvls] { color:var(--fo-text); font-size:1.3rem; }
.total-counter span[b-ozx0ucrvls] { margin-top:2px; color:var(--fo-text-muted); font-size:.73rem; }
.user-filters[b-ozx0ucrvls] { padding:18px 20px; display:grid; grid-template-columns:minmax(260px,2fr) minmax(160px,1fr) minmax(160px,1fr) auto; align-items:end; gap:14px; background:var(--fo-surface); border:1px solid var(--fo-border); border-radius:14px; box-shadow:0 8px 28px rgba(15,23,42,.04); }
.filter-field[b-ozx0ucrvls] { min-width:0; display:grid; gap:7px; color:var(--fo-text-secondary); font-size:.7rem; font-weight:750; }
.filter-field > span[b-ozx0ucrvls] { padding-left:2px; }
.filter-field input[b-ozx0ucrvls], .filter-field select[b-ozx0ucrvls] { width:100%; min-height:44px; padding:0 12px; color:var(--fo-text); background:var(--fo-surface); border:1px solid var(--fo-border-strong); border-radius:8px; box-sizing:border-box; transition:border-color .15s ease, box-shadow .15s ease; }
.filter-field input:hover[b-ozx0ucrvls], .filter-field select:hover[b-ozx0ucrvls] { border-color:var(--fo-text-subtle); }
.filter-field input:focus[b-ozx0ucrvls], .filter-field select:focus[b-ozx0ucrvls] { border-color:var(--fo-primary-600); box-shadow:0 0 0 3px rgba(37,99,235,.12); outline:none; }
.filter-actions[b-ozx0ucrvls] { min-height:44px; display:flex; align-items:stretch; justify-content:flex-end; gap:8px; }
.filter-actions fluent-button[b-ozx0ucrvls] { min-width:108px; }
.search-icon[b-ozx0ucrvls] { margin-right:6px; font-size:1rem; line-height:1; }
.notice[b-ozx0ucrvls] { margin:14px 0; padding:11px 13px; border-radius:8px; font-size:.75rem; }
.notice.success[b-ozx0ucrvls] { color:var(--fo-status-success-text); background:var(--fo-success-50); border:1px solid var(--fo-success-200); }
.notice.error[b-ozx0ucrvls], .dialog-error[b-ozx0ucrvls] { color:var(--fo-danger-800); background:var(--fo-danger-50); border:1px solid var(--fo-danger-200); }
.users-panel[b-ozx0ucrvls] { margin-top:18px; background:var(--fo-surface); border:1px solid var(--fo-border); border-radius:14px; overflow:hidden; }
.table-scroll[b-ozx0ucrvls] { overflow:auto; }
table[b-ozx0ucrvls] { width:100%; min-width:1240px; border-collapse:collapse; table-layout:fixed; font-size:.75rem; }
th[b-ozx0ucrvls], td[b-ozx0ucrvls] { padding:14px 16px; text-align:left; vertical-align:middle; border-bottom:1px solid var(--fo-border-faint); white-space:nowrap; }
th[b-ozx0ucrvls] { color:var(--fo-text-muted); background:var(--fo-surface-subtle); font-size:.66rem; text-transform:uppercase; letter-spacing:.05em; }
th:nth-child(1)[b-ozx0ucrvls], td:nth-child(1)[b-ozx0ucrvls] { width:23%; }
th:nth-child(2)[b-ozx0ucrvls], td:nth-child(2)[b-ozx0ucrvls] { width:24%; }
th:nth-child(3)[b-ozx0ucrvls], td:nth-child(3)[b-ozx0ucrvls] { width:12%; }
th:nth-child(4)[b-ozx0ucrvls], td:nth-child(4)[b-ozx0ucrvls] { width:11%; }
th:nth-child(5)[b-ozx0ucrvls], td:nth-child(5)[b-ozx0ucrvls] { width:30%; }
td:first-child[b-ozx0ucrvls] { display:table-cell; vertical-align:middle; }
td:first-child > strong[b-ozx0ucrvls],
td:first-child > small[b-ozx0ucrvls] { display:block; }
td:first-child > small[b-ozx0ucrvls] { margin-top:3px; }
td small[b-ozx0ucrvls] { color:var(--fo-text-muted); }
.status[b-ozx0ucrvls] { padding:5px 8px; border-radius:999px; font-size:.66rem; font-weight:700; }
.status.active[b-ozx0ucrvls] { color:var(--fo-status-success-text); background:var(--fo-status-success-surface); }
.status.inactive[b-ozx0ucrvls] { color:var(--fo-text-secondary); background:var(--fo-border); }
.actions[b-ozx0ucrvls] { display:flex; gap:7px; }
.actions button[b-ozx0ucrvls] { color:var(--fo-primary-700); background:transparent; border:0; font-size:.68rem; font-weight:700; cursor:pointer; }
.actions button:disabled[b-ozx0ucrvls] { color:var(--fo-text-subtle); cursor:not-allowed; }
.users-panel > footer[b-ozx0ucrvls] { padding:14px 16px; display:flex; justify-content:space-between; align-items:center; color:var(--fo-text-muted); font-size:.7rem; }
.users-panel > footer div[b-ozx0ucrvls] { display:flex; align-items:center; gap:10px; }
.state-panel[b-ozx0ucrvls] { min-height:320px; display:grid; place-content:center; justify-items:center; gap:10px; color:var(--fo-text-muted); }
.dialog-backdrop[b-ozx0ucrvls] { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; overflow:hidden; background:rgba(15,23,42,.52); }
.dialog[b-ozx0ucrvls] { width:min(680px,100%); max-height:calc(100vh - 40px); max-height:calc(100dvh - 40px); padding:0; display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:0; overflow:hidden; box-sizing:border-box; background:var(--fo-surface); border-radius:14px; box-shadow:0 24px 80px rgba(15,23,42,.3); }
.dialog > header[b-ozx0ucrvls] { min-height:64px; padding:12px 24px; display:flex; justify-content:space-between; align-items:center; box-sizing:border-box; background:var(--fo-surface); border-bottom:1px solid var(--fo-border); }
.dialog-content[b-ozx0ucrvls] { min-height:0; padding:18px 24px; display:grid; gap:15px; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.dialog h2[b-ozx0ucrvls] { margin:0; font-size:1.1rem; }
.dialog header button[b-ozx0ucrvls] { width:40px; height:40px; display:grid; place-items:center; color:var(--fo-text-muted); background:var(--fo-surface-subtle); border:1px solid var(--fo-border); border-radius:10px; font-size:1.25rem; cursor:pointer; }
.dialog header button:hover:not(:disabled)[b-ozx0ucrvls] { color:var(--fo-text); background:var(--fo-surface-muted); border-color:var(--fo-border-strong); }
.dialog label[b-ozx0ucrvls] { display:grid; gap:6px; color:var(--fo-text-secondary); font-size:.7rem; font-weight:700; }
.dialog small[b-ozx0ucrvls] { color:var(--fo-text-muted); font-size:.66rem; line-height:1.5; }
.dialog-error[b-ozx0ucrvls] { padding:10px 11px; border-radius:8px; font-size:.7rem; }
.dialog > footer[b-ozx0ucrvls] { min-height:70px; padding:12px 24px; display:flex; align-items:center; justify-content:flex-end; gap:10px; box-sizing:border-box; background:var(--fo-surface); border-top:1px solid var(--fo-border); box-shadow:0 -8px 20px rgba(15,23,42,.035); }
@media(max-width:900px){.user-filters[b-ozx0ucrvls]{grid-template-columns:1fr 1fr}.search-filter[b-ozx0ucrvls]{grid-column:1/-1}.filter-actions[b-ozx0ucrvls]{grid-column:1/-1}.page-heading[b-ozx0ucrvls]{align-items:flex-start;flex-direction:column}table[b-ozx0ucrvls]{min-width:1120px}}

.create-entity-button .add-icon[b-ozx0ucrvls] { width:24px; height:24px; display:inline-grid; place-items:center; margin-right:7px; color:var(--fo-primary-700); background:var(--fo-surface); border-radius:7px; font-size:1rem; font-weight:800; }
.pagination-bar[b-ozx0ucrvls] { min-height:64px; padding:12px 16px; display:flex; align-items:center; justify-content:space-between; gap:18px; color:var(--fo-text-muted); background:var(--fo-surface-tint-soft); border-top:1px solid var(--fo-border); font-size:.75rem; }
.pagination-controls[b-ozx0ucrvls] { display:flex; align-items:center; gap:12px; }
.pagination-button[b-ozx0ucrvls] { min-width:116px; }
.pagination-arrow[b-ozx0ucrvls] { font-size:.95rem; line-height:1; }
.page-indicator[b-ozx0ucrvls] { min-width:116px; padding:7px 12px; display:inline-flex; align-items:center; justify-content:center; gap:5px; color:var(--fo-text-secondary); background:var(--fo-surface-muted); border:1px solid var(--fo-border); border-radius:8px; text-align:center; font-size:.73rem; }
.page-indicator span[b-ozx0ucrvls] { color:var(--fo-text-muted); font-weight:600; }
.actions button.delete[b-ozx0ucrvls] { color:var(--fo-danger-700); }
.actions button.delete:hover[b-ozx0ucrvls] { color:var(--fo-danger-800); }
.delete-warning[b-ozx0ucrvls] { margin:0; color:var(--fo-text-secondary); font-size:.78rem; line-height:1.65; white-space:normal; }
.delete-warning strong[b-ozx0ucrvls] { color:var(--fo-text); }
.users-panel td:nth-child(2)[b-ozx0ucrvls] { min-width:190px; vertical-align:middle; }
.users-panel td:nth-child(2) > strong[b-ozx0ucrvls],
.users-panel td:nth-child(2) > small[b-ozx0ucrvls],
.users-panel td:nth-child(2) > a[b-ozx0ucrvls] { display:block; }
.users-panel td:nth-child(2) > small[b-ozx0ucrvls],
.users-panel td:nth-child(2) > a[b-ozx0ucrvls] { margin-top:4px; line-height:1.3; }
.user-crew-link[b-ozx0ucrvls] { width:fit-content; margin-inline:auto; color:var(--fo-primary-700); font-size:.68rem; font-weight:700; text-decoration:none; }
.user-crew-link:hover[b-ozx0ucrvls] { text-decoration:underline; }
.actions[b-ozx0ucrvls] { display:table-cell; min-width:0; vertical-align:middle; white-space:nowrap; }
.actions button + button[b-ozx0ucrvls] { margin-left:8px; }
.technician-crew-readonly[b-ozx0ucrvls] { display:grid; gap:5px; padding:12px 13px; background:var(--fo-surface-subtle); border:1px solid var(--fo-border); border-radius:9px; }
.technician-crew-readonly > span[b-ozx0ucrvls] { color:var(--fo-text-secondary); font-size:.7rem; font-weight:700; }
.technician-crew-readonly > strong[b-ozx0ucrvls] { color:var(--fo-text); font-size:.78rem; }
.technician-crew-readonly > a[b-ozx0ucrvls] { width:fit-content; color:var(--fo-primary-700); font-size:.78rem; font-weight:750; text-decoration:none; }
.technician-crew-readonly > a:hover[b-ozx0ucrvls] { text-decoration:underline; }
.dialog select:disabled[b-ozx0ucrvls] { color:var(--fo-text-muted); background:var(--fo-surface-muted); cursor:not-allowed; }
.promotion-code[b-ozx0ucrvls] { display:block; margin-block:10px; overflow-wrap:anywhere; user-select:all; }

@media(max-width:640px) {
    .pagination-bar[b-ozx0ucrvls], .pagination-controls[b-ozx0ucrvls] { align-items:stretch; flex-direction:column; }
    .pagination-button[b-ozx0ucrvls], .page-indicator[b-ozx0ucrvls] { width:100%; }
}

@media(max-width:680px) {
    .heading-actions[b-ozx0ucrvls] { width:100%; align-items:stretch; flex-direction:column; }
    .heading-actions fluent-button[b-ozx0ucrvls], .total-counter[b-ozx0ucrvls] { width:100%; }
    .total-counter[b-ozx0ucrvls] { min-width:0; box-sizing:border-box; }
}


@media(max-width:620px) {
    .user-filters[b-ozx0ucrvls] { padding:16px; grid-template-columns:1fr; }
    .search-filter[b-ozx0ucrvls], .filter-actions[b-ozx0ucrvls] { grid-column:auto; }
    .filter-actions[b-ozx0ucrvls] { flex-direction:column-reverse; }
    .filter-actions fluent-button[b-ozx0ucrvls] { width:100%; }

    .dialog-backdrop[b-ozx0ucrvls] { padding:10px; }
    .dialog[b-ozx0ucrvls] { max-height:calc(100vh - 20px); max-height:calc(100dvh - 20px); }
    .dialog > header[b-ozx0ucrvls] { min-height:58px; padding:9px 16px; }
    .dialog-content[b-ozx0ucrvls] { padding:16px; }
    .dialog > footer[b-ozx0ucrvls] { min-height:66px; padding:10px 16px; }
    .dialog > footer fluent-button[b-ozx0ucrvls],
    .dialog > footer .confirm-delete-button[b-ozx0ucrvls] { flex:1 1 0; }
}
/* /Components/Shared/FormField.razor.rz.scp.css */
.ui-form-field[b-sw5w5oppgf] { min-width: 0; display: grid; align-content: start; gap: 7px; }
.ui-form-field > label[b-sw5w5oppgf] { color: var(--fo-text-secondary); font-size: var(--fo-font-caption); font-weight: 750; }
.required[b-sw5w5oppgf] { color: var(--fo-danger-600); }
.ui-form-field[b-sw5w5oppgf]  input,
.ui-form-field[b-sw5w5oppgf]  select,
.ui-form-field[b-sw5w5oppgf]  textarea { width: 100%; min-height: 44px; padding: 0 12px; box-sizing: border-box; color: var(--fo-text); background: var(--fo-surface); border: 1px solid var(--fo-border-strong); border-radius: var(--fo-radius-sm); font: inherit; }
.ui-form-field[b-sw5w5oppgf]  textarea { min-height: 110px; padding-block: 10px; resize: vertical; }
.ui-form-field[b-sw5w5oppgf]  input:focus,
.ui-form-field[b-sw5w5oppgf]  select:focus,
.ui-form-field[b-sw5w5oppgf]  textarea:focus { border-color: var(--fo-primary-500); outline: 3px solid var(--fo-focus); }
.ui-form-field > small[b-sw5w5oppgf] { color: var(--fo-text-muted); font-size: var(--fo-font-caption); line-height: 1.45; }
.field-error[b-sw5w5oppgf] { color: var(--fo-danger-700); font-size: var(--fo-font-caption); line-height: 1.45; }
.invalid[b-sw5w5oppgf]  input,
.invalid[b-sw5w5oppgf]  select,
.invalid[b-sw5w5oppgf]  textarea { border-color: var(--fo-danger-500); }
/* /Components/Shared/FormValidationSummary.razor.rz.scp.css */
.ui-validation-summary[b-upkalnmqk0] { padding: 11px 12px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 9px; color: var(--fo-danger-700); background: var(--fo-danger-50); border: 1px solid var(--fo-danger-200); border-radius: var(--fo-radius-sm); }
.ui-validation-summary > span[b-upkalnmqk0] { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; background: var(--fo-danger-600); border-radius: 50%; font-size: .7rem; font-weight: 800; }
.ui-validation-summary strong[b-upkalnmqk0] { font-size: var(--fo-font-caption); }
.ui-validation-summary p[b-upkalnmqk0] { margin: 2px 0 0; color: var(--fo-danger-700); font-size: var(--fo-font-caption); line-height: 1.45; }
/* /Components/Shared/IconActionButton.razor.rz.scp.css */
.ui-icon-action[b-wlg32px7gl] {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid transparent;
    border-radius: var(--fo-radius-sm);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    transition: color 140ms ease, background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.ui-icon-action:hover:not(:disabled)[b-wlg32px7gl] {
    background: var(--fo-primary-100);
    border-color: var(--fo-primary-200);
    transform: translateY(-1px);
}

.ui-icon-action.warning[b-wlg32px7gl] { color: var(--fo-warning-700); background: var(--fo-warning-50); }
.ui-icon-action.warning:hover:not(:disabled)[b-wlg32px7gl] { background: var(--fo-warning-50); border-color: var(--fo-warning-200); }
.ui-icon-action.danger[b-wlg32px7gl] { color: var(--fo-danger-700); background: var(--fo-danger-50); }
.ui-icon-action.danger:hover:not(:disabled)[b-wlg32px7gl] { background: var(--fo-danger-100); border-color: var(--fo-danger-200); }
.ui-icon-action:disabled[b-wlg32px7gl] { color: var(--fo-disabled-text); background: var(--fo-disabled-background); cursor: not-allowed; opacity: .7; }
.ui-icon-action:focus-visible[b-wlg32px7gl] { outline: 3px solid var(--fo-focus); outline-offset: 2px; }
.ui-icon-action:active:not(:disabled)[b-wlg32px7gl] { transform: translateY(0); background: var(--fo-primary-100); }
.ui-icon-action.danger:active:not(:disabled)[b-wlg32px7gl] { background: var(--fo-danger-100); }
.ui-icon-action.warning:active:not(:disabled)[b-wlg32px7gl] { background: var(--fo-warning-50); }
.ui-icon-action-glyph[b-wlg32px7gl] { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ui-icon-action-glyph.members[b-wlg32px7gl] { fill: currentColor; stroke: none; }
.ui-icon-action-text[b-wlg32px7gl] { font-size: var(--fo-font-caption); }
.ui-icon-action:has(.ui-icon-action-text)[b-wlg32px7gl] { width: auto; padding: 0 11px; }

@media (pointer: coarse) {
    .ui-icon-action[b-wlg32px7gl] { width: 44px; min-width: 44px; height: 44px; }
}
/* /Components/Shared/RowActionMenu.razor.rz.scp.css */
.row-action-menu-trigger[b-7edmlbjrp1] {
    width:36px;
    height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    color:var(--fo-text-secondary);
    background:var(--fo-surface-subtle);
    border:1px solid var(--fo-border);
    border-radius:9px;
    font-family:inherit;
    cursor:pointer;
    transition:background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.row-action-menu-trigger > svg[b-7edmlbjrp1] { width:20px; height:20px; fill:currentColor; flex-shrink:0; }
.row-action-menu-trigger.with-text[b-7edmlbjrp1] {
    width:auto;
    gap:4px;
    padding-inline:10px 6px;
    font-size:var(--fo-font-caption);
    font-weight:700;
}
.row-action-menu-trigger:hover:not(:disabled)[b-7edmlbjrp1],
.row-action-menu-trigger[aria-expanded="true"][b-7edmlbjrp1] { color:var(--fo-primary-700); background:var(--fo-primary-50); border-color:var(--fo-primary-200); }
.row-action-menu-trigger:focus-visible[b-7edmlbjrp1] { outline:3px solid var(--fo-focus); outline-offset:2px; }
.row-action-menu-trigger:disabled[b-7edmlbjrp1] { opacity:.5; cursor:not-allowed; }

.row-action-menu-popup[b-7edmlbjrp1] {
    position:fixed;
    inset:auto;
    margin:0;
    width:min(280px, calc(100vw - 24px));
    max-height:calc(100dvh - 24px);
    padding:7px;
    box-sizing:border-box;
    overflow-y:auto;
    color:var(--fo-text);
    text-align:left;
    background:var(--fo-surface);
    border:1px solid var(--fo-border);
    border-radius:13px;
    box-shadow:var(--fo-shadow-overlay);
    opacity:0;
    transform:translateY(-5px) scale(.98);
    transform-origin:top left;
    transition:opacity .16s ease, transform .16s ease, display .16s allow-discrete, overlay .16s allow-discrete;
}
.row-action-menu-popup:popover-open[b-7edmlbjrp1] { opacity:1; transform:translateY(0) scale(1); }
@starting-style {
    .row-action-menu-popup:popover-open[b-7edmlbjrp1] { opacity:0; transform:translateY(-5px) scale(.98); }
}
.row-action-menu-heading[b-7edmlbjrp1] { padding:7px 11px 9px; color:var(--fo-text-muted); font-size:var(--fo-font-caption); font-weight:750; letter-spacing:.05em; text-transform:uppercase; }
.row-action-menu-items[b-7edmlbjrp1] { display:grid; gap:3px; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action {
    width:100%;
    height:auto;
    min-height:40px !important;
    padding:10px 11px !important;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    box-sizing:border-box;
    color:var(--fo-text-secondary) !important;
    background:transparent !important;
    border:0;
    border-radius:8px !important;
    margin:0;
    text-align:left;
    text-decoration:none !important;
}
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action:hover:not(:disabled) { color:var(--fo-primary-700) !important; background:var(--fo-primary-50) !important; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action.warning { color:var(--fo-warning-700) !important; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action.warning:hover:not(:disabled) { background:var(--fo-warning-50) !important; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action.danger { color:var(--fo-danger-700) !important; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action.danger:hover:not(:disabled) { background:var(--fo-danger-50) !important; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action:disabled { color:var(--fo-text-muted) !important; opacity:.55; cursor:not-allowed; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action:focus-visible { outline:2px solid var(--fo-focus); outline-offset:-2px; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action-glyph { width:18px; height:18px; flex:0 0 18px; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action-text { font-size:var(--fo-font-caption); font-weight:650; white-space:normal; }
.row-action-menu-popup[b-7edmlbjrp1]  .ui-action-separator { display:block; width:auto; height:1px; margin:5px 7px; background:var(--fo-border); }

@media(prefers-reduced-motion:reduce) {
    .row-action-menu-trigger[b-7edmlbjrp1], .row-action-menu-popup[b-7edmlbjrp1] { transition:none; transform:none; }
}

@media (pointer: coarse) {
    .row-action-menu-trigger[b-7edmlbjrp1] { width: 44px; height: 44px; }
    .row-action-menu-popup[b-7edmlbjrp1]  .ui-icon-action { min-height: 44px !important; }
}
/* /Components/Shared/ThemeSelector.razor.rz.scp.css */
.fo-theme-selector[b-q5divh2rdo] {
    position: relative;
    flex: 0 0 auto;
}

/* Same footprint and states as the notification bell (header action convention). */
.fo-theme-toggle[b-q5divh2rdo] {
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    color: var(--fo-text-secondary);
    background: var(--fo-surface-subtle);
    border: 1px solid var(--fo-border);
    border-radius: 11px;
    cursor: pointer;
    transition: border-color var(--fo-transition), color var(--fo-transition), background var(--fo-transition);
}

.fo-theme-toggle:hover[b-q5divh2rdo],
.fo-theme-toggle[aria-expanded="true"][b-q5divh2rdo] {
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border-color: var(--fo-primary-200);
}

.fo-theme-toggle:focus-visible[b-q5divh2rdo],
.fo-theme-option:focus-visible[b-q5divh2rdo] {
    outline: 2px solid var(--fo-focus);
    outline-offset: 2px;
}

.fo-theme-icon[b-q5divh2rdo],
.fo-theme-option svg[b-q5divh2rdo] {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* The icon and accessible name follow html[data-theme-preference]; System is the default. */
.fo-theme-icon[b-q5divh2rdo],
.fo-theme-current[b-q5divh2rdo] {
    display: none;
}

:root:not([data-theme-preference]) :is(.fo-theme-icon, .fo-theme-current)[data-for="system"][b-q5divh2rdo],
:root[data-theme-preference="light"] :is(.fo-theme-icon, .fo-theme-current)[data-for="light"][b-q5divh2rdo],
:root[data-theme-preference="dark"] :is(.fo-theme-icon, .fo-theme-current)[data-for="dark"][b-q5divh2rdo],
:root[data-theme-preference="system"] :is(.fo-theme-icon, .fo-theme-current)[data-for="system"][b-q5divh2rdo] {
    display: block;
}

.fo-theme-menu[b-q5divh2rdo] {
    position: fixed;
    inset: auto;
    width: 13rem;
    margin: 0;
    padding: var(--fo-space-1);
    box-sizing: border-box;
    color: var(--fo-text);
    background: var(--fo-surface-elevated);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-md);
    box-shadow: var(--fo-shadow-overlay);
}

.fo-theme-option[b-q5divh2rdo] {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    color: var(--fo-text-secondary);
    background: transparent;
    border: 0;
    border-radius: var(--fo-radius-sm);
    font: inherit;
    font-size: var(--fo-font-small);
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.fo-theme-option:hover[b-q5divh2rdo],
.fo-theme-option:focus-visible[b-q5divh2rdo] {
    color: var(--fo-text);
    background: var(--fo-surface-hover);
}

.fo-theme-option-icon[b-q5divh2rdo] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--fo-text-muted);
    background: var(--fo-surface-subtle);
    border-radius: var(--fo-radius-sm);
}

.fo-theme-option-icon svg[b-q5divh2rdo] {
    width: 16px;
    height: 16px;
}

.fo-theme-option .fo-theme-check[b-q5divh2rdo] {
    width: 18px;
    height: 18px;
    visibility: hidden;
    color: var(--fo-primary-700);
}

:root:not([data-theme-preference]) .fo-theme-option[data-fo-theme-option="system"][b-q5divh2rdo],
:root[data-theme-preference="light"] .fo-theme-option[data-fo-theme-option="light"][b-q5divh2rdo],
:root[data-theme-preference="dark"] .fo-theme-option[data-fo-theme-option="dark"][b-q5divh2rdo],
:root[data-theme-preference="system"] .fo-theme-option[data-fo-theme-option="system"][b-q5divh2rdo] {
    color: var(--fo-primary-700);
    background: var(--fo-selected);
}

:root:not([data-theme-preference]) .fo-theme-option[data-fo-theme-option="system"] :is(.fo-theme-check, .fo-theme-option-icon)[b-q5divh2rdo],
:root[data-theme-preference="light"] .fo-theme-option[data-fo-theme-option="light"] :is(.fo-theme-check, .fo-theme-option-icon)[b-q5divh2rdo],
:root[data-theme-preference="dark"] .fo-theme-option[data-fo-theme-option="dark"] :is(.fo-theme-check, .fo-theme-option-icon)[b-q5divh2rdo],
:root[data-theme-preference="system"] .fo-theme-option[data-fo-theme-option="system"] :is(.fo-theme-check, .fo-theme-option-icon)[b-q5divh2rdo] {
    visibility: visible;
    color: var(--fo-primary-700);
}

@media (forced-colors: active) {
    .fo-theme-option[aria-checked="true"][b-q5divh2rdo] {
        outline: 2px solid Highlight;
        outline-offset: -2px;
    }
}
/* /Components/Shared/UiState.razor.rz.scp.css */
.ui-state[b-9g1wpkk1pc] {
    min-height: 320px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    box-sizing: border-box;
    color: var(--fo-text-muted);
    text-align: center;
}

.ui-state strong[b-9g1wpkk1pc] {
    margin-top: 4px;
    color: var(--fo-text);
    font-size: var(--fo-font-title);
}

.ui-state-message[b-9g1wpkk1pc] {
    max-width: 520px;
    color: var(--fo-text-muted);
    font-size: var(--fo-font-body);
    line-height: 1.55;
}

.ui-state-icon[b-9g1wpkk1pc] {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--fo-primary-700);
    background: var(--fo-primary-50);
    border: 1px solid var(--fo-primary-200);
    border-radius: 50%;
    font-weight: 800;
}

.ui-state.error .ui-state-icon[b-9g1wpkk1pc] {
    color: var(--fo-danger-700);
    background: var(--fo-danger-50);
    border-color: var(--fo-danger-200);
}

.ui-state-actions[b-9g1wpkk1pc] {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 520px) {
    .ui-state[b-9g1wpkk1pc] { min-height: 260px; padding: 24px 18px; }
    .ui-state-actions[b-9g1wpkk1pc] { width: 100%; align-items: stretch; flex-direction: column; }
    .ui-state-actions[b-9g1wpkk1pc]  fluent-button { width: 100%; }
}
