/* /Components/Layout/AppFooter.razor.rz.scp.css */
.cw-buildstamp[b-3vpjputovb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    /* margin-top:auto pins it to the bottom of the flex <main> on short pages instead of
       floating up under the content. */
    margin-top: auto;
    padding: 10px 24px 12px;
    border-top: 1px solid var(--cw-line);
    font-size: var(--cw-text-xs);
    color: var(--cw-ink-muted);
    user-select: text;
}

.cw-buildstamp__env[b-3vpjputovb] {
    font-weight: var(--cw-weight-semibold);
    letter-spacing: 0.02em;
}

.cw-buildstamp__sep[b-3vpjputovb] {
    opacity: 0.5;
}

/* Monospace so a SHA can be compared character-by-character against `git log` without
   the eye sliding off proportional glyphs. */
.cw-buildstamp__commit[b-3vpjputovb] {
    font-family: var(--cw-font-mono);
}

@media (max-width: 1024px) {
    .cw-buildstamp[b-3vpjputovb] {
        padding: 10px 12px 12px;
    }
}
/* /Components/Layout/AppHeader.razor.rz.scp.css */
.cw-appbar[b-jrgo7yfdt1] {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 56px;
    padding: 0 24px;
    background: var(--cw-surface-0);
    border-bottom: 1px solid var(--cw-line);
    position: sticky;
    top: 0;
    z-index: var(--cw-z-sticky);
}

.cw-appbar__hamburger[b-jrgo7yfdt1] {
    display: none; /* shown only at mobile width */
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: var(--cw-radius-md);
    color: var(--cw-ink);
    cursor: pointer;
    flex-shrink: 0;
    margin-left: -4px;
}

.cw-appbar__hamburger:hover[b-jrgo7yfdt1] {
    background: var(--cw-surface-2);
}

.cw-appbar__title[b-jrgo7yfdt1] {
    font-size: 17px;
    font-weight: 700;
    color: var(--cw-ink);
    white-space: nowrap;
    min-width: 160px;
}

/* Non-prod environment chip. Sits beside the title, never wraps, never shrinks — on a phone the
   search box gives up its space first (see the mobile block below). */
.cw-appbar__env[b-jrgo7yfdt1] {
    flex-shrink: 0;
    padding: 2px 8px;
    border: 1px solid var(--cw-warning);
    border-radius: var(--cw-radius-pill);
    background: var(--cw-warning-bg);
    color: var(--cw-warning);
    font-size: 11px;
    font-weight: var(--cw-weight-bold);
    line-height: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cw-appbar__search[b-jrgo7yfdt1] {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    align-items: center;
}

.cw-appbar__search-icon[b-jrgo7yfdt1] {
    position: absolute;
    left: 10px;
    color: var(--cw-ink-muted);
    pointer-events: none;
}

.cw-appbar__search-input[b-jrgo7yfdt1] {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 36px;
    border: 1px solid var(--cw-line);
    border-radius: var(--cw-radius-md);
    background: var(--cw-surface-1);
    font-family: inherit;
    font-size: 14px;
    color: var(--cw-ink);
}

.cw-appbar__search-input:focus[b-jrgo7yfdt1] {
    outline: none;
    border-color: var(--cw-blue-500);
    background: var(--cw-surface-0);
}

.cw-appbar__search-input[b-jrgo7yfdt1]::placeholder {
    color: var(--cw-ink-muted);
}

/* Results dropdown — anchored to the relative .cw-appbar__search box. */
.cw-appbar__search-results[b-jrgo7yfdt1] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--cw-surface-0);
    border: 1px solid var(--cw-line);
    border-radius: var(--cw-radius-md);
    box-shadow: var(--cw-shadow-3);
    z-index: var(--cw-z-nav);
    max-height: 360px;
    overflow-y: auto;
    padding: 4px;
}

.cw-appbar__search-result[b-jrgo7yfdt1] {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    row-gap: 1px;
    align-items: baseline;
    width: 100%;
    padding: 8px 10px;
    border: none;
    background: none;
    border-radius: var(--cw-radius-sm);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.cw-appbar__search-result:hover[b-jrgo7yfdt1],
.cw-appbar__search-result:focus-visible[b-jrgo7yfdt1] {
    background: var(--cw-surface-2);
    outline: none;
}

.cw-appbar__search-result-job[b-jrgo7yfdt1] {
    grid-column: 1;
    font-size: 13px;
    font-weight: 700;
    color: var(--cw-blue-500);
    white-space: nowrap;
}

.cw-appbar__search-result-cust[b-jrgo7yfdt1] {
    grid-column: 2;
    font-size: 13px;
    font-weight: 600;
    color: var(--cw-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cw-appbar__search-result-addr[b-jrgo7yfdt1] {
    grid-column: 2;
    font-size: 12px;
    color: var(--cw-ink-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cw-appbar__actions[b-jrgo7yfdt1] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.cw-appbar__icon-btn[b-jrgo7yfdt1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: var(--cw-radius-md);
    color: var(--cw-ink-muted);
    cursor: pointer;
    transition: background var(--cw-dur-fast), color var(--cw-dur-fast);
}

.cw-appbar__icon-btn:hover[b-jrgo7yfdt1] {
    background: var(--cw-surface-2);
    color: var(--cw-ink);
}

.cw-appbar__icon-btn:disabled[b-jrgo7yfdt1] {
    opacity: 0.35;
    cursor: not-allowed;
}

.cw-appbar__icon-btn:disabled:hover[b-jrgo7yfdt1] {
    background: none;
    color: var(--cw-ink-muted);
}

/* ── Notification bell ──
   The wrapper is the positioning context for both the count badge and the panel, mirroring
   .cw-appbar__search above. Colour comes from the shared .cw-badge classes; only geometry
   lives here. */
.cw-appbar__bell[b-jrgo7yfdt1] {
    position: relative;
    display: flex;
}

.cw-appbar__bell-count[b-jrgo7yfdt1] {
    position: absolute;
    top: -1px;
    right: -1px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
    justify-content: center;
    /* The badge overlaps the button — never let it swallow the click. */
    pointer-events: none;
}

/* Click-outside closer. Transparent: this is a lightweight dropdown, not a modal.
   Must stay BELOW .cw-notif-panel's --cw-z-nav or it swallows every row click — hence sticky (50)
   rather than the --cw-z-overlay (900) the mobile nav drawer uses. It covers the bell button too,
   which is what makes a second click on the bell close the panel. */
.cw-notif-scrim[b-jrgo7yfdt1] {
    position: fixed;
    inset: 0;
    z-index: var(--cw-z-sticky);
    background: transparent;
}

.cw-notif-panel[b-jrgo7yfdt1] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 24px);
    background: var(--cw-surface-0);
    border: 1px solid var(--cw-line);
    border-radius: var(--cw-radius-md);
    box-shadow: var(--cw-shadow-3);
    z-index: var(--cw-z-nav);
    overflow: hidden;
}

/* Filter tabs. Underline-style rather than pills so the panel keeps one visual anchor at the
   top; the row shares .cw-notif-foot's surface so the list stays the white area between them. */
.cw-notif-tabs[b-jrgo7yfdt1] {
    display: flex;
    gap: 2px;
    padding: 4px 6px 0;
    border-bottom: 1px solid var(--cw-line);
    background: var(--cw-surface-1);
}

.cw-notif-tab[b-jrgo7yfdt1] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--cw-ink-muted);
    cursor: pointer;
}

.cw-notif-tab:hover:not(.cw-notif-tab--on)[b-jrgo7yfdt1] {
    color: var(--cw-ink);
}

.cw-notif-tab--on[b-jrgo7yfdt1] {
    color: var(--cw-blue-500);
    border-bottom-color: var(--cw-blue-500);
}

/* Unread count per tab. This is what keeps a Mentions-only default from hiding the fact that
   system alerts are waiting — the badge on the bell deliberately counts mentions alone. */
.cw-notif-tab__count[b-jrgo7yfdt1] {
    min-width: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--cw-surface-2);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.cw-notif-tab--on .cw-notif-tab__count[b-jrgo7yfdt1] {
    background: var(--cw-blue-500);
    color: #fff;
}

.cw-notif-list[b-jrgo7yfdt1] {
    list-style: none;
    margin: 0;
    padding: 4px;
    max-height: 380px;
    overflow-y: auto;
}

.cw-notif-empty[b-jrgo7yfdt1] {
    margin: 0;
    padding: 20px 14px;
    font-size: 13px;
    color: var(--cw-ink-muted);
    text-align: center;
}

.cw-notif-item[b-jrgo7yfdt1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 9px 10px 9px 12px;
    border: none;
    border-left: 3px solid transparent;
    background: none;
    border-radius: var(--cw-radius-sm);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.cw-notif-item:hover[b-jrgo7yfdt1],
.cw-notif-item:focus-visible[b-jrgo7yfdt1] {
    background: var(--cw-surface-2);
    outline: none;
}

/* Left accent bar rather than a bold background — unread should read as "still open", not alarming. */
.cw-notif-item--unread[b-jrgo7yfdt1] {
    border-left-color: var(--cw-blue-500);
}

.cw-notif-item__title[b-jrgo7yfdt1] {
    font-size: 13px;
    font-weight: 600;
    color: var(--cw-ink);
    line-height: 1.35;
}

.cw-notif-item--unread .cw-notif-item__title[b-jrgo7yfdt1] {
    font-weight: 700;
}

.cw-notif-item__excerpt[b-jrgo7yfdt1] {
    font-size: 12px;
    color: var(--cw-ink-muted);
    line-height: 1.4;
    /* Two lines then ellipsis — the excerpt is a hint, the job page is the content. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cw-notif-item__when[b-jrgo7yfdt1] {
    font-size: 11px;
    color: var(--cw-ink-muted);
}

.cw-notif-foot[b-jrgo7yfdt1] {
    display: flex;
    justify-content: flex-end;
    padding: 6px 8px;
    border-top: 1px solid var(--cw-line);
    background: var(--cw-surface-1);
}

.cw-notif-markall[b-jrgo7yfdt1] {
    padding: 4px 8px;
    border: none;
    background: none;
    border-radius: var(--cw-radius-sm);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--cw-blue-500);
    cursor: pointer;
}

.cw-notif-markall:hover:not(:disabled)[b-jrgo7yfdt1] {
    background: var(--cw-surface-2);
}

.cw-notif-markall:disabled[b-jrgo7yfdt1] {
    color: var(--cw-ink-muted);
    cursor: not-allowed;
}

.cw-appbar__user[b-jrgo7yfdt1] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    margin-left: 4px;
    border-left: 1px solid var(--cw-line);
    font-size: 13px;
    font-weight: 600;
    color: var(--cw-ink-soft);
    white-space: nowrap;
}

.cw-appbar__user svg[b-jrgo7yfdt1] {
    color: var(--cw-ink-muted);
    flex-shrink: 0;
}

/* ── Tablet + phone (≤1024px): the sidebar is a drawer here, so the hamburger has to
   appear and the identity block collapses to an avatar. ── */
@media (max-width: 1024px) {
    .cw-appbar__hamburger[b-jrgo7yfdt1] {
        display: inline-flex;
    }

    .cw-appbar__title[b-jrgo7yfdt1] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cw-appbar__search[b-jrgo7yfdt1] {
        max-width: 260px;
    }

    .cw-appbar__user[b-jrgo7yfdt1] {
        border-left: none;
    }

    /* Keep the avatar icon, drop the clipped email text. */
    .cw-appbar__user span[b-jrgo7yfdt1] {
        display: none;
    }
}

/* ── Phone only (≤640px) ── */
@media (max-width: 640px) {
    .cw-appbar[b-jrgo7yfdt1] {
        padding: 0 12px;
        gap: 8px;
    }

    /* Search is disabled ("coming soon") — reclaim its space on phones. */
    .cw-appbar__search[b-jrgo7yfdt1] {
        display: none;
    }

    .cw-appbar__user[b-jrgo7yfdt1] {
        margin-left: 0;
        padding: 0 6px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-nk86ora3qq] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-nk86ora3qq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* clip (not hidden): hidden makes <main> a scroll container, which breaks
       position:sticky descendants (app bar, section jump bar, save bar) and
       lets scrollIntoView scroll <main> instead of the document. */
    overflow: clip;
}

.sidebar[b-nk86ora3qq] {
    background-color: #0d1f3c;
}

article[b-nk86ora3qq] {
    /* env() needs viewport-fit=cover on the viewport meta (Components/App.razor) to resolve —
       without it the bottom-fixed ImpersonationBanner / DevUserSwitcher sit under the home
       indicator on an iPad/iPhone. */
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
}

/* ── Desktop (≥1025px): persistent sticky sidebar ──
   Tier boundary documented in wwwroot/app.css. Below this the sidebar is a drawer, which
   hands 250px back to the content column — the single biggest tablet win. */
@media (min-width: 1025px) {
    .page[b-nk86ora3qq] {
        flex-direction: row;
    }

    .sidebar[b-nk86ora3qq] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    article[b-nk86ora3qq] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Small laptops: buy back ~16px of gutter without losing the sidebar. */
@media (min-width: 1025px) and (max-width: 1280px) {
    article[b-nk86ora3qq] {
        padding-left: 1.5rem !important;
        padding-right: 1rem !important;
    }
}

/* ── Tablet + phone (≤1024px): sidebar becomes an off-canvas drawer ── */
@media (max-width: 1024px) {
    .sidebar[b-nk86ora3qq] {
        position: fixed;
        top: 0;
        left: 0;
        z-index: var(--cw-z-modal);          /* above the sticky app bar */
        width: 264px;
        max-width: 82vw;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform var(--cw-dur-med) var(--cw-ease-out);
        box-shadow: var(--cw-shadow-3);
    }

    .sidebar.sidebar--open[b-nk86ora3qq] {
        transform: translateX(0);
    }

    .nav-overlay[b-nk86ora3qq] {
        position: fixed;
        inset: 0;
        z-index: var(--cw-z-overlay);        /* under the drawer, over content */
        background: rgba(0, 0, 0, 0.45);
        border: none;
    }
}

#blazor-error-ui[b-nk86ora3qq] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-nk86ora3qq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.cw-sidenav[b-ok9uiiv9yr] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.cw-sidenav__logo[b-ok9uiiv9yr] {
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.cw-sidenav__logo a[b-ok9uiiv9yr] {
    display: block;
    line-height: 1;
}

.cw-sidenav__logo img[b-ok9uiiv9yr] {
    display: block;
    max-width: 100%;
}

.cw-sidenav__section[b-ok9uiiv9yr] {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px 20px 4px;
    margin: 0;
}

[b-ok9uiiv9yr] .cw-sidenav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    margin: 1px 8px;
    transition: background 120ms, color 120ms;
}

[b-ok9uiiv9yr] .cw-sidenav__link svg {
    flex-shrink: 0;
    opacity: 0.8;
}

[b-ok9uiiv9yr] .cw-sidenav__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

[b-ok9uiiv9yr] .cw-sidenav__link:hover svg {
    opacity: 1;
}

[b-ok9uiiv9yr] .cw-sidenav__link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
}

[b-ok9uiiv9yr] .cw-sidenav__link.active svg {
    opacity: 1;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-wbbirjgi6g],
.components-reconnect-repeated-attempt-visible[b-wbbirjgi6g],
.components-reconnect-failed-visible[b-wbbirjgi6g],
.components-pause-visible[b-wbbirjgi6g],
.components-resume-failed-visible[b-wbbirjgi6g],
.components-rejoining-animation[b-wbbirjgi6g] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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

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

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

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/UserList.razor.rz.scp.css */
/* .cw-table th.sortable and .th-sort moved to wwwroot/app.css — the shared ColumnHeaderCell
   renders them, and scoped CSS carries a b-xxxx attribute that another component's markup
   cannot match. */

/* Role cell: name + pencil (or inline select + cancel while editing). */
.role-cell[b-c3ev6d9gkc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Status cell: badge on top, action icons underneath. */
.status-cell[b-c3ev6d9gkc] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.row-actions[b-c3ev6d9gkc] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.row-actions form[b-c3ev6d9gkc] {
    display: inline-flex;
}
/* /Components/Pages/TSM/QuoteFromTemplate.razor.rz.scp.css */
/* Mobile stacked card list — shown in place of the desktop table below the
   640px breakpoint (via the cw-mobile-only wrapper). Same pattern as
   Templates.razor.css; scoped CSS keeps the class names isolated per page. */

.tpl-cards[b-yfn79itmzw] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tpl-card[b-yfn79itmzw] {
    background: var(--cw-surface-0);
    border: 1px solid var(--cw-line);
    border-radius: var(--cw-radius-md);
    box-shadow: var(--cw-shadow-1);
    padding: 12px 14px;
}

.tpl-card__top[b-yfn79itmzw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.tpl-card__id[b-yfn79itmzw] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    color: var(--cw-blue-500);
}

.tpl-card__date[b-yfn79itmzw] {
    font-size: 12px;
    color: var(--cw-ink-soft);
}

.tpl-card__service[b-yfn79itmzw] {
    font-weight: 600;
    font-size: 14px;
}

.tpl-card__customer[b-yfn79itmzw] {
    margin-top: 2px;
    font-size: 13px;
    word-break: break-word;
}

.tpl-card__acct[b-yfn79itmzw] {
    margin-left: 6px;
    font-size: 12px;
    color: var(--cw-ink-muted);
}

.tpl-card__vendor[b-yfn79itmzw] {
    margin-top: 2px;
    font-size: 13px;
    color: var(--cw-ink-muted);
}

.tpl-card__actions[b-yfn79itmzw] {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tpl-card__actions .cw-btn[b-yfn79itmzw] {
    flex: 1;
}

/* Step 2: stacked line-item list — the mobile stand-in for the desktop
   Item # / Description / Price table inside the Selected Template card. */

.tpl-lines[b-yfn79itmzw] {
    display: flex;
    flex-direction: column;
}

.tpl-line[b-yfn79itmzw] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--cw-line);
}

.tpl-line__what[b-yfn79itmzw] {
    min-width: 0;
}

.tpl-line__desc[b-yfn79itmzw] {
    font-weight: 600;
    font-size: 13px;
    word-break: break-word;
}

.tpl-line__item[b-yfn79itmzw] {
    font-size: 12px;
    color: var(--cw-ink-muted);
}

.tpl-line__price[b-yfn79itmzw] {
    white-space: nowrap;
    font-size: 13px;
}

.tpl-lines__total[b-yfn79itmzw] {
    border-bottom: none;
    font-weight: 600;
}

.tpl-lines__total .tpl-line__price[b-yfn79itmzw] {
    font-weight: 600;
}

@media (max-width: 640px) {
    /* Back / Create-a-Quote share the row width, matching tpl-card__actions. */
    .qft-actions .cw-btn[b-yfn79itmzw] {
        flex: 1;
    }
}
/* /Components/Pages/TSM/Templates.razor.rz.scp.css */
/* Mobile stacked card list — shown in place of the desktop table below the
   640px breakpoint (via the cw-mobile-only wrapper). Mirrors JobCardList's
   card styling, but these cards carry action buttons instead of navigating. */

.tpl-cards[b-6v8m2tk15m] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tpl-card[b-6v8m2tk15m] {
    background: var(--cw-surface-0);
    border: 1px solid var(--cw-line);
    border-radius: var(--cw-radius-md);
    box-shadow: var(--cw-shadow-1);
    padding: 12px 14px;
}

.tpl-card__top[b-6v8m2tk15m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.tpl-card__id[b-6v8m2tk15m] {
    font-weight: 700;
    font-size: 15px;
    color: var(--cw-blue-500);
}

.tpl-card__date[b-6v8m2tk15m] {
    font-size: 12px;
    color: var(--cw-ink-soft);
}

.tpl-card__service[b-6v8m2tk15m] {
    font-weight: 600;
    font-size: 14px;
}

.tpl-card__customer[b-6v8m2tk15m] {
    margin-top: 2px;
    font-size: 13px;
    word-break: break-word;
}

.tpl-card__acct[b-6v8m2tk15m] {
    margin-left: 6px;
    font-size: 12px;
    color: var(--cw-ink-muted);
}

.tpl-card__vendor[b-6v8m2tk15m] {
    margin-top: 2px;
    font-size: 13px;
    color: var(--cw-ink-muted);
}

.tpl-card__actions[b-6v8m2tk15m] {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tpl-card__actions .cw-btn[b-6v8m2tk15m] {
    flex: 1;
}
/* /Components/Shared/AccessDeniedContent.razor.rz.scp.css */
/* Centres in whatever it's dropped into: the MainLayout content area when Routes.razor
   renders it inline, or the full page at /access-denied. */
.cw-access-denied[b-06kwqc7kqm] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 24px;
}

.cw-access-denied__panel[b-06kwqc7kqm] {
    width: 100%;
    max-width: 460px;
    text-align: center;
}

.cw-access-denied__icon[b-06kwqc7kqm] {
    color: var(--cw-text-subtle);
    margin-bottom: 16px;
}

.cw-access-denied__lead[b-06kwqc7kqm] {
    color: var(--cw-text-subtle);
    margin: 8px 0 24px;
}

.cw-access-denied__actions[b-06kwqc7kqm] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
/* /Components/Shared/DevUserSwitcher.razor.rz.scp.css */
.dev-switcher[b-wqf0hj4qwr] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: #1a1a2e;
    color: #e0e0e0;
    font-size: 0.75rem;
    font-family: monospace;
    border-top: 2px solid #f0a500;
}

.dev-badge[b-wqf0hj4qwr] {
    background: #f0a500;
    color: #000;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.dev-current[b-wqf0hj4qwr] {
    color: #a8d8a8;
}

.dev-none[b-wqf0hj4qwr] {
    color: #888;
    font-style: italic;
}

.dev-sep[b-wqf0hj4qwr] {
    color: #555;
    margin: 0 0.25rem;
}

.dev-btn[b-wqf0hj4qwr] {
    background: #2d2d4e;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 3px;
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    font-family: monospace;
    cursor: pointer;
    transition: background 0.15s;
}

.dev-btn:hover[b-wqf0hj4qwr] {
    background: #3d3d6e;
    color: #fff;
}

.dev-btn-on[b-wqf0hj4qwr] {
    background: #2d5a2d;
    border-color: #4a8;
    color: #8f8;
}

.dev-btn-out[b-wqf0hj4qwr] {
    color: #c88;
    border-color: #633;
}

.dev-btn-out:hover[b-wqf0hj4qwr] {
    background: #3d2020;
}
/* /Components/Shared/FormSectionNav.razor.rz.scp.css */
.fsn[b-l1uirs7168] {
    position: sticky;
    top: var(--cw-appbar-h, 56px);
    z-index: 40; /* below the app bar (--cw-z-sticky: 50) and form dropdowns (200/300) */
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 16px;
    background: var(--cw-surface-0);
    border-bottom: 1px solid var(--cw-line);
}

.fsn__link[b-l1uirs7168] {
    flex-shrink: 0;
    padding: 6px 12px;
    border: none;
    border-radius: var(--cw-radius-pill);
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--cw-ink-muted);
    cursor: pointer;
    white-space: nowrap;
}

.fsn__link:hover[b-l1uirs7168] {
    background: var(--cw-surface-2);
    color: var(--cw-ink);
}

.fsn__link--active[b-l1uirs7168] {
    background: var(--cw-blue-50);
    color: var(--cw-blue-700);
}
/* /Components/Shared/ImpersonationBanner.razor.rz.scp.css */
.imp-banner[b-oixiph8j6l] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000; /* above the dev switcher (9999) so it can't be used mid-impersonation */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--cw-warning-bg);
    color: var(--cw-ink);
    font-size: 0.85rem;
    border-top: 3px solid var(--cw-warning);
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.2);
}

.imp-banner__badge[b-oixiph8j6l] {
    background: var(--cw-warning);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

.imp-banner__note[b-oixiph8j6l] {
    color: var(--cw-ink-muted);
}

.imp-banner__form[b-oixiph8j6l] {
    margin-left: auto;
}

.imp-banner__btn[b-oixiph8j6l] {
    background: var(--cw-warning);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    border-radius: 4px;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
}

.imp-banner__btn:hover[b-oixiph8j6l] {
    filter: brightness(1.1);
}
/* /Components/Shared/JobCardList.razor.rz.scp.css */
.job-cards[b-glrbiqp3vs] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-card[b-glrbiqp3vs] {
    display: block;
    width: 100%;
    text-align: left;
    font: inherit;
    color: var(--cw-ink);
    background: var(--cw-surface-0);
    border: 1px solid var(--cw-line);
    border-radius: var(--cw-radius-md);
    box-shadow: var(--cw-shadow-1);
    padding: 12px 14px;
    cursor: pointer;
}

.job-card:active[b-glrbiqp3vs] {
    filter: brightness(0.97);
}

.job-card__top[b-glrbiqp3vs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.job-card__id[b-glrbiqp3vs] {
    font-weight: 700;
    font-size: 15px;
    color: var(--cw-blue-500);
}

.job-card__customer[b-glrbiqp3vs] {
    font-weight: 600;
    font-size: 14px;
}

.job-card__addr[b-glrbiqp3vs] {
    margin-top: 2px;
    font-size: 13px;
    color: var(--cw-ink-muted);
    word-break: break-word;
}

.job-card__meta[b-glrbiqp3vs] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 8px;
    font-size: 12px;
}

.job-card__chip[b-glrbiqp3vs] {
    padding: 2px 8px;
    border-radius: var(--cw-radius-pill);
    background: var(--cw-surface-2);
    font-weight: 600;
    color: var(--cw-ink-soft);
}
/* /Components/Shared/JobNotesCard.razor.rz.scp.css */
/* Activity feed: notes and lifecycle events share one timeline. */

.note-feed[b-rlrtwy2mji] {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

/* Title + filter chips share the left half of the card header; the show/hide button keeps
   the right. Wraps rather than crushing the chips on narrow screens. */
.note-header-left[b-rlrtwy2mji] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-width: 0;
}

/* Stand-in for the feed while it's collapsed. */
.note-collapsed-summary[b-rlrtwy2mji] {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--cw-ink-muted);
}

.note-item[b-rlrtwy2mji] {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cw-line);
}

.note-item:first-child[b-rlrtwy2mji] {
    padding-top: 0;
}

.note-item:last-child[b-rlrtwy2mji] {
    border-bottom: 0;
}

/* The note a bell notification pointed at. No fade timer — it clears on the next navigation,
   and a highlight that vanishes while you're still reading is worse than one that lingers. */
.note-item--target[b-rlrtwy2mji] {
    background: var(--cw-blue-50);
    border-radius: var(--cw-radius-sm);
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

/* Initials circle — no avatar images anywhere in this app. */
.note-avatar[b-rlrtwy2mji] {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.note-body[b-rlrtwy2mji] {
    flex: 1;
    min-width: 0;
}

.note-meta[b-rlrtwy2mji] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 13px;
}

.note-author[b-rlrtwy2mji] {
    font-weight: 600;
}

.note-role[b-rlrtwy2mji] {
    color: var(--cw-ink-muted);
    font-size: 12px;
}

.note-time[b-rlrtwy2mji] {
    color: var(--cw-ink-muted);
    font-size: 12px;
}

/* Push row actions to the far edge so Edit/Delete line up down the thread. */
.note-actions[b-rlrtwy2mji] {
    margin-left: auto;
    display: flex;
    gap: 4px;
    white-space: nowrap;
}

.note-text[b-rlrtwy2mji] {
    margin: 0;
    font-size: 14px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.note-edited[b-rlrtwy2mji] {
    margin: 4px 0 0;
    font-size: 12px;
    font-style: italic;
    color: var(--cw-ink-muted);
}

/* System rows — lifecycle events and machine-written provenance. Quieter than a person's
   note, no avatar, no row actions. */
.note-item--system .note-system-text[b-rlrtwy2mji] {
    margin: 0;
    font-size: 13px;
    color: var(--cw-ink-muted);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* The source label ("Template import") stands in for an author name. */
.note-system-source[b-rlrtwy2mji] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cw-ink-muted);
}

.note-item--system .note-system-meta[b-rlrtwy2mji] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--cw-ink-muted);
}

.note-dot[b-rlrtwy2mji] {
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-dot[b-rlrtwy2mji]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cw-line);
}

/* ── Composer ── */

.note-composer[b-rlrtwy2mji] {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--cw-line);
}

.note-composer-foot[b-rlrtwy2mji] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.note-visibility[b-rlrtwy2mji] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.note-visibility label[b-rlrtwy2mji] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
}

/* ── @mention picker ── */

.mention-menu[b-rlrtwy2mji] {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: var(--cw-surface, #fff);
    border: 1px solid var(--cw-line);
    border-radius: var(--cw-radius-md, 6px);
    box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
}

.mention-option[b-rlrtwy2mji] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: 0;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
}

.mention-option:hover[b-rlrtwy2mji],
.mention-option:focus-visible[b-rlrtwy2mji] {
    background: var(--cw-blue-50, #eef4fb);
}

.mention-name[b-rlrtwy2mji] {
    font-weight: 600;
}

.mention-role[b-rlrtwy2mji] {
    color: var(--cw-ink-muted);
    font-size: 12px;
}
/* /Components/Shared/RedirectToLogin.razor.rz.scp.css */
/* Only shown when the redirect is suppressed by the loop guard (we're already on an
   account page), so it just needs to be legible, not laid out like a real screen. */
.cw-redirect-login[b-h7tt823qkq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 2rem;
    text-align: center;
}
