/* Extracted from li_scann_ai.html */

/* === Style Block 1 === */
.robot {
        z-index: 9999;
        cursor: pointer;
    }
    .pop {
        z-index: 1000;
    }
       /* 冲突条款详情样式优化 */
    .conflict-container {
        margin-bottom: 30px;
        padding: 20px;
        background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3a 100%);
        border-radius: 12px;
        border: 1px solid #3a3a4a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .clause-title {
        color: #4fc3f7; /* 亮蓝色，更醒目 */
        font-weight: bold;
        font-size: 20px;
        margin: 0 0 20px 0;
        padding-bottom: 10px;
        border-bottom: 2px solid #4fc3f7;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .license-label {
        font-weight: bold;
        margin: 15px 0 8px;
        padding: 8px 15px;
        border-radius: 6px;
        position: relative;
        font-size: 14px;
    }

    /* 第一个许可证 - 绿色主题 */
    .conflict-container .license-label-1 {
        color: #ffffff;
        background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
        border-left: 4px solid #2e7d32;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    }

    /* 第二个许可证 - 橙色主题 */
    .conflict-container .license-label-2 {
        color: #ffffff;
        background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
        border-left: 4px solid #f57c00;
        box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    }

    .license-content {
        margin: 10px 0 0 0;
        padding: 15px 20px;
        background: linear-gradient(135deg, #2c2c3c 0%, #3a3a4a 100%);
        color: #e0e0e0;
        border-radius: 8px;
        line-height: 1.7;
        border: 1px solid #4a4a5a;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 13px;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .status-item {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
        border: 1px solid rgba(79, 172, 254, 0.2);
        border-radius: 8px;
        padding: 12px 16px;
        margin-bottom: 8px;
        border-left: 4px solid #4facfe;
        transition: all 0.3s ease;
    }

    .status-item:hover {
        transform: translateX(5px);
        border-left-color: #667eea;
        box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2);
    }

    .status-item h4 {
        margin: 0 0 8px 0;
        color: #e2e8f0;
        font-size: 15px;
        font-weight: 600;
    }

    .status-item p {
        margin: 0;
        color: #cbd5e1;
        font-size: 13px;
        line-height: 1.5;
    }

    .status-success {
        border-left-color: #00d4ff;
        background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 41, 59, 0.8) 100%);
    }

    .status-warning {
        border-left-color: #fbbf24;
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(30, 41, 59, 0.8) 100%);
    }

    .status-error {
        border-left-color: #f87171;
        background: linear-gradient(135deg, rgba(248, 113, 113, 0.1) 0%, rgba(30, 41, 59, 0.8) 100%);
    }

    /* 依赖关系图样式 */
    .tips {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: #999;
    }

    .tips .icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
        opacity: 0.6;
    }

    .tips .title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    /* 基本信息表格第一列蓝色样式 */
    #model-id {
        background-color: #0f70ff !important;
        font-size: 16px;
        line-height: 20px;
        height: 45px;
        text-align: center;
        font-weight: normal;
        padding: 10px 5px;
        color: white !important;
        border-radius: 10px 0 0 10px;
        font-family: 'MiSans', 'SourceHanSansCN', 'PingFang SC', 'PingFangMedium', "microsoft yahei";
    }

    .tips .txt {
        font-size: 14px;
        color: #999;
        text-align: center;
    }

    /* 状态颜色样式 */
    .zt {
        transition: all 0.3s ease;
        display: inline-block;
        min-width: 80px;
        text-align: center;
    }

    /* 状态动画 */
    @keyframes pulse {
        0% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.05); opacity: 0.8; }
        100% { transform: scale(1); opacity: 1; }
    }

    /* 按钮样式优化 */
    .submit {
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .submit:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

    .submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    /* 输入框样式优化 */
    .ipt {
        transition: all 0.3s ease;
    }

    .ipt:focus {
        border-color: #1890ff;
        box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
        outline: none;
    }

    /* ====== 核心修复：破解高度限制链 ====== */
    /* .conwrap 原来 height:100% 限制了高度，改为auto让它随内容撑开 */
    .conwrap {
        height: auto !important;
        min-height: 100% !important;
    }
    /* 外层：只改overflow，保持flex:1不破坏整体布局 */
    .con-side > .flex-1 {
        overflow: visible !important;
    }
    .test-l.flex-1 {
        overflow: visible !important;
    }
    /* 内层：overflow:visible让内容自然撑开 */
    .test-l > .p20.flex-1 {
        overflow: visible !important;
    }
    .test-l .m.p20.flex-1.flex-v {
        overflow: visible !important;
    }

    /* 外围框：保持flex:1填满父容器，overflow:visible让chart内容溢出 */
    .test-tu {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        overflow: visible !important;
    }

    /* 图表容器样式 - 固定700px高度 */
    #dependencyChart {
        flex: 1;
        min-width: 0;
        height: 700px;
        border: 1px solid #e8e8e8;
        border-radius: 8px 0 0 8px;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
    }

    /* 响应式设计 */
    @media (max-width: 1200px) {
        #dependencyChart {
            height: 500px !important;
        }
    }

    @media (max-width: 768px) {
        #dependencyChart {
            height: 400px !important;
        }
        .zt {
            font-size: 10px;
            min-width: 60px;
        }
    }

    #model-id,
    #model-license {
        background-color: #0f70ff;
        font-size: 16px;
        line-height: 20px;
        height: 45px;
        text-align: center;
        font-weight: normal;
        padding: 10px 5px;
        color: inherit;
        border-radius: 10px 0 0 10px;
        font-family: 'MiSans', 'SourceHanSansCN', 'PingFang SC', 'PingFangMedium', "microsoft yahei";
    }

    /* 通用：与基本信息左侧单元格样式一致 */
    .basic-left {
        background-color: #0f70ff !important;
        font-size: 16px;
        line-height: 20px;
        height: 45px;
        text-align: center;
        font-weight: normal;
        padding: 10px 5px;
        color: white !important;
        border-radius: 10px 0 0 10px;
        font-family: 'MiSans', 'SourceHanSansCN', 'PingFang SC', 'PingFangMedium', "microsoft yahei";
        width: 30%;
    }

    .addition-value {
        word-break: break-word;
        white-space: pre-wrap;
        line-height: 1.4;
    }









    .btn-text {
        font-size: 10px;
        font-weight: 500;
    }

    /* 统一的现代化缩放控制器样式 */
    .zoom-controller {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px) scale(0.95);
        margin-top: 0;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
        border: 1px solid rgba(79, 172, 254, 0.3);
        border-radius: 16px;
        padding: 20px;
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(79, 172, 254, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000000;
        min-width: 280px;
        max-width: 320px;
        user-select: none;
        pointer-events: auto;
    }

    .zoom-controller.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(10px) scale(1);
    }

    .zoom-controller::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid rgba(79, 172, 254, 0.3);
    }

    .zoom-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(79, 172, 254, 0.2);
    }

    .zoom-title {
        color: #4facfe;
        font-size: 14px;
        font-weight: 600;
        margin: 0;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .zoom-percentage {
        background: rgba(79, 172, 254, 0.1);
        border: 1px solid rgba(79, 172, 254, 0.3);
        border-radius: 20px;
        padding: 4px 12px;
        color: #4facfe;
        font-size: 12px;
        font-weight: 600;
        min-width: 60px;
        text-align: center;
    }

    .zoom-controls {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }

    .zoom-btn-modern {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
        border: 1px solid rgba(79, 172, 254, 0.3);
        color: #4facfe;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 16px;
        font-weight: 600;
        position: relative;
        overflow: hidden;
    }

    .zoom-btn-modern:hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(79, 172, 254, 0.2) 100%);
        border-color: #667eea;
        color: #667eea;
        transform: scale(1.1);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }

    .zoom-btn-modern:active {
        transform: scale(0.95);
    }

    .zoom-btn-modern:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        transform: none !important;
    }

    .zoom-slider-container {
        flex: 1;
        margin: 0 12px;
        position: relative;
    }

    .zoom-slider {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: linear-gradient(90deg, rgba(79, 172, 254, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
        outline: none;
        cursor: pointer;
        position: relative;
        -webkit-appearance: none;
        appearance: none;
    }

    .zoom-slider::-webkit-slider-thumb {
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
        cursor: pointer;
        border: 2px solid #fff;
        box-shadow: 0 2px 10px rgba(79, 172, 254, 0.4);
        transition: all 0.3s ease;
    }

    .zoom-slider::-webkit-slider-thumb:hover {
        transform: scale(1.2);
        box-shadow: 0 4px 20px rgba(79, 172, 254, 0.6);
    }

    .zoom-slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
        cursor: pointer;
        border: 2px solid #fff;
        box-shadow: 0 2px 10px rgba(79, 172, 254, 0.4);
    }

    .zoom-presets {
        display: flex;
        gap: 8px;
        justify-content: space-between;
    }

    .zoom-preset {
        background: rgba(79, 172, 254, 0.1);
        border: 1px solid rgba(79, 172, 254, 0.3);
        color: #4facfe;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
        text-align: center;
    }

    .zoom-preset:hover {
        background: rgba(102, 126, 234, 0.2);
        border-color: #667eea;
        color: #667eea;
        transform: translateY(-2px);
    }

    .zoom-preset.active {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(102, 126, 234, 0.3) 100%);
        border-color: #4facfe;
        color: #fff;
        box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
    }

    /* 缩放按钮增强样式 */
    .ico {
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-block;
        padding: 8px 12px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

    .ico .iconfont {
        font-size: 14px;
        margin-right: 2px;
    }

    .ico:hover {
        color: #4facfe;
    }

    .ico.zoom-active {
        color: #4facfe;
        text-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
    }

    .ico.zoom-trigger {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* 确保容器不会裁剪悬浮元素 */
    .test-icos {
        position: relative;
        overflow: visible;
        display: flex;
        gap: 10px;
        align-items: center;
    }

    /* 导出下拉框样式 */
    .export-dropdown {
        position: relative;
        display: inline-block;
    }

    .export-trigger {
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

    .export-trigger .iconfont {
        font-size: 14px;
        margin-right: 2px;
    }

    .export-trigger:hover {
        color: #4facfe;
    }

    .export-trigger.active {
        color: #4facfe;
        text-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
    }

    .export-menu {
        position: absolute;
        top: 100%;
        right: 0;
        transform: translateY(-10px) scale(0.95);
        background: linear-gradient(145deg, rgba(13, 17, 30, 0.95) 0%, rgba(26, 35, 52, 0.9) 100%);
        border: 1px solid rgba(79, 172, 254, 0.3);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 172, 254, 0.15);
        backdrop-filter: blur(12px);
        min-width: 160px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        padding: 8px 0;
    }

    .export-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .export-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 20px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid rgba(79, 172, 254, 0.3);
    }

    .export-option {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: relative;
        overflow: hidden;
    }

    .export-option:last-child {
        border-bottom: none;
    }

    .export-option:hover {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(102, 126, 234, 0.15) 100%);
        color: #4facfe;
        transform: translateX(2px);
        box-shadow: inset 3px 0 0 #4facfe;
    }

    .export-option i {
        color: #4facfe;
        font-size: 12px;
    }

    /* 响应式调整 */
    @media (max-width: 768px) {
        .export-menu {
            min-width: 140px;
            right: -10px;
        }

        .export-menu::before {
            right: 15px;
        }
    }

    .idx-tit {
        position: relative;
        overflow: visible;
    }

    .ico:hover {
        transform: translateY(-2px);
        color: #4facfe;
    }

    .ico.zoom-active {
        color: #4facfe;
        text-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
    }

    /* 统一的响应式调整 */
    @media (max-width: 1200px) {
        .zoom-controller {
            min-width: 260px;
            padding: 16px;
            left: auto;
            right: 0;
            transform: translateY(10px) scale(0.95);
        }

        .zoom-controller.show {
            transform: translateY(10px) scale(1);
        }

        .zoom-controller::before {
            left: auto;
            right: 30px;
        }
    }

    @media (max-width: 768px) {
        .zoom-controller {
            position: absolute;
            top: 100%;
            right: 0;
            left: auto;
            transform: translateY(10px) scale(0.95);
            min-width: 240px;
            max-width: 240px;
            padding: 12px;
        }

        .zoom-controller.show {
            transform: translateY(10px) scale(1);
        }

        .zoom-controller::before {
            top: -8px;
            left: auto;
            right: 20px;
            transform: none;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid rgba(79, 172, 254, 0.3);
        }
    }

    /* 右侧信息面板样式优化 */
    .info {
        width: 350px;
        flex-shrink: 0;
        transition: all 0.3s ease;
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border: 1px solid rgba(79, 172, 254, 0.3);
        border-radius: 12px 0 0 12px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
    }

    /* 加载动画 */
    @keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(1.05); }
    }

    /* 图表容器优化 */
    .graph-container {
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        border: 1px solid rgba(79, 172, 254, 0.2);
    }

    /* 节点详情面板滚动条样式 - 隐藏滚动条 */
    .info::-webkit-scrollbar {
        width: 0px;
        display: none;
    }

    .info {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    /* 响应式设计优化 */
    @media (max-width: 1400px) {
        .info {
            width: 300px !important;
            max-width: 300px !important;
        }
    }

    @media (max-width: 1200px) {
        .info {
            width: 280px !important;
            max-width: 280px !important;
        }
    }

    @media (max-width: 768px) {
        .chart-box {
            flex-direction: column !important;
            height: auto !important;
        }

        .imgbox {
            height: 400px !important;
        }

        .info {
            width: 100% !important;
            max-width: 100% !important;
            height: 300px !important;
            border-radius: 0 0 8px 8px !important;
            border-top: none !important;
        }
    }

    .info.info-visible {
        transform: translateX(0);
    }

    .info.info-expanded {
        width: 600px !important;
    }

    .info-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(79, 172, 254, 0.1) 100%);
        border-bottom: 1px solid rgba(79, 172, 254, 0.3);
        border-radius: 12px 0 0 0;
    }

    .info-header .top-bt {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        margin: 0;
    }

    .info-controls {
        display: flex;
        gap: 8px;
    }

    .resize-btn, .close-info-btn {
        background: rgba(79, 172, 254, 0.1);
        border: 1px solid rgba(79, 172, 254, 0.3);
        color: #4facfe;
        width: 32px;
        height: 32px;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-size: 14px;
    }

    .resize-btn:hover, .close-info-btn:hover {
        background: rgba(102, 126, 234, 0.2);
        border-color: #667eea;
        color: #667eea;
        transform: scale(1.1);
    }

    .node-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(79, 172, 254, 0.2);
    }

    .node-header h3 {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    .node-type {
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
    }

    .node-type.model {
        background: linear-gradient(90deg, rgba(79, 172, 254, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
        color: #4facfe;
        border: 1px solid rgba(79, 172, 254, 0.3);
    }

    .node-type.dataset {
        background: linear-gradient(90deg, rgba(0, 212, 255, 0.2) 0%, rgba(9, 9, 121, 0.2) 100%);
        color: #00d4ff;
        border: 1px solid rgba(0, 212, 255, 0.3);
    }

    .node-details {
        margin-bottom: 20px;
    }

    .detail-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 12px;
        padding: 10px;
        background: rgba(30, 41, 59, 0.5);
        border-radius: 8px;
        border-left: 3px solid #4facfe;
        transition: all 0.3s ease;
    }

    .detail-item:hover {
        background: rgba(30, 41, 59, 0.8);
        transform: translateX(5px);
    }

    .detail-item .label {
        color: #94a3b8;
        font-weight: 500;
        font-size: 13px;
        min-width: 100px;
    }

    .detail-item .value {
        color: #fff;
        font-size: 13px;
        text-align: right;
        flex: 1;
        margin-left: 10px;
    }
		/* 双栏布局样式 */
		#dualLayout {
			display: flex;
			height: 600px;
			gap: 0;
			border-radius: 8px;
			overflow: hidden;
			width: 100%;
		}

		/* 图表区域已在上方统一定义 */

		/* 节点详情面板 - 调整为更窄的比例 */
		#nodeDetails {
			width: 280px;
			min-width: 280px;
			max-width: 280px;
			flex-shrink: 0;
			height: 600px;
			background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
			border: 1px solid rgba(79, 172, 254, 0.3);
			border-radius: 0 8px 8px 0;
			border-left: none;
			overflow: hidden; /* 防止外层滚动条 */
			transition: all 0.3s ease;
			display: flex;
			flex-direction: column;
		}

		/* 节点详情面板内容区域 - 占满剩余空间 */
		#nodeDetails .detail.scrollybg {
			flex: 1;
			overflow-y: auto;
			display: flex;
			flex-direction: column;
		}

		/* 节点详情内容容器 - 占满空间 */
		#nodeDetails #nodeDetailsContent {
			flex: 1;
			display: flex;
			flex-direction: column;
			min-height: 100%;
		}

		/* 占位符容器 - 居中显示 */
		#nodeDetails #nodeDetailsPlaceholder {
			flex: 1;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
		}

		/* 响应式调整 */
		@media (max-width: 1400px) {
			#nodeDetails {
				width: 260px;
				min-width: 260px;
				max-width: 260px;
			}
		}

		@media (max-width: 1200px) {
			#nodeDetails {
				width: 240px;
				min-width: 240px;
				max-width: 240px;
			}
		}



		.zoom-header {
			display: flex;
			align-items: center;
			justify-content: space-between;
			margin-bottom: 16px;
			padding-bottom: 12px;
			border-bottom: 1px solid rgba(79, 172, 254, 0.2);
		}

		.zoom-title {
			color: #4facfe;
			font-size: 14px;
			font-weight: 600;
			margin: 0;
			text-shadow: 0 1px 2px rgba(0,0,0,0.3);
		}

		.zoom-percentage {
			background: rgba(79, 172, 254, 0.1);
			border: 1px solid rgba(79, 172, 254, 0.3);
			border-radius: 20px;
			padding: 4px 12px;
			color: #4facfe;
			font-size: 12px;
			font-weight: 600;
			min-width: 45px;
			text-align: center;
		}

		.zoom-controls {
			display: flex;
			align-items: center;
			gap: 12px;
			margin-bottom: 16px;
		}

		.zoom-btn-modern {
			background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
			border: 1px solid rgba(79, 172, 254, 0.3);
			color: #4facfe;
			width: 36px;
			height: 36px;
			border-radius: 8px;
			font-size: 18px;
			font-weight: 600;
			cursor: pointer;
			transition: all 0.3s ease;
			display: flex;
			align-items: center;
			justify-content: center;
			position: relative;
			overflow: hidden;
		}

		.zoom-btn-modern:hover {
			background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(79, 172, 254, 0.2) 100%);
			border-color: #667eea;
			color: #667eea;
			transform: scale(1.1);
			box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
		}

		.zoom-btn-modern:active {
			transform: scale(0.95);
		}

		.zoom-btn-modern:disabled {
			opacity: 0.4;
			cursor: not-allowed;
			transform: none !important;
		}

		.zoom-slider-container {
			flex: 1;
			margin: 0 12px;
			position: relative;
		}

		.zoom-slider {
			width: 100%;
			height: 6px;
			border-radius: 3px;
			background: rgba(79, 172, 254, 0.1);
			outline: none;
			border: none;
			cursor: pointer;
			appearance: none;
		}

		.zoom-slider::-webkit-slider-thumb {
			appearance: none;
			width: 20px;
			height: 20px;
			border-radius: 50%;
			background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
			cursor: pointer;
			border: none;
			box-shadow: 0 2px 10px rgba(79, 172, 254, 0.4);
			transition: all 0.3s ease;
		}

		.zoom-slider::-webkit-slider-thumb:hover {
			transform: scale(1.2);
			box-shadow: 0 4px 20px rgba(79, 172, 254, 0.6);
		}

		.zoom-slider::-moz-range-thumb {
			width: 20px;
			height: 20px;
			border-radius: 50%;
			background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
			cursor: pointer;
			border: none;
			box-shadow: 0 2px 10px rgba(79, 172, 254, 0.4);
		}

		.zoom-presets {
			display: flex;
			gap: 8px;
			justify-content: space-between;
		}

		.zoom-preset {
			background: rgba(79, 172, 254, 0.1);
			border: 1px solid rgba(79, 172, 254, 0.3);
			color: #4facfe;
			padding: 6px 12px;
			border-radius: 6px;
			font-size: 12px;
			cursor: pointer;
			transition: all 0.3s ease;
			flex: 1;
			text-align: center;
		}

		.zoom-preset:hover {
			background: rgba(102, 126, 234, 0.2);
			border-color: #667eea;
			color: #667eea;
			transform: translateY(-2px);
		}

		.zoom-preset.active {
			background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(102, 126, 234, 0.3) 100%);
			border-color: #4facfe;
			color: #fff;
			box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
		}

		/* 缩放按钮增强样式 */
		.ico {
			position: relative;
			cursor: pointer;
			transition: all 0.3s ease;
			display: inline-block;
		}

		.ico.zoom-trigger {
			position: relative;
			z-index: 1;
		}

		.ico.zoom-active {
			color: #4facfe;
			text-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
		}



		/* 依赖关系图已在上方统一定义 */

		/* 确保ECharts canvas继承背景 */
		#dependencyChart canvas {
			background: transparent !important;
		}

		/* 全局tooltip样式 - 突破容器限制 */
		.echarts-tooltip {
			position: fixed !important;
			z-index: 999999 !important;
			pointer-events: none !important;
			max-width: 300px !important;
			word-wrap: break-word !important;
			overflow-wrap: break-word !important;
			white-space: normal !important;
			line-height: 1.4 !important;
			box-sizing: border-box !important;
			font-family: 'Microsoft YaHei', sans-serif !important;
		}

		/* 强制换行样式 */
		.tooltip-content {
			word-break: break-all !important;
			overflow-wrap: anywhere !important;
			hyphens: auto !important;
		}

    .base-model-tag {
        background: rgba(102, 126, 234, 0.2);
        color: #667eea;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 500;
        border: 1px solid rgba(102, 126, 234, 0.4);
    }

    /* 图三节点面板专用样式 */
    .node-basic-info {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
        border: 1px solid rgba(79, 172, 254, 0.3);
        border-radius: 10px;
        padding: 16px;
        margin-bottom: 16px;
    }

    .section-header {
        color: #4facfe;
        font-size: 14px;
        font-weight: 600;
        margin: 0 0 12px 0;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(79, 172, 254, 0.3);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .basic-info-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .info-row:last-child {
        border-bottom: none;
    }

    .info-label {
        color: #94a3b8;
        font-size: 12px;
        font-weight: 500;
    }

    .info-value {
        color: #ffffff;
        font-size: 11px;
        font-weight: 500;
        text-align: right;
        word-break: break-all;
        max-width: 55%;
        line-height: 1.3;
    }

    .type-badge {
        background: rgba(79, 172, 254, 0.2);
        color: #4facfe;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        border: 1px solid rgba(79, 172, 254, 0.4);
    }



    .properties-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .property-item {
        background: rgba(15, 23, 42, 0.4);
        border: 1px solid rgba(34, 197, 94, 0.2);
        border-radius: 8px;
        padding: 12px;
        transition: all 0.3s ease;
    }

    .property-item:hover {
        background: rgba(15, 23, 42, 0.6);
        border-color: rgba(34, 197, 94, 0.4);
    }

    .prop-label {
        color: #22c55e;
        font-size: 13px;
        font-weight: 600;
        display: block;
        margin-bottom: 8px;
    }

    .prop-value {
        color: #ffffff;
        font-size: 12px;
        font-weight: 500;
        font-family: 'Consolas', 'Monaco', monospace;
    }

    .complex-prop {
        background: rgba(15, 23, 42, 0.6) !important;
    }

    .prop-value-complex {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(34, 197, 94, 0.2);
        border-radius: 6px;
        padding: 10px;
        margin-top: 8px;
    }

    .prop-sub-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 6px;
        padding: 4px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .prop-sub-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .sub-label {
        color: #94a3b8;
        font-size: 11px;
        font-weight: 500;
        min-width: 80px;
        margin-right: 8px;
    }

    .sub-value {
        color: #ffffff;
        font-size: 11px;
        font-family: 'Consolas', 'Monaco', monospace;
        text-align: right;
        flex: 1;
        word-break: break-word;
    }

    .color-value {
        color: #4f46e5 !important;
        font-weight: 600;
    }

    .nested-prop {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(34, 197, 94, 0.1);
        border-radius: 4px;
        padding: 8px;
        margin-top: 6px;
    }

    .nested-prop .prop-sub-item {
        margin-bottom: 4px;
        padding: 2px 0;
    }

    /* 统计信息区域 */
    .node-stats {
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(79, 172, 254, 0.3);
        border-radius: 10px;
        padding: 16px;
        margin-bottom: 16px;
    }

    .node-stats .section-header {
        color: #4facfe;
        border-bottom-color: rgba(79, 172, 254, 0.3);
    }

    .stat-row {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-row:last-child {
        border-bottom: none;
    }

    .stat-icon {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

    .stat-label {
        color: #94a3b8;
        font-size: 12px;
        font-weight: 500;
        flex: 1;
    }

    .stat-value {
        color: #ffffff;
        font-size: 11px;
        font-weight: 600;
        text-align: right;
        word-break: break-word;
    }



    /* 查看报告按钮禁用样式 */
    .reportPopBtn.disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
        background-color: #ccc !important;
        color: #666 !important;
    }

    /* 导出报告按钮禁用样式 */
    .exportReportBtn.disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
        background-color: #ccc !important;
        color: #666 !important;
    }

    /* 导出报告按钮样式 */
    .export-report {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        transition: all 0.3s ease;
    }

    .export-report:hover:not(.disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    }

    /* 进度条样式 */
    .progress-container {
        margin-top: 20px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .progress-item {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .progress-item:last-child {
        margin-bottom: 0;
    }

    .progress-label {
        min-width: 80px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 500;
    }

    .progress-bar {
        flex: 1;
        height: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #007bff, #0056b3);
        border-radius: 4px;
        width: 0%;
        transition: width 0.3s ease;
        position: relative;
    }

    .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% {
            transform: translateX(-100%);
        }
        100% {
            transform: translateX(100%);
        }
    }

    .progress-text {
        min-width: 40px;
        color: #ffffff;
        font-size: 12px;
        text-align: right;
    }

    .reportPopBtn:not(.disabled):hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

    /* 输入框样式已在上方统一定义 */

    /* 图表容器样式已在上方统一定义 */

    .license-tag {
        background: rgba(251, 191, 36, 0.2);
        color: #fbbf24;
        padding: 2px 6px;
        border-radius: 8px;
        font-size: 10px;
        border: 1px solid rgba(251, 191, 36, 0.4);
    }

    /* 操作区域 */
    .node-actions {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
        border: 1px solid rgba(239, 68, 68, 0.3);
        border-radius: 10px;
        padding: 16px;
    }

    .node-actions .section-header {
        color: #ef4444;
        border-bottom-color: rgba(239, 68, 68, 0.3);
    }

    .action-buttons {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .action-btn {
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid;
        flex: 1;
        min-width: 100px;
    }

    .action-btn.primary {
        background: rgba(79, 172, 254, 0.2);
        border-color: #4facfe;
        color: #4facfe;
    }

    .action-btn.primary:hover {
        background: rgba(79, 172, 254, 0.3);
        transform: translateY(-1px);
    }

    .action-btn.secondary {
        background: rgba(34, 197, 94, 0.2);
        border-color: #22c55e;
        color: #22c55e;
    }

    .action-btn.secondary:hover {
        background: rgba(34, 197, 94, 0.3);
        transform: translateY(-1px);
    }

    /* 新增字段的专用样式 */
    .date-value {
        color: #94a3b8 !important;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 11px;
    }

    .base-models-value {
        color: #667eea !important;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 11px;
        word-break: break-all;
    }

    /* License README 部分样式 - 位于底部 */
    .license-readme-section {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(139, 69, 19, 0.1) 100%);
        border: 1px solid rgba(168, 85, 247, 0.3);
        border-radius: 10px;
        padding: 16px;
        margin-top: auto;
        margin-bottom: 0;
    }
    
    /* 节点详情内容区域 - 使用flex布局让License README在底部 */
    #nodeDetails .detail.scrollybg .text {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .no-data-message {
        color: #94a3b8;
        font-style: italic;
        text-align: center;
        padding: 20px;
        background: rgba(107, 114, 128, 0.1);
        border-radius: 6px;
        border: 1px dashed rgba(107, 114, 128, 0.3);
        margin-bottom: 16px;
    }

    .license-readme-section .section-header {
        color: #a855f7;
        border-bottom-color: rgba(168, 85, 247, 0.3);
    }

    .license-readme-content {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(168, 85, 247, 0.2);
        border-radius: 8px;
        padding: 12px;
        max-height: 200px;
        overflow-y: auto;
    }

    .readme-text {
        color: #e2e8f0;
        font-size: 11px;
        line-height: 1.4;
        margin: 0;
        white-space: pre-wrap;
        word-break: break-word;
        font-family: 'Consolas', 'Monaco', monospace;
    }

    /* 滚动条样式优化 */
    .license-readme-content::-webkit-scrollbar {
        width: 6px;
    }

    .license-readme-content::-webkit-scrollbar-track {
        background: rgba(168, 85, 247, 0.1);
        border-radius: 3px;
    }

    .license-readme-content::-webkit-scrollbar-thumb {
        background: rgba(168, 85, 247, 0.5);
        border-radius: 3px;
    }

    .license-readme-content::-webkit-scrollbar-thumb:hover {
        background: rgba(168, 85, 247, 0.7);
    }

    .chart-box {
        align-items: stretch !important;
        width: 100%;
        height: 700px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
    }
    /* chart-box显示时才用flex布局（JS设置display:flex时生效） */
    .chart-box[style*="display: flex"],
    .chart-box[style*="display:flex"] {
        align-items: stretch !important;
    }

    /* 右侧info面板匹配图表高度 */
    .chart-box > .info {
        height: 700px;
        max-height: 700px;
        overflow-y: auto;
    }

    /* 确保info类不会有冲突的定位 */
    .info {
        position: static !important;
        display: block !important;
    }

    /* 修复可能的布局冲突 */
    .scrollybg {
        position: static !important;
    }

    .section-header {
        color: #4facfe;
        font-size: 13px;
        font-weight: 600;
        margin: 0 0 10px 0;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(79, 172, 254, 0.3);
        display: flex;
        align-items: center;
        gap: 6px;
    }

	/* 历史记录样式 */
	.history-container {
		max-height: 400px;
		overflow-y: auto;
		padding: 0;
		margin: 0;
	}

	.history-list {
		padding: 0;
		margin: 0;
	}

	.history-empty {
		text-align: center;
		padding: 30px 20px;
		color: #999;
		font-size: 14px;
		line-height: 1.5;
	}

	.history-empty p {
		margin: 0;
		color: #ccc;
	}

	.history-item {
		display: block;
		padding: 12px 15px;
		margin: 0 0 8px 0;
		background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
		border: 1px solid rgba(79, 172, 254, 0.2);
		border-radius: 8px;
		color: #ffffff;
		text-decoration: none;
		transition: all 0.3s ease;
		cursor: pointer;
		position: relative;
		overflow: hidden;
	}

	.history-item:hover {
		background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(102, 126, 234, 0.2) 100%);
		border-color: #4facfe;
		transform: translateX(5px);
		box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
	}

	.history-item.active {
		background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(102, 126, 234, 0.3) 100%);
		border-color: #4facfe;
		box-shadow: 0 0 15px rgba(79, 172, 254, 0.4);
	}

	.history-item-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 6px;
	}

	.history-item-name {
		font-size: 13px;
		font-weight: 600;
		color: #ffffff;
		margin: 0;
		flex: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.history-item-status {
		font-size: 10px;
		padding: 2px 6px;
		border-radius: 10px;
		font-weight: 500;
		margin-left: 8px;
		white-space: nowrap;
	}

	.history-item-status.completed {
		background: rgba(34, 197, 94, 0.2);
		color: #22c55e;
		border: 1px solid rgba(34, 197, 94, 0.4);
	}

	.history-item-status.pending {
		background: rgba(251, 191, 36, 0.2);
		color: #fbbf24;
		border: 1px solid rgba(251, 191, 36, 0.4);
	}

	.history-item-status.failed {
		background: rgba(239, 68, 68, 0.2);
		color: #ef4444;
		border: 1px solid rgba(239, 68, 68, 0.4);
	}

	.history-item-meta {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 11px;
		color: #94a3b8;
	}

	.history-item-model {
		flex: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		margin-right: 8px;
	}

	.history-item-time {
		white-space: nowrap;
		font-size: 10px;
	}

	.history-item-actions {
		position: absolute;
		top: 8px;
		right: 8px;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.history-item:hover .history-item-actions {
		opacity: 1;
	}

	.history-delete-btn {
		background: rgba(239, 68, 68, 0.2);
		border: 1px solid rgba(239, 68, 68, 0.4);
		color: #ef4444;
		width: 20px;
		height: 20px;
		border-radius: 4px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 12px;
		transition: all 0.3s ease;
	}

	.history-delete-btn:hover {
		background: rgba(239, 68, 68, 0.4);
		transform: scale(1.1);
	}

	/* 历史记录滚动条样式 */
	.history-container::-webkit-scrollbar {
		width: 4px;
	}

	.history-container::-webkit-scrollbar-track {
		background: rgba(255, 255, 255, 0.1);
		border-radius: 2px;
	}

	.history-container::-webkit-scrollbar-thumb {
		background: rgba(79, 172, 254, 0.5);
		border-radius: 2px;
	}

	.history-container::-webkit-scrollbar-thumb:hover {
		background: rgba(79, 172, 254, 0.7);
	}

	/* 新建查询按钮增强样式 */
	#newQueryBtn {
		position: relative;
		overflow: hidden;
	}

	#newQueryBtn::before {
		content: '';
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
		transition: left 0.5s ease;
	}

	#newQueryBtn:hover::before {
		left: 100%;
	}

        /* 🖥️ === 增强的分辨率兼容性样式 v1.0 === */

        /* 高分辨率设备 (>=1920px) */
        @media screen and (min-width: 1920px) {
            #dependencyChart {
                min-width: 800px !important;
                min-height: 700px !important;
                max-width: 1400px !important;
                max-height: 900px !important;
            }
            .chart-container {
                max-width: 1400px;
                margin: 0 auto;
            }
        }

        /* 标准桌面设备 (1366px-1919px) */
        @media screen and (min-width: 1366px) and (max-width: 1919px) {
            #dependencyChart {
                min-width: 486px !important;
                min-height: 600px !important;
                max-width: 1000px !important;
                max-height: 1200px !important;
            }
        }

        /* 低分辨率桌面/笔记本 (1024px-1365px) */
        @media screen and (min-width: 1024px) and (max-width: 1365px) {
            #dependencyChart {
                min-width: 400px !important;
                min-height: 500px !important;
                max-width: 800px !important;
                max-height: 700px !important;
            }
        }

        /* 平板设备 (768px-1023px) */
        @media screen and (min-width: 768px) and (max-width: 1023px) {
            #dependencyChart {
                min-width: 500px !important;
                min-height: 600px !important;
                max-width: 700px !important;
                max-height: 800px !important;
                margin: 0 auto;
            }
        }

        /* 手机设备 (<=767px) */
        @media screen and (max-width: 767px) {
            #dependencyChart {
                min-width: 300px !important;
                min-height: 400px !important;
                max-width: 350px !important;
                max-height: 450px !important;
                margin: 0 auto;
            }
        }

        /* 高DPI设备专用样式 */
        @media screen and (-webkit-min-device-pixel-ratio: 2),
               screen and (min-resolution: 192dpi),
               screen and (min-resolution: 2dppx) {
            #dependencyChart {
                image-rendering: auto !important;
                -webkit-backface-visibility: hidden !important;
                backface-visibility: hidden !important;
                -webkit-transform: translateZ(0) !important;
                transform: translateZ(0) !important;
            }
        }

        /* 超宽屏设备 (宽高比 > 1.8) */
        @media screen and (min-aspect-ratio: 9/5) {
            .chart-container {
                max-width: 1400px;
                margin: 0 auto;
            }
            #dependencyChart {
                max-width: 1200px !important;
            }
        }

        /* 防止异常尺寸的CSS保护 */
        #dependencyChart {
            position: relative !important;
            display: block !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
        }

        /* 确保图表容器不会崩塌 */
        .chart-container {
            min-height: 400px;
            position: relative;
            box-sizing: border-box;
        }

        /* CSS变量支持动态尺寸 */
        :root {
            --chart-min-width: 486px;
            --chart-min-height: 700px;
            --chart-default-height: 700px;
            --device-pixel-ratio: 1;
        }

        /* 使用CSS变量的动态样式 */
        #dependencyChart {
            min-width: var(--chart-min-width) !important;
            min-height: var(--chart-min-height) !important;
            height: var(--chart-default-height) !important;
        }

        /* 帮助文档弹窗样式 */
    /* 弹窗遮罩层 */
    .help-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        backdrop-filter: blur(5px);
    }

    /* 弹窗容器 */
    .help-modal-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 1000px;
        max-height: 85vh;
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-radius: 16px;
        border: 1px solid rgba(79, 172, 254, 0.3);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        overflow: hidden;
        animation: helpModalFadeIn 0.3s ease-out;
    }

    @keyframes helpModalFadeIn {
        from {
            opacity: 0;
            transform: translate(-50%, -60%) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }

    /* 弹窗头部 */
    .help-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        background: linear-gradient(90deg, rgba(79, 172, 254, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
        border-bottom: 1px solid rgba(79, 172, 254, 0.3);
    }

    .help-modal-title {
        color: #4facfe;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .help-modal-close {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.3);
        color: #ef4444;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .help-modal-close:hover {
        background: rgba(239, 68, 68, 0.2);
        color: #dc2626;
        transform: scale(1.1);
    }

    /* 弹窗内容 */
    .help-modal-content {
        padding: 24px;
        max-height: calc(85vh - 100px);
        overflow-y: auto;
    }

    /* 自定义滚动条 */
    .help-modal-content::-webkit-scrollbar {
        width: 6px;
    }

    .help-modal-content::-webkit-scrollbar-track {
        background: rgba(30, 41, 59, 0.5);
        border-radius: 3px;
    }

    .help-modal-content::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
        border-radius: 3px;
    }

    .help-modal-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    }

    /* MD内容样式 */
    .help-md-content {
        color: #e2e8f0;
        font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
        line-height: 1.6;
    }

    .help-md-content h1 {
        color: #4facfe;
        font-size: 24px;
        margin-bottom: 16px;
        border-bottom: 2px solid rgba(79, 172, 254, 0.3);
        padding-bottom: 8px;
    }

    .help-md-content h2 {
        color: #67e8f9;
        font-size: 20px;
        margin: 24px 0 12px 0;
        display: flex;
        align-items: center;
    }

    .help-md-content h3 {
        color: #a78bfa;
        font-size: 18px;
        margin: 20px 0 10px 0;
    }

    .help-md-content h4 {
        color: #fbbf24;
        font-size: 16px;
        margin: 16px 0 8px 0;
    }

    .help-md-content p {
        margin: 12px 0;
        color: #cbd5e1;
    }

    .help-md-content strong {
        color: #ffffff;
        font-weight: 600;
    }

    .help-md-content em {
        color: #fbbf24;
        font-style: italic;
    }

    .help-md-content code {
        background: rgba(30, 41, 59, 0.8);
        color: #67e8f9;
        padding: 2px 6px;
        border-radius: 4px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 0.9em;
    }

    .help-md-content ul, .help-md-content ol {
        margin: 12px 0 12px 20px;
        color: #cbd5e1;
    }

    .help-md-content li {
        margin: 4px 0;
    }

    .help-md-content blockquote {
        border-left: 4px solid #4facfe;
        margin: 16px 0;
        padding: 12px 16px;
        background: rgba(79, 172, 254, 0.1);
        border-radius: 0 8px 8px 0;
    }

    .help-md-content hr {
        border: none;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.5), transparent);
        margin: 24px 0;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .help-modal-container {
            width: 95%;
            margin: 20px;
            max-height: 90vh;
        }

        .help-modal-header {
            padding: 16px 20px;
        }

        .help-modal-title {
            font-size: 16px;
        }

        .help-modal-content {
            padding: 20px;
            max-height: calc(90vh - 80px);
        }
    }

    /* 认证按钮样式 */
    .auth-buttons {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .auth-btn {
        padding: 8px 20px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

    .login-btn {
        color: #fff;
        background: transparent;
        border-color: rgba(255, 255, 255, 0.3);
    }

        .login-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            text-decoration: none;
        }

        .register-btn {
            color: #fff;
            background: transparent;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .register-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            text-decoration: none;
            transform: none;
            box-shadow: none;
        }

        /* 强制恢复为原来的透明底样式（优先级更高） */
        .head .r .hd-nav .auth-btn.login-btn,
        .head .r .hd-nav .auth-btn.register-btn {
            background: transparent !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            color: #fff !important;
            box-shadow: none !important;
            transform: none !important;
        }

        .head .r .hd-nav .auth-btn.login-btn:hover,
        .head .r .hd-nav .auth-btn.register-btn:hover {
            background: rgba(255, 255, 255, 0.1) !important;
            color: #fff !important;
            text-decoration: none;
        }


        /* 用户下拉菜单样式 */
        .user-dropdown {
            position: relative;
        }

        .user-info {
            display: flex;
            align-items: center;
        gap: 6px;
        color: #fff;
        text-decoration: none;
        padding: 8px 16px;
        border-radius: 6px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .user-info:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .user-info:active {
        transform: translateY(0);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        padding: 8px 0;
        margin: 8px 0 0 0;
        min-width: 140px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .user-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* 添加一个小箭头指示器 */
    .user-info::after {
        content: '▼';
        font-size: 10px;
        margin-left: 4px;
        transition: all 0.3s ease;
    }

    .user-dropdown:hover .user-info::after {
        transform: rotate(180deg);
    }

        /* 游客模式样式 */
        .guest-mode .guest-info {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
            border: 1px solid rgba(255, 193, 7, 0.3);
            color: #ffc107;
        }

        .guest-mode .guest-info:hover {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
            border-color: rgba(255, 193, 7, 0.5);
            color: #fff3cd;
        }

        /* 消息提示样式 */
        #messages-container {
            position: fixed;
            top: 80px;
            right: 20px;
            z-index: 9999;
            max-width: 400px;
        }
        .message-alert {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-bottom: 12px;
            opacity: 0;
            transform: translateX(100px);
            animation: slideInRight 0.4s ease-out forwards;
            overflow: hidden;
            position: relative;
        }
        .message-alert::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 4px;
            background: linear-gradient(135deg, #4CAF50, #45a049);
        }
        .message-alert.message-error::before { background: linear-gradient(135deg, #f44336, #d32f2f); }
        .message-alert.message-info::before { background: linear-gradient(135deg, #2196F3, #1976D2); }
        .message-content {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            gap: 12px;
        }
        .message-icon {
            font-size: 20px;
            color: #4CAF50;
            flex-shrink: 0;
        }
        .message-error .message-icon { color: #f44336; }
        .message-info .message-icon { color: #2196F3; }
        .message-text {
            flex: 1;
            color: #333;
            font-size: 14px;
            font-weight: 500;
            line-height: 1.4;
        }
        .message-close {
            background: none; border: none; color: #999;
            cursor: pointer; font-size: 24px; line-height: 1;
            padding: 0; width: 24px; height: 24px;
            border-radius: 50%; display: flex;
            align-items: center; justify-content: center;
            transition: all 0.2s ease; flex-shrink: 0;
        }
        .message-close:hover {
            background: rgba(0, 0, 0, 0.1);
            color: #666;
        }
        @keyframes slideInRight {
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes slideOutRight {
            to { opacity: 0; transform: translateX(100px); }
        }
        .message-alert.closing {
            animation: slideOutRight 0.3s ease-in forwards;
        }
        .guest_welcome::before { background: linear-gradient(135deg, #ffc107, #ff8f00); }
        .guest_welcome .message-icon { color: #ffc107; }
        .guest_exit::before { background: linear-gradient(135deg, #6c757d, #495057); }
        .guest_exit .message-icon { color: #6c757d; }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu a {
        display: block;
        padding: 10px 16px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.2s ease;
    }

    .dropdown-menu a:hover {
        background: #f5f5f5;
        color: #333;
        text-decoration: none;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .auth-buttons {
            flex-direction: column;
            gap: 5px;
        }

        .auth-btn {
            padding: 6px 16px;
            font-size: 13px;
        }

        .dropdown-menu {
            right: -10px;
        }
    }

    /* === right_code: 弹窗表格对齐与溢出控制 === */
    .pop-report .idx-table {
        width: 100%;
        table-layout: fixed;
    }

    .pop-report .idx-table table {
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
        border-spacing: 0 10px;
    }

    /* 使用垂直间距实现卡片式分隔 */
    .pop-report .idx-table th,
    .pop-report .idx-table td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
        padding: 12px 14px;
        box-sizing: border-box;
    }

    .pop-report .idx-table th:nth-child(1),
    .pop-report .idx-table td:nth-child(1) {
        width: 45%;
        text-align: left;
        padding-left: 15px;
    }

    .pop-report .idx-table th:nth-child(2),
    .pop-report .idx-table td:nth-child(2) {
        width: 35%;
        text-align: center;
    }

    .pop-report .idx-table th:nth-child(3),
    .pop-report .idx-table td:nth-child(3) {
        width: 20%;
        text-align: center;
    }

    .pop-report .idx-table tbody tr {
        cursor: pointer;
    }

    .pop-report .idx-table tbody tr:hover {
        background: rgba(15, 112, 255, 0.06);
    }

    /* right_code: 第一列允许换行，第二列保持省略号，第三列居中 */
    .pop-report .idx-table td:nth-child(1) {
        max-width: 0;
        word-wrap: break-word;
        word-break: break-all;
        white-space: normal;
        line-height: 1.3;
        vertical-align: middle;
    }

    .pop-report .idx-table td:nth-child(2) {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        overflow: visible;
        text-overflow: clip;
    }

    .pop-report .idx-table td:nth-child(3) {
        text-align: center;
        vertical-align: middle;
    }

    /* 已清理：许可证列布局与标签定位样式统一由 ensureRelationshipStyles 注入，避免重复/冲突 */


    /* 卡片式行分隔效果：使用 border-spacing + 行内背景 + 圆角 */
    .pop-report .idx-table tbody tr {
        background: transparent !important;
    }

    .pop-report .idx-table tbody tr:hover {
        background: transparent !important;
    }

    .pop-report .idx-table tbody tr td {
        background: rgba(255, 255, 255, 0.04);
        transition: background-color .2s ease, box-shadow .2s ease;
    }

    .pop-report .idx-table tbody tr td:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .pop-report .idx-table tbody tr td:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .pop-report .idx-table tbody tr:hover td {
        background: rgba(15, 112, 255, 0.08);
    }

    .pop-report .idx-table tbody tr.row-selected td {
        background: rgba(15, 112, 255, 0.16) !important;
        box-shadow: 0 0 0 1px rgba(15, 112, 255, 0.45) inset;
    }

    /* 改善表格间距和视觉效果 */
    .pop-report .detail .m.mod {
        margin-bottom: 25px !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 20px;
        background: rgba(0, 0, 0, 0.3);
    }

    .pop-report .detail .m.mod .titbox {
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(15, 112, 255, 0.3);
    }

    .pop-report .detail .m.mod .titbox .bt {
        font-size: 16px;
        font-weight: bold;
        color: #0f70ff;
    }

    .dependency-section {
        margin-bottom: 20px !important;
        padding: 15px;
        background: rgba(15, 112, 255, 0.05);
        border-radius: 6px;
        border-left: 4px solid #0f70ff;
    }

    .dependency-section .table-title {
        color: #0f70ff;
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 14px;
    }

/* === Style Block 2 === */
/* 单栏模式（右侧面板隐藏）时，整体适度收窄并居中 */
                .pop-report.single .cenbox {
                    max-width: 1280px;
                    width: 88%;
                }

                .pop-report.single .flex {
                    justify-content: center;
                }

                .pop-report.single .wrapbox-l {
                    margin-right: 0;
                    flex: 0 1 1100px;
                }

                /* 始终可见的关闭按钮（在弹窗右上角） */
                .pop-report .cenbox .close {
                    position: absolute;
                    right: 15px;
                    top: 15px;
                    z-index: 2;
                }

/* === Style Block 3 === */
/* 当右侧冲突详情为空时，彻底隐藏右侧面板 */
                .pop-report .wrapbox-r.fxxq-s.is-empty {
                    display: none !important;
                }

                /* 冲突详情面板使用黑色背景 */
                .pop-report .wrapbox-r.fxxq-s,
                .pop-report .wrapbox-r.fxxq-s .detail {
                    background: #000 !important;
                    color: #e5e7eb !important;
                }

                .pop-report .wrapbox-r.fxxq-s .top-bt {
                    background: transparent !important;
                    color: #e5e7eb !important;
                }

