/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9nxd68odse],
.components-reconnect-repeated-attempt-visible[b-9nxd68odse],
.components-reconnect-failed-visible[b-9nxd68odse],
.components-pause-visible[b-9nxd68odse],
.components-resume-failed-visible[b-9nxd68odse],
.components-rejoining-animation[b-9nxd68odse] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-retrying[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-failed[b-9nxd68odse],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-9nxd68odse] {
    display: block;
}


#components-reconnect-modal[b-9nxd68odse] {
    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-9nxd68odse 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-9nxd68odse 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-9nxd68odse 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-9nxd68odse]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-9nxd68odse 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-9nxd68odse {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-9nxd68odse {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-9nxd68odse {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-9nxd68odse] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-9nxd68odse] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-9nxd68odse] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-9nxd68odse] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-9nxd68odse] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-9nxd68odse] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-9nxd68odse] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-9nxd68odse 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-9nxd68odse] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-9nxd68odse {
    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/Callout.razor.rz.scp.css */
/* Design-system §5.19 — lifted from the prototype .callout (+ a green success variant). */
.callout[b-6dtzshhfvv] {
    background: #fff7ed;
    border: 1px solid #fde0bd;
    border-radius: 11px;
    padding: 13px 15px;
    font-size: 12.5px;
    color: #92500a;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.callout.blue[b-6dtzshhfvv] { background: #eff5ff; border-color: #cfe0ff; color: #1a3a8a; }
.callout.red[b-6dtzshhfvv] { background: #fef2f2; border-color: #f6cccc; color: #9b1c1c; }
.callout.green[b-6dtzshhfvv] { background: #ecfdf3; border-color: #bbe8cd; color: #0f7a3d; }

.callout-ic[b-6dtzshhfvv] { flex: none; }
.callout-body[b-6dtzshhfvv] { min-width: 0; }
/* /Components/Shared/DocRow.razor.rz.scp.css */
/* Design-system §5.15 — lifted from the prototype .doc-row. */
.doc-row[b-kl8xhuv1w3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    margin-bottom: 10px;
    background: #fff;
}

.doc-row .di[b-kl8xhuv1w3] {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--chip);
    color: var(--primary);
    flex: none;
}

.d-body[b-kl8xhuv1w3] { min-width: 0; }
.doc-row .dn[b-kl8xhuv1w3] { font-size: 13px; font-weight: 600; }
.doc-row .dm[b-kl8xhuv1w3] { font-size: 11px; color: var(--muted-2); }
.d-sp[b-kl8xhuv1w3] { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* /Components/Shared/Funnel.razor.rz.scp.css */
/* Design-system §5.17 — lifted from the prototype funnel() bar. */
.funnel[b-13abpul90g] { margin-bottom: 12px; }

.funnel .fl[b-13abpul90g] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}

.funnel .ft[b-13abpul90g] {
    height: 10px;
    background: #eef1f7;
    border-radius: 20px;
    overflow: hidden;
}

.funnel .ft i[b-13abpul90g] {
    display: block;
    height: 100%;
    border-radius: 20px;
    min-width: 2px;
}
/* /Components/Shared/Gate.razor.rz.scp.css */
/* Design-system §5.10 — lifted from the prototype .gate. */
.gate[b-xpv1zjflgb] {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    background: #fff;
}

.gate .gi[b-xpv1zjflgb] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex: none;
}

.gate.pass .gi[b-xpv1zjflgb] { background: #e7f7ee; color: var(--green); }
.gate.pend .gi[b-xpv1zjflgb] { background: #fdf2e0; color: var(--amber); }
.gate.fail .gi[b-xpv1zjflgb] { background: #fdeaea; color: var(--red); }
.gate.na .gi[b-xpv1zjflgb] { background: #eef1f7; color: var(--muted-2); }

.gtext[b-xpv1zjflgb] { min-width: 0; }
.gate .gt[b-xpv1zjflgb] { font-size: 13px; font-weight: 700; }
.gate .gs[b-xpv1zjflgb] { font-size: 11px; color: var(--muted); }
.gsp[b-xpv1zjflgb] { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* /Components/Shared/Modal.razor.rz.scp.css */
/* Modal overlay — tokens match wwwroot/app.css (--card, --line, --txt, --muted, --radius). */

.prm-modal-backdrop[b-6evyljkdjy] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 31, 61, .5);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    outline: none;
}

.prm-modal[b-6evyljkdjy] {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
}

.prm-modal-head[b-6evyljkdjy] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.prm-modal-avatar[b-6evyljkdjy] {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 11px;
    background: var(--chip);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.prm-modal-title[b-6evyljkdjy] {
    flex: 1;
    font-weight: 700;
    font-size: 16px;
    color: var(--txt);
}

.prm-modal-x[b-6evyljkdjy] {
    flex: none;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 8px;
    color: var(--muted);
}

.prm-modal-x:hover[b-6evyljkdjy] {
    background: var(--bg);
    color: var(--txt);
}

.prm-modal-body[b-6evyljkdjy] {
    padding: 18px;
    overflow-y: auto;
}

.prm-modal-foot[b-6evyljkdjy] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    background: #fbfcfe;
    border-radius: 0 0 var(--radius) var(--radius);
}
/* /Components/Shared/StageFlow.razor.rz.scp.css */
/* Design-system §5.13 — lifted from the prototype .stage-flow / .stage. */
.stage-flow[b-dvxvgpiofy] {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}

.stage[b-dvxvgpiofy] {
    flex: 1;
    min-width: 120px;
    text-align: center;
    position: relative;
    padding: 0 4px;
}

.stage .sc[b-dvxvgpiofy] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    background: #eef1f7;
    color: var(--muted);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
}

.stage.done .sc[b-dvxvgpiofy] { background: var(--green); color: #fff; box-shadow: 0 0 0 1px var(--green); }
.stage.cur .sc[b-dvxvgpiofy] { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 255, .18); }

.stage .st[b-dvxvgpiofy] { font-size: 12px; font-weight: 700; }
.stage .sd[b-dvxvgpiofy] { font-size: 11px; color: var(--muted-2); }

.stage:not(:last-child)[b-dvxvgpiofy]::after {
    content: '';
    position: absolute;
    top: 23px;
    left: 60%;
    right: -40%;
    height: 3px;
    background: var(--line);
}

.stage.done:not(:last-child)[b-dvxvgpiofy]::after { background: var(--green); }
/* /Components/Shared/TabStrip.razor.rz.scp.css */
.prm-tabs[b-6y9n73hpzg] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}

.prm-tab[b-6y9n73hpzg] {
    appearance: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 9px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
}

.prm-tab:hover[b-6y9n73hpzg] {
    color: var(--navy);
}

.prm-tab.active[b-6y9n73hpzg] {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.prm-tab-count[b-6y9n73hpzg] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--chip);
    color: var(--primary);
    font-size: 11px;
}
/* /Components/Shared/Tag.razor.rz.scp.css */
/* Design-system §5.4 — lifted from the prototype .tag. */
.tag[b-v7y1f85vzy] {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--chip);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .4px;
}

.tag.dual[b-v7y1f85vzy] { background: #fdeaea; color: #c01c1c; }
/* /Components/Shared/Toast/ToastHost.razor.rz.scp.css */
/* Design-system §5.24 — bottom-center navy pill, auto-dismiss. */
.prm-toast[b-vearhvp9y5] {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    animation: prm-toast-in-b-vearhvp9y5 .18s ease;
}

@keyframes prm-toast-in-b-vearhvp9y5 {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
/* /Components/Shared/ToggleCard.razor.rz.scp.css */
/* Design-system §5.11 — lifted from the prototype .toggle-card. */
.toggle-card[b-i6ybqoc3k9] {
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    cursor: pointer;
    transition: .13s;
}

.toggle-card:hover[b-i6ybqoc3k9] { border-color: var(--primary); }

.toggle-card.sel[b-i6ybqoc3k9] {
    border-color: var(--primary);
    background: #f5f8ff;
    box-shadow: 0 0 0 3px rgba(31, 95, 255, .1);
}

.toggle-card .tk[b-i6ybqoc3k9] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid var(--line);
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.toggle-card.sel .tk[b-i6ybqoc3k9] { background: var(--primary); border-color: var(--primary); }

.tc-body[b-i6ybqoc3k9] { min-width: 0; }
.tc-title[b-i6ybqoc3k9] { font-weight: 700; font-size: 13px; }
.tc-desc[b-i6ybqoc3k9] { font-size: 12px; color: var(--muted); }
/* /Components/Shared/Upload.razor.rz.scp.css */
/* Design-system §5.14 — lifted from the prototype .upload. */
.upload[b-3ufpd0tdev] {
    border: 2px dashed var(--line);
    border-radius: 11px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fafbfe;
    transition: .13s;
    cursor: pointer;
}

.upload:hover[b-3ufpd0tdev] { border-color: var(--primary); background: #f5f8ff; }

.upload .uic[b-3ufpd0tdev] {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--chip);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex: none;
}

.u-body[b-3ufpd0tdev] { min-width: 0; }
.u-title[b-3ufpd0tdev] { font-size: 13px; font-weight: 600; }
.u-hint[b-3ufpd0tdev] { font-size: 11px; color: var(--muted-2); }
.u-slot[b-3ufpd0tdev] { margin-left: auto; }
