/* ============================================================
   恒正企业服务平台 · 设计系统
   政企服务蓝主题（参考原「跨界政策」平台风格并优化）
   ============================================================ */
:root {
  --primary: #1a5fc4;
  --primary-dark: #144a9e;
  --primary-light: #e8f0fc;
  --primary-hover: #2565cf;
  --accent: #f5a623;
  --danger: #e54d42;
  --success: #2eaa5e;
  --warning: #e6a23c;
  --info: #4a90d9;
  --text-1: #1f2d3d;
  --text-2: #5e6d82;
  --text-3: #99a9bf;
  --bg: #f4f7fb;
  --card: #ffffff;
  --border: #e4eaf2;
  --shadow-sm: 0 1px 4px rgba(30, 70, 130, .08);
  --shadow-md: 0 4px 16px rgba(30, 70, 130, .12);
  --shadow-lg: 0 8px 30px rgba(30, 70, 130, .16);
  --radius: 10px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; outline: none; }
img { max-width: 100%; display: block; }

/* ---------- 顶部导航（前台） ---------- */
.gov-topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  padding: 6px 0;
}
.gov-topbar .container { display: flex; justify-content: space-between; align-items: center; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; height: 68px; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.logo .logo-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #3b82d8);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.logo small { font-size: 11px; color: var(--text-3); font-weight: 400; display: block; line-height: 1.2; }
.main-nav { display: flex; gap: 2px; flex: 1; flex-wrap: nowrap; overflow-x: auto; }
.main-nav a {
  padding: 8px 11px; border-radius: 8px; font-size: 14px; color: var(--text-1);
  transition: all .2s; font-weight: 500; white-space: nowrap; flex: none;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { color: var(--primary); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { color: var(--text-2); background: transparent; }
.btn-ghost:hover { background: var(--primary-light); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 5px 14px; font-size: 13px; border-radius: 6px; }
.btn-lg { padding: 12px 34px; font-size: 16px; border-radius: 10px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 布局 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(120deg, #17498f 0%, #1a5fc4 55%, #2f77d8 100%);
  color: #fff; padding: 70px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero::before { width: 420px; height: 420px; right: -80px; top: -140px; }
.hero::after { width: 260px; height: 260px; left: 8%; bottom: -140px; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: 2px; margin-bottom: 14px; }
.hero p.sub { font-size: 17px; opacity: .85; margin-bottom: 34px; }
.hero .search-box {
  display: flex; max-width: 620px; background: #fff; border-radius: 12px;
  padding: 6px; box-shadow: var(--shadow-lg);
}
.hero .search-box input { flex: 1; border: none; padding: 12px 18px; font-size: 15px; background: transparent; }
.hero .search-box .btn { border-radius: 8px; }
.hero .hero-tags { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .hero-tags span, .hero .hero-tags a {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: 4px 14px; border-radius: 20px; font-size: 13px;
  color: #fff; text-decoration: none; cursor: pointer; transition: all .2s;
}
.hero .hero-tags a:hover {
  background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.6);
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* ---------- 板块 ---------- */
.section { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.section-head h2 { font-size: 24px; font-weight: 700; position: relative; padding-left: 14px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 5px; border-radius: 3px; background: var(--primary);
}
.section-head .more { color: var(--text-3); font-size: 13px; }
.section-head .more:hover { color: var(--primary); }

/* 核心模块宫格 */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 28px 16px;
  text-align: center; border: 1px solid var(--border); transition: all .25s;
  cursor: pointer;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.module-card .icon {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.module-card h3 { font-size: 16px; margin-bottom: 6px; }
.module-card p { font-size: 12px; color: var(--text-3); }

/* 服务卡片 */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card .sc-head { padding: 20px 20px 12px; display: flex; align-items: center; gap: 12px; }
.service-card .sc-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.service-card .sc-head h3 { font-size: 15px; line-height: 1.4; }
.service-card .sc-body { padding: 0 20px 16px; flex: 1; }
.service-card .sc-body p { font-size: 13px; color: var(--text-2); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-card .sc-meta { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px dashed var(--border); }
.service-card .price { color: var(--danger); font-weight: 700; font-size: 18px; }
.service-card .price em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--text-3); }
.service-card .region { font-size: 12px; color: var(--text-3); }

/* 政策/新闻列表 */
.news-list li {
  display: flex; align-items: center; gap: 14px; padding: 15px 6px;
  border-bottom: 1px dashed var(--border);
}
.news-list li:last-child { border-bottom: none; }
.news-list .date {
  flex-shrink: 0; width: 52px; text-align: center; background: var(--primary-light);
  border-radius: 8px; padding: 6px 0; color: var(--primary);
}
.news-list .date b { display: block; font-size: 18px; line-height: 1.1; }
.news-list .date span { font-size: 11px; }
.news-list h4 { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.news-list h4 a:hover { color: var(--primary); }
.news-list p { font-size: 12px; color: var(--text-3); }

/* ---------- 表单 ---------- */
.form-item { margin-bottom: 18px; }
.form-item label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.form-item label .req { color: var(--danger); margin-left: 2px; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; background: #fff; transition: border .2s, box-shadow .2s;
}
.form-item textarea { min-height: 90px; resize: vertical; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 95, 196, .12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ---------- 后台布局 ---------- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-aside {
  width: 220px; background: #14294a; color: #b7c6dd; flex-shrink: 0;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-aside .aside-logo {
  padding: 20px 18px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: 16px;
}
.admin-aside .aside-logo .logo-mark { width: 34px; height: 34px; font-size: 15px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #3b82d8); display: flex; align-items: center;
  justify-content: center; color: #fff; }
.admin-aside .aside-group { padding: 12px 0; }
.admin-aside .aside-title { font-size: 11px; color: #61759a; padding: 8px 20px 4px; letter-spacing: 1px; }
.admin-aside a {
  display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: 14px;
  color: #b7c6dd; border-left: 3px solid transparent; transition: all .2s;
}
.admin-aside a:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-aside a.active { color: #fff; background: var(--primary); border-left-color: var(--accent); }
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  height: 58px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; position: sticky; top: 0; z-index: 50;
}
.admin-topbar .crumb { font-size: 15px; font-weight: 600; display:flex; align-items:center; gap:10px; }
.site-switch{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:500;
  color:var(--primary);text-decoration:none;padding:5px 11px;border:1px solid var(--border);
  border-radius:6px;background:var(--primary-light);transition:all .2s;white-space:nowrap;}
.site-switch:hover{background:var(--primary);color:#fff;border-color:var(--primary);}
.site-switch .sw-ico{font-size:13px;}
.sw-sep{width:1px;height:18px;background:var(--border);}
.sw-cur{font-size:13px;font-weight:500;color:var(--text-2);}
.sw-cur b{color:var(--text-3);font-weight:400;margin:0 3px;}
.admin-topbar .user-box { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.admin-content { padding: 24px; flex: 1; }

/* 统计卡片 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 22px;
  border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;
}
.stat-card .num { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-card .label { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.stat-card .s-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* ---------- 卡片面板 ---------- */
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.panel-head {
  padding: 16px 22px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.panel-head h3 { font-size: 16px; font-weight: 600; }
.panel-body { padding: 22px; }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 12px; color: var(--text-2); font-weight: 600;
  padding: 11px 14px; background: #f7f9fd; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; }
.table tr:hover td { background: #fafcff; }
.table .money { color: var(--danger); font-weight: 600; }

/* ---------- 标签 ---------- */
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; line-height: 1.5; }
.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag-green { background: #e6f7ec; color: var(--success); }
.tag-orange { background: #fdf3e3; color: var(--warning); }
.tag-red { background: #fdeceb; color: var(--danger); }
.tag-gray { background: #eef1f6; color: var(--text-2); }

/* ---------- 筛选条 ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filter-bar select, .filter-bar input {
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; background: #fff;
}

/* ---------- 订单流转时间轴 ---------- */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -24px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  border: 3px solid var(--primary);
}
.timeline-item.done::before { background: var(--primary); }
.timeline-item.todo::before { border-color: var(--border); }
.timeline-item .tl-title { font-weight: 600; font-size: 14px; }
.timeline-item .tl-time { font-size: 12px; color: var(--text-3); margin: 2px 0 4px; }
.timeline-item .tl-desc { font-size: 13px; color: var(--text-2); }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 30, 55, .5); z-index: 300;
  display: none; align-items: flex-start; justify-content: center; padding: 60px 20px;
  overflow-y: auto;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); width: 560px; max-width: 100%;
  box-shadow: var(--shadow-lg); animation: modalIn .2s ease;
}
.modal.modal-lg { width: 760px; }
.modal.modal-md { width: 600px; }
.lead-quote {
  background: var(--primary-light); color: var(--primary); font-size: 13px;
  padding: 10px 14px; border-radius: 8px; margin-bottom: 18px; line-height: 1.6;
}

/* 全站留资悬浮入口 */
.lead-fab {
  position: fixed; right: 22px; bottom: 26px; z-index: 200;
  border: none; cursor: pointer; color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(135deg, var(--primary), #3b82d8);
  padding: 13px 20px; border-radius: 26px;
  box-shadow: 0 8px 22px rgba(26, 95, 196, .32);
  transition: transform .2s, box-shadow .2s;
}
.lead-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26, 95, 196, .4); }
@media (max-width: 768px) {
  .lead-fab { right: 14px; bottom: 16px; padding: 11px 16px; font-size: 12px; }
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-head {
  padding: 18px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-head h3 { font-size: 17px; }
.modal-close { border: none; background: none; font-size: 22px; color: var(--text-3); line-height: 1; }
.modal-close:hover { color: var(--text-1); }
.modal-body { padding: 24px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.modal-foot .btn { margin: 2px 0; }
@media (max-width: 600px) { .modal-foot { justify-content: center; gap: 8px; padding: 14px 16px; } }

/* ---------- 提示 ---------- */
.toast-wrap { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border-radius: 10px; padding: 12px 22px; box-shadow: var(--shadow-lg);
  font-size: 14px; display: flex; align-items: center; gap: 8px; animation: toastIn .25s ease;
  border-left: 4px solid var(--success);
}
.toast.err { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--info); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.empty-tip { text-align: center; color: var(--text-3); padding: 44px 0; font-size: 13px; }

/* ---------- 登录页 ---------- */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, #17498f 0%, #1a5fc4 55%, #2f77d8 100%);
  padding: 30px 16px;
}
.auth-card {
  background: #fff; border-radius: 18px; width: 420px; max-width: 100%;
  padding: 40px 38px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 22px; text-align: center; margin-bottom: 4px; }
.auth-card .sub { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 28px; }
.auth-tabs { display: flex; background: #eef2f8; border-radius: 9px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button {
  flex: 1; border: none; background: transparent; padding: 9px; border-radius: 7px;
  font-size: 14px; color: var(--text-2);
}
.auth-tabs button.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }
.auth-foot { margin-top: 18px; font-size: 12px; color: var(--text-3); text-align: center; }

/* ---------- 页脚 ---------- */
.site-footer { background: #17253e; color: #93a5c2; padding: 44px 0 0; margin-top: 60px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 34px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer li { font-size: 13px; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; text-align: center; font-size: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
}
@media (max-width: 600px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .admin-aside { display: none; }
  /* 后台表格/步骤条在手机上横向滚动，不撑破页面 */
  .admin-content table.table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  .admin-content .wf-steps { max-width: 100% !important; width: 100% !important; overflow: hidden !important; display: flex !important; white-space: normal; padding: 14px 8px 6px !important; }
  .admin-content .wf-steps .wf-step { flex: 1 1 0; min-width: 0; width: auto; }
  .admin-content .wf-steps .wf-step::after { width: 100%; }
  .admin-content .wf-steps .wf-label { font-size: 10px; line-height: 1.2; word-break: break-all; }
  .admin-content .wf-steps .wf-dot { width: 24px; height: 24px; font-size: 11px; }
  .admin-content .stat-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .admin-content .stat-card { padding: 14px; min-width: 0; overflow: hidden; }
  .admin-content .stat-card .num { font-size: 20px; word-break: break-all; }
  .admin-content .chart-panel, .admin-content .chart-panel-2 { grid-template-columns: 1fr; gap: 14px; }
  .od-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .od-grid, .od-grid .f { min-width: 0; }
  .od-grid .f b { overflow-wrap: anywhere; word-break: break-word; }
  #detailWrap { grid-template-columns: minmax(0, 1fr) !important; }
  #detailWrap > div { min-width: 0; }
  #detailWrap > div:last-child { position: static !important; }
  .site-header .container { height: 60px; gap: 8px; padding: 0 12px; }
  .logo { font-size: 17px; gap: 7px; min-width: 0; }
  .logo .logo-mark { width: 34px; height: 34px; font-size: 15px; flex: none; }
  .logo small { font-size: 9px; }
  .header-actions { gap: 5px; margin-left: auto; }
  .header-actions .btn-sm { padding: 6px 9px; font-size: 12px; }
  .gov-topbar .container { gap: 8px; font-size: 11px; }
}

/* ---------- 站内信铃铛 ---------- */
.bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--border);
  font-size: 15px; text-decoration: none; line-height: 1;
}
.bell:hover { border-color: var(--primary); background: var(--primary-light); }
.bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 600;
  align-items: center; justify-content: center; line-height: 17px;
}
.ntf-item { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.ntf-item:hover { background: #fafbfd; }
.ntf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); margin-top: 7px; flex: none; }
.ntf-item.read .ntf-dot { background: #d5dbe6; }
.ntf-title { font-weight: 600; font-size: 14px; color: var(--text-1); }
.ntf-body { font-size: 13px; color: var(--text-2); margin-top: 4px; line-height: 1.6; }
.ntf-meta { font-size: 12px; color: var(--text-3); margin-top: 6px; display: flex; gap: 12px; align-items: center; }

/* ---------- 首页焦点推荐（后台可配置） ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.focus-card {
  border-radius: 16px; padding: 26px 24px; color: #fff; display: block;
  text-decoration: none; transition: all .25s; position: relative; overflow: hidden;
}
.focus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.focus-card .tag-pill {
  display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 12px;
  background: rgba(255,255,255,.22); margin-bottom: 12px;
}
.focus-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 8px; color: #fff; }
.focus-card p { font-size: 12.5px; line-height: 1.8; opacity: .88; color: #fff; }
.focus-card .go { font-size: 12px; margin-top: 14px; opacity: .9; }
.focus-card.t-blue { background: linear-gradient(135deg, #16437f, #2f77d8); }
.focus-card.t-green { background: linear-gradient(135deg, #10614a, #1fa97c); }
.focus-card.t-orange { background: linear-gradient(135deg, #8a4a10, #e08b32); }
.focus-card.t-purple { background: linear-gradient(135deg, #3d2a76, #6f5bd6); }
@media (max-width: 900px) { .focus-grid { grid-template-columns: 1fr; } }

/* ---------- 首页焦点轮播 ---------- */
.focus-carousel { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.fc-track { position: relative; height: 250px; }
.fc-slide {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 34px;
  padding: 0 60px; color: #fff; text-decoration: none; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.fc-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.fc-slide::before {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  right: 40px; top: -160px; background: rgba(255,255,255,.08);
}
.fc-slide.t-blue { background: linear-gradient(120deg, #123b73, #2f77d8); }
.fc-slide.t-green { background: linear-gradient(120deg, #0e5b46, #1fa97c); }
.fc-slide.t-orange { background: linear-gradient(120deg, #834610, #e08b32); }
.fc-slide.t-purple { background: linear-gradient(120deg, #37266d, #6f5bd6); }
.fc-emoji { font-size: 76px; line-height: 1; flex-shrink: 0; position: relative; z-index: 1; }
.fc-text { position: relative; z-index: 1; flex: 1; }
.fc-tag { display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 12px; background: rgba(255,255,255,.2); margin-bottom: 12px; }
.fc-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; color: #fff; letter-spacing: 1px; }
.fc-text p { font-size: 14px; line-height: 1.7; opacity: .9; max-width: 560px; }
.fc-go { position: relative; z-index: 1; font-size: 13px; white-space: nowrap; border: 1px solid rgba(255,255,255,.5); padding: 9px 16px; border-radius: 20px; }
.fc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.28); color: #fff; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.fc-arrow:hover { background: rgba(0,0,0,.5); }
.fc-prev { left: 14px; }
.fc-next { right: 14px; }
.fc-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.fc-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: all .25s; }
.fc-dot.active { background: #fff; width: 24px; border-radius: 5px; }
@media (max-width: 700px) {
  .fc-track { height: 210px; }
  .fc-slide { padding: 0 44px; gap: 16px; }
  .fc-emoji { font-size: 48px; }
  .fc-text h2 { font-size: 20px; }
  .fc-text p { font-size: 12px; }
  .fc-go { display: none; }
}

/* ---------- 首页近期待申报 ---------- */
.deadline-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.deadline-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; cursor: pointer; transition: all .22s; display: block; text-decoration: none;
}
.deadline-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.deadline-card .dl { font-size: 12px; font-weight: 600; color: var(--danger); margin-bottom: 8px; }
.deadline-card .dl.calm { color: var(--text-3); font-weight: 500; }
.deadline-card h4 {
  font-size: 14px; line-height: 1.55; margin-bottom: 10px; color: var(--text-1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 43px;
}
.deadline-card .meta { font-size: 12px; color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) { .deadline-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .deadline-strip { grid-template-columns: 1fr; } }

/* ---------- 指标卡（前台工作台 / 后台线索池共用） ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.kpi { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.kpi span { font-size: 13px; color: var(--text-3); }
.kpi b { display: block; font-size: 26px; line-height: 1.4; margin-top: 4px; }
.kpi.hot b { color: var(--primary); }
.kpi.warn b { color: var(--danger); }
.kpi.ok b { color: var(--success); }
@media (max-width: 900px) { .kpi-row { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { padding: 14px; } .kpi b { font-size: 20px; } }

/* ---------- 首页热门服务卡片可点击 ---------- */
#hotServices .service-card { cursor: pointer; text-decoration: none; color: inherit; }
#hotServices .service-card:hover .sc-head h3 { color: var(--primary); }
#hotServices .service-card .region { color: var(--primary); font-size: 12px; }

/* ---------- 订单进度步骤条（客户订单详情 / 后台订单详情共用） ---------- */
.hz-steps { display:flex; width:100%; align-items:flex-start; }
.hz-step { flex:1; min-width:0; text-align:center; position:relative; padding-top:30px; }
.hz-step::before { content:""; position:absolute; top:13px; left:-50%; width:100%; height:2px; background:var(--border); }
.hz-step:first-child::before { display:none; }
.hz-step .hz-dot {
  position:absolute; top:4px; left:50%; transform:translateX(-50%);
  width:20px; height:20px; border-radius:50%; background:var(--card);
  border:2px solid var(--border); display:flex; align-items:center; justify-content:center;
  font-size:11px; color:var(--text-3); z-index:1;
}
.hz-step .hz-label { font-size:12px; color:var(--text-3); line-height:1.35; word-break:break-all; }
.hz-step.done::before, .hz-step.now::before { background:var(--primary); }
.hz-step.done .hz-dot { background:var(--primary); border-color:var(--primary); color:#fff; }
.hz-step.now .hz-dot { background:#fff; border-color:var(--primary); color:var(--primary); box-shadow:0 0 0 4px var(--primary-light); }
.hz-step.now .hz-label { color:var(--primary); font-weight:600; }
.hz-step.done .hz-label { color:var(--text-2); }
.hz-step.closed .hz-dot { background:var(--text-3); border-color:var(--text-3); color:#fff; }
.hz-step.closed .hz-label { color:var(--text-3); }
.hz-next {
  display:flex; gap:14px; align-items:flex-start; flex-wrap:wrap;
  background:var(--primary-light); border:1px solid #cfe0fb; border-radius:var(--radius);
  padding:16px 18px;
}
.hz-next .hz-next-ico { font-size:24px; line-height:1; }
.hz-next .hz-next-body { flex:1; min-width:200px; }
.hz-next b { display:block; font-size:15px; color:var(--primary-dark); margin-bottom:4px; }
.hz-next p { font-size:13px; color:var(--text-2); margin:0 0 10px; }
.hz-next .hz-next-act { display:flex; gap:10px; flex-wrap:wrap; }
.hz-funds { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.hz-funds .hz-fund { border:1px solid var(--border); border-radius:var(--radius); padding:12px 14px; }
.hz-funds .hz-fund span { font-size:12px; color:var(--text-3); display:block; }
.hz-funds .hz-fund b { font-size:15px; display:block; margin-top:4px; }
@media (max-width:600px) {
  .hz-steps { flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; }
  .hz-step { min-width:64px; padding-top:30px; }
  .hz-step .hz-label { font-size:11px; }
  .hz-funds { grid-template-columns:1fr; }
}
