/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-m934nb9dqt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-m934nb9dqt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-m934nb9dqt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-m934nb9dqt]  a, .top-row[b-m934nb9dqt]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-m934nb9dqt]  a:hover, .top-row[b-m934nb9dqt]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-m934nb9dqt]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-m934nb9dqt] {
        justify-content: space-between;
    }

    .top-row[b-m934nb9dqt]  a, .top-row[b-m934nb9dqt]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-m934nb9dqt] {
        flex-direction: row;
    }

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

    .top-row[b-m934nb9dqt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-m934nb9dqt]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-m934nb9dqt], article[b-m934nb9dqt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-m934nb9dqt] {
    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-m934nb9dqt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-izzm12no9w] {
    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-izzm12no9w] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.bi[b-izzm12no9w] {
    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-izzm12no9w] {
    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-izzm12no9w] {
    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-izzm12no9w] {
    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-izzm12no9w] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-izzm12no9w]  .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-izzm12no9w]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

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

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

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

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

    .nav-scrollable[b-izzm12no9w] {
        /* 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-089mjq6b9a],
.components-reconnect-repeated-attempt-visible[b-089mjq6b9a],
.components-reconnect-failed-visible[b-089mjq6b9a],
.components-pause-visible[b-089mjq6b9a],
.components-resume-failed-visible[b-089mjq6b9a],
.components-rejoining-animation[b-089mjq6b9a] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-089mjq6b9a {
    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/Home.razor.rz.scp.css */
.simulation-app[b-ggupziynbt] {
    display: grid;
    grid-template-rows: 74px minmax(0, 1fr) 34px;
    width: 100vw;
    height: 100dvh;
    background: #e8ecec;
}

.app-header[b-ggupziynbt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding: 0 24px;
    border-bottom: 1px solid #ccd3d3;
    background: #f8fafa;
}

.identity-block[b-ggupziynbt],
.header-state[b-ggupziynbt],
.version-line[b-ggupziynbt],
.command-row[b-ggupziynbt] {
    display: flex;
    align-items: center;
}

.identity-block[b-ggupziynbt] {
    min-width: 0;
    gap: 13px;
}

.product-mark[b-ggupziynbt] {
    width: 9px;
    height: 38px;
    flex: 0 0 auto;
    background: var(--profile-accent);
}

h1[b-ggupziynbt],
h2[b-ggupziynbt],
p[b-ggupziynbt] {
    margin: 0;
}

h1[b-ggupziynbt] {
    overflow: hidden;
    font-size: 17px;
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.version-line[b-ggupziynbt] {
    min-width: 0;
    gap: 9px;
    margin-top: 5px;
    color: #5d6969;
    font-size: 12px;
}

.version-line strong[b-ggupziynbt] {
    overflow: hidden;
    color: #283434;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.version-line span[b-ggupziynbt] {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.header-state[b-ggupziynbt] {
    flex: 0 0 auto;
    gap: 14px;
    font-size: 12px;
}

.profile-label[b-ggupziynbt],
.simulation-only[b-ggupziynbt] {
    color: #556161;
}

.simulation-only[b-ggupziynbt] {
    padding-left: 14px;
    border-left: 1px solid #ccd3d3;
    font-weight: 700;
    text-transform: uppercase;
}

.state-indicator[b-ggupziynbt] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
}

.state-indicator span[b-ggupziynbt] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9aa4a4;
}

.state-indicator.running span[b-ggupziynbt] {
    background: #2f976b;
    box-shadow: 0 0 0 4px rgb(47 151 107 / 14%);
}

.workspace[b-ggupziynbt] {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
}

.control-rail[b-ggupziynbt] {
    min-height: 0;
    overflow-y: auto;
    border-right: 1px solid #c9d0d0;
    background: #f8fafa;
}

.control-section[b-ggupziynbt],
.profile-section[b-ggupziynbt] {
    padding: 20px 22px;
    border-bottom: 1px solid #d8dddd;
}

.section-heading[b-ggupziynbt] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.section-heading h2[b-ggupziynbt],
.profile-section h2[b-ggupziynbt] {
    font-size: 13px;
    font-weight: 780;
}

.section-heading span[b-ggupziynbt],
.section-heading output[b-ggupziynbt] {
    color: #697474;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.command-row[b-ggupziynbt] {
    gap: 8px;
}

.primary-command[b-ggupziynbt],
.icon-command[b-ggupziynbt] {
    height: 38px;
    border: 1px solid #aeb8b8;
    border-radius: 4px;
    background: #fff;
    color: #172020;
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease;
}

.primary-command[b-ggupziynbt] {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-color: var(--profile-accent);
    background: var(--profile-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

.icon-command[b-ggupziynbt] {
    width: 38px;
    flex: 0 0 38px;
    font-weight: 800;
}

.primary-command:hover:not(:disabled)[b-ggupziynbt],
.icon-command:hover:not(:disabled)[b-ggupziynbt] {
    filter: brightness(0.95);
}

button:disabled[b-ggupziynbt] {
    cursor: not-allowed;
    opacity: 0.42;
}

.range-control[b-ggupziynbt] {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    min-height: 35px;
    color: #3c4848;
    font-size: 11px;
}

.range-control output[b-ggupziynbt] {
    text-align: right;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.range-control input[b-ggupziynbt] {
    width: 100%;
    accent-color: var(--profile-accent);
}

.joint-section .range-control[b-ggupziynbt] {
    grid-template-columns: 70px minmax(0, 1fr) 42px;
}

.profile-section[b-ggupziynbt] {
    border-bottom: 0;
    background: #eef2f1;
}

.profile-kicker[b-ggupziynbt] {
    display: block;
    margin-bottom: 8px;
    color: var(--profile-accent);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-section p[b-ggupziynbt] {
    margin-top: 8px;
    color: #586565;
    font-size: 11px;
    line-height: 1.5;
}

.profile-section dl[b-ggupziynbt] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0 0;
}

.profile-section dl div[b-ggupziynbt] {
    min-width: 0;
}

.profile-section dt[b-ggupziynbt] {
    color: #707b7b;
    font-size: 9px;
    font-weight: 600;
}

.profile-section dd[b-ggupziynbt] {
    overflow-wrap: anywhere;
    margin: 4px 0 0;
    color: #253131;
    font-size: 10px;
    font-weight: 750;
}

.viewport-shell[b-ggupziynbt] {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #dfe5e5;
}

.simulation-canvas[b-ggupziynbt] {
    display: block;
    width: 100%;
    height: 100%;
    outline: 0;
    touch-action: none;
}

.loading-state[b-ggupziynbt] {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 14px;
    background: #e8ecec;
    color: #475353;
    font-size: 12px;
    text-align: center;
}

.loading-bar[b-ggupziynbt] {
    width: 180px;
    height: 3px;
    overflow: hidden;
    background: #cbd2d2;
}

.loading-bar[b-ggupziynbt]::after {
    display: block;
    width: 45%;
    height: 100%;
    background: var(--profile-accent);
    animation: loading-b-ggupziynbt 1.1s ease-in-out infinite alternate;
    content: "";
}

@keyframes loading-b-ggupziynbt {
    from { transform: translateX(0); }
    to { transform: translateX(122%); }
}

.viewport-readout[b-ggupziynbt] {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(88px, auto));
    border: 1px solid rgb(40 52 52 / 20%);
    background: rgb(248 250 250 / 92%);
    box-shadow: 0 8px 24px rgb(21 31 31 / 10%);
    backdrop-filter: blur(8px);
}

.viewport-readout div[b-ggupziynbt] {
    padding: 10px 13px;
    border-right: 1px solid #d6dcdc;
}

.viewport-readout div:last-child[b-ggupziynbt] {
    border-right: 0;
}

.viewport-readout span[b-ggupziynbt],
.viewport-readout strong[b-ggupziynbt] {
    display: block;
}

.viewport-readout span[b-ggupziynbt] {
    color: #6d7878;
    font-size: 9px;
}

.viewport-readout strong[b-ggupziynbt] {
    margin-top: 4px;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.app-footer[b-ggupziynbt] {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 0 24px;
    border-top: 1px solid #cbd2d2;
    background: #f8fafa;
    color: #697474;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 9px;
}

.app-footer a[b-ggupziynbt] {
    margin-left: auto;
    color: var(--profile-accent);
    font-family: inherit;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 760px) {
    .simulation-app[b-ggupziynbt] {
        grid-template-rows: auto auto auto;
        height: auto;
        min-height: 100dvh;
    }

    .app-header[b-ggupziynbt] {
        align-items: flex-start;
        gap: 14px;
        padding: 14px 16px;
    }

    .header-state[b-ggupziynbt] {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

    .profile-label[b-ggupziynbt],
    .simulation-only[b-ggupziynbt] {
        display: none;
    }

    .workspace[b-ggupziynbt] {
        display: flex;
        flex-direction: column;
    }

    .viewport-shell[b-ggupziynbt] {
        order: -1;
        height: 52dvh;
        min-height: 360px;
    }

    .control-rail[b-ggupziynbt] {
        overflow: visible;
        border-right: 0;
    }

    .viewport-readout[b-ggupziynbt] {
        right: 10px;
        bottom: 10px;
        grid-template-columns: repeat(2, minmax(84px, auto));
    }

    .viewport-readout div:nth-child(3)[b-ggupziynbt] {
        display: none;
    }

    .app-footer[b-ggupziynbt] {
        flex-wrap: wrap;
        gap: 8px 14px;
        padding: 10px 16px;
    }
}
