/* /Components/Layout/MainLayout.razor.rz.scp.css */
.shell[b-0ll6e6r3z9] {
    --shell-header-height: calc(3.8rem + env(safe-area-inset-top));
    --drawer-width: 220px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-main);
}

.shell-header[b-0ll6e6r3z9] {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding: calc(0.45rem + env(safe-area-inset-top)) 0.85rem 0.5rem;
    background: rgba(248, 252, 250, 0.94);
    border-bottom: 1px solid rgba(180, 201, 194, 0.72);
    box-shadow: 0 6px 18px rgba(12, 38, 34, 0.06);
    backdrop-filter: blur(14px);
}

.shell-left-actions[b-0ll6e6r3z9] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.shell-menu-button[b-0ll6e6r3z9] {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-grid;
    place-content: center;
    gap: 0.24rem;
    border: 1px solid rgba(20, 99, 86, 0.16);
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(12, 38, 34, 0.08);
    touch-action: manipulation;
}

.shell-brand-button[b-0ll6e6r3z9] {
    min-width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    border: 1px solid rgba(20, 99, 86, 0.16);
    border-radius: 0.75rem;
    background: #ffffff;
    color: var(--brand-primary);
    padding: 0.35rem 0.62rem;
    font-weight: 900;
    font-size: 0.78rem;
    box-shadow: 0 5px 14px rgba(12, 38, 34, 0.08);
    touch-action: manipulation;
}

.shell-brand-button img[b-0ll6e6r3z9] {
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 auto;
}

.shell-brand-button span[b-0ll6e6r3z9] {
    max-width: 4.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shell-brand-button:hover[b-0ll6e6r3z9],
.shell-brand-button:active[b-0ll6e6r3z9],
.shell-menu-button:hover[b-0ll6e6r3z9],
.shell-menu-button:active[b-0ll6e6r3z9],
.profile-chip:hover[b-0ll6e6r3z9],
.profile-chip:active[b-0ll6e6r3z9] {
    background: #eef8f4;
}

.shell-menu-button span[b-0ll6e6r3z9] {
    width: 1.05rem;
    height: 0.12rem;
    border-radius: 999px;
    background: var(--text-main);
}

.shell-title-block[b-0ll6e6r3z9] {
    min-width: 0;
    text-align: right;
}

.shell-title-block strong[b-0ll6e6r3z9] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.05rem;
    line-height: 1.05;
}

.brand-kicker[b-0ll6e6r3z9] {
    display: block;
    margin: 0;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.profile-chip[b-0ll6e6r3z9] {
    max-width: 34vw;
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(20, 99, 86, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-primary);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.72rem;
    box-shadow: 0 5px 14px rgba(12, 38, 34, 0.08);
    touch-action: manipulation;
}

.profile-chip span[b-0ll6e6r3z9] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-drawer[b-0ll6e6r3z9] {
    flex: 1;
}

.drawer-panel[b-0ll6e6r3z9] {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: calc(0.85rem + env(safe-area-inset-top)) 0.9rem calc(1rem + env(safe-area-inset-bottom));
    background: #fbfdfc;
    border-right: 1px solid rgba(180, 201, 194, 0.72);
}

.drawer-brand[b-0ll6e6r3z9] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.25rem 0.2rem 0.7rem;
    border-bottom: 1px solid rgba(180, 201, 194, 0.7);
}

.brand-logo[b-0ll6e6r3z9] {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 6px 14px rgba(12, 38, 34, 0.08);
    flex: 0 0 auto;
}

.drawer-brand strong[b-0ll6e6r3z9] {
    display: block;
    font-size: 1rem;
}

.drawer-nav[b-0ll6e6r3z9] {
    display: grid;
    gap: 1rem;
}

.drawer-nav section[b-0ll6e6r3z9] {
    display: grid;
    gap: 0.35rem;
}

.drawer-nav h2[b-0ll6e6r3z9] {
    margin: 0 0 0.15rem;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.drawer-link[b-0ll6e6r3z9] {
    min-height: 2.85rem;
    display: flex;
    align-items: center;
    border-radius: 0.75rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 800;
    padding: 0.5rem 0.72rem;
    touch-action: manipulation;
}

.drawer-link.active[b-0ll6e6r3z9] {
    background: #e6f4ef;
    color: var(--brand-primary);
    box-shadow: inset 3px 0 0 var(--brand-primary);
}

.drawer-link:hover[b-0ll6e6r3z9],
.drawer-link:active[b-0ll6e6r3z9] {
    background: rgba(222, 239, 233, 0.72);
}

.drawer-footer[b-0ll6e6r3z9] {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(180, 201, 194, 0.7);
}

.status-pill[b-0ll6e6r3z9] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.42rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.05;
}

.status-pill span:last-child[b-0ll6e6r3z9] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-dot[b-0ll6e6r3z9] {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: currentColor;
    flex: 0 0 auto;
}

.status-ready[b-0ll6e6r3z9] {
    background: #dbf3ed;
    color: #095845;
}

.status-busy[b-0ll6e6r3z9] {
    background: #fff0d8;
    color: #8b5a00;
}

.shell-main[b-0ll6e6r3z9] {
    min-height: calc(100vh - 3.8rem);
    background: transparent;
}

.content-body[b-0ll6e6r3z9] {
    padding: 0.85rem 0.85rem calc(1.2rem + env(safe-area-inset-bottom));
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 900px) {
    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-body {
        padding: 0;
    }

    .drawer-panel[b-0ll6e6r3z9] {
        width: 100%;
    }

    .content-body[b-0ll6e6r3z9] {
        padding-top: 1rem;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }

    .profile-chip[b-0ll6e6r3z9] {
        max-width: 16rem;
    }
}

@media (max-width: 420px) {
    .shell-header[b-0ll6e6r3z9] {
        gap: 0.45rem;
    }

    .profile-chip[b-0ll6e6r3z9] {
        max-width: 28vw;
        padding-left: 0.58rem;
        padding-right: 0.58rem;
    }

    .shell-brand-button[b-0ll6e6r3z9] {
        padding-left: 0.52rem;
        padding-right: 0.52rem;
    }

    .shell-brand-button span[b-0ll6e6r3z9] {
        display: none;
    }

    .shell-title-block strong[b-0ll6e6r3z9] {
        font-size: 0.95rem;
    }
}

@media (max-width: 899px) {
    .shell[b-0ll6e6r3z9] {
        --drawer-width: min(86vw, 320px);
    }

    .shell-header[b-0ll6e6r3z9] {
        position: sticky;
        top: 0;
        z-index: 120;
        min-height: var(--shell-header-height);
    }

    .app-drawer[b-0ll6e6r3z9] {
        flex: 1 1 auto;
        min-width: 0;
    }

    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer,
    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-content,
    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-content-wrapper,
    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-body {
        min-width: 0;
        width: 100%;
    }

    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-panel {
        position: fixed;
        top: var(--shell-header-height);
        left: 0;
        z-index: 110;
        width: min(86vw, 320px) !important;
        height: calc(100dvh - var(--shell-header-height));
        max-height: calc(100dvh - var(--shell-header-height));
        overflow-y: auto;
        overscroll-behavior: contain;
        background: transparent !important;
        border-right: 0 !important;
        box-shadow: none;
        pointer-events: none;
    }

    .shell[b-0ll6e6r3z9]  .app-drawer.dxbl-drawer-closed .dxbl-drawer-panel {
        transform: translateX(-100%) !important;
    }

    .shell[b-0ll6e6r3z9]  .app-drawer.dxbl-drawer-open .dxbl-drawer-panel {
        transform: translateX(0) !important;
    }

    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-content,
    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-body {
        margin-left: 0 !important;
        transform: none !important;
    }

    .shell[b-0ll6e6r3z9]  .app-drawer .dxbl-drawer-body {
        padding: 0;
    }

    .drawer-panel[b-0ll6e6r3z9] {
        width: auto;
        max-width: var(--drawer-width);
        pointer-events: auto;
        box-shadow: 18px 0 38px rgba(12, 38, 34, 0.18);
        min-height: calc(100dvh - var(--shell-header-height));
        padding-top: 0.85rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .shell-main[b-0ll6e6r3z9],
    .content-body[b-0ll6e6r3z9] {
        min-width: 0;
        width: 100%;
    }
}

#blazor-error-ui[b-0ll6e6r3z9] {
    color-scheme: light only;
    background: #fff7e3;
    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-0ll6e6r3z9] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-p8hyzar562],
.components-reconnect-repeated-attempt-visible[b-p8hyzar562],
.components-reconnect-failed-visible[b-p8hyzar562],
.components-pause-visible[b-p8hyzar562],
.components-resume-failed-visible[b-p8hyzar562],
.components-rejoining-animation[b-p8hyzar562] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-retrying[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-failed[b-p8hyzar562],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-p8hyzar562] {
    display: block;
}


#components-reconnect-modal[b-p8hyzar562] {
    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-p8hyzar562 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-p8hyzar562 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-p8hyzar562 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-p8hyzar562]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-p8hyzar562 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-p8hyzar562 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-p8hyzar562 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-p8hyzar562 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-p8hyzar562] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-p8hyzar562] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-p8hyzar562] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-p8hyzar562] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-p8hyzar562] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-p8hyzar562] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-p8hyzar562] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-p8hyzar562 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-p8hyzar562] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-p8hyzar562 {
    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;
    }
}
