/* /Pages/Index.razor.rz.scp.css */
.dashboard-page[b-nd9rkl8pbh] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 0.75rem;
    isolation: isolate;
}

.dashboard-page[b-nd9rkl8pbh]::before {
    content: "";
    position: absolute;
    inset: -1rem 0 auto;
    height: 15rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(44, 132, 193, 0.13), transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(145, 184, 66, 0.12), transparent 30%);
    pointer-events: none;
    z-index: -1;
}

.dashboard-state-card[b-nd9rkl8pbh] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.dashboard-state-card-error[b-nd9rkl8pbh] {
    border-color: rgba(235, 87, 87, 0.24);
}

.dashboard-state-badge[b-nd9rkl8pbh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.dashboard-state-badge-error[b-nd9rkl8pbh] {
    background: rgba(235, 87, 87, 0.12);
    color: var(--brand-error);
}

.dashboard-header[b-nd9rkl8pbh] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-eyebrow[b-nd9rkl8pbh] {
    margin-bottom: 0.35rem;
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-header-chip[b-nd9rkl8pbh] {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 160px;
    padding: 0.85rem 1rem;
    background: rgba(44, 132, 193, 0.08);
    border: 1px solid rgba(44, 132, 193, 0.16);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.dashboard-header-chip-label[b-nd9rkl8pbh] {
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-widget-grid[b-nd9rkl8pbh] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.dashboard-metric-card[b-nd9rkl8pbh] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    padding: 1.15rem 1.2rem 1.3rem;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.dashboard-metric-card[b-nd9rkl8pbh]::after {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 0.95rem;
    left: 1rem;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(44, 132, 193, 0.95), rgba(145, 184, 66, 0.9));
}

.dashboard-metric-card-primary[b-nd9rkl8pbh] {
    background: linear-gradient(145deg, #2c84c1, #236fa4 58%, #1d5e8b);
    border-color: transparent;
    color: #ffffff;
}

.dashboard-metric-card-primary[b-nd9rkl8pbh]::after {
    background: rgba(255, 255, 255, 0.28);
}

.dashboard-metric-label[b-nd9rkl8pbh] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.dashboard-metric-card:not(.dashboard-metric-card-primary) .dashboard-metric-label[b-nd9rkl8pbh] {
    color: var(--text-secondary);
    opacity: 1;
}

.dashboard-metric-value[b-nd9rkl8pbh] {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
}

.dashboard-metric-meta[b-nd9rkl8pbh] {
    font-size: 0.92rem;
    opacity: 0.84;
}

.dashboard-metric-card:not(.dashboard-metric-card-primary) .dashboard-metric-meta[b-nd9rkl8pbh] {
    color: var(--text-secondary);
    opacity: 1;
}

.dashboard-chart-card[b-nd9rkl8pbh] {
    grid-column: 1 / -1;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.dashboard-card-header[b-nd9rkl8pbh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-card-badge[b-nd9rkl8pbh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-chart-body[b-nd9rkl8pbh] {
    width: 100%;
}

.dashboard-empty-state[b-nd9rkl8pbh] {
    padding: 2rem 1rem;
    text-align: center;
    border: 1px dashed rgba(44, 132, 193, 0.25);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(231, 242, 250, 0.72), rgba(255, 255, 255, 0.96));
}

.dashboard-empty-state-title[b-nd9rkl8pbh] {
    margin-bottom: 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .dashboard-state-card[b-nd9rkl8pbh],
    .dashboard-card-header[b-nd9rkl8pbh] {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-chart-card[b-nd9rkl8pbh] {
        padding: 1rem;
    }
}
/* /Shared/ExternalAccountFilter.razor.rz.scp.css */
.external-account-filter[b-p68cf27e9k] {
    display: inline-flex;
    align-items: center;
}

.external-account-pill[b-p68cf27e9k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--brand-primary-soft);
    color: var(--text-primary);
    padding: 0.45rem 0.85rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    max-width: min(24rem, 100%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.external-account-pill-button:hover[b-p68cf27e9k],
.external-account-pill-button:focus[b-p68cf27e9k] {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
}

.external-account-pill-loading[b-p68cf27e9k],
.external-account-pill-static[b-p68cf27e9k] {
    cursor: default;
}

.external-account-pill-loading[b-p68cf27e9k] {
    opacity: 0.8;
}

.external-account-pill-button[b-p68cf27e9k] {
    cursor: pointer;
}

.external-account-pill-button:focus-visible[b-p68cf27e9k] {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.external-account-pill-static[b-p68cf27e9k] {
    text-align: center;
}

.external-account-modal-backdrop[b-p68cf27e9k] {
    position: fixed;
    inset: 0;
    background: rgba(19, 28, 39, 0.45);
    z-index: 2000;
}

.external-account-modal-wrap[b-p68cf27e9k] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2001;
}

.external-account-modal[b-p68cf27e9k] {
    width: min(32rem, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.external-account-list[b-p68cf27e9k] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 55vh;
    overflow: auto;
    padding-right: 0.25rem;
}

.external-account-option[b-p68cf27e9k] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    background: #ffffff;
    cursor: pointer;
}

.external-account-option:hover[b-p68cf27e9k] {
    background: var(--brand-primary-soft);
}

.external-account-option input[b-p68cf27e9k] {
    margin-top: 0.25rem;
}

.external-account-option-text[b-p68cf27e9k] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.app-shell[b-qdivmpcbz8] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content[b-qdivmpcbz8] {
    flex: 1;
}

.external-shell[b-qdivmpcbz8] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.external-shell-inner[b-qdivmpcbz8] {
    max-width: none;
    margin: 0;
    padding: 0.55rem 1.5rem 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.external-brand-link[b-qdivmpcbz8] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.external-brand-logo[b-qdivmpcbz8] {
    height: 30px;
    width: auto;
    display: block;
}

.external-shell-spacer[b-qdivmpcbz8] {
    flex: 1 1 auto;
}

.external-signout[b-qdivmpcbz8] {
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 0.75rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.external-signout:hover[b-qdivmpcbz8],
.external-signout:focus[b-qdivmpcbz8] {
    background: var(--brand-primary-soft);
    color: var(--text-primary);
}
/* /Shared/NavMenu.razor.rz.scp.css */
.top-nav[b-ch14oq039a] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.top-nav-inner[b-ch14oq039a] {
    max-width: none;
    margin: 0;
    padding: 0.5rem 1.5rem 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand[b-ch14oq039a] {
    display: flex;
    align-items: center;
}

.brand-link[b-ch14oq039a] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo[b-ch14oq039a] {
    height: 30px;
    width: auto;
    display: block;
}

.menu-sections[b-ch14oq039a] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.hamburger-trigger[b-ch14oq039a] {
    display: none;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
}

.hamburger-trigger:hover[b-ch14oq039a] {
    background: var(--brand-primary-soft);
    color: var(--text-primary);
}

.hamburger-icon[b-ch14oq039a] {
    font-size: 1.35rem;
    line-height: 1;
}

.menu-group[b-ch14oq039a] {
    position: relative;
}

.menu-trigger[b-ch14oq039a],
.user-trigger[b-ch14oq039a] {
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.menu-trigger:hover[b-ch14oq039a],
.user-trigger:hover[b-ch14oq039a] {
    background: var(--brand-primary-soft);
    color: var(--text-primary);
}

.menu-trigger.active[b-ch14oq039a],
.user-trigger.active[b-ch14oq039a] {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border-radius: 6px;
}

.menu-flyout[b-ch14oq039a] {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 180px;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    padding: 0.35rem;
    box-shadow: var(--shadow-soft);
}

.menu-flyout.open[b-ch14oq039a] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-item[b-ch14oq039a] {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none !important;
    font-size: 0.9rem;
}

.menu-item:visited[b-ch14oq039a] {
    color: var(--text-secondary);
    text-decoration: none !important;
}

.menu-item:hover[b-ch14oq039a] {
    background: var(--brand-primary-soft);
    color: var(--text-primary);
    text-decoration: none !important;
}

.menu-item.active[b-ch14oq039a] {
    background: var(--brand-primary-soft);
    color: var(--text-primary);
    text-decoration: none !important;
}

.menu-item:focus[b-ch14oq039a],
.menu-item:active[b-ch14oq039a] {
    text-decoration: none !important;
}

.menu-flyout a[b-ch14oq039a] {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
}

.menu-action[b-ch14oq039a] {
    text-align: left;
    width: 100%;
    background: transparent;
    border: 0;
}

.user-area[b-ch14oq039a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.login-link[b-ch14oq039a] {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

.login-link:hover[b-ch14oq039a] {
    color: var(--brand-primary-dark);
}

.user-menu .menu-flyout[b-ch14oq039a] {
    right: 0;
    left: auto;
}

.user-icon[b-ch14oq039a] {
    font-size: 1.1rem;
    margin-right: 0.35rem;
}

.user-label[b-ch14oq039a] {
    max-width: 180px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.mobile-nav[b-ch14oq039a] {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    z-index: 999;
}

.mobile-nav.open[b-ch14oq039a] {
    display: block;
}

.mobile-menu[b-ch14oq039a] {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-section[b-ch14oq039a],
.mobile-item[b-ch14oq039a],
.mobile-back[b-ch14oq039a] {
    border: 0;
    background: var(--brand-primary-soft);
    color: var(--text-primary);
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    text-align: left;
    font-weight: 600;
    text-decoration: none;
}

.mobile-item[b-ch14oq039a] {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    font-weight: 500;
}

.mobile-item:hover[b-ch14oq039a],
.mobile-section:hover[b-ch14oq039a],
.mobile-back:hover[b-ch14oq039a] {
    background: var(--brand-primary-soft);
    color: var(--text-primary);
}

.mobile-subheader[b-ch14oq039a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
}

.mobile-title[b-ch14oq039a] {
    font-weight: 600;
}

@media (max-width: 900px) {
    .top-nav-inner[b-ch14oq039a] {
        flex-wrap: wrap;
    }

    .menu-sections[b-ch14oq039a] {
        display: none;
    }

    .hamburger-trigger[b-ch14oq039a] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .user-label[b-ch14oq039a] {
        display: none;
    }

    .user-icon[b-ch14oq039a] {
        margin-right: 0;
    }

    .top-nav[b-ch14oq039a] {
        position: sticky;
    }
}
