/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ibvh7kat6f] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

    .top-row[b-ibvh7kat6f]  a:hover, .top-row[b-ibvh7kat6f]  .btn-link:hover {
        text-decoration: underline;
    }

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

@media (max-width: 640.98px) {
    .top-row[b-ibvh7kat6f] {
        justify-content: space-between;
    }

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

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

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

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

    .top-row.auth[b-ibvh7kat6f]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

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

.top-row[b-xx6tdfeptt] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

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

.bi[b-xx6tdfeptt] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-xx6tdfeptt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-xx6tdfeptt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-xx6tdfeptt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

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

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

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

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

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

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

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

    .collapse[b-xx6tdfeptt] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-xx6tdfeptt] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Products.razor.rz.scp.css */
.prod-layout[b-v7i0mb0t30] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cat-panel[b-v7i0mb0t30] {
    flex: 0 0 240px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
}

.prod-panel[b-v7i0mb0t30] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
}

.cat-head[b-v7i0mb0t30] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    padding: 2px 4px 8px;
    border-bottom: 1px solid #eef1f4;
    margin-bottom: 6px;
}

.cat-tree[b-v7i0mb0t30] {
    font-size: 14px;
}

.cat-node[b-v7i0mb0t30] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    /* 需求 11：内容可复制。原先这里 user-select:none 挡住了分类名的选中复制，已移除。 */
    white-space: nowrap;
}

.cat-node:hover[b-v7i0mb0t30] {
    background: #f1f5f9;
}

.cat-node.active[b-v7i0mb0t30] {
    background: #e0f2f1;
    color: #0f766e;
    font-weight: 600;
}

.cat-name[b-v7i0mb0t30] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-actions[b-v7i0mb0t30] {
    display: none;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: 8px;
}

.cat-node:hover .cat-actions[b-v7i0mb0t30] {
    display: inline-flex;
}

.cat-actions i[b-v7i0mb0t30] {
    color: #94a3b8;
    cursor: pointer;
}

.cat-actions i:hover[b-v7i0mb0t30] {
    color: #2563eb;
}

.cat-actions i.bi-trash:hover[b-v7i0mb0t30] {
    color: #dc2626;
}

.cat-filter-tip[b-v7i0mb0t30] {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #0369a1;
}

/* 手机：上下堆叠，分类树在上 */
@media (max-width: 768px) {
    .prod-layout[b-v7i0mb0t30] {
        flex-direction: column;
    }

    .cat-panel[b-v7i0mb0t30] {
        flex: 1 1 auto;
        width: 100%;
        max-height: 40vh;
    }

    /* 触屏没有 hover，操作按钮常显 */
    .cat-actions[b-v7i0mb0t30] {
        display: inline-flex;
    }
}
/* /Pages/Showcase.razor.rz.scp.css */
.sc-root[b-4x8k6cir4m] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    background: radial-gradient(1200px 600px at 70% -10%, #1e3a8a55, transparent), radial-gradient(900px 500px at 10% 110%, #0e766955, transparent), #0b1220;
    color: #e8eef7;
    font-family: "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
    overflow: hidden;
}

.sc-topbar[b-4x8k6cir4m] { display: flex; justify-content: space-between; align-items: center; padding: 22px 44px; }
.sc-brand[b-4x8k6cir4m] { font-size: 1.7rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 12px; }
.sc-brand i[b-4x8k6cir4m] { color: #38bdf8; }
.sc-exit[b-4x8k6cir4m] { background: rgba(255,255,255,.08); color: #cbd5e1; border: 1px solid rgba(255,255,255,.15); padding: 8px 16px; border-radius: 10px; cursor: pointer; font-size: .9rem; }
.sc-exit:hover[b-4x8k6cir4m] { background: rgba(255,255,255,.16); color: #fff; }

.sc-stage[b-4x8k6cir4m] { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 60px; animation: scfade-b-4x8k6cir4m .7s cubic-bezier(.2,.7,.2,1); }
@keyframes scfade-b-4x8k6cir4m { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.sc-title[b-4x8k6cir4m] { font-size: 2.1rem; font-weight: 700; margin-bottom: 42px; color: #7dd3fc; display: flex; align-items: center; gap: 14px; }

.sc-cover[b-4x8k6cir4m] { text-align: center; }
.sc-cover-logo[b-4x8k6cir4m] { font-size: 7rem; color: #38bdf8; line-height: 1; margin-bottom: 10px; text-shadow: 0 0 40px #38bdf877; }
.sc-cover-title[b-4x8k6cir4m] { font-size: 4rem; font-weight: 800; color: #fff; letter-spacing: 2px; }
.sc-cover-sub[b-4x8k6cir4m] { font-size: 1.8rem; color: #7dd3fc; margin-top: 12px; letter-spacing: 8px; }
.sc-cover-tag[b-4x8k6cir4m] { font-size: 1.15rem; color: #94a3b8; margin-top: 26px; letter-spacing: 2px; }

.sc-kpis[b-4x8k6cir4m] { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 28px; }
.sc-kpis-3[b-4x8k6cir4m] { grid-template-columns: repeat(3, minmax(240px, 1fr)); margin-bottom: 40px; }
.sc-kpi[b-4x8k6cir4m] { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 34px 40px; text-align: center; }
.sc-num[b-4x8k6cir4m] { font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1; }
.sc-money[b-4x8k6cir4m] { color: #38bdf8; }
.sc-good[b-4x8k6cir4m] { color: #34d399; }
.sc-bad[b-4x8k6cir4m] { color: #f87171; }
.sc-warn[b-4x8k6cir4m] { color: #fbbf24; }
.sc-lbl[b-4x8k6cir4m] { color: #94a3b8; margin-top: 12px; font-size: 1.05rem; }

.sc-grid[b-4x8k6cir4m] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; max-width: 1200px; }
.sc-card[b-4x8k6cir4m] { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 20px 22px; }
.sc-card-code[b-4x8k6cir4m] { color: #38bdf8; font-weight: 700; font-size: 1.05rem; }
.sc-card-name[b-4x8k6cir4m] { color: #fff; margin: 8px 0; font-size: 1.02rem; min-height: 2.6em; }
.sc-card-meta[b-4x8k6cir4m] { color: #94a3b8; font-size: .9rem; }

.sc-table[b-4x8k6cir4m] { width: 100%; max-width: 1100px; border-collapse: collapse; font-size: 1.2rem; }
.sc-table th[b-4x8k6cir4m], .sc-table td[b-4x8k6cir4m] { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; }
.sc-table th[b-4x8k6cir4m] { color: #7dd3fc; font-weight: 600; }
.sc-table td[b-4x8k6cir4m] { color: #e8eef7; }
.sc-table .r[b-4x8k6cir4m] { text-align: right; }

.sc-rank[b-4x8k6cir4m] { width: 100%; max-width: 900px; }
.sc-rank-title[b-4x8k6cir4m] { color: #7dd3fc; font-size: 1.2rem; margin-bottom: 16px; }
.sc-bar-row[b-4x8k6cir4m] { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.sc-bar-name[b-4x8k6cir4m] { width: 240px; color: #e8eef7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-bar[b-4x8k6cir4m] { flex: 1; height: 14px; background: rgba(255,255,255,.08); border-radius: 7px; overflow: hidden; }
.sc-bar-fill[b-4x8k6cir4m] { height: 100%; background: linear-gradient(90deg, #38bdf8, #34d399); border-radius: 7px; transition: width .8s; }
.sc-bar-val[b-4x8k6cir4m] { width: 120px; text-align: right; color: #38bdf8; font-weight: 600; }

.sc-dots[b-4x8k6cir4m] { display: flex; gap: 10px; justify-content: center; padding: 26px; }
.sc-dot[b-4x8k6cir4m] { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); transition: all .3s; }
.sc-dot.on[b-4x8k6cir4m] { background: #38bdf8; width: 30px; border-radius: 5px; }
