/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-layout[b-a6o85rnx67] {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 20%, rgba(47, 128, 237, 0.24), transparent 28rem),
        radial-gradient(circle at 82% 74%, rgba(25, 169, 116, 0.2), transparent 24rem),
        linear-gradient(135deg, #07111c 0%, #101820 44%, #172033 100%);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.portal-shell[b-rqdo7yvwqa] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
    background: var(--portal-bg);
}

.portal-sider[b-rqdo7yvwqa] {
    position: sticky;
    top: 0;
    flex: 0 0 276px;
    width: 276px !important;
    min-width: 276px !important;
    max-width: 276px !important;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--brand-charcoal);
    border-right: 1px solid var(--sider-line);
}

.sider-scroll[b-rqdo7yvwqa] {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

/* 界面左下角：版权 + 隐私政策 */
.sider-legal[b-rqdo7yvwqa] {
    flex: 0 0 auto;
    padding: 12px 20px 14px;
    border-top: 1px solid var(--sider-line);
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    color: var(--sider-muted);
}

.sider-legal a[b-rqdo7yvwqa] {
    color: var(--sider-text);
    text-decoration: none;
}

.sider-legal a:hover[b-rqdo7yvwqa] {
    color: #fff;
    text-decoration: underline;
}

.portal-main[b-rqdo7yvwqa] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 100vh;
    background: var(--portal-bg);
}

.portal-header[b-rqdo7yvwqa] {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: var(--portal-card);
    border-bottom: 1px solid var(--portal-line);
    line-height: 1.2;
}

.portal-header strong[b-rqdo7yvwqa] {
    display: block;
    color: var(--portal-ink);
    font-size: 1rem;
}

.header-actions[b-rqdo7yvwqa] {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.header-user[b-rqdo7yvwqa] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--brand-blue-soft);
    color: var(--portal-ink);
    font-weight: 800;
}

.header-user .material-symbols-outlined[b-rqdo7yvwqa] {
    color: var(--brand-blue);
    font-size: 1.1rem;
}

.header-login[b-rqdo7yvwqa] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    box-shadow: var(--portal-shadow);
}

.header-login .material-symbols-outlined[b-rqdo7yvwqa] {
    font-size: 1rem;
}

.portal-content[b-rqdo7yvwqa] {
    width: min(100%, 1560px);
    margin: 0 auto;
    padding: 32px;
}

.eyebrow[b-rqdo7yvwqa] {
    display: block;
    color: var(--portal-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

#blazor-error-ui[b-rqdo7yvwqa] {
    background: #fff7e6;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.16);
    display: none;
    left: 0;
    padding: 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-rqdo7yvwqa] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.sider-burger[b-rqdo7yvwqa] { display: none; }

@media (max-width: 820px) {
    .portal-shell[b-rqdo7yvwqa] {
        display: block;
        width: 100%;
    }

    .portal-sider[b-rqdo7yvwqa] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto;
        position: sticky;
        top: 0;
        z-index: 80;
        display: block;
    }

    /* 顶栏右侧的汉堡 */
    .sider-burger[b-rqdo7yvwqa] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        position: absolute;
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        cursor: pointer;
        z-index: 2;
    }
    .sider-burger span[b-rqdo7yvwqa] { display: block; height: 2px; background: #e2e8f0; border-radius: 2px; }

    /* 默认只露品牌行；菜单与版权收进抽屉 */
    .sider-scroll[b-rqdo7yvwqa] { overflow: visible; }
    .sider-legal[b-rqdo7yvwqa] { display: none; }

    .portal-header[b-rqdo7yvwqa] {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .portal-content[b-rqdo7yvwqa] {
        padding: 16px 12px 28px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-lockup[b-kiokh0h00c] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 24px 22px;
    color: #ffffff;
}

.brand-mark-icon[b-kiokh0h00c] {
    width: 44px;
    height: 46px;
    display: block;
}

.brand-lockup strong[b-kiokh0h00c],
.brand-lockup span[b-kiokh0h00c] {
    display: block;
}

.brand-lockup span[b-kiokh0h00c] {
    color: var(--sider-muted);
    font-size: 0.82rem;
}

.portal-menu[b-kiokh0h00c] {
    padding: 8px 12px 24px;
    background: transparent;
    border-inline-end: 0;
}

.portal-menu[b-kiokh0h00c]  .portal-menu-item {
    display: flex !important;
    align-items: center;
    gap: 14px;
    min-height: 46px;
    height: auto;
    margin: 6px 0;
    padding: 12px 14px !important;
    color: var(--sider-text);
    line-height: 1.5;
    white-space: normal;
    border-radius: 8px;
    transition: background 160ms ease, color 160ms ease;
}

.portal-menu[b-kiokh0h00c]  .portal-menu-item:hover {
    color: #ffffff;
    background: var(--sider-hover);
}

.portal-menu[b-kiokh0h00c]  .portal-menu-item.active {
    color: #ffffff;
    background: var(--sider-selected);
    box-shadow: inset 3px 0 var(--sider-accent);
    font-weight: 600;
}

.portal-menu[b-kiokh0h00c]  .portal-menu-item:focus-visible {
    outline: 2px solid var(--brand-focus);
    outline-offset: 2px;
}

.nav-glyph[b-kiokh0h00c] {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    flex-shrink: 0;
    color: var(--sider-text);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 820px) {
    /* 抽屉模式：默认收起，body.portal-nav-open 时纵向展开（保留分组与文字） */
    .portal-menu[b-kiokh0h00c] {
        display: none;
        padding-top: 0;
    }

    .brand-lockup[b-kiokh0h00c] { padding: 14px 18px; }
}

/* 导航分组标题：暗色侧栏里的低调分区标签 */
.portal-menu-group[b-kiokh0h00c] {
    padding: 18px 14px 6px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sider-muted);
}
.portal-menu-group:first-of-type[b-kiokh0h00c] {
    padding-top: 10px;
}

/* Keep the native radios keyboard-accessible while styling their visible labels. */
.nav-tabs[b-kiokh0h00c] {
    display: flex;
    gap: 4px;
    margin: 4px 0 10px;
    padding: 3px;
    background: var(--sider-hover);
    border: 1px solid var(--sider-line);
    border-radius: 8px;
}
.nav-tab-radio[b-kiokh0h00c] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.nav-tab-btn[b-kiokh0h00c] {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sider-text);
    cursor: pointer;
    user-select: none;
    transition: background 160ms ease, color 160ms ease;
}
.nav-tab-btn:hover[b-kiokh0h00c] { background: var(--sider-line); color: #fff; }
.nav-tab-radio:checked + .nav-tab-btn[b-kiokh0h00c] { background: var(--brand-blue); color: #fff; }
.nav-tab-radio:focus-visible + .nav-tab-btn[b-kiokh0h00c] { outline: 2px solid #93c5fd; outline-offset: 2px; }
.portal-menu:has(#nav-tab-manage:checked) .nav-pane-work[b-kiokh0h00c] { display: none; }
.portal-menu:has(#nav-tab-work:checked) .nav-pane-manage[b-kiokh0h00c] { display: none; }

@media (prefers-reduced-motion: reduce) {
    .portal-menu[b-kiokh0h00c]  .portal-menu-item, .nav-tab-btn[b-kiokh0h00c] { transition: none; }
}

@media (max-width: 820px) {
    .portal-menu-group[b-kiokh0h00c] { display: none; }
}
/* /Components/Pages/Panels/ReferralQuotaStatus.razor.rz.scp.css */
.referral-quota[b-juo2k620pf] {
    background: var(--ant-color-fill-quaternary, rgba(0, 0, 0, .02));
    border: 1px solid var(--ant-color-border-secondary, #f0f0f0);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

.referral-quota p[b-juo2k620pf] { margin: 8px 0 0; }
.quota-balance[b-juo2k620pf] { font-size: 20px; font-weight: 600; }
