/* ========================================================
   overview.css — 全省态势 / 数据接入总览 / 建设成效 / 置信度
   来源：V22 HTML <style> 拆分 — 不改逻辑/不重构
   ======================================================== */

  /* ===== 全省态势模式 (overview) ===== */
  #mode-overview {
    display: none;
    height: calc(100vh - 64px);
    grid-template-columns: 1fr 380px;
    gap: 1px;
    background: var(--bg-base);
    overflow: hidden;
  }
  #mode-overview.show { display: grid; }
  
  .ov-left {
    background: var(--bg-panel);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .ov-left-header {
    height: 50px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .ov-left-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
  }
  .ov-left-title strong { color: var(--accent-cyan); }
  .ov-layer-toggles {
    display: flex; gap: 2px;
  }
  .ov-layer-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-tertiary);
    padding: 4px 9px;
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
  }
  .ov-layer-btn.active {
    background: rgba(0, 212, 255, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
  }
  .ov-map-wrap {
    flex: 1;
    position: relative;
    background: linear-gradient(180deg, #050a14 0%, #0a1828 100%);
  }
  .ov-map-wrap svg {
    width: 100%; height: 100%;
  }
  
  /* 左侧底部数据流 */
  .ov-bottom-strip {
    flex-shrink: 0;
    height: 80px;
    background: var(--bg-panel-2);
    border-top: 1px solid var(--border);
    padding: 10px 18px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    align-items: stretch;
  }
  .ov-stat-block {
    text-align: center;
    border-right: 1px solid rgba(122, 147, 184, 0.1);
    padding: 0 10px;
  }
  .ov-stat-block:last-child { border-right: none; }
  .ov-stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: "Roboto Mono", monospace;
    line-height: 1.2;
  }
  .ov-stat-num.cyan { color: var(--accent-cyan); }
  .ov-stat-num.orange { color: var(--accent-amber); }
  .ov-stat-num.red { color: var(--risk-red); }
  .ov-stat-num.green { color: var(--risk-green); }
  .ov-stat-label {
    font-size: 10px;
    color: var(--text-tertiary);
    margin-top: 2px;
    letter-spacing: 0.5px;
  }
  
  .ov-right {
    background: var(--bg-panel);
    overflow-y: auto;
    padding: 14px;
  }
  .ov-section {
    background: var(--bg-panel-2);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    padding: 12px 14px;
  }
  .ov-section-title {
    font-size: 12px;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .ov-section-title::before {
    content: '';
    width: 3px; height: 12px;
    background: var(--accent-cyan);
  }
  
  /* AI 助手主模块 */
  .ov-ai-panel {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.14) 0%, rgba(0, 212, 255, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.45);
    padding: 14px;
    margin-bottom: 12px;
    position: relative;
  }
  .ov-ai-title {
    font-size: 13px;
    font-weight: 600;
    color: #c084fc;
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: flex; align-items: center; gap: 6px;
  }
  .ov-ai-title-mark {
    background: #a855f7;
    color: white;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: "Roboto Mono", monospace;
  }
  .ov-ai-sub {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 10px;
    line-height: 1.55;
  }
  .ov-ai-input {
    width: 100%;
    padding: 9px 10px;
    background: rgba(10, 20, 36, 0.7);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 12px;
    resize: vertical;
    min-height: 56px;
  }
  .ov-ai-input:focus {
    outline: none;
    border-color: #c084fc;
  }
  .ov-ai-suggest {
    display: flex; flex-wrap: wrap; gap: 4px;
    margin-top: 8px;
  }
  .ov-ai-chip {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #d4b3ff;
    padding: 4px 8px;
    font-size: 10.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
  }
  .ov-ai-chip:hover {
    background: rgba(168, 85, 247, 0.25);
  }
  .ov-ai-submit {
    width: 100%;
    margin-top: 8px;
    padding: 9px;
    background: #a855f7;
    border: none;
    color: white;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
  }
  .ov-ai-submit:hover { background: #9333ea; }
  
  /* AI 拆解过程展示 */
  .ai-process-overlay {
    position: absolute;
    inset: 14px;
    background: rgba(10, 20, 36, 0.97);
    border: 1px solid #a855f7;
    padding: 14px;
    z-index: 30;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
  }
  .ai-process-overlay.show { display: flex; }
  .ai-process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 10px;
  }
  .ai-process-title {
    color: #c084fc;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;
  }
  .ai-process-close {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    width: 22px; height: 22px;
    cursor: pointer;
    font-size: 12px;
  }
  .ai-step {
    padding: 7px 0 7px 22px;
    font-size: 11.5px;
    color: var(--text-secondary);
    position: relative;
    border-bottom: 1px dashed rgba(122, 147, 184, 0.12);
    line-height: 1.5;
  }
  .ai-step::before {
    content: '';
    position: absolute;
    left: 6px; top: 13px;
    width: 8px; height: 8px;
    background: var(--border-light);
    border-radius: 50%;
  }
  .ai-step.active::before {
    background: #a855f7;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.25);
    animation: aiStepPulse 1s infinite;
  }
  @keyframes aiStepPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(168, 85, 247, 0); }
  }
  .ai-step.done::before {
    background: var(--risk-green);
  }
  .ai-step.done {
    color: var(--text-primary);
  }
  .ai-step strong {
    color: var(--accent-cyan);
  }
  .ai-step .ai-step-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
    padding: 0 5px;
    font-size: 11px;
    margin-right: 5px;
    font-family: "Roboto Mono", monospace;
    letter-spacing: 0.5px;
  }
  
  /* 风险卡片 */
  .ov-risk-card {
    background: rgba(231, 76, 60, 0.08);
    border-left: 3px solid var(--risk-red);
    padding: 9px 11px;
    margin-bottom: 6px;
    cursor: pointer;
  }
  .ov-risk-card.orange {
    background: rgba(255, 139, 0, 0.08);
    border-left-color: var(--risk-orange);
  }
  .ov-risk-card.yellow {
    background: rgba(255, 215, 0, 0.06);
    border-left-color: var(--risk-yellow);
  }
  .ov-risk-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--risk-red);
    margin-bottom: 2px;
  }
  .ov-risk-card.orange .ov-risk-tag { color: var(--risk-orange); }
  .ov-risk-card.yellow .ov-risk-tag { color: var(--risk-yellow); }
  .ov-risk-name {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2px;
  }
  .ov-risk-meta {
    font-size: 10px;
    color: var(--text-tertiary);
  }
  
  /* ===== V3.5 全省交通运行数据接入总览 ===== */
  .ov-data-sub {
    font-size: 10.5px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .ov-data-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 10px;
  }

  .ov-data-summary-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 8px 10px;
    text-align: center;
  }

  .ov-data-summary-num {
    font-size: 17px;
    font-weight: 700;
    font-family: "Roboto Mono", monospace;
    color: var(--text-primary);
    line-height: 1.2;
  }
  .ov-data-summary-num.cyan  { color: var(--accent-cyan); }
  .ov-data-summary-num.green { color: var(--risk-green); }

  .ov-data-summary-label {
    font-size: 10px;
    color: var(--text-tertiary);
    margin-top: 3px;
    letter-spacing: 0.5px;
  }

  .ov-data-table {
    border: 1px solid var(--border);
    background: var(--border);
    display: grid;
    gap: 1px;
    font-size: 10.5px;
  }

  .ov-data-row {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr 0.7fr 0.7fr;
    gap: 4px;
    align-items: center;
    background: var(--bg-panel);
    padding: 6px 7px;
    color: var(--text-secondary);
  }

  .ov-data-row span:nth-child(2),
  .ov-data-row span:nth-child(3),
  .ov-data-row span:nth-child(4) {
    font-family: "Roboto Mono", monospace;
    color: var(--text-primary);
    text-align: right;
  }

  .ov-data-head {
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-cyan);
    font-weight: 600;
  }
  .ov-data-head span {
    font-family: inherit !important;
    color: var(--accent-cyan) !important;
    text-align: left !important;
  }
  .ov-data-head span:nth-child(2),
  .ov-data-head span:nth-child(3),
  .ov-data-head span:nth-child(4) {
    text-align: right !important;
  }
  .ov-data-head span:nth-child(5) {
    text-align: center !important;
  }

  .data-status {
    text-align: center !important;
    padding: 2px 5px;
    font-family: inherit !important;
    font-weight: 600;
    font-size: 10px;
  }
  .data-status.realtime { color: var(--risk-green) !important;   background: rgba(46, 204, 113, 0.12); }
  .data-status.quasi    { color: var(--accent-cyan) !important;  background: rgba(0, 212, 255, 0.10); }
  .data-status.pending  { color: var(--accent-amber) !important; background: rgba(255, 181, 46, 0.12); }
  .data-status.pilot    { color: var(--text-secondary) !important; background: rgba(122, 147, 184, 0.12); }

  .ov-data-ai-note {
    margin-top: 10px;
    padding: 8px 10px;
    background: rgba(168, 85, 247, 0.06);
    border-left: 2px solid #a855f7;
    font-size: 10.8px;
    color: var(--text-secondary);
    line-height: 1.55;
  }
  .ov-data-ai-note strong { color: #c084fc; }
  
  /* 多智能体协同模块的能力补充行 */
  .ov-agent-capability {
    margin-top: 10px;
    padding: 7px 10px;
    background: rgba(0, 212, 255, 0.05);
    border-left: 2px solid var(--accent-cyan);
    font-size: 10.5px;
    color: var(--text-secondary);
    line-height: 1.55;
  }
  .ov-agent-capability strong { color: var(--accent-cyan); }
  
  /* ===== 建设成效模式 (benefit) ===== */
  #mode-benefit {
    display: none;
    height: calc(100vh - 64px);
    overflow-y: auto;
    background: var(--bg-base);
    padding: 24px 28px;
  }
  #mode-benefit.show { display: block; }
  .bn-hero {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 24px 28px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
  }
  .bn-hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .bn-hero-tag {
    display: inline-block;
    background: var(--accent-cyan);
    color: #001a26;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-family: "Roboto Mono", monospace;
  }
  .bn-hero-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: 1px;
  }
  .bn-hero-title strong {
    color: var(--accent-cyan);
  }
  .bn-hero-sub {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 800px;
  }
  .bn-section {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 20px 24px;
    margin-bottom: 14px;
  }
  .bn-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }
  .bn-section-num {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #001a26;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: "Roboto Mono", monospace;
  }
  .bn-section-title-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
  }
  .bn-section-title-sub {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
    letter-spacing: 0.5px;
  }
  .bn-section-title-block { flex: 1; }
  .bn-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 6px;
  }
  .bn-card {
    background: var(--bg-panel-2);
    border: 1px solid var(--border-light);
    padding: 14px 16px;
    position: relative;
  }
  .bn-card-icon {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--accent-cyan);
  }
  .bn-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
  }
  .bn-card-desc {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.6;
  }
  .bn-card-tag {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(46, 204, 113, 0.18);
    color: var(--risk-green);
    font-size: 11px;
    padding: 1px 6px;
    font-weight: 600;
    letter-spacing: 1px;
  }
  .bn-card-tag.warn {
    background: rgba(255, 181, 46, 0.18);
    color: var(--accent-amber);
  }
  
  .bn-roadmap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    margin-top: 10px;
  }
  .bn-phase {
    background: var(--bg-panel-2);
    padding: 18px 20px;
    border-right: 1px solid var(--border);
    position: relative;
  }
  .bn-phase:last-child { border-right: none; }
  .bn-phase-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
  }
  .bn-phase-tag {
    background: var(--accent-cyan);
    color: #001a26;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: "Roboto Mono", monospace;
  }
  .bn-phase-tag.p2 { background: var(--accent-amber); color: #1a1004; }
  .bn-phase-tag.p3 { background: #a855f7; color: white; }
  .bn-phase-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
  }
  .bn-phase-time {
    font-size: 10px;
    color: var(--text-tertiary);
    margin-top: 1px;
  }
  .bn-phase-list {
    list-style: none;
    padding: 0;
  }
  .bn-phase-list li {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 4px 0 4px 16px;
    position: relative;
  }
  .bn-phase-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
  }
  
  .bn-deliverable-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .bn-deliverable {
    background: var(--bg-panel-2);
    border-left: 2px solid var(--accent-cyan);
    padding: 10px 14px;
  }
  .bn-deliverable-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 3px;
  }
  .bn-deliverable-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
  }
  
  .bn-value-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .bn-value-item {
    text-align: center;
    padding: 14px 10px;
    background: var(--bg-panel-2);
    border: 1px solid var(--border-light);
  }
  .bn-value-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: "Roboto Mono", monospace;
    line-height: 1.2;
  }
  .bn-value-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 5px;
    line-height: 1.5;
  }
  
