html.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:#3375b9;--el-color-primary-light-5:#2a598a;--el-color-primary-light-7:#213d5b;--el-color-primary-light-8:#1d3043;--el-color-primary-light-9:#18222b;--el-color-primary-dark-2:#66b1ff;--el-color-success:#67c23a;--el-color-success-light-3:#4e8e2f;--el-color-success-light-5:#3e6b27;--el-color-success-light-7:#2d481f;--el-color-success-light-8:#25371c;--el-color-success-light-9:#1c2518;--el-color-success-dark-2:#85ce61;--el-color-warning:#e6a23c;--el-color-warning-light-3:#a77730;--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:#533f20;--el-color-warning-light-8:#3e301c;--el-color-warning-light-9:#292218;--el-color-warning-dark-2:#ebb563;--el-color-danger:#f56c6c;--el-color-danger-light-3:#b25252;--el-color-danger-light-5:#854040;--el-color-danger-light-7:#582e2e;--el-color-danger-light-8:#412626;--el-color-danger-light-9:#2a1d1d;--el-color-danger-dark-2:#f78989;--el-color-error:#f56c6c;--el-color-error-light-3:#b25252;--el-color-error-light-5:#854040;--el-color-error-light-7:#582e2e;--el-color-error-light-8:#412626;--el-color-error-light-9:#2a1d1d;--el-color-error-dark-2:#f78989;--el-color-info:#909399;--el-color-info-light-3:#6b6d71;--el-color-info-light-5:#525457;--el-color-info-light-7:#393a3c;--el-color-info-light-8:#2d2d2f;--el-color-info-light-9:#202121;--el-color-info-dark-2:#a6a9ad;--el-box-shadow:0px 12px 32px 4px #0000005c, 0px 8px 20px #000000b8;--el-box-shadow-light:0px 0px 12px #000000b8;--el-box-shadow-lighter:0px 0px 6px #000000b8;--el-box-shadow-dark:0px 16px 48px 16px #000000b8, 0px 12px 32px #000, 0px 8px 16px -8px #000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#e5eaf3;--el-text-color-regular:#cfd3dc;--el-text-color-secondary:#a3a6ad;--el-text-color-placeholder:#8d9095;--el-text-color-disabled:#6c6e72;--el-border-color-darker:#636466;--el-border-color-dark:#58585b;--el-border-color:#4c4d4f;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2b2b2c;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393a;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1d1d1d;--el-fill-color-extra-light:#191919;--el-fill-color-blank:#141414;--el-mask-color:#000c;--el-mask-color-extra-light:#0000004d}html.dark .el-button{--el-button-disabled-text-color:#ffffff80}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-card-bg-color)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}/* ===== 主题变量体系（6 套主题：default / warm / ocean / sunset / aurora / forest） =====
 *
 * 设计原则：
 *   1) 布局 100% 不变 —— 只换色/圆角/阴影
 *   2) Element Plus 主色由 JS 写入行内变量（theme.js apply()）
 *   3) 全局 CSS 变量（--cs-*）由 JS 同步 + 这里给 fallback
 *   4) 每个主题可额外写页面装饰覆盖（如 .page-card 顶边渐变、侧边栏子菜单背景等）
 */

/* ====== 通用 fallback（default · 企业蓝） ====== */
:root, html[data-theme='default'] {
  --cs-primary: #2985e6;
  --cs-primary-light: #a8cdf4;
  --cs-accent:  #f6b93b;
  --cs-success:  #67c23a;
  --cs-warning:  #e6a23c;
  --cs-danger:   #f56c6c;
  --cs-info:     #909399;

  --cs-bg:           #f2f4f8;
  --cs-bg-sider:     #1a2b44;
  --cs-bg-sider-sub: #132135;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #e4e8ef;
  --cs-border-strong:#d3dbe7;

  /* 圆角 / 阴影 —— 由 theme.js 写入行内变量，这里 fallback */
  --cs-radius: 10px;
  --cs-radius-sm: 8px;
  --cs-radius-lg: 14px;
  --cs-shadow-card: 0 1px 4px rgba(0,0,0,.06);
  --cs-shadow-soft: 0 4px 14px rgba(20,50,120,.08);
  --cs-shadow-glow: 0 4px 14px rgba(41,133,230,.25);
  --cs-gradient: linear-gradient(135deg, #2985e6, #1668c4);
  --cs-gradient-2: linear-gradient(135deg, #409eff, #2f54eb);

  --cs-header-height: 56px;

  /* 文本变量（浅色各主题共用，深色主题覆盖；供组件硬编码色迁移引用） */
  --cs-text-strong: #1d2129;
  --cs-text-2: #4e5969;

  --el-color-primary: #2985e6;
  --el-color-success: #67c23a;
  --el-color-warning: #e6a23c;
  --el-color-danger:  #f56c6c;
  --el-color-info:    #909399;
}

/* ====== ② warm · 紫橙暖（千图网风格） ====== */
html[data-theme='warm'] {
  --cs-primary: #9b59b6;
  --cs-primary-light: #e6d5ee;
  --cs-accent:  #f6b93b;
  --cs-success:  #1abc9c;
  --cs-warning:  #f6b93b;
  --cs-danger:   #e74c3c;
  --cs-info:     #a0a4ad;

  --cs-bg:           #faf6fb;
  --cs-bg-sider:     #4a2a6a;
  --cs-bg-sider-sub: #3a2056;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #ece3ef;
  --cs-border-strong:#d6c3dc;

  --cs-radius: 14px;
  --cs-radius-sm: 10px;
  --cs-radius-lg: 18px;
  --cs-shadow-card: 0 6px 18px rgba(155,89,182,.10);
  --cs-shadow-soft: 0 6px 18px rgba(155,89,182,.15);
  --cs-shadow-glow: 0 6px 20px rgba(155,89,182,.28);
  --cs-gradient: linear-gradient(135deg, #9b59b6, #f6b93b);
  --cs-gradient-2: linear-gradient(135deg, #9b59b6, #1abc9c);

  --el-color-primary: #9b59b6;
  --el-color-success: #1abc9c;
  --el-color-warning: #f6b93b;
  --el-color-danger:  #e74c3c;
  --el-color-info:    #a0a4ad;
}

/* ====== ③ ocean · 深海青绿 ====== */
html[data-theme='ocean'] {
  --cs-primary: #0d9488;
  --cs-primary-light: #afdfdb;
  --cs-accent:  #0ea5e9;
  --cs-success:  #22c55e;
  --cs-warning:  #f59e0b;
  --cs-danger:   #ef4444;
  --cs-info:     #6b7280;

  --cs-bg:           #f0f7f8;
  --cs-bg-sider:     #0f3a44;
  --cs-bg-sider-sub: #082329;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #d9e8ea;
  --cs-border-strong:#b5d0d4;

  --cs-radius: 12px;
  --cs-radius-sm: 9px;
  --cs-radius-lg: 16px;
  --cs-shadow-card: 0 2px 8px rgba(13,148,136,.08);
  --cs-shadow-soft: 0 6px 16px rgba(13,148,136,.12);
  --cs-shadow-glow: 0 6px 20px rgba(13,148,136,.25);
  --cs-gradient: linear-gradient(135deg, #0d9488, #3b82f6);
  --cs-gradient-2: linear-gradient(135deg, #0ea5e9, #0d9488);

  --el-color-primary: #0d9488;
  --el-color-success: #22c55e;
  --el-color-warning: #f59e0b;
  --el-color-danger:  #ef4444;
  --el-color-info:    #6b7280;
}

/* ====== ④ sunset · 日落橙红 ====== */
html[data-theme='sunset'] {
  --cs-primary: #ea580c;
  --cs-primary-light: #fdd4bc;
  --cs-accent:  #f59e0b;
  --cs-success:  #10b981;
  --cs-warning:  #f59e0b;
  --cs-danger:   #dc2626;
  --cs-info:     #78716c;

  --cs-bg:           #fef5f0;
  --cs-bg-sider:     #7c2d12;
  --cs-bg-sider-sub: #581c0c;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #f5e5da;
  --cs-border-strong:#e6c7b4;

  --cs-radius: 14px;
  --cs-radius-sm: 10px;
  --cs-radius-lg: 18px;
  --cs-shadow-card: 0 2px 10px rgba(234,88,12,.10);
  --cs-shadow-soft: 0 6px 18px rgba(234,88,12,.14);
  --cs-shadow-glow: 0 6px 22px rgba(234,88,12,.28);
  --cs-gradient: linear-gradient(135deg, #ea580c, #dc2626);
  --cs-gradient-2: linear-gradient(135deg, #ea580c, #f59e0b);

  --el-color-primary: #ea580c;
  --el-color-success: #10b981;
  --el-color-warning: #f59e0b;
  --el-color-danger:  #dc2626;
  --el-color-info:    #78716c;
}

/* ====== ⑤ aurora · 极光多彩 ====== */
html[data-theme='aurora'] {
  --cs-primary: #6366f1;
  --cs-primary-light: #ddd9fe;
  --cs-accent:  #ec4899;
  --cs-success:  #22d3ee;
  --cs-warning:  #f472b6;
  --cs-danger:   #fb7185;
  --cs-info:     #94a3b8;

  --cs-bg:           #f5f3ff;
  --cs-bg-sider:     #312e81;
  --cs-bg-sider-sub: #1e1b4b;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #e9e5f9;
  --cs-border-strong:#d3cbe8;

  --cs-radius: 16px;
  --cs-radius-sm: 12px;
  --cs-radius-lg: 20px;
  --cs-shadow-card: 0 4px 16px rgba(99,102,241,.12);
  --cs-shadow-soft: 0 8px 22px rgba(99,102,241,.16);
  --cs-shadow-glow: 0 8px 26px rgba(99,102,241,.30);
  --cs-gradient: linear-gradient(135deg, #6366f1, #ec4899);
  --cs-gradient-2: linear-gradient(135deg, #ec4899, #22d3ee);

  --el-color-primary: #6366f1;
  --el-color-success: #22d3ee;
  --el-color-warning: #f472b6;
  --el-color-danger:  #fb7185;
  --el-color-info:    #94a3b8;
}

/* ====== ⑥ forest · 森林墨绿 ====== */
html[data-theme='forest'] {
  --cs-primary: #059669;
  --cs-primary-light: #bbf7d0;
  --cs-accent:  #0d9488;
  --cs-success:  #16a34a;
  --cs-warning:  #d97706;
  --cs-danger:   #dc2626;
  --cs-info:     #64748b;

  --cs-bg:           #f0f5f3;
  --cs-bg-sider:     #064e3b;
  --cs-bg-sider-sub: #022c22;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #d8e6e0;
  --cs-border-strong:#b0cdc1;

  --cs-radius: 12px;
  --cs-radius-sm: 9px;
  --cs-radius-lg: 16px;
  --cs-shadow-card: 0 2px 8px rgba(5,150,105,.08);
  --cs-shadow-soft: 0 6px 16px rgba(5,150,105,.12);
  --cs-shadow-glow: 0 6px 20px rgba(5,150,105,.25);
  --cs-gradient: linear-gradient(135deg, #059669, #0d9488);
  --cs-gradient-2: linear-gradient(135deg, #059669, #16a34a);

  --el-color-primary: #059669;
  --el-color-success: #16a34a;
  --el-color-warning: #d97706;
  --el-color-danger:  #dc2626;
  --el-color-info:    #64748b;
}

/* ====== ⑦ dream · 梦幻紫粉（图1） ====== */
html[data-theme='dream'] {
  --cs-primary: #a855f7;
  --cs-primary-light: #e9d5ff;
  --cs-accent:  #ec4899;
  --cs-success:  #10b981;
  --cs-warning:  #f59e0b;
  --cs-danger:   #ef4444;
  --cs-info:     #94a3b8;

  --cs-bg:           linear-gradient(135deg, #ede9fe 0%, #fce7f3 50%, #dbeafe 100%);
  --cs-bg-sider:     #4c1d95;
  --cs-bg-sider-sub: #6d28d9;
  --cs-bg-header:    rgba(255,255,255,.72);
  --cs-border-soft:  #e9d5ff;
  --cs-border-strong:#d8b4fe;

  --cs-radius: 18px;
  --cs-radius-sm: 14px;
  --cs-radius-lg: 24px;
  --cs-shadow-card: 0 8px 24px rgba(168,85,247,.12);
  --cs-shadow-soft: 0 10px 30px rgba(168,85,247,.16);
  --cs-shadow-glow: 0 10px 32px rgba(168,85,247,.32);
  --cs-gradient: linear-gradient(135deg, #a855f7, #ec4899);
  --cs-gradient-2: linear-gradient(135deg, #8b5cf6, #3b82f6);

  --el-color-primary: #a855f7;
  --el-color-success: #10b981;
  --el-color-warning: #f59e0b;
  --el-color-danger:  #ef4444;
  --el-color-info:    #94a3b8;
}

/* ====== ⑧ bizblue · 商务蓝（图2） ====== */
html[data-theme='bizblue'] {
  --cs-primary: #2563eb;
  --cs-primary-light: #a4bdf8;
  --cs-accent:  #1e40af;
  --cs-success:  #22c55e;
  --cs-warning:  #eab308;
  --cs-danger:   #ef4444;
  --cs-info:     #64748b;

  --cs-bg:           #f5f7fa;
  --cs-bg-sider:     #1e3a8a;
  --cs-bg-sider-sub: #1e40af;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #e2e8f0;
  --cs-border-strong:#cbd5e1;

  --cs-radius: 10px;
  --cs-radius-sm: 8px;
  --cs-radius-lg: 14px;
  --cs-shadow-card: 0 1px 3px rgba(15,23,42,.06);
  --cs-shadow-soft: 0 4px 12px rgba(37,99,235,.10);
  --cs-shadow-glow: 0 4px 16px rgba(37,99,235,.22);
  --cs-gradient: linear-gradient(135deg, #2563eb, #1e40af);
  --cs-gradient-2: linear-gradient(135deg, #3b82f6, #2563eb);

  --el-color-primary: #2563eb;
  --el-color-success: #22c55e;
  --el-color-warning: #eab308;
  --el-color-danger:  #ef4444;
  --el-color-info:    #64748b;
}

/* ====== ⑨ jade3d · 青绿3D（图3） ====== */
html[data-theme='jade3d'] {
  --cs-primary: #14b8a6;
  --cs-primary-light: #99f6e4;
  --cs-accent:  #0891b2;
  --cs-success:  #22c55e;
  --cs-warning:  #f59e0b;
  --cs-danger:   #ef4444;
  --cs-info:     #64748b;

  --cs-bg:           linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  --cs-bg-sider:     #115e59;
  --cs-bg-sider-sub: #0d9488;
  --cs-bg-header:    rgba(255,255,255,.78);
  --cs-border-soft:  #99f6e4;
  --cs-border-strong:#5eead4;

  --cs-radius: 18px;
  --cs-radius-sm: 14px;
  --cs-radius-lg: 24px;
  --cs-shadow-card: 0 8px 24px rgba(20,184,166,.12);
  --cs-shadow-soft: 0 12px 32px rgba(20,184,166,.18);
  --cs-shadow-glow: 0 12px 34px rgba(20,184,166,.32);
  --cs-gradient: linear-gradient(135deg, #14b8a6, #0891b2);
  --cs-gradient-2: linear-gradient(135deg, #2dd4bf, #06b6d4);

  --el-color-primary: #14b8a6;
  --el-color-success: #22c55e;
  --el-color-warning: #f59e0b;
  --el-color-danger:  #ef4444;
  --el-color-info:    #64748b;
}

/* ====== ⑩ vibrant · 紫幻彩（图4） ====== */
html[data-theme='vibrant'] {
  --cs-primary: #7c3aed;
  --cs-primary-light: #c084fc;
  --cs-accent:  #ec4899;
  --cs-success:  #10b981;
  --cs-warning:  #f59e0b;
  --cs-danger:   #ef4444;
  --cs-info:     #94a3b8;

  --cs-bg:           #f5f3ff;
  --cs-bg-sider:     #4c1d95;
  --cs-bg-sider-sub: #6d28d9;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #ddd6fe;
  --cs-border-strong:#c4b5fd;

  --cs-radius: 16px;
  --cs-radius-sm: 12px;
  --cs-radius-lg: 20px;
  --cs-shadow-card: 0 6px 20px rgba(124,58,237,.14);
  --cs-shadow-soft: 0 10px 28px rgba(124,58,237,.18);
  --cs-shadow-glow: 0 10px 30px rgba(124,58,237,.34);
  --cs-gradient: linear-gradient(135deg, #7c3aed, #ec4899);
  --cs-gradient-2: linear-gradient(135deg, #6366f1, #8b5cf6);

  --el-color-primary: #7c3aed;
  --el-color-success: #10b981;
  --el-color-warning: #f59e0b;
  --el-color-danger:  #ef4444;
  --el-color-info:    #94a3b8;
}

/* ====== ⑪ minimal · 极简浅蓝（图5） ====== */
html[data-theme='minimal'] {
  --cs-primary: #4f46e5;
  --cs-primary-light: #c7d2fe;
  --cs-accent:  #6366f1;
  --cs-success:  #22c55e;
  --cs-warning:  #f59e0b;
  --cs-danger:   #ef4444;
  --cs-info:     #94a3b8;

  --cs-bg:           #f8fafc;
  --cs-bg-sider:     #312e81;
  --cs-bg-sider-sub: #3730a3;
  --cs-bg-header:    #ffffff;
  --cs-border-soft:  #e2e8f0;
  --cs-border-strong:#cbd5e1;

  --cs-radius: 12px;
  --cs-radius-sm: 10px;
  --cs-radius-lg: 16px;
  --cs-shadow-card: 0 1px 3px rgba(79,70,229,.05);
  --cs-shadow-soft: 0 4px 12px rgba(79,70,229,.08);
  --cs-shadow-glow: 0 4px 16px rgba(79,70,229,.20);
  --cs-gradient: linear-gradient(135deg, #4f46e5, #6366f1);
  --cs-gradient-2: linear-gradient(135deg, #6366f1, #8b5cf6);

  --el-color-primary: #4f46e5;
  --el-color-success: #22c55e;
  --el-color-warning: #f59e0b;
  --el-color-danger:  #ef4444;
  --el-color-info:    #94a3b8;
}

/* ====== ⑫ dark · 深色磨砂（全局暗色玻璃） ====== */
html[data-theme='dark'] {
  --cs-primary: #818cf8;
  --cs-primary-light: #312e5f;
  --cs-accent:  #fbbf24;
  --cs-success:  #34d399;
  --cs-warning:  #fbbf24;
  --cs-danger:   #f87171;
  --cs-info:     #94a3b8;

  --cs-bg:           #151d33;
  --cs-bg-sider:     #1a2340;
  --cs-bg-sider-sub: #141c36;
  --cs-bg-header:    rgba(23, 30, 54, .82);
  --cs-border-soft:  rgba(255, 255, 255, .08);
  --cs-border-strong:rgba(255, 255, 255, .16);

  --cs-text-strong: #f1f3ff;
  --cs-text-2:      #8f96b8;

  --cs-radius: 14px;
  --cs-radius-sm: 10px;
  --cs-radius-lg: 18px;
  --cs-shadow-card: 0 8px 32px rgba(0, 0, 0, .35);
  --cs-shadow-soft: 0 8px 28px rgba(0, 0, 0, .4);
  --cs-shadow-glow: 0 6px 20px rgba(99, 102, 241, .35);
  --cs-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --cs-gradient-2: linear-gradient(135deg, #818cf8, #a78bfa);

  /* Element Plus 暗色变量覆盖（靛蓝夜空调，替代官方纯灰 #141414 系） */
  --el-bg-color: #1b2340;
  --el-bg-color-overlay: #20294a;
  --el-bg-color-page: #151d33;
  --el-text-color-primary: #f1f3ff;
  --el-text-color-regular: #c9cdea;
  --el-text-color-secondary: #8f96b8;
  --el-text-color-placeholder: #5a6080;
  --el-text-color-disabled: #5a6080;
  --el-border-color: rgba(255, 255, 255, .18);
  --el-border-color-light: rgba(255, 255, 255, .13);
  --el-border-color-lighter: rgba(255, 255, 255, .1);
  --el-border-color-extra-light: rgba(255, 255, 255, .07);
  --el-border-color-dark: rgba(255, 255, 255, .24);
  --el-border-color-darker: rgba(255, 255, 255, .3);
  --el-fill-color: rgba(255, 255, 255, .1);
  --el-fill-color-light: rgba(255, 255, 255, .07);
  --el-fill-color-lighter: rgba(255, 255, 255, .05);
  --el-fill-color-extra-light: rgba(255, 255, 255, .04);
  --el-fill-color-dark: rgba(255, 255, 255, .12);
  --el-fill-color-darker: rgba(255, 255, 255, .14);
  --el-fill-color-blank: transparent;
  --el-disabled-bg-color: rgba(255, 255, 255, .05);
  --el-disabled-text-color: #5a6080;
  --el-disabled-border-color: rgba(255, 255, 255, .12);
  --el-mask-color: rgba(4, 7, 16, .72);
  --el-mask-color-extra-light: rgba(4, 7, 16, .32);
  --el-box-shadow: 0 12px 32px 4px rgba(0, 0, 0, .36), 0 0 12px rgba(0, 0, 0, .28);
  --el-box-shadow-light: 0 0 12px rgba(0, 0, 0, .3);
}

/* 深色：页面底加径向光晕（避免大面积死黑，呼应 BPM 夜空渐变） */
html[data-theme='dark'] body {
  color: var(--el-text-color-regular);
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(99, 102, 241, .13), transparent 55%),
    radial-gradient(900px 420px at -8% 8%, rgba(56, 189, 248, .06), transparent 50%),
    var(--cs-bg);
  background-attachment: fixed;
}
html[data-theme='dark'] ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); }

/* 深色：卡片磨砂玻璃化（半透明 + 模糊 + 顶部高光内描边） */
html[data-theme='dark'] .page-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .045));
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08);
}
html[data-theme='dark'] .field-card,
html[data-theme='dark'] .todo-card,
html[data-theme='dark'] .stat-mini-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .035));
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .06);
}
html[data-theme='dark'] .todo-row { border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme='dark'] .todo-icon { background: rgba(129, 140, 248, .16); }

/* 深色：右侧滑入抽屉/弹窗玻璃化 */
html[data-theme='dark'] .el-overlay-dialog .el-dialog {
  background: linear-gradient(180deg, rgba(32, 41, 70, .96), rgba(26, 33, 59, .97));
  backdrop-filter: blur(20px) saturate(150%);
  border-left: 1px solid rgba(255, 255, 255, .12);
  box-shadow: -18px 0 52px rgba(0, 0, 0, .5);
}
html[data-theme='dark'] .cs-drawer .el-drawer { background: #1a2340; }
html[data-theme='dark'] .cs-drawer .el-drawer__header { border-bottom-color: rgba(255, 255, 255, .1); color: #f1f3ff; }
html[data-theme='dark'] .cs-drawer .el-drawer__body { background: transparent; }
html[data-theme='dark'] .cs-drawer .el-drawer__footer { border-top-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }

/* 深色：操作手册（Markdown 抽屉） */
html[data-theme='dark'] .manual-md { color: #c9cdea; }
html[data-theme='dark'] .manual-md h1, html[data-theme='dark'] .manual-md h2,
html[data-theme='dark'] .manual-md h3, html[data-theme='dark'] .manual-md h4 { color: #f1f3ff; }
html[data-theme='dark'] .manual-md .md-h1 { color: #a5b4fc; }
html[data-theme='dark'] .manual-md h2 { border-left-color: #818cf8; }
html[data-theme='dark'] .manual-md b { color: #a5b4fc; }
html[data-theme='dark'] .manual-md code { background: rgba(129, 140, 248, .14); color: #c7d2fe; }
html[data-theme='dark'] .manual-md .md-table { background: rgba(255, 255, 255, .04); box-shadow: none; }
html[data-theme='dark'] .manual-md .md-table tr:nth-child(even) td { background: rgba(255, 255, 255, .04); }
html[data-theme='dark'] .manual-md .md-quote { background: rgba(52, 211, 153, .08); color: #a7b4cf; }
html[data-theme='dark'] .manual-md .md-hr { border-top-color: rgba(255, 255, 255, .14); }

/* 深色：表格 hover/表头微调（贴合玻璃底） */
html[data-theme='dark'] .el-table tr:hover > td.el-table__cell { background: rgba(255, 255, 255, .045) !important; }
html[data-theme='dark'] .el-table .el-table__cell { border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme='dark'] .el-table--border .el-table__cell { border-right-color: rgba(255, 255, 255, .08); }
html[data-theme='dark'] .el-table, html[data-theme='dark'] .el-table__expanded-cell { background: transparent; }
html[data-theme='dark'] .el-table__empty-block { background: transparent; }

/* 深色：白底彩字按钮/标签统一修正为亮玻璃底（脚本把 #fff 换成 var 后的可读性兜底） */
html[data-theme='dark'] .ex-primary-btn,
html[data-theme='dark'] .crh-ops .el-button--primary,
html[data-theme='dark'] .info-tag-btn { background: rgba(255, 255, 255, .92) !important; }
html[data-theme='dark'] .bb-btn,
html[data-theme='dark'] .view-toggle button.on,
html[data-theme='dark'] .ta-node.cur .ta-node-dot,
html[data-theme='dark'] .rp-banner-ico,
html[data-theme='dark'] .fc-ii-autofill,
html[data-theme='dark'] .fc-ad-btn,
html[data-theme='dark'] .fpd-mini-btn,
html[data-theme='dark'] .fpd-plate-cell.filled,
html[data-theme='dark'] .b-file,
html[data-theme='dark'] .b-loc { background: rgba(255, 255, 255, .92) !important; }

/* 深色：hs 政企回收子系统变量暗色化（hs.css 在 :root 定义，深色主题整体覆盖） */
html[data-theme='dark'] {
  --hs-primary: #5b8cff;
  --hs-primary-2: #3b82f6;
  --hs-primary-3: #6ea8ff;
  --hs-primary-soft: rgba(22, 93, 255, .22);
  --hs-text: #f1f3ff;
  --hs-text-2: #c9cdea;
  --hs-text-3: #8f96b8;
  --hs-bg: #151d33;
  --hs-border: rgba(255, 255, 255, .09);
  --hs-border-strong: rgba(255, 255, 255, .16);
  --hs-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --hs-shadow-hover: 0 14px 32px rgba(0, 0, 0, .45);
  --hs-shadow-banner: 0 14px 34px rgba(0, 0, 0, .5);
}

/* ====== 通用：页面过渡动画（切主题时平滑） ====== */
* { transition-property: background, color, border-color, box-shadow, fill, stroke; transition-duration: .25s; }

/* ===== 全局 ===== */
* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  background: var(--cs-bg);
  color: var(--el-text-color-primary);
  font-size: 14px;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c0c4cc; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* ===== 全局防泄密水印层（utils/watermark.js 挂载；墨迹颜色由 Canvas 按深/浅主题自适应绘制） ===== */
.cs-watermark { background-repeat: repeat; }
@media print { .cs-watermark { display: none !important; } }

/* ===== 卡片 ===== */
.page-card {
  background: var(--el-bg-color);
  border-radius: var(--cs-radius);
  padding: 16px;
  box-shadow: var(--cs-shadow-card);
  transition: border-radius .3s ease, box-shadow .3s ease, border-top .3s ease;
}
/* 非 default 主题：卡片顶边带渐变装饰（像参考图那样） */
html[data-theme='warm']  .page-card,
html[data-theme='ocean'] .page-card,
html[data-theme='sunset'].page-card,
html[data-theme='aurora'].page-card,
html[data-theme='forest'].page-card,
html[data-theme='dream'].page-card,
html[data-theme='jade3d'].page-card,
html[data-theme='vibrant'].page-card {
  border-top: 3px solid transparent;
  background-image: linear-gradient(#fff,#fff), var(--cs-gradient);
  background-clip: padding-box, border-box;
  background-origin: border-box;
  padding-top: 13px;
}
.page-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.page-toolbar .flex-grow { flex: 1; }

/* ===== 状态数字颜色 ===== */
.num-danger { color: var(--cs-danger); font-weight: 700; }
.num-warn  { color: var(--cs-warning); font-weight: 700; }
.num-primary { color: var(--cs-primary); font-weight: 700; }
.num-success { color: var(--cs-success); font-weight: 700; }
.num-muted { color: var(--cs-info); font-weight: 700; }

/* 工作台 */
.wb-bg { background: var(--cs-bg); padding: 14px; height: 100%; overflow-y: auto; }
.wb-col-right { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  background: var(--cs-gradient);
  color: #fff; border-radius: var(--cs-radius); padding: 18px 20px; position: relative;
  box-shadow: var(--cs-shadow-glow);
  transition: all .3s ease;
}
.info-card .edit-btn { position: absolute; top: 14px; right: 16px; color: #fff; }
.info-main { display: flex; gap: 16px; }
.info-avatar { width: 96px; height: 96px; border-radius: 8px; border: 2px solid rgba(255,255,255,.6); -o-object-fit: cover; object-fit: cover; background: rgba(255,255,255,.2); }
.info-name { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.info-line { margin-top: 8px; font-size: 15px; line-height: 1.9; }
.info-line b { font-weight: 700; }
.info-tag-btn { background: #fff; color: var(--cs-primary); border: none; margin-right: 10px; }
.field-card { background: #fff; border-radius: var(--cs-radius); padding: 16px 20px; margin-top: 14px; box-shadow: var(--cs-shadow-card); }
.field-card .el-button--warning { background: var(--cs-accent); border-color: var(--cs-accent); color: #fff; }
.todo-card { background: #fff; border-radius: var(--cs-radius); padding: 16px 20px; box-shadow: var(--cs-shadow-card); }
.todo-row { display: flex; align-items: center; padding: 13px 6px; border-bottom: 1px dashed var(--el-border-color-lighter); }
.todo-row:last-child { border-bottom: none; }
.todo-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--cs-primary-light); color: var(--cs-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 14px; flex-shrink: 0; }
.todo-name { width: 92px; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.todo-stats { flex: 1; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.todo-stat { font-size: 15px; white-space: nowrap; }
.todo-actions { display: flex; gap: 10px; margin-left: 16px; flex-shrink: 0; }
.notice-bar { display: flex; align-items: center; gap: 8px; color: var(--cs-danger); font-weight: 600; margin-bottom: 6px; overflow: hidden; }

/* ==================== 全站弹窗统一：从右侧滑入的抽屉效果 ==================== */
/* 所有系统后台 el-dialog 弹窗改为右对齐、通高、从右往左滑入（保留原宽度） */
.el-overlay-dialog {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}
.el-overlay-dialog .el-dialog {
  margin: 0 !important;
  height: 100%;
  max-height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border-radius: 14px 0 0 14px;
  box-shadow: -14px 0 44px rgba(31, 42, 68, .2);
}
.el-overlay-dialog .el-dialog .el-dialog__header { flex-shrink: 0; }
.el-overlay-dialog .el-dialog .el-dialog__body { flex: 1 1 auto; overflow-y: auto; }
.el-overlay-dialog .el-dialog .el-dialog__footer { flex-shrink: 0; }
@keyframes cs-dialog-slide-right {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.el-overlay.dialog-fade-enter-active .el-dialog {
  animation: cs-dialog-slide-right .28s cubic-bezier(.25, .8, .35, 1);
}
/* 确认类消息框（ElMessageBox）：右侧垂直居中 + 右滑入场 */
.el-overlay.is-message-box .el-overlay-message-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: initial;
}
.el-overlay.is-message-box .el-message-box { margin: 0 32px 0 0; }
@keyframes cs-msgbox-slide-right {
  from { transform: translateX(48px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.msgbox-fade-enter-active .el-message-box,
.el-overlay.is-message-box.fade-in-enter-active .el-message-box {
  animation: cs-msgbox-slide-right .25s ease-out;
}
.notice-bar .notice-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 大屏 */
.screen-bg {
  min-height: 100vh; background: #060d23; color: #cfe6ff;
  background-image: radial-gradient(ellipse at top, rgba(30,90,180,.35), transparent 60%);
  padding: 14px;
}
.screen-title { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: 6px;
  background: linear-gradient(180deg, #fff, #6fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 24px rgba(64,158,255,.5); margin: 4px 0 14px; }
.screen-panel { background: rgba(16,40,86,.45); border: 1px solid rgba(82,168,255,.35); border-radius: 6px; padding: 10px 14px; position: relative; }
.screen-panel::before, .screen-panel::after { content: ''; position: absolute; width: 12px; height: 12px; border: 2px solid #4fc3f7; }
.screen-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.screen-panel::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.screen-panel-title { font-size: 16px; font-weight: 700; color: #8fd0ff; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.screen-kpi { background: linear-gradient(180deg, rgba(34,96,190,.55), rgba(16,40,86,.35)); border: 1px solid rgba(82,168,255,.4); border-radius: 8px; padding: 14px; text-align: center; }
.screen-kpi .v { font-size: 34px; font-weight: 800; color: #ffd54f; font-family: "DIN", Arial; text-shadow: 0 0 16px rgba(255,213,79,.5); }
.screen-kpi .l { font-size: 14px; color: #9ecbff; margin-top: 4px; }

/* 客户详情 tab 内容 */
.detail-tab-bar { margin-bottom: 14px; }
.stat-mini-card { background: #fff; border-radius: var(--cs-radius); padding: 16px; text-align: center; border: 1px solid var(--el-border-color-lighter); }
.stat-mini-card .v { font-size: 26px; font-weight: 800; }
.stat-mini-card .l { color: #909399; margin-top: 6px; }

.el-card { border-radius: var(--cs-radius); }
.el-table .cell { line-height: 1.5; }

/* ===== 五大模块统一右滑抽屉（原弹窗全部抽屉化） ===== */
.cs-drawer { border-radius: 16px 0 0 16px !important; }
.cs-drawer .el-drawer__header { margin-bottom: 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--el-border-color-lighter); color: var(--cs-text-strong); font-weight: 700; }
.cs-drawer .el-drawer__body { background: #f5f7fa; padding: 16px 20px; overflow-y: auto; }
.cs-drawer .el-drawer__footer { padding: 12px 20px; border-top: 1px solid var(--el-border-color-lighter); background: var(--el-fill-color-light); }

/* ===== 模块操作手册抽屉 ===== */
.manual-md { line-height: 1.85; font-size: 13.5px; color: var(--cs-text-strong); }
.manual-md .md-h1, .manual-md h1 { font-size: 20px; font-weight: 800; margin: 6px 0 14px; color: #165dff; letter-spacing: .5px; }
.manual-md h2 { font-size: 16.5px; font-weight: 700; margin: 20px 0 10px; padding-left: 10px; border-left: 4px solid #165dff; color: var(--cs-text-strong); }
.manual-md h3 { font-size: 14.5px; font-weight: 700; margin: 16px 0 8px; color: var(--cs-text-strong); }
.manual-md h4 { font-size: 13.5px; font-weight: 700; margin: 12px 0 6px; }
.manual-md .md-p, .manual-md p { margin: 8px 0; }
.manual-md .md-ul, .manual-md ul, .manual-md .md-ol, .manual-md ol { margin: 8px 0; padding-left: 22px; }
.manual-md li { margin: 4px 0; }
.manual-md b { color: #165dff; font-weight: 700; }
.manual-md code { background: rgba(22,93,255,.08); color: #165dff; border-radius: 5px; padding: 1px 6px; font-size: 12.5px; font-family: Consolas, monospace; }
.manual-md .md-pre { background: #0e1c3a; color: #c9e2ff; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: 12.5px; line-height: 1.7; margin: 10px 0; font-family: Consolas, monospace; }
.manual-md .md-table { width: 100%; border-collapse: collapse; margin: 10px 0; background: var(--el-bg-color); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(22,93,255,.06); }
.manual-md .md-table th { background: linear-gradient(135deg, #165dff, #4f7bff); color: #fff; font-weight: 600; }
.manual-md .md-table th, .manual-md .md-table td { padding: 9px 12px; font-size: 12.8px; text-align: left; border: none; }
.manual-md .md-table tr:nth-child(even) td { background: #f7f9fc; }
.manual-md .md-quote { margin: 10px 0; padding: 10px 14px; background: rgba(94,234,212,.09); border-left: 4px solid #13c2a3; border-radius: 0 10px 10px 0; color: var(--cs-text-2); font-size: 12.8px; }
.manual-md .md-hr { border: none; border-top: 1px dashed #d4dbe6; margin: 16px 0; }
/* =====================================================================
 * 全站移动端响应式适配（mobile-first 覆盖式写法，只调布局/间距/字号）
 * 断点规范：
 *   手机 ≤640px   —— 单列布局、抽屉菜单、输入 16px、按钮 ≥44px
 *   平板 641~1024 —— 弹窗自适应收窄、表格紧凑、侧栏转汉堡抽屉（布局组件）
 *   PC   >1024px  —— 完整原布局，样式不动
 * 兼容：微信内置浏览器 / iOS Safari / 安卓自带浏览器
 * ===================================================================== */

/* ---------- 全局防溢出：页面级横向滚动一律截断（表格等内部自带横滚不受影响） ---------- */
#app { max-width: 100%; overflow-x: clip; }
.el-main { max-width: 100%; }
img, video { max-width: 100%; height: auto; }

/* =====================================================================
 * 平板（≤1024px）
 * ===================================================================== */
@media (max-width: 1024px) {
  .el-dialog:not(.is-fullscreen) { width: 86% !important; max-width: 86% !important; }
  .el-drawer--ltr, .el-drawer--rtl { width: 60% !important; max-width: 60%; }
  .el-table { font-size: 13px; }
}

/* =====================================================================
 * 手机（≤640px）单列布局
 * ===================================================================== */
@media (max-width: 640px) {
  /* ---------- 页面骨架：紧凑边距，杜绝双滚动 ---------- */
  .wb-bg { padding: 10px; }
  .page-card { padding: 12px 10px; border-radius: 10px; max-width: 100%; min-width: 0; }
  .el-main { padding: 0; }

  /* ---------- 列表筛选工具栏：控件两列排列、自动撑满（page-toolbar / ops-toolbar 通用） ---------- */
  .page-toolbar, .ops-toolbar { gap: 8px; margin-bottom: 10px; }
  .page-toolbar .flex-grow, .ops-toolbar .ops-flex-grow { display: none; }
  .page-toolbar > .el-input,
  .page-toolbar > .el-select,
  .ops-toolbar > .el-input,
  .ops-toolbar > .el-select {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    width: auto !important;
  }
  /* 单日期/月份选择器两列，日期范围选择器整行 */
  .page-toolbar > .el-date-editor,
  .ops-toolbar > .el-date-editor {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    width: auto !important;
  }
  .page-toolbar > .el-date-editor.el-range-editor,
  .ops-toolbar > .el-date-editor.el-range-editor {
    flex: 1 1 100%;
    width: auto !important;
  }
  .page-toolbar > .el-button,
  .ops-toolbar > .el-button { flex-shrink: 0; }

  /* ---------- 分页：紧凑、居中、隐藏每页条数 ---------- */
  .el-pagination { margin: 12px auto 0; flex-wrap: nowrap; justify-content: center; }
  .el-pagination .el-pagination__sizes,
  .el-pagination .el-pagination__jump { display: none; }
  .el-pagination button,
  .el-pager li { min-width: 30px; height: 30px; }
  .el-pagination__total { margin-right: 6px; font-size: 12px; }

  /* ---------- 表格：小字号 + 紧凑内边距 + 表头不换行；超宽由组件内部横向滚动 ---------- */
  .el-table { font-size: 12px; min-width: 0; }
  .el-table .cell { padding-left: 6px; padding-right: 6px; }
  .el-table th.el-table__cell .cell { font-weight: 600; white-space: nowrap; }
  .el-table .el-table__body-wrapper { -webkit-overflow-scrolling: touch; }
  /* 表格内操作按钮/标签不换行、不撑高 */
  .el-table .el-button + .el-button { margin-left: 6px; }
  .el-table .el-button.is-link { padding: 2px 4px; }

  /* ---------- 表单：输入 16px（防 iOS 聚焦缩放）、加大高度、触摸友好 ---------- */
  .el-form .el-input__inner,
  .el-form .el-textarea__inner,
  .el-form .el-select .el-input__inner,
  .el-form .el-input-number .el-input__inner { font-size: 16px; }
  .el-form .el-input__inner,
  .el-form .el-select__wrapper { min-height: 38px; }
  .el-form .el-textarea__inner { line-height: 1.55; }
  /* 表格内嵌输入控件豁免（避免撑爆行高，聚焦缩放已被 viewport maximum-scale=1 阻止） */
  .el-table .el-input__inner,
  .el-table .el-textarea__inner,
  .el-table .el-select__wrapper { font-size: 13px !important; min-height: 28px; }

  /* ---------- 按钮：触摸目标 ≥44px（行内 link/text 与表格内豁免） ---------- */
  .el-button:not(.is-link):not(.is-text):not(.el-button--small):not(.el-button--large) {
    min-height: 44px;
    padding-left: 18px; padding-right: 18px;
  }
  .el-dialog__footer .el-button,
  .el-drawer__footer .el-button,
  .sd-footer .el-button { min-height: 44px; }
  /* 表格/工具栏密集区保持紧凑 */
  .el-table .el-button:not(.is-link) { min-height: 30px; padding: 8px 12px; }
  .page-toolbar .el-button:not(.is-link):not(.el-button--small),
  .ops-toolbar .el-button:not(.is-link):not(.el-button--small) { min-height: 40px; }
  /* 主按钮之间留足间距防误触 */
  .el-dialog__footer .el-button + .el-button,
  .el-drawer__footer .el-button + .el-button { margin-left: 12px; }

  /* ---------- 弹窗表单标签上置（省横向空间，字段单列） ---------- */
  .el-dialog .el-form-item__label,
  .el-drawer .el-form-item__label {
    display: block; width: auto !important; text-align: left;
    line-height: 1.6; padding-bottom: 2px;
  }
  .el-dialog .el-form-item__content,
  .el-drawer .el-form-item__content { margin-left: 0 !important; }
  .el-dialog .el-col,
  .el-drawer .el-col { max-width: 100% !important; flex: 0 0 100% !important; }

  /* ---------- 右侧抽屉表单：近全屏宽 ---------- */
  .sd-panel.el-drawer,
  .el-drawer--ltr,
  .el-drawer--rtl {
    width: 92% !important;
    max-width: 92%;
  }
  .el-drawer--btt,
  .el-drawer--ttb {
    width: 100% !important;
    max-width: 100%;
  }
  .el-drawer--btt { border-radius: 16px 16px 0 0; overflow: hidden; }
  .sd-panel .el-drawer__header,
  .el-drawer--ltr .el-drawer__header,
  .el-drawer--rtl .el-drawer__header { padding: 14px 16px; margin-bottom: 0; }
  .sd-panel .el-drawer__body,
  .el-drawer--ltr .el-drawer__body,
  .el-drawer--rtl .el-drawer__body { padding: 14px 12px; }
  .sd-footer { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }

  /* ---------- 对话框：近全屏宽、避开手势条 ---------- */
  .el-dialog { width: 94% !important; max-width: 94% !important; margin-top: 5vh !important; }
  .el-dialog__header { padding: 14px 16px; }
  .el-dialog__body { padding: 12px 14px; max-height: 64vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .el-dialog__footer { padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); }
  .el-dialog .el-form-item__label { width: auto !important; }

  /* ---------- 确认框 / 消息弹层 ---------- */
  .el-message-box { width: 88% !important; max-width: 88% !important; }
  .el-message { min-width: auto !important; max-width: 86%; }
  .el-message-box__btns .el-button { min-height: 40px; }

  /* ---------- 描述列表（客户详情等）：标签横排、超宽可横滑 ---------- */
  .el-descriptions__body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .el-descriptions__label { white-space: nowrap; }
  .el-descriptions__table { min-width: 0; }

  /* ---------- 选项卡：标签横向滑动 ---------- */
  .el-tabs__nav-wrap::after { display: none; }
  .el-tabs__item { padding: 0 12px; font-size: 13px; }
  .el-tabs__nav-scroll { -webkit-overflow-scrolling: touch; }

  /* ---------- 通用卡片 / 统计网格兜底：窄屏不溢出 ---------- */
  .el-card__body { padding: 12px; }
  .el-card { max-width: 100%; min-width: 0; }
  .el-row { min-width: 0; }
  .el-col { min-width: 0; }

  /* ---------- 下拉/日期弹层不被屏幕裁切 ---------- */
  .el-select-dropdown, .el-picker-panel { max-width: 94vw; }
  .el-picker-panel .el-date-range-picker__content { float: none; width: auto; }
  .el-date-table td, .el-date-table th { padding: 1px 0; }
}

/* ---------- 更小屏（≤380px）：筛选控件改单列 ---------- */
@media (max-width: 380px) {
  .page-toolbar > .el-input,
  .page-toolbar > .el-select,
  .page-toolbar > .el-date-editor,
  .ops-toolbar > .el-input,
  .ops-toolbar > .el-select,
  .ops-toolbar > .el-date-editor { flex-basis: 100%; }
}

/* 软键盘适配（聚焦滚入可视区 / 键盘收起页面归位）见 utils/mobile-keyboard.js，main.js 全局引入 */
/* ============================================================
   劳务派遣系统 · 新增/编辑功能弹窗统一重构皮肤
   政务蓝 #165DFF / 渐变头部 / 两列栅格 / 右滑入场动画
   适用：7 个 labor2 页面的 36 个 el-dialog（class="lb-dlg"）
   ============================================================ */

/* ---- 弹窗容器：大圆角 + 深阴影 + 容器查询锚点 + 右滑入场 ---- */
.el-dialog.lb-dlg {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(11, 30, 75, .18), 0 4px 16px rgba(11, 30, 75, .08);
  container-type: inline-size;
  animation: lb-dlg-in .3s cubic-bezier(.22, .61, .36, 1);
}
@keyframes lb-dlg-in {
  from { opacity: 0; transform: translateX(36px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

/* ---- 头部：浅蓝渐变 + 右上装饰光斑 + 渐变标题竖条 ---- */
.lb-dlg .el-dialog__header {
  position: relative;
  margin: 0;
  padding: 18px 24px 16px;
  background: linear-gradient(135deg, #f2f6ff 0%, #e9f0ff 55%, #f0f5ff 100%);
  border-bottom: 1px solid rgba(22, 93, 255, .1);
}
.lb-dlg .el-dialog__header::after {
  content: '';
  position: absolute; right: -34px; top: -46px;
  width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 93, 255, .16), transparent 68%);
  pointer-events: none;
}
.lb-dlg .el-dialog__title {
  position: relative;
  padding-left: 13px;
  font-size: 15.5px; font-weight: 700; color: var(--cs-text-strong); letter-spacing: .5px;
}
.lb-dlg .el-dialog__title::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4.5px; height: 16px; border-radius: 3px;
  background: linear-gradient(180deg, #165dff, #4d8dff);
}
.lb-dlg .el-dialog__headerbtn {
  top: 13px; right: 16px;
  width: 30px; height: 30px; border-radius: 9px;
  transition: background .18s ease, transform .18s ease;
}
.lb-dlg .el-dialog__headerbtn:hover {
  background: rgba(22, 93, 255, .1);
  transform: rotate(90deg);
}
.lb-dlg .el-dialog__headerbtn .el-dialog__close { color: #4e5969; font-size: 15px; font-weight: 600; }

/* ---- 主体：微灰底与头部拉开层级 ---- */
.lb-dlg .el-dialog__body { padding: 20px 24px; background: #fbfcfe; }

/* ---- 底部操作条：白底分隔 + 圆角按钮 + 渐变主按钮 ---- */
.lb-dlg .el-dialog__footer {
  padding: 13px 24px 17px;
  background: var(--el-bg-color);
  border-top: 1px solid #f0f2f5;
}
.lb-dlg .el-dialog__footer .el-button {
  border-radius: 9px; padding: 9px 22px; font-weight: 500;
}
.lb-dlg .el-dialog__footer .el-button--primary {
  border: none;
  background: linear-gradient(135deg, #165dff, #4d8dff);
  box-shadow: 0 4px 12px rgba(22, 93, 255, .28);
}
.lb-dlg .el-dialog__footer .el-button--primary:hover { opacity: .9; }
.lb-dlg .el-dialog__footer .el-button + .el-button { margin-left: 10px; }

/* ---- 表单布局：宽弹窗两列栅格 ---- */
.lb-dlg .el-form-item { margin-bottom: 16px; }
.lb-dlg .el-dialog__body > .el-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -moz-column-gap: 18px;
       column-gap: 18px;
}
/* 分组容器 / 说明块占满整行（各页已有的 xx-form-grid 两列容器自身不受影响） */
.lb-dlg .el-form > div:not(.el-form-item) { grid-column: 1 / -1; }
/* 长字段跨全列 */
.lb-dlg .el-form > .el-form-item:has(.el-textarea),
.lb-dlg .el-form > .el-form-item:has(.el-upload),
.lb-dlg .el-form > .el-form-item:has(.el-date-editor--daterange),
.lb-dlg .el-form > .el-form-item:has(.el-transfer),
.lb-dlg .el-form > .el-form-item:has(.el-descriptions),
.lb-dlg .el-form > .el-form-item:has(.el-alert) { grid-column: 1 / -1; }

/* label 统一宽度与字号 */
.lb-dlg .el-form-item__label {
  width: 92px !important;
  justify-content: flex-end;
  font-size: 13px; color: var(--cs-text-2);
}

/* 窄弹窗（<680px）：单列 + 短 label */
@container (max-width: 679px) {
  .lb-dlg .el-dialog__body > .el-form { grid-template-columns: 1fr; }
  .lb-dlg .el-form-item__label { width: 84px !important; }
}

/* ---- 控件视觉：圆角 + 政务蓝聚焦光晕 ---- */
.lb-dlg .el-input__wrapper,
.lb-dlg .el-select__wrapper,
.lb-dlg .el-textarea__inner { border-radius: 8px; }
.lb-dlg .el-input__wrapper.is-focus,
.lb-dlg .el-select__wrapper.is-focused {
  box-shadow: 0 0 0 1px #165dff inset, 0 0 0 3px rgba(22, 93, 255, .12) !important;
}
.lb-dlg .el-textarea__inner:focus {
  box-shadow: 0 0 0 1px #165dff inset, 0 0 0 3px rgba(22, 93, 255, .12);
}

/* ---- 弹窗内提示条统一（lc-tip / lo-tip / lr-tip / tk-tip / ls-tip / wd-tip 等） ---- */
.lb-dlg [class$='-tip'] {
  margin: 2px 0 4px;
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--el-fill-color);
  border: 1px dashed rgba(22, 93, 255, .35);
  color: var(--cs-text-2); font-size: 12px; line-height: 1.7;
}
/* =====================================================================
   PM 项目管理系统 · 深色磨砂弹窗主题（政务蓝 #165DFF）
   覆盖全部 pm-dialog 弹窗：PmHome 立项 / PmContracts 合同回款×4 /
   PmProjectDetail 详情操作×8；下拉面板统一走 .pm-popper
   ===================================================================== */

/* ---- 遮罩：深蓝雾化（el-dialog 传 modal-class="pm-overlay"） ---- */
.el-overlay.pm-overlay {
  background: rgba(6, 13, 34, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---- 容器：深蓝玻璃 + 顶部政务蓝光带（class 直接挂在 .el-dialog 上） ---- */
.el-dialog.pm-dialog {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 37, 76, .97) 0%, rgba(13, 22, 48, .98) 100%) !important;
  border: 1px solid rgba(125, 165, 255, .22);
  box-shadow: 0 0 0 1px rgba(22, 93, 255, .1), 0 26px 72px rgba(2, 8, 25, .62), 0 8px 26px rgba(22, 93, 255, .14) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.el-dialog.pm-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(22, 93, 255, 0) 0%, #165dff 28%, #7fb0ff 50%, #165dff 72%, rgba(22, 93, 255, 0) 100%);
}

/* ---- 头部 ---- */
.pm-dialog .el-dialog__header {
  margin: 0;
  padding: 18px 24px 14px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(125, 165, 255, .14);
  background: linear-gradient(180deg, rgba(22, 93, 255, .14), rgba(22, 93, 255, 0));
}
.pm-dialog .el-dialog__title {
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 22px;
}
.pm-dialog .el-dialog__title::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 2px;
  flex: none;
  background: linear-gradient(180deg, #6ea3ff, #165dff);
  box-shadow: 0 0 9px rgba(22, 93, 255, .9);
}
.pm-dialog .el-dialog__headerbtn {
  top: 13px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  transition: all .2s;
  z-index: 3;
}
.pm-dialog .el-dialog__headerbtn .el-dialog__close {
  color: rgba(226, 236, 255, .72);
  font-size: 16px;
}
.pm-dialog .el-dialog__headerbtn:hover {
  background: rgba(248, 113, 113, .14);
}
.pm-dialog .el-dialog__headerbtn:hover .el-dialog__close {
  color: #f87171;
}

/* ---- 内容 ---- */
.pm-dialog .el-dialog__body {
  padding: 22px 26px 6px;
  color: rgba(233, 241, 255, .88);
}

/* ---- 表单 ---- */
.pm-dialog .el-form-item { margin-bottom: 20px; }
.pm-dialog .el-form-item__label { color: rgba(209, 225, 255, .78); font-size: 13px; }
.pm-dialog .el-input__wrapper,
.pm-dialog .el-textarea__inner,
.pm-dialog .el-select__wrapper {
  background: rgba(255, 255, 255, .06) !important;
  box-shadow: 0 0 0 1px rgba(150, 180, 235, .22) inset !important;
  border-radius: 9px;
  transition: box-shadow .25s, background .25s;
}
.pm-dialog .el-input__wrapper:hover,
.pm-dialog .el-select__wrapper:hover {
  box-shadow: 0 0 0 1px rgba(150, 180, 235, .45) inset !important;
}
.pm-dialog .el-input__wrapper.is-focus,
.pm-dialog .el-select__wrapper.is-focused,
.pm-dialog .el-textarea__inner:focus {
  background: rgba(22, 93, 255, .08) !important;
  box-shadow: 0 0 0 1px #165dff inset, 0 0 0 3px rgba(22, 93, 255, .18) !important;
}
.pm-dialog .el-input__inner { color: #eef4ff; }
.pm-dialog .el-input__inner::-moz-placeholder, .pm-dialog .el-textarea__inner::-moz-placeholder { color: rgba(190, 208, 245, .35); }
.pm-dialog .el-input__inner::placeholder,
.pm-dialog .el-textarea__inner::placeholder,
.pm-dialog .el-select__placeholder { color: rgba(190, 208, 245, .35); }
.pm-dialog .el-textarea__inner { color: #eef4ff; padding: 8px 12px; }
/* 禁用态（自动生成编号等） */
.pm-dialog .el-input.is-disabled .el-input__wrapper {
  background: rgba(255, 255, 255, .025) !important;
  box-shadow: 0 0 0 1px rgba(150, 180, 235, .12) inset !important;
}
.pm-dialog .el-input.is-disabled .el-input__inner {
  color: rgba(190, 208, 245, .42);
  -webkit-text-fill-color: rgba(190, 208, 245, .42);
}
/* input-number 步进按钮 */
.pm-dialog .el-input-number__decrease,
.pm-dialog .el-input-number__increase {
  background: transparent;
  color: rgba(226, 236, 255, .6);
  border-color: rgba(150, 180, 235, .2);
}
.pm-dialog .el-input-number__decrease:hover,
.pm-dialog .el-input-number__increase:hover { color: #5d95ff; }
/* 前后缀图标（日期图标 / 下拉箭头） */
.pm-dialog .el-input__prefix,
.pm-dialog .el-input__suffix,
.pm-dialog .el-select__caret { color: rgba(226, 236, 255, .55); }
/* 日期范围 */
.pm-dialog .el-range-input { background: transparent; color: #eef4ff; }
.pm-dialog .el-range-input::-moz-placeholder { color: rgba(190, 208, 245, .35); }
.pm-dialog .el-range-input::placeholder { color: rgba(190, 208, 245, .35); }
.pm-dialog .el-range-separator { color: rgba(226, 236, 255, .55); }
/* select 多选 tag（关联项目） */
.pm-dialog .el-select__tags .el-tag {
  background: rgba(22, 93, 255, .22);
  border-color: rgba(22, 93, 255, .45);
  color: #cfe0ff;
}
.pm-dialog .el-select__tags .el-tag .el-tag__close { color: #cfe0ff; background: transparent; }
.pm-dialog .el-select__tags .el-tag .el-tag__close:hover { color: #fff; background: rgba(248, 113, 113, .4); }

/* ---- 底部 ---- */
.pm-dialog .el-dialog__footer {
  padding: 14px 24px 20px;
  border-top: 1px solid rgba(125, 165, 255, .12);
  background: linear-gradient(0deg, rgba(2, 8, 25, .18), transparent);
}
.pm-dialog .el-dialog__footer .el-button {
  height: 36px;
  padding: 0 22px;
  border-radius: 9px;
  font-weight: 600;
  letter-spacing: .5px;
  font-size: 13px;
  transition: all .22s;
}
.pm-dialog .el-dialog__footer .el-button + .el-button { margin-left: 12px; }
.pm-dialog .el-dialog__footer .el-button:not(.el-button--primary) {
  background: transparent;
  border: 1px solid rgba(150, 180, 235, .34);
  color: rgba(226, 236, 255, .85);
}
.pm-dialog .el-dialog__footer .el-button:not(.el-button--primary):hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(150, 180, 235, .65);
  color: #fff;
}
.pm-dialog .el-dialog__footer .el-button--primary {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #3f86ff 0%, #165dff 55%, #0e46d6 100%);
  box-shadow: 0 6px 18px rgba(22, 93, 255, .42);
}
.pm-dialog .el-dialog__footer .el-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(22, 93, 255, .55);
}
.pm-dialog .el-dialog__footer .el-button--primary:active { transform: translateY(0); }

/* ---- 弹窗内表格（回款管理） ---- */
.pm-dialog .el-table {
  background: transparent;
  color: rgba(233, 241, 255, .85);
  --el-table-border-color: rgba(125, 165, 255, .12);
  --el-table-header-bg-color: transparent;
  --el-table-tr-bg-color: transparent;
  --el-table-row-hover-bg-color: rgba(22, 93, 255, .08);
}
.pm-dialog .el-table th.el-table__cell {
  background: rgba(22, 93, 255, .1) !important;
  color: rgba(209, 225, 255, .8);
}
.pm-dialog .el-table td.el-table__cell {
  background: transparent;
  border-bottom: 1px solid rgba(125, 165, 255, .1);
}
.pm-dialog .el-table__empty-block { background: transparent; }
.pm-dialog .el-table .el-table__empty-text { color: rgba(190, 208, 245, .4); }

/* =====================================================================
   pm-popper：pm 弹窗内 select / date-picker 下拉面板（挂 body，全局类）
   ===================================================================== */
.pm-popper.el-popper {
  background: rgba(18, 29, 62, .98) !important;
  border: 1px solid rgba(125, 165, 255, .32) !important;
  box-shadow: 0 18px 46px rgba(2, 8, 25, .6) !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.pm-popper .el-popper__arrow::before {
  background: rgba(18, 29, 62, .98) !important;
  border-color: rgba(125, 165, 255, .32) !important;
}
/* select 选项 */
.pm-popper .el-select-dropdown__item { color: rgba(226, 236, 255, .82); }
.pm-popper .el-select-dropdown__item.is-hovering { background: rgba(22, 93, 255, .28); }
.pm-popper .el-select-dropdown__item.is-selected { color: #5d95ff; font-weight: 700; }
.pm-popper .el-select-dropdown__item.is-disabled { color: rgba(190, 208, 245, .25); }
/* 日期面板 */
.pm-popper .el-date-picker,
.pm-popper .el-date-range-picker { background: transparent; }
.pm-popper .el-picker-panel__icon-btn { color: rgba(226, 236, 255, .6); }
.pm-popper .el-picker-panel__icon-btn:hover { color: #5d95ff; }
.pm-popper .el-date-picker__header-label,
.pm-popper .el-date-range-picker__header-label { color: rgba(233, 241, 255, .9); }
.pm-popper .el-date-picker__header-label:hover,
.pm-popper .el-date-range-picker__header-label:hover { color: #5d95ff; }
.pm-popper .el-date-table th {
  color: rgba(190, 208, 245, .55);
  border-bottom: 1px solid rgba(125, 165, 255, .16);
}
.pm-popper .el-date-table td .el-date-table-cell__text { color: rgba(226, 236, 255, .85); }
.pm-popper .el-date-table td.next-month .el-date-table-cell__text,
.pm-popper .el-date-table td.prev-month .el-date-table-cell__text { color: rgba(190, 208, 245, .3); }
.pm-popper .el-date-table td.today .el-date-table-cell__text { color: #5d95ff; font-weight: 700; }
.pm-popper .el-date-table td.current:not(.disabled) .el-date-table-cell__text,
.pm-popper .el-date-table td.selected:not(.disabled) .el-date-table-cell__text {
  background: #165dff;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(22, 93, 255, .5);
}
.pm-popper .el-date-table td.in-range .el-date-table-cell {
  background: rgba(22, 93, 255, .18);
  border-radius: 6px;
}
.pm-popper .el-date-table td.start-date .el-date-table-cell__text,
.pm-popper .el-date-table td.end-date .el-date-table-cell__text {
  background: #165dff;
  color: #fff;
  border-radius: 8px;
}
.pm-popper .el-date-table td.disabled .el-date-table-cell { background: transparent; }
.pm-popper .el-date-table td.disabled .el-date-table-cell__text { color: rgba(190, 208, 245, .2); }
/* 年/月选择面板 */
.pm-popper .el-month-table td .cell,
.pm-popper .el-year-table td .cell { color: rgba(226, 236, 255, .8); }
.pm-popper .el-month-table td.current:not(.disabled) .cell,
.pm-popper .el-year-table td.current:not(.disabled) .cell { color: #5d95ff; font-weight: 700; }
/* 面板底部按钮 */
.pm-popper .el-picker-panel__footer {
  background: transparent;
  border-top: 1px solid rgba(125, 165, 255, .14);
}
.pm-popper .el-picker-panel__footer .el-button { color: #5d95ff; background: transparent; }
.pm-popper .el-picker-panel__footer .el-button:hover { color: #7fb0ff; }
.pm-popper .el-picker-panel__footer .el-button.is-text { color: rgba(226, 236, 255, .7); }
/* ===== 政务风文章内容组件（后台富文本编辑器与 u 端文章详情 v-html 共用） ===== */

/* 顶部通知横幅（橙色渐变 + 滚动文案） */
.gov-notice-bar {
  display: flex; align-items: center; gap: 9px;
  background: linear-gradient(90deg, #ff9a2e, #ff7d00);
  color: #fff; border-radius: 12px; padding: 10px 14px;
  font-size: 13px; font-weight: 600; margin: 0 0 14px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(255, 125, 0, .18);
}
.gov-notice-scroll { flex: 1; overflow: hidden; white-space: nowrap; min-width: 0; }
/* 兜底：内容被编辑器剥掉 span 时（无动画元素）至少显示省略号，不再硬截断 */
.gov-notice-scroll:not(:has(span)) { text-overflow: ellipsis; }
.gov-notice-scroll span { display: inline-block; padding-left: 100%; animation: gov-marquee 20s linear infinite; }
@keyframes gov-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 办事指南卡（指南针图标 + 标题/副标题 + 立即办理按钮 + 浅蓝几何背景） */
.gov-guide-card {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding: 17px 18px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #eaf3ff 0%, #f6faff 55%, #e3f0ff 100%);
  border: 1px solid #d4e5ff;
}
.gov-guide-card::before {
  content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(22, 93, 255, .08);
}
.gov-guide-card::after {
  content: ''; position: absolute; right: 40px; bottom: -46px; width: 92px; height: 92px;
  border-radius: 50%; background: rgba(22, 93, 255, .06);
}
.gov-guide-main { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; min-width: 0; }
.gov-guide-ico {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, #165dff, #4080ff);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 6px 16px rgba(22, 93, 255, .3);
}
.gov-guide-title { font-size: 17px; font-weight: 800; color: #1d2129; line-height: 1.3; }
.gov-guide-sub { font-size: 12px; color: #86909c; margin-top: 3px; }
.gov-guide-btn {
  position: relative; z-index: 1; flex-shrink: 0;
  background: linear-gradient(135deg, #165dff, #4080ff); color: #fff;
  font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 5px 14px rgba(22, 93, 255, .28);
}

/* 我要办理·双功能卡（蓝/绿渐变 + 前往按钮） */
.gov-do-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
@media (max-width: 480px) { .gov-do-cards { grid-template-columns: 1fr; } }
.gov-do-card {
  border-radius: 16px; padding: 16px 15px; display: flex; flex-direction: column; gap: 11px;
  color: #fff; position: relative; overflow: hidden;
}
.gov-do-blue { background: linear-gradient(135deg, #165dff, #4d8bff); box-shadow: 0 8px 20px rgba(22, 93, 255, .22); }
.gov-do-green { background: linear-gradient(135deg, #0fb87e, #35d09b); box-shadow: 0 8px 20px rgba(15, 184, 126, .22); }
.gov-do-card::before {
  content: ''; position: absolute; right: -22px; top: -22px; width: 84px; height: 84px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.gov-do-txt { position: relative; z-index: 1; }
.gov-do-txt b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: .5px; }
.gov-do-txt span { display: block; font-size: 11.5px; opacity: .88; margin-top: 4px; }
.gov-do-go {
  position: relative; z-index: 1; align-self: flex-start;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .5);
  color: #fff; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px; text-decoration: none;
}

/* 快捷入口宫格（彩色圆角图标容器：手机 3 列 / 宽屏 6 列） */
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
@media (min-width: 768px) { .gov-grid { grid-template-columns: repeat(6, 1fr); } }
.gov-grid-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none;
  padding: 12px 4px; border-radius: 14px; background: rgba(255, 255, 255, .82); border: 1px solid #edf1f7;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gov-grid-item:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 70, 140, .1); }
.gov-gi-ico { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.gov-gi-name { font-size: 12px; color: #1d2129; font-weight: 600; }

/* ===== 红头文件公告 ===== */
.gov-redhead { margin: 0 0 14px; padding: 18px 16px 16px; background: #fff; border: 1px solid #edf1f7; border-radius: 14px; }
.gov-rh-org { text-align: center; font-size: 19px; font-weight: 800; color: #f53f3f; letter-spacing: 2px; }
.gov-rh-doc { text-align: center; font-size: 12.5px; color: #86909c; margin-top: 7px; }
.gov-rh-line { height: 3px; background: #f53f3f; border-radius: 2px; margin: 12px 0 4px; }
.gov-rh-title { text-align: center; font-size: 16.5px; font-weight: 800; color: #1d2129; margin: 14px 0 10px; }
.gov-redhead p { font-size: 13.5px; line-height: 1.9; color: #33415c; margin: 0 0 10px; }

/* ===== 征收决定书卡 ===== */
.gov-decision { margin: 0 0 14px; border-radius: 14px; overflow: hidden; border: 1px solid #ffdcd6; background: #fff; }
.gov-dc-badge {
  display: inline-block; background: linear-gradient(135deg, #f53f3f, #ff7d59);
  color: #fff; font-size: 12px; font-weight: 700; padding: 5px 13px;
  border-radius: 0 0 10px 0; letter-spacing: 1px;
}
.gov-dc-title { font-size: 15.5px; font-weight: 800; color: #1d2129; padding: 13px 16px 4px; }
.gov-dc-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 16px; font-size: 13px; }
.gov-dc-row + .gov-dc-row { border-top: 1px dashed #f0e3e1; }
.gov-dc-row span { color: #86909c; flex-shrink: 0; }
.gov-dc-row b { color: #1d2129; font-weight: 600; text-align: right; }

/* ===== 暂停服务通知 ===== */
.gov-suspend {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px;
  padding: 14px 15px; border-radius: 14px;
  background: linear-gradient(135deg, #f4f6fa, #eef1f8); border: 1px solid #dfe5ee;
}
.gov-sp-ico { font-size: 22px; line-height: 1.2; flex-shrink: 0; }
.gov-suspend b { display: block; font-size: 14.5px; font-weight: 800; color: #1d2129; margin-bottom: 4px; }
.gov-suspend span { display: block; font-size: 12.5px; line-height: 1.7; color: #4e5969; }

/* ===== 节假日安排 ===== */
.gov-holiday { margin: 0 0 14px; border-radius: 16px; overflow: hidden; border: 1px solid #d4e5ff; background: linear-gradient(180deg, #eaf3ff, #f8fbff); }
.gov-hd-head { font-size: 15px; font-weight: 800; color: #165dff; padding: 14px 16px 8px; }
.gov-hd-body { font-size: 13px; line-height: 1.85; color: #33415c; padding: 0 16px 12px; }
.gov-hd-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 14px; }
.gov-hd-tags span { font-size: 11.5px; font-weight: 600; color: #165dff; background: rgba(22, 93, 255, .1); padding: 4px 11px; border-radius: 999px; }

/* ===== 政策发布头卡 ===== */
.gov-policy-head {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  padding: 15px 16px; border-radius: 16px; background: linear-gradient(135deg, #165dff, #4080ff);
  box-shadow: 0 8px 22px rgba(22, 93, 255, .28); color: #fff;
}
.gov-ph-tag { flex-shrink: 0; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .5); padding: 4px 10px; border-radius: 999px; }
.gov-ph-title { font-size: 15.5px; font-weight: 800; line-height: 1.45; }
.gov-ph-meta { font-size: 11.5px; opacity: .88; margin-top: 4px; }

/* ===== 四步时间轴 ===== */
.gov-steps { margin: 0 0 14px; display: flex; flex-direction: column; gap: 0; }
.gov-step { display: flex; gap: 13px; position: relative; padding-bottom: 18px; }
.gov-step:last-child { padding-bottom: 0; }
.gov-step:not(:last-child)::before {
  content: ''; position: absolute; left: 14px; top: 32px; bottom: 2px;
  width: 2px; background: linear-gradient(180deg, #b8d2ff, #e0ebff); border-radius: 1px;
}
.gov-sp-num {
  width: 29px; height: 29px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  background: linear-gradient(135deg, #165dff, #4080ff); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 800; box-shadow: 0 4px 10px rgba(22, 93, 255, .26);
}
.gov-step b { display: block; font-size: 14.5px; font-weight: 700; color: #1d2129; }
.gov-step span { display: block; font-size: 12px; color: #86909c; margin-top: 3px; line-height: 1.6; }

/* ===== 申报材料清单 ===== */
.gov-materials { margin: 0 0 14px; border-radius: 16px; background: #fff; border: 1px solid #edf1f7; overflow: hidden; }
.gov-mt-title { font-size: 14.5px; font-weight: 800; color: #1d2129; padding: 14px 16px 9px; }
.gov-mt-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #33415c; padding: 9px 16px; }
.gov-mt-item + .gov-mt-item { border-top: 1px dashed #f0f3f8; }
.gov-mt-ck { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; background: #e8f7f1; color: #00b42a; font-weight: 700; }
.gov-mt-item em { margin-left: auto; font-style: normal; font-size: 11px; color: #86909c; background: #f4f6fa; padding: 2px 9px; border-radius: 999px; flex-shrink: 0; }

/* ===== 三段流程卡 ===== */
.gov-flow { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; }
.gov-fl-node {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #d4e5ff; border-radius: 14px;
  padding: 13px 6px; font-size: 12.5px; font-weight: 700; color: #1d2129;
}
.gov-fl-node span { font-size: 21px; }
.gov-fl-arrow { color: #a8c6ff; font-size: 15px; font-weight: 700; flex-shrink: 0; }
@media (max-width: 480px) { .gov-flow { flex-direction: column; } .gov-fl-arrow { transform: rotate(90deg); } }

/* ===== 预约办理卡 ===== */
.gov-appoint {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  padding: 15px 16px; border-radius: 16px;
  background: linear-gradient(135deg, #f4f0ff, #faf7ff); border: 1px solid #ddd0f7;
}
.gov-ap-ico { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; background: linear-gradient(135deg, #7b5cff, #9e7bff); display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: 0 5px 14px rgba(123, 92, 255, .28); }
.gov-ap-main { flex: 1; min-width: 0; }
.gov-ap-main b { display: block; font-size: 15px; font-weight: 800; color: #1d2129; }
.gov-ap-main span { display: block; font-size: 12px; color: #86909c; margin-top: 3px; }
.gov-ap-btn { flex-shrink: 0; background: linear-gradient(135deg, #7b5cff, #9e7bff); color: #fff; font-size: 12.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 5px 12px rgba(123, 92, 255, .26); }

/* ===== 常见问答 ===== */
.gov-faq { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.gov-faq-item { border-radius: 14px; overflow: hidden; border: 1px solid #edf1f7; background: #fff; }
.gov-fq-q { display: flex; gap: 8px; font-size: 13.5px; font-weight: 700; color: #1d2129; padding: 12px 15px; background: #f7f9fc; line-height: 1.6; }
.gov-fq-a { font-size: 12.5px; color: #4e5969; padding: 11px 15px; line-height: 1.75; }

/* ===== 单功能大卡 ===== */
.gov-bigcard {
  display: flex; align-items: center; gap: 13px; margin: 0 0 14px;
  padding: 17px 16px; border-radius: 16px;
  background: linear-gradient(135deg, #f0f7ff, #fafcff); border: 1px solid #d4e5ff;
}
.gov-bc-ico { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; background: #fff; border: 1px solid #dbe7fa; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.gov-bc-body { flex: 1; min-width: 0; }
.gov-bc-body b { display: block; font-size: 15.5px; font-weight: 800; color: #1d2129; }
.gov-bc-body span { display: block; font-size: 12px; color: #86909c; margin-top: 4px; line-height: 1.55; }
.gov-bc-btn { flex-shrink: 0; background: linear-gradient(135deg, #165dff, #4080ff); color: #fff; font-size: 12.5px; font-weight: 600; padding: 9px 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 5px 13px rgba(22, 93, 255, .26); }

/* ===== 三列服务卡 ===== */
.gov-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0 0 14px; }
@media (max-width: 480px) { .gov-three { grid-template-columns: 1fr; } }
.gov-tc-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; background: #fff; border: 1px solid #edf1f7; border-radius: 15px; padding: 15px 8px; text-decoration: none; }
.gov-tc-item span { font-size: 23px; }
.gov-tc-item b { font-size: 13.5px; font-weight: 800; color: #1d2129; }
.gov-tc-item i { font-style: normal; font-size: 11.5px; color: #165dff; background: rgba(22, 93, 255, .08); padding: 3px 9px; border-radius: 999px; }

/* ===== 服务价目卡 ===== */
.gov-price { margin: 0 0 14px; border-radius: 16px; overflow: hidden; border: 1px solid #ffe3ba; background: #fff; }
.gov-pr-head { font-size: 14.5px; font-weight: 800; color: #ad5c00; padding: 13px 16px; background: linear-gradient(135deg, #fff7e8, #fffaf2); }
.gov-pr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; font-size: 13.5px; color: #1d2129; font-weight: 600; }
.gov-pr-row + .gov-pr-row { border-top: 1px dashed #f5e8d4; }
.gov-pr-cost { display: flex; align-items: baseline; gap: 8px; }
.gov-pr-cost del { font-size: 12px; color: #c9cdd4; }
.gov-pr-cost b { font-size: 16px; font-weight: 800; color: #ff7d00; }

/* ===== 限时活动卡 ===== */
.gov-activity {
  position: relative; margin: 0 0 14px; padding: 17px 16px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #ff5a5a, #ff8a5c); color: #fff;
  box-shadow: 0 8px 22px rgba(255, 90, 90, .3);
}
.gov-act-tag { position: absolute; right: -28px; top: 12px; background: rgba(255, 255, 255, .25); font-size: 11px; font-weight: 700; padding: 4px 32px; transform: rotate(35deg); letter-spacing: 1px; }
.gov-act-title { font-size: 16.5px; font-weight: 800; letter-spacing: .5px; }
.gov-act-sub { font-size: 12px; opacity: .9; margin-top: 5px; }
.gov-act-btn { display: inline-block; margin-top: 12px; background: #fff; color: #ff5a5a; font-size: 13px; font-weight: 700; padding: 8px 17px; border-radius: 999px; text-decoration: none; }

/* ===== 会员专享卡 ===== */
.gov-vip {
  display: flex; align-items: center; gap: 13px; margin: 0 0 14px;
  padding: 16px; border-radius: 16px;
  background: linear-gradient(135deg, #2b2f45, #454a6b); color: #fff;
  box-shadow: 0 8px 22px rgba(43, 47, 69, .32);
}
.gov-vip-badge {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, #f7c26b, #e8a93d); color: #5c3d00;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; letter-spacing: .5px;
}
.gov-vip-main { flex: 1; min-width: 0; }
.gov-vip-main b { display: block; font-size: 15px; font-weight: 800; }
.gov-vip-main span { display: block; font-size: 11.5px; opacity: .78; margin-top: 4px; }
.gov-vip-btn { flex-shrink: 0; background: linear-gradient(135deg, #f7c26b, #e8a93d); color: #5c3d00; font-size: 12.5px; font-weight: 700; padding: 8px 15px; border-radius: 999px; text-decoration: none; }

/* ===== 通用数据表格 ===== */
.gov-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #edf1f7; font-size: 13px; }
.gov-table th { background: linear-gradient(135deg, #eaf3ff, #f4f9ff); color: #165dff; font-weight: 700; padding: 10px 12px; text-align: left; font-size: 12.5px; }
.gov-table td { padding: 10px 12px; color: #33415c; border-top: 1px solid #f0f3f8; line-height: 1.6; }
.gov-td-lb { width: 38%; color: #86909c !important; background: #fafbfd; font-weight: 600; }
.gov-cp-new { background: #e8f7f1 !important; color: #00b42a !important; font-weight: 700; }
.gov-chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.gov-chip-ok { background: #e8f7f1; color: #00b42a; }
.gov-chip-wait { background: #fff3e0; color: #ff7d00; }

/* ===== 办税日历 ===== */
.gov-cal { margin: 0 0 14px; border-radius: 16px; border: 1px solid #d4e5ff; background: #fff; overflow: hidden; }
.gov-cal-head { font-size: 14.5px; font-weight: 800; color: #165dff; padding: 13px 16px; background: linear-gradient(135deg, #eaf3ff, #f6faff); }
.gov-cal-body { display: flex; flex-direction: column; }
.gov-cal-item { display: flex; align-items: center; gap: 13px; padding: 11px 16px; }
.gov-cal-item + .gov-cal-item { border-top: 1px dashed #eef3fb; }
.gov-ci-date { flex-shrink: 0; width: 52px; text-align: center; font-size: 13.5px; font-weight: 800; color: #f53f3f; background: #ffece8; border-radius: 10px; padding: 7px 0; }
.gov-cal-item b { display: block; font-size: 13.5px; font-weight: 700; color: #1d2129; }
.gov-cal-item i { display: block; font-style: normal; font-size: 11.5px; color: #86909c; margin-top: 2px; }

/* ===== 提示强调条（蓝/红/绿/橙） ===== */
.gov-alert {
  display: flex; gap: 11px; align-items: flex-start; margin: 0 0 14px;
  padding: 13px 15px; border-radius: 13px; border: 1px solid transparent; line-height: 1.7;
}
.gov-al-ico { font-size: 19px; line-height: 1.3; flex-shrink: 0; }
.gov-alert b { display: block; font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.gov-alert span { display: block; font-size: 12.5px; color: #4e5969; }
.gov-a-blue { background: #eaf3ff; border-color: #c2d8ff; } .gov-a-blue b { color: #165dff; }
.gov-a-red { background: #ffece8; border-color: #ffd3ca; } .gov-a-red b { color: #f53f3f; }
.gov-a-green { background: #e8f7f1; border-color: #bfe9d5; } .gov-a-green b { color: #00b42a; }
.gov-a-orange { background: #fff7e8; border-color: #ffe3ba; } .gov-a-orange b { color: #ff7d00; }

/* ===== 标签行 ===== */
.gov-newtag { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 9px; border-radius: 6px; margin-right: 2px; background: #eaf3ff; color: #165dff; }
.gov-nt-hot { background: #ffece8; color: #f53f3f; }
.gov-nt-soon { background: #fff7e8; color: #ff7d00; }

/* ===== 截止提醒条 ===== */
.gov-countdown {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px;
  padding: 12px 15px; border-radius: 13px;
  background: linear-gradient(90deg, #f53f3f, #ff7d59); color: #fff;
  box-shadow: 0 6px 16px rgba(245, 63, 63, .24);
}
.gov-cd-ico { font-size: 18px; }
.gov-countdown b { font-size: 14.5px; font-weight: 800; }
.gov-countdown > span { font-size: 12px; opacity: .9; }
.gov-countdown a { margin-left: auto; color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .55); padding: 5px 13px; border-radius: 999px; }

/* ===== 图文左右 / 上下卡 ===== */
.gov-img-lr { display: flex; gap: 13px; margin: 0 0 14px; align-items: stretch; }
@media (max-width: 480px) { .gov-img-lr { flex-direction: column; } }
.gov-il-img { flex: 0 0 132px; min-height: 108px; border-radius: 14px; background: #dce7fb; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #86909c; font-size: 22px; }
.gov-il-img span { font-size: 11px; }
.gov-il-txt { flex: 1; min-width: 0; }
.gov-il-txt b { display: block; font-size: 14.5px; font-weight: 800; color: #1d2129; margin-bottom: 5px; }
.gov-il-txt span { display: block; font-size: 12.5px; color: #4e5969; line-height: 1.75; }
.gov-img-tb { margin: 0 0 14px; border-radius: 16px; overflow: hidden; border: 1px solid #edf1f7; background: #fff; }
.gov-it-img { height: 150px; background: linear-gradient(135deg, #dce7fb, #c9dcfa); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #6b83ab; font-size: 24px; }
.gov-it-img span { font-size: 11.5px; }
.gov-it-txt { padding: 13px 15px; }
.gov-it-txt b { display: block; font-size: 15px; font-weight: 800; color: #1d2129; margin-bottom: 5px; }
.gov-it-txt span { display: block; font-size: 12.5px; color: #4e5969; line-height: 1.75; }

/* ===== 署名引述卡 ===== */
.gov-quote {
  display: flex; gap: 13px; margin: 0 0 14px; padding: 16px 15px;
  border-radius: 16px; background: linear-gradient(135deg, #f7f9fc, #f0f4fa); border: 1px solid #e4e9f2;
}
.gov-q-ava { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
.gov-q-txt { font-size: 13.5px; line-height: 1.85; color: #33415c; font-weight: 600; }
.gov-q-by { font-size: 12px; color: #86909c; margin-top: 7px; }

/* ===== 专题横幅头图 ===== */
.gov-banner {
  position: relative; margin: 0 0 14px; padding: 26px 20px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(120deg, #165dff, #4080ff 55%, #6aa1ff); color: #fff;
  box-shadow: 0 10px 26px rgba(22, 93, 255, .32);
}
.gov-banner::before { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.gov-banner::after { content: ''; position: absolute; right: 50px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.gov-bn-tag { display: inline-block; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .5); padding: 3px 11px; border-radius: 999px; margin-bottom: 9px; }
.gov-bn-title { font-size: 21px; font-weight: 900; letter-spacing: 1px; }
.gov-bn-sub { font-size: 12.5px; opacity: .9; margin-top: 7px; }

/* ===== 图标要点列表 ===== */
.gov-keylist { display: flex; flex-direction: column; gap: 9px; margin: 0 0 14px; }
.gov-kl-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #edf1f7; border-radius: 14px; padding: 12px 14px; }
.gov-kl-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: #e8f0ff; color: #165dff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.gov-kl-item b { display: block; font-size: 14px; font-weight: 700; color: #1d2129; }
.gov-kl-item span { display: block; font-size: 12px; color: #86909c; margin-top: 2px; line-height: 1.6; }

/* ===== 大数字数据卡 ===== */
.gov-bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0 0 14px; }
.gov-bn2 { text-align: center; background: #fff; border: 1px solid #edf1f7; border-radius: 15px; padding: 16px 6px 13px; }
.gov-bn2 b { display: block; font-size: clamp(22px, 1.6vw, 26px); font-weight: 900; color: #165dff; line-height: 1.1; }
.gov-bn2 b i { font-style: normal; font-size: 13px; font-weight: 700; margin-left: 1px; }
.gov-bn2 span { display: block; font-size: 12px; color: #86909c; margin-top: 7px; line-height: 1.4; }

/* ===== 文章信息头 ===== */
.gov-artmeta {
  display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: #86909c;
  padding: 9px 0; border-bottom: 1px dashed #e4e9f2; margin: 0 0 14px;
}

/* ===== 装饰分割线 ===== */
.gov-hr { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0; color: #c9cdd4; font-size: 15px; }
.gov-hr::before, .gov-hr::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #e4e9f2, transparent); }

/* ===== 底部咨询卡 ===== */
.gov-contact {
  display: flex; align-items: center; gap: 13px; margin: 0 0 14px;
  padding: 16px; border-radius: 16px;
  background: linear-gradient(135deg, #e8f7f1, #f5fcf9); border: 1px solid #bfe9d5;
}
.gov-ct-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #0fb87e, #35d09b); display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: 0 5px 14px rgba(15, 184, 126, .28); }
.gov-ct-main { flex: 1; min-width: 0; }
.gov-ct-main b { display: block; font-size: 15px; font-weight: 800; color: #1d2129; }
.gov-ct-main span { display: block; font-size: 12px; color: #86909c; margin-top: 3px; }
.gov-ct-btn { flex-shrink: 0; background: linear-gradient(135deg, #0fb87e, #35d09b); color: #fff; font-size: 12.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 5px 12px rgba(15, 184, 126, .26); }

/* ===== 往期推荐列表 ===== */
.gov-reco { margin: 0 0 14px; border-radius: 16px; background: #fff; border: 1px solid #edf1f7; overflow: hidden; }
.gov-reco-title { font-size: 14px; font-weight: 800; color: #1d2129; padding: 13px 16px 9px; }
.gov-reco-item { display: flex; align-items: center; gap: 11px; padding: 10px 16px; font-size: 13px; color: #33415c; text-decoration: none; line-height: 1.55; }
.gov-reco-item:hover { background: #f7f9fc; color: #165dff; }
.gov-reco-item + .gov-reco-item { border-top: 1px dashed #f0f3f8; }
.gov-rc-num { flex-shrink: 0; width: 21px; height: 21px; border-radius: 7px; background: #eaf3ff; color: #165dff; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ===== 二维码关注卡 ===== */
.gov-qr { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #f4f6fa, #eef1f8); border: 1px solid #dfe5ee; }
.gov-qr-box { flex-shrink: 0; width: 82px; height: 82px; border-radius: 13px; background: #fff; border: 1px dashed #c9cdd4; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #86909c; }
.gov-qr-main { flex: 1; min-width: 0; }
.gov-qr-main b { display: block; font-size: 15px; font-weight: 800; color: #1d2129; }
.gov-qr-main span { display: block; font-size: 12px; color: #86909c; margin: 4px 0 10px; }
.gov-qr-btn { display: inline-block; background: #1d2129; color: #fff; font-size: 12.5px; font-weight: 600; padding: 8px 16px; border-radius: 999px; text-decoration: none; }
