/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* PAGE WRAPPER */
.page[b-e4onxld9xf] {
    position: relative;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.page.login-collapsed .sidebar[b-e4onxld9xf] {
    width: 0;
    min-width: 0;
    max-width: 0;
    overflow: hidden;
}

.page.login-collapsed .divider[b-e4onxld9xf] {
    display: none;
}


.page.sidebar-collapsed .sidebar[b-e4onxld9xf] {
    width: 0;
    min-width: 0;
    max-width: 0;
    overflow: hidden;
}

.page.sidebar-collapsed .divider[b-e4onxld9xf] {
    cursor: e-resize;
}

/* SIDEBAR */
.sidebar[b-e4onxld9xf] {
    width: 250px;
    min-width: 200px;
    max-width: 500px;
    background-image: linear-gradient(180deg, #33475f 0%, #2e425a 58%, #2a3a4f 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    position: sticky;
    top: 0;
    display: flex; /* 🔥 KEY */
    flex-direction: column; /* 🔥 KEY */
    overflow: hidden;
    transition: width 0.3s ease; /* Smooth width transitions */
}


/* DRAGGABLE DIVIDER */
.divider[b-e4onxld9xf] {
    width: 4px;
    background-color: rgba(255, 255, 255, 0.14);
    cursor: col-resize;
    position: relative;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    touch-action: none;
}

.sidebar-toggle[b-e4onxld9xf] {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--twc-surface-alt);
    color: var(--twc-on-surface);
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.sidebar-toggle[b-e4onxld9xf]::before {
    content: "<";
}

.page.sidebar-collapsed .sidebar-toggle[b-e4onxld9xf]::before {
    content: ">";
}


.divider:hover[b-e4onxld9xf] {
    background-color: rgba(102, 178, 255, 0.58);
}

.divider.dragging[b-e4onxld9xf] {
    background-color: rgba(102, 178, 255, 0.82);
}

.divider[b-e4onxld9xf]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 40px;
    background-color: rgba(148, 163, 184, 0.25);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.divider:hover[b-e4onxld9xf]::before {
    opacity: 1;
}

.divider.horizontal[b-e4onxld9xf] {
    width: 100%;
    height: 6px;
    cursor: row-resize;
}

.divider.horizontal[b-e4onxld9xf]::before {
    width: 40px;
    height: 20px;
}

/* MAIN AREA */
main[b-e4onxld9xf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--twc-app-surface);
}

/* TOP BAR */
.top-row[b-e4onxld9xf] {
    background-color: var(--twc-surface-alt);
    border-bottom: 1px solid var(--twc-border);
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.top-row-title[b-e4onxld9xf] {
    margin-left: 12px;
    margin-right: auto;
}

    .top-row[b-e4onxld9xf]  a,
    .top-row[b-e4onxld9xf]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-e4onxld9xf]  a:hover,
        .top-row[b-e4onxld9xf]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-e4onxld9xf]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/* CONTENT SCROLLER */
article[b-e4onxld9xf] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-left: 2rem;
    padding-right: 1.5rem;
}

/* MOBILE */
@media (max-width: 640.98px) {
    .page[b-e4onxld9xf] {
        flex-direction: column;
    }

    .page.login-collapsed[b-e4onxld9xf] {
        height: 100dvh;
    }

    .page.login-collapsed > .sidebar[b-e4onxld9xf] {
        width: 0;
        height: 0;
        min-height: 0;
        max-height: 0;
        overflow: hidden;
    }

    .page.login-collapsed > .divider[b-e4onxld9xf] {
        display: none;
    }

    .page.login-collapsed > main[b-e4onxld9xf] {
        flex: 1 1 auto;
        min-height: 100dvh;
    }

    .page > .sidebar[b-e4onxld9xf] {
        width: 100%;
        height: 45vh;
        min-height: 180px;
        max-height: calc(100vh - 120px);
        position: relative;
    }

    .divider[b-e4onxld9xf] {
        display: block;
        width: 100%;
        height: 10px;
        cursor: row-resize;
        touch-action: none;
    }

    .page.nav-open main[b-e4onxld9xf] {
        display: none;
    }

    .page.sidebar-collapsed .sidebar[b-e4onxld9xf] {
        width: 0;
        min-width: 0;
        max-width: 0;
        height: 0;
        min-height: 0;
        max-height: 0;
        overflow: hidden;
    }

    .page > main .top-row[b-e4onxld9xf] {
        display: none;
        justify-content: space-between;
    }

    .top-row[b-e4onxld9xf]  a,
    .top-row[b-e4onxld9xf]  .btn-link {
        margin-left: 0;
    }

    .top-row-title[b-e4onxld9xf] {
        display: none;
    }
}

@media (max-width: 480.98px) {
    .sidebar-toggle[b-e4onxld9xf] {
        display: none;
    }
}

/* DESKTOP */
@media (min-width: 641px) {
    .page[b-e4onxld9xf] {
        flex-direction: row;
    }
}

/* WIDER SIDEBAR WHEN RIGHT PANEL IS HIDDEN */
@media (min-width: 1025px) {
    /* When screen is wide enough for both panels */
    .sidebar[b-e4onxld9xf] {
        width: 250px; /* Default width */
    }
}

@media (min-width: 641px) and (max-width: 992px) {
    /* Right panel stacks/hides - use widget-sized sidebar */
    .sidebar[b-e4onxld9xf] {
        width: 200px;
    }
}

/* ERROR UI */
#blazor-error-ui[b-e4onxld9xf] {
    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-e4onxld9xf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ================================
   Navbar / Layout
   ================================ */

.nav-menu[b-2q74ux9xmp] {
    height: 100%;
    overflow-y: auto;
    background: #243244;
}

.navbar-toggler[b-2q74ux9xmp] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28230,242,255,0.88%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(58, 85, 115, 0.58);
}

    .navbar-toggler:checked[b-2q74ux9xmp] {
        background-color: rgba(102, 178, 255, 0.42);
    }

.top-row[b-2q74ux9xmp] {
    min-height: 3.5rem;
    background-color: #2c3c50;
}

.navbar-brand[b-2q74ux9xmp] {
    font-size: 1.1rem;
}



/* ================================
   Navigation Column (CRITICAL)
   ================================ */

.settings-left-column[b-2q74ux9xmp] {
    display: flex; /* 🔥 REQUIRED */
    flex-direction: column; /* 🔥 REQUIRED */
    align-items: stretch;
    height: auto;
    min-height: 0;
}

/* ================================
   Navigation Items
   ================================ */

.nav-item[b-2q74ux9xmp] {
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
}

    .nav-item:first-of-type[b-2q74ux9xmp] {
        padding-top: 1rem;
    }

    .nav-item[b-2q74ux9xmp]  .nav-link {
        color: rgba(236, 243, 251, 0.92);
        width: 100%;
        height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .nav-item[b-2q74ux9xmp]  .bi {
        width: 1.4rem;
        height: 1.4rem;
        margin: 0;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .nav-item[b-2q74ux9xmp]  a.active {
        background-color: rgba(102, 178, 255, 0.14);
        outline: 1px solid rgba(102, 178, 255, 0.2);
        color: #f5faff;
    }

/* ================================
   Scroll Behavior (THIS WAS THE BUG)
   ================================ */

.nav-scrollable[b-2q74ux9xmp] {
    display: none;
    flex: 0 0 auto;
    height: auto;
    margin: 0.25rem 0.75rem 0.5rem;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    max-height: 42vh;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    touch-action: pan-y;
}

.nav-scrollable nav[b-2q74ux9xmp],
.nav-item[b-2q74ux9xmp],
.nav-item[b-2q74ux9xmp]  .nav-link,
.nav-item[b-2q74ux9xmp]  button.nav-link {
    touch-action: pan-y;
}

.navbar-toggler:checked ~ .nav-scrollable[b-2q74ux9xmp] {
    display: block;
}

/* ================================
   Ring Layout
   ================================ */

.nav-rings.vertical[b-2q74ux9xmp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* 🔥 Divider sits immediately under Settings */
    padding: 0.15rem 0.4rem 0.6rem 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ================================
   Responsive Ring Layout
   ================================ */

@media (min-width: 641px) and (max-width: 799px) {
    /* Compact mode - smaller minimum width */
    .nav-rings.vertical[b-2q74ux9xmp] {
        flex: 1;
        justify-content: space-around;
        padding: 0.3rem 0.15rem;
        gap: 0.5rem;
    }
    
    .nav-rings .ring-container[b-2q74ux9xmp] {
        max-width: 80px;
    }

    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 80px;
    }
    
    .nav-rings .ring-text[b-2q74ux9xmp] {
        font-size: 3.4px;
    }
}

@media (min-width: 800px) and (max-width: 899px) {
    /* Small range - a bit more space */
    .nav-rings.vertical[b-2q74ux9xmp] {
        flex: 1;
        justify-content: space-around;
        padding: 0.75rem 0.4rem;
        max-width: none;
    }
    
    .nav-rings .ring-container[b-2q74ux9xmp] {
        max-width: 100px;
    }

    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 100px;
    }
    
    .nav-rings .ring-text[b-2q74ux9xmp] {
        font-size: 4.8px;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    /* Medium range - larger rings */
    .nav-rings.vertical[b-2q74ux9xmp] {
        padding: 1.05rem 0.4rem;
        gap: 1rem;
    }
    
    .nav-rings .ring-container[b-2q74ux9xmp] {
        max-width: 120px;
    }

    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 120px;
    }
    
    .nav-rings .ring-text[b-2q74ux9xmp] {
        font-size: 5.4px;
    }
    
    /* Adjust ring labels for better readability */
    .nav-rings .ring-label[b-2q74ux9xmp] {
        font-size: 1rem;
    }
}

/* WIDER SCREEN OPTIMIZATION */
@media (min-width: 1025px) {
    /* Optimize for very wide screens when both panels visible */
    .nav-rings.vertical[b-2q74ux9xmp] {
        padding: 0.25rem 0.75rem 1rem 0.75rem;
        gap: 1rem;
    }
    
    .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 100px;
    }
}

/* ================================
   Ring Containers
   ================================ */

.ring-container[b-2q74ux9xmp] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .ring-container.full-width[b-2q74ux9xmp] {
        max-width: 146px;
    }

    .ring-container.big[b-2q74ux9xmp] {
        max-width: 173px;
    }

.ring[b-2q74ux9xmp] {
    width: 100%;
    aspect-ratio: 1 / 1;
}

/* ================================
   Ring Segments
   ================================ */

.ring-bg[b-2q74ux9xmp] {
    fill: none;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 3;
}

.ring-progress[b-2q74ux9xmp] {
    fill: none;
    stroke-width: 3;
    stroke-linecap: butt;
    transform: rotate(-90deg);
    transform-origin: center;
}

    .ring-progress.green[b-2q74ux9xmp] {
        stroke: #2ecc71;
    }

    .ring-progress.red[b-2q74ux9xmp] {
        stroke: #e63946;
    }

/* ================================
   Ring Text
   ================================ */

.ring-text[b-2q74ux9xmp] {
    font-size: 5.4px;
    font-weight: 600;
}

    .ring-text.buy[b-2q74ux9xmp] {
        fill: #2ecc71;
    }

    .ring-text.sell[b-2q74ux9xmp] {
        fill: #e63946;
    }

    .ring-text.status[b-2q74ux9xmp] {
        fill: #d9e8f7;
    }

/* ================================
   Ring Labels
   ================================ */

.ring-label[b-2q74ux9xmp] {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(236, 243, 251, 0.72);
}

/* ================================
   Mobile
   ================================ */

@media (max-width: 640px) {
    .top-row[b-2q74ux9xmp] {
        position: relative;
        padding-right: 5rem;
    }

    .nav-scrollable[b-2q74ux9xmp] {
        max-height: min(52vh, calc(100dvh - 5rem));
        padding-bottom: 0.5rem;
    }

    .nav-rings.vertical[b-2q74ux9xmp] {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.4rem 0.5rem 0.6rem 0.5rem;
    }

    .nav-rings .ring-container[b-2q74ux9xmp],
    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: clamp(82px, 27vw, 96px);
    }

    .navbar-toggler[b-2q74ux9xmp] {
        display: block;
        z-index: 2;
    }

}

@media (max-width: 430px) {
    .top-row[b-2q74ux9xmp] {
        min-height: 3.25rem;
        padding-right: 4.2rem;
    }

    .nav-scrollable[b-2q74ux9xmp] {
        max-height: min(56vh, calc(100dvh - 4.4rem));
    }

    .navbar-toggler[b-2q74ux9xmp] {
        width: 3.1rem;
        height: 2.25rem;
        right: 0.65rem;
        top: 0.45rem;
        background-size: 1.5rem;
    }

    .nav-rings.vertical[b-2q74ux9xmp] {
        gap: 0.35rem;
        padding: 0.4rem 0.3rem 0.55rem;
    }

    .nav-rings .ring-container[b-2q74ux9xmp],
    .nav-rings .ring-container.full-width[b-2q74ux9xmp] {
        max-width: clamp(84px, 29vw, 98px);
    }
}

/* ================================
   Execute State Visibility
   ================================ */

.execute .ring-text[b-2q74ux9xmp] {
    opacity: 0.25;
}

.execute.standby .ring-text.status[b-2q74ux9xmp] {
    opacity: 1;
}

.execute.buy .ring-text.buy[b-2q74ux9xmp] {
    opacity: 1;
}

.execute.sell .ring-text.sell[b-2q74ux9xmp] {
    opacity: 1;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qgq6f2dzz2],
.components-reconnect-repeated-attempt-visible[b-qgq6f2dzz2],
.components-reconnect-failed-visible[b-qgq6f2dzz2],
.components-pause-visible[b-qgq6f2dzz2],
.components-resume-failed-visible[b-qgq6f2dzz2],
.components-rejoining-animation[b-qgq6f2dzz2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-retrying[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-failed[b-qgq6f2dzz2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qgq6f2dzz2] {
    display: block;
}


#components-reconnect-modal[b-qgq6f2dzz2] {
    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-qgq6f2dzz2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qgq6f2dzz2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qgq6f2dzz2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qgq6f2dzz2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qgq6f2dzz2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qgq6f2dzz2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qgq6f2dzz2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qgq6f2dzz2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qgq6f2dzz2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qgq6f2dzz2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qgq6f2dzz2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qgq6f2dzz2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qgq6f2dzz2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qgq6f2dzz2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qgq6f2dzz2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qgq6f2dzz2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qgq6f2dzz2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qgq6f2dzz2 {
    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/Admin/Maintenance.razor.rz.scp.css */
.maintenance-page[b-gpe6p8snxe] {
    min-width: 0;
}

.maintenance-header[b-gpe6p8snxe] {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.maintenance-header-actions[b-gpe6p8snxe] {
    flex-wrap: wrap;
}

.maintenance-tools > div[b-gpe6p8snxe] {
    min-width: fit-content;
}

.maintenance-picker[b-gpe6p8snxe] {
    width: max-content;
    min-width: 150px;
}

.maintenance-table[b-gpe6p8snxe] {
    table-layout: auto;
    min-width: 760px;
}

.maintenance-log-block[b-gpe6p8snxe] {
    min-width: 0;
}

.maintenance-log-meta[b-gpe6p8snxe] {
    min-width: max-content;
}

.maintenance-log-meta code[b-gpe6p8snxe] {
    display: inline-block;
    color: var(--twc-text, #ecf3fb);
    background: color-mix(in srgb, var(--twc-surface-alt) 82%, black);
    border: 1px solid var(--twc-border-soft, rgba(255, 255, 255, 0.12));
    border-radius: 6px;
    padding: 0.2rem 0.45rem;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.maintenance-scroll[b-gpe6p8snxe] {
    overflow: auto;
    scrollbar-gutter: stable both-edges;
}

.maintenance-scroll--table[b-gpe6p8snxe],
.maintenance-scroll--log[b-gpe6p8snxe],
.maintenance-scroll--disk[b-gpe6p8snxe] {
    overflow: scroll;
}

.maintenance-scroll--table[b-gpe6p8snxe] {
    max-height: 52vh;
}

.maintenance-scroll--log[b-gpe6p8snxe] {
    max-height: 34vh;
    border: 1px solid rgba(89, 110, 134, 0.32);
    border-radius: 8px;
    background: color-mix(in srgb, var(--twc-surface-alt) 76%, white);
}

.maintenance-scroll--disk[b-gpe6p8snxe] {
    max-height: 24vh;
    border: 1px solid rgba(89, 110, 134, 0.28);
    border-radius: 8px;
    background: color-mix(in srgb, var(--twc-surface-alt) 70%, white);
}

.maintenance-pre[b-gpe6p8snxe] {
    margin: 0;
    padding: 0.75rem;
    min-width: max-content;
    line-height: 1.35;
    white-space: pre;
}

.maintenance-log-block .maintenance-scroll--log[b-gpe6p8snxe] {
    width: 100%;
}

@media (max-width: 768px) {
    .maintenance-header-actions[b-gpe6p8snxe] {
        width: 100%;
    }

    .maintenance-header-actions :is(.btn, .k-button)[b-gpe6p8snxe] {
        flex: 1 1 100%;
        width: 100%;
    }

    .maintenance-tools[b-gpe6p8snxe] {
        align-items: stretch !important;
    }

    .maintenance-tools > div[b-gpe6p8snxe] {
        min-width: 0;
        width: 100%;
    }

    .maintenance-picker[b-gpe6p8snxe] {
        width: 100%;
        min-width: 0;
    }

    .maintenance-log-meta[b-gpe6p8snxe] {
        min-width: 0;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }

    .maintenance-log-meta :is(.btn, .k-button)[b-gpe6p8snxe] {
        width: 100%;
    }

    .maintenance-log-meta code[b-gpe6p8snxe] {
        width: 100%;
        display: block;
        margin-right: 0 !important;
    }

    .maintenance-log-meta .badge[b-gpe6p8snxe] {
        width: 100%;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .maintenance-scroll--table[b-gpe6p8snxe] {
        max-height: 45vh;
    }

    .maintenance-scroll--log[b-gpe6p8snxe] {
        max-height: 46vh;
    }

    .maintenance-pre[b-gpe6p8snxe] {
        min-width: 0;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 11px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.progress-status[b-nb2rzi748j] {
    font-size: 0.95rem;
    color: #6b7280; /* slate-500 */
}
.progress-working[b-nb2rzi748j] {
    color: #6b7280;
}

.progress-working time[b-nb2rzi748j],
.progress-working span[b-nb2rzi748j] {
    opacity: 0.75;
}

/* BUY */
.form-check-input.buy-check:checked[b-nb2rzi748j] {
    background-color: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 0 0 0.15rem rgba(22,163,74,.25);
}

/* SELL */
.form-check-input.sell-check:checked[b-nb2rzi748j] {
    background-color: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 0 0 0.15rem rgba(220,38,38,.25);
}

.signal-cell[b-nb2rzi748j] {
    cursor: pointer;
}
/* ---------- Progress Container ---------- */
.top-controls-row[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.live-status-pill[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.live-status-pill--connected[b-nb2rzi748j] {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}

.live-status-pill--connecting[b-nb2rzi748j],
.live-status-pill--reconnecting[b-nb2rzi748j] {
    color: #92400e;
    background: #fef3c7;
    border-color: #fcd34d;
}

.live-status-pill--polling[b-nb2rzi748j] {
    color: #334155;
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.live-status-pill--disconnected[b-nb2rzi748j] {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fca5a5;
}

.botlab-relay-status[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.botlab-online-pill[b-nb2rzi748j] {
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.botlab-online-pill.live-status-pill--connected[b-nb2rzi748j] {
    color: #14532d;
}

.botlab-online-pill.live-status-pill--polling[b-nb2rzi748j] {
    color: #1f2937;
}

.botlab-online-pill.live-status-pill--disconnected[b-nb2rzi748j] {
    color: #7f1d1d;
}

.botlab-checklist-shell[b-nb2rzi748j] {
    --checklist-border: rgba(148, 163, 184, 0.28);
    --checklist-surface: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.94) 52%, rgba(51, 65, 85, 0.92) 100%);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--checklist-border);
    background: var(--checklist-surface);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.botlab-checklist-hero[b-nb2rzi748j] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.botlab-checklist-eyebrow[b-nb2rzi748j] {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 8px;
}

.botlab-checklist-title[b-nb2rzi748j] {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    color: #f8fafc;
}

.botlab-checklist-subtitle[b-nb2rzi748j] {
    margin-top: 8px;
    font-size: 0.86rem;
    color: #cbd5e1;
}

.botlab-checklist-hero-right[b-nb2rzi748j] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.botlab-checklist-badge[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.botlab-checklist-badge--eligible[b-nb2rzi748j] {
    color: #dcfce7;
    background: rgba(22, 163, 74, 0.18);
    border-color: rgba(74, 222, 128, 0.38);
}

.botlab-checklist-badge--blocked[b-nb2rzi748j] {
    color: #fee2e2;
    background: rgba(220, 38, 38, 0.18);
    border-color: rgba(248, 113, 113, 0.38);
}

.botlab-checklist-badge--caution[b-nb2rzi748j] {
    color: #fef3c7;
    background: rgba(217, 119, 6, 0.18);
    border-color: rgba(251, 191, 36, 0.36);
}

.botlab-checklist-counts[b-nb2rzi748j] {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.76rem;
    color: #cbd5e1;
}

.botlab-checklist-counts span[b-nb2rzi748j] {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.botlab-checklist-summary[b-nb2rzi748j] {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.86rem;
    color: #dbeafe;
}

.botlab-checklist-distance[b-nb2rzi748j] {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.botlab-checklist-distance-text[b-nb2rzi748j] {
    line-height: 1.3;
}

.botlab-checklist-distance-meter[b-nb2rzi748j] {
    margin-top: 10px;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.botlab-checklist-distance-meter-fill[b-nb2rzi748j] {
    height: 100%;
    border-radius: 999px;
    transition: width 180ms ease;
}

.botlab-checklist-distance-caption[b-nb2rzi748j] {
    margin-top: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.92;
}

.botlab-checklist-distance-bands[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.botlab-checklist-distance-band[b-nb2rzi748j] {
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}

.botlab-checklist-distance-band--ideal[b-nb2rzi748j] {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(74, 222, 128, 0.32);
    color: #dcfce7;
}

.botlab-checklist-distance-band--acceptable[b-nb2rzi748j] {
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(125, 211, 252, 0.32);
    color: #dbeafe;
}

.botlab-checklist-distance-band--toofar[b-nb2rzi748j] {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(248, 113, 113, 0.32);
    color: #fee2e2;
}

.botlab-checklist-distance--pass[b-nb2rzi748j] {
    background: rgba(22, 163, 74, 0.16);
    border-color: rgba(74, 222, 128, 0.32);
    color: #dcfce7;
}

.botlab-checklist-distance-meter-fill.botlab-checklist-distance--pass[b-nb2rzi748j] {
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
}

.botlab-checklist-distance--fail[b-nb2rzi748j] {
    background: rgba(220, 38, 38, 0.16);
    border-color: rgba(248, 113, 113, 0.32);
    color: #fee2e2;
}

.botlab-checklist-distance-meter-fill.botlab-checklist-distance--fail[b-nb2rzi748j] {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.botlab-checklist-distance--wait[b-nb2rzi748j] {
    background: rgba(217, 119, 6, 0.16);
    border-color: rgba(251, 191, 36, 0.32);
    color: #fef3c7;
}

.botlab-checklist-distance-meter-fill.botlab-checklist-distance--wait[b-nb2rzi748j] {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.botlab-checklist-grid[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.botlab-checklist-item[b-nb2rzi748j] {
    position: relative;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(30, 41, 59, 0.28) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.botlab-checklist-item--pass[b-nb2rzi748j] {
    border-color: rgba(74, 222, 128, 0.24);
}

.botlab-checklist-item--fail[b-nb2rzi748j] {
    border-color: rgba(248, 113, 113, 0.24);
}

.botlab-checklist-item--wait[b-nb2rzi748j] {
    border-color: rgba(251, 191, 36, 0.22);
}

.botlab-checklist-item-top[b-nb2rzi748j] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.botlab-checklist-item-title-wrap[b-nb2rzi748j] {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.botlab-checklist-item-dot[b-nb2rzi748j] {
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.08);
}

.botlab-checklist-item--pass .botlab-checklist-item-dot[b-nb2rzi748j] {
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1);
}

.botlab-checklist-item--fail .botlab-checklist-item-dot[b-nb2rzi748j] {
    background: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.1);
}

.botlab-checklist-item--wait .botlab-checklist-item-dot[b-nb2rzi748j] {
    background: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

.botlab-checklist-item-title[b-nb2rzi748j] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f8fafc;
}

.botlab-checklist-item-state[b-nb2rzi748j] {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(148, 163, 184, 0.16);
    color: #e2e8f0;
}

.botlab-checklist-item--pass .botlab-checklist-item-state[b-nb2rzi748j] {
    background: rgba(22, 163, 74, 0.16);
    color: #dcfce7;
}

.botlab-checklist-item--fail .botlab-checklist-item-state[b-nb2rzi748j] {
    background: rgba(220, 38, 38, 0.16);
    color: #fee2e2;
}

.botlab-checklist-item--wait .botlab-checklist-item-state[b-nb2rzi748j] {
    background: rgba(217, 119, 6, 0.16);
    color: #fef3c7;
}

.botlab-checklist-item-detail[b-nb2rzi748j] {
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #cbd5e1;
}

.botlab-relay-gear[b-nb2rzi748j] {
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    height: 22px;
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.botlab-relay-gear:hover[b-nb2rzi748j] {
    background: #dbeafe;
    border-color: rgba(30, 64, 175, 0.6);
    color: #1e3a8a;
    transform: translateY(-1px);
}

.sequence-group-subcontainer[b-nb2rzi748j] {
    margin: 0 0 8px;
    padding: 0;
    border-radius: 10px;
    font-family: inherit;
}

.sequence-group-subcontainer--supply-demand[b-nb2rzi748j] {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--twc-surface-alt);
    color: var(--twc-on-surface);
    overflow: hidden;
}

.sequence-group-subcontainer--empty[b-nb2rzi748j] {
    border-color: rgba(255, 255, 255, 0.12);
}

.sequence-group-subcontainer-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 0;
    font-size: 10px;
    color: var(--twc-subtle);
}

.sequence-group-subcontainer-title[b-nb2rzi748j] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--twc-on-surface);
}

.sequence-group-subcontainer-updated[b-nb2rzi748j] {
    margin-left: auto;
    font-size: 0.76rem;
    color: var(--twc-subtle);
    white-space: nowrap;
}

.sequence-group-supply-demand[b-nb2rzi748j] {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 10px 12px 12px;
    background: transparent;
    color: var(--twc-on-surface);
    font-family: inherit;
}

.sequence-group-supply-demand--empty[b-nb2rzi748j] {
    border-top-style: dashed;
    border-top-color: rgba(255, 255, 255, 0.1);
}

.sequence-group-supply-demand-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.sequence-group-supply-demand-title[b-nb2rzi748j] {
    font-weight: 600;
    color: var(--twc-on-surface);
    white-space: nowrap;
}

.sequence-group-supply-demand-updated[b-nb2rzi748j] {
    font-size: 0.76rem;
    color: var(--twc-subtle);
}

.sequence-group-supply-demand-grid[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    font-size: 0.8rem;
    color: var(--twc-on-surface);
}

.sequence-group-supply-demand-empty-text[b-nb2rzi748j] {
    font-size: 0.8rem;
    color: var(--twc-subtle);
    line-height: 1.45;
}

.filters-inline[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ticker-visibility-filter[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.ticker-visibility-dropdown[b-nb2rzi748j] {
    position: relative;
}

.ticker-visibility-summary[b-nb2rzi748j] {
    min-width: 132px;
    padding: 6px 34px 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background: #fff;
    color: #212529;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.ticker-visibility-summary[b-nb2rzi748j]::-webkit-details-marker {
    display: none;
}

.ticker-visibility-summary[b-nb2rzi748j]::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #495057;
    transform: translateY(-35%);
}

.ticker-visibility-menu[b-nb2rzi748j] {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    min-width: 190px;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.ticker-visibility-option[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 8px;
    border-radius: 0.375rem;
    color: #212529;
    cursor: pointer;
    white-space: nowrap;
}

.ticker-visibility-option:hover[b-nb2rzi748j] {
    background: #f1f5f9;
}

.ticker-visibility-option input[b-nb2rzi748j] {
    flex: 0 0 auto;
}

.ticker-visibility-option--all[b-nb2rzi748j] {
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0.375rem 0.375rem 0 0;
    font-weight: 700;
}

.progress-inline[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 420px;
    min-width: 280px;
}

.progress-inline-bar[b-nb2rzi748j] {
    flex: 1 1 240px;
    min-width: 140px;
}

/* ---------- Progress Bar ---------- */
.modern-progress[b-nb2rzi748j] {
    height: 12px;
    width: 100%;
    background: rgba(0,0,0,0.08);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.15);
}

.modern-progress-bar[b-nb2rzi748j] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient( 90deg, #22c55e 0%, #16a34a 50%, #15803d 100% );
    transition: width 0.35s ease-in-out;
}

/* ---------- Meta Row ---------- */

.progress-meta[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.9rem;
    color: #6b7280; /* slate-500 */
    gap: 8px;
}

.progress-meta > .progress-status-inline[b-nb2rzi748j] {
    margin-right: auto;
}

.progress-meta .percent[b-nb2rzi748j] {
    opacity: 0.7;
    margin-left: 2px;
}

.progress-meta-right[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.progress-status-inline[b-nb2rzi748j] {
    font-size: 0.85rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.progress-count[b-nb2rzi748j] {
    white-space: nowrap;
}

/* ---------- Reset Button ---------- */
.reset-btn[b-nb2rzi748j] {
    border: none;
    background: transparent;
    font-size: 1rem; /* icon size */
    color: #9ca3af;
    cursor: pointer;
    min-width: 28px; /* 👈 makes it wider */
    padding: 4px 8px; /* balanced click area */

    border-radius: 8px;
    transition: all 0.15s ease;
    display: inline-flex; /* perfect centering */
    align-items: center;
    justify-content: center;
}


.reset-btn:hover:not(:disabled)[b-nb2rzi748j] {
    color: #ef4444; /* red-500 */
    background: rgba(239,68,68,0.08);
}

.reset-btn:disabled[b-nb2rzi748j] {
    opacity: 0.35;
    cursor: default;
}

/* ================= GROUP SLIDER STYLES ================= */
.group-slider-container[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.group-slider[b-nb2rzi748j] {
    position: relative;
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.slider-fill[b-nb2rzi748j] {
    position: absolute;
    height: 100%;
    transition: width 0.3s ease;
}

.buy-fill[b-nb2rzi748j] {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    left: 0;
    border-radius: 4px 0 0 4px;
}

.sell-fill[b-nb2rzi748j] {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    right: 0;
    border-radius: 0 4px 4px 0;
}

.slider-labels[b-nb2rzi748j] {
    display: flex;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 30px;
}

.buy-label[b-nb2rzi748j] {
    color: #16a34a;
}

.neutral-label[b-nb2rzi748j] {
    color: #64748b;
}

.sell-label[b-nb2rzi748j] {
    color: #dc2626;
}

/* Slider state classes for overall group sentiment */
.group-slider.buy[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.group-slider.sell[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.group-slider.strong-buy[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4);
}

.group-slider.strong-sell[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.4);
}

.group-slider.neutral[b-nb2rzi748j] {
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.2);
}

/* ================= MAIN THREE-COLUMN LAYOUT ================= */
.home-layout[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    align-items: start;
    margin-top: 16px;
}

.home-layout--all-tickers[b-nb2rzi748j] {
    min-width: 0;
}

.alerts-table[b-nb2rzi748j] {
    min-width: 0;
}

.alerts-table .table-responsive[b-nb2rzi748j] {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.table-selection-count[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 2px 10px;
    border: 1px solid rgba(14, 116, 144, 0.35);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: #0e7490;
    font-size: 11px;
    font-weight: 700;
}

@media (min-width: 1025px) {
    .indicators-title[b-nb2rzi748j] {
        font-size: 1.5rem;
    }

    .botlab-checklist-title[b-nb2rzi748j] {
        font-size: 1.24rem;
    }
}

.webhook-tip-title[b-nb2rzi748j] {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .botlab-checklist-shell[b-nb2rzi748j] {
        padding: 14px;
        border-radius: 16px;
    }

    .botlab-checklist-hero-right[b-nb2rzi748j] {
        align-items: flex-start;
    }

    .botlab-checklist-grid[b-nb2rzi748j] {
        grid-template-columns: 1fr;
    }

    .botlab-checklist-item-top[b-nb2rzi748j] {
        flex-direction: column;
    }
}

.alerts-table .table[b-nb2rzi748j] {
    font-size: 10px;
}

.alerts-table .table th[b-nb2rzi748j],
.alerts-table .table td[b-nb2rzi748j] {
    font-size: 10px;
}

.alerts-table .table th.clickable[b-nb2rzi748j] {
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.alerts-table .table th.clickable:hover[b-nb2rzi748j] {
    background: rgba(29, 78, 216, 0.08);
    color: #1e40af;
}

.alerts-table .table tbody tr.ticker-row-header > td[b-nb2rzi748j] {
    padding: 0;
    border-color: rgba(30, 41, 59, 0.58);
    background: linear-gradient(90deg, #1e293b 0%, #334155 52%, #475569 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(15, 23, 42, 0.38);
}

.alerts-table .table tbody tr.ticker-row-header .ticker-toggle[b-nb2rzi748j] {
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.alerts-table .table tbody tr.ticker-row-header .ticker-toggle:hover[b-nb2rzi748j] {
    background: rgba(148, 163, 184, 0.12);
}

.alerts-table .table tbody tr.ticker-row-header .ticker-header-actions .badge[b-nb2rzi748j] {
    background: rgba(248, 250, 252, 0.12) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(226, 232, 240, 0.22);
}

.alerts-table .table tbody tr.ticker-row-header .ticker-header-gear[b-nb2rzi748j] {
    color: #e2e8f0;
}

.sequence-toggle-btn[b-nb2rzi748j] {
    border: 1px solid rgba(30, 58, 138, 0.4);
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    line-height: 1.3;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.sequence-toggle-btn:hover[b-nb2rzi748j] {
    background: #dbeafe;
    border-color: rgba(30, 58, 138, 0.65);
    color: #1e40af;
}

.sequence-toggle-btn--active[b-nb2rzi748j] {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.sequence-toggle-btn--active:hover[b-nb2rzi748j] {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff;
}

/* ================= INDICATOR CARDS PANEL ================= */
.indicator-panel[b-nb2rzi748j] {
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.indicator-panel-header[b-nb2rzi748j] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.indicator-panel-body[b-nb2rzi748j] {
    display: block;
}

.indicator-panel-title[b-nb2rzi748j] {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.indicator-panel-subtitle[b-nb2rzi748j] {
    font-size: 0.9rem;
    color: #6b7280;
}

.indicator-groups[b-nb2rzi748j] {
    display: grid;
    gap: 12px;
}

.indicator-group[b-nb2rzi748j] {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 12px;
    background: #ffffff;
}

.indicator-group-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
    background: #1d4ed8;
    padding: 8px 10px;
    border-radius: 8px;
}

.indicator-group-title[b-nb2rzi748j] {
    font-weight: 700;
    color: #ffffff;
}

.indicator-group-count[b-nb2rzi748j] {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.indicator-cards[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.indicator-subgroup[b-nb2rzi748j] {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
    padding: 10px 12px 12px;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.indicator-subgroup-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.indicator-subgroup-toggle[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 6px 2px 4px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.indicator-subgroup-toggle:hover[b-nb2rzi748j] {
    border-color: rgba(17, 24, 39, 0.16);
    background: rgba(17, 24, 39, 0.04);
}

.indicator-subgroup-chevron[b-nb2rzi748j] {
    display: inline-flex;
    font-size: 0.85rem;
    transition: transform 0.15s ease;
    color: #6b7280;
}

.indicator-subgroup-title[b-nb2rzi748j] {
    font-weight: 700;
    color: #1f2937;
}

.indicator-subgroup-count[b-nb2rzi748j] {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 600;
}

.indicator-subgroup-cards[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.indicator-subgroup.is-collapsed .indicator-subgroup-chevron[b-nb2rzi748j] {
    transform: rotate(-90deg);
}

.indicator-subgroup.is-collapsed .indicator-subgroup-cards[b-nb2rzi748j] {
    display: none;
}

.indicator-card[b-nb2rzi748j] {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    background: #f9fafb;
    cursor: grab;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.indicator-card--buy[b-nb2rzi748j] {
    background: #ecfdf3;
    border-color: rgba(22, 163, 74, 0.35);
}

.indicator-card--sell[b-nb2rzi748j] {
    background: #fef2f2;
    border-color: rgba(220, 38, 38, 0.35);
}

.indicator-card--neutral[b-nb2rzi748j] {
    background: #f3f4f6;
    border-color: rgba(107, 114, 128, 0.35);
}

/* ================= SEQUENCE LANE ================= */
.sequence-lane[b-nb2rzi748j] {
    border: 1px dashed rgba(17, 24, 39, 0.2);
    border-radius: 12px;
    padding: 12px;
    min-height: 220px;
    background: linear-gradient(180deg, rgba(243, 244, 246, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
    font-size: 10px;
}

.sequence-lane--all-tickers[b-nb2rzi748j] {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-gutter: stable both-edges;
    -webkit-overflow-scrolling: touch;
}

.sequence-lane--all-tickers .sequence-groups[b-nb2rzi748j] {
    display: inline-flex;
    min-width: max-content;
    width: max-content;
    max-width: none;
    overflow: visible;
    padding-right: 4px;
}

.sequence-groups[b-nb2rzi748j] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-bottom: 6px;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.sequence-group-shell[b-nb2rzi748j] {
    flex: 0 0 332px;
    min-width: 332px;
}

.sequence-group[b-nb2rzi748j] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px 12px 12px;
    background: var(--twc-surface-alt);
    color: var(--twc-on-surface);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    position: relative;
    overflow: hidden;
    --sequence-flash-rgb: 16, 185, 129;
}

.sequence-group-content-row[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 10px;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .sequence-groups[b-nb2rzi748j] {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .sequence-lane--all-tickers[b-nb2rzi748j] {
        overflow-x: visible;
        overflow-y: visible;
    }

    .sequence-lane--all-tickers .sequence-groups[b-nb2rzi748j] {
        display: flex;
        flex-wrap: wrap;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .sequence-group-shell[b-nb2rzi748j] {
        flex: 1 1 332px;
        min-width: 300px;
    }

    .sequence-group[b-nb2rzi748j] {
        width: auto;
        min-width: 0;
    }
}

.sequence-group:hover[b-nb2rzi748j] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.sequence-group--selected[b-nb2rzi748j] {
    border-color: rgba(96, 165, 250, 0.9);
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.28) 0%, rgba(30, 64, 175, 0.36) 100%),
        linear-gradient(135deg, #0f172a 0%, #132347 52%, #1d4ed8 100%);
    color: #eff6ff;
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sequence-group--selected .sequence-group-header[b-nb2rzi748j],
.sequence-group--selected .sequence-group-ticker[b-nb2rzi748j],
.sequence-group--selected .sequence-group-title[b-nb2rzi748j],
.sequence-group--selected .sequence-group-count[b-nb2rzi748j],
.sequence-group--selected .sequence-group-note[b-nb2rzi748j],
.sequence-group--selected .sequence-group-subcontainer-title[b-nb2rzi748j],
.sequence-group--selected .sequence-group-supply-demand-title[b-nb2rzi748j],
.sequence-group--selected .sequence-group-supply-demand-grid[b-nb2rzi748j],
.sequence-group--selected .sequence-group-supply-demand-empty-text[b-nb2rzi748j] {
    color: #eff6ff;
}

.sequence-group--selected .sequence-group-meta[b-nb2rzi748j],
.sequence-group--selected .sequence-group-subcontainer-updated[b-nb2rzi748j],
.sequence-group--selected .sequence-group-supply-demand-updated[b-nb2rzi748j],
.sequence-group--selected .sequence-meter-label[b-nb2rzi748j] {
    color: rgba(219, 234, 254, 0.82);
}

.sequence-group--selected .sequence-meter-bar[b-nb2rzi748j] {
    background: rgba(148, 163, 184, 0.3);
}

.sequence-group--selected .sequence-group-count[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(239, 246, 255, 0.12);
    border: 1px solid rgba(191, 219, 254, 0.28);
}

.sequence-group--selected .sequence-group-subcontainer--supply-demand[b-nb2rzi748j] {
    border-color: rgba(191, 219, 254, 0.22);
    background: rgba(15, 23, 42, 0.22);
}

.sequence-group--autofocus[b-nb2rzi748j] {
    animation: sequence-group-autofocus-b-nb2rzi748j 1.05s cubic-bezier(0.2, 0.9, 0.3, 1) 1;
}

@keyframes sequence-group-autofocus-b-nb2rzi748j {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.0);
        border-color: rgba(37, 99, 235, 0.4);
        transform: translateY(0);
    }
    28% {
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), 0 14px 28px rgba(37, 99, 235, 0.28);
        border-color: rgba(37, 99, 235, 0.95);
        transform: translateY(-1px);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.0);
        border-color: rgba(37, 99, 235, 0.7);
        transform: translateY(0);
    }
}

.sequence-group--complete[b-nb2rzi748j] {
    animation: sequence-group-flash-b-nb2rzi748j 1s cubic-bezier(0.2, 0.9, 0.3, 1) 1;
}

.sequence-group.sequence-flash--sell[b-nb2rzi748j] {
    --sequence-flash-rgb: 239, 68, 68;
}

.sequence-group.sequence-flash--neutral[b-nb2rzi748j] {
    --sequence-flash-rgb: 107, 114, 128;
}

@keyframes sequence-group-flash-b-nb2rzi748j {
    0% {
        border-color: rgba(var(--sequence-flash-rgb), 0.95);
        box-shadow: 0 0 0 rgba(var(--sequence-flash-rgb), 0.0);
        background: rgba(var(--sequence-flash-rgb), 0.22);
        transform: scale(1);
    }
    12% {
        border-color: rgba(var(--sequence-flash-rgb), 1);
        box-shadow: 0 0 0 2px rgba(var(--sequence-flash-rgb), 0.6), 0 16px 30px rgba(var(--sequence-flash-rgb), 0.55);
        background: rgba(var(--sequence-flash-rgb), 0.32);
        transform: scale(1.02);
    }
    22% {
        border-color: rgba(var(--sequence-flash-rgb), 0.3);
        box-shadow: 0 0 0 rgba(var(--sequence-flash-rgb), 0.0);
        background: rgba(var(--sequence-flash-rgb), 0.08);
        transform: scale(1);
    }
    34% {
        border-color: rgba(var(--sequence-flash-rgb), 1);
        box-shadow: 0 0 0 2px rgba(var(--sequence-flash-rgb), 0.55), 0 18px 34px rgba(var(--sequence-flash-rgb), 0.5);
        background: rgba(var(--sequence-flash-rgb), 0.3);
        transform: scale(1.018);
    }
    44% {
        border-color: rgba(var(--sequence-flash-rgb), 0.4);
        box-shadow: 0 0 0 rgba(var(--sequence-flash-rgb), 0.0);
        background: rgba(var(--sequence-flash-rgb), 0.08);
        transform: scale(1);
    }
    60% {
        border-color: rgba(var(--sequence-flash-rgb), 0.85);
        box-shadow: 0 0 0 1px rgba(var(--sequence-flash-rgb), 0.35), 0 12px 26px rgba(var(--sequence-flash-rgb), 0.45);
        background: rgba(var(--sequence-flash-rgb), 0.22);
        transform: scale(1.01);
    }
    100% {
        border-color: rgba(17, 24, 39, 0.08);
        box-shadow: none;
        background: rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
}

.sequence-group-header[b-nb2rzi748j] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    font-weight: 600;
    color: var(--twc-on-surface);
    margin-bottom: 8px;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
}


.sequence-group-meta[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: var(--twc-subtle);
}

.sequence-group-meta-primary[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sequence-group-actions[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sequence-group-action[b-nb2rzi748j] {
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
}

.sequence-group-action--danger[b-nb2rzi748j] {
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.32);
    background: rgba(254, 226, 226, 0.9);
}

.sequence-group-action--danger:hover[b-nb2rzi748j] {
    color: #7f1d1d;
    border-color: rgba(220, 38, 38, 0.42);
    background: rgba(254, 202, 202, 0.95);
}

.sequence-group-ticker[b-nb2rzi748j] {
    font-weight: 700;
    color: var(--twc-on-surface);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sequence-group-selected-check[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border: 1px solid rgba(191, 219, 254, 0.95);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.sequence-group-count[b-nb2rzi748j] {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
    .sequence-group-meta[b-nb2rzi748j] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sequence-group-meta-primary[b-nb2rzi748j] {
        width: 100%;
        justify-content: space-between;
    }

    .sequence-group-actions[b-nb2rzi748j] {
        width: 100%;
    }

    .sequence-group-gear[b-nb2rzi748j] {
        align-self: flex-end;
    }
}

.sequence-group-meters[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    flex: 1 1 auto;
}

.sequence-meter[b-nb2rzi748j] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 0;
}

.sequence-meter-label[b-nb2rzi748j] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--twc-subtle);
}

.sequence-meter-bar[b-nb2rzi748j] {
    height: 6px;
    width: 100%;
    display: flex;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.sequence-meter-bar.is-neutral[b-nb2rzi748j] {
    background: rgba(107, 114, 128, 0.2);
}

.sequence-meter-fill[b-nb2rzi748j] {
    height: 100%;
}

.sequence-meter-fill.buy[b-nb2rzi748j] {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.sequence-meter-fill.sell[b-nb2rzi748j] {
    background: linear-gradient(90deg, #f87171, #dc2626);
}

.sequence-group-gear[b-nb2rzi748j] {
    position: static;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    height: 24px;
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(30, 64, 175, 0.15);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    flex: 0 0 auto;
}

.sequence-group-gear:hover[b-nb2rzi748j] {
    background: #dbeafe;
    border-color: rgba(30, 64, 175, 0.6);
    color: #1e3a8a;
    transform: translateY(-1px);
}

.ticker-header-actions[b-nb2rzi748j] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-header-gear[b-nb2rzi748j] {
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    height: 24px;
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(30, 64, 175, 0.15);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ticker-header-gear:hover[b-nb2rzi748j] {
    background: #dbeafe;
    border-color: rgba(30, 64, 175, 0.6);
    color: #1e3a8a;
    transform: translateY(-1px);
}

.ticker-header-gear:focus-visible[b-nb2rzi748j] {
    outline: 2px solid rgba(59, 130, 246, 0.75);
    outline-offset: 2px;
}

.ticker-settings-backdrop[b-nb2rzi748j] {
    position: fixed;
    inset: 0;
    background: var(--twc-modal-backdrop, rgba(7, 12, 20, 0.62));
    z-index: 1200;
}

.ticker-settings-modal[b-nb2rzi748j] {
    position: fixed;
    inset: 8% 12% auto;
    max-height: 84vh;
    background: linear-gradient(180deg, var(--twc-modal-header-bg, #2e425a) 0%, var(--twc-modal-body-bg, #33475f) 100%);
    border: 1px solid var(--twc-border-soft, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    box-shadow: var(--twc-modal-shadow, 0 22px 56px rgba(2, 8, 23, 0.5));
    z-index: 1210;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ticker-settings-header[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--twc-border-soft, rgba(255, 255, 255, 0.12));
    background: transparent;
}

.ticker-settings-title[b-nb2rzi748j] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--twc-text, #ecf3fb);
}

.ticker-settings-subtitle[b-nb2rzi748j] {
    font-size: 0.9rem;
    color: var(--twc-subtle, #a6b7c8);
}

.ticker-settings-close[b-nb2rzi748j] {
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--twc-subtle, #a6b7c8);
    cursor: pointer;
    padding: 0 6px;
}

.ticker-settings-close:hover[b-nb2rzi748j] {
    color: var(--twc-text, #ecf3fb);
}

.ticker-settings-body[b-nb2rzi748j] {
    padding: 16px;
    overflow: auto;
}

.ticker-settings-empty[b-nb2rzi748j] {
    padding: 24px;
    border: 1px dashed var(--twc-border-soft, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    background: color-mix(in srgb, var(--twc-surface-alt, #2e425a) 70%, transparent);
    color: var(--twc-subtle, #a6b7c8);
    text-align: center;
}

.sequence-alert-sound-grid[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sequence-alert-sound-panel[b-nb2rzi748j] {
    border: 1px solid var(--twc-border-soft, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    padding: 16px;
    background: color-mix(in srgb, var(--twc-surface, #33475f) 88%, black);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sequence-alert-sound-panel--pulse[b-nb2rzi748j] {
    border-color: rgba(14, 116, 144, 0.7);
    box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.45), 0 12px 24px rgba(12, 74, 110, 0.18);
    animation: sequence-alert-panel-pulse-b-nb2rzi748j 1.1s ease;
}

@keyframes sequence-alert-panel-pulse-b-nb2rzi748j {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

.sequence-alert-sound-label[b-nb2rzi748j],
.sequence-alert-sound-status[b-nb2rzi748j] {
    font-size: 0.9rem;
    color: var(--twc-text, #ecf3fb);
}

.sequence-alert-sound-label[b-nb2rzi748j] {
    font-weight: 700;
}

.sound-upload-check[b-nb2rzi748j] {
    margin-left: 8px;
    color: #22c55e;
    vertical-align: middle;
}

.sound-upload-check :global(svg)[b-nb2rzi748j],
.sound-upload-check svg[b-nb2rzi748j] {
    width: 16px;
    height: 16px;
}

.sequence-alert-sound-status[b-nb2rzi748j] {
    margin-top: 6px;
}

.sequence-alert-sound-actions[b-nb2rzi748j] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.sequence-alert-sound-actions .btn[b-nb2rzi748j] {
    width: 100%;
}

[b-nb2rzi748j] .sound-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

[b-nb2rzi748j] .sound-card--muted {
    opacity: 0.62;
    filter: saturate(0.55);
    border-color: rgba(100, 116, 139, 0.35);
}

[b-nb2rzi748j] .sound-upload-status {
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--twc-subtle, #a6b7c8);
}

[b-nb2rzi748j] .sound-actions .btn {
    width: 100%;
}

@media (max-width: 900px) {
    .ticker-settings-modal[b-nb2rzi748j] {
        inset: 4% 4% auto;
    }
}

@media (max-width: 640px) {
    .ticker-settings-modal[b-nb2rzi748j] {
        inset: 0;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .ticker-settings-header[b-nb2rzi748j] {
        padding: 14px 16px;
    }

    .ticker-settings-body[b-nb2rzi748j] {
        padding: 16px;
    }

    .ticker-settings-title[b-nb2rzi748j] {
        font-size: 1rem;
    }

    .ticker-settings-subtitle[b-nb2rzi748j] {
        font-size: 0.85rem;
    }

    .sequence-alert-sound-grid[b-nb2rzi748j] {
        grid-template-columns: 1fr;
    }

    .sequence-alert-sound-actions[b-nb2rzi748j] {
        grid-template-columns: 1fr;
    }
}

.sequence-lane-header[b-nb2rzi748j] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.sequence-lane-title[b-nb2rzi748j] {
    font-size: 10px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.sequence-lane-subtitle[b-nb2rzi748j] {
    font-size: 10px;
    color: #6b7280;
}

.sequence-cards[b-nb2rzi748j] {
    display: grid;
    gap: var(--sequence-card-gap);
}

.sequence-interval-separator[b-nb2rzi748j] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0 0;
}

.sequence-interval-separator[b-nb2rzi748j]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px dashed rgba(100, 116, 139, 0.45);
}

.sequence-interval-separator-label[b-nb2rzi748j] {
    position: relative;
    z-index: 1;
    padding: 0 8px;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.sequence-card[b-nb2rzi748j] {
    cursor: grab;
    min-height: var(--sequence-card-height);
}

.sequence-lane-track .indicator-card[b-nb2rzi748j] {
    filter: brightness(0.9) saturate(0.86);
}

.sequence-lane-track .indicator-card--buy[b-nb2rzi748j] {
    background: linear-gradient(180deg, #26b050 0%, #1f8a3f 100%);
    border-color: rgba(38, 176, 80, 0.95);
    color: #f5fff8;
    filter: none;
}

.sequence-lane-track .indicator-card--sell[b-nb2rzi748j] {
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    border-color: rgba(239, 68, 68, 0.95);
    color: #fff6f6;
    filter: none;
}

.sequence-lane-track .indicator-card--buy .indicator-card-title[b-nb2rzi748j],
.sequence-lane-track .indicator-card--buy .indicator-card-signal[b-nb2rzi748j],
.sequence-lane-track .indicator-card--buy .indicator-card-ticker[b-nb2rzi748j],
.sequence-lane-track .indicator-card--buy .sequence-countdown[b-nb2rzi748j],
.sequence-lane-track .indicator-card--buy .indicator-card-meta[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell .indicator-card-title[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell .indicator-card-signal[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell .indicator-card-ticker[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell .sequence-countdown[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell .indicator-card-meta[b-nb2rzi748j] {
    color: inherit;
}

.sequence-lane-track .indicator-card--neutral[b-nb2rzi748j],
.sequence-lane-track .indicator-card--neutral .indicator-card-title[b-nb2rzi748j],
.sequence-lane-track .indicator-card--neutral .indicator-card-meta[b-nb2rzi748j],
.sequence-lane-track .indicator-card--neutral .indicator-card-signal[b-nb2rzi748j],
.sequence-lane-track .indicator-card--neutral .indicator-card-ticker[b-nb2rzi748j],
.sequence-lane-track .indicator-card--neutral .sequence-countdown[b-nb2rzi748j] {
    color: var(--twc-on-surface);
}

.sequence-lane-track .indicator-card--buy .indicator-card-action[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell .indicator-card-action[b-nb2rzi748j] {
    color: inherit;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
}

.sequence-lane-track .indicator-card--buy .indicator-card-action:hover[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell .indicator-card-action:hover[b-nb2rzi748j] {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.22);
}

.sequence-lane-track .indicator-card--neutral .indicator-card-action[b-nb2rzi748j] {
    color: var(--twc-on-surface);
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
}

.sequence-lane-track .indicator-card:hover[b-nb2rzi748j] {
    filter: brightness(0.95) saturate(0.92);
}

.sequence-lane-track .indicator-card--buy:hover[b-nb2rzi748j],
.sequence-lane-track .indicator-card--sell:hover[b-nb2rzi748j] {
    filter: none;
}

.sequence-card--selected[b-nb2rzi748j] {
    outline: 2px solid rgba(37, 99, 235, 0.9);
    outline-offset: 1px;
    box-shadow: 0 0 0 2px rgba(191, 219, 254, 0.8);
}

.sequence-marquee-box[b-nb2rzi748j] {
    position: fixed;
    z-index: 1200;
    border: 1px solid rgba(37, 99, 235, 0.9);
    background: rgba(59, 130, 246, 0.16);
    pointer-events: none;
    border-radius: 4px;
}

.table-marquee-box[b-nb2rzi748j] {
    position: fixed;
    z-index: 1200;
    border: 1px solid rgba(14, 116, 144, 0.9);
    background: rgba(34, 211, 238, 0.14);
    pointer-events: none;
    border-radius: 4px;
}

.sequence-card--muted[b-nb2rzi748j] {
    opacity: 0.52;
    filter: saturate(0.55);
}

.sequence-card--muted .indicator-card-title[b-nb2rzi748j],
.sequence-card--muted .indicator-card-signal[b-nb2rzi748j],
.sequence-card--muted .indicator-card-ticker[b-nb2rzi748j],
.sequence-card--muted .sequence-countdown[b-nb2rzi748j] {
    color: #6b7280;
}

.sequence-empty[b-nb2rzi748j] {
    border: 1px dashed rgba(107, 114, 128, 0.4);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    color: #6b7280;
    background: rgba(243, 244, 246, 0.6);
}

@media (max-width: 1200px) {
    .home-layout[b-nb2rzi748j] {
        grid-template-columns: 1fr;
    }
}

/* Mobile font size improvements */
@media (max-width: 768px) {
    html[b-nb2rzi748j], body[b-nb2rzi748j] {
        font-size: 14px !important; /* Larger font for mobile */
    }
    
    .table[b-nb2rzi748j] {
        font-size: 10px;
    }
    
    .table th[b-nb2rzi748j] {
        font-size: 10px;
        padding: 0.5rem 0.25rem;
        white-space: nowrap;
    }
    
    .table td[b-nb2rzi748j] {
        padding: 0.5rem 0.25rem;
    }
}

@media (max-width: 576px) {
    html[b-nb2rzi748j], body[b-nb2rzi748j] {
        font-size: 15px !important; /* Even larger for small phones */
    }
    
    .table[b-nb2rzi748j] {
        font-size: 10px;
    }
    
    .table th[b-nb2rzi748j] {
        font-size: 10px;
        padding: 0.4rem 0.2rem;
        white-space: nowrap;
        /* Hide some column headers on very small screens */
    }
    
    .table th:nth-child(5)[b-nb2rzi748j],
    .table th:nth-child(6)[b-nb2rzi748j],
    .table th:nth-child(7)[b-nb2rzi748j] {
        display: none;
    }
    
    .table td[b-nb2rzi748j] {
        padding: 0.4rem 0.2rem;
    }
    
    /* Hide less critical columns on very small screens */
    .table td:nth-child(5)[b-nb2rzi748j],
    .table td:nth-child(6)[b-nb2rzi748j],
    .table td:nth-child(7)[b-nb2rzi748j] {
        display: none;
    }
    
    /* Make form controls larger on mobile */
    .form-select[b-nb2rzi748j] {
        font-size: 14px;
        padding: 0.5rem;
        min-height: 38px;
    }
    
    .form-check-input[b-nb2rzi748j] {
        width: 18px;
        height: 18px;
    }
    
    /* Make clickable areas larger */
    .clickable[b-nb2rzi748j] {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Adjust badge sizes for mobile */
    .badge[b-nb2rzi748j] {
        font-size: 0.7rem;
        padding: 0.35em 0.5em;
    }
}

@media (max-width: 640.98px) {
    .alerts-table-toggle-btn[b-nb2rzi748j] {
        display: none;
    }

    .webhook-tip-card[b-nb2rzi748j] {
        display: none;
    }

    .alerts-table[b-nb2rzi748j] {
        display: none;
    }
}

.indicator-card:active[b-nb2rzi748j] {
    cursor: grabbing;
}

.indicator-card:hover[b-nb2rzi748j] {
    transform: translateY(-1px);
    border-color: rgba(17, 24, 39, 0.2);
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
}

.indicator-card-title[b-nb2rzi748j] {
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    font-size: 10px;
}

.indicator-card-meta[b-nb2rzi748j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: #6b7280;
}

.indicator-card-tags[b-nb2rzi748j] {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.sequence-countdown[b-nb2rzi748j] {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
}

.indicator-card-signal[b-nb2rzi748j] {
    font-weight: 600;
    color: #1f2937;
}

.indicator-card-ticker[b-nb2rzi748j] {
    font-weight: 600;
    text-transform: uppercase;
}

.indicator-card-action[b-nb2rzi748j] {
    border: 1px solid rgba(17, 24, 39, 0.2);
    background: #ffffff;
    color: #111827;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.indicator-card-action:hover[b-nb2rzi748j] {
    border-color: rgba(17, 24, 39, 0.35);
    background: #f3f4f6;
}

.indicator-card-action--muted[b-nb2rzi748j] {
    border-color: rgba(59, 130, 246, 0.45);
    color: #1d4ed8;
    background: rgba(219, 234, 254, 0.4);
}

.indicator-card-action--muted:hover[b-nb2rzi748j] {
    border-color: rgba(37, 99, 235, 0.6);
    background: rgba(191, 219, 254, 0.55);
}

/* Mobile touch improvements */
@media (max-width: 768px) {
    .home-layout[b-nb2rzi748j],
    .indicator-panel[b-nb2rzi748j],
    .alerts-table[b-nb2rzi748j],
    .alerts-table .table-responsive[b-nb2rzi748j] {
        touch-action: pan-y pinch-zoom;
    }

    .sequence-groups[b-nb2rzi748j] {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
        touch-action: auto;
        padding-bottom: 10px;
        scroll-padding-inline: 12px;
    }

    .sequence-group[b-nb2rzi748j],
    .sequence-card[b-nb2rzi748j],
    .indicator-card[b-nb2rzi748j],
    .signal-cell[b-nb2rzi748j],
    .ticker-toggle[b-nb2rzi748j] {
        touch-action: pan-y pinch-zoom;
    }

    /* Larger touch targets for all interactive elements */
    .form-check-input[b-nb2rzi748j] {
        width: 20px;
        height: 20px;
        margin: 0.5rem;
    }
    
    /* Make signal cells more touch-friendly */
    .signal-cell[b-nb2rzi748j] {
        min-height: 44px;
        padding: 0.5rem;
    }
    
    /* Increase spacing between rows */
    .table tbody tr[b-nb2rzi748j] {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Make reset button easier to tap */
    .reset-btn[b-nb2rzi748j] {
        min-width: 44px;
        min-height: 44px;
        padding: 8px 16px;
        font-size: 1.1rem;
    }
    
    /* Better ticker toggle spacing */
    .ticker-toggle[b-nb2rzi748j] {
        padding: 0.5rem;
        min-height: 44px;
    }
    
    /* Group slider touch improvements */
    .group-slider-container[b-nb2rzi748j] {
        min-height: 44px;
        padding: 0.5rem 0;
    }
    
    .slider-labels[b-nb2rzi748j] {
        font-size: 0.9rem;
        min-width: 40px;
    }
}

@media (max-width: 576px) {
    /* Extra touch improvements for very small screens */
    .form-check-input[b-nb2rzi748j] {
        width: 22px;
        height: 22px;
        margin: 0.75rem;
    }
    
    .signal-cell[b-nb2rzi748j] {
        min-height: 48px;
        padding: 0.75rem;
    }
    
    .reset-btn[b-nb2rzi748j] {
        min-height: 48px;
        padding: 10px 18px;
    }
    
    .ticker-toggle[b-nb2rzi748j] {
        min-height: 48px;
        padding: 0.75rem;
    }
}
/* /Components/Pages/Logs.razor.rz.scp.css */
.logs-toolbar-row[b-o2bq5bbf7j] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.logs-field[b-o2bq5bbf7j] {
    flex: 1 1 220px;
    min-width: 180px;
}

.logs-switch[b-o2bq5bbf7j] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.logs-switch .form-check[b-o2bq5bbf7j] {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logs-switch .logs-toolbar-row[b-o2bq5bbf7j] {
    width: 100%;
    margin-top: 0 !important;
}

.logs-actions[b-o2bq5bbf7j] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
}

.logs-admin-row .logs-field[b-o2bq5bbf7j] {
    flex: 2 1 320px;
}

.logs-filter-row[b-o2bq5bbf7j] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.logs-count[b-o2bq5bbf7j] {
    font-size: 0.85rem;
    color: var(--twc-subtle, #a6b7c8);
    margin: 4px 0 10px;
}

.logs-list .list-group-item[b-o2bq5bbf7j] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--twc-text, #ecf3fb);
    background: var(--twc-surface, #33475f);
    border-color: var(--twc-border-soft, rgba(255, 255, 255, 0.09));
}

.logs-list[b-o2bq5bbf7j] {
    max-height: calc(100vh - 320px);
    overflow: auto;
}

.log-line[b-o2bq5bbf7j] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.log-time[b-o2bq5bbf7j] {
    font-weight: 600;
    color: var(--twc-text, #ecf3fb);
}

.log-message[b-o2bq5bbf7j] {
    color: var(--twc-text, #ecf3fb);
    word-break: break-word;
}

.log-context[b-o2bq5bbf7j] {
    background: rgba(148, 163, 184, 0.25);
    color: var(--twc-subtle, #a6b7c8);
}

.log-label-state[b-o2bq5bbf7j] {
    border: 1px solid transparent;
    font-weight: 600;
}

.log-label-generic[b-o2bq5bbf7j] {
    background: rgba(16, 185, 129, 0.28);
    color: #dcfce7;
    border-color: rgba(167, 243, 208, 0.5);
}

.log-label-sequence[b-o2bq5bbf7j] {
    background: rgba(59, 130, 246, 0.3);
    color: #e6f0ff;
    border-color: rgba(191, 219, 254, 0.5);
}

.log-level-debug[b-o2bq5bbf7j] {
    background: rgba(148, 163, 184, 0.4);
    color: #334155;
}

.log-level-info[b-o2bq5bbf7j] {
    background: rgba(59, 130, 246, 0.28);
    color: #dbeafe;
}

.log-level-warning[b-o2bq5bbf7j] {
    background: rgba(245, 158, 11, 0.2);
    color: #b45309;
}

.log-level-error[b-o2bq5bbf7j] {
    background: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.log-level-critical[b-o2bq5bbf7j] {
    background: rgba(127, 29, 29, 0.25);
    color: #7f1d1d;
}

@media (max-width: 640px) {
    .logs-field[b-o2bq5bbf7j] {
        flex: 1 1 100%;
        min-width: 0;
    }

    .logs-switch[b-o2bq5bbf7j] {
        min-width: 0;
        width: 100%;
    }

    .logs-switch .logs-toolbar-row[b-o2bq5bbf7j] {
        align-items: stretch;
    }

    .logs-toolbar-row[b-o2bq5bbf7j] {
        align-items: stretch;
    }

    .logs-actions[b-o2bq5bbf7j] {
        width: 100%;
        margin-left: 0;
        justify-content: stretch;
    }

    .logs-actions :is(.btn, .k-button)[b-o2bq5bbf7j] {
        flex: 1 1 100%;
        width: 100%;
    }

    .logs-list[b-o2bq5bbf7j] {
        max-height: calc(100vh - 360px);
    }

    .logs-admin-row .logs-actions[b-o2bq5bbf7j] {
        margin-left: 0;
    }

    .logs-output-card .card-body[b-o2bq5bbf7j] {
        padding: 0.75rem;
    }

    .log-line[b-o2bq5bbf7j] {
        gap: 6px;
    }

    .log-time[b-o2bq5bbf7j] {
        width: 100%;
    }
}
