/* ============================================================
   AI应用模块 UI 统一样式（可研报告V2 / 前期方案 / 调查评估报告V9 / 审计报告 / 财务测算）
   头部：任务系统同款白卡 | 列表头：蓝色横向渐变 | 按钮：统一 #6861CE 紫色圆角
   注意：按钮样式限定在 .main-panel 内容区内，不影响顶部导航与左侧导航栏
   作用域：body.ai-unify   版本：20261016j
   ============================================================ */

/* ---------- 底色：白色 ---------- */
body.ai-unify{background:#ffffff !important}
body.ai-unify .main-panel{background:#ffffff}
body.ai-unify .content{background:#ffffff}

/* ---------- 页面头部：任务系统同款白色卡片 ---------- */
body.ai-unify .bg-primary-gradient,
body.ai-unify .panel-header{background:#ffffff !important;border-radius:10px;border:1px solid #eef2f7;box-shadow:0 2px 8px rgba(31,116,224,.06);margin:10px 15px 0;padding:0 !important}
body.ai-unify .panel-header h2,body.ai-unify .panel-header h2.text-white{color:#1f74e0 !important;font-size:18px;font-weight:600}
body.ai-unify .panel-header p,body.ai-unify .panel-header p.op-7,body.ai-unify .panel-header p.text-white{color:#8a94a6 !important;font-size:13px}
body.ai-unify .mt--5{margin-top:10px !important}

/* 自定义横幅（审计 ar-banner / V9 v7-banner / 运行信息条）也统一为白卡头部 */
body.ai-unify .v7-banner,
body.ai-unify .ar-banner{background:#ffffff !important;color:#333;border:1px solid #eef2f7;box-shadow:0 2px 8px rgba(31,116,224,.06)}
body.ai-unify .v7-banner .title,body.ai-unify .ar-banner .title{color:#1f74e0;font-weight:600}
body.ai-unify .v7-banner .desc,body.ai-unify .ar-banner .desc{color:#8a94a6;opacity:1}
body.ai-unify .v7-banner .feature{background:#eff3fb;color:#1f74e0}
body.ai-unify .v7-banner .btn,body.ai-unify .ar-banner .btn{background:#6861ce;color:#fff;border:none}
body.ai-unify .v7-banner .btn:hover,body.ai-unify .ar-banner .btn:hover{background:#5750bd;color:#fff}

/* 任务系统同款头部：左侧蓝色标题块 + 右侧操作按钮 */
body.ai-unify .ai-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
body.ai-unify .ai-head-title{background:#1f74e0;color:#fff;font-size:15px;font-weight:600;padding:9px 22px;border-radius:6px;letter-spacing:1px;white-space:nowrap}
body.ai-unify .ai-head-desc{font-size:13px;color:#8a94a6;flex:1;min-width:200px}

/* 信息条（survey-info / info-bar / overall）保持蓝色横向渐变 */
body.ai-unify .survey-info,
body.ai-unify .info-bar,
body.ai-unify .overall{background:linear-gradient(90deg,#1869d8 0%,#2f83ec 100%) !important;box-shadow:0 4px 14px rgba(31,116,224,.18)}

/* ---------- 列表表格头：任务系统同款蓝色横向渐变白字 ---------- */
body.ai-unify .ai-table thead th,
body.ai-unify .fea-table-wrap table thead th,
body.ai-unify .fc-table-wrap table thead th{background:#1f74e0 !important;color:#fff !important;border-bottom:0 !important;font-weight:500;white-space:nowrap}
body.ai-unify .ai-table{margin-bottom:0}
body.ai-unify .ai-table tbody td{font-size:13px;vertical-align:middle;padding:12px 12px;border-bottom:1px solid #f0f2f5}
body.ai-unify .ai-table tbody tr:hover{background:#f5f8ff}

/* ---------- 内容区按钮：统一 #6861CE 紫色圆角（含删除） ---------- */
body.ai-unify .main-panel .btn{border-radius:20px !important;font-weight:500;background:#6861ce !important;border-color:#6861ce !important;color:#fff !important;box-shadow:0 2px 6px rgba(104,97,206,.2)}
body.ai-unify .main-panel .btn:hover,body.ai-unify .main-panel .btn:focus{background:#5750bd !important;border-color:#5750bd !important;color:#fff !important;box-shadow:0 4px 10px rgba(104,97,206,.28)}
body.ai-unify .main-panel .btn i.fa,body.ai-unify .main-panel .btn i.fas,body.ai-unify .main-panel .btn i.far{display:none !important}

/* 横幅内「新建/提交」类自定义按钮 */
body.ai-unify .btn-submit{background:#6861ce !important;color:#fff;border:none}

/* 页面内自定义渐变按钮（V9 系列 .btn-primary 局部定义） */
body.ai-unify .main-panel button.btn-primary,
body.ai-unify .main-panel a.btn-primary{background:#6861ce !important;border:none !important;color:#fff !important}

/* 输出按钮（PDF/Word/链接）统一紫色 */
body.ai-unify .output-btn.pdf,body.ai-unify .output-btn.word,body.ai-unify .output-btn.link{background:#6861ce !important;color:#fff !important;border-color:#6861ce !important}

/* 徽标统一蓝色系 */
body.ai-unify .badge-v9{background:#1f74e0 !important;color:#fff}
body.ai-unify .badge-success{background:#2563eb}
body.ai-unify .badge-warning{background:#3b82f6}

/* 进度条/激活页签保持蓝色 */
body.ai-unify .progress-bar-fill{background:#2f83ec !important}
body.ai-unify .report-tab.active{background:#1f74e0 !important;border-color:#1f74e0 !important;color:#fff}

/* 卡片 */
body.ai-unify .card{border:1px solid #eef2f7}
body.ai-unify .card-header{background:#fff;border-bottom:1px solid #f1f5f9}
body.ai-unify .fea-table-wrap table tbody tr:hover,body.ai-unify .fc-table-wrap table tbody tr:hover{background:#f5f8ff}

/* 审计报告：藏青点缀 → 蓝色 */
body.ai-unify .step-nav .step.current{background:#1f74e0 !important;color:#fff}
body.ai-unify .step-nav .step.visited{color:#1f74e0}
body.ai-unify .card h5,body.ai-unify .form-card h5{border-left-color:#1f74e0 !important}
body.ai-unify .tab.active{color:#1f74e0 !important;border-bottom-color:#1f74e0 !important;background:#f5f8ff !important}

/* 紫色/青色零散点缀 → 蓝色系 */
body.ai-unify .round-banner{background:#eff6ff !important;border:1px solid #bfdbfe !important}
body.ai-unify .app-tag.main{background:#dbeafe !important;color:#1e40af !important;border-color:#93c5fd !important}
body.ai-unify .badge-tpl{background:#eff6ff !important;color:#1e40af !important;border-color:#93c5fd !important}
body.ai-unify span[style*="11998e"]{background:#1f74e0 !important}

/* 链接强调色：蓝色 */
body.ai-unify .page-inner a:not(.btn):not(.stage){color:#1f74e0}

/* ---------- v20261016f：列表头按任务样式加高 / 操作列一排放下 ---------- */
body.ai-unify .ai-table thead th,
body.ai-unify .fea-table-wrap table thead th,
body.ai-unify .fc-table-wrap table thead th{padding:9px 12px !important;font-size:13px;letter-spacing:.5px;text-align:left !important}
body.ai-unify .ai-table td:last-child,
body.ai-unify .fea-table-wrap table td:last-child,
body.ai-unify .fc-table-wrap table td:last-child{white-space:nowrap}
body.ai-unify .main-panel .btn-sm{padding:5px 13px !important;font-size:12px;margin-bottom:0}
body.ai-unify .main-panel .btn{white-space:nowrap !important}
/* 调查/审计 状态列标签不换行错位 */
body.ai-unify .ai-table .status-badge,body.ai-unify .ai-table .badge-tpl,body.ai-unify .ai-table .badge-mode-STRICT,body.ai-unify .ai-table .badge-mode-AGGRESSIVE{white-space:nowrap}

/* ---------- v20261016h：页面内联步骤条归一化（白底主题） ---------- */
body.ai-unify .step-nav{background:#fff !important;border:1px solid #e8edf2 !important;border-radius:10px !important;box-shadow:none !important;padding:0 !important;overflow:hidden !important}
body.ai-unify .step-nav .step{height:44px !important;line-height:44px !important;padding:0 16px !important;border-radius:0 !important;box-shadow:none !important;color:#999 !important;border-right:1px solid #f0f0f0 !important;margin:0 !important;transform:none !important}
body.ai-unify .step-nav .step .num,body.ai-unify .step-nav .step .lbl{display:none}
body.ai-unify .step-nav .step .nm{line-height:44px}
body.ai-unify .step-nav .sep{display:none}
body.ai-unify .step-nav .step.current{background:#1f74e0 !important;color:#fff !important;border-radius:0 !important;box-shadow:none !important}
body.ai-unify .step-nav .step.visited{color:#1f74e0 !important;background:#fff !important;border:0 !important}
body.ai-unify .step-nav .step.locked{color:#b8c0cc !important;background:#fff !important;border:0 !important;border-right:1px solid #f0f0f0 !important}
body.ai-unify .step-nav .step .text{line-height:44px}

/* ---------- v20261016i：阶段条/信息条内文字白字修正 ---------- */
body.ai-unify .stage-nav a.stage{color:#fff !important}
body.ai-unify .stage-nav .stage.locked{color:#c0c6d0 !important}
body.ai-unify .stage-nav .stage.locked .nm{color:#c0c6d0 !important}
body.ai-unify .stage-nav .stage.locked .lbl{color:#c0c6d0 !important}
body.ai-unify .overall,body.ai-unify .overall span,body.ai-unify .overall div,body.ai-unify .overall b{color:#fff !important}
body.ai-unify .survey-info,body.ai-unify .survey-info span,body.ai-unify .survey-info div,body.ai-unify .survey-info b{color:#fff !important}
body.ai-unify .info-bar,body.ai-unify .info-bar span,body.ai-unify .info-bar div,body.ai-unify .info-bar b{color:#fff !important}
body.ai-unify .overall a:not(.btn){color:#fff !important;text-decoration:underline}

/* ---------- v20261016j：内联蓝色渐变横幅（可研步骤页）文字白字 ---------- */
body.ai-unify .panel-header[style] h2,
body.ai-unify .panel-header[style] h2.text-white{color:#fff !important}
body.ai-unify .panel-header[style] p,
body.ai-unify .panel-header[style] p.op-7,
body.ai-unify .panel-header[style] p.text-white{color:rgba(255,255,255,.85) !important}
body.ai-unify .panel-header[style]{border:0 !important}
