/* /Components/Layout/Drawer.razor.rz.scp.css */
.drawer-container[b-ezouinpxu3] {
    height: 100%;
}

[b-ezouinpxu3] .panel-open:not(.mobile) .menu-button-navlink:has(+ .back-button-navlink) {
    display: none;
}

[b-ezouinpxu3] .panel-open:not(.mobile) .menu-button-navlink:not(:has(+ .back-button-navlink)) {
    visibility: hidden;
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-panel {
    background-image: linear-gradient(180deg, var(--bs-primary, var(--dxds-primary-90)) 0%, var(--bs-black, #000) 150%);
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-content {
    overflow: auto;
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-header {
    border-bottom: none;
    padding: 2rem 1rem;
    background: none;
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-header > .navigation-drawer-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-body {
    --dxbl-drawer-panel-body-padding-x: 0;
    --dxbl-drawer-panel-body-padding-y: 1rem;
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-footer {
    --dxbl-drawer-panel-footer-justify-content: center;
    border-top: none;
    padding-bottom: 1.5rem;
    width: 240px;
    background: none;
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-panel {
    display: flex;
}

[b-ezouinpxu3] .navigation-drawer.mobile > .dxbl-drawer-panel {
    display: none;
}

[b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-content > .navigation-drawer-shading {
    display: none;
}

@media (max-width: 768px) {
    [b-ezouinpxu3] .panel-open:not(.mobile) .menu-button-navlink:has(+ .back-button-navlink) {
        display: inline-flex;
    }

    [b-ezouinpxu3] .panel-open:not(.mobile) .menu-button-navlink:not(:has(+ .back-button-navlink)) {
        visibility: visible;
    }

    [b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-panel {
        display: none;
    }

    [b-ezouinpxu3] .navigation-drawer.mobile > .dxbl-drawer-panel {
        display: flex;
    }

    [b-ezouinpxu3] .navigation-drawer > .dxbl-drawer-content > .navigation-drawer-shading {
        background-color: var(--dxbl-drawer-content-shading-bg);
        display: block;
        height: 100%;
        position: absolute;
        transition: ease var(--dxbl-drawer-animation-duration);
        transition-property: opacity, visibility;
        visibility: visible;
        width: 100%;
        z-index: 99;
        opacity: var(--dxbl-drawer-content-shading-opacity);
    }

    [b-ezouinpxu3] .navigation-drawer.mobile.panel-closed .navigation-drawer-shading {
        opacity: 0;
        visibility: hidden;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* App shell layout styles are embedded in MainLayout.razor <style> block */
*[b-72q8hqyfbt], *[b-72q8hqyfbt]::before, *[b-72q8hqyfbt]::after {
    box-sizing: border-box;
}

.app-shell[b-72q8hqyfbt] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 13px;
    background: #fff;
}

/* ── Top bar ─────────────────────────────────────────────────────── */
.app-topbar[b-72q8hqyfbt] {
    display: flex;
    align-items: stretch;
    height: 60px;
    min-height: 60px;
    background: #f6f6f6;
    box-shadow: 0 2px 7px rgba(51, 51, 51, 0.2);
    z-index: 100;
    flex-shrink: 0;
    user-select: none;
}

.app-topbar-logo[b-72q8hqyfbt] {
    display: flex;
    align-items: center;
    padding: 0;
    border-right: 1px solid #c8c8c8;
    background: #f6f6f6;
}

    .app-topbar-logo a[b-72q8hqyfbt] {
        display: flex;
        align-items: center;
        height: 100%;
    }

.app-logo[b-72q8hqyfbt] {
    height: 50px;
    width: 280px;
    object-fit: contain;
    display: block;
    margin: 4px 0 0 8px;
}

.app-tabs[b-72q8hqyfbt] {
    display: flex;
    align-items: stretch;
    flex: 1;
}

.app-tab[b-72q8hqyfbt] {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    border-top: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.1s;
    position: relative;
    top: 1px; /* align bottom with border */
}

    .app-tab:hover[b-72q8hqyfbt] {
        background: #e0e0e0;
        color: #111;
    }

    .app-tab.active[b-72q8hqyfbt] {
        background: #ffffff;
        color: #2d7d32;
        font-weight: 600;
        border-top: 2px solid #2d7d32;
        border-left: 1px solid #c0c0c0;
        border-right: 1px solid #c0c0c0;
        border-bottom: 1px solid #ffffff;
        z-index: 1;
    }

.app-topbar-right[b-72q8hqyfbt] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border-left: 1px solid #c8c8c8;
}

.topbar-icon-link[b-72q8hqyfbt] {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
}

    .topbar-icon-link:hover[b-72q8hqyfbt] {
        background: #e0e0e0;
    }

.topbar-icon[b-72q8hqyfbt] {
    height: 30px;
    width: auto;
    display: block;
    padding-right: 4px;
}

.profile-wrapper[b-72q8hqyfbt] {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-card[b-72q8hqyfbt] {
    position: absolute;
    top: 50px;
    right: 10px;
    z-index: 1000;
    background: #fff;
    border: 1px solid #333;
    padding: 10px 14px;
    white-space: nowrap;
    font-size: 13px;
    color: #333;
    min-width: 180px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 0;
}

.profile-card-username[b-72q8hqyfbt] {
    font-weight: 500;
}

.profile-card-link[b-72q8hqyfbt] {
    color: #08c;
    text-decoration: none;
}

    .profile-card-link:hover[b-72q8hqyfbt] {
        text-decoration: underline;
    }

.app-signout-link[b-72q8hqyfbt] {
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 3px;
    margin-right: 20px;
}

    .app-signout-link:hover[b-72q8hqyfbt] {
        background: #e0e0e0;
        color: #222;
    }

/* ── App body: sidebar + content ─────────────────────────────────── */
.app-body[b-72q8hqyfbt] {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── Left sidebar ─────────────────────────────────────────────────── */
.app-sidenav[b-72q8hqyfbt] {
    width: 170px;
    min-width: 170px;
    background: #f2f2f2;
    border-right: 1px solid #d0d0d0;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    padding-top: 6px;
}

/* ── Main content ─────────────────────────────────────────────────── */
.app-content[b-72q8hqyfbt] {
    flex: 1;
    overflow: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-content-full[b-72q8hqyfbt] {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */

/* ── Legacy DxMenu styles (kept for compatibility) ─────────────────────── */
[b-qvc2q5rq63] .menu {
    --dxbl-menu-bottom-left-border-radius: 0;
    --dxbl-menu-bottom-right-border-radius: 0;
    --dxbl-menu-top-left-border-radius: 0;
    --dxbl-menu-top-right-border-radius: 0;
    background-color: inherit;
}

[b-qvc2q5rq63] .menu .dxbl-menu-item-list {
    gap: 0.5rem;
}

[b-qvc2q5rq63] .menu-item {
    color: var(--bs-white, #fff);
}

/* ── Icon base ──────────────────────────────────────────────────────────── */
[b-qvc2q5rq63] .icon {
    margin-left: 0.75rem;
}

[b-qvc2q5rq63] .fn-icon {
    margin-left: 0;
    flex-shrink: 0;
}

/* ── Icon definitions ───────────────────────────────────────────────────── */
[b-qvc2q5rq63] .log-in-icon    { --icon-mask-image: var(--icon-log-in-mask-image); }
[b-qvc2q5rq63] .log-out-icon   { --icon-mask-image: var(--icon-log-out-mask-image); }
[b-qvc2q5rq63] .home-icon      { --icon-mask-image: var(--icon-home-mask-image); }
[b-qvc2q5rq63] .weather-icon   { --icon-mask-image: var(--icon-weather-mask-image); }
[b-qvc2q5rq63] .counter-icon   { --icon-mask-image: var(--icon-counter-mask-image); }
[b-qvc2q5rq63] .chart-icon     { --icon-mask-image: var(--icon-data-pie-mask-image); }
[b-qvc2q5rq63] .rich-edit-icon { --icon-mask-image: var(--icon-text-description-edit-mask-image); }
[b-qvc2q5rq63] .scheduler-icon { --icon-mask-image: var(--icon-calendar-mask-image); }
[b-qvc2q5rq63] .tree-list-icon { --icon-mask-image: var(--icon-list-bar-tree-mask-image); }
[b-qvc2q5rq63] .report-designer-icon { --icon-mask-image: var(--icon-document-data-edit-mask-image); }
[b-qvc2q5rq63] .report-viewer-icon   { --icon-mask-image: var(--icon-document-data-mask-image); }
[b-qvc2q5rq63] .pdf-viewer-icon      { --icon-mask-image: var(--icon-document-pdf-mask-image); }
[b-qvc2q5rq63] .pivot-table-icon     { --icon-mask-image: var(--icon-pivot-table-mask-image); }

/* ── Module icons ───────────────────────────────────────────────────────── */
[b-qvc2q5rq63] .accounts-icon     { --icon-mask-image: var(--icon-folder-mask-image); }
[b-qvc2q5rq63] .transactions-icon { --icon-mask-image: var(--icon-list-bar-tree-mask-image); }
[b-qvc2q5rq63] .payees-icon       { --icon-mask-image: var(--icon-text-description-edit-mask-image); }
[b-qvc2q5rq63] .investments-icon  { --icon-mask-image: var(--icon-data-pie-mask-image); }
[b-qvc2q5rq63] .ai-icon           { --icon-mask-image: var(--icon-settings-mask-image); }

/* ── Custom nav container ───────────────────────────────────────────────── */
.fn-nav[b-qvc2q5rq63] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px;
    height: 100%;
}

/* ── Top-level nav link ─────────────────────────────────────────────────── */
.fn-nav-link[b-qvc2q5rq63] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.15s;
    white-space: nowrap;
}

.fn-nav-link:hover[b-qvc2q5rq63] {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.fn-nav-link.active[b-qvc2q5rq63] {
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-weight: 600;
}

/* ── Module group ───────────────────────────────────────────────────────── */
.fn-nav-group-header[b-qvc2q5rq63] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: rgba(255,255,255,0.85);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.fn-nav-group-header:hover[b-qvc2q5rq63] {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.fn-group-title[b-qvc2q5rq63] {
    flex: 1;
}

.fn-chevron[b-qvc2q5rq63] {
    font-size: 16px;
    opacity: 0.6;
    transition: transform 0.2s;
    line-height: 1;
}

.fn-group-open .fn-chevron[b-qvc2q5rq63] {
    transform: rotate(90deg);
}

/* ── Sub-items ──────────────────────────────────────────────────────────── */
.fn-group-items[b-qvc2q5rq63] {
    display: none;
    flex-direction: column;
    padding: 2px 0 4px 36px;
    gap: 1px;
}

.fn-group-open .fn-group-items[b-qvc2q5rq63] {
    display: flex;
}

.fn-nav-sublink[b-qvc2q5rq63] {
    display: block;
    padding: 6px 10px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}

.fn-nav-sublink:hover[b-qvc2q5rq63] {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.fn-nav-sublink.active[b-qvc2q5rq63] {
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-weight: 500;
}

/* ── Utilities ──────────────────────────────────────────────────────────── */
.fn-nav-divider[b-qvc2q5rq63] {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 8px;
}

.fn-nav-spacer[b-qvc2q5rq63] {
    flex: 1;
    min-height: 16px;
}

.fn-nav-logout[b-qvc2q5rq63] {
    opacity: 0.75;
}

.fn-nav-logout:hover[b-qvc2q5rq63] {
    opacity: 1;
}

/* ────── Side Navigation Styles (formerly in <style> block) ────────────────────────────────── */
.sidenav-section-label[b-qvc2q5rq63] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #888;
    padding: 8px 12px 4px;
}

[b-qvc2q5rq63] .sidenav-link {
    display: block;
    padding: 7px 14px;
    font-size: 13px;
    color: #2c2c2c;
    text-decoration: none;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.1s;
}

[b-qvc2q5rq63] .sidenav-link:hover {
    background: #e2e2e2;
    color: #111;
}

[b-qvc2q5rq63] .sidenav-link.active {
    background: #d0ead1;
    color: #2d7d32;
    font-weight: 600;
    border-left: 3px solid #2d7d32;
}

.sidenav-divider[b-qvc2q5rq63] {
    height: 1px;
    background: #d4d4d4;
    margin: 6px 10px;
}

/* ────── Accordion Styles (formerly in <style> block) ────────────────────────────────────── */
.acc-nav[b-qvc2q5rq63] {
    padding-top: 4px;
}

.acc-nav-label[b-qvc2q5rq63] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #888;
    padding: 8px 12px 6px;
}

.acc-group[b-qvc2q5rq63] {
    border-bottom: 1px solid #e4e4e4;
}

.acc-header[b-qvc2q5rq63] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    user-select: none;
    transition: background 0.1s;
}

.acc-header:hover[b-qvc2q5rq63] {
    background: #e8e8e8;
}

.acc-header.open[b-qvc2q5rq63] {
    color: #2d7d32;
    background: #edf7ee;
}

.acc-arrow[b-qvc2q5rq63] {
    font-size: 10px;
    width: 12px;
    flex-shrink: 0;
    color: #888;
}

.acc-header.open .acc-arrow[b-qvc2q5rq63] {
    color: #2d7d32;
}

.acc-label[b-qvc2q5rq63] {
    flex: 1;
}

.acc-links[b-qvc2q5rq63] {
    padding: 2px 0 4px 0;
    background: #fafafa;
}

[b-qvc2q5rq63] .acc-link {
    display: block;
    padding: 5px 14px 5px 28px;
    font-size: 12.5px;
    color: #3a3a3a;
    text-decoration: none;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.1s;
}

[b-qvc2q5rq63] .acc-link:hover {
    background: #e2e2e2;
    color: #111;
}

[b-qvc2q5rq63] .acc-link.active {
    background: #d0ead1;
    color: #2d7d32;
    font-weight: 600;
    border-left: 3px solid #2d7d32;
}

.acc-coming-soon[b-qvc2q5rq63] {
    padding: 5px 14px 5px 28px;
    font-size: 12.5px;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    #sidebar[b-qvc2q5rq63] {
        min-width: inherit;
        max-width: inherit;
        display: block;
    }
}
/* /Components/Pages/AiInsights.razor.rz.scp.css */
/* ── Insights page layout ────────────────────────────────────────────── */
.insights-layout[b-0mp99p6xyk] { display: flex; height: calc(100vh - 60px); overflow: hidden; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; }
.insights-sidebar[b-0mp99p6xyk] { width: 220px; min-width: 220px; flex-shrink: 0; background: #E5E5E5; border-right: 1px solid #d0d0d0; padding-top: 36px; position: relative; display: flex; flex-direction: column; overflow-y: auto; }
.insights-main[b-0mp99p6xyk] { flex: 1; min-width: 0; overflow-y: auto; }
.insights-main-full[b-0mp99p6xyk] { }
/* Sidebar close button */
.insights-sidebar-close[b-0mp99p6xyk] { position: absolute; top: 4px; right: 6px; font-size: 22px; background: none; border: none; cursor: pointer; color: #555; line-height: 1; padding: 0 4px; }
.insights-sidebar-close:hover[b-0mp99p6xyk] { color: #333; }
/* Sidebar open button */
.insights-sidebar-open-btn[b-0mp99p6xyk] { background: none; border: 1px solid #e0e0e0; color: #888; border-radius: 5px; padding: 5px 12px; font-size: 11px; font-weight: 600; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; cursor: pointer; margin: 16px 20px 0; display: inline-block; transition: color .12s ease, border-color .12s ease; }
.insights-sidebar-open-btn:hover[b-0mp99p6xyk] { color: #2d7d32; border-color: #a5d6a7; }
/* Nav list */
.insights-nav-list[b-0mp99p6xyk] { list-style: none; margin: 0; padding: 4px 0; }
/* Group label */
.insights-group-label[b-0mp99p6xyk] { padding: 10px 10px 4px; font-size: 11px; font-weight: 600; color: #777; text-transform: uppercase; letter-spacing: .6px; }
/* Nav link */
.insights-nav-link[b-0mp99p6xyk] { display: block; padding: 6px 10px; color: #333; background-color: #E5E5E5; border-radius: 4px; margin: 1px 6px; transition: background 0.2s; text-decoration: none; font-size: 13px; cursor: pointer; }
.insights-nav-link:hover[b-0mp99p6xyk] { background: #d4d4d4; }
.insights-nav-active[b-0mp99p6xyk] { background-color: #2d7d32 !important; color: #fff !important; box-shadow: 0 2px 5px rgba(0,0,0,0.2); font-weight: 600; }
.insights-nav-indent[b-0mp99p6xyk] { padding-left: 22px; }
/* Divider */
.insights-sidebar-divider[b-0mp99p6xyk] { margin: 8px 10px; border: none; border-top: 1px solid #ccc; }
.dash-pending-label-sub[b-0mp99p6xyk] { font-weight: 400; text-transform: none; letter-spacing: 0; color: #bbb; font-size: 10px; }
@media (max-width: 700px) {
    .insights-layout[b-0mp99p6xyk] { flex-direction: column; }
    .insights-sidebar[b-0mp99p6xyk] { width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid #d0d0d0; padding-top: 12px; }
    .insights-nav-list[b-0mp99p6xyk] { display: flex; flex-direction: row; flex-wrap: wrap; }
    .insights-nav-link[b-0mp99p6xyk] { padding: 6px 10px; }
}
/* ── Main page ───────────────────────────────────────────────────────── */
.dash-page[b-0mp99p6xyk] { background: #f4f6f8; min-height: calc(100vh - 60px); padding: 20px 24px 40px; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; font-size: 13px; color: #333; }
/* Header */
.dash-header[b-0mp99p6xyk] { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.dash-title[b-0mp99p6xyk]  { font-size: 22px; font-weight: 700; color: #1b5e20; letter-spacing: -0.3px; }
.dash-sub[b-0mp99p6xyk]    { font-size: 12px; color: #888; margin-top: 3px; }
.dash-badge[b-0mp99p6xyk]  { background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 20px; padding: 5px 14px; font-size: 11px; color: #2d7d32; font-weight: 600; }
/* Controls */
.dash-controls[b-0mp99p6xyk] { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.dash-field[b-0mp99p6xyk]        { display: flex; flex-direction: column; gap: 5px; }
.dash-field-action[b-0mp99p6xyk] { justify-content: flex-end; }
.dash-label[b-0mp99p6xyk]        { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: .6px; }
.dash-input[b-0mp99p6xyk] { border: 1px solid #ddd; border-radius: 5px; padding: 7px 10px; font-size: 13px; color: #333; outline: none; min-width: 150px; background: #fafafa; }
.dash-input:focus[b-0mp99p6xyk]  { border-color: #2d7d32; background: #fff; }
.dash-input-sm[b-0mp99p6xyk]     { min-width: 60px; width: 70px; }
.dash-load-btn[b-0mp99p6xyk] { background: #2d7d32; color: #fff; border: none; border-radius: 5px; padding: 8px 20px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.dash-load-btn:hover:not(:disabled)[b-0mp99p6xyk] { background: #1b5e20; }
.dash-load-btn:disabled[b-0mp99p6xyk]             { opacity: .4; cursor: not-allowed; }
/* Reload strip */
.dash-reload-strip[b-0mp99p6xyk] { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px 16px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.dash-reload-info[b-0mp99p6xyk]  { font-size: 12px; color: #888; }
.dash-reload-btn[b-0mp99p6xyk]   { background: none; border: 1px solid #ddd; border-radius: 5px; padding: 5px 14px; font-size: 12px; color: #555; cursor: pointer; }
.dash-reload-btn:hover:not(:disabled)[b-0mp99p6xyk] { border-color: #2d7d32; color: #2d7d32; }
/* Spinners */
.dash-spinner[b-0mp99p6xyk]     { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: dashSpin-b-0mp99p6xyk .7s linear infinite; flex-shrink: 0; display: inline-block; }
.dash-spinner.sm[b-0mp99p6xyk]  { width: 11px; height: 11px; }
.dash-spinner-dark[b-0mp99p6xyk] { width: 13px; height: 13px; border: 2px solid #c8e6c9; border-top-color: #2d7d32; border-radius: 50%; animation: dashSpin-b-0mp99p6xyk .7s linear infinite; flex-shrink: 0; display: inline-block; }
@keyframes dashSpin-b-0mp99p6xyk { to { transform: rotate(360deg); } }
/* Error */
.dash-error[b-0mp99p6xyk] { background: #fdecea; border: 1px solid #f5c6cb; border-radius: 6px; padding: 10px 14px; margin-bottom: 14px; color: #c62828; font-size: 12.5px; }
/* Charts loading label */
.dash-charts-loading-label[b-0mp99p6xyk] { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #888; margin-bottom: 10px; }
/* Section label */
.dash-section-label[b-0mp99p6xyk] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #aaa; margin-bottom: 10px; }
/* Chart grid */
.dash-grid[b-0mp99p6xyk] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.dash-card[b-0mp99p6xyk] { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px 18px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.dash-card-title[b-0mp99p6xyk] { font-size: 12px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
/* Chart skeleton */
.dash-card-skeleton[b-0mp99p6xyk] { border-color: #eee; box-shadow: none; }
.dash-skeleton-title[b-0mp99p6xyk] { height: 14px; width: 55%; border-radius: 4px; margin-bottom: 16px; background: linear-gradient(90deg,#e8e8e8 25%,#f4f4f4 50%,#e8e8e8 75%); background-size: 400% 100%; animation: dashShimmer-b-0mp99p6xyk 1.4s infinite linear; }
.dash-skeleton-chart[b-0mp99p6xyk] { height: 240px; border-radius: 6px; background: linear-gradient(90deg,#e8e8e8 25%,#f4f4f4 50%,#e8e8e8 75%); background-size: 400% 100%; animation: dashShimmer-b-0mp99p6xyk 1.4s infinite linear; }
@keyframes dashShimmer-b-0mp99p6xyk { to { background-position: -400% 0; } }
/* Tooltip */
.dash-tip[b-0mp99p6xyk] { padding: 7px 11px; font-size: 12px; line-height: 1.6; display: flex; flex-direction: column; gap: 2px; }
.dash-tip strong[b-0mp99p6xyk] { color: #333; }
.dash-tip span[b-0mp99p6xyk]   { color: #555; }
/* Document report */
.dash-doc-report[b-0mp99p6xyk] { background: #fff; border: 1px solid #c8e6c9; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(27,94,32,.08); overflow: hidden; }
.dash-doc-report-header[b-0mp99p6xyk] { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); padding: 16px 20px; }
.dash-doc-report-title-wrap[b-0mp99p6xyk] { flex: 1; }
.dash-doc-report-title[b-0mp99p6xyk] { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.dash-doc-report-sources[b-0mp99p6xyk] { display: flex; flex-wrap: wrap; gap: 6px; }
.dash-doc-chip[b-0mp99p6xyk] { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 2px 10px; font-size: 11px; color: #fff; }
.dash-doc-report-actions[b-0mp99p6xyk] { display: flex; gap: 6px; align-items: flex-start; flex-shrink: 0; }
.dash-doc-dl-btn[b-0mp99p6xyk] { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 5px; padding: 5px 12px; font-size: 11px; font-weight: 600; cursor: pointer; }
.dash-doc-dl-btn:hover[b-0mp99p6xyk] { background: rgba(255,255,255,.28); }
.dash-doc-report-body[b-0mp99p6xyk] { padding: 20px 24px; font-size: 13px; line-height: 1.75; color: #444; }
.dash-doc-report-body h1[b-0mp99p6xyk],.dash-doc-report-body h2[b-0mp99p6xyk] { color: #1b5e20; font-size: 15px; font-weight: 700; margin: 18px 0 8px; border-bottom: 1px solid #e8f5e9; padding-bottom: 4px; }
.dash-doc-report-body h3[b-0mp99p6xyk],.dash-doc-report-body h4[b-0mp99p6xyk] { color: #2d7d32; font-size: 13px; font-weight: 600; margin: 14px 0 5px; }
.dash-doc-report-body p[b-0mp99p6xyk]  { margin: 0 0 8px; }
.dash-doc-report-body ul[b-0mp99p6xyk],.dash-doc-report-body ol[b-0mp99p6xyk] { padding-left: 20px; margin: 0 0 8px; }
.dash-doc-report-body li[b-0mp99p6xyk] { margin-bottom: 3px; }
.dash-doc-report-body strong[b-0mp99p6xyk] { color: #222; font-weight: 600; }
.dash-doc-report-body table[b-0mp99p6xyk] { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12.5px; }
.dash-doc-report-body th[b-0mp99p6xyk] { background: #e8f5e9; color: #1b5e20; padding: 7px 10px; text-align: left; font-weight: 600; border: 1px solid #c8e6c9; }
.dash-doc-report-body td[b-0mp99p6xyk] { padding: 6px 10px; border: 1px solid #e0e0e0; }
.dash-doc-report-body tr:nth-child(even) td[b-0mp99p6xyk] { background: #fafafa; }
/* Empty state */
.dash-empty-state[b-0mp99p6xyk]        { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 60px 40px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.dash-empty-state-icon[b-0mp99p6xyk]   { font-size: 52px; opacity: .25; margin-bottom: 18px; }
.dash-empty-state-title[b-0mp99p6xyk]  { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 10px; }
.dash-empty-state-body[b-0mp99p6xyk]   { font-size: 13px; color: #888; line-height: 1.7; max-width: 400px; margin-bottom: 24px; }
.dash-empty-state-btn[b-0mp99p6xyk]    { background: #2d7d32; color: #fff; border: none; border-radius: 6px; padding: 9px 22px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.dash-empty-state-btn:hover[b-0mp99p6xyk] { background: #1b5e20; }
/* Save prompt */
.dash-save-prompt[b-0mp99p6xyk] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: #fff; border: 1px solid #a5d6a7; border-left: 4px solid #2d7d32; border-radius: 8px; padding: 14px 18px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(27,94,32,.1); animation: dashToastIn-b-0mp99p6xyk .25s ease; }
.dash-save-prompt-left[b-0mp99p6xyk]  { display: flex; align-items: center; gap: 12px; }
.dash-save-prompt-icon[b-0mp99p6xyk]  { font-size: 22px; }
.dash-save-prompt-title[b-0mp99p6xyk] { font-size: 13px; font-weight: 700; color: #1b5e20; }
.dash-save-prompt-sub[b-0mp99p6xyk]   { font-size: 12px; color: #666; margin-top: 2px; }
.dash-save-prompt-actions[b-0mp99p6xyk] { display: flex; gap: 8px; align-items: center; }
.dash-save-btn[b-0mp99p6xyk]     { background: #2d7d32; color: #fff; border: none; border-radius: 5px; padding: 7px 18px; font-size: 12px; font-weight: 600; cursor: pointer; }
.dash-save-btn:hover[b-0mp99p6xyk] { background: #1b5e20; }
.dash-save-dismiss[b-0mp99p6xyk] { background: none; border: 1px solid #ddd; color: #888; border-radius: 5px; padding: 7px 14px; font-size: 12px; cursor: pointer; }
.dash-save-dismiss:hover[b-0mp99p6xyk] { color: #555; border-color: #aaa; }
.dash-save-success[b-0mp99p6xyk] { display: flex; align-items: center; gap: 10px; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 8px; padding: 10px 16px; margin-bottom: 14px; font-size: 12.5px; color: #2d7d32; animation: dashToastIn-b-0mp99p6xyk .25s ease; }
.dash-save-success-icon[b-0mp99p6xyk] { width: 20px; height: 20px; background: #2d7d32; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
/* Saved analyses list */
.dash-saved-header[b-0mp99p6xyk] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; margin-top: 8px; }
.dash-saved-count[b-0mp99p6xyk]  { font-size: 11px; color: #aaa; }
.dash-saved-list[b-0mp99p6xyk]   { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.dash-saved-card[b-0mp99p6xyk]   { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); transition: box-shadow .15s; }
.dash-saved-card:hover[b-0mp99p6xyk]    { box-shadow: 0 2px 10px rgba(0,0,0,.09); }
.dash-saved-card-open[b-0mp99p6xyk]     { border-color: #a5d6a7; box-shadow: 0 2px 10px rgba(27,94,32,.1); }
.dash-saved-card-header[b-0mp99p6xyk]   { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px 16px; cursor: pointer; user-select: none; }
.dash-saved-card-header:hover[b-0mp99p6xyk] { background: #fafafa; }
.dash-saved-card-left[b-0mp99p6xyk]  { flex: 1; }
.dash-saved-title[b-0mp99p6xyk]      { font-size: 13px; font-weight: 700; color: #1b5e20; margin-bottom: 3px; }
.dash-saved-entity[b-0mp99p6xyk]     { font-size: 13px; font-weight: 700; color: #1b5e20; margin-bottom: 3px; }
.dash-saved-meta[b-0mp99p6xyk]       { font-size: 11px; color: #888; }
.dash-saved-time[b-0mp99p6xyk]       { color: #bbb; }
.dash-saved-chips[b-0mp99p6xyk]      { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.dash-saved-chip[b-0mp99p6xyk]       { background: #e8f5e9; border: 1px solid #c8e6c9; border-radius: 10px; padding: 2px 8px; font-size: 10px; color: #2d7d32; }
.dash-saved-card-right[b-0mp99p6xyk] { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.dash-saved-badge[b-0mp99p6xyk]      { background: #f1f8f1; border: 1px solid #c8e6c9; border-radius: 10px; padding: 2px 8px; font-size: 10px; color: #2d7d32; }
.dash-saved-view-btn[b-0mp99p6xyk]   { background: none; border: 1px solid #ddd; border-radius: 5px; padding: 4px 12px; font-size: 11px; color: #555; cursor: pointer; white-space: nowrap; }
.dash-saved-view-btn:hover[b-0mp99p6xyk]  { border-color: #2d7d32; color: #2d7d32; }
.dash-saved-del-btn[b-0mp99p6xyk]    { background: none; border: 1px solid #fcc; border-radius: 5px; padding: 4px 9px; font-size: 11px; color: #e57373; cursor: pointer; }
.dash-saved-del-btn:hover[b-0mp99p6xyk]   { background: #fdecea; border-color: #e57373; }
.dash-saved-body[b-0mp99p6xyk]       { border-top: 1px solid #e8f5e9; padding: 16px; background: #fafcfa; }
.dash-grid-sm[b-0mp99p6xyk]          { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
@media (max-width: 700px) { .dash-grid-sm[b-0mp99p6xyk] { grid-template-columns: 1fr; } }
/* Toast */
.dash-toast[b-0mp99p6xyk] { position: fixed; top: 68px; right: 24px; z-index: 9999; background: #fff; border: 1px solid #a5d6a7; border-left: 4px solid #2d7d32; border-radius: 6px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.12); animation: dashToastIn-b-0mp99p6xyk .25s ease; }
.dash-toast-icon[b-0mp99p6xyk]  { width: 24px; height: 24px; background: #2d7d32; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.dash-toast-title[b-0mp99p6xyk] { font-size: 12px; font-weight: 600; color: #1b5e20; }
.dash-toast-sub[b-0mp99p6xyk]   { font-size: 11px; color: #888; }
@keyframes dashToastIn-b-0mp99p6xyk { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 900px) {
    .dash-grid[b-0mp99p6xyk] { grid-template-columns: 1fr; }
}
/* ── Pending analysis panel ──────────────────────────────────────────── */
.dash-pending-panel[b-0mp99p6xyk] { background: #fff; border: 1px solid #a5d6a7; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(27,94,32,.08); overflow: hidden; }
.dash-pending-header[b-0mp99p6xyk] { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); padding: 14px 20px; }
.dash-pending-header-left[b-0mp99p6xyk] { display: flex; align-items: center; gap: 12px; }
.dash-pending-title[b-0mp99p6xyk]  { font-size: 15px; font-weight: 700; color: #fff; }
.dash-pending-entity[b-0mp99p6xyk] { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 2px 10px; font-size: 11px; color: #fff; }
.dash-pending-dismiss[b-0mp99p6xyk] { background: none; border: none; color: rgba(255,255,255,.7); font-size: 16px; cursor: pointer; line-height: 1; padding: 2px 4px; }
.dash-pending-dismiss:hover[b-0mp99p6xyk] { color: #fff; }
.dash-pending-body[b-0mp99p6xyk]   { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.dash-pending-section[b-0mp99p6xyk] { display: flex; flex-direction: column; gap: 5px; }
.dash-pending-label[b-0mp99p6xyk]  { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #888; }
.dash-pending-chips[b-0mp99p6xyk]  { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px; background: #f8faf8; border: 1px solid #dee2e6; border-radius: 6px; min-height: 38px; align-items: center; }
.dash-pending-chip[b-0mp99p6xyk]   { display: inline-flex; align-items: center; gap: 5px; background: #d1ecf1; color: #0c5460; border-radius: 12px; padding: 3px 10px; font-size: 12px; }
.dash-pending-chip-warn[b-0mp99p6xyk] { background: #fff3cd; color: #664d03; }
.dash-pending-warn-icon[b-0mp99p6xyk]  { font-size: 11px; }
.dash-pending-chip-remove[b-0mp99p6xyk] { background: none; border: none; color: inherit; font-size: 11px; cursor: pointer; padding: 0 0 0 2px; line-height: 1; opacity: .6; }
.dash-pending-chip-remove:hover[b-0mp99p6xyk] { opacity: 1; }
.dash-pending-warn-note[b-0mp99p6xyk] { font-size: 11.5px; color: #664d03; background: #fff3cd; border: 1px solid #ffc107; border-radius: 4px; padding: 6px 10px; margin-top: 4px; }
.dash-pending-prompt[b-0mp99p6xyk] { font-size: 13px; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; resize: vertical; min-height: 72px; border: 1px solid #c8e6c9 !important; border-radius: 6px !important; color: #333; line-height: 1.55; transition: border-color .12s ease, box-shadow .12s ease; }
.dash-pending-prompt:focus[b-0mp99p6xyk] { border-color: #2d7d32 !important; box-shadow: 0 0 0 2px rgba(45,125,50,.12) !important; outline: none; }
.dash-pending-prompt:disabled[b-0mp99p6xyk] { background: #f8faf8 !important; border-color: #e0e0e0 !important; color: #aaa; }
.dash-pending-actions[b-0mp99p6xyk] { display: flex; align-items: center; gap: 8px; }
/* ── Prompt saver ────────────────────────────────────────────────────── */
.prompt-label-row[b-0mp99p6xyk] { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.prompt-label-row .dash-pending-label[b-0mp99p6xyk] { margin-bottom: 0; flex: 1; }
.prompt-save-trigger[b-0mp99p6xyk] { background: none; border: 1px solid #c8e6c9; color: #2d7d32; border-radius: 5px; padding: 3px 10px; font-size: 11px; font-weight: 600; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: background .12s ease, border-color .12s ease; }
.prompt-save-trigger:hover:not(:disabled)[b-0mp99p6xyk] { background: #e8f5e9; border-color: #a5d6a7; }
.prompt-save-trigger:disabled[b-0mp99p6xyk] { opacity: .35; cursor: not-allowed; }
.prompt-save-row[b-0mp99p6xyk] { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; margin-top: 5px; }
.prompt-save-name[b-0mp99p6xyk] { font-size: 12px !important; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif !important; padding: 4px 8px !important; height: 28px !important; width: 130px; border: 1px solid #c8e6c9 !important; border-radius: 5px !important; outline: none; transition: border-color .12s ease; }
.prompt-save-name:focus[b-0mp99p6xyk] { border-color: #2d7d32 !important; box-shadow: 0 0 0 2px rgba(45,125,50,.12); }
.prompt-save-ok[b-0mp99p6xyk] { background: #2d7d32; color: #fff; border: none; border-radius: 5px; padding: 0 11px; font-size: 12px; font-weight: 600; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; cursor: pointer; height: 28px; white-space: nowrap; transition: background .12s ease; }
.prompt-save-ok:hover[b-0mp99p6xyk] { background: #1b5e20; }
.prompt-save-x[b-0mp99p6xyk]  { background: none; border: 1px solid #ddd; color: #888; border-radius: 5px; padding: 0 9px; font-size: 12px; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; cursor: pointer; height: 28px; transition: color .12s ease, border-color .12s ease; }
.prompt-save-x:hover[b-0mp99p6xyk] { color: #555; border-color: #aaa; }
.prompt-save-error[b-0mp99p6xyk] { font-size: 11px; color: #c62828; margin-top: 4px; }
.prompt-chips[b-0mp99p6xyk] { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 6px; }
.prompt-chip[b-0mp99p6xyk] { display: inline-flex; align-items: center; gap: 2px; background: #e8f5e9; border: 1px solid #c8e6c9; border-radius: 12px; padding: 2px 4px 2px 9px; font-size: 11px; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; color: #1b5e20; cursor: pointer; max-width: 200px; transition: background .12s ease, border-color .12s ease; }
.prompt-chip:hover[b-0mp99p6xyk] { background: #d4edd4; border-color: #a5d6a7; }
.prompt-chip-name[b-0mp99p6xyk] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prompt-chip-del[b-0mp99p6xyk] { background: none; border: none; color: #2d7d32; font-size: 13px; line-height: 1; cursor: pointer; padding: 0 3px; opacity: .55; flex-shrink: 0; transition: opacity .12s ease; }
.prompt-chip-del:hover[b-0mp99p6xyk] { opacity: 1; }
/* Sidebar variant */
.insights-custom-prompt-wrap .prompt-save-trigger[b-0mp99p6xyk] { display: block; width: 100%; margin-top: 6px; text-align: center; padding: 5px; }
.insights-custom-prompt-wrap .prompt-save-row[b-0mp99p6xyk] { margin-top: 6px; }
.insights-custom-prompt-wrap .prompt-save-name[b-0mp99p6xyk] { flex: 1; width: auto; min-width: 0; }
.insights-custom-prompt-wrap .prompt-chips[b-0mp99p6xyk] { padding: 7px 0 2px; }
/* ── Save As button ─────────────────────────────────────────────────── */
.dash-doc-saveas-btn[b-0mp99p6xyk] { background: #2d7d32 !important; color: #fff !important; border-color: #2d7d32 !important; font-weight: 600; }
.dash-doc-saveas-btn:hover[b-0mp99p6xyk] { background: #1b5e20 !important; border-color: #1b5e20 !important; }
/* ── Save As modal ──────────────────────────────────────────────────── */
.saveas-overlay[b-0mp99p6xyk] { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9000; display: flex; align-items: center; justify-content: center; animation: dashToastIn-b-0mp99p6xyk .15s ease; }
.saveas-dialog[b-0mp99p6xyk] { background: #fff; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,.18); width: 460px; max-width: calc(100vw - 32px); font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; }
.saveas-header[b-0mp99p6xyk] { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid #f0f0f0; }
.saveas-title[b-0mp99p6xyk]  { font-size: 15px; font-weight: 700; color: #1b5e20; }
.saveas-close[b-0mp99p6xyk]  { background: none; border: none; color: #bbb; font-size: 16px; cursor: pointer; padding: 2px 4px; border-radius: 4px; transition: color .12s, background .12s; }
.saveas-close:hover[b-0mp99p6xyk] { color: #555; background: #f0f0f0; }
.saveas-body[b-0mp99p6xyk]   { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.saveas-field[b-0mp99p6xyk]  { display: flex; flex-direction: column; gap: 5px; }
.saveas-label[b-0mp99p6xyk]  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #888; }
.saveas-label-sub[b-0mp99p6xyk] { font-weight: 400; text-transform: none; letter-spacing: 0; color: #bbb; }
.saveas-input[b-0mp99p6xyk]  { font-size: 13px; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; border: 1px solid #c8e6c9 !important; border-radius: 6px !important; color: #333; transition: border-color .12s, box-shadow .12s; }
.saveas-input:focus[b-0mp99p6xyk] { border-color: #2d7d32 !important; box-shadow: 0 0 0 2px rgba(45,125,50,.12) !important; outline: none; }
.saveas-select[b-0mp99p6xyk] { font-size: 13px; font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif; border: 1px solid #c8e6c9 !important; border-radius: 6px !important; color: #333; transition: border-color .12s, box-shadow .12s; }
.saveas-select:focus[b-0mp99p6xyk] { border-color: #2d7d32 !important; box-shadow: 0 0 0 2px rgba(45,125,50,.12) !important; outline: none; }
.saveas-formats[b-0mp99p6xyk] { display: flex; gap: 10px; }
.saveas-format-opt[b-0mp99p6xyk] { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid #e0e0e0; border-radius: 6px; cursor: pointer; font-size: 13px; color: #555; transition: border-color .12s, background .12s; }
.saveas-format-opt input[b-0mp99p6xyk] { accent-color: #2d7d32; }
.saveas-format-active[b-0mp99p6xyk] { border-color: #2d7d32; background: #f1f8f1; color: #1b5e20; font-weight: 600; }
.saveas-checkbox-opt[b-0mp99p6xyk] { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #555; cursor: pointer; }
.saveas-checkbox-opt input[b-0mp99p6xyk] { accent-color: #2d7d32; }
.saveas-error[b-0mp99p6xyk]  { font-size: 12px; color: #c62828; background: #fff8f8; border: 1px solid #fcc; border-radius: 5px; padding: 7px 10px; }
.saveas-footer[b-0mp99p6xyk] { display: flex; gap: 8px; padding: 14px 20px 18px; border-top: 1px solid #f0f0f0; justify-content: flex-end; }
.saveas-charts-note[b-0mp99p6xyk] { font-size: 12px; color: #7b5800; background: #fff8e1; border: 1px solid #ffe082; border-radius: 5px; padding: 8px 12px; }
.dash-charts-header[b-0mp99p6xyk] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-charts-header .dash-doc-dl-btn[b-0mp99p6xyk] { background: none; border: 1px solid #c8e6c9; color: #2d7d32; font-weight: 600; }
.dash-charts-header .dash-doc-dl-btn:hover[b-0mp99p6xyk] { background: #e8f5e9; border-color: #a5d6a7; }
.dash-charts-header .dash-doc-saveas-btn[b-0mp99p6xyk] { background: #2d7d32 !important; border-color: #2d7d32 !important; color: #fff !important; }
.dash-charts-header .dash-doc-saveas-btn:hover[b-0mp99p6xyk] { background: #1b5e20 !important; border-color: #1b5e20 !important; }
/* ── AI Query Database button ───────────────────────────────── */
.insights-ai-query-btn[b-0mp99p6xyk] { margin-left: 8px; color: #1a3a5c !important; border-color: #1a3a5c !important; }
.insights-ai-query-btn:hover[b-0mp99p6xyk] { background: #e8eef5 !important; color: #25527f !important; border-color: #25527f !important; }
/* ── AI chat modal overlay ─────────────────────────────────── */
.ai-chat-overlay[b-0mp99p6xyk] { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1200; display: flex; align-items: center; justify-content: center; }
.ai-chat-modal[b-0mp99p6xyk] { position: relative; width: min(680px, 95vw); height: min(600px, 90vh); min-width: 340px; min-height: 300px; max-width: 95vw; max-height: 92vh; resize: both; overflow: auto; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.ai-chat-modal-inner[b-0mp99p6xyk] { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fff; }
.ai-chat-modal-close[b-0mp99p6xyk] { position: absolute; top: 9px; right: 12px; background: none; border: none; font-size: 18px; color: rgba(255,255,255,0.8); cursor: pointer; z-index: 10; line-height: 1; padding: 0; }
.ai-chat-modal-close:hover[b-0mp99p6xyk] { color: #fff; }

.dash-pending-panel[b-0mp99p6xyk] {
    position: relative;
    padding-top: 36px; /* room for top-right button */
}

.panel-toggle-btn[b-0mp99p6xyk] {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.dash-pending-content.is-hidden[b-0mp99p6xyk] {
    display: none;
}
/* /Components/Pages/Counter.razor.rz.scp.css */
.counter-block[b-hlpbpoxmuv] {
    display: flex;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    flex-direction: column;
    border-radius: 1rem;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 16.875rem;
    height: 17rem;
    position: relative;
}

.counter-block .counter-content[b-hlpbpoxmuv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.counter-block .counter-count[b-hlpbpoxmuv] {
    font-size: 7.5rem;
    font-weight: 400;
    line-height: 7.75rem;
}

.counter-block .counter-block-back[b-hlpbpoxmuv] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bs-body-color, var(--dxds-color-content-neutral-default-rest));
    opacity: 0.05;
    border-radius: 1rem;
    z-index: -2;
}
/* /Components/Pages/Documents.razor.rz.scp.css */
.docs-wrapper[b-3e51p0xw91] {
    display: flex;
    position: relative;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 14px;
    height: calc(100vh - 60px);
    overflow: hidden;
    background: #fff;
}

/* ── Sidebar ─────────────────────────────────────────────────────────── */
.docs-sidebar[b-3e51p0xw91] {
    width: 290px;
    min-width: 290px;
    background-color: #E5E5E5;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.3s, min-width 0.3s;
    position: relative;
    flex-shrink: 0;
    padding-top: 32px;
    z-index: 10;
}

    .docs-sidebar.collapsed[b-3e51p0xw91] {
        width: 0;
        min-width: 0;
        padding: 0;
    }

.docs-closebtn[b-3e51p0xw91] {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    line-height: 1;
    padding: 0 4px;
}

.docs-toggle-btn[b-3e51p0xw91] {
    position: absolute;
    top: 4px;
    left: 0;
    font-size: 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    color: #333;
    border: none;
    padding: 5px 8px;
    z-index: 20;
}

    .docs-toggle-btn:hover[b-3e51p0xw91] {
        background-color: #ddd;
    }

.sidebar-client-section[b-3e51p0xw91] {
    padding: 0 10px 12px 10px;
    border-bottom: 1px solid #ccc;
}

.sidebar-label[b-3e51p0xw91] {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sidebar-input[b-3e51p0xw91] {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 8px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    margin-bottom: 6px;
}

.sidebar-load-btn[b-3e51p0xw91] {
    width: 100%;
    padding: 5px;
    font-size: 13px;
    background-color: #2d7d32;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .sidebar-load-btn:hover:not([disabled])[b-3e51p0xw91] {
        background-color: #1b5e20;
    }

    .sidebar-load-btn[disabled][b-3e51p0xw91] {
        opacity: 0.5;
        cursor: default;
    }

.sidebar-error[b-3e51p0xw91] {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
}

.sidebar-section-title[b-3e51p0xw91] {
    padding: 8px 10px 4px;
    font-size: 11px;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entities-list[b-3e51p0xw91] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entity-link[b-3e51p0xw91] {
    display: block;
    padding: 6px 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    background-color: #E5E5E5;
    border-radius: 4px;
    margin: 1px 6px;
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

    .entity-link:hover[b-3e51p0xw91] {
        background-color: #d4d4d4;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    }

.entity-link-active[b-3e51p0xw91] {
    background-color: #2d7d32 !important;
    color: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.sidebar-empty[b-3e51p0xw91] {
    padding: 10px;
    color: #888;
    font-size: 13px;
}

/* ── Main content ────────────────────────────────────────────────────── */
.docs-main[b-3e51p0xw91] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    min-width: 0;
}

.docs-placeholder[b-3e51p0xw91] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
    color: #aaa;
}

.docs-placeholder-icon[b-3e51p0xw91] {
    font-size: 80px;
    margin-bottom: 12px;
}

.docs-placeholder-text[b-3e51p0xw91] {
    font-size: 15px;
}

/* ── Toolbar ─────────────────────────────────────────────────────────── */
.docs-toolbar[b-3e51p0xw91] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 8px;
}

.docs-btn[b-3e51p0xw91] {
    padding: 5px 12px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    color: #333;
    transition: background 0.15s;
    white-space: nowrap;
}

    .docs-btn:hover:not([disabled])[b-3e51p0xw91] {
        background: #e9ecef;
    }

    .docs-btn[disabled][b-3e51p0xw91] {
        opacity: 0.45;
        cursor: default;
    }

.docs-btn-danger[b-3e51p0xw91] {
    border-color: #e74c3c;
    color: #e74c3c;
}

    .docs-btn-danger:hover:not([disabled])[b-3e51p0xw91] {
        background: #fdecea;
    }

.docs-btn-ai[b-3e51p0xw91] {
    background: #2d7d32;
    color: #fff;
    border-color: #2d7d32;
}

    .docs-btn-ai:hover:not([disabled])[b-3e51p0xw91] {
        background: #1b5e20;
    }

    .docs-btn-ai[disabled][b-3e51p0xw91] {
        background: #7aaa7d;
        border-color: #7aaa7d;
    }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.docs-breadcrumb[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    padding: 5px 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 8px;
}

.bc-link[b-3e51p0xw91] {
    color: #2d7d32;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
}

    .bc-link:hover[b-3e51p0xw91] {
        background: #e9ecef;
    }

.bc-sep[b-3e51p0xw91] {
    color: #999;
    padding: 0 2px;
}

/* ── Search bar ─────────────────────────────────────────────────────── */
.docs-search-bar[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 4px 10px;
}

.docs-search-icon[b-3e51p0xw91] {
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
}

.docs-search-input[b-3e51p0xw91] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    outline: none;
    color: #333;
    min-width: 0;
}

.docs-search-clear[b-3e51p0xw91] {
    background: none;
    border: none;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
}

    .docs-search-clear:hover[b-3e51p0xw91] {
        color: #333;
    }

.docs-search-count[b-3e51p0xw91] {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    border-left: 1px solid #dee2e6;
    padding-left: 8px;
}

/* ── File table ──────────────────────────────────────────────────────── */
.docs-grid-wrapper[b-3e51p0xw91] {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

.docs-table[b-3e51p0xw91] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

    .docs-table thead tr[b-3e51p0xw91] {
        background: #f0f2f5;
        border-bottom: 2px solid #dee2e6;
    }

    .docs-table th[b-3e51p0xw91] {
        padding: 8px 10px;
        text-align: left;
        font-weight: 600;
        color: #444;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

.docs-row[b-3e51p0xw91] {
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    user-select: none;
}

    .docs-row:hover[b-3e51p0xw91] {
        background: #f5f7fa;
    }

.docs-row-selected[b-3e51p0xw91] {
    background: #e8f5e9 !important;
}

.docs-row td[b-3e51p0xw91] {
    padding: 7px 10px;
    vertical-align: middle;
}

.docs-icon-cell[b-3e51p0xw91] {
    font-size: 18px;
    text-align: center;
    padding: 4px 6px;
}

.docs-folder-link[b-3e51p0xw91] {
    color: #2d7d32;
    cursor: pointer;
    font-weight: 500;
}

    .docs-folder-link:hover[b-3e51p0xw91] {
        text-decoration: underline;
    }

.docs-meta[b-3e51p0xw91] {
    color: #777;
    font-size: 12.5px;
}

.docs-empty-row[b-3e51p0xw91] {
    text-align: center;
    padding: 32px !important;
    color: #aaa;
    font-style: italic;
}

/* ── States ──────────────────────────────────────────────────────────── */
.docs-loading[b-3e51p0xw91] {
    padding: 12px;
    color: #666;
    font-style: italic;
}

.docs-alert-danger[b-3e51p0xw91] {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 8px;
}

/* ── AI Panel ────────────────────────────────────────────────────────── */
.docs-ai-panel[b-3e51p0xw91] {
    margin-top: 12px;
    border: 1px solid #2d7d32;
    border-radius: 4px;
    overflow: hidden;
}

.docs-ai-header[b-3e51p0xw91] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2d7d32;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
}

.docs-ai-close[b-3e51p0xw91] {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
}

.docs-ai-loading[b-3e51p0xw91] {
    padding: 12px;
    color: #555;
    font-style: italic;
}

.docs-ai-body[b-3e51p0xw91] {
    padding: 12px 14px 10px;
    background: #f8f9fb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-section[b-3e51p0xw91] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-label[b-3e51p0xw91] {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

.ai-chips-container[b-3e51p0xw91] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    min-height: 34px;
    align-items: center;
}

.ai-chips-placeholder[b-3e51p0xw91] {
    font-size: 12px;
    color: #aaa;
    font-style: italic;
}

.ai-chip[b-3e51p0xw91] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d1ecf1;
    color: #0c5460;
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 12px;
}

.ai-chip-remove[b-3e51p0xw91] {
    background: none;
    border: none;
    color: #0c5460;
    font-size: 11px;
    cursor: pointer;
    padding: 0 0 0 2px;
    line-height: 1;
    opacity: 0.7;
}

    .ai-chip-remove:hover[b-3e51p0xw91] {
        opacity: 1;
    }

.ai-prompt-textarea[b-3e51p0xw91] {
    font-size: 0.85rem;
    resize: vertical;
    min-height: 72px;
}

.ai-actions[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-clear-btn[b-3e51p0xw91] {
    border-color: #e74c3c;
    color: #e74c3c;
}

    .ai-clear-btn:hover:not([disabled])[b-3e51p0xw91] {
        background: #fdecea;
    }

.ai-copy-btn[b-3e51p0xw91] {
    font-size: 12px;
    padding: 3px 10px;
}

.ai-spinner[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #666;
    font-style: italic;
}

.ai-spinner-dot[b-3e51p0xw91] {
    width: 10px;
    height: 10px;
    border: 2px solid #2d7d32;
    border-top-color: transparent;
    border-radius: 50%;
    animation: ai-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.ai-spinner-inline[b-3e51p0xw91] {
    display: inline-block;
    width: 11px;
    height: 11px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ai-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@@keyframes ai-spin {
    to[b-3e51p0xw91] {
        transform: rotate(360deg);
    }
}

.ai-complete-badge[b-3e51p0xw91] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #2d7d32;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 12px;
    padding: 2px 10px;
}

.docs-ai-toast[b-3e51p0xw91] {
    position: fixed;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #fff;
    border: 1px solid #2d7d32;
    border-left: 5px solid #2d7d32;
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    min-width: 320px;
    animation: toastSlideDown 0.3s ease;
}

@@keyframes toastSlideDown {
    from[b-3e51p0xw91] {
        opacity: 0;
        transform: translateX(-50%) translateY(-16px);
    }

    to[b-3e51p0xw91] {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.docs-ai-toast-icon[b-3e51p0xw91] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2d7d32;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.docs-ai-toast-body[b-3e51p0xw91] {
    flex: 1;
}

.docs-ai-toast-title[b-3e51p0xw91] {
    font-size: 13px;
    font-weight: 600;
    color: #1b5e20;
}

.docs-ai-toast-sub[b-3e51p0xw91] {
    font-size: 11px;
    color: #555;
    margin-top: 1px;
}

.docs-ai-toast-close[b-3e51p0xw91] {
    background: none;
    border: none;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    flex-shrink: 0;
}

    .docs-ai-toast-close:hover[b-3e51p0xw91] {
        color: #333;
    }

.ai-divider[b-3e51p0xw91] {
    margin: 8px 0;
    border-color: #dee2e6;
}

.ai-result-header[b-3e51p0xw91] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.ai-result-actions[b-3e51p0xw91] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.docs-ai-result[b-3e51p0xw91] {
    margin: 0;
    padding: 14px;
    font-size: 12.5px;
    background: #f8f9fa;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.45;
    color: #333;
}

    .docs-ai-result h1[b-3e51p0xw91],
    .docs-ai-result h2[b-3e51p0xw91],
    .docs-ai-result h3[b-3e51p0xw91] {
        margin: 8px 0;
        color: #2d7d32;
    }

    .docs-ai-result p[b-3e51p0xw91],
    .docs-ai-result ul[b-3e51p0xw91],
    .docs-ai-result ol[b-3e51p0xw91] {
        margin-bottom: 8px;
    }

    .docs-ai-result .mermaid[b-3e51p0xw91] {
        background: #fff;
        border: 1px solid #dfe3e8;
        border-radius: 4px;
        padding: 8px;
        margin: 10px 0;
    }

/* ── Preview Modal ───────────────────────────────────────────────────── */
.preview-overlay[b-3e51p0xw91] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-modal[b-3e51p0xw91] {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    width: 88vw;
    height: 90vh;
    max-width: 1400px;
    overflow: hidden;
}

.preview-header[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2d7d32;
    color: #fff;
    padding: 10px 14px;
    flex-shrink: 0;
    gap: 10px;
}

.preview-title[b-3e51p0xw91] {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.preview-header-actions[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.preview-btn-dl[b-3e51p0xw91] {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

    .preview-btn-dl:hover[b-3e51p0xw91] {
        background: rgba(255,255,255,0.25);
    }

.preview-close[b-3e51p0xw91] {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

    .preview-close:hover[b-3e51p0xw91] {
        color: #ffd;
    }

.preview-body[b-3e51p0xw91] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.preview-loading[b-3e51p0xw91] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
    font-size: 14px;
}

/* Image */
.preview-image-wrap[b-3e51p0xw91] {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    padding: 12px;
}

.preview-image[b-3e51p0xw91] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 2px;
}

/* PDF / iframe */
.preview-iframe[b-3e51p0xw91] {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video */
.preview-video-wrap[b-3e51p0xw91] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 12px;
}

.preview-video[b-3e51p0xw91] {
    max-width: 100%;
    max-height: 100%;
}

/* Text */
.preview-text[b-3e51p0xw91] {
    flex: 1;
    margin: 0;
    padding: 16px 20px;
    overflow: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 12.5px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    background: #fafafa;
    color: #222;
    width: 100%;
}

/* CSV */
.preview-csv-wrap[b-3e51p0xw91] {
    flex: 1;
    overflow: auto;
    width: 100%;
    padding: 12px;
    background: #fafafa;
}

.preview-csv-table[b-3e51p0xw91] {
    border-collapse: collapse;
    font-size: 12.5px;
    font-family: 'Consolas', 'Courier New', monospace;
    width: max-content;
    min-width: 100%;
}

    .preview-csv-table th[b-3e51p0xw91] {
        position: sticky;
        top: 0;
        background: #2d7d32;
        color: #fff;
        padding: 7px 12px;
        text-align: left;
        font-weight: 600;
        white-space: nowrap;
        border-right: 1px solid rgba(255,255,255,0.15);
        z-index: 2;
    }

    .preview-csv-table td[b-3e51p0xw91] {
        padding: 5px 12px;
        border-bottom: 1px solid #e8e8e8;
        border-right: 1px solid #e8e8e8;
        white-space: nowrap;
        color: #222;
        background: #fff;
    }

    .preview-csv-table tbody tr:nth-child(even) td[b-3e51p0xw91] {
        background: #f5f7fa;
    }

    .preview-csv-table tbody tr:hover td[b-3e51p0xw91] {
        background: #e8f5e9;
    }

.preview-csv-empty[b-3e51p0xw91] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-style: italic;
    font-size: 14px;
}

/* Unsupported */
.preview-unsupported[b-3e51p0xw91] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #888;
}

.preview-unsupported-icon[b-3e51p0xw91] {
    font-size: 64px;
}

.preview-unsupported-msg[b-3e51p0xw91] {
    font-size: 15px;
}

/* ── Entity search ───────────────────────────────────────────────────── */
.sidebar-entity-search-wrap[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    margin: 4px 6px 6px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 3px 6px;
}

.sidebar-entity-input[b-3e51p0xw91] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 12.5px;
    outline: none;
    color: #333;
    min-width: 0;
}

.sidebar-entity-clear[b-3e51p0xw91] {
    background: none;
    border: none;
    font-size: 11px;
    color: #888;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
}

    .sidebar-entity-clear:hover[b-3e51p0xw91] {
        color: #333;
    }

/* ── Context menu ────────────────────────────────────────────────────── */
.docs-ctx-menu[b-3e51p0xw91] {
    position: fixed;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    z-index: 9999;
    min-width: 170px;
    padding: 4px 0;
    user-select: none;
}

.docs-ctx-item[b-3e51p0xw91] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 16px;
    background: none;
    border: none;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

    .docs-ctx-item:hover[b-3e51p0xw91] {
        background: #f0f0f0;
    }

.docs-ctx-danger[b-3e51p0xw91] {
    color: #e74c3c;
}

    .docs-ctx-danger:hover[b-3e51p0xw91] {
        background: #fdecea;
    }

.docs-ctx-sep[b-3e51p0xw91] {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

/* ── Refresh button variant ─────────────────────────────────────────── */
.docs-btn-refresh[b-3e51p0xw91] {
    margin-left: auto;
    color: #555;
}

    .docs-btn-refresh:hover:not(:disabled)[b-3e51p0xw91] {
        color: #2d7d32;
        border-color: #a5d6a7;
    }

/* ── Move dialog ─────────────────────────────────────────────────────── */
.move-breadcrumb[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 0 12px;
    font-size: 12.5px;
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
}

.move-bc-link[b-3e51p0xw91] {
    color: #2d7d32;
    cursor: pointer;
    font-weight: 600;
}

    .move-bc-link:hover[b-3e51p0xw91] {
        text-decoration: underline;
    }

.move-bc-sep[b-3e51p0xw91] {
    color: #bbb;
    font-size: 11px;
}

.move-folder-list[b-3e51p0xw91] {
    min-height: 100px;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 12px;
}

.move-folder-item[b-3e51p0xw91] {
    display: block;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

    .move-folder-item:last-child[b-3e51p0xw91] {
        border-bottom: none;
    }

    .move-folder-item:hover[b-3e51p0xw91] {
        background: #f1f8f1;
        color: #1b5e20;
    }

.move-msg[b-3e51p0xw91] {
    padding: 18px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

.move-error[b-3e51p0xw91] {
    color: #c62828;
    font-size: 12px;
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 6px 10px;
    margin-bottom: 8px;
}

.move-actions[b-3e51p0xw91] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.move-confirm-btn[b-3e51p0xw91] {
    background: #2d7d32;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .move-confirm-btn:hover:not(:disabled)[b-3e51p0xw91] {
        background: #1b5e20;
    }

    .move-confirm-btn:disabled[b-3e51p0xw91] {
        opacity: .4;
        cursor: not-allowed;
    }

.move-cancel-btn[b-3e51p0xw91] {
    background: none;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 5px;
    padding: 7px 14px;
    font-size: 13px;
    cursor: pointer;
}

    .move-cancel-btn:hover[b-3e51p0xw91] {
        border-color: #aaa;
        color: #333;
    }

.move-entity-row[b-3e51p0xw91] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.move-entity-label[b-3e51p0xw91] {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.move-entity-select[b-3e51p0xw91] {
    flex: 1;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    color: #333;
    background: #fff;
}

/* ── AI unsupported file warning ─────────────────────────────────────── */
.ai-chip-warn[b-3e51p0xw91] {
    background: #fff3cd !important;
    color: #856404 !important;
}

.ai-chip-warn-icon[b-3e51p0xw91] {
    font-size: 11px;
    margin-left: 4px;
    font-weight: 600;
}

.ai-unsupported-note[b-3e51p0xw91] {
    width: 100%;
    margin-top: 4px;
    padding: 6px 10px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 12px;
    color: #664d03;
    line-height: 1.4;
}

/* ── Upload drop zone ────────────────────────────────────────────────── */
.upload-drop-zone[b-3e51p0xw91] {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 32px 16px;
    text-align: center;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 4px;
}

    .upload-drop-zone:hover:not(.upload-drop-zone-busy)[b-3e51p0xw91], .upload-drop-zone-active[b-3e51p0xw91] {
        border-color: #2d7d32;
        background: #f0faf0;
    }

.upload-drop-zone-busy[b-3e51p0xw91] {
    border-style: solid;
    border-color: #2d7d32;
    cursor: default;
}

.upload-drop-zone-content[b-3e51p0xw91] {
    pointer-events: none;
}

.upload-drop-icon[b-3e51p0xw91] {
    font-size: 36px;
    margin-bottom: 8px;
    color: #888;
}

.upload-drop-primary[b-3e51p0xw91] {
    font-size: 14px;
    color: #444;
    margin-bottom: 4px;
}

.upload-drop-secondary[b-3e51p0xw91] {
    font-size: 12px;
    color: #999;
    margin-bottom: 14px;
}

.upload-browse-btn[b-3e51p0xw91] {
    pointer-events: none;
    display: inline-block;
    padding: 7px 22px;
    background: #2d7d32;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
/* /Components/Pages/Index.razor.rz.scp.css */
[b-rhipk1my72] .welcome-gridlayout {
    margin: auto;
    width: auto;
    height: auto;
}

[b-rhipk1my72] .welcome-gridlayout .dxbl-gridlayout-root {
    align-content: center;
    justify-content: center;
}

[b-rhipk1my72] .title {
    text-align: center;
}

[b-rhipk1my72] .welcome-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

[b-rhipk1my72] .welcome-card {
    width: 26.25rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    border-radius: 1rem;
    color: var(--bs-link-color, var(--dxds-primary-90));
    gap: 1.5rem;
    text-decoration: none;
    position: relative;
}

[b-rhipk1my72] .welcome-card:hover {
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
}

[b-rhipk1my72] .welcome-card .welcome-card-img {
    width: 6.5rem;
    height: 6.5rem;
}

[b-rhipk1my72] .welcome-card .welcome-card-text {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: center;
    text-decoration: unset;
}

[b-rhipk1my72] .welcome-card .welcome-card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bs-body-color, var(--dxds-color-content-neutral-default-rest));
    opacity: 0.05;
    border-radius: 1rem;
    z-index: -2;
}
/* /Components/Shared/AiChatBot.razor.rz.scp.css */
.chatbot[b-wwzv7hite9] {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    font-size: 0.9rem;
    height: 100%;
}

/* ── Header ─────────────────────────────────────────────── */
.chatbot-header[b-wwzv7hite9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;  /*8px;*/
    padding: 10px 14px;
    background: #1a3a5c;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.chatbot-icon[b-wwzv7hite9] {
    font-size: 1.1rem;
}

.chatbot-customer[b-wwzv7hite9] {
    margin-left: auto;
    margin-right: 20px;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    background: rgba(255,255,255,0.15);
    padding: 2px 30px;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.chatbot-clear-btn[b-wwzv7hite9] {
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    color: inherit;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 2px 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.chatbot-clear-btn:hover:not(:disabled)[b-wwzv7hite9] {
    opacity: 1;

}
.chatbot-clear-btn:disabled[b-wwzv7hite9] {
    cursor: not-allowed;
    opacity: 0.3;
}

/* ── Message list ───────────────────────────────────────── */
.chatbot-messages[b-wwzv7hite9] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9fa;
}

/* ── Individual messages ────────────────────────────────── */
.chatbot-msg[b-wwzv7hite9] {
    display: flex;
}

.chatbot-msg--user[b-wwzv7hite9] {
    justify-content: flex-end;
}

.chatbot-msg--assistant[b-wwzv7hite9],
.chatbot-msg--error[b-wwzv7hite9] {
    justify-content: flex-start;
}

.chatbot-bubble[b-wwzv7hite9] {
    max-width: 80%;
    padding: 9px 13px;
    border-radius: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.chatbot-msg--user .chatbot-bubble[b-wwzv7hite9] {
    background: #1a3a5c;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chatbot-msg--assistant .chatbot-bubble[b-wwzv7hite9] {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
}

.chatbot-bubble--error[b-wwzv7hite9] {
    background: #fff3f3;
    border: 1px solid #f5c2c2;
    color: #b00020;
}

/* ── Answer meta row ────────────────────────────────────── */
.chatbot-meta[b-wwzv7hite9] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.chatbot-badge[b-wwzv7hite9] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.chatbot-badge--sql[b-wwzv7hite9] {
    background: #e8f0fe;
    color: #1a3a5c;
}

.chatbot-row-count[b-wwzv7hite9] {
    font-size: 0.78rem;
    color: #6c757d;
}

.chatbot-error-note[b-wwzv7hite9] {
    margin-top: 5px;
    font-size: 0.78rem;
    color: #b00020;
}

/* ── Typing indicator ───────────────────────────────────── */
.chatbot-bubble--loading[b-wwzv7hite9] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.chatbot-dot[b-wwzv7hite9] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a3a5c;
    animation: chatbot-bounce-b-wwzv7hite9 1.2s infinite ease-in-out;
}

.chatbot-dot:nth-child(2)[b-wwzv7hite9] { animation-delay: 0.2s; }
.chatbot-dot:nth-child(3)[b-wwzv7hite9] { animation-delay: 0.4s; }

@keyframes chatbot-bounce-b-wwzv7hite9 {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40%            { transform: translateY(-6px); opacity: 1; }
}

/* ── Input row ──────────────────────────────────────────── */
.chatbot-input-row[b-wwzv7hite9] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

.chatbot-input[b-wwzv7hite9] {
    flex: 1;
    resize: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.875rem;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.15s;
}

.chatbot-input:focus[b-wwzv7hite9] {
    border-color: #1a3a5c;
}

.chatbot-send-btn[b-wwzv7hite9] {
    min-width: 64px;
    height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    background: #1a3a5c;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.chatbot-send-btn:hover:not(:disabled)[b-wwzv7hite9] {
    background: #25527f;
}

.chatbot-send-btn:disabled[b-wwzv7hite9] {
    opacity: 0.5;
    cursor: default;
}

/* ── Send spinner ───────────────────────────────────────── */
.chatbot-spinner[b-wwzv7hite9] {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: chatbot-spin-b-wwzv7hite9 0.7s linear infinite;
}

@keyframes chatbot-spin-b-wwzv7hite9 {
    to { transform: rotate(360deg); }
}

/* ── Markdown content ───────────────────────────────────── */
.chatbot-answer[b-wwzv7hite9] {
    overflow-x: auto;
}

.chatbot-answer h1[b-wwzv7hite9],
.chatbot-answer h2[b-wwzv7hite9] {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.8em 0 0.3em;
    color: #1a3a5c;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 3px;
}

.chatbot-answer h3[b-wwzv7hite9],
.chatbot-answer h4[b-wwzv7hite9] {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.7em 0 0.25em;
    color: #1a3a5c;
}

.chatbot-answer p[b-wwzv7hite9] {
    margin: 0.4em 0;
}

.chatbot-answer ul[b-wwzv7hite9],
.chatbot-answer ol[b-wwzv7hite9] {
    margin: 0.4em 0 0.4em 1.4em;
    padding: 0;
}

.chatbot-answer li[b-wwzv7hite9] {
    margin-bottom: 2px;
}

.chatbot-answer table[b-wwzv7hite9] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin: 0.6em 0;
}

.chatbot-answer th[b-wwzv7hite9] {
    background: #1a3a5c;
    color: #fff;
    font-weight: 600;
    padding: 6px 10px;
    text-align: left;
    white-space: nowrap;
}

.chatbot-answer td[b-wwzv7hite9] {
    padding: 5px 10px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.chatbot-answer tr:nth-child(even) td[b-wwzv7hite9] {
    background: #f4f7fb;
}

.chatbot-answer hr[b-wwzv7hite9] {
    border: none;
    border-top: 1px solid #dce3eb;
    margin: 0.7em 0;
}

.chatbot-answer blockquote[b-wwzv7hite9] {
    margin: 0.6em 0;
    padding: 6px 12px;
    border-left: 3px solid #1a3a5c;
    background: #f4f7fb;
    border-radius: 0 6px 6px 0;
    color: #444;
    font-size: 0.87rem;
}

.chatbot-answer code[b-wwzv7hite9] {
    background: #f0f0f0;
    border-radius: 3px;
    padding: 1px 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.85em;
}

.chatbot-answer pre[b-wwzv7hite9] {
    background: #1e2a3a;
    color: #e8eaf0;
    padding: 10px 14px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.82rem;
    margin: 0.5em 0;
}

.chatbot-answer pre code[b-wwzv7hite9] {
    background: none;
    padding: 0;
    color: inherit;
}

.chatbot-answer strong[b-wwzv7hite9] {
    font-weight: 700;
}

.chatbot-answer em[b-wwzv7hite9] {
    font-style: italic;
}
/* /Components/Shared/AiReportViewer.razor.rz.scp.css */
/* CSS for AiReportViewer component */
/* Loading */
.arv-loading-label[b-e86ol654k9] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.arv-spinner[b-e86ol654k9] {
    width: 13px;
    height: 13px;
    border: 2px solid #c8e6c9;
    border-top-color: #2d7d32;
    border-radius: 50%;
    animation: arvSpin .7s linear infinite;
    flex-shrink: 0;
    display: inline-block;
}

@@keyframes arvSpin {
    to[b-e86ol654k9] {
        transform: rotate(360deg);
    }
}

.arv-skeleton-grid[b-e86ol654k9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.arv-skeleton-card[b-e86ol654k9] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 18px;
}

.arv-skeleton-bar[b-e86ol654k9] {
    height: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    background: linear-gradient(90deg,#e8e8e8 25%,#f4f4f4 50%,#e8e8e8 75%);
    background-size: 400% 100%;
    animation: arvShimmer 1.4s infinite linear;
}

.arv-skeleton-bar-title[b-e86ol654k9] {
    height: 16px;
    width: 50%;
    margin-bottom: 14px;
}

.arv-skeleton-bar-body[b-e86ol654k9] {
    width: 100%;
}

@@keyframes arvShimmer {
    to[b-e86ol654k9] {
        background-position: -400% 0;
    }
}

/* AI badge */
.arv-ai-badge[b-e86ol654k9] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg,#1b5e20,#2e7d32);
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
}

.arv-ai-icon[b-e86ol654k9] {
    font-size: 16px;
}

.arv-ai-meta[b-e86ol654k9] {
    font-weight: 400;
    opacity: .85;
}

/* CSS Charts */
.arv-chart-grid[b-e86ol654k9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.arv-chart-card[b-e86ol654k9] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.arv-chart-title[b-e86ol654k9] {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 12px;
}

.arv-bar-row[b-e86ol654k9] {
    display: grid;
    grid-template-columns: 120px 1fr 70px;
    gap: 8px;
    align-items: center;
    margin-bottom: 7px;
}

.arv-bar-label[b-e86ol654k9] {
    font-size: 11px;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arv-bar-track[b-e86ol654k9] {
    height: 12px;
    background: #e8f5e9;
    border-radius: 6px;
    overflow: hidden;
}

.arv-bar-fill[b-e86ol654k9] {
    height: 100%;
    background: linear-gradient(90deg,#2d7d32,#66bb6a);
    border-radius: 6px;
    min-width: 2px;
    transition: width .3s;
}

.arv-bar-value[b-e86ol654k9] {
    font-size: 11px;
    color: #333;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* Report body */
.arv-report-wrap[b-e86ol654k9] {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(27,94,32,.08);
}

.arv-report-body[b-e86ol654k9] {
    padding: 22px 26px;
    font-size: 13px;
    line-height: 1.8;
    color: #444;
}

    .arv-report-body h1[b-e86ol654k9], .arv-report-body h2[b-e86ol654k9] {
        color: #1b5e20;
        font-size: 15px;
        font-weight: 700;
        margin: 18px 0 8px;
        border-bottom: 1px solid #e8f5e9;
        padding-bottom: 4px;
    }

    .arv-report-body h3[b-e86ol654k9], .arv-report-body h4[b-e86ol654k9] {
        color: #2d7d32;
        font-size: 13px;
        font-weight: 600;
        margin: 14px 0 5px;
    }

    .arv-report-body p[b-e86ol654k9] {
        margin: 0 0 8px;
    }

    .arv-report-body ul[b-e86ol654k9], .arv-report-body ol[b-e86ol654k9] {
        padding-left: 20px;
        margin: 0 0 8px;
    }

    .arv-report-body li[b-e86ol654k9] {
        margin-bottom: 4px;
    }

    .arv-report-body strong[b-e86ol654k9] {
        color: #222;
        font-weight: 600;
    }

    .arv-report-body table[b-e86ol654k9] {
        width: 100%;
        border-collapse: collapse;
        margin: 12px 0;
        font-size: 12.5px;
    }

    .arv-report-body th[b-e86ol654k9] {
        background: #e8f5e9;
        color: #1b5e20;
        padding: 7px 10px;
        text-align: left;
        font-weight: 600;
        border: 1px solid #c8e6c9;
    }

    .arv-report-body td[b-e86ol654k9] {
        padding: 6px 10px;
        border: 1px solid #e0e0e0;
    }

    .arv-report-body tr:nth-child(even) td[b-e86ol654k9] {
        background: #fafafa;
    }

/* Error */
.vr-error[b-e86ol654k9] {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px 16px;
    color: #c62828;
    font-size: 13px;
    font-weight: 500;
}

/* Empty */
.vr-empty[b-e86ol654k9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 280px;
}

.vr-empty-icon[b-e86ol654k9] {
    font-size: 48px;
    opacity: .2;
    margin-bottom: 12px;
}

.vr-empty-text[b-e86ol654k9] {
    font-size: 13px;
    color: #aaa;
}

@@media (max-width:900px) {
    .arv-chart-grid[b-e86ol654k9], .arv-skeleton-grid[b-e86ol654k9] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/ReconciliationViewBase.razor.rz.scp.css */
/* Add this to your scoped CSS file */
.ai-panel-header[b-4vpv7y0rn8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5px 10px 15px; /* right padding of 5px, left padding of 15px for spacing */
}

.ai-panel-icon[b-4vpv7y0rn8] {
    /* Keep existing styles, flex will handle positioning */
    margin-right: 10px; /* Optional spacing after the icon */
}

.docs-btn[b-4vpv7y0rn8] {
    padding: 15px 12px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    color: #333;
    transition: background 0.15s;
    white-space: nowrap;
    margin-right: 0; /* Ensure no extra margin on the right */
}

    .docs-btn:hover:not([disabled])[b-4vpv7y0rn8] {
        background: #e9ecef;
    }

    .docs-btn[disabled][b-4vpv7y0rn8] {
        opacity: 0.45;
        cursor: default;
    }

.docs-btn-danger[b-4vpv7y0rn8] {
    border-color: #e74c3c;
    color: #e74c3c;
}

    .docs-btn-danger:hover:not([disabled])[b-4vpv7y0rn8] {
        background: #fdecea;
    }

.docs-btn-ai[b-4vpv7y0rn8] {
    background: #2d7d32;
    color: #fff;
    border-color: #2d7d32;
}

    .docs-btn-ai:hover:not([disabled])[b-4vpv7y0rn8] {
        background: #1b5e20;
    }

    .docs-btn-ai[disabled][b-4vpv7y0rn8] {
        background: #7aaa7d;
        border-color: #7aaa7d;
    }
/* /Components/Shared/ReportStub.razor.rz.scp.css */
/* CSS for ReportStub component */
.vr-page[b-0sw6sxrlt7] {
    padding: 16px 20px 40px;
    background: #f4f6f8;
    min-height: calc(100vh - 60px);
}

.vr-controls[b-0sw6sxrlt7] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.vr-field[b-0sw6sxrlt7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vr-field-action[b-0sw6sxrlt7] {
    display: flex;
    align-items: flex-end;
}

.vr-label[b-0sw6sxrlt7] {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.vr-input[b-0sw6sxrlt7], .vr-select[b-0sw6sxrlt7] {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 13px;
    color: #333;
    background: #fafafa;
    outline: none;
    min-width: 160px;
    transition: border-color .15s;
}

    .vr-input:focus[b-0sw6sxrlt7], .vr-select:focus[b-0sw6sxrlt7] {
        border-color: #2d7d32;
        background: #fff;
    }

.vr-run-btn[b-0sw6sxrlt7] {
    background: #2d7d32;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .vr-run-btn:hover:not(:disabled)[b-0sw6sxrlt7] {
        background: #1b5e20;
    }

    .vr-run-btn:disabled[b-0sw6sxrlt7] {
        opacity: .4;
        cursor: not-allowed;
    }

.vr-spinner[b-0sw6sxrlt7] {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vrSpin .7s linear infinite;
    flex-shrink: 0;
}

@@keyframes vrSpin {
    to[b-0sw6sxrlt7] {
        transform: rotate(360deg);
    }
}

.vr-error[b-0sw6sxrlt7] {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 12px;
    color: #c62828;
    font-size: 12.5px;
}
/* /Components/Shared/SaveFileModalDialog.razor.rz.scp.css */
/* CSS for SaveFileModalDialog component */
/* ── Save As modal ──────────────────────────────────────────────────── */
.saveas-overlay[b-ul6m7e5t8s] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dashToastIn .15s ease;
}

.saveas-dialog[b-ul6m7e5t8s] {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    width: 460px;
    max-width: calc(100vw - 32px);
    font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif;
}

.saveas-header[b-ul6m7e5t8s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.saveas-title[b-ul6m7e5t8s] {
    font-size: 15px;
    font-weight: 700;
    color: #1b5e20;
}

.saveas-close[b-ul6m7e5t8s] {
    background: none;
    border: none;
    color: #bbb;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color .12s, background .12s;
}

    .saveas-close:hover[b-ul6m7e5t8s] {
        color: #555;
        background: #f0f0f0;
    }

.saveas-body[b-ul6m7e5t8s] {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.saveas-field[b-ul6m7e5t8s] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.saveas-label[b-ul6m7e5t8s] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #888;
}

.saveas-label-sub[b-ul6m7e5t8s] {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #bbb;
}

.saveas-input[b-ul6m7e5t8s] {
    font-size: 13px;
    font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif;
    border: 1px solid #c8e6c9 !important;
    border-radius: 6px !important;
    color: #333;
    transition: border-color .12s, box-shadow .12s;
}

    .saveas-input:focus[b-ul6m7e5t8s] {
        border-color: #2d7d32 !important;
        box-shadow: 0 0 0 2px rgba(45,125,50,.12) !important;
        outline: none;
    }

.saveas-select[b-ul6m7e5t8s] {
    font-size: 13px;
    font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif;
    border: 1px solid #c8e6c9 !important;
    border-radius: 6px !important;
    color: #333;
    transition: border-color .12s, box-shadow .12s;
}

    .saveas-select:focus[b-ul6m7e5t8s] {
        border-color: #2d7d32 !important;
        box-shadow: 0 0 0 2px rgba(45,125,50,.12) !important;
        outline: none;
    }

.saveas-formats[b-ul6m7e5t8s] {
    display: flex;
    gap: 10px;
}

.saveas-format-opt[b-ul6m7e5t8s] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    transition: border-color .12s, background .12s;
}

    .saveas-format-opt input[b-ul6m7e5t8s] {
        accent-color: #2d7d32;
    }

.saveas-format-active[b-ul6m7e5t8s] {
    border-color: #2d7d32;
    background: #f1f8f1;
    color: #1b5e20;
    font-weight: 600;
}

.saveas-checkbox-opt[b-ul6m7e5t8s] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

    .saveas-checkbox-opt input[b-ul6m7e5t8s] {
        accent-color: #2d7d32;
    }

.saveas-error[b-ul6m7e5t8s] {
    font-size: 12px;
    color: #c62828;
    background: #fff8f8;
    border: 1px solid #fcc;
    border-radius: 5px;
    padding: 7px 10px;
}

.saveas-footer[b-ul6m7e5t8s] {
    display: flex;
    gap: 8px;
    padding: 14px 20px 18px;
    border-top: 1px solid #f0f0f0;
    justify-content: flex-end;
}

.saveas-charts-note[b-ul6m7e5t8s] {
    font-size: 12px;
    color: #7b5800;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 5px;
    padding: 8px 12px;
}

.dash-charts-header[b-ul6m7e5t8s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .dash-charts-header .dash-doc-dl-btn[b-ul6m7e5t8s] {
        background: none;
        border: 1px solid #c8e6c9;
        color: #2d7d32;
        font-weight: 600;
    }

        .dash-charts-header .dash-doc-dl-btn:hover[b-ul6m7e5t8s] {
            background: #e8f5e9;
            border-color: #a5d6a7;
        }

    .dash-charts-header .dash-doc-saveas-btn[b-ul6m7e5t8s] {
        background: #2d7d32 !important;
        border-color: #2d7d32 !important;
        color: #fff !important;
    }

        .dash-charts-header .dash-doc-saveas-btn:hover[b-ul6m7e5t8s] {
            background: #1b5e20 !important;
            border-color: #1b5e20 !important;
        }
