/* /Components/Layout/HelpPopOut.razor.rz.scp.css */
/* Phase BA-7 — Help pop-out sticky FAB + panel. */
.archer-help-fab[b-5xut678f3i] {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 1100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.archer-help-panel[b-5xut678f3i] {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    width: 26rem;
    max-width: calc(100vw - 2rem);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1100;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Phase BA-1 — horizontal top-nav layout for the Business Admin Portal.
   Mirrors Archer.Admin's MainLayout.razor.css pattern so both apps share
   visual language. */
.page[b-z8bfwbjqa2] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-z8bfwbjqa2] {
    flex: 1;
}

/* Phase 22c (2026-05-13) — Alternative A "deeper" palette per the
   user's choice. Business side = darker teal + near-black slate. */
[b-z8bfwbjqa2] .archer-topnav {
    background-image: linear-gradient(180deg, #0f766e 0%, #1e293b 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[b-z8bfwbjqa2] .archer-topnav .navbar-brand {
    font-weight: 600;
    letter-spacing: 0.02em;
}

[b-z8bfwbjqa2] .archer-topnav .nav-link {
    color: rgba(255, 255, 255, 0.78);
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

[b-z8bfwbjqa2] .archer-topnav .nav-link:hover { color: #fff; }
[b-z8bfwbjqa2] .archer-topnav .nav-link.active {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #fff;
}

#blazor-error-ui[b-z8bfwbjqa2] {
    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-z8bfwbjqa2] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-l29d2tpwto] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-l29d2tpwto] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-l29d2tpwto] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-l29d2tpwto] {
    font-size: 1.1rem;
}

.bi[b-l29d2tpwto] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-l29d2tpwto] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-l29d2tpwto] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-l29d2tpwto] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-l29d2tpwto] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-l29d2tpwto] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-l29d2tpwto] {
        padding-bottom: 1rem;
    }

    .nav-item[b-l29d2tpwto]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-l29d2tpwto]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-l29d2tpwto]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-l29d2tpwto] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-l29d2tpwto] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-l29d2tpwto] {
        display: none;
    }

    .nav-scrollable[b-l29d2tpwto] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nqoa8teeza],
.components-reconnect-repeated-attempt-visible[b-nqoa8teeza],
.components-reconnect-failed-visible[b-nqoa8teeza],
.components-pause-visible[b-nqoa8teeza],
.components-resume-failed-visible[b-nqoa8teeza],
.components-rejoining-animation[b-nqoa8teeza] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-nqoa8teeza {
    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/Shared/CascadingMenu.razor.rz.scp.css */
/* Phase 22h.79 (2026-05-16) — centered modal version of the cascade
   menu. Replaces the failed position:fixed flyout that kept getting
   crushed by parent containing-block constraints in the Comms
   composer / column-header context.

   The modal is anchored to the viewport via fixed positioning at
   top-left and a transform-based centering. Items are stacked
   vertically; sub-menus reveal on hover via the rules in
   CascadingMenuNode.razor.css. */

.archer-cascading-backdrop[b-fnuwir5bjr] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1060;
}

.archer-cascading-modal[b-fnuwir5bjr] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 92vw);
    max-height: 78vh;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    z-index: 1061;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.archer-cascading-modal-header[b-fnuwir5bjr] {
    padding: 0.6rem 0.85rem;
    background: #f4f6f9;
    border-bottom: 2px solid #20c0a0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.archer-cascading-modal-body[b-fnuwir5bjr] {
    padding: 0.4rem 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: visible;
}
/* /Components/Shared/CascadingMenuNode.razor.rz.scp.css */
/* Phase 22h.79 (2026-05-16) — node-level styling for the modal-form
   cascade. Items render as full-width rows; children of a branch
   item appear indented immediately below the parent on hover, and
   collapse when the cursor leaves the parent + its children area.

   Phase 22h.79b — visual hierarchy: each nesting level gets:
     * its own subtle gradient background
     * a colored left-border accent (matches the legacy app
       where each tier had a distinct hue)
     * progressively deeper indent
   so staff can tell at a glance where they are in the tree. */

.archer-cascading-item[b-m8lrhijf1t] {
    user-select: none;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #2c3e50;
    font-size: 0.92rem;
    border-left: 4px solid transparent;
    transition: background-color 0.12s ease, padding-left 0.12s ease;
}
.archer-cascading-item.has-children[b-m8lrhijf1t] {
    font-weight: 600;
    cursor: default;
}
.archer-cascading-item:hover[b-m8lrhijf1t] {
    background-color: #d8f3ee;
}
.archer-cascading-label[b-m8lrhijf1t] {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}
.archer-cascading-arrow[b-m8lrhijf1t] {
    color: #20c0a0;
    margin-left: 12px;
    font-size: 0.78rem;
    flex: 0 0 auto;
    transition: transform 0.12s ease;
}
.archer-cascading-item.has-children:hover .archer-cascading-arrow[b-m8lrhijf1t] {
    transform: rotate(180deg);
}

/* Children block: hidden until parent (or itself) is hovered. */
.archer-cascading-item.has-children + .archer-cascading-children[b-m8lrhijf1t] {
    display: none;
}
.archer-cascading-item.has-children:hover + .archer-cascading-children[b-m8lrhijf1t],
.archer-cascading-item.has-children + .archer-cascading-children:hover[b-m8lrhijf1t] {
    display: block;
}

/* ─── Level palette ────────────────────────────────────────────
   Level 0 = root (Email / Message / Letter / etc.) — teal accent.
   Level 1 = stage (Onboarding / Preparing / etc.)   — blue accent.
   Level 2 = leaf title (specific template)          — green accent.
   Level 3+ = deeper nesting (rare)                  — amber accent.
   Each level also gets a subtle gradient that gets slightly
   greyer as we go deeper. */

.archer-cascading-item[data-level="0"][b-m8lrhijf1t] {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
    border-left-color: #20c0a0;        /* teal */
    color: #16725f;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

.archer-cascading-item[data-level="1"][b-m8lrhijf1t] {
    background: linear-gradient(180deg, #f4f8fc 0%, #e9eff6 100%);
    border-left-color: #1a73e8;        /* blue */
    color: #144b8a;
    padding-left: 32px;
    font-weight: 600;
}

.archer-cascading-item[data-level="2"][b-m8lrhijf1t] {
    background: linear-gradient(180deg, #eef7f0 0%, #e2f0e6 100%);
    border-left-color: #5cb85c;        /* green */
    color: #2c3e50;
    padding-left: 56px;
    font-weight: 500;
}

.archer-cascading-item[data-level="3"][b-m8lrhijf1t] {
    background: linear-gradient(180deg, #fdf6e3 0%, #f7eccb 100%);
    border-left-color: #f0ad4e;        /* amber */
    color: #2c3e50;
    padding-left: 80px;
}

.archer-cascading-item[data-level="4"][b-m8lrhijf1t] {
    background: linear-gradient(180deg, #fbeaea 0%, #f4d8d8 100%);
    border-left-color: #d9534f;        /* red */
    color: #2c3e50;
    padding-left: 104px;
}

/* Hover override per level — slightly stronger highlight. */
.archer-cascading-item[data-level="0"]:hover[b-m8lrhijf1t] { background: linear-gradient(180deg, #d8f3ee 0%, #b9e6db 100%); }
.archer-cascading-item[data-level="1"]:hover[b-m8lrhijf1t] { background: linear-gradient(180deg, #d4e6f7 0%, #b8d4ec 100%); }
.archer-cascading-item[data-level="2"]:hover[b-m8lrhijf1t] { background: linear-gradient(180deg, #d4ebd8 0%, #b6dcbe 100%); }
.archer-cascading-item[data-level="3"]:hover[b-m8lrhijf1t] { background: linear-gradient(180deg, #fbedb6 0%, #f3dd8a 100%); }
.archer-cascading-item[data-level="4"]:hover[b-m8lrhijf1t] { background: linear-gradient(180deg, #f3c5c5 0%, #e9a4a4 100%); }
