    :root {
      --primary: #185FA5;
      --primary-light: #e8f4fc;
      --secondary: #378ADD;
      --text: #333;
      --muted: #666;
      --border: #e0e0e0;
      --success: #2e7d32;
      --bg: #f5f8fc;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
    .container { max-width: 1600px; margin: 0 auto; padding: 20px; }

    /* ----- 顶部导航（首页 + 三大板块下拉） ----- */
    .site-header { background: white; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 20px; padding: 0 20px; display: flex; align-items: center; height: 58px; gap: 4px; }
    .brand { font-size: 16px; font-weight: 600; color: var(--primary); margin-right: 28px; white-space: nowrap; letter-spacing: 0.5px; }
    .nav-home { padding: 10px 16px; border: none; background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text); border-radius: 8px; transition: all 0.2s; white-space: nowrap; }
    .nav-home:hover { background: var(--primary-light); color: var(--primary); }
    .nav-home.active { background: var(--primary-light); color: var(--primary); }
    .nav-group { position: relative; }
    .nav-group-btn { padding: 10px 16px; border: none; background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text); border-radius: 8px; transition: all 0.2s; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
    .nav-group-btn .caret { font-size: 11px; color: var(--muted); transition: transform 0.2s; }
    .nav-group:hover .nav-group-btn, .nav-group.active .nav-group-btn { background: var(--primary-light); color: var(--primary); }
    .nav-group:hover .caret, .nav-group.active .caret { color: var(--primary); transform: rotate(180deg); }
    .dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: white; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 6px 18px rgba(24,95,165,0.12); min-width: 170px; padding: 6px; display: none; z-index: 200; }
    .nav-group:hover .dropdown, .nav-group.active .dropdown { display: block; }
    .nav-group.clicked .dropdown { display: none !important; }
    .dropdown-item { display: block; width: 100%; text-align: left; padding: 9px 12px; border: none; background: transparent; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--text); white-space: nowrap; }
    .dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
    .dropdown-item.active { background: var(--primary-light); color: var(--primary); font-weight: 500; }
    .nav-right { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

    /* ----- 首页（仅三张板块卡片） ----- */
    .home-hero { text-align: center; padding: 52px 20px 36px; }
    .home-hero h1 { font-size: 28px; font-weight: 600; color: #0C447C; letter-spacing: 2px; }
    .home-hero p { color: var(--muted); margin-top: 10px; font-size: 14px; letter-spacing: 1px; }
    .home-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; max-width: 1080px; margin: 0 auto; padding: 0 20px 40px; }
    .home-card { background: white; border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: 14px; padding: 26px 22px 18px; transition: all 0.2s; }
    .home-card:hover { box-shadow: 0 8px 20px rgba(24,95,165,0.12); transform: translateY(-3px); border-color: var(--primary); }
    .home-card .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; }
    .home-card h3 { font-size: 16px; margin: 14px 0 4px; }
    .home-card .desc { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
    .home-card .items { border-top: 1px solid var(--border); padding-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
    .home-card .item { display: block; width: 100%; text-align: left; background: transparent; border: none; padding: 8px 8px; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--primary); white-space: nowrap; }
    .home-card .item:hover { background: var(--primary-light); }

    .page { display: none; }
    .page.active { display: block; }
    
    .stats { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
    .stat-card { background: white; padding: 14px 18px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); flex: 1; min-width: 140px; }
    .stat-card .label { font-size: 11px; color: var(--muted); }
    .stat-card .value { font-size: 22px; font-weight: 600; color: var(--primary); }
    .stat-card .sub { font-size: 11px; color: var(--muted); }
    
    .toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
    .search-box { flex: 1; min-width: 200px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }
    
    .category-tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 500; }
    .cat-1 { background: #ffebee; color: #c62828; }
    .cat-2 { background: #fff3e0; color: #e65100; }
    .cat-3 { background: #e8f5e9; color: #2e7d32; }
    .cat-4 { background: #e3f2fd; color: #1565c0; }
    .cat-5 { background: #f3e5f5; color: #7b1fa2; }
    .cat-6 { background: #e0f7fa; color: #00838f; }
    .cat-7 { background: #fce4ec; color: #ad1457; }
    .cat-8 { background: #fff8e1; color: #ff8f00; }
    
    table { width: 100%; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border-collapse: collapse; }
    th, td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--border); font-size: 11px; word-break: break-word; }
    th { background: #f8f9fa; font-weight: 600; color: var(--muted); position: sticky; top: 0; white-space: nowrap; }
    tr:hover { background: var(--primary-light); }
    .link { color: var(--primary); text-decoration: none; font-size: 11px; }
    .link:hover { text-decoration: underline; }
    .amount { font-weight: 600; white-space: nowrap; }
    
    .calc-section { background: white; border-radius: 12px; padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
    .calc-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
    .calc-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
    .calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
    .calc-group { background: var(--bg); padding: 14px; border-radius: 8px; }
    .calc-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
    .calc-group input, .calc-group select { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }
    .calc-group input:focus, .calc-group select:focus { outline: none; border-color: var(--primary); }
    .calc-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
    
    .calc-result { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; padding: 24px; border-radius: 12px; margin-top: 20px; }
    .calc-result .title { font-size: 14px; opacity: 0.9; margin-bottom: 8px; }
    .calc-result .value { font-size: 32px; font-weight: 700; }
    .calc-result .range { font-size: 13px; opacity: 0.85; margin-top: 8px; }
    .calc-result .note { font-size: 12px; opacity: 0.7; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.2); }
    .btn-calc { background: var(--primary); color: white; border: none; padding: 12px 28px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; margin-top: 16px; }
    .btn-calc:hover { background: #0d4a87; }
    .method-box { background: #f8f9fa; border-left: 4px solid var(--primary); padding: 14px; margin-top: 20px; border-radius: 0 8px 8px 0; }
    .method-box h4 { font-size: 14px; margin-bottom: 8px; }
    .method-box ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); }

    /* 地图分析样式 */
    .map-toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
    .map-btn-group { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
    .map-btn-group .map-btn { border: none; border-radius: 0; border-right: 1px solid var(--border); }
    .map-btn-group .map-btn:last-child { border-right: none; }
    .map-btn { padding: 10px 18px; border: 1px solid var(--border); background: white; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
    .map-btn:hover { background: #f5f5f5; }
    .map-btn.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
    .map-btn.primary { background: var(--primary); color: white; border-color: var(--primary); }
    .map-btn.primary:hover { background: #0d4a87; }
    .map-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .map-hint { font-size: 13px; color: var(--muted); margin-left: 12px; }
    
    .map-container { position: relative; height: 500px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

    /* ----- 浮动地图搜索框（地名/景点搜索 → 定位跳转） ----- */
    .map-container { position: relative; }
    .map-search-wrap { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 350px; z-index: 9999; }
    .map-search-input { width: 100%; box-sizing: border-box; padding: 12px 16px 12px 42px; font-size: 15px; font-weight: 500; color: #222; border: 2px solid #185FA5; border-radius: 10px; background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E") no-repeat 13px center / 19px 19px; box-shadow: 0 3px 12px rgba(0,0,0,0.22); outline: none; transition: box-shadow .2s, border-color .2s; }
    .map-search-input:focus { box-shadow: 0 4px 16px rgba(24,95,165,0.4); border-color: #124a80; }
    .map-search-input::placeholder { color: #9aa8b5; font-weight: 400; }
    .map-search-dropdown { max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid #cfd9e3; border-top: none; border-radius: 0 0 10px 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
    .map-search-item { padding: 10px 12px; cursor: pointer; font-size: 14px; border-bottom: 1px solid #f0f4f8; }
    .map-search-item:last-child { border-bottom: none; }
    .map-search-item:hover { background: #eaf3fb; }
    .map-search-item-name { display: block; font-weight: 600; color: #185FA5; font-size: 14px; }
    .map-search-item-addr { display: block; font-size: 12px; color: #888; margin-top: 2px; }
    .map-search-empty { padding: 12px; color: #999; text-align: center; font-size: 13px; }

    /* ----- POI 地图标记（分类彩色标记） + 图例/开关 ----- */
    .poi-switch-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
    .poi-toggle-label { font-size: 13px; color: var(--text); font-weight: 600; }
    .poi-toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
    .poi-toggle input { opacity: 0; width: 0; height: 0; }
    .poi-toggle .poi-toggle-slider { position: absolute; cursor: pointer; inset: 0; background-color: #ccc; border-radius: 22px; transition: .2s; }
    .poi-toggle .poi-toggle-slider::before { content: ""; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: #fff; border-radius: 50%; transition: .2s; box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08); }
    .poi-toggle input:checked + .poi-toggle-slider { background-color: var(--primary); }
    .poi-toggle input:checked + .poi-toggle-slider::before { transform: translateX(18px); }
    .poi-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
    .poi-legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); border-radius: 12px; padding: 2px 8px; border: 1px solid transparent; }
    .poi-legend-item.clickable { cursor: pointer; user-select: none; }
    .poi-legend-item.clickable:hover { background: #f0f4f8; }
    .poi-legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
    .poi-marker { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }
    .poi-marker.poi-community { background: #4a90d9; color: #fff; }
    .poi-marker.poi-school { background: #2ecc71; color: #fff; }
    .poi-marker.poi-hospital { background: #e74c3c; color: #fff; }
    .poi-marker.poi-catering { background: #f59e0b; color: #fff; }
    .poi-marker.poi-shopping { background: #9b51e0; color: #fff; }
    .poi-marker.poi-life { background: #9aa0a6; color: #fff; }
    .poi-marker.poi-office { background: #0d9488; color: #fff; }
    .poi-marker.poi-scenic { background: #15803d; color: #fff; }
    .poi-marker.poi-culture { background: #db2777; color: #fff; }
    #amapContainer { width: 100%; height: 100%; }
    
    .analysis-result { background: white; border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
    .result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
    .result-header h3 { font-size: 18px; }
    .result-tags { display: flex; gap: 8px; }
    .tag { padding: 6px 14px; background: var(--primary-light); color: var(--primary); border-radius: 20px; font-size: 13px; }
    
    .result-section { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
    .result-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
    .result-section h4 { font-size: 16px; margin-bottom: 12px; color: var(--text); }

    /* 地图分析页：左侧竖排板块导航 + 右侧内容区 */
    .map-layout { display: flex; gap: 18px; align-items: flex-start; }
    .map-tabs { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 16px; }
    .map-tab-btn { padding: 11px 12px; border: 1px solid var(--border); background: white; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text); text-align: left; transition: all 0.2s; }
    .map-tab-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
    .map-tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
    .map-content { flex: 1; min-width: 0; }
    .map-panel { display: none; }
    .map-panel.active { display: block; }
    
    .stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
    .stat-item { background: #f8f9fa; padding: 12px; border-radius: 8px; text-align: center; }
    .stat-item .num { font-size: 24px; font-weight: 600; color: var(--primary); }
    .stat-item .label { font-size: 12px; color: var(--muted); margin-top: 4px; }
    
    .poi-list { font-size: 13px; color: var(--muted); line-height: 1.8; max-height: 120px; overflow-y: auto; }
    .poi-item { padding: 6px 0; border-bottom: 1px dashed #eee; }
    .poi-item:last-child { border-bottom: none; }
    
    .news-list { font-size: 13px; }
    .news-item { padding: 12px; background: #f8f9fa; border-radius: 8px; margin-bottom: 10px; }
    .news-item:last-child { margin-bottom: 0; }
    .news-item .title { font-weight: 500; color: var(--text); margin-bottom: 6px; }
    .news-item .meta { font-size: 12px; color: var(--muted); }
    
    .ai-analysis { background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%); border-radius: 12px; padding: 20px; border-left: 4px solid #ff8f00; }
    .ai-analysis h4 { color: #e65100; }
    .ai-content { font-size: 14px; line-height: 1.8; color: var(--text); white-space: pre-line; }
    .method-box li { margin-bottom: 4px; }
    .footer { text-align: center; padding: 20px; color: var(--muted); font-size: 12px; }
    .cat-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
    .cat-filter-btn { padding: 6px 14px; border: 1px solid var(--border); background: white; border-radius: 20px; font-size: 12px; cursor: pointer; transition: all 0.2s; }
    .cat-filter-btn:hover { border-color: var(--primary); }
    .cat-filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
    .fund-source { font-size: 10px; color: var(--muted); }
    .data-info { background: #fff3e0; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: #e65100; margin-bottom: 12px; }
    
    /* 典型案例库表格特殊样式 */
    #page-cases table { table-layout: fixed; }
    #page-cases th, #page-cases td { padding: 10px 8px; font-size: 12px; }
    #page-cases td[style*="350px"] { white-space: pre-line; line-height: 1.5; max-height: 120px; overflow-y: auto; }
    
    /* 六维诊断卡样式 */
    .diag-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 6px; }
    .diag-note { font-size: 12px; color: var(--muted); font-weight: 400; }
    .diag-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
    @media (max-width: 1100px) { .diag-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
    @media (max-width: 640px) { .diag-grid { grid-template-columns: 1fr; } }
    .diag-card { background: #f8f9fa; border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
    .diag-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
    .diag-card-title { font-size: 14px; font-weight: 600; }
    .diag-tag { font-size: 11px; padding: 2px 10px; border-radius: 999px; background: #e3f2fd; color: #1565c0; white-space: nowrap; }
    .diag-tag.manual { background: #eceff1; color: #607d8b; }
    .diag-scope { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
    .diag-issue { display: flex; gap: 8px; padding: 8px 0; border-top: 1px dashed #e0e0e0; font-size: 13px; align-items: flex-start; line-height: 1.5; }
    .diag-issue:first-of-type { border-top: none; }
    .sev-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
    .sev-high { background: #e53935; }
    .sev-mid { background: #fb8c00; }
    .sev-low { background: #43a047; }
    .diag-issue-body { flex: 1; min-width: 0; }
    .diag-src { font-size: 10px; padding: 1px 6px; border-radius: 4px; margin-left: 4px; }
    .diag-src.auto { background: #e3f2fd; color: #1565c0; }
    .diag-src.manual { background: #eceff1; color: #607d8b; }
    .diag-src.llm { background: #f3e8fd; color: #7b1fa2; }

    /* ============ 区域类型选择器 + 成果报告卡 ============ */
    .region-type-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
    .rtype-btn { padding: 8px 16px; border: 1px solid var(--border); background: white; border-radius: 18px; cursor: pointer; font-size: 13px; transition: all 0.2s; color: #555; }
    .rtype-btn:hover { border-color: #185FA5; color: #185FA5; }
    .rtype-btn.active { background: #185FA5; border-color: #185FA5; color: #fff; font-weight: 600; }
    .region-type-guess { margin-top: 8px; padding: 6px 10px; background: #f6f9fc; border-left: 3px solid #185FA5; border-radius: 0 4px 4px 0; }
    .region-type-guess b { color: #185FA5; }

    /* AI 分析进度条（区域诊断 · runLLMAnalysis 期间显示） */
    .ai-progress { margin-top: 10px; padding: 10px 12px 8px; background: #f6f9fc; border: 1px solid #e3eaf2; border-radius: 8px; }
    .ai-steps { display: flex; }
    .ai-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
    .ai-dot { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1; border: 1px solid #d5dce3; background: #fff; color: #9aa4ae; transition: all 0.25s; }
    .ai-step-name { font-size: 11px; color: var(--muted); white-space: nowrap; }
    .ai-step.done .ai-dot { background: #185FA5; border-color: #185FA5; color: #fff; }
    .ai-step.done .ai-step-name { color: #185FA5; }
    .ai-step.active .ai-dot { border-color: #185FA5; color: #185FA5; box-shadow: 0 0 0 3px rgba(24,95,165,0.13); }
    .ai-step.active .ai-step-name { color: #185FA5; font-weight: 600; }
    .ai-progress-track { height: 6px; background: #e8edf2; border-radius: 3px; margin: 10px 0 6px; overflow: hidden; }
    .ai-progress-fill { height: 100%; width: 0; background: #185FA5; border-radius: 3px; transition: width 0.35s ease; position: relative; overflow: hidden; }
    .ai-progress-fill.running::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: aiProgressShimmer 1.1s infinite; }
    @keyframes aiProgressShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
    .ai-progress-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; }
    .ai-progress-text { color: #333; }
    .ai-progress-timer { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

    .report-empty { font-size: 13px; color: #999; padding: 14px 0; text-align: center; }
    .report-sec { padding: 10px 0 14px; border-bottom: 1px dashed #e3eaf2; }
    .report-sec:last-child { border-bottom: none; }
    .report-sec h5 { font-size: 14px; margin: 0 0 8px; color: #1a2b3c; }
    .report-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    .report-pois, .report-pzs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
    .report-issues { display: flex; flex-direction: column; gap: 6px; }
    .report-issue { display: flex; align-items: center; gap: 8px; font-size: 13px; }
    .report-biz { display: flex; flex-direction: column; gap: 10px; }
    .report-biz-item { padding: 10px 12px; border: 1px solid #e3eaf2; border-radius: 8px; background: #fafcfe; }
    .rbiz-head { display: flex; align-items: center; gap: 8px; }
    .rbiz-rank { font-size: 12px; font-weight: 700; color: #185FA5; background: #e8f1fb; border-radius: 4px; padding: 1px 6px; }
    .rbiz-cat { font-size: 11px; border: 1px solid; border-radius: 10px; padding: 0 8px; }
    .rbiz-def { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
    .rbiz-why { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
    .rbiz-reason { font-size: 11px; color: #33691e; background: #f1f8e9; border-radius: 4px; padding: 2px 8px; }
    .rbiz-links { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 10px; }
    .rbiz-links a { font-size: 11px; color: #185FA5; text-decoration: none; }
    .rbiz-links a:hover { text-decoration: underline; }
    .report-pol { display: flex; flex-direction: column; gap: 8px; }
    .report-pol-item { padding: 8px 12px; border: 1px solid #e3eaf2; border-radius: 6px; }
    .rpol-head { font-size: 13px; }
    .rpol-head a { color: #185FA5; text-decoration: none; font-weight: 600; }
    .rpol-head a:hover { text-decoration: underline; }
    .rpol-head .plvl { font-size: 10px; color: #7b1fa2; background: #f3e8fd; border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
    .rpol-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
    .rpol-sum { font-size: 12px; color: #444; margin-top: 4px; line-height: 1.5; background: #f6f9fc; padding: 5px 8px; border-radius: 4px; }

    .diag-ev { font-size: 11px; color: var(--muted); margin-top: 2px; }
    .diag-del { border: none; background: transparent; color: #bbb; cursor: pointer; font-size: 15px; padding: 0 2px; line-height: 1; }
    .diag-del:hover { color: #e53935; }
    .diag-empty { font-size: 12px; color: #999; padding: 6px 0; }
    .diag-add { display: block; width: 100%; margin-top: 8px; padding: 6px; border: 1px dashed var(--border); background: transparent; border-radius: 6px; color: var(--muted); font-size: 12px; cursor: pointer; }
    .diag-add:hover { border-color: var(--primary); color: var(--primary); }
    .diag-form { display: none; margin-top: 8px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
    .diag-form input, .diag-form select { width: 100%; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; margin-bottom: 6px; font-family: inherit; }
    .diag-form-btns { display: flex; gap: 6px; justify-content: flex-end; }
    .diag-form-btns button { padding: 4px 12px; border-radius: 6px; border: 1px solid var(--border); background: #fff; font-size: 12px; cursor: pointer; }
    .diag-form-btns .ok { background: var(--primary); color: #fff; border-color: var(--primary); }
    .issue-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
    .issue-list { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
    .issue-row { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; align-items: center; font-size: 13px; }
    .issue-row:last-child { border-bottom: none; }
    .issue-dim { width: 58px; font-size: 11px; color: var(--muted); flex-shrink: 0; }
    .issue-txt { flex: 1; min-width: 0; }
    .issue-match { font-size: 12px; color: var(--primary); cursor: pointer; white-space: nowrap; border: none; background: transparent; padding: 0; }
    .issue-match:hover { text-decoration: underline; }
    .issue-empty { padding: 14px; color: var(--muted); font-size: 13px; text-align: center; }
    /* 舆情新闻：词条标签 + 作为问题证据 */
    .news-kw { font-size: 11px; color: var(--muted); background: #f1f3f5; border: 1px solid var(--border); padding: 0 6px; border-radius: 4px; margin-left: 6px; }
    .news-tag-gov { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: #E6F1FB; color: #185FA5; border: 1px solid #85B7EB; margin-right: 6px; vertical-align: middle; }
    .news-ev { font-size: 12px; color: var(--primary); cursor: pointer; border: none; background: transparent; padding: 0; }
    .news-ev:hover { text-decoration: underline; }
    .news-ev-dims { display: block; margin-top: 4px; }
    .news-ev-dim { font-size: 11px; padding: 2px 10px; margin: 2px 4px 2px 0; border: 1px solid var(--border); background: #fff; border-radius: 999px; cursor: pointer; color: var(--muted); }
    .news-ev-dim:hover { border-color: var(--primary); color: var(--primary); }
    /* 政策智能匹配 */
    .policy-match-panel { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
    .policy-match-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 10px; }
    .policy-match-title { font-size: 15px; font-weight: 500; }
    .policy-match-bar { display: flex; gap: 8px; margin-bottom: 8px; }
    .policy-match-topics { margin: 6px 0 10px; }
    .policy-city-tip { font-size: 12px; color: #0C6B3F; background: #E8F5EE; border: 1px solid #9FD3B8; border-radius: 6px; padding: 3px 8px; margin-bottom: 6px; }
    .policy-city-tip.warn { color: #8A5A00; background: #FFF6E5; border-color: #F0C97A; }
    .policy-topic-chip { display: inline-block; font-size: 12px; padding: 2px 10px; margin: 2px 6px 2px 0; border: 1px solid #85B7EB; background: #E6F1FB; color: #0C447C; border-radius: 999px; cursor: pointer; }
    .policy-topic-chip:hover { background: #B5D4F4; }
    .policy-sec-title { font-size: 13px; font-weight: 500; margin: 12px 0 6px; color: var(--text); }
    .policy-sec-title .cnt { font-size: 11px; color: var(--muted); font-weight: 400; }
    .policy-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
    .policy-card-title { font-size: 13px; font-weight: 500; color: #0C447C; text-decoration: none; }
    .policy-card-title:hover { text-decoration: underline; }
    .policy-card-meta { font-size: 11px; color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .policy-tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; }
    .policy-tag-auth { background: #E1F5EE; color: #0F6E56; border: 1px solid #5DCAA5; }
    .policy-tag-gov { background: #E6F1FB; color: #185FA5; border: 1px solid #85B7EB; }
    /* 投融资要点提炼 */
    .finance-summary { background: #F7F9FB; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 4px; }
    .finance-summary-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
    .finance-card { margin-top: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: #fff; }
    .finance-dim-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13px; }
    .finance-dim-table tr { border-bottom: 1px solid #EEF1F4; }
    .finance-dim-table tr:last-child { border-bottom: none; }
    .finance-dim-label { width: 118px; padding: 5px 8px; vertical-align: top; color: var(--muted); white-space: nowrap; font-size: 12px; }
    .finance-dim-cell { padding: 5px 8px; vertical-align: top; line-height: 1.55; }
    .policy-tag-web { background: #FAEEDA; color: #854F0B; border: 1px solid #FAC775; }
    .policy-tag-lib { background: #F1EFE8; color: #5F5E5A; border: 1px solid #D3D1C7; }
    .policy-card-snippet { font-size: 12px; color: #666; margin-top: 4px; line-height: 1.5; }
    .policy-card-btns { margin-top: 6px; }
    .policy-card-btns button { font-size: 11px; padding: 2px 10px; margin-right: 6px; border: 1px solid var(--border); background: #fff; border-radius: 5px; cursor: pointer; color: var(--muted); }
    .policy-card-btns button:hover { border-color: var(--primary); color: var(--primary); }
    .policy-card-btns .done { color: #0F6E56; border-color: #5DCAA5; }
    .policy-loading { padding: 14px; color: var(--muted); font-size: 13px; }
    .policy-collapse { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; }
    .topic-map-table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .topic-map-table th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); color: var(--muted); font-weight: 400; }
    .topic-map-table td { padding: 5px 8px; border-bottom: 1px solid #f0f0f0; }
    .topic-map-table input { width: 100%; padding: 4px 6px; border: 1px solid var(--border); border-radius: 5px; font-size: 12px; font-family: inherit; }
    .topic-map-del { color: #A32D2D; cursor: pointer; border: none; background: transparent; font-size: 12px; }
    .topic-map-del:hover { text-decoration: underline; }

    /* ----- 用户登录（导航入口 + 登录弹窗） ----- */
    .nav-user { margin-left: auto; display: flex; align-items: center; gap: 8px; }
    .nav-user-btn { padding: 7px 14px; border: 1px solid var(--primary); background: white; color: var(--primary); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.2s; white-space: nowrap; }
    .nav-user-btn:hover { background: var(--primary-light); }
    .nav-user-btn.logged { border: none; background: var(--primary); color: white; }
    .nav-user-btn.logged:hover { background: #0F4E8C; }
    .modal-mask { position: fixed; inset: 0; background: rgba(15, 40, 70, 0.45); display: none; align-items: center; justify-content: center; z-index: 999; }
    .modal-mask.show { display: flex; }
    .modal-card { background: white; border-radius: 14px; width: 400px; max-width: 92vw; box-shadow: 0 16px 48px rgba(24, 95, 165, 0.25); overflow: hidden; }
    .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
    .modal-head h3 { font-size: 17px; color: var(--primary); }
    .modal-close { border: none; background: transparent; font-size: 20px; color: var(--muted); cursor: pointer; line-height: 1; }
    .modal-close:hover { color: var(--text); }
    .auth-tabs { display: flex; gap: 6px; padding: 14px 22px 0; }
    .auth-tab { flex: 1; padding: 9px 0; border: none; background: transparent; cursor: pointer; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 500; }
    .auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
    .auth-form { padding: 18px 22px 22px; }
    .auth-form label { display: block; font-size: 12px; color: var(--muted); margin: 12px 0 6px; }
    .auth-form input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; }
    .auth-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.12); }
    .auth-submit { width: 100%; margin-top: 18px; padding: 11px 0; border: none; background: var(--primary); color: white; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
    .auth-submit:hover { background: #0F4E8C; }
    .auth-msg { margin-top: 12px; font-size: 12px; min-height: 16px; }
    .auth-msg.ok { color: var(--success); }
    .auth-msg.err { color: #A32D2D; }
    .auth-hint { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

    /* ----- 个人中心页面 ----- */
    .center-grid { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
    .center-user { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 24px 20px; text-align: center; }
    .center-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: white; font-size: 26px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
    .center-user h3 { font-size: 17px; }
    .center-user .meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
    .center-stats { display: flex; justify-content: center; gap: 26px; margin: 16px 0 6px; }
    .center-stats .num { font-size: 20px; font-weight: 700; color: var(--primary); }
    .center-stats .lbl { font-size: 11px; color: var(--muted); }
    .logout-btn { margin-top: 14px; padding: 8px 22px; border: 1px solid var(--border); background: white; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--muted); }
    .logout-btn:hover { border-color: #A32D2D; color: #A32D2D; }
    .center-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
    .center-panel { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
    .center-panel h4 { font-size: 15px; margin-bottom: 12px; }
    .center-panel .empty { font-size: 13px; color: var(--muted); padding: 14px 0; }
    .analysis-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s; }
    .analysis-item:hover { border-color: var(--primary); box-shadow: 0 3px 10px rgba(24, 95, 165, 0.1); }
    .analysis-item .ai-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
    .analysis-item .ai-info { flex: 1; min-width: 0; }
    .analysis-item .ai-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .analysis-item .ai-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
    .analysis-item .ai-del { border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; flex-shrink: 0; }
    .analysis-item .ai-del:hover { color: #A32D2D; }
    .collected-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 4px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
    .collected-item:last-child { border-bottom: none; }
    .collected-item a { color: var(--primary); text-decoration: none; flex: 1; }
    .collected-item a:hover { text-decoration: underline; }
    .collected-item .ci-meta { font-size: 11px; color: var(--muted); white-space: nowrap; }
    .collected-item .ci-del { border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
    .collected-item .ci-del:hover { color: #A32D2D; }

    /* ----- 保存分析按钮 & 回放视图 ----- */
    .save-analysis-btn { margin-left: auto; padding: 8px 16px; border: none; background: var(--primary); color: white; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; white-space: nowrap; }
    .save-analysis-btn:hover { background: #0F4E8C; }
    .save-analysis-btn:disabled { background: #b9c9da; cursor: not-allowed; }
    .replay-modal .modal-card { width: 860px; max-height: 86vh; display: flex; flex-direction: column; }
    .replay-body { overflow-y: auto; padding: 8px 22px 22px; }
    .replay-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
    .replay-tags .tag { background: var(--primary-light); color: var(--primary); padding: 4px 10px; border-radius: 20px; font-size: 12px; }
    .replay-sec { margin: 16px 0; }
    .replay-sec h5 { font-size: 14px; color: var(--primary); margin-bottom: 8px; padding-left: 8px; border-left: 3px solid var(--primary); }
    .replay-issue { font-size: 13px; padding: 6px 10px; background: #fafcff; border: 1px solid #eef3f9; border-radius: 8px; margin-bottom: 6px; }
    .replay-issue .sev { font-size: 11px; padding: 1px 8px; border-radius: 10px; margin-right: 6px; }
    .replay-issue .sev.high { background: #fdecea; color: #A32D2D; }
    .replay-issue .sev.mid { background: #fff4e0; color: #a06b00; }
    .replay-issue .sev.low { background: #eef6ee; color: #2e7d32; }
    .replay-policy { font-size: 13px; padding: 8px 12px; border: 1px solid #eef3f9; border-radius: 8px; margin-bottom: 6px; }
    .replay-policy a { color: var(--primary); text-decoration: none; }
    .replay-policy a:hover { text-decoration: underline; }
    .replay-policy .plvl { font-size: 11px; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: var(--primary-light); color: var(--primary); }
    .replay-finance { font-size: 13px; padding: 10px 12px; border: 1px solid #eef3f9; border-radius: 8px; margin-bottom: 8px; }
    .replay-finance b { color: var(--primary); font-size: 12px; }
    .replay-finance li { margin: 3px 0 3px 16px; color: var(--text); }

    /* ----- 规划知识库页面 ----- */
    .pkb-info { font-size: 13px; color: var(--muted); background: #f4f8fc; border: 1px solid #e3edf6; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; line-height: 1.7; }
    .pkb-view-toggle { display: inline-flex; gap: 4px; border: 1px solid var(--border); border-radius: 8px; padding: 2px 4px; background: white; margin-right: 10px; vertical-align: middle; }
    .pkb-view-btn { padding: 5px 12px; border: none; border-radius: 6px; background: transparent; font-size: 12px; color: var(--muted); cursor: pointer; }
    .pkb-view-btn.active { background: var(--primary); color: white; }
    .pkb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
    .pkb-card { background: white; border: 1px solid var(--border); border-top: 3px solid var(--pkb-color, var(--primary)); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; gap: 8px; }
    .pkb-card:hover { box-shadow: 0 4px 14px rgba(24, 95, 165, 0.13); transform: translateY(-2px); }
    .pkb-card-head { display: flex; align-items: center; gap: 8px; }
    .pkb-card-head .icon { font-size: 16px; }
    .pkb-card-head .name { font-size: 14px; font-weight: 600; color: var(--text); flex: 1; }
    .pkb-card-head .cat-tag { font-size: 11px; padding: 2px 9px; border-radius: 10px; background: color-mix(in srgb, var(--pkb-color, var(--primary)) 12%, white); color: var(--pkb-color, var(--primary)); white-space: nowrap; }
    .pkb-where { font-size: 12px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .pkb-reqs { font-size: 12px; color: var(--text); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .pkb-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
    .pkb-prec { font-size: 10px; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
    .pkb-prec.exact { background: #e8f5e9; color: #2e7d32; }
    .pkb-prec.approx { background: #fff4e0; color: #a06b00; }
    .pkb-prec.global { background: #f0f0f0; color: #757575; }
    .pkb-src { font-size: 11px; color: var(--muted); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* ===== 新兴业态（模块八）专属样式 ===== */
    .pkb-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
    .nb-added { font-size: 10px; padding: 1px 8px; border-radius: 10px; background: #fff4e0; color: #a06b00; white-space: nowrap; }
    .nb-added.ok { background: #e7f6ec; color: #1f7a3d; }
    .nb-nature { font-size: 12px; color: var(--text); background: #f0f6ff; border: 1px solid #e1ecf8; padding: 3px 10px; border-radius: 10px; }
    .nb-tag { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 10px; background: #f2f6fb; color: #4a6785; border: 1px solid #e3ebf4; margin: 2px 4px 2px 0; }
    .nb-tags { margin-top: 4px; }
    .nb-warn { font-size: 12px; color: #a06b00; background: #fff8ec; border: 1px solid #ffe6bd; border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; line-height: 1.7; }
    .nb-warn.ok { color: #1f7a3d; background: #eefaf1; border-color: #c5ead2; }
    /* 新兴业态详情：相关链接 */
    .nb-links { display: flex; flex-direction: column; gap: 10px; }
    .nb-link-group { background: #fafcff; border: 1px solid #eef3f9; border-radius: 8px; padding: 8px 10px; }
    .nb-link-type { font-size: 11px; font-weight: 600; color: var(--primary); margin-bottom: 5px; }
    .nb-link { display: block; font-size: 12.5px; color: #1a5fb4; text-decoration: none; line-height: 1.7; padding: 2px 0; word-break: break-all; }
    .nb-link:hover { text-decoration: underline; }
    .nb-link-arrow { font-size: 11px; opacity: .7; }

    /* 新兴业态：链接解析入口按钮 */
    .tool-btn { padding: 6px 14px; border: 1px solid var(--primary); background: var(--primary); color: #fff; border-radius: 20px; font-size: 12px; cursor: pointer; transition: all .2s; white-space: nowrap; }
    .tool-btn:hover { opacity: .9; }
    .tool-btn.ghost { background: #fff; color: var(--primary); }
    .tool-btn.primary { background: var(--primary); }

    /* 草稿弹窗 */
    .nb-dlg-tip { font-size: 12.5px; color: #5a6b7b; line-height: 1.7; background: #f6f9fd; border: 1px solid #e6eefa; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
    .nb-links-input { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 13px; font-family: inherit; line-height: 1.6; resize: vertical; }
    .nb-parse-err { color: #c0392b; font-size: 12.5px; }
    .nb-draft-list { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; max-height: 56vh; overflow: auto; }
    .nb-parse-loading { color: #5a6b7b; font-size: 13px; padding: 14px 0; }
    .nb-draft { border: 1px solid #e6eefa; border-radius: 10px; padding: 12px 14px; background: #fffdf8; }
    .nb-draft-err { background: #fff5f5; border-color: #f3c9c9; }
    .nb-draft-title { font-size: 12.5px; color: #c0392b; word-break: break-all; margin-bottom: 4px; }
    .nb-draft-msg { font-size: 12.5px; color: #7a3b3b; }
    .nb-draft-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
    .nb-ai-badge { font-size: 10px; padding: 2px 8px; border-radius: 10px; background: #f0e9ff; color: #6a1b9a; white-space: nowrap; font-weight: 600; }
    .nb-draft-name { flex: 1; min-width: 160px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
    .nb-draft-cat { padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; }
    .nb-draft-save { padding: 6px 12px; border: none; background: var(--primary); color: #fff; border-radius: 6px; font-size: 12px; cursor: pointer; white-space: nowrap; }
    .nb-draft-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 6px; }
    .nb-draft-row label { width: 72px; flex: none; font-size: 12px; color: #5a6b7b; padding-top: 6px; text-align: right; }
    .nb-draft-row input, .nb-draft-row textarea { flex: 1; padding: 5px 9px; border: 1px solid var(--border); border-radius: 6px; font-size: 12.5px; font-family: inherit; line-height: 1.5; resize: vertical; }
    .nb-draft-src { font-size: 11.5px; color: #7a8a99; margin-top: 8px; word-break: break-all; }
    .nb-draft-src a { color: #1a5fb4; }
    .nb-draft-actions { margin-top: 14px; text-align: right; }
    .nb-draft-saveall { padding: 8px 18px; border: none; background: #1f7a3d; color: #fff; border-radius: 8px; font-size: 13px; cursor: pointer; }
    .nb-added.ai { background: #f0e9ff; color: #6a1b9a; }
    .nb-nature { margin-bottom: 4px; }
    .pkb-drawer .d-section { margin-bottom: 16px; }
    .pkb-drawer .d-label { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; padding-left: 8px; border-left: 3px solid var(--primary); }
    .pkb-detail-src { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
    .pkb-detail-src a { color: var(--primary); text-decoration: none; }
    .pkb-detail-src a:hover { text-decoration: underline; }
    .pkb-drawer .modal-card { width: 640px; max-height: 82vh; display: flex; flex-direction: column; }
    .pkb-drawer-body { overflow-y: auto; padding: 4px 22px 22px; }
    .pkb-drawer h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 10px; }
    .pkb-drawer h6 { font-size: 13px; color: var(--primary); margin: 14px 0 6px; padding-left: 8px; border-left: 3px solid var(--primary); }
    .pkb-drawer .d-where { font-size: 13px; color: var(--text); line-height: 1.8; background: #fafcff; border: 1px solid #eef3f9; border-radius: 8px; padding: 10px 12px; }
    .pkb-drawer .d-req { font-size: 13px; color: var(--text); line-height: 1.8; padding: 6px 10px; background: #fafcff; border: 1px solid #eef3f9; border-radius: 8px; margin-bottom: 6px; }
    .pkb-drawer .d-actions { display: flex; gap: 10px; margin-top: 14px; }
    .pkb-drawer .d-btn { padding: 8px 18px; border: none; border-radius: 8px; cursor: pointer; font-size: 13px; }
    .pkb-drawer .d-btn.primary { background: var(--primary); color: white; }
    .pkb-drawer .d-btn.primary:hover { background: #0F4E8C; }
    .pkb-drawer .d-btn.ghost { background: white; color: var(--primary); border: 1px solid var(--primary); }
    .pkb-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; padding: 40px 0; }
    .pkb-report { max-width: 1040px; margin: 0 auto; font-size: 13px; line-height: 1.7; color: var(--text); }
    .pkb-report h1 { font-size: 19px; color: var(--primary); margin: 8px 0 4px; }
    .pkb-report h2 { font-size: 16px; color: var(--primary); margin: 16px 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
    .pkb-report h3 { font-size: 14px; color: #185FA5; margin: 14px 0 6px; font-weight: 600; }
    .pkb-report p { margin: 6px 0; }
    .pkb-report ul { margin: 6px 0; padding-left: 22px; }
    .pkb-report li { margin: 3px 0; }
    .pkb-report table { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 12px; }
    .pkb-report th, .pkb-report td { border: 1px solid #d8e2ea; padding: 6px 8px; text-align: left; vertical-align: top; }
    .pkb-report th { background: #f4f8fc; color: #185FA5; font-weight: 600; }
    .pkb-report blockquote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid #bcd0e3; background: #fafcff; font-size: 12px; color: var(--muted); }
    .pkb-report .src-note { font-size: 11px; color: var(--muted); }

    /* ----- 区域诊断：规划分区命中 ----- */
    .plan-zone-sec { margin-bottom: 14px; border: 1px solid #e3edf6; border-radius: 10px; padding: 12px 14px; background: #fbfdff; }
    .plan-zone-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .plan-zone-head h5 { font-size: 13px; color: var(--primary); margin: 0; }
    .plan-zone-head .pz-count { font-size: 11px; color: var(--muted); }
    .plan-layer-btn { margin-left: auto; padding: 4px 12px; border: 1px solid var(--border); background: white; border-radius: 14px; cursor: pointer; font-size: 11px; color: var(--muted); white-space: nowrap; }
    .plan-layer-btn.on { background: var(--primary); border-color: var(--primary); color: white; }
    .plan-zone-hits { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
    .pz-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 3px 10px; border-radius: 14px; border: 1px solid; background: white; cursor: pointer; transition: all 0.15s; line-height: 1.6; }
    .pz-chip:hover { filter: brightness(0.94); }
    .pz-chip .pz-approx { font-size: 9px; padding: 0 4px; border-radius: 6px; background: #fff4e0; color: #a06b00; }
    .pz-chip .pz-by { font-size: 9px; color: var(--muted); }
    .plan-zone-tip { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
    .replay-planzone { display: flex; flex-wrap: wrap; gap: 7px; }
    .replay-planzone .pz-chip { cursor: default; }
