/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* The sidebar shell is gone: navigation moved into the sticky top bar, and the
   page container/gutters now come from instrument.css (.ts-shell / .ts-page).
   All that remains here is the framework's disconnect banner. */

main[b-qxpf80fi2r] {
    display: block;
    min-height: calc(100vh - var(--ts-topbar-h, 56px));
}

#blazor-error-ui[b-qxpf80fi2r] {
    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-qxpf80fi2r] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-5uj2o9rhui],
.components-reconnect-repeated-attempt-visible[b-5uj2o9rhui],
.components-reconnect-failed-visible[b-5uj2o9rhui],
.components-pause-visible[b-5uj2o9rhui],
.components-resume-failed-visible[b-5uj2o9rhui],
.components-rejoining-animation[b-5uj2o9rhui] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-retrying[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-failed[b-5uj2o9rhui],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-5uj2o9rhui] {
    display: block;
}


#components-reconnect-modal[b-5uj2o9rhui] {
    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-5uj2o9rhui 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-5uj2o9rhui 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-5uj2o9rhui 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-5uj2o9rhui]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-5uj2o9rhui 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-5uj2o9rhui {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-5uj2o9rhui {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-5uj2o9rhui {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-5uj2o9rhui] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-5uj2o9rhui] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-5uj2o9rhui] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-5uj2o9rhui] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-5uj2o9rhui] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-5uj2o9rhui] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-5uj2o9rhui] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-5uj2o9rhui 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-5uj2o9rhui] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-5uj2o9rhui {
    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/Journal.razor.rz.scp.css */
/* The attention strip: things to fix, as a list rather than as a paragraph. */
.ts-attention[b-ha5qon79wg] {
    margin: 0;
    padding-inline-start: 1.1rem;
    display: grid;
    gap: .35rem;
    font-size: .82rem;
    line-height: 1.5;
}
/* /Components/Pages/TradeJournal/JournalCalendarPanel.razor.rz.scp.css */
/* A month as a strip of trading days rather than a grid with holes in it: only days that
   actually traded exist, so an empty week does not read as a loss. */
.ts-cal[b-wxcek1n1v6] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.ts-cal__day[b-wxcek1n1v6] {
    position: relative;
    min-width: 5.2rem;
    padding: .4rem .5rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    display: grid;
    gap: .1rem;
    background: var(--mud-palette-surface);
}

/* Colour reinforces the sign; the figure itself is always printed, so colour is never the
   only signal. */
.ts-cal__day--up[b-wxcek1n1v6] { border-inline-start: 3px solid var(--mud-palette-success); }
.ts-cal__day--down[b-wxcek1n1v6] { border-inline-start: 3px solid var(--mud-palette-error); }

.ts-cal__date[b-wxcek1n1v6] { font-size: .7rem; color: var(--mud-palette-text-secondary); }
.ts-cal__pnl[b-wxcek1n1v6] { font-size: .82rem; font-weight: 600; }
.ts-cal__count[b-wxcek1n1v6] { font-size: .68rem; color: var(--mud-palette-text-secondary); }

.ts-cal__flag[b-wxcek1n1v6] {
    position: absolute;
    top: .15rem;
    inset-inline-end: .3rem;
    font-weight: 700;
    color: var(--mud-palette-warning);
}
/* /Components/Pages/TradeJournal/JournalReviewPanel.razor.rz.scp.css */
.ts-decisions[b-t2ov47mx8u] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .6rem;
}

.ts-decisions li[b-t2ov47mx8u] {
    padding-inline-start: .6rem;
    border-inline-start: 2px solid var(--mud-palette-lines-default);
}
/* /Components/Pages/TradeJournal/TradeDetailPanel.razor.rz.scp.css */
/* Amendments as a dated list. A plan that quietly updated itself would always agree with
   what happened, which is why the changes live beside it rather than inside it. */
.ts-amendments[b-te5pkpsu9a] {
    list-style: none;
    margin: .4rem 0 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}

.ts-amendments li[b-te5pkpsu9a] {
    padding-inline-start: .6rem;
    border-inline-start: 2px solid var(--mud-palette-lines-default);
    font-size: .82rem;
}
