/* /Pages/Account/Login.razor.rz.scp.css */
.wrap[b-9etfwc9d0p] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media (min-width: 768px) {
    .wrap[b-9etfwc9d0p] {
        background-color: #5bc0de;
        background: url('../images/bg2.jpg') fixed no-repeat;
        background-size: 100% 100%;
    }

    .container[b-9etfwc9d0p] {
        background: url(../images/RunFeng/RunFengLogin.png) no-repeat;
        background-size: contain;
        width: 704px;
        height: 404px;
        margin: 0 auto;
        margin-top: calc(100vh / 2 - 190px);
    }
}

.form-signin-heading[b-9etfwc9d0p] {
    margin: 0;
    padding: 20px 15px;
    text-align: center;
    background-color: #41cac0;
    border-radius: 5px 5px 0 0;
    color: #fff;
}

.login-wrap[b-9etfwc9d0p] {
    display: flex;
    flex-direction: column;
    margin: 1rem;
}

    .login-wrap .card[b-9etfwc9d0p], .login-wrap .card:hover[b-9etfwc9d0p], .modal .card[b-9etfwc9d0p], .modal .card:hover[b-9etfwc9d0p] {
        border: 1px solid #84bbe2;
    }

.login-sms[b-9etfwc9d0p],
.is-mobile .login-up[b-9etfwc9d0p] {
    display: none;
}

.is-mobile .login-sms[b-9etfwc9d0p] {
    display: block;
}

[b-9etfwc9d0p] .btn-login {
    background: #f67a6e;
    border-color: transparent;
    color: #fff;
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    box-shadow: 0 4px #e56b60;
    line-height: 1;
}

    [b-9etfwc9d0p] .btn-login:focus {
        box-shadow: 0 4px #e56b60;
    }

[b-9etfwc9d0p] .input-group-text {
    background-color: #6bc3f4;
    border-color: #1ca0e9;
}

[b-9etfwc9d0p] .form-check-label {
    color: #212529;
}

[b-9etfwc9d0p] .form-control {
    border-color: #1ca0e9 !important;
}

[b-9etfwc9d0p] .divider-wrap {
    background-color: #7c86bb;
}

[b-9etfwc9d0p] .divider-text {
    background-color: #a7daf9;
}

.login-list[b-9etfwc9d0p] {
    display: flex;
    justify-content: space-between;
}

    .login-list[b-9etfwc9d0p]  img {
        width: 32px;
        height: 32px;
    }

[b-9etfwc9d0p] .btn-sms {
    width: 140px;
}

@media (max-width: 767px) {
    .form-signin[b-9etfwc9d0p] {
        margin: 0 auto;
        background: #fff;
        border-radius: 5px;
        max-width: 320px;
        border: solid 1px #ddd;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.125);
    }
}

@media (min-width: 768px) {
    .form-signin-heading[b-9etfwc9d0p] {
        padding: 28px 0;
        background-color: transparent;
    }

    .login-wrap[b-9etfwc9d0p] {
        width: 300px;
        height: 274px;
        position: relative;
        left: 346px;
        justify-content: center;
    }

    .slidercaptcha[b-9etfwc9d0p] {
        width: 300px;
    }

        .slidercaptcha[b-9etfwc9d0p], .slidercaptcha.oauth[b-9etfwc9d0p] {
            height: 280px;
        }

            .slidercaptcha.card .card-body[b-9etfwc9d0p] {
                padding: 15px 15px 0 15px;
            }

    .login-footer[b-9etfwc9d0p] {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

        .login-footer .login-footer-body li a[b-9etfwc9d0p] {
            color: #e0e0e0;
        }
}

@media (min-width: 768px) {
    .gitee.wrap[b-9etfwc9d0p] {
        background-color: #f1f2f7;
        background-image: none;
    }

    .gitee .container[b-9etfwc9d0p] {
        width: 704px;
        height: 404px;
        margin: 0 auto;
        margin-top: calc(100vh / 2 - 190px);
    }
}
/* /Pages/Ai/AiChat.razor.rz.scp.css */
/* ============================================================
       AI Chat — 高级企业级界面
       设计参考：ChatGPT / Claude / 现代企业 AI 助手
       支持 Light / Dark 双主题
    ============================================================ */

/* ── ① 主容器 ── */
/*
 * height / max-width 由 Blazor 动态内联 style 注入（JS 获取屏幕尺寸后计算）。
 * CSS 这里只负责：布局方式 + 居中 + 超出隐藏 + 主题背景。
 */
.ai-chat-container[b-g3fje3fcur] {
    display: flex;
    flex-direction: column;
    /* 水平居中（max-width 由内联 style 限制，margin auto 保证居中） */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* height 由内联 style 注入；初始给 100% 保证 JS 加载前不塌陷 */
    min-height: 0;
    padding: 0;
    background: var(--ai-bg-container);
    box-shadow: var(--ai-shadow-md);  /* 居中后加轻微阴影，与两侧背景区分 */
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* ── ①-2 主内容包裹区 ── */
.ai-main-content[b-g3fje3fcur] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ── ② 标题栏（Header）── */
.ai-chat-header[b-g3fje3fcur] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
    flex-shrink: 0;
    background: var(--ai-bg-container);
    border-bottom: 1px solid var(--ai-border);
    position: relative;
    z-index: 10;
}

    /* 标题栏底部装饰线 */
    .ai-chat-header[b-g3fje3fcur]::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.3) 70%, transparent 100% );
    }

.ai-chat-title[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ai-text-inverse);
    letter-spacing: -0.01em;
}

/* AI Logo 图标 */
.ai-chat-logo[b-g3fje3fcur] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--ai-shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* 品牌文字 */
.ai-chat-brand-text[b-g3fje3fcur] {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ai-chat-brand-sub[b-g3fje3fcur] {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 2px;
}

/* 连接状态指示器 */
.ai-conn-badge[b-g3fje3fcur] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--ai-text-inverse);
    transition: all 0.3s var(--ai-ease);
    white-space: nowrap;
}

.ai-conn-dot[b-g3fje3fcur] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80; /* 在线：绿色 */
    flex-shrink: 0;
}

.ai-conn-badge.disconnected .ai-conn-dot[b-g3fje3fcur] {
    background: #f87171; /* 离线：红色 */
}

.ai-conn-badge.connecting .ai-conn-dot[b-g3fje3fcur] {
    background: #fbbf24; /* 连接中：黄色 */
    animation: ai-pulse-dot-b-g3fje3fcur 1s ease infinite;
}

@keyframes ai-pulse-dot-b-g3fje3fcur {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* 标题栏右侧操作区 */
.ai-header-actions[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-icon-btn[b-g3fje3fcur] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
    color: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s var(--ai-ease);
}

    .ai-icon-btn:hover[b-g3fje3fcur] {
        background: rgba(15, 23, 42, 0.22);
        border-color: rgba(15, 23, 42, 0.35);
        color: #0f172a;
        transform: translateY(-1px);
    }

    .ai-icon-btn:active[b-g3fje3fcur] {
        transform: translateY(0);
    }

.ai-new-chat-btn[b-g3fje3fcur] {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.25);
    background: rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ai-ease);
    white-space: nowrap;
}

    .ai-new-chat-btn:hover[b-g3fje3fcur] {
        background: rgba(15, 23, 42, 0.25);
        border-color: rgba(15, 23, 42, 0.4);
        transform: translateY(-1px);
    }

/* ── ③ 聊天内容区（Body）── */
.ai-chat-body[b-g3fje3fcur] {
    flex: 1;
    min-height: 0; /* 关键：允许 flex 子元素收缩 */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    padding-bottom: 12px; /* 底部留白，避免消息紧贴输入框 */
    background: var(--ai-bg-page);
    scroll-behavior: smooth;
    /* 柔和的径向渐变增加层次感 */
    background-image: radial-gradient( ellipse at 50% 0%, rgba(99, 102, 241, 0.04) 0%, transparent 60% );
}

[data-bs-theme="dark"] .ai-chat-body[b-g3fje3fcur] {
    background-image: radial-gradient( ellipse at 50% 0%, rgba(99, 102, 241, 0.05) 0%, transparent 60% );
}

.ai-chat-body[b-g3fje3fcur]::-webkit-scrollbar {
    width: 5px;
}

.ai-chat-body[b-g3fje3fcur]::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-body[b-g3fje3fcur]::-webkit-scrollbar-thumb {
    background: var(--ai-scrollbar);
    border-radius: 10px;
}

    .ai-chat-body[b-g3fje3fcur]::-webkit-scrollbar-thumb:hover {
        background: var(--ai-text-3);
    }

/* 消息容器 */
.ai-msg-list[b-g3fje3fcur] {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* 消息项 */
.ai-msg-item[b-g3fje3fcur] {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    width: 100%;
    animation: ai-msg-in-b-g3fje3fcur 0.35s var(--ai-ease);
    position: relative;
    align-items: flex-start; /* 默认靠上/左 */
}

    /* AI 消息：靠左，最大宽度 85%（表格/图表需要更多空间） */
    .ai-msg-item.assistant[b-g3fje3fcur] {
        justify-content: flex-start; /* 整体靠左 */
    }

        .ai-msg-item.assistant .ai-msg-body[b-g3fje3fcur] {
            max-width: 85%;
            flex: 0 1 auto;
        }

        .ai-msg-item.assistant .ai-msg-bubble[b-g3fje3fcur] {
            max-width: 100%;
        }

@keyframes ai-msg-in-b-g3fje3fcur {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 头像 */
.ai-avatar[b-g3fje3fcur] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: var(--ai-shadow-sm);
    font-weight: 600;
}

    .ai-avatar.ai[b-g3fje3fcur] {
        background: linear-gradient(135deg, var(--ai-brand-start), var(--ai-brand-end));
        color: white;
        font-size: 0.9rem;
        letter-spacing: -0.5px;
    }

    .ai-avatar.user[b-g3fje3fcur] {
        background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
        color: white;
    }

/* 消息主体 */
.ai-msg-body[b-g3fje3fcur] {
    flex: 0 1 auto; /* 不自动拉伸，让 max-width 生效 */
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 角色标签 + 时间 */
.ai-msg-meta[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--ai-text-3);
}

.ai-msg-role[b-g3fje3fcur] {
    font-weight: 600;
    color: var(--ai-text-2);
}

/* 消息气泡 */
.ai-msg-bubble[b-g3fje3fcur] {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.75;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-shadow: var(--ai-shadow-sm);
    max-width: 100%;
    transition: box-shadow 0.2s var(--ai-ease);
}

/* AI 消息气泡 */
.ai-msg-item.assistant .ai-msg-bubble[b-g3fje3fcur] {
    background: var(--ai-ai-bg);
    border: 1px solid var(--ai-ai-border);
    color: var(--ai-ai-text);
    border-top-left-radius: 4px;
    border-left: 3px solid var(--ai-ai-accent);
}

.ai-msg-item.assistant:hover .ai-msg-bubble[b-g3fje3fcur] {
    box-shadow: var(--ai-shadow-md);
}

/* 用户消息：靠右，最大宽度 70% */
.ai-msg-item.user[b-g3fje3fcur] {
    flex-direction: row-reverse; /* 头像在右侧 */
    justify-content: flex-start; /* 先左对齐 */
    margin-left: auto; /* 然后强制把整行推到右边 */
}

    .ai-msg-item.user .ai-msg-body[b-g3fje3fcur] {
        max-width: 70%;
        flex: 0 1 auto;
        align-items: flex-end; /* 内容靠右 */
    }

    .ai-msg-item.user .ai-msg-bubble[b-g3fje3fcur] {
        background: var(--ai-user-bg);
        color: var(--ai-user-text);
        border-top-right-radius: 4px;
        box-shadow: var(--ai-shadow-md);
        max-width: 100%;
    }

    .ai-msg-item.user:hover .ai-msg-bubble[b-g3fje3fcur] {
        box-shadow: var(--ai-shadow-lg);
    }

    .ai-msg-item.user .ai-msg-meta[b-g3fje3fcur] {
        flex-direction: row-reverse;
    }

/* 系统消息 */
.ai-msg-item.system .ai-msg-bubble[b-g3fje3fcur] {
    background: var(--ai-warn-bg);
    border: 1px solid var(--ai-warn-border);
    color: var(--ai-warn-text);
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 10px 14px;
}

/* 时间戳 */
.ai-msg-time[b-g3fje3fcur] {
    font-size: 0.7rem;
    color: var(--ai-text-3);
    padding: 0 4px;
}

/* ── ④ 打字指示器 ── */
.ai-typing-indicator[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
}

.ai-typing-dot[b-g3fje3fcur] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-text-3);
    animation: ai-typing-bounce-b-g3fje3fcur 1.4s ease-in-out infinite;
}

    .ai-typing-dot:nth-child(2)[b-g3fje3fcur] {
        animation-delay: 0.2s;
    }

    .ai-typing-dot:nth-child(3)[b-g3fje3fcur] {
        animation-delay: 0.4s;
    }

@keyframes ai-typing-bounce-b-g3fje3fcur {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* ── ⑤ 欢迎页面 ── */
.ai-welcome[b-g3fje3fcur] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    text-align: center;
    padding: 40px 24px;
}

.ai-welcome-orb[b-g3fje3fcur] {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--ai-brand-start), var(--ai-brand-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
    animation: ai-float-b-g3fje3fcur 4s ease-in-out infinite;
}

@keyframes ai-float-b-g3fje3fcur {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.ai-welcome h2[b-g3fje3fcur] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ai-text-1);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.ai-welcome p[b-g3fje3fcur] {
    font-size: 0.9rem;
    color: var(--ai-text-2);
    margin: 0 0 32px;
    max-width: 380px;
    line-height: 1.6;
}

/* 快捷示例卡片 */
.ai-examples[b-g3fje3fcur] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 500px;
}

.ai-example-card[b-g3fje3fcur] {
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s var(--ai-ease);
    font-size: 0.85rem;
    color: var(--ai-text-2);
    font-family: inherit;
    box-shadow: var(--ai-shadow-xs);
}

    .ai-example-card:hover[b-g3fje3fcur] {
        background: var(--ai-bg-container);
        border-color: var(--ai-brand);
        color: var(--ai-text-1);
        transform: translateY(-2px);
        box-shadow: var(--ai-shadow-md);
    }

.ai-example-card-icon[b-g3fje3fcur] {
    font-size: 1rem;
    margin-bottom: 6px;
    display: block;
}

/* ── ⑥ 输入区域 ── */
.ai-chat-footer[b-g3fje3fcur] {
    flex-shrink: 0;
    padding: 12px 16px 14px;
    background: var(--ai-bg-surface);
    border-top: 1px solid var(--ai-border);
    position: relative;
}

    /* 顶部柔和渐变线 */
    .ai-chat-footer[b-g3fje3fcur]::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent 0%, var(--ai-brand) 30%, var(--ai-brand) 70%, transparent 100% );
        opacity: 0.4;
    }

/* 输入框包装 */
.ai-input-wrap[b-g3fje3fcur] {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    background: var(--ai-bg-input);
    border: 1.5px solid var(--ai-border);
    border-radius: 14px;
    padding: 8px 8px 8px 16px;
    transition: all 0.25s var(--ai-ease);
    box-shadow: var(--ai-shadow-xs);
}

    .ai-input-wrap:focus-within[b-g3fje3fcur] {
        border-color: var(--ai-brand);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), var(--ai-shadow-sm);
    }

.ai-textarea[b-g3fje3fcur] {
    flex: 1;
    min-height: 38px;
    max-height: 140px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: none;
    font-family: inherit;
    color: var(--ai-text-1);
    padding: 8px 0;
}

    .ai-textarea[b-g3fje3fcur]::placeholder {
        color: var(--ai-text-3);
    }

/* 操作按钮组 */
.ai-input-actions[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ai-action-btn[b-g3fje3fcur] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--ai-text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s var(--ai-ease);
    flex-shrink: 0;
}

    .ai-action-btn:hover[b-g3fje3fcur] {
        background: var(--ai-border);
        color: var(--ai-text-2);
        transform: scale(1.05);
    }

    .ai-action-btn:active[b-g3fje3fcur] {
        transform: scale(0.95);
    }

    .ai-action-btn.recording[b-g3fje3fcur] {
        color: #ef4444;
        animation: ai-pulse-btn-b-g3fje3fcur 1s ease infinite;
    }

@keyframes ai-pulse-btn-b-g3fje3fcur {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

/* 发送按钮 */
.ai-send-btn[b-g3fje3fcur] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--ai-brand-start), var(--ai-brand-end));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.25s var(--ai-ease-spring);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
    flex-shrink: 0;
}

    .ai-send-btn:hover:not(:disabled)[b-g3fje3fcur] {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
    }

    .ai-send-btn:active:not(:disabled)[b-g3fje3fcur] {
        transform: translateY(0) scale(0.97);
    }

    .ai-send-btn:disabled[b-g3fje3fcur] {
        opacity: 0.4;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

/* 底部提示 */
.ai-footer-hint[b-g3fje3fcur] {
    text-align: center;
    font-size: 0.7rem;
    color: var(--ai-text-3);
    margin-top: 8px;
    padding: 0 8px;
}

    /* 暗黑模式下 footer 提示文字改用白色 */
    [data-bs-theme="dark"] .ai-footer-hint[b-g3fje3fcur] {
        color: #ffffff;
        opacity: 0.5;
    }

/* ── ⑦ API Key 警告 ── */
.ai-api-warn[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ai-warn-bg);
    border-bottom: 1px solid var(--ai-warn-border);
    font-size: 0.82rem;
    color: var(--ai-warn-text);
    flex-shrink: 0;
}

    .ai-api-warn i[b-g3fje3fcur] {
        flex-shrink: 0;
        font-size: 0.9rem;
    }

/* ── ⑧ Markdown 渲染 ── */
.ai-msg-bubble p[b-g3fje3fcur] {
    margin: 0 0 8px;
}

    .ai-msg-bubble p:last-child[b-g3fje3fcur] {
        margin-bottom: 0;
    }

.ai-msg-bubble strong[b-g3fje3fcur] {
    font-weight: 600;
}

.ai-msg-bubble em[b-g3fje3fcur] {
    font-style: italic;
}

/* ── ⑨ 弹窗（Modal）── */
.ai-modal-overlay[b-g3fje3fcur] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: ai-fade-in-b-g3fje3fcur 0.2s var(--ai-ease);
}

@keyframes ai-fade-in-b-g3fje3fcur {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ai-modal[b-g3fje3fcur] {
    background: var(--ai-bg-container);
    border-radius: 18px;
    width: 480px;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.3);
    border: 1px solid var(--ai-border);
    animation: ai-modal-in-b-g3fje3fcur 0.3s var(--ai-ease-spring);
}

@keyframes ai-modal-in-b-g3fje3fcur {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ai-modal-header[b-g3fje3fcur] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--ai-border);
    position: sticky;
    top: 0;
    background: var(--ai-bg-container);
    z-index: 1;
}

.ai-modal-title[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ai-text-1);
    margin: 0;
}

    .ai-modal-title i[b-g3fje3fcur] {
        color: var(--ai-brand);
    }

.ai-modal-close[b-g3fje3fcur] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--ai-text-3);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ai-ease);
}

    .ai-modal-close:hover[b-g3fje3fcur] {
        background: var(--ai-border);
        color: var(--ai-text-1);
    }

.ai-modal-body[b-g3fje3fcur] {
    padding: 22px;
}

.ai-modal-footer[b-g3fje3fcur] {
    padding: 16px 22px;
    border-top: 1px solid var(--ai-border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 弹窗内容样式 */
.ai-info-box[b-g3fje3fcur] {
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

    .ai-info-box p[b-g3fje3fcur] {
        margin: 0 0 8px;
        font-weight: 600;
        color: var(--ai-text-1);
    }

    .ai-info-box ul[b-g3fje3fcur] {
        margin: 0;
        padding-left: 16px;
        color: var(--ai-text-2);
    }

    .ai-info-box li[b-g3fje3fcur] {
        margin: 4px 0;
    }

    .ai-info-box a[b-g3fje3fcur] {
        color: var(--ai-brand);
        text-decoration: none;
    }

        .ai-info-box a:hover[b-g3fje3fcur] {
            text-decoration: underline;
        }

.ai-form-group[b-g3fje3fcur] {
    margin-bottom: 14px;
}

.ai-form-label[b-g3fje3fcur] {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ai-text-1);
}

.ai-form-input[b-g3fje3fcur] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--ai-border);
    border-radius: 10px;
    font-size: 0.9rem;
    background: var(--ai-bg-input);
    color: var(--ai-text-1);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

    .ai-form-input:focus[b-g3fje3fcur] {
        outline: none;
        border-color: var(--ai-brand);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }

    .ai-form-input[b-g3fje3fcur]::placeholder {
        color: var(--ai-text-3);
    }

.ai-alert[b-g3fje3fcur] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-top: 12px;
}

.ai-alert-danger[b-g3fje3fcur] {
    background: var(--ai-danger-bg);
    color: var(--ai-danger-text);
    border: 1px solid transparent;
}

    .ai-alert-danger i[b-g3fje3fcur] {
        margin-top: 2px;
        flex-shrink: 0;
    }

/* 弹窗按钮 */
.ai-btn[b-g3fje3fcur] {
    height: 38px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid transparent;
    transition: all 0.2s var(--ai-ease);
    font-family: inherit;
}

.ai-btn-ghost[b-g3fje3fcur] {
    background: transparent;
    border-color: var(--ai-border);
    color: var(--ai-text-2);
}

    .ai-btn-ghost:hover[b-g3fje3fcur] {
        background: var(--ai-border);
        color: var(--ai-text-1);
    }

.ai-btn-primary[b-g3fje3fcur] {
    background: linear-gradient(135deg, var(--ai-brand-start), var(--ai-brand-end));
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

    .ai-btn-primary:hover:not(:disabled)[b-g3fje3fcur] {
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    }

.ai-btn:disabled[b-g3fje3fcur] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

/* ── Dark 主题额外覆盖 ── */
[data-bs-theme="dark"] .ai-welcome-orb[b-g3fje3fcur] {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5); /* Dark 主题更强的发光效果 */
}

[data-bs-theme="dark"] .ai-example-card[b-g3fje3fcur] {
    background: #2a2f34;
}

    [data-bs-theme="dark"] .ai-example-card:hover[b-g3fje3fcur] {
        background: #3a3f44;
    }

[data-bs-theme="dark"] .ai-input-wrap[b-g3fje3fcur] {
    background: #1a1e22;
}

[data-bs-theme="dark"] .ai-chat-footer[b-g3fje3fcur] {
    background: #1a1e22;
}

[data-bs-theme="dark"] .ai-info-box[b-g3fje3fcur] {
    background: #1a1e22;
}

[data-bs-theme="dark"] .ai-modal[b-g3fje3fcur] {
    background: #202528;
}

[data-bs-theme="dark"] .ai-modal-header[b-g3fje3fcur] {
    background: #202528;
}

[data-bs-theme="dark"] .ai-modal-footer[b-g3fje3fcur] {
    background: #202528;
}
[data-bs-theme="dark"] .ai-icon-btn[b-g3fje3fcur] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s var(--ai-ease);
}

    [data-bs-theme="dark"] .ai-icon-btn:hover[b-g3fje3fcur] {
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.35);
        color: #ffffff;
        transform: translateY(-1px);
    }
[data-bs-theme="dark"] .ai-new-chat-btn[b-g3fje3fcur] {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ai-ease);
    white-space: nowrap;
}

    [data-bs-theme="dark"] .ai-new-chat-btn:hover[b-g3fje3fcur] {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-1px);
    }

/* ── ⑩ 下载按钮 ── */
.ai-download-btn[b-g3fje3fcur] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
    transition: all 0.25s var(--ai-ease-spring);
    cursor: pointer;
}

    .ai-download-btn:hover[b-g3fje3fcur] {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45);
        color: white;
        text-decoration: none;
    }

    .ai-download-btn:active[b-g3fje3fcur] {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
    }

[data-bs-theme="dark"] .ai-download-btn[b-g3fje3fcur] {
    background: linear-gradient(135deg, #10b981, #047857);
}

[data-bs-theme="dark"] .ai-download-btn:hover[b-g3fje3fcur] {
    background: linear-gradient(135deg, #34d399, #10b981);
}

/* ── ⑪ 会话历史弹窗 ── */
.ai-conversations-modal[b-g3fje3fcur] {
    width: 420px;
    max-width: 90vw;
    max-height: 70vh;
}

.ai-conversations-modal .ai-modal-body[b-g3fje3fcur] {
    max-height: 450px;
    overflow-y: auto;
    padding: 12px;
}

.ai-conversations-modal .ai-modal-body[b-g3fje3fcur]::-webkit-scrollbar {
    width: 4px;
}

.ai-conversations-modal .ai-modal-body[b-g3fje3fcur]::-webkit-scrollbar-track {
    background: transparent;
}

.ai-conversations-modal .ai-modal-body[b-g3fje3fcur]::-webkit-scrollbar-thumb {
    background: var(--ai-scrollbar);
    border-radius: 4px;
}

/* 空状态 */
.ai-sidebar-empty[b-g3fje3fcur] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--ai-text-3);
}

.ai-sidebar-empty i[b-g3fje3fcur] {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.ai-sidebar-empty p[b-g3fje3fcur] {
    margin: 0;
    font-size: 0.85rem;
}

/* 会话列表 */
.ai-conversation-list[b-g3fje3fcur] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-conversation-item[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s var(--ai-ease);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.ai-conversation-item:hover[b-g3fje3fcur] {
    background: var(--ai-bg-surface);
}

.ai-conversation-item.active[b-g3fje3fcur] {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.ai-conversation-info[b-g3fje3fcur] {
    flex: 1;
    min-width: 0;
}

.ai-conversation-title[b-g3fje3fcur] {
    font-size: 0.875rem;
    color: var(--ai-text-1);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-conversation-time[b-g3fje3fcur] {
    font-size: 0.7rem;
    color: var(--ai-text-3);
    margin-top: 2px;
}

.ai-conversation-delete[b-g3fje3fcur] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--ai-text-3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s var(--ai-ease);
    flex-shrink: 0;
    opacity: 0;
}

.ai-conversation-item:hover .ai-conversation-delete[b-g3fje3fcur] {
    opacity: 1;
}

.ai-conversation-delete:hover[b-g3fje3fcur] {
    background: var(--ai-danger-bg);
    color: var(--ai-danger-text);
}

/* 加载更多按钮 */
.ai-load-more[b-g3fje3fcur] {
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
}

/* 快捷命令弹窗 */
.ai-quick-commands-modal[b-g3fje3fcur] {
    width: 520px;
    max-width: 92vw;
}

.ai-quick-commands-grid[b-g3fje3fcur] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ai-quick-command-item[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s var(--ai-ease);
    font-size: 0.85rem;
    color: var(--ai-text-2);
    font-family: inherit;
}

.ai-quick-command-item:hover[b-g3fje3fcur] {
    background: var(--ai-bg-container);
    border-color: var(--ai-brand);
    color: var(--ai-text-1);
    transform: translateY(-1px);
}

.ai-quick-command-icon[b-g3fje3fcur] {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ai-quick-command-label[b-g3fje3fcur] {
    font-weight: 500;
}

[data-bs-theme="dark"] .ai-quick-command-item[b-g3fje3fcur] {
    background: #2a2f34;
}

[data-bs-theme="dark"] .ai-quick-command-item:hover[b-g3fje3fcur] {
    background: #3a3f44;
}

[data-bs-theme="dark"] .ai-loading[b-g3fje3fcur] {
    color: rgba(255, 255, 255, 0.7);
}

.ai-loading[b-g3fje3fcur] {
    text-align: center;
    padding: 20px;
    color: var(--ai-text-3);
    font-size: 0.85rem;
}

/* ── 功能A：追问建议按钮 ── */
.suggestion-bar[b-g3fje3fcur] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px 4px 60px;
    align-items: center;
}

.suggestion-label[b-g3fje3fcur] {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.suggestion-btn[b-g3fje3fcur] {
    background: #f0f7ff;
    border: 1px solid #c3d9f7;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 12px;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.suggestion-btn:hover[b-g3fje3fcur] {
    background: #dbeafe;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* Dark theme for suggestion bar */
[data-bs-theme="dark"] .suggestion-label[b-g3fje3fcur] {
    color: #aaa;
}

[data-bs-theme="dark"] .suggestion-btn[b-g3fje3fcur] {
    background: #1e2a3a;
    border-color: #374151;
    color: #93c5fd;
}

[data-bs-theme="dark"] .suggestion-btn:hover[b-g3fje3fcur] {
    background: #243447;
    border-color: #60a5fa;
}

/* ── 功能C：主动预警横幅 ── */
.alert-banners[b-g3fje3fcur] {
    padding: 6px 12px;
}

.alert-banner[b-g3fje3fcur] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 6px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    animation: alertSlideIn-b-g3fje3fcur 0.3s ease;
}

.alert-icon[b-g3fje3fcur] {
    font-size: 18px;
    flex-shrink: 0;
}

.alert-content[b-g3fje3fcur] {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
}

.alert-time[b-g3fje3fcur] {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.alert-close[b-g3fje3fcur] {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
}

.alert-close:hover[b-g3fje3fcur] {
    color: #333;
}

@keyframes alertSlideIn-b-g3fje3fcur {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-bs-theme="dark"] .alert-banner[b-g3fje3fcur] {
    background: #2d1f14;
    border-color: #5c3d1a;
}

[data-bs-theme="dark"] .alert-close:hover[b-g3fje3fcur] {
    color: #ccc;
}

/* ── 思考过程（Reasoning / Thinking）可折叠区域 ── */
.ai-reasoning[b-g3fje3fcur] {
    margin-bottom: 10px;
    border: 1px solid var(--ai-border, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
}

.ai-reasoning-summary[b-g3fje3fcur] {
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    color: #6b7280;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.03);
    transition: background 0.15s;
}

.ai-reasoning-summary:hover[b-g3fje3fcur] {
    background: rgba(0, 0, 0, 0.06);
}

.ai-reasoning-content[b-g3fje3fcur] {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    padding: 8px 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-reasoning-content p[b-g3fje3fcur] {
    margin: 0 0 4px 0;
}

.ai-reasoning-content code[b-g3fje3fcur] {
    font-size: 12px;
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 4px;
    border-radius: 3px;
}

.ai-reasoning-content pre[b-g3fje3fcur] {
    font-size: 12px;
    background: rgba(0, 0, 0, 0.04);
    padding: 8px;
    border-radius: 4px;
    overflow-x: auto;
}

[data-bs-theme="dark"] .ai-reasoning[b-g3fje3fcur] {
    border-color: #2a2f34;
}

[data-bs-theme="dark"] .ai-reasoning-summary[b-g3fje3fcur] {
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
}

[data-bs-theme="dark"] .ai-reasoning-summary:hover[b-g3fje3fcur] {
    background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .ai-reasoning-content[b-g3fje3fcur] {
    color: #94a3b8;
}

[data-bs-theme="dark"] .ai-reasoning-content code[b-g3fje3fcur] {
    background: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .ai-reasoning-content pre[b-g3fje3fcur] {
    background: rgba(255, 255, 255, 0.04);
}

/* ── CoT 推理链（结构化推理，区分于原生思考） ── */
.ai-cot-divider[b-g3fje3fcur] {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    padding: 6px 12px 2px 12px;
    border-top: 1px dashed #e2e8f0;
    margin: 0 12px;
}

.ai-cot-content[b-g3fje3fcur] {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.6;
    padding: 4px 12px 8px 12px;
    white-space: pre-wrap;
    word-break: break-word;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.01));
    border-radius: 0 0 8px 8px;
}

.ai-cot-content p[b-g3fje3fcur] {
    margin: 0 0 6px 0;
}

.ai-cot-content strong[b-g3fje3fcur] {
    color: #1d4ed8;
}

[data-bs-theme="dark"] .ai-cot-divider[b-g3fje3fcur] {
    color: #60a5fa;
    border-top-color: #2a2f34;
}

[data-bs-theme="dark"] .ai-cot-content[b-g3fje3fcur] {
    color: #93c5fd;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02));
}

[data-bs-theme="dark"] .ai-cot-content strong[b-g3fje3fcur] {
    color: #60a5fa;
}

/* ── 功能D：工具调用时间线 ── */
.tool-timeline[b-g3fje3fcur] {
    margin: 8px 0 0 0;
    border: 1px solid var(--ai-border, #e2e8f0);
    border-radius: 8px;
    background: var(--ai-bg-surface, #f8fafc);
    overflow: hidden;
    transition: all 0.25s ease;
}

.tool-timeline-header[b-g3fje3fcur] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-text-2, #475569);
    transition: background 0.15s;
}

.tool-timeline-header:hover[b-g3fje3fcur] {
    background: rgba(0, 0, 0, 0.03);
}

.tool-timeline-title[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-timeline-icon[b-g3fje3fcur] {
    font-size: 14px;
}

.tool-timeline-toggle[b-g3fje3fcur] {
    font-size: 10px;
    color: var(--ai-text-3, #94a3b8);
}

.tool-timeline-steps[b-g3fje3fcur] {
    padding: 0 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tool-step-item[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.tool-step-icon[b-g3fje3fcur] {
    font-size: 14px;
    flex-shrink: 0;
}

.tool-step-item.running .tool-step-icon[b-g3fje3fcur] {
    animation: tool-spin-b-g3fje3fcur 1.5s linear infinite;
}

@keyframes tool-spin-b-g3fje3fcur {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tool-step-name[b-g3fje3fcur] {
    flex: 1;
    color: var(--ai-text-1, #1e293b);
    font-weight: 500;
}

.tool-step-duration[b-g3fje3fcur] {
    font-size: 11px;
    color: var(--ai-text-3, #94a3b8);
    font-family: 'Cascadia Code', 'Fira Code', monospace;
}

.tool-step-item.failed[b-g3fje3fcur] {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tool-step-item.failed .tool-step-name[b-g3fje3fcur] {
    color: #dc2626;
}

[data-bs-theme="dark"] .tool-timeline[b-g3fje3fcur] {
    background: #1e2a3a;
    border-color: #2a3040;
}

[data-bs-theme="dark"] .tool-timeline-header:hover[b-g3fje3fcur] {
    background: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .tool-step-item[b-g3fje3fcur] {
    background: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .tool-step-item.failed[b-g3fje3fcur] {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
}

/* ══════════════════════════════════════════════════════════════
   阶段三：HITL 安全审批卡片
   专业、严谨的安全操作视觉风格
   ══════════════════════════════════════════════════════════════ */

.ai-approval-card-wrapper[b-g3fje3fcur] {
    padding: 12px 16px 4px 60px;
    animation: approvalSlideIn-b-g3fje3fcur 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes approvalSlideIn-b-g3fje3fcur {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-approval-card[b-g3fje3fcur] {
    border: 1.5px solid #f59e0b;
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12), 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    max-width: 580px;
}

.ai-approval-header[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 12px;
    background: rgba(245, 158, 11, 0.08);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
}

.ai-approval-icon[b-g3fje3fcur] {
    font-size: 22px;
    flex-shrink: 0;
}

.ai-approval-title[b-g3fje3fcur] {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
    flex: 1;
}

.ai-approval-badge[b-g3fje3fcur] {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: #f59e0b;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.ai-approval-body[b-g3fje3fcur] {
    padding: 14px 18px 10px;
}

.ai-approval-intent[b-g3fje3fcur] {
    font-size: 13.5px;
    line-height: 1.6;
    color: #78350f;
    margin-bottom: 10px;
}

.ai-approval-intent strong[b-g3fje3fcur] {
    color: #92400e;
}

.ai-approval-meta[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #a16207;
    flex-wrap: wrap;
}

.ai-approval-token-label[b-g3fje3fcur] {
    font-weight: 500;
    opacity: 0.8;
}

.ai-approval-token[b-g3fje3fcur] {
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 4px;
    letter-spacing: 0.5px;
    color: #92400e;
}

.ai-approval-expiry[b-g3fje3fcur] {
    margin-left: auto;
    opacity: 0.7;
}

.ai-approval-footer[b-g3fje3fcur] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 14px;
    border-top: 1px solid rgba(245, 158, 11, 0.15);
    background: rgba(255, 255, 255, 0.4);
}

.ai-approval-btn[b-g3fje3fcur] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    letter-spacing: 0.2px;
}

.ai-approval-btn:disabled[b-g3fje3fcur] {
    opacity: 0.55;
    cursor: not-allowed;
}

.ai-approval-confirm[b-g3fje3fcur] {
    background: #10b981;
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.ai-approval-confirm:hover:not(:disabled)[b-g3fje3fcur] {
    background: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.ai-approval-reject[b-g3fje3fcur] {
    background: #fff;
    color: #dc2626;
    border: 1.5px solid #fecaca;
}

.ai-approval-reject:hover:not(:disabled)[b-g3fje3fcur] {
    background: #fef2f2;
    border-color: #f87171;
    transform: translateY(-1px);
}

.ai-approval-status[b-g3fje3fcur] {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    width: 100%;
}

.ai-approval-status.success[b-g3fje3fcur] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.ai-approval-status.rejected[b-g3fje3fcur] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.ai-approval-status.error[b-g3fje3fcur] {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

/* Dark theme overrides */
[data-bs-theme="dark"] .ai-approval-card[b-g3fje3fcur] {
    background: linear-gradient(135deg, #1c1917 0%, #292110 100%);
    border-color: #92400e;
    border-left-color: #f59e0b;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08), 0 1px 3px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .ai-approval-header[b-g3fje3fcur] {
    background: rgba(245, 158, 11, 0.06);
    border-bottom-color: rgba(245, 158, 11, 0.12);
}

[data-bs-theme="dark"] .ai-approval-title[b-g3fje3fcur] {
    color: #fbbf24;
}

[data-bs-theme="dark"] .ai-approval-badge[b-g3fje3fcur] {
    background: #d97706;
}

[data-bs-theme="dark"] .ai-approval-intent[b-g3fje3fcur] {
    color: #fcd34d;
}

[data-bs-theme="dark"] .ai-approval-intent strong[b-g3fje3fcur] {
    color: #fbbf24;
}

[data-bs-theme="dark"] .ai-approval-meta[b-g3fje3fcur] {
    color: #d97706;
}

[data-bs-theme="dark"] .ai-approval-token[b-g3fje3fcur] {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

[data-bs-theme="dark"] .ai-approval-footer[b-g3fje3fcur] {
    background: rgba(0, 0, 0, 0.15);
    border-top-color: rgba(245, 158, 11, 0.1);
}

[data-bs-theme="dark"] .ai-approval-reject[b-g3fje3fcur] {
    background: rgba(30, 30, 35, 0.8);
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.3);
}

[data-bs-theme="dark"] .ai-approval-reject:hover:not(:disabled)[b-g3fje3fcur] {
    background: rgba(40, 30, 35, 0.9);
    border-color: rgba(220, 38, 38, 0.5);
}

[data-bs-theme="dark"] .ai-approval-status.success[b-g3fje3fcur] {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
}

[data-bs-theme="dark"] .ai-approval-status.rejected[b-g3fje3fcur] {
    background: rgba(220, 38, 38, 0.1);
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.25);
}

[data-bs-theme="dark"] .ai-approval-status.error[b-g3fje3fcur] {
    background: rgba(234, 88, 12, 0.1);
    color: #fdba74;
    border-color: rgba(234, 88, 12, 0.25);
}

/* /Pages/Common/PurchaseOrderCheckPrint.razor.rz.scp.css */
.A4-Frame[b-r2ao52ip0w] {
    width: 200mm; /* A4 纸的宽度 相对于标准减了10*/
    height: 287mm; /* A4 纸的高度 相对于标准减了10*/
    /*border: 1px solid black;  框的边框样式 */
    margin: auto; /* 居中显示框，并设置外边距 */
    box-sizing: border-box; /* 让边框在框的内部，不影响框的尺寸 */
}

.title[b-r2ao52ip0w] {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    margin-left: 1px;
}

    .title h3[b-r2ao52ip0w] {
        flex: 1; /* 让 h2 元素占据剩余空间 */
        text-align: center; /* 居中对齐 */
    }

.company[b-r2ao52ip0w] {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 水平方向上均匀分布子元素 */
}

    .company h5[b-r2ao52ip0w] {
        font-size: 15px;
    }

.company-left[b-r2ao52ip0w] {
    margin-left: 1px;
}

.company-right[b-r2ao52ip0w] {
    margin-right: 1px;
    margin-top: -2mm;
    text-align: left;
}

    .company-right p[b-r2ao52ip0w] {
        margin: 0; /* 设置上下外边距为 5 像素，左右外边距为 0 */
    }

.company-name[b-r2ao52ip0w] {
    border-bottom: 1px solid black; /* 添加底部边框 */
    padding-bottom: 1px; /* 可选：增加一些底部内边距，使得文字与边框之间有一定距离 */
}

/* 设置表格边框样式 */
.table[b-r2ao52ip0w] {
    text-align: center;
    border-collapse: collapse;
}

    /* 设置表格头部样式 */
    .table th[b-r2ao52ip0w] {
        border-bottom: 2px solid black; /* 头部下面是二条下划线 */
    }

    /* 设置表格单元格样式 */
    .table td[b-r2ao52ip0w] {
        border-bottom: 1px solid black; /* 每个单元格底部的下划线 */
        padding: 8px;
    }
/* /Pages/Common/PurchaseOrderCheckPrintTrade2.razor.rz.scp.css */
.A4-Frame[b-8tmh3vagbc] {
    width: 200mm; /* A4 纸的宽度 相对于标准减了10*/
    height: 287mm; /* A4 纸的高度 相对于标准减了10*/
    /*border: 1px solid black;  框的边框样式 */
    margin: auto; /* 居中显示框，并设置外边距 */
    box-sizing: border-box; /* 让边框在框的内部，不影响框的尺寸 */
}

.title[b-8tmh3vagbc] {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    margin-left: 1px;
}

    .title h3[b-8tmh3vagbc] {
        flex: 1; /* 让 h2 元素占据剩余空间 */
        text-align: center; /* 居中对齐 */
    }

.company[b-8tmh3vagbc] {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 水平方向上均匀分布子元素 */
}

    .company h5[b-8tmh3vagbc] {
        font-size: 15px;
    }

.company-left[b-8tmh3vagbc] {
    margin-left: 1px;
}

.company-right[b-8tmh3vagbc] {
    margin-right: 1px;
    margin-top: -2mm;
    text-align: left;
}

    .company-right p[b-8tmh3vagbc] {
        margin: 0; /* 设置上下外边距为 5 像素，左右外边距为 0 */
    }

.company-name[b-8tmh3vagbc] {
    border-bottom: 1px solid black; /* 添加底部边框 */
    padding-bottom: 1px; /* 可选：增加一些底部内边距，使得文字与边框之间有一定距离 */
}

/* 设置表格边框样式 */
.table[b-8tmh3vagbc] {
    text-align: center;
    border-collapse: collapse;
}

    /* 设置表格头部样式 */
    .table th[b-8tmh3vagbc] {
        border-bottom: 2px solid black; /* 头部下面是二条下划线 */
    }

    /* 设置表格单元格样式 */
    .table td[b-8tmh3vagbc] {
        border-bottom: 1px solid black; /* 每个单元格底部的下划线 */
        padding: 8px;
    }
/* /Pages/Common/SalesOrderCheckPrint.razor.rz.scp.css */
.A4-Frame[b-8om6uaf04x] {
    width: 200mm; /* A4 纸的宽度 相对于标准减了10*/
    height: 287mm; /* A4 纸的高度 相对于标准减了10*/
    /*border: 1px solid black;  框的边框样式 */
    margin: auto; /* 居中显示框，并设置外边距 */
    box-sizing: border-box; /* 让边框在框的内部，不影响框的尺寸 */
}

.title[b-8om6uaf04x] {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    margin-left: 1px;
}

    .title h3[b-8om6uaf04x] {
        flex: 1; /* 让 h2 元素占据剩余空间 */
        text-align: center; /* 居中对齐 */
    }

.company[b-8om6uaf04x] {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 水平方向上均匀分布子元素 */
}

    .company h5[b-8om6uaf04x] {
        font-size: 15px;
    }

.company-left[b-8om6uaf04x] {
    margin-left: 1px;
}

.company-right[b-8om6uaf04x] {
    margin-right: 1px;
    margin-top: -2mm;
    text-align: left;
}

    .company-right p[b-8om6uaf04x] {
        margin: 0; /* 设置上下外边距为 5 像素，左右外边距为 0 */
    }

.company-name[b-8om6uaf04x] {
    border-bottom: 1px solid black; /* 添加底部边框 */
    padding-bottom: 1px; /* 可选：增加一些底部内边距，使得文字与边框之间有一定距离 */
}

/* 设置表格边框样式 */
.table[b-8om6uaf04x] {
    text-align: center;
    border-collapse: collapse;
}

    /* 设置表格头部样式 */
    .table th[b-8om6uaf04x] {
        border-bottom: 2px solid black; /* 头部下面是二条下划线 */
    }

    /* 设置表格单元格样式 */
    .table td[b-8om6uaf04x] {
        border-bottom: 1px solid black; /* 每个单元格底部的下划线 */
        padding: 8px;
    }

.td-wrap[b-8om6uaf04x] {
    word-wrap: break-word; /* 自动换行 */
    word-break: break-all; /* 强制在单词中间断开 */
    white-space: normal; /* 允许内容换行 */
}
/* /Pages/Common/SalesOrderCheckPrintTrade2.razor.rz.scp.css */
.A4-Frame[b-d0c4cqif4r] {
    width: 200mm; /* A4 纸的宽度 相对于标准减了10*/
    height: 287mm; /* A4 纸的高度 相对于标准减了10*/
    /*border: 1px solid black;  框的边框样式 */
    margin: auto; /* 居中显示框，并设置外边距 */
    box-sizing: border-box; /* 让边框在框的内部，不影响框的尺寸 */
}

.title[b-d0c4cqif4r] {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    margin-left: 1px;
}

    .title h3[b-d0c4cqif4r] {
        flex: 1; /* 让 h2 元素占据剩余空间 */
        text-align: center; /* 居中对齐 */
    }

.company[b-d0c4cqif4r] {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 水平方向上均匀分布子元素 */
}

    .company h5[b-d0c4cqif4r] {
        font-size: 15px;
    }

.company-left[b-d0c4cqif4r] {
    margin-left: 1px;
}

.company-right[b-d0c4cqif4r] {
    margin-right: 1px;
    margin-top: -2mm;
    text-align: left;
}

    .company-right p[b-d0c4cqif4r] {
        margin: 0; /* 设置上下外边距为 5 像素，左右外边距为 0 */
    }

.company-name[b-d0c4cqif4r] {
    border-bottom: 1px solid black; /* 添加底部边框 */
    padding-bottom: 1px; /* 可选：增加一些底部内边距，使得文字与边框之间有一定距离 */
}

/* 设置表格边框样式 */
.table[b-d0c4cqif4r] {
    text-align: center;
    border-collapse: collapse;
}

    /* 设置表格头部样式 */
    .table th[b-d0c4cqif4r] {
        border-bottom: 2px solid black; /* 头部下面是二条下划线 */
    }

    /* 设置表格单元格样式 */
    .table td[b-d0c4cqif4r] {
        border-bottom: 1px solid black; /* 每个单元格底部的下划线 */
        padding: 8px;
    }

.td-wrap[b-d0c4cqif4r] {
    word-wrap: break-word; /* 自动换行 */
    word-break: break-all; /* 强制在单词中间断开 */
    white-space: normal; /* 允许内容换行 */
}
/* /Pages/Common/SalesOrderContractPrint.razor.rz.scp.css */
.A5-Frame[b-q5k42tjg37] {
    width: 200mm; /* A5 纸的宽度 相对于标准减了10*/
    height: 125mm; /* A5 纸的高度 相对于标准减了10*/
    /*border: 1px solid black;  框的边框样式 */
    margin: auto; /* 居中显示框，并设置外边距 */
    box-sizing: border-box; /* 让边框在框的内部，不影响框的尺寸 */
}

.title[b-q5k42tjg37] {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    margin-left: 1px;
}

    .title h3[b-q5k42tjg37] {
        flex: 1; /* 让 h2 元素占据剩余空间 */
        text-align: center; /* 居中对齐 */
    }

    .title p[b-q5k42tjg37] {
        margin-right: 5mm;
        text-align: left;
        font-size: 20px;
        align-self: flex-end; /* 底部对齐 */
    }

.company[b-q5k42tjg37] {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 水平方向上均匀分布子元素 */
}

    .company h5[b-q5k42tjg37] {
        font-size: 15px;
    }

.company-left[b-q5k42tjg37] {
    margin-left: 1px;
}

.company-right[b-q5k42tjg37] {
    margin-right: 5mm;
    margin-top: -4mm;
    text-align: left;
}

    .company-right p[b-q5k42tjg37] {
        margin: 0; /* 设置上下外边距为 5 像素，左右外边距为 0 */
    }

.company-name[b-q5k42tjg37] {
    border-bottom: 1px solid black; /* 添加底部边框 */
    padding-bottom: 1px; /* 可选：增加一些底部内边距，使得文字与边框之间有一定距离 */
}

.table-print-left[b-q5k42tjg37] {
    width: 141mm;
    table-layout: fixed;
    margin-left: 1px;
}

    .table-print-left th[b-q5k42tjg37], .table-print-left td[b-q5k42tjg37] {
        border: 1px solid black;
        text-align: center;
        vertical-align: middle;
    }

.table-print-right[b-q5k42tjg37] {
    width: 54mm;
    table-layout: fixed;
}

    .table-print-right th[b-q5k42tjg37], .table-print-right td[b-q5k42tjg37] {
        border: 1px solid black;
        text-align: center;
        vertical-align: middle;
    }

.note[b-q5k42tjg37] {
    display: flex;
    align-items: center; /* 在竖直方向上居中 */
    justify-content: center; /* 在水平方向上居中 */
    writing-mode: vertical-rl;
}

/* 贸易合同 A4 样式 */
.A4-Trade-Frame[b-q5k42tjg37] {
    width: 210mm;
    min-height: 297mm;
    margin: auto;
    box-sizing: border-box;
    padding: 10mm 12mm 10mm 12mm;
    font-family: 黑体, SimHei, sans-serif;
    font-size: 12px;
}

.trade-title[b-q5k42tjg37] {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 6px;
}

.trade-party-row[b-q5k42tjg37] {
    display: flex;
    justify-content: space-between;
    margin: 2px 0;
    font-size: 12px;
}

.trade-party-left[b-q5k42tjg37] {
    flex: 1;
}

.trade-party-right[b-q5k42tjg37] {
    flex: 1;
    text-align: left;
    padding-left: 10mm;
}

.trade-info-row[b-q5k42tjg37] {
    display: flex;
    justify-content: space-between;
    margin: 2px 0;
    font-size: 12px;
}

.trade-preamble[b-q5k42tjg37] {
    margin: 6px 0 4px 0;
    font-size: 12px;
    text-align: justify;
    text-indent: 2em;
}

.trade-section-title[b-q5k42tjg37] {
    margin: 4px 0 2px 0;
    font-size: 12px;
    font-weight: bold;
}

.trade-table[b-q5k42tjg37] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

    .trade-table th[b-q5k42tjg37], .trade-table td[b-q5k42tjg37] {
        border: 1px solid black;
        text-align: center;
        vertical-align: middle;
        padding: 2px 1px;
        word-wrap: break-word;
        white-space: normal;
    }

.trade-clause[b-q5k42tjg37] {
    margin: 3px 0;
    font-size: 12px;
    text-align: justify;
}

.trade-sign-row[b-q5k42tjg37] {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
    font-size: 12px;
}

.trade-sign-col[b-q5k42tjg37] {
    flex: 1;
}

.trade-sign-col-right[b-q5k42tjg37] {
    flex: 1;
    padding-left: 10mm;
}

.trade-underline[b-q5k42tjg37] {
    border-bottom: 1px solid black;
    display: inline-block;
    min-width: 40px;
}

/* 签字区：左右并排的带边框方格 */
.trade-sign-box-row[b-q5k42tjg37] {
    display: flex;
    gap: 0;
    width: 100%;
}

.trade-sign-box[b-q5k42tjg37] {
    flex: 1;
    border: 1px solid black;
    padding: 4px 6px;
    box-sizing: border-box;
    font-size: 12px;
}

    .trade-sign-box + .trade-sign-box[b-q5k42tjg37] {
        border-left: none; /* 两格共用中间边线，避免双线 */
    }

.trade-sign-box-title[b-q5k42tjg37] {
    font-weight: bold;
    text-align: center;
    margin-bottom: 4px;
    font-size: 13px;
}

.trade-sign-box-item[b-q5k42tjg37] {
    margin: 3px 0;
    word-break: break-all;
    white-space: normal;
    line-height: 1.5;
}
/* /Pages/Common/SalesOrderPrint.razor.rz.scp.css */
.A5-Frame[b-ohjia8t6su] {
    width: 200mm; /* A5 纸的宽度 相对于标准减了10*/
    height: 125mm; /* A5 纸的高度 相对于标准减了10*/
    /*border: 1px solid black;  框的边框样式 */
    margin: auto; /* 居中显示框，并设置外边距 */
    box-sizing: border-box; /* 让边框在框的内部，不影响框的尺寸 */
}

.title[b-ohjia8t6su] {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    margin-left: 1px;
}

    .title h3[b-ohjia8t6su] {
        flex: 1; /* 让 h2 元素占据剩余空间 */
        text-align: center; /* 居中对齐 */
    }

    .title p[b-ohjia8t6su] {
        margin-right: 5mm;
        text-align: left;
        font-size: 20px;
        align-self: flex-end; /* 底部对齐 */
    }

.company[b-ohjia8t6su] {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 水平方向上均匀分布子元素 */
}

    .company h5[b-ohjia8t6su] {
        font-size: 15px;
    }

.company-left[b-ohjia8t6su] {
    margin-left: 1px;
}

.company-right[b-ohjia8t6su] {
    margin-right: 5mm;
    margin-top: -4mm;
    text-align: left;
}

    .company-right p[b-ohjia8t6su] {
        margin: 0; /* 设置上下外边距为 5 像素，左右外边距为 0 */
    }

.company-name[b-ohjia8t6su] {
    border-bottom: 1px solid black; /* 添加底部边框 */
    padding-bottom: 1px; /* 可选：增加一些底部内边距，使得文字与边框之间有一定距离 */
}

.table-print-left[b-ohjia8t6su] {
    width: 141mm;
    table-layout: fixed;
    margin-left: 1px;
}

    .table-print-left th[b-ohjia8t6su], .table-print-left td[b-ohjia8t6su] {
        border: 1px solid black;
        text-align: center;
        vertical-align: middle;
    }

.table-print-right[b-ohjia8t6su] {
    width: 54mm;
    table-layout: fixed;
}

    .table-print-right th[b-ohjia8t6su], .table-print-right td[b-ohjia8t6su] {
        border: 1px solid black;
        text-align: center;
        vertical-align: middle;
    }

.note[b-ohjia8t6su] {
    display: flex;
    align-items: center; /* 在竖直方向上居中 */
    justify-content: center; /* 在水平方向上居中 */
    writing-mode: vertical-rl;
}
/* /Pages/Common/SalesOrderQuotePrint.razor.rz.scp.css */
.A4-Frame[b-yv6s33q65i] {
    width: 200mm; /* A4 纸的宽度 相对于标准减了10*/
    height: 270mm; /* A4 纸的高度 相对于标准减了10*/
    /*border: 1px solid black;  框的边框样式 */
    margin: auto; /* 居中显示框，并设置外边距 */
    box-sizing: border-box; /* 让边框在框的内部，不影响框的尺寸 */
    align-items: center;
}

.title[b-yv6s33q65i] {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    margin-left: 1px;
}

    .title h3[b-yv6s33q65i] {
        flex: 1; /* 让 h2 元素占据剩余空间 */
        text-align: center; /* 居中对齐 */
    }

.company[b-yv6s33q65i] {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 水平方向上均匀分布子元素 */
}

    .company h5[b-yv6s33q65i] {
        font-size: 17px;
    }

.company-left[b-yv6s33q65i] {
    margin-left: 1px;
}

.company-right[b-yv6s33q65i] {
    margin-right: 1px;
    text-align: left;
}

/* 设置表格边框样式 */
.table[b-yv6s33q65i] {
    text-align: center;
    border-collapse: collapse;
}

    /* 设置表格头部样式 */
    .table th[b-yv6s33q65i] {
        border-bottom: 2px solid black; /* 头部下面是二条下划线 */
    }

    /* 设置表格单元格样式 */
    .table td[b-yv6s33q65i] {
        border-bottom: 1px solid black; /* 每个单元格底部的下划线 */
        padding: 8px;
    }

.tables-container[b-yv6s33q65i] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

table[b-yv6s33q65i] {
    border-collapse: collapse;
    width: 100%;
}

th[b-yv6s33q65i], td[b-yv6s33q65i] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* 使文字在单元格内水平居中 */
}

th[b-yv6s33q65i] {
    background-color: #f4f4f4;
}

.row-header[b-yv6s33q65i] {
    font-weight: bold;
}

img[b-yv6s33q65i] {
    max-width: 30px; /* 控制最大宽度 */
    max-height: 30px; /* 控制最大高度 */
    height: auto; /* 保持图片比例 */
    width: auto; /* 保持图片比例 */
}
/* /Pages/Dashboard/PageDashboardCoreData.razor.rz.scp.css */
/* === 基础样式（同时适配 Light/Dark） === */
[b-yd8y6emu84] .metric-card {
    /* 核心修改：使用变量代替固定颜色 */
    background-color: var(--bs-card-bg);
    color: var(--bs-body-color);
    border-radius: 12px;
    padding: 20px;
    /* 使用变量控制阴影，深色模式下阴影会自动变淡或消失 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--bs-border-color); /* 增加自适应边框 */
}

    [b-yd8y6emu84] .metric-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        background-color: var(--bs-tertiary-bg); /* 悬停时稍微变色 */
    }

[b-yd8y6emu84] .metric-title {
    font-size: 14px;
    /* 使用次要文字变量 */
    color: var(--bs-secondary-color);
    margin-bottom: 8px;
}

[b-yd8y6emu84] .metric-amount {
    font-size: 28px;
    font-weight: 700;
    /* 使用强调文字变量 */
    color: var(--bs-emphasis-color);
    margin-bottom: 8px;
}

[b-yd8y6emu84] .metric-change {
    font-size: 13px;
}

    /* 状态颜色：深色模式下通过 ::deep 这里的微调来确保亮度 */
    [b-yd8y6emu84] .metric-change.positive {
        color: #28a745;
        font-weight: 600;
    }

    [b-yd8y6emu84] .metric-change.negative {
        color: #dc3545;
        font-weight: 600;
    }

    [b-yd8y6emu84] .metric-change.neutral {
        color: var(--bs-secondary-color);
    }

/* === 特别针对深色模式的微调 (如果变量效果不够好) === */
[data-bs-theme="dark"][b-yd8y6emu84]  .metric-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* 深色模式加重阴影 */
}

[data-bs-theme="dark"][b-yd8y6emu84]  .metric-change.positive {
    color: #2ecc71; /* 深色模式下亮一点的绿 */
}

[data-bs-theme="dark"][b-yd8y6emu84]  .metric-change.negative {
    color: #ff6b6b; /* 深色模式下亮一点的红 */
}

/* === 深色模式下的表格微调 === */
[data-bs-theme="dark"] .table-light[b-yd8y6emu84] {
    /* 将表头调暗：使用深灰色背景，浅灰色文字 */
    --bs-table-bg: #32373c;
    --bs-table-color: #f8f9fa;
    --bs-table-border-color: #454d55;
}

[data-bs-theme="dark"] .table-info[b-yd8y6emu84] {
    /* 将合计行调暗：使用深蓝色背景，亮蓝色文字 */
    --bs-table-bg: #1a394d;
    --bs-table-color: #9ec5fe;
    --bs-table-border-color: #2c4f6b;
}

/* 移除深色模式下条纹行的过亮背景 */
[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > *[b-yd8y6emu84] {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.02);
}

/* 调整表格边框颜色，使其不那么生硬 */
[data-bs-theme="dark"] .table-bordered[b-yd8y6emu84],
[data-bs-theme="dark"] .table-bordered td[b-yd8y6emu84],
[data-bs-theme="dark"] .table-bordered th[b-yd8y6emu84] {
    border-color: #373b3e !important;
}
/* /Pages/Inventory/EditRecordDialogBody.razor.rz.scp.css */
/* 卡片基础样式 */
.edit-record-card[b-clb2vebass] {
    border-radius: 10px;
    border: 1px solid var(--bs-border-color-translucent);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

    .edit-record-card:hover[b-clb2vebass] {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

/* 卡片头部 */
.edit-record-card-header[b-clb2vebass] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.edit-record-card-icon[b-clb2vebass] {
    font-size: 1rem;
}

.edit-record-card-body[b-clb2vebass] {
    padding: 12px 14px 14px;
}

/* ===== 只读信息卡（蓝灰色调） ===== */
.edit-record-info-card[b-clb2vebass] {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
    border-color: #c9d6df;
}

    .edit-record-info-card .edit-record-card-header[b-clb2vebass] {
        background: linear-gradient(90deg, #dce7ef 0%, #cddae5 100%);
        color: #3a506b;
    }

    .edit-record-info-card[b-clb2vebass]  .form-control {
        background-color: #f8fafc;
        color: #495057;
        border-color: #c9d6df;
    }

/* ===== 编辑字段卡（白色 + 左侧蓝色强调线） ===== */
.edit-record-edit-card[b-clb2vebass] {
    background: #fff;
    border-left: 4px solid #4a90d9;
}

    .edit-record-edit-card .edit-record-card-header[b-clb2vebass] {
        background: linear-gradient(90deg, #f0f6ff 0%, #e6effc 100%);
        color: #2b6cb0;
    }

/* ===== 温馨提示卡（暖琥珀色调） ===== */
.edit-record-tip-card[b-clb2vebass] {
    background: linear-gradient(135deg, #fffbf0 0%, #fef6e4 100%);
    border-color: #e6d5a8;
}

    .edit-record-tip-card .edit-record-tip-header[b-clb2vebass] {
        background: linear-gradient(90deg, #fde8b8 0%, #f9dda4 100%);
        color: #8a6d20;
    }

    .edit-record-tip-card p[b-clb2vebass] {
        font-size: 0.83rem;
        color: #7a6510;
        line-height: 1.55;
    }

    .edit-record-tip-card strong[b-clb2vebass] {
        color: #a07818;
    }

/* 标签统一样式 */
.edit-record-label[b-clb2vebass] {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 4px;
}

/* 只读输入框微调 */
.edit-record-readonly-input[b-clb2vebass] {
    cursor: default;
}
/* /Pages/Inventory/QrCodePrint.razor.rz.scp.css */
    .qr-print-container[b-baonqjpmn8] {
        display: grid;
        grid-template-columns: repeat(4, 40mm);
        gap: 1mm;
        justify-content: center;
        padding: 20px;
    }

    .qr-print-label-40mm[b-baonqjpmn8] {
        width: 40mm;
        height: 40mm;
        border: 1px solid #333;
        padding: 1.5mm 2mm 2mm 2mm;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        background: #fff;
    }

    .label-company[b-baonqjpmn8] {
        font-size: 6.5pt;
        font-weight: bold;
        text-align: center;
        padding: 0 0 0.5mm 0;
        border-bottom: 0.5pt solid #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: 0.5pt;
    }

    .label-row[b-baonqjpmn8] {
        display: flex;
        align-items: baseline;
        font-size: 6.5pt;
        line-height: 1.3;
        padding: 1mm 0;
        border-bottom: 0.5pt solid #999;
    }

    .label-row-last[b-baonqjpmn8] {
        border-bottom: none;
    }

    .label-key[b-baonqjpmn8] {
        font-weight: bold;
        white-space: nowrap;
    }

    .label-colon[b-baonqjpmn8] {
        margin: 0 1mm;
    }

    .label-value[b-baonqjpmn8] {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .label-qr-area[b-baonqjpmn8] {
        margin-top: auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 1mm;
    }

    .label-qr-wrapper[b-baonqjpmn8] {
        width: 10mm;
        height: 10mm;
    }

    .label-qr-wrapper[b-baonqjpmn8]  canvas {
        width: 10mm !important;
        height: 10mm !important;
    }

    @media print {
        .qr-print-container[b-baonqjpmn8] {
            padding: 0;
            gap: 0;
            justify-content: flex-start;
        }

        .qr-print-label-40mm[b-baonqjpmn8] {
            border: 1px solid #000;
            page-break-inside: avoid;
        }
    }
/* /Pages/Items/CalendarCrewCell.razor.rz.scp.css */
.calendar-day[b-uehcmemw8z] {
    --bb-calendar-cell-height: 101px;
    height: var(--bb-calendar-cell-height); /* 应用变量 */
}
/* /Pages/Items/CalendarCrewDialogBody.razor.rz.scp.css */
.actions[b-hs3ah8qurw] {
    border: 1px solid var(--bs-purple);
    border-radius: var(--bs-border-radius);
    padding: 1px 1rem;
}

    .actions > span[b-hs3ah8qurw] {
        cursor: pointer;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        transition: background-color .3s linear;
    }

        .actions > span:hover[b-hs3ah8qurw] {
            background-color: var(--bs-purple);
            color: #fff;
        }

        .actions > span:not(:last-child)[b-hs3ah8qurw] {
            margin-right: .5rem;
        }

.crew:not(:last-child)[b-hs3ah8qurw] {
    margin-bottom: .5rem;
}

.crew > input[b-hs3ah8qurw] {
    max-width: 2rem;
    margin-right: 1rem;
    border: none;
}
/* /Pages/Market/BindWeiXinCustomer.razor.rz.scp.css */
/* 容器背景 - 类似微信的淡灰色 */
.binding-container[b-rmlntv7iha] {
    background-color: #f7f7f7;
    min-height: 100vh;
    padding: 20px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 卡片式布局 */
.binding-card[b-rmlntv7iha] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

/* 头部样式 */
.binding-header[b-rmlntv7iha] {
    background-color: #fbfbfb;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

    .binding-header i[b-rmlntv7iha] {
        font-size: 3rem;
        color: #07C160;
    }

    .binding-header h3[b-rmlntv7iha] {
        margin-top: 10px;
        font-weight: 600;
        color: #333;
    }

    .binding-header p[b-rmlntv7iha] {
        font-size: 0.9rem;
        color: #888;
        margin-bottom: 0;
    }

/* 表单样式 */
.binding-form[b-rmlntv7iha] {
    padding: 20px;
}

.form-group[b-rmlntv7iha] {
    margin-bottom: 20px;
}

    .form-group label[b-rmlntv7iha] {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #444;
        font-size: 0.95rem;
    }

        .form-group label i[b-rmlntv7iha] {
            margin-right: 5px;
            color: #07C160;
        }

    .form-group input[b-rmlntv7iha] {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s;
        box-sizing: border-box;
    }

        .form-group input:focus[b-rmlntv7iha] {
            outline: none;
            border-color: #07C160;
            background-color: #fafafa;
        }

/* 手机号与验证码按钮组合 */
.input-with-button[b-rmlntv7iha] {
    display: flex;
    gap: 10px;
}

    .input-with-button input[b-rmlntv7iha] {
        flex: 1;
    }

.btn-send-code[b-rmlntv7iha] {
    white-space: nowrap;
    padding: 0 15px;
    background-color: #07C160;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

    .btn-send-code:disabled[b-rmlntv7iha] {
        background-color: #ccc;
        cursor: not-allowed;
    }

/* 提交区域 */
.action-area[b-rmlntv7iha] {
    margin-top: 30px;
    text-align: center;
}

.btn-submit[b-rmlntv7iha] {
    width: 100%;
    padding: 14px;
    background-color: #07C160;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(7, 193, 96, 0.3);
}

    .btn-submit:active[b-rmlntv7iha] {
        transform: translateY(2px);
        box-shadow: none;
    }

.openid-hint[b-rmlntv7iha] {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #bbb;
/* /Pages/Order/PagePurchaseOrder.razor.rz.scp.css */
.tabletd[b-yc84ib2npx] {
    width: calc(100% / 9);
    text-align: center;
}
/* /Pages/Order/PagePurchaseOrderEdit.razor.rz.scp.css */
.table[b-lkj3ipwabg] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-lkj3ipwabg], .table td[b-lkj3ipwabg] {
        width: calc(100% / 11);
        text-align: center;
    }
/* /Pages/Order/PagePurchaseOrderEditTrade2.razor.rz.scp.css */
.table[b-f2d5uitip2] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-f2d5uitip2], .table td[b-f2d5uitip2] {
        width: calc(100% / 11);
        text-align: center;
    }
/* /Pages/Order/PagePurchaseOrderForBatchInvoice.razor.rz.scp.css */
.tables-container[b-gglxctfcs2] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

table[b-gglxctfcs2] {
    border-collapse: collapse;
    width: 100%;
}

th[b-gglxctfcs2], td[b-gglxctfcs2] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* 使文字在单元格内水平居中 */
}

th[b-gglxctfcs2] {
    background-color: #f4f4f4;
}

.row-header[b-gglxctfcs2] {
    font-weight: bold;
}
/* /Pages/Order/PagePurchaseOrderForBatchPayment.razor.rz.scp.css */
.tables-container[b-ab5jy9hfzm] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

table[b-ab5jy9hfzm] {
    border-collapse: collapse;
    width: 100%;
}

th[b-ab5jy9hfzm], td[b-ab5jy9hfzm] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* 使文字在单元格内水平居中 */
}

th[b-ab5jy9hfzm] {
    background-color: #f4f4f4;
}

.row-header[b-ab5jy9hfzm] {
    font-weight: bold;
}
/* /Pages/Order/PagePurchaseOrderTrade.razor.rz.scp.css */
.tabletd[b-5o0rnijzci] {
    width: calc(100% / 9);
    text-align: center;
}
/* /Pages/Order/PagePurchaseOrderTrade2.razor.rz.scp.css */
.tabletd[b-pv9uz7o6ho] {
    width: calc(100% / 9);
    text-align: center;
}
/* /Pages/Order/PagePurchaseOrderTrade3.razor.rz.scp.css */
.tabletd[b-ci7haavk6p] {
    width: calc(100% / 9);
    text-align: center;
}
/* /Pages/Order/PagePurchaseOrderTrade4.razor.rz.scp.css */
.tabletd[b-7i68fxbjbv] {
    width: calc(100% / 9);
    text-align: center;
}
/* /Pages/Order/PagePurchaseOrderTrade5.razor.rz.scp.css */
.tabletd[b-zsj06k1alc] {
    width: calc(100% / 9);
    text-align: center;
}
/* /Pages/Order/PageQuoteOrder.razor.rz.scp.css */
.table[b-wwvbavj17s] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-wwvbavj17s], .table td[b-wwvbavj17s] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrder.razor.rz.scp.css */
.table[b-cmgl2cdqga] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-cmgl2cdqga], .table td[b-cmgl2cdqga] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrderEdit.razor.rz.scp.css */
.table[b-vnrggh2lpw] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-vnrggh2lpw], .table td[b-vnrggh2lpw] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrderEditTrade2.razor.rz.scp.css */
.table[b-tkdbi0dfih] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-tkdbi0dfih], .table td[b-tkdbi0dfih] {
        width: calc(100% / 11);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrderForBatchInvoice.razor.rz.scp.css */
.tables-container[b-l6w6xb7fl2] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

table[b-l6w6xb7fl2] {
    border-collapse: collapse;
    width: 100%;
}

th[b-l6w6xb7fl2], td[b-l6w6xb7fl2] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* 使文字在单元格内水平居中 */
}

th[b-l6w6xb7fl2] {
    background-color: #f4f4f4;
}

.row-header[b-l6w6xb7fl2] {
    font-weight: bold;
}
/* /Pages/Order/PageSalesOrderForBatchPayment.razor.rz.scp.css */
.tables-container[b-qtqhhy8ilq] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

table[b-qtqhhy8ilq] {
    border-collapse: collapse;
    width: 100%;
}

th[b-qtqhhy8ilq], td[b-qtqhhy8ilq] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* 使文字在单元格内水平居中 */
}

th[b-qtqhhy8ilq] {
    background-color: #f4f4f4;
}

.row-header[b-qtqhhy8ilq] {
    font-weight: bold;
}
/* /Pages/Order/PageSalesOrderPart.razor.rz.scp.css */
.table-container[b-kf26tb56tu] {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    gap: 10px; /* 表格之间的间距 */
    padding: 20px; /* 内边距，可选 */
    border: 1px solid #b2ebf2; /* 边框颜色，可选 */
}

table[b-kf26tb56tu] {
    border-collapse: collapse;
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 移除默认的内边距 */
    border: 1px solid #ddd; /* 添加边框 */
    width: 250px; /* 设置表格宽度 */
}

.table-image[b-kf26tb56tu] {
}

.table-info1[b-kf26tb56tu] {
    background-color: #f0f8ff; /* 淡蓝色 */
}

.table-info2[b-kf26tb56tu] {
    background-color: #e6f2ff; /* 稍深的淡蓝色 */
}

.table-info3[b-kf26tb56tu] {
    background-color: #e6f2ff; /* 稍深的淡蓝色 */
    /*background-color: #cce5ff; 更深的淡蓝色 */
}

.table-info4[b-kf26tb56tu] {
    background-color: #f0f8ff; /* 淡蓝色 */
    /*background-color: #b3d9ff;  另一种淡蓝色 */
}

.table-info5[b-kf26tb56tu] {
    background-color: #99c2ff; /* 另一种深一点的淡蓝色 */
}

td[b-kf26tb56tu] {
    text-align: center !important; /* 居中对齐 */
    padding: 8px !important; /* 内边距 */
    border-bottom: 1px solid #ddd !important; /* 底部边框 */
}

th[b-kf26tb56tu] {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    background-color: #f4f4f4; /* 设置表头背景色 */
}

img[b-kf26tb56tu] {
    max-width: 120px; /* 控制最大宽度 */
    max-height: 120px; /* 控制最大高度 */
    height: auto; /* 保持图片比例 */
    width: auto; /* 保持图片比例 */
}
/* /Pages/Order/PageSalesOrderQuote.razor.rz.scp.css */
.tables-container[b-ezc2h5o1zj] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

table[b-ezc2h5o1zj] {
    border-collapse: collapse;
    width: 100%;
}

th[b-ezc2h5o1zj], td[b-ezc2h5o1zj] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* 使文字在单元格内水平居中 */
}

th[b-ezc2h5o1zj] {
    background-color: #f4f4f4;
}

.row-header[b-ezc2h5o1zj] {
    font-weight: bold;
}

img[b-ezc2h5o1zj] {
    max-width: 30px; /* 控制最大宽度 */
    max-height: 30px; /* 控制最大高度 */
    height: auto; /* 保持图片比例 */
    width: auto; /* 保持图片比例 */
}
/* /Pages/Order/PageSalesOrderTrade.razor.rz.scp.css */
.table[b-qehtk9nqyt] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-qehtk9nqyt], .table td[b-qehtk9nqyt] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrderTrade2.razor.rz.scp.css */
.table[b-t4xlvfi4vf] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-t4xlvfi4vf], .table td[b-t4xlvfi4vf] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrderTrade3.razor.rz.scp.css */
.table[b-pav2sro7pu] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-pav2sro7pu], .table td[b-pav2sro7pu] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrderTrade4.razor.rz.scp.css */
.table[b-c35la9342y] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-c35la9342y], .table td[b-c35la9342y] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageSalesOrderTrade5.razor.rz.scp.css */
.table[b-0x9t7xkxow] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-0x9t7xkxow], .table td[b-0x9t7xkxow] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Order/PageXinDaPurchaseOrder.razor.rz.scp.css */
.tabletd[b-04kaq69bdy] {
    width: calc(100% / 9);
    text-align: center;
}
/* /Pages/Order/PageXinDaSalesOrder.razor.rz.scp.css */
.table[b-bxccqixbrt] {
    width: 100%;
    table-layout: fixed;
}

    .table th[b-bxccqixbrt], .table td[b-bxccqixbrt] {
        width: calc(100% / 10);
        text-align: center;
    }
/* /Pages/Produce/PageWorkFlowEdit.razor.rz.scp.css */
.sortable-chosen[b-sd52es16oo] {
    background-color: var(--bs-primary);
    color: var(--bs-body-bg);
}

.sortable-ghost[b-sd52es16oo] {
    background-color: var(--bs-info);
    color: var(--bs-body-bg);
}

.sortable-swap-highlight[b-sd52es16oo] {
    background-color: var(--bs-success);
    color: var(--bs-body-bg);
}

.sl-list[b-sd52es16oo] {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: .5rem;
}

.sl-item[b-sd52es16oo] {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 1rem;
}

    .sl-item:not(:last-child)[b-sd52es16oo] {
        margin-bottom: 0.5rem;
        user-select: none;
    }

    .sl-item.filter[b-sd52es16oo] {
        background-color: var(--bs-danger);
        color: var(--bs-body-bg);
    }

        .sl-item.filter i[b-sd52es16oo] {
            cursor: not-allowed;
        }

    .sl-item i[b-sd52es16oo] {
        cursor: pointer;
    }

    .sl-item span[b-sd52es16oo] {
        margin-inline-start: 2rem;
    }

    .sl-item.sortable-chosen[b-sd52es16oo] {
        background-color: var(--bs-primary);
        color: var(--bs-body-bg);
    }

    .sl-item.sortable-ghost[b-sd52es16oo] {
        background-color: var(--bs-info);
        color: var(--bs-body-bg);
    }
/* /Pages/Radan/PageSalesOrderNest.razor.rz.scp.css */
.table-container[b-zbcj9oahrg] {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    gap: 10px; /* 表格之间的间距 */
    padding: 20px; /* 内边距，可选 */
    border: 1px solid #b2ebf2; /* 边框颜色，可选 */
}

table[b-zbcj9oahrg] {
    border-collapse: collapse;
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 移除默认的内边距 */
    border: 1px solid #ddd; /* 添加边框 */
    width: 250px; /* 设置表格宽度 */
}

.table-image[b-zbcj9oahrg] {
}

.table-info1[b-zbcj9oahrg] {
    background-color: #f0f8ff; /* 淡蓝色 */
}

.table-info2[b-zbcj9oahrg] {
    background-color: #e6f2ff; /* 稍深的淡蓝色 */
}

.table-info3[b-zbcj9oahrg] {
    background-color: #e6f2ff; /* 稍深的淡蓝色 */
    /*background-color: #cce5ff; 更深的淡蓝色 */
}

.table-info4[b-zbcj9oahrg] {
    background-color: #f0f8ff; /* 淡蓝色 */
    /*background-color: #b3d9ff;  另一种淡蓝色 */
}

.table-info5[b-zbcj9oahrg] {
    background-color: #99c2ff; /* 另一种深一点的淡蓝色 */
}

td[b-zbcj9oahrg] {
    text-align: center !important; /* 居中对齐 */
    padding: 8px !important; /* 内边距 */
    border-bottom: 1px solid #ddd !important; /* 底部边框 */
}

th[b-zbcj9oahrg] {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    background-color: #f4f4f4; /* 设置表头背景色 */
}

img[b-zbcj9oahrg] {
    max-width: 1000px; /* 控制最大宽度 */
    max-height: 1000px; /* 控制最大高度 */
    height: auto; /* 保持图片比例 */
    width: auto; /* 保持图片比例 */
}
/* /Shared/MainLayout.razor.rz.scp.css */
.layout-drawer[b-fknwy3qb77] {
    margin-inline-start: .5rem;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.layout-drawer-body[b-fknwy3qb77]  .groupbox {
    margin-top: 1rem;
}

.layout-drawer-body[b-fknwy3qb77]  .btn-info {
    --bs-info: #0078d4;
    --bs-btn-hover-bg: #1260b0;
    margin-bottom: 1rem;
}

/* ── 断线重连样式已迁移到 wwwroot/css/app.css（全局样式，因 Blazor Reconnector 渲染在组件作用域外）── */

#blazor-error-ui[b-fknwy3qb77] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-fknwy3qb77] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Shared/NotFoundLayout.razor.rz.scp.css */
.error[b-wklq98xxgn] {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f7f7f7;
}

h3[b-wklq98xxgn] {
    font-size: 1.28rem;
    font-weight: bold;
    margin: 1.125rem 0;
}

.bg[b-wklq98xxgn] {
    background-image: url('../images/bg404.png');
    width: 458px;
    height: 215px;
    text-align: center;
}
/* /Shared/Widget.razor.rz.scp.css */
/* ========== Notification Drawer（组件内样式，scoped 可达）========== */
.notification-drawer[b-5cgmen9r9d] {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.noti-toolbar[b-5cgmen9r9d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    margin-bottom: 0.5rem;
}

.noti-search[b-5cgmen9r9d] {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 300px;
}

.noti-actions[b-5cgmen9r9d] {
    display: flex;
    gap: 0.5rem;
}

.noti-loading[b-5cgmen9r9d],
.noti-empty[b-5cgmen9r9d] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noti-list[b-5cgmen9r9d] {
    flex: 1;
    overflow-y: auto;
}

.noti-item[b-5cgmen9r9d] {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
    transition: background-color 0.15s;
    cursor: pointer;
}

.noti-item:hover[b-5cgmen9r9d] {
    background-color: rgba(0, 0, 0, 0.03);
}

.noti-item.is-unread[b-5cgmen9r9d] {
    background-color: rgba(37, 99, 235, 0.04);
}

.noti-item.is-read[b-5cgmen9r9d] {
    opacity: 0.75;
}

.noti-item-content[b-5cgmen9r9d] {
    flex: 1;
    min-width: 0;
}

.noti-item-title[b-5cgmen9r9d] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.noti-dot[b-5cgmen9r9d] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2563eb;
    flex-shrink: 0;
}

.noti-item-body[b-5cgmen9r9d] {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.25rem;
    white-space: pre-line;
}

.noti-item-time[b-5cgmen9r9d] {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.noti-item-actions[b-5cgmen9r9d] {
    display: flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.noti-pagination[b-5cgmen9r9d] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    margin-top: 0.5rem;
}

/* Dark theme overrides */
:root[data-bs-theme="dark"] .noti-item.is-unread[b-5cgmen9r9d] {
    background-color: rgba(37, 99, 235, 0.12);
}

:root[data-bs-theme="dark"] .noti-item:hover[b-5cgmen9r9d] {
    background-color: rgba(255, 255, 255, 0.04);
}

:root[data-bs-theme="dark"] .noti-item-body[b-5cgmen9r9d] {
    color: #9ca3af;
}
