/* /Components/Account/AccountLayout.razor.rz.scp.css */
.account[b-f40ojn9ifn] {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 1.5rem 1rem;
    background: var(--rz-body-background-color);
}

.account-card[b-f40ojn9ifn] {
    width: 100%;
    max-width: 400px;
    background: var(--rz-base-background-color);
    border: 1px solid var(--rz-base-300);
    border-radius: 12px;
    padding: 2rem 1.75rem;
}

/* Логотип над формой — по центру карточки */
.account-brand[b-f40ojn9ifn] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.25rem 0 2rem;
}

/* Логотип — компонент Atlas.Ui, поэтому стиль через ::deep */
.account-brand[b-f40ojn9ifn]  .account-logo {
    height: 44px;
}

@media (max-width: 640px) {
    .account[b-f40ojn9ifn] {
        place-items: start center;
    }

    .account-card[b-f40ojn9ifn] {
        border: none;
        padding: 1rem 0.25rem;
        background: transparent;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-q8oecbf8ej],
.components-reconnect-repeated-attempt-visible[b-q8oecbf8ej],
.components-reconnect-failed-visible[b-q8oecbf8ej],
.components-pause-visible[b-q8oecbf8ej],
.components-resume-failed-visible[b-q8oecbf8ej],
.components-rejoining-animation[b-q8oecbf8ej] {
    display: none;
}

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

/* При повторной попытке Blazor оставляет и класс первой попытки — показываем только актуальный текст */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-first-attempt-visible[b-q8oecbf8ej] {
    display: none;
}

#components-reconnect-modal[b-q8oecbf8ej] {
    box-sizing: border-box;
    width: min(26rem, calc(100vw - 2rem));
    max-width: none;
    margin: 18vh auto;
    padding: 1.75rem 1.75rem 1.5rem;
    border: 1px solid var(--rz-base-300);
    border-radius: 14px;
    background: var(--rz-base-background-color);
    color: var(--rz-text-color);
    font-family: var(--rz-text-font-family);
    box-shadow: 0 12px 32px oklch(0.22 0.01 120 / 0.16);
    opacity: 0;
    transition: display 0.3s allow-discrete, overlay 0.3s allow-discrete;
    animation: components-reconnect-fade-out-b-q8oecbf8ej 0.3s both;
}

#components-reconnect-modal[open][b-q8oecbf8ej] {
    animation: components-reconnect-rise-b-q8oecbf8ej 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Окно получает фокус само при открытии, контур вокруг него не нужен */
#components-reconnect-modal:focus[b-q8oecbf8ej],
#components-reconnect-modal:focus-visible[b-q8oecbf8ej] {
    outline: none;
}

#components-reconnect-modal[b-q8oecbf8ej]::backdrop {
    background: oklch(0.22 0.01 120 / 0.3);
}

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

#components-reconnect-modal h2[b-q8oecbf8ej] {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rz-text-title-color);
    text-wrap: balance;
}

#components-reconnect-modal p[b-q8oecbf8ej] {
    margin: 0;
    color: var(--rz-text-secondary-color);
    line-height: 1.5;
    text-wrap: pretty;
}

#components-reconnect-modal button[b-q8oecbf8ej] {
    min-height: 44px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 8px;
    background: var(--rz-primary);
    color: var(--rz-on-primary);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

#components-reconnect-modal button:hover[b-q8oecbf8ej] {
    background: var(--rz-primary-dark);
}

#components-reconnect-modal button:focus-visible[b-q8oecbf8ej] {
    outline: 2px solid var(--rz-primary);
    outline-offset: 2px;
}

/* Спокойная пульсация основным цветом, пока идёт переподключение */
.components-rejoining-animation[b-q8oecbf8ej] {
    position: relative;
    width: 56px;
    height: 56px;
}

.components-rejoining-animation div[b-q8oecbf8ej] {
    position: absolute;
    inset: 0;
    border: 3px solid var(--rz-primary);
    border-radius: 50%;
    opacity: 0;
    animation: components-rejoining-pulse-b-q8oecbf8ej 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

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

@keyframes components-rejoining-pulse-b-q8oecbf8ej {
    0% {
        transform: scale(0.2);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes components-reconnect-rise-b-q8oecbf8ej {
    from {
        transform: translateY(12px);
        opacity: 0;
    }

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

@keyframes components-reconnect-fade-out-b-q8oecbf8ej {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-q8oecbf8ej],
    #components-reconnect-modal[open][b-q8oecbf8ej],
    .components-rejoining-animation div[b-q8oecbf8ej] {
        animation-duration: 0.01ms;
    }

    #components-reconnect-modal[open][b-q8oecbf8ej] {
        opacity: 1;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.department[b-m0iskejokm] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
    min-height: 44px;
}

.department:hover[b-m0iskejokm] {
    border-color: var(--rz-primary-light);
}

.department h2[b-m0iskejokm] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
