/* /Components/ExchangeMaintenanceBanner.razor.rz.scp.css */
.maint-strip[b-jdr8lej498] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.maint-chip[b-jdr8lej498] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    line-height: 1.15;
    text-decoration: none;
    background-color: #fff;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.maint-chip:hover[b-jdr8lej498] {
    transform: translateY(-1px);
    text-decoration: none;
}

.maint-chip__icon[b-jdr8lej498] {
    flex: 0 0 auto;
    display: block;
    border-radius: 0.2rem;
}

.maint-chip__body[b-jdr8lej498] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.maint-chip__head[b-jdr8lej498] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.maint-chip__exchange[b-jdr8lej498] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.maint-chip__tag[b-jdr8lej498] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.05rem 0.3rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.maint-chip__name[b-jdr8lej498] {
    font-size: 0.7rem;
    opacity: 0.9;
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.maint-chip__timer[b-jdr8lej498] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 4.1rem;
    margin-left: 0.15rem;
    padding-left: 0.55rem;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.maint-chip__timer-value[b-jdr8lej498] {
    font-size: 0.92rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.maint-chip__timer-label[b-jdr8lej498] {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.75;
}

.maint-chip__pulse[b-jdr8lej498] {
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: currentColor;
    animation: maint-blink-b-jdr8lej498 1.1s ease-in-out infinite;
}

/* Running right now - loudest. */
.maint-chip--live[b-jdr8lej498] {
    background: linear-gradient(135deg, #c81e1e, #e5342f);
    border-color: #a01414;
    color: #fff;
    padding: 0.4rem 0.75rem;
    animation: maint-glow-b-jdr8lej498 2s ease-in-out infinite;
}

.maint-chip--live .maint-chip__exchange[b-jdr8lej498] {
    font-size: 0.86rem;
}

.maint-chip--live .maint-chip__tag[b-jdr8lej498] {
    background-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.maint-chip--live .maint-chip__timer[b-jdr8lej498] {
    border-left-color: rgba(255, 255, 255, 0.35);
}

.maint-chip--live .maint-chip__timer-value[b-jdr8lej498] {
    font-size: 1rem;
}

/* Starting within an hour - red, but calm. */
.maint-chip--hour[b-jdr8lej498] {
    background-color: #fff4f4;
    border-color: #e02424;
    color: #9b1616;
}

.maint-chip--hour .maint-chip__tag[b-jdr8lej498] {
    background-color: #e02424;
    color: #fff;
}

.maint-chip--hour .maint-chip__timer[b-jdr8lej498] {
    border-left-color: rgba(224, 36, 36, 0.3);
}

/* Starting within a day - amber. */
.maint-chip--day[b-jdr8lej498] {
    background-color: #fffaeb;
    border-color: #e5a50a;
    color: #7a5200;
}

.maint-chip--day .maint-chip__tag[b-jdr8lej498] {
    background-color: #e5a50a;
    color: #3d2c00;
}

.maint-chip--day .maint-chip__timer[b-jdr8lej498] {
    border-left-color: rgba(229, 165, 10, 0.35);
}

/* Finished less than an hour ago - quiet. */
.maint-chip--ended[b-jdr8lej498] {
    background-color: #f4f5f7;
    border-color: #d3d7dd;
    color: #5a6470;
}

.maint-chip--ended .maint-chip__exchange[b-jdr8lej498],
.maint-chip--ended .maint-chip__timer-value[b-jdr8lej498] {
    font-weight: 600;
}

.maint-chip--ended .maint-chip__timer-value[b-jdr8lej498] {
    font-size: 0.85rem;
}

.maint-chip--ended .maint-chip__tag[b-jdr8lej498] {
    background-color: #99a1ac;
    color: #fff;
}

.maint-chip--ended .maint-chip__timer[b-jdr8lej498] {
    border-left-color: rgba(0, 0, 0, 0.1);
}

@keyframes maint-glow-b-jdr8lej498 {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(224, 36, 36, 0.55);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(224, 36, 36, 0);
    }
}

@keyframes maint-blink-b-jdr8lej498 {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maint-chip--live[b-jdr8lej498],
    .maint-chip__pulse[b-jdr8lej498] {
        animation: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-cac9y2k2zs] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-cac9y2k2zs] {
    flex: 1;
    /* A flex item defaults to min-width:auto, so wide content (a scrolling strip, a wide
       table) widens main and with it the whole page instead of scrolling inside its own box. */
    min-width: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.navbar-logo-row[b-aji5afq475] {
    position: relative;
}

.test-environment-badge[b-aji5afq475] {
    position: absolute;
    top: 0.4rem;
    right: 0.45rem;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 0.9rem);
    padding: 0.2rem 0.4rem;
    border: 1px solid rgba(255, 193, 7, 0.75);
    border-radius: 4px;
    background: #ffc107;
    color: #212529;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 0.25rem 0.65rem rgba(0, 0, 0, 0.25);
}

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

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

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

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

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

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

.nav-section[b-aji5afq475] {
    width: 100%;
}

.nav-section__header[b-aji5afq475] {
    width: 100%;
    background: transparent;
    border: none;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-section__header:hover[b-aji5afq475] {
    color: #ffffff;
}

.nav-section__items[b-aji5afq475] {
    padding-top: 0.25rem;
}

.nav-section__chevron[b-aji5afq475] {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.15s ease-in-out;
}

.nav-section__chevron.expanded[b-aji5afq475] {
    transform: rotate(225deg);
}

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

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

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

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

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


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

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

}

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

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

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

@keyframes components-reconnect-modal-fadeInOpacity-b-64wpbf6iwb {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-64wpbf6iwb {
    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/CryptoMiniBotSettings.razor.rz.scp.css */
.human-account-option[b-85ry82z620],
.human-account-selected[b-85ry82z620] {
    color: var(--bs-secondary-color);
}

.human-account-option[b-85ry82z620] {
    background-color: var(--bs-tertiary-bg);
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.wallet-transfer-backdrop[b-cs1rawohct] {
    z-index: 1040;
}

.wallet-transfer-dialog[b-cs1rawohct] {
    z-index: 1050;
}
/* /Components/Pages/MarketSeeding.razor.rz.scp.css */
.seeding-input[b-ftlsfv3q2o] {
    border-color: #6f7a89;
    border-width: 1.5px;
}

.seeding-input:focus[b-ftlsfv3q2o] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.16rem rgba(13, 110, 253, 0.18);
}

.seeding-bulk-panel[b-ftlsfv3q2o] {
    background: #f8f9fa;
    border: 1px solid #c7ced8;
    border-radius: 0.375rem;
    padding: 0.75rem;
}
/* /Components/Pages/ReportingCryptoUpDown.razor.rz.scp.css */
.cud[b-99kqnekfde] {
    font-size: 13px;
    color: #212529;
    padding-bottom: 40px;
    /* The roll is a wide horizontal strip. Every ancestor between it and the page needs to be
       allowed to shrink below its content, or the strip widens the page instead of scrolling. */
    min-width: 0;
}

.cud-mono[b-99kqnekfde] {
    font-variant-numeric: tabular-nums;
}

.cud-pos[b-99kqnekfde] {
    color: #198754;
}

.cud-neg[b-99kqnekfde] {
    color: #dc3545;
}

.cud-flat[b-99kqnekfde] {
    color: #6c757d;
}

.cud-sep[b-99kqnekfde] {
    color: #adb5bd;
}

/* ---------- header ---------- */

.cud-header[b-99kqnekfde] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.cud-title[b-99kqnekfde] {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -.5px;
    margin: 0;
}

.cud-subtitle[b-99kqnekfde] {
    color: #6c757d;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cud-live-dot[b-99kqnekfde] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
}

.cud-live-on[b-99kqnekfde] {
    background: #198754;
}

.cud-live-pending[b-99kqnekfde] {
    background: #ffc107;
}

.cud-live-off[b-99kqnekfde] {
    background: #adb5bd;
}

.cud-live-label[b-99kqnekfde] {
    font-size: 11px;
}

/* ---------- tabs ---------- */

.cud-tabs[b-99kqnekfde] {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    border-bottom: 1px solid #dee2e6;
}

.cud-tab[b-99kqnekfde] {
    border: 1px solid transparent;
    border-bottom: none;
    background: none;
    padding: 7px 18px;
    font-size: 13px;
    color: #6c757d;
    border-radius: 6px 6px 0 0;
    margin-bottom: -1px;
}

.cud-tab:hover[b-99kqnekfde] {
    color: #212529;
    background: #f8f9fa;
}

.cud-tab-active[b-99kqnekfde] {
    border-color: #dee2e6;
    background: #fff;
    color: #212529;
    font-weight: 600;
}

/* ---------- panels ---------- */

.cud-panel[b-99kqnekfde] {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #fff;
}

.cud-panel-head[b-99kqnekfde] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
}

.cud-panel-title[b-99kqnekfde] {
    font-size: 16px;
    font-weight: 600;
}

.cud-spacer[b-99kqnekfde] {
    flex: 1;
}

/* ---------- filters ---------- */

.cud-filters[b-99kqnekfde] {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-end;
}

.cud-field[b-99kqnekfde] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
}

.cud-field-wide[b-99kqnekfde] {
    min-width: 200px;
}

.cud-field .form-label[b-99kqnekfde] {
    font-size: 12px;
    color: #495057;
    margin: 0;
}

.cud-day-nav[b-99kqnekfde] {
    display: flex;
    gap: 6px;
    align-items: center;
    position: relative;
}

.cud-day-button[b-99kqnekfde] {
    min-width: 150px;
    text-align: left;
}

/* ---------- calendar ---------- */

.cud-calendar[b-99kqnekfde] {
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 30;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    padding: 12px;
    width: 352px;
}

.cud-calendar-head[b-99kqnekfde] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cud-calendar-grid[b-99kqnekfde] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
}

.cud-calendar-dow[b-99kqnekfde] {
    font-size: 10px;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3px;
}

.cud-calendar-cell[b-99kqnekfde] {
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 4px;
    padding: 4px 2px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-height: 40px;
}

.cud-calendar-cell-empty[b-99kqnekfde] {
    border-color: transparent;
    cursor: default;
}

.cud-calendar-cell-selected[b-99kqnekfde] {
    border-color: #0d6efd;
    background: #e7f1ff;
}

.cud-calendar-num[b-99kqnekfde] {
    font-size: 11px;
    font-weight: 600;
}

.cud-calendar-pl[b-99kqnekfde] {
    font-size: 9px;
    white-space: nowrap;
}

/* ---------- totals ---------- */

.cud-totals[b-99kqnekfde] {
    display: flex;
    justify-content: flex-end;
    gap: 36px;
    align-items: baseline;
    flex-wrap: wrap;
}

.cud-totals > div[b-99kqnekfde] {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.cud-totals-label[b-99kqnekfde] {
    font-weight: 600;
    color: #495057;
}

.cud-totals-value[b-99kqnekfde] {
    font-size: 17px;
}

.cud-totals-strong[b-99kqnekfde] {
    font-size: 19px;
    font-weight: 600;
}

/* ---------- matrix ---------- */

.cud-matrix-panel[b-99kqnekfde] {
    padding: 0;
}

.cud-matrix-scroll[b-99kqnekfde] {
    overflow-x: auto;
}

.cud-matrix[b-99kqnekfde] {
    width: 100%;
    min-width: 1020px;
    border-collapse: collapse;
    font-size: 12px;
}

.cud-matrix th[b-99kqnekfde],
.cud-matrix td[b-99kqnekfde] {
    padding: 7px 12px;
    text-align: right;
    border-bottom: 1px solid #eceff1;
    white-space: nowrap;
}

.cud-matrix thead th[b-99kqnekfde] {
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.cud-matrix .cud-matrix-total-col[b-99kqnekfde] {
    border-left: 1px solid #dee2e6;
    background: #f8f9fa;
}

.cud-matrix .cud-cell-selected[b-99kqnekfde] {
    background: #fbfdff;
}

.cud-matrix-footer td[b-99kqnekfde] {
    background: #f1f3f5;
    border-top: 1px solid #dee2e6;
    font-weight: 700;
    padding: 9px 12px;
}

/* Whole-row hover. The tint is repeated per cell rather than set on the row because the total
   column paints its own background, which would otherwise sit on top of a row-level colour. The
   footer keeps its own shading - it is a total, not a row to follow across. */
.cud-matrix tbody tr:not(.cud-matrix-footer):hover > td[b-99kqnekfde] {
    background: #f1f6fc;
    transition: background-color .12s ease-in-out;
}

.cud-matrix tbody tr:not(.cud-matrix-footer):hover > td.cud-matrix-total-col[b-99kqnekfde] {
    background: #e7eff9;
}

.cud-matrix tbody tr:not(.cud-matrix-footer):hover > td:first-child[b-99kqnekfde] {
    box-shadow: inset 2px 0 0 #9ec1ea;
}

.cud-matrix-footer .cud-matrix-grand[b-99kqnekfde] {
    background: #e9ecef;
}

/* ---------- groups and rolls ---------- */

.cud-groups[b-99kqnekfde] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.cud-group[b-99kqnekfde] {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    min-width: 0;
}

.cud-group-head[b-99kqnekfde] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
}

.cud-chevron[b-99kqnekfde] {
    color: #6c757d;
    font-size: 11px;
    width: 10px;
}

.cud-group-symbol[b-99kqnekfde] {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
}

.cud-roll-row[b-99kqnekfde] {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f1f3f5;
    min-width: 0;
}

.cud-roll-label[b-99kqnekfde] {
    flex: 0 0 100px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid #f1f3f5;
    background: #fcfcfd;
}

.cud-roll-duration[b-99kqnekfde] {
    font-weight: 700;
    font-size: 13px;
}

.cud-roll-count[b-99kqnekfde] {
    color: #adb5bd;
    font-size: 10px;
}

.cud-roll[b-99kqnekfde] {
    flex: 1;
    min-width: 0;
    /* scroll, not auto: the roll owns a permanently visible slider instead of one that
       only shows up on hover. */
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c9ced4 #f1f3f5;
    overscroll-behavior-x: contain;
    padding: 10px 12px;
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.cud-roll[b-99kqnekfde]::-webkit-scrollbar {
    height: 10px;
}

.cud-roll[b-99kqnekfde]::-webkit-scrollbar-thumb {
    background: #c9ced4;
    border-radius: 5px;
}

.cud-roll[b-99kqnekfde]::-webkit-scrollbar-track {
    background: #f1f3f5;
}

/* ---------- roll sentinel (older windows) ---------- */

/* Always rendered as the roll's first child: it is both the IntersectionObserver target
   that pulls older windows in and the place where the roll reports its own state. */
.cud-roll-sentinel[b-99kqnekfde] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    padding: 0 6px;
    color: #adb5bd;
    font-size: 10px;
    text-align: center;
    line-height: 1.25;
}

.cud-roll-sentinel-end[b-99kqnekfde] {
    color: #ced4da;
}

.cud-roll-more[b-99kqnekfde] {
    border: 1px dashed #ced4da;
    background: #fff;
    border-radius: 4px;
    color: #6c757d;
    font-size: 10px;
    padding: 4px 8px;
    cursor: pointer;
    white-space: nowrap;
}

.cud-roll-more:hover[b-99kqnekfde] {
    border-color: #0d6efd;
    color: #0d6efd;
}

/* ---------- tiles ---------- */

.cud-tile[b-99kqnekfde] {
    flex: 0 0 168px;
    width: 168px;
    box-sizing: border-box;
    padding: 7px 8px;
    border-radius: 4px;
    font-size: 11px;
    background: #fff;
    border: 1px solid #adb5bd;
}

.cud-dense .cud-tile[b-99kqnekfde] {
    flex-basis: 134px;
    width: 134px;
    padding: 5px 6px;
    font-size: 10px;
}

.cud-tile-head[b-99kqnekfde] {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
}

.cud-tile-time[b-99kqnekfde] {
    color: #495057;
    font-weight: 600;
    white-space: nowrap;
}

/* Only the time opens the details overlay, so only the time advertises it. A window with no
   canonical event keeps the plain span and the default cursor. */
.cud-tile-time-link[b-99kqnekfde] {
    cursor: pointer;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}

.cud-tile-time-link:hover[b-99kqnekfde] {
    color: #0d6efd;
    text-decoration-style: solid;
}

.cud-tile-markers[b-99kqnekfde] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cud-unverified[b-99kqnekfde] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffc107;
    color: #212529;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    box-shadow: inset 0 0 0 1px rgba(33, 37, 41, .18);
}

.cud-badge[b-99kqnekfde] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
    color: #fff;
}

.cud-tile-rows[b-99kqnekfde] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 6px;
}

.cud-side[b-99kqnekfde] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    border-radius: 3px;
}

.cud-side-name[b-99kqnekfde] {
    font-weight: 700;
    width: 38px;
}

.cud-side-shares[b-99kqnekfde] {
    color: #6c757d;
    flex: 1;
}

.cud-side-win[b-99kqnekfde] {
    background: #eef4f9;
    box-shadow: inset 0 0 0 1px #cfe0ee;
}

.cud-side-lost[b-99kqnekfde] {
    opacity: .42;
}

.cud-tile-compact[b-99kqnekfde] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 10px;
}

.cud-side-compact[b-99kqnekfde] {
    flex: 1;
    text-align: center;
    padding: 2px 3px;
    border-radius: 3px;
    font-weight: 600;
    background: #f8f9fa;
}

/* ---------- tile P/L bar ---------- */

/* Full-bleed strip across the bottom of the tile. Negative side margins cancel the tile
   padding so the bar reaches the border; the bottom radius matches the tile's inner corner. */
.cud-tile-bar[b-99kqnekfde] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 6px -8px -7px -8px;
    padding: 3px 8px;
    border-radius: 0 0 3px 3px;
    font-size: 10px;
    font-weight: 600;
    min-height: 18px;
}

.cud-dense .cud-tile-bar[b-99kqnekfde] {
    margin: 5px -6px -5px -6px;
    padding: 2px 6px;
    min-height: 16px;
}

.cud-tile-bar-label[b-99kqnekfde] {
    font-weight: 500;
    opacity: .85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cud-tile-bar-value[b-99kqnekfde] {
    font-weight: 700;
    white-space: nowrap;
}

.cud-bar-win[b-99kqnekfde] {
    background: #198754;
    color: #fff;
}

.cud-bar-loss[b-99kqnekfde] {
    background: #dc3545;
    color: #fff;
}

.cud-bar-flat[b-99kqnekfde] {
    background: #6c757d;
    color: #fff;
}

.cud-bar-expected[b-99kqnekfde] {
    background: #6c757d;
    color: #fff;
}

/* Nothing of ours ever entered this window - it must not read as a result of any kind. */
.cud-bar-none[b-99kqnekfde] {
    background: #f1f3f5;
    color: #adb5bd;
    justify-content: center;
    font-weight: 500;
    font-style: italic;
    box-shadow: inset 0 1px 0 #e9ecef;
}

/* tile + badge state colouring */

.cud-tile.cud-state-up[b-99kqnekfde] {
    background: #f4faf6;
    border: 1px solid #198754;
}

.cud-tile.cud-state-down[b-99kqnekfde] {
    background: #fef6f7;
    border: 1px solid #dc3545;
}

.cud-tile.cud-state-live[b-99kqnekfde] {
    border: 2px solid #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
}

.cud-tile.cud-state-upcoming[b-99kqnekfde] {
    border: 1px dashed #adb5bd;
}

.cud-tile.cud-state-unresolved[b-99kqnekfde] {
    background: #fffdf3;
    border: 1px solid #ffc107;
}

.cud-badge.cud-state-up[b-99kqnekfde] {
    background: #198754;
}

.cud-badge.cud-state-down[b-99kqnekfde] {
    background: #dc3545;
}

.cud-badge.cud-state-live[b-99kqnekfde] {
    background: #0d6efd;
    animation: cudLivePulse-b-99kqnekfde 1.6s ease-in-out infinite;
}

.cud-badge.cud-state-upcoming[b-99kqnekfde] {
    background: #f1f3f5;
    color: #6c757d;
}

.cud-badge.cud-state-unresolved[b-99kqnekfde] {
    background: #ffc107;
    color: #212529;
}

@keyframes cudLivePulse-b-99kqnekfde {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

/* ---------- legend ---------- */

.cud-legend[b-99kqnekfde] {
    margin-top: 16px;
    display: flex;
    gap: 18px;
    align-items: center;
    color: #6c757d;
    font-size: 11px;
    flex-wrap: wrap;
}

.cud-legend span[b-99kqnekfde] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cud-swatch[b-99kqnekfde] {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    display: inline-block;
}

.cud-swatch.cud-state-up[b-99kqnekfde] {
    background: #e8f3ec;
    border: 1px solid #198754;
}

.cud-swatch.cud-state-down[b-99kqnekfde] {
    background: #fdecee;
    border: 1px solid #dc3545;
}

.cud-swatch.cud-state-live[b-99kqnekfde] {
    background: #fff;
    border: 2px solid #0d6efd;
}

.cud-swatch.cud-state-upcoming[b-99kqnekfde] {
    background: #fff;
    border: 1px dashed #adb5bd;
}

.cud-swatch.cud-state-unresolved[b-99kqnekfde] {
    background: #fffdf3;
    border: 1px solid #ffc107;
}

/* bar swatches - wider, so they read as the strip they stand for rather than a state box */
.cud-swatch-bar[b-99kqnekfde] {
    width: 22px;
    height: 9px;
    border-radius: 2px;
    display: inline-block;
}

.cud-swatch-bar.cud-bar-win[b-99kqnekfde] {
    background: #198754;
}

.cud-swatch-bar.cud-bar-loss[b-99kqnekfde] {
    background: #dc3545;
}

.cud-swatch-bar.cud-bar-expected[b-99kqnekfde] {
    background: #6c757d;
}

.cud-swatch-bar.cud-bar-none[b-99kqnekfde] {
    background: #f1f3f5;
    box-shadow: inset 0 0 0 1px #e9ecef;
}

/* ---------- market details overlay ---------- */

/* The event details view is wide - a 12-column markets table and 1000px chart viewBoxes - so the
   dialog takes the viewport instead of Bootstrap's centred column, and scrolls inside itself. */
.cud-overlay-dialog[b-99kqnekfde] {
    width: 96vw;
    max-width: 96vw;
    height: 94vh;
    margin: 3vh auto;
}

.cud-overlay-body[b-99kqnekfde] {
    overflow: auto;
}
/* /Components/Shared/CryptoUpDownAnalytics.razor.rz.scp.css */
/* Mirrors the look of the Rolls tab, but scoped CSS does not cross component boundaries so the
   shared-looking classes are redeclared here rather than reused. */

.cua[b-qc5fd3usu0] {
    font-size: 13px;
    color: #212529;
    padding-bottom: 40px;
    min-width: 0;
}

.cua-pos[b-qc5fd3usu0] {
    color: #198754;
}

.cua-neg[b-qc5fd3usu0] {
    color: #dc3545;
}

.cua-flat[b-qc5fd3usu0] {
    color: #6c757d;
}

/* ---------- panels ---------- */

.cua-panel[b-qc5fd3usu0] {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #fff;
}

.cua-panel-head[b-qc5fd3usu0] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: -14px -16px 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
}

.cua-panel-title[b-qc5fd3usu0] {
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.cua-spacer[b-qc5fd3usu0] {
    flex: 1;
}

/* ---------- filters and group by ---------- */

.cua-filters[b-qc5fd3usu0],
.cua-groupby[b-qc5fd3usu0] {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-end;
}

.cua-field[b-qc5fd3usu0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
}

.cua-field-wide[b-qc5fd3usu0] {
    min-width: 220px;
}

.cua-field .form-label[b-qc5fd3usu0] {
    font-size: 12px;
    color: #495057;
    margin: 0;
}

.cua-buttons[b-qc5fd3usu0] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.cua-dirty[b-qc5fd3usu0] {
    align-self: center;
    font-size: 12px;
    color: #b8860b;
    white-space: nowrap;
}

.cua-warning[b-qc5fd3usu0] {
    border: 1px solid #ffe69c;
    background: #fff9e6;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #664d03;
}

/* ---------- totals ---------- */

.cua-totals[b-qc5fd3usu0] {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    align-items: baseline;
}

.cua-totals > div[b-qc5fd3usu0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cua-totals-label[b-qc5fd3usu0] {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.cua-totals-value[b-qc5fd3usu0] {
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.cua-strong[b-qc5fd3usu0] {
    font-weight: 600;
}

/* ---------- currency x interval matrix ---------- */

.cua-matrix-panel[b-qc5fd3usu0] {
    padding: 0;
}

.cua-matrix-panel .cua-panel-head[b-qc5fd3usu0] {
    margin: 0;
}

.cua-matrix-scroll[b-qc5fd3usu0] {
    overflow-x: auto;
}

.cua-matrix[b-qc5fd3usu0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.cua-matrix th[b-qc5fd3usu0],
.cua-matrix td[b-qc5fd3usu0] {
    padding: 7px 12px;
    text-align: right;
    border-bottom: 1px solid #eceff1;
    white-space: nowrap;
}

.cua-matrix thead th[b-qc5fd3usu0] {
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.cua-matrix .cua-matrix-total-col[b-qc5fd3usu0] {
    border-left: 1px solid #dee2e6;
    background: #f8f9fa;
}

.cua-matrix-footer td[b-qc5fd3usu0] {
    background: #f1f3f5;
    border-top: 1px solid #dee2e6;
    font-weight: 700;
    padding: 9px 12px;
}

/* Whole-row hover. The tint is repeated per cell rather than set on the row because the total
   column paints its own background, which would otherwise sit on top of a row-level colour. The
   footer keeps its own shading - it is a total, not a row to follow across. */
.cua-matrix tbody tr:not(.cua-matrix-footer):hover > td[b-qc5fd3usu0] {
    background: #f1f6fc;
}

.cua-matrix tbody tr:not(.cua-matrix-footer):hover > td.cua-matrix-total-col[b-qc5fd3usu0] {
    background: #e7eff9;
}

.cua-matrix tbody tr:not(.cua-matrix-footer):hover > td:first-child[b-qc5fd3usu0] {
    box-shadow: inset 2px 0 0 #9ec1ea;
}

.cua-matrix-footer .cua-matrix-grand[b-qc5fd3usu0] {
    background: #e9ecef;
}

.cua-sep[b-qc5fd3usu0] {
    color: #adb5bd;
}

/* ---------- table ---------- */

/* The pivot can be wide once several dimensions are on; it scrolls inside the panel rather than
   widening the page. */
.cua-scroll[b-qc5fd3usu0] {
    overflow-x: auto;
}

.cua-table[b-qc5fd3usu0] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.cua-table th[b-qc5fd3usu0],
.cua-table td[b-qc5fd3usu0] {
    padding: 5px 10px;
    text-align: right;
    white-space: nowrap;
    border-bottom: 1px solid #f1f3f5;
}

.cua-table thead th[b-qc5fd3usu0] {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    background: #fff;
}

.cua-row-group > td[b-qc5fd3usu0] {
    border-top: 1px solid #dee2e6;
    background: #fbfcfd;
}

.cua-row-bucket > td[b-qc5fd3usu0] {
    color: #495057;
}

.cua-table tbody tr:hover > td[b-qc5fd3usu0] {
    background: #f1f6fc;
    transition: background-color .12s ease-in-out;
}

.cua-table tbody tr:hover > td:first-child[b-qc5fd3usu0] {
    box-shadow: inset 2px 0 0 #9ec1ea;
}

/* The bucket label sits under the group columns it belongs to, indented so the ladder reads as a
   breakdown of the row above rather than as a sibling row. */
.cua-bucket-label[b-qc5fd3usu0] {
    padding-left: 26px;
    color: #6c757d;
}
