/* /Shared/CpnTopicsGrid.razor.rz.scp.css */
.topics-page[b-foqf3z3ehu] {
    --wf-brand: #00263b;
    --wf-brand-soft: #1f5f7a;
    --wf-ink: #173042;
    --wf-ink-soft: #5d7584;
    --wf-surface: #ffffff;
    --wf-surface-alt: #f4f7f9;
    --wf-border: #d7e1e8;
    --wf-border-strong: #c7d4de;
    --wf-shadow: 0 14px 30px rgba(0, 38, 59, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topics-hero[b-foqf3z3ehu],
.control-card[b-foqf3z3ehu],
.grid-shell[b-foqf3z3ehu] {
    position: relative;
    overflow: hidden;
    background: var(--wf-surface);
    border: 1px solid var(--wf-border);
    border-radius: 16px;
    box-shadow: var(--wf-shadow);
}

.topics-hero[b-foqf3z3ehu]::before,
.grid-shell[b-foqf3z3ehu]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--wf-brand), var(--wf-brand-soft));
}

.topics-hero[b-foqf3z3ehu] {
    display: flex;
    align-items: stretch;
    padding: 1.35rem 1.4rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.topics-hero-copy[b-foqf3z3ehu] {
    flex: 1 1 auto;
    padding-top: 0.2rem;
}

.topics-title[b-foqf3z3ehu] {
    margin: 0;
    color: var(--wf-ink);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.topics-subtitle[b-foqf3z3ehu] {
    margin: 0.45rem 0 0;
    max-width: 56ch;
    color: var(--wf-ink-soft);
    font-size: 0.96rem;
}

.topics-summary[b-foqf3z3ehu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.topics-summary-compact[b-foqf3z3ehu] {
    margin-top: 0.75rem;
}

.summary-pill[b-foqf3z3ehu] {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--wf-border);
    border-radius: 12px;
    background: var(--wf-surface);
    color: var(--wf-ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.topics-search-panel[b-foqf3z3ehu] {
    flex: 0 1 420px;
    min-width: min(100%, 320px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--wf-border);
    border-radius: 14px;
    background: var(--wf-surface-alt);
}

.topics-search-panel-inline[b-foqf3z3ehu] {
    width: min(100%, 420px);
    margin-left: auto;
}

.topics-search-box[b-foqf3z3ehu] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.topics-search-input[b-foqf3z3ehu] {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--wf-border-strong);
    padding-inline: 0.95rem;
    box-shadow: none;
    background: var(--wf-surface);
    color: var(--wf-ink);
}

.topics-search-input:focus[b-foqf3z3ehu] {
    border-color: var(--wf-brand-soft);
    box-shadow: 0 0 0 0.2rem rgba(31, 95, 122, 0.12);
}

.search-clear-button[b-foqf3z3ehu] {
    min-height: 44px;
    padding: 0 0.95rem;
    border: 1px solid var(--wf-border-strong);
    border-radius: 12px;
    background: var(--wf-surface);
    color: var(--wf-ink);
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-clear-button:hover[b-foqf3z3ehu] {
    border-color: var(--wf-brand-soft);
    background: #eef4f7;
}

.topics-toolbar[b-foqf3z3ehu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.control-card[b-foqf3z3ehu] {
    min-width: 0;
    min-height: 108px;
    padding: 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.7rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
}

.control-card-action[b-foqf3z3ehu] {
    justify-content: center;
}

.control-label[b-foqf3z3ehu] {
    display: block;
    margin: 0;
    max-width: 100%;
    color: var(--wf-ink-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.control-switch[b-foqf3z3ehu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
}

.control-value[b-foqf3z3ehu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--wf-border);
    border-radius: 12px;
    background: var(--wf-surface);
    color: var(--wf-ink);
    font-weight: 600;
    white-space: nowrap;
}

.grid-shell[b-foqf3z3ehu] {
    padding: 1rem;
}

.live-monitoring-shell[b-foqf3z3ehu] {
    padding: 1rem 1rem 1.1rem;
}

.live-monitoring-grid[b-foqf3z3ehu] {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.live-total-card[b-foqf3z3ehu],
.live-chart-card[b-foqf3z3ehu] {
    border: 1px solid var(--wf-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.live-total-card[b-foqf3z3ehu] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
}

.live-total-value[b-foqf3z3ehu] {
    color: var(--wf-brand);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.live-total-caption[b-foqf3z3ehu] {
    color: var(--wf-ink-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

.live-chart-card[b-foqf3z3ehu] {
    min-width: 0;
    padding: 0.35rem 0.75rem 0.2rem;
}

.live-chart-empty[b-foqf3z3ehu] {
    min-height: 280px;
    display: grid;
    place-items: center;
    padding: 1rem;
    color: var(--wf-ink-soft);
    text-align: center;
}

.grid-shell-header[b-foqf3z3ehu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.9rem;
    padding-top: 0.2rem;
}

.grid-shell-title[b-foqf3z3ehu] {
    color: var(--wf-ink);
    font-size: 1rem;
    font-weight: 700;
}

.grid-shell-caption[b-foqf3z3ehu] {
    color: var(--wf-ink-soft);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.switch-cell[b-foqf3z3ehu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 40px;
    width: 100%;
}

.metric-pill[b-foqf3z3ehu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 2.1rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--wf-border);
    border-radius: 12px;
    background: var(--wf-surface-alt);
    color: var(--wf-ink);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.metric-unit[b-foqf3z3ehu] {
    margin-left: 0.35rem;
    color: var(--wf-ink-soft);
    font-weight: 600;
}

[b-foqf3z3ehu] .e-btn.w-100 {
    min-height: 44px;
    border-radius: 12px;
    background: var(--wf-brand);
    border-color: var(--wf-brand);
    color: #fff;
    font-weight: 700;
    box-shadow: none;
}

[b-foqf3z3ehu] .e-btn.w-100:hover,
[b-foqf3z3ehu] .e-btn.w-100:focus {
    background: #0b344b;
    border-color: #0b344b;
}

[b-foqf3z3ehu] .e-switch-wrapper {
    flex-shrink: 0;
    margin: 0;
}

[b-foqf3z3ehu] .e-grid {
    border: none;
}

[b-foqf3z3ehu] .e-grid .e-gridheader {
    border: 1px solid var(--wf-border);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    background: var(--wf-surface-alt);
}

[b-foqf3z3ehu] .e-grid .e-headercell {
    background: var(--wf-surface-alt);
    color: var(--wf-ink);
    font-weight: 700;
    border-color: var(--wf-border);
}

[b-foqf3z3ehu] .e-grid .e-content,
[b-foqf3z3ehu] .e-grid .e-gridcontent {
    border: 1px solid var(--wf-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
}

[b-foqf3z3ehu] .e-grid .e-rowcell {
    vertical-align: middle;
    border-color: #e7edf2;
}

[b-foqf3z3ehu] .e-grid .e-row:hover .e-rowcell {
    background: #f8fbfc;
}

[b-foqf3z3ehu] .live-chart-card .e-chart {
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    .topics-hero[b-foqf3z3ehu] {
        padding: 1.15rem;
    }

    .topics-title[b-foqf3z3ehu] {
        font-size: 1.5rem;
    }

    .topics-search-box[b-foqf3z3ehu] {
        flex-direction: column;
        align-items: stretch;
    }

    .topics-search-panel-inline[b-foqf3z3ehu] {
        width: 100%;
    }

    .search-clear-button[b-foqf3z3ehu] {
        width: 100%;
    }

    .control-switch[b-foqf3z3ehu],
    .switch-cell[b-foqf3z3ehu] {
        gap: 0.6rem;
    }

    .live-monitoring-grid[b-foqf3z3ehu] {
        grid-template-columns: 1fr;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-pl61atf9h9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-pl61atf9h9] {
        display: none;
    }

    .top-row.auth[b-pl61atf9h9] {
        justify-content: space-between;
    }

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

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

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

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

    .top-row[b-pl61atf9h9], article[b-pl61atf9h9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-gl5xem8uap] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-gl5xem8uap] {
    height: 3.5rem;
}

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

.oi[b-gl5xem8uap] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-gl5xem8uap] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-gl5xem8uap]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-gl5xem8uap]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

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

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

    .collapse[b-gl5xem8uap] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-gl5xem8uap] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
