/* /Components/Layout/BlankLayout.razor.rz.scp.css */
/*
    微信内页面的极简布局：没有侧边栏、没有顶栏 —— 手机上这些只会挤占空间。
    页面内容自带卡片式排版，样式分别定义在各自的 .razor.css 里。
*/

.wx-page[b-8umnwcyypl] {
    box-sizing: border-box;
    min-height: 100vh;
    padding: 28px 16px 48px;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

.wx-page[b-8umnwcyypl]  * {
    box-sizing: border-box;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* 后台布局：小屏时上下堆叠（导航变成顶部条），宽屏时左右分栏 */

.page[b-hqq268lpz8] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-hqq268lpz8] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sidebar[b-hqq268lpz8] {
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
}

.top-row[b-hqq268lpz8] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 58px;
    padding: 9px 20px;
    /* 半透明 + 模糊：滚动时内容从下方穿过，仍看得清顶栏 */
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.top-row .j-user[b-hqq268lpz8] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
}

.top-row .j-user-name[b-hqq268lpz8] {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content[b-hqq268lpz8] {
    flex: 1;
    width: 100%;
    max-width: 1320px;
    padding: 22px 18px 56px;
}

@media (min-width: 861px) {
    .page[b-hqq268lpz8] {
        flex-direction: row;
    }

    .sidebar[b-hqq268lpz8] {
        flex: 0 0 234px;
        width: 234px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
        border-bottom: none;
        border-right: 1px solid var(--border-soft);
    }

    .top-row[b-hqq268lpz8] {
        padding-left: 32px;
        padding-right: 32px;
    }

    .content[b-hqq268lpz8] {
        padding: 26px 32px 64px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
    侧边导航的样式。

    折叠用的是纯 CSS 的 checkbox hack（与全站零 JavaScript 的取向一致）：
    标签 <label for> 切换复选框，兄弟选择器据此显示/隐藏菜单。
    宽屏下菜单常驻，汉堡按钮与复选框都不显示。
*/

.j-nav-toggle[b-y933jbzju4] {
    display: none;
}

/* ── 品牌区 ── */

.j-brand[b-y933jbzju4] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-soft);
}

/*
    品牌标识：固定图片 wwwroot/favicon.png（512×512，透明底）。

    object-fit: contain 而不是 cover —— 图标是"图形+文字"的方形构图，
    用 cover 在非正方形容器里会把底部的文字裁掉一半。
    尺寸给到 36px（比原来 32px 的字母方块略大）：图片里带文字，
    太小就糊成一团，而它又是页面上唯一的品牌来源。
*/
.j-logo[b-y933jbzju4] {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    object-fit: contain;
    /* 图片本身是透明底，靠它自己与页头背景融合，不加底色也不加圆角 */
    -webkit-user-drag: none;
    user-select: none;
}

.j-brand-text[b-y933jbzju4] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.j-brand-text b[b-y933jbzju4] {
    font-size: 15px;
    font-weight: 600;
}

.j-brand-text i[b-y933jbzju4] {
    font-style: normal;
    font-size: 11.5px;
    color: var(--text-faint);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.j-nav-btn[b-y933jbzju4] {
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.j-nav-btn svg[b-y933jbzju4] {
    width: 18px;
    height: 18px;
}

.j-nav-btn:hover[b-y933jbzju4] {
    color: var(--text);
    background: var(--bg);
}

/* ── 菜单 ── */

.j-nav[b-y933jbzju4] {
    display: none;
    padding: 10px 12px 18px;
}

.j-nav-toggle:checked ~ .j-nav[b-y933jbzju4] {
    display: block;
}

/*
    NavLink 是框架组件，它渲染出的 <a> 不带本组件的样式作用域标记，
    因此必须用 ::deep 穿透。
*/
.j-nav[b-y933jbzju4]  a.j-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    margin-bottom: 2px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background .15s, color .15s;
}

.j-nav[b-y933jbzju4]  a.j-nav-link svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    opacity: .8;
}

.j-nav[b-y933jbzju4]  a.j-nav-link:hover {
    color: var(--text);
    background: var(--bg);
    text-decoration: none;
}

.j-nav[b-y933jbzju4]  a.j-nav-link.active {
    color: var(--brand);
    background: var(--brand-soft);
}

.j-nav[b-y933jbzju4]  a.j-nav-link.active svg {
    opacity: 1;
}

.j-nav-foot[b-y933jbzju4] {
    margin-top: 16px;
    padding: 12px 11px 0;
    font-size: 12px;
    border-top: 1px solid var(--border-soft);
}

.j-nav-foot a[b-y933jbzju4] {
    color: var(--text-faint);
}

@media (min-width: 861px) {
    .j-brand[b-y933jbzju4] {
        padding: 16px 16px 14px;
    }

    /* 宽屏不需要汉堡按钮，菜单常驻 */
    .j-nav-btn[b-y933jbzju4] {
        display: none;
    }

    .j-nav[b-y933jbzju4] {
        display: block;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* 表头里的排序链接 */

.j-sort[b-4458od7sip] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.j-sort:hover[b-4458od7sip] {
    color: var(--brand);
    text-decoration: none;
}

.j-sort-mark[b-4458od7sip] {
    font-size: 11px;
    opacity: .65;
}

/* 窄屏（手机）下省掉次要列，避免横向滚动条挡住主要信息 */
@media (max-width: 760px) {
    .j-col-hide-sm[b-4458od7sip] {
        display: none;
    }
}
/* /Components/Pages/WxLogin.razor.rz.scp.css */
/*
    微信端页面（登录说明）—— 手机竖屏下的极简排版。
    颜色统一走 app.css 里的设计令牌，与后台管理页保持同一套视觉。
*/

.wrap[b-r125ghci2a] {
    max-width: 420px;
    margin: 0 auto;
}

.brand[b-r125ghci2a] {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}

.subtitle[b-r125ghci2a] {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

.card[b-r125ghci2a] {
    margin-bottom: 14px;
    padding: 22px 20px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.title[b-r125ghci2a] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.tip-sm[b-r125ghci2a] {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

/* ── 步骤 ── */

.step[b-r125ghci2a] {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.step:last-child[b-r125ghci2a] {
    margin-bottom: 0;
}

.no[b-r125ghci2a] {
    flex: 0 0 22px;
    height: 22px;
    margin-top: 1px;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    color: #fff;
    text-align: center;
    background: var(--brand);
    border-radius: 50%;
}

.body[b-r125ghci2a] {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
}

.body b[b-r125ghci2a] {
    font-weight: 600;
}

.body .tip[b-r125ghci2a] {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-muted);
}

.qr[b-r125ghci2a] {
    margin-top: 10px;
    text-align: center;
}

.qr img[b-r125ghci2a] {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.qr-fallback[b-r125ghci2a] {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

.btn[b-r125ghci2a] {
    display: block;
    margin-top: 22px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: var(--brand);
    border-radius: 10px;
}

.btn:active[b-r125ghci2a] {
    opacity: .88;
}

.note[b-r125ghci2a] {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: center;
}

.note b[b-r125ghci2a] {
    font-weight: 500;
    color: var(--text);
}
/* /Components/Pages/WxProfile.razor.rz.scp.css */
/*
    微信端页面（个人资料）—— 手机竖屏下的极简排版。
    颜色统一走 app.css 里的设计令牌，与后台管理页保持同一套视觉。
*/

.wrap[b-9dql3ay0y9] {
    max-width: 420px;
    margin: 0 auto;
}

.brand[b-9dql3ay0y9] {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}

.subtitle[b-9dql3ay0y9] {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.card[b-9dql3ay0y9] {
    padding: 22px 20px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.field[b-9dql3ay0y9] {
    display: block;
    margin-bottom: 16px;
}

.label[b-9dql3ay0y9] {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.label i[b-9dql3ay0y9] {
    margin-left: 2px;
    font-style: normal;
    color: var(--danger);
}

/*
    InputText 是子组件，它渲染出来的 <input> 带的是子组件自己的样式作用域，
    父组件的 .razor.css 必须用 ::deep 才能穿透到它。
*/
.card[b-9dql3ay0y9]  input {
    width: 100%;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.card[b-9dql3ay0y9]  input:focus {
    background: var(--surface);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-line);
}

.card[b-9dql3ay0y9]  input::placeholder {
    color: var(--text-faint);
}

.btn[b-9dql3ay0y9] {
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: var(--brand);
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.btn:active[b-9dql3ay0y9] {
    opacity: .88;
}

.hint[b-9dql3ay0y9] {
    margin: 0;
    font-size: 14px;
    color: var(--text);
    text-align: center;
}

.hint-sm[b-9dql3ay0y9] {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

.error[b-9dql3ay0y9] {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--danger);
}

.card[b-9dql3ay0y9]  .error ul {
    margin: 0;
    padding-left: 18px;
}

.card[b-9dql3ay0y9]  .error li {
    margin-bottom: 4px;
}

.ok-icon[b-9dql3ay0y9] {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    font-size: 26px;
    line-height: 52px;
    color: #fff;
    text-align: center;
    background: var(--success);
    border-radius: 50%;
}

.ok-title[b-9dql3ay0y9] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/*
    资料锁定后的只读展示：必填项提交齐全即锁定，普通用户不能再改，
    这里只把已提交的信息列出来，并提示"改要找管理员"。
*/
.readonly-fields[b-9dql3ay0y9] {
    margin: 16px 0 0;
    padding: 0;
    border-top: 1px solid var(--border-soft);
}

.readonly-fields dt[b-9dql3ay0y9] {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.readonly-fields dd[b-9dql3ay0y9] {
    margin: 2px 0 0;
    font-size: 15px;
    color: var(--text);
    word-break: break-all;
}
