
/* ============================================================
   找补（原企策通）· 全站样式（品牌 v2）
   设计基调：靛蓝 #4f46e5 + 雷达绿 #34f5c6 + 白卡片，系统中文字体，无外部依赖
   ============================================================ */

:root {
  --primary: #4f46e5;
  --primary-deep: #3730a3;
  --primary-weak: #eceafd;
  --ink: #1f2937;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #e5e7eb;
  --bg: #f5f6fc;
  --card: #ffffff;
  --good: #0e9f6e;
  --good-weak: #e6f7f1;
  --warn: #d97706;
  --warn-weak: #fdf3e7;
  --bad: #dc2626;
  --bad-weak: #fdeaea;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .07), 0 6px 18px rgba(16, 24, 40, .05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 15px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
main { min-height: 62vh; padding-bottom: 56px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- 顶部 ---------- */
.topbar {
  background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-name { font-size: 21px; font-weight: 800; color: var(--primary-deep); letter-spacing: 1px; }
.brand-slogan { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
.nav { display: flex; gap: 4px; flex: 1; }
/* 顶栏云同步状态徽章(登录后显示) */
.cloud-chip {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--card);
}
.cloud-chip.ok { color: var(--good); border-color: rgba(14, 159, 110, .35); background: var(--good-weak); }
.cloud-chip.warn { color: var(--warn); border-color: rgba(217, 119, 6, .35); background: var(--warn-weak); }
.cloud-chip.err { color: var(--bad); border-color: rgba(220, 38, 38, .35); background: var(--bad-weak); }
@media (max-width: 760px) { .cloud-chip { display: none; } }
.nav-link { padding: 8px 14px; border-radius: 8px; color: #374151; font-size: 15px; white-space: nowrap; }
.nav-link:hover { background: var(--primary-weak); color: var(--primary-deep); }
.nav-link.active { background: var(--primary); color: #fff; font-weight: 600; }
.nav-user { font-size: 13.5px; color: var(--muted); background: var(--bg); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); }
.nav-user:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 900px) {
  .brand-slogan { display: none; }
  .topbar-inner { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .topbar-right { margin-left: auto; }
  .topbar-right .nav-user, .topbar-right .btn { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
  .nav { order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; transition: all .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-good { background: var(--good); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 15px 34px; font-size: 17px; border-radius: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
}
.section-title { font-size: 19px; font-weight: 700; margin: 34px 0 14px; display: flex; align-items: center; gap: 10px; }
.section-title .hint { font-size: 13px; font-weight: 400; color: var(--muted); }

/* ---------- 首页 ---------- */
.hero {
  background: linear-gradient(135deg, #0d3ba8 0%, #1a56db 55%, #2f6fe4 100%);
  color: #fff; padding: 72px 0 86px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.hero::before {
  content: ''; position: absolute; right: 60px; bottom: -180px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255, 255, 255, .05);
}
.hero h1 { font-size: 40px; line-height: 1.3; letter-spacing: 1px; }
.hero .sub { margin: 16px 0 30px; font-size: 17px; color: #dbe6fb; max-width: 640px; }
.hero .btn-primary { background: #fff; color: var(--primary-deep); }
.hero .btn-primary:hover { background: #eef3ff; }
.hero .btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.hero-stats { display: flex; gap: 46px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .num { font-size: 32px; font-weight: 800; }
.hero-stat .num em { font-style: normal; font-size: 16px; font-weight: 500; margin-left: 3px; }
.hero-stat .lbl { font-size: 13.5px; color: #c9d8f7; margin-top: 2px; }

.pain-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.pain-card { text-align: center; padding: 28px 20px; }
.pain-card .ico, .feature-card .ico { font-size: 30px; }
.pain-card h3, .feature-card h3 { margin: 10px 0 6px; font-size: 16.5px; }
.pain-card p, .feature-card p { color: var(--muted); font-size: 13.5px; }
.flow-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow-step {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
}
.flow-step .n { color: var(--primary); margin-right: 6px; }
.flow-arrow { color: var(--muted-2); }

.price-table { width: 100%; border-collapse: collapse; background: var(--card); }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.price-table th { background: var(--primary-weak); color: var(--primary-deep); }
.price-table td.p { text-align: right; font-weight: 700; color: var(--primary-deep); white-space: nowrap; }

.case-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.case-list li { margin: 7px 0 7px 20px; }

@media (max-width: 860px) {
  .hero h1 { font-size: 30px; }
  .pain-grid, .feature-grid { grid-template-columns: 1fr; }
  .case-box { grid-template-columns: 1fr; }
}

/* ---------- 建档向导 ---------- */
.wizard { max-width: 760px; margin: 34px auto; }
.wizard-steps { display: flex; gap: 6px; margin-bottom: 20px; }
.wstep { flex: 1; text-align: center; font-size: 13px; color: var(--muted); padding: 8px 4px; border-bottom: 3px solid var(--line); }
.wstep.done { border-color: var(--good); color: var(--good); }
.wstep.now { border-color: var(--primary); color: var(--primary); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field label .req { color: var(--bad); }
.field input, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--primary-weak); border-color: var(--primary); }
.field .tip { font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: 13.5px; user-select: none;
}
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 26px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 工作台 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat-card { padding: 18px; }
.stat-card .lbl { font-size: 13px; color: var(--muted); }
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--primary-deep); margin-top: 2px; }
.stat-card .num.warn-c { color: var(--warn); }
.stat-card .num.good-c { color: var(--good); }
.stat-card .sub { font-size: 12px; color: var(--muted-2); }
@media (max-width: 960px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.reminder-list { display: flex; flex-direction: column; gap: 8px; }
.reminder {
  display: flex; gap: 10px; align-items: center; padding: 11px 14px;
  border-radius: 10px; font-size: 14px; border: 1px solid var(--line); background: #fff;
}
.reminder.danger { background: var(--bad-weak); border-color: #f5c2c2; }
.reminder.warn { background: var(--warn-weak); border-color: #f0d9b5; }
.reminder.info { background: var(--primary-weak); border-color: #c9d8f5; }
.reminder.muted { color: var(--muted); }
.reminder a { color: var(--primary); font-weight: 600; white-space: nowrap; }

.profile-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pchip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; }

/* ---------- 政策卡片 ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .policy-grid { grid-template-columns: 1fr; } }
.policy-card { display: block; transition: transform .12s, box-shadow .12s; }
.policy-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16, 24, 40, .1); border-color: #c9d8f5; }
.pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pc-title-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-name { font-size: 17px; margin: 8px 0 4px; }
.pc-brief { color: var(--muted); font-size: 13.5px; min-height: 40px; }
.pc-amount { font-size: 19px; font-weight: 800; color: var(--good); margin: 8px 0 6px; }
.pc-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.pc-cond { display: flex; gap: 12px; font-size: 13px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pc-cond .ok { color: var(--good); }
.pc-cond .bad { color: var(--bad); }
.pc-cond .chk { color: var(--warn); }
.pc-gap { font-size: 12.5px; margin-top: 6px; }

.tag {
  display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted);
}
.tag-level { background: var(--primary-weak); border-color: #c9d8f5; color: var(--primary-deep); }
.g-ready { background: var(--good-weak); border-color: #bfe8d8; color: var(--good); }
.g-gap { background: var(--warn-weak); border-color: #f0d9b5; color: var(--warn); }
.g-blocked { background: var(--bg); color: var(--muted-2); }

.ring-text { font-size: 14px; font-weight: 800; fill: var(--ink); }
.stars { color: #f59e0b; font-size: 12.5px; letter-spacing: 1px; }
.dl { font-size: 12.5px; padding: 2px 8px; border-radius: 6px; }
.dl-danger { background: var(--bad-weak); color: var(--bad); font-weight: 700; }
.dl-warn { background: var(--warn-weak); color: var(--warn); }
.dl-open { background: var(--good-weak); color: var(--good); }
.dl-normal, .dl-closed { background: var(--bg); color: var(--muted); }

/* 筛选栏 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0; }
.filter-bar select, .filter-bar input[type="number"] {
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13.5px;
}
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: transparent; padding: 8px 16px; font-size: 13.5px; color: var(--muted); }
.seg button.on { background: var(--primary); color: #fff; font-weight: 600; }

/* ---------- 政策详情 ---------- */
.detail-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.detail-head h1 { font-size: 24px; margin: 8px 0 6px; }
.kv-strip { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 14px; }
.kv .k { font-size: 12.5px; color: var(--muted); }
.kv .v { font-size: 16px; font-weight: 700; }
.kv .v.money { color: var(--good); font-size: 19px; }
.detail-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.plain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plain-item { background: var(--bg); border-radius: 10px; padding: 13px 15px; }
.plain-item .q { font-weight: 700; font-size: 14px; color: var(--primary-deep); }
.plain-item .a { font-size: 13.5px; color: #374151; margin-top: 3px; }
@media (max-width: 760px) { .plain-grid { grid-template-columns: 1fr; } }

.cond-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cond-table th, .cond-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cond-table th { color: var(--muted); font-size: 13px; background: var(--bg); }
.cs { font-weight: 700; white-space: nowrap; }
.cs-pass { color: var(--good); }
.cs-fail { color: var(--bad); }
.cs-check { color: var(--warn); }

.checklist-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px dashed var(--line); }
.checklist-item:last-child { border-bottom: 0; }
.st { font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.st-ready { background: var(--good-weak); color: var(--good); }
.st-pending { background: var(--bg); color: var(--muted); border: 1px dashed var(--muted-2); }
.st-review { background: var(--primary-weak); color: var(--primary-deep); }
.st-invalid { background: var(--bad-weak); color: var(--bad); }

.source-box { background: #fbfcfe; border: 1px dashed #c9d8f5; border-radius: 10px; padding: 14px 16px; font-size: 13.5px; }
.source-box .t { font-weight: 700; color: var(--primary-deep); }

.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* 生成初稿弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: 14px; max-width: 820px; width: 100%; max-height: 86vh; display: flex; flex-direction: column; }
.modal-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 16px 20px; overflow: auto; }
.modal-body textarea { width: 100%; min-height: 46vh; border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 13.5px; line-height: 1.8; resize: vertical; }
.modal-foot { padding: 13px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- 看板 ---------- */
.kanban { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; overflow-x: auto; }
.kb-col { background: var(--bg); border-radius: 12px; padding: 10px; min-width: 148px; min-height: 130px; }
.kb-col h4 { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 8px; }
.kb-col h4 .cnt { background: var(--card); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-size: 11.5px; border: 1px solid var(--line); }
.kb-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; box-shadow: var(--shadow); }
.kb-card .n { font-size: 13px; font-weight: 600; line-height: 1.4; }
.kb-card .d { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.kb-ops { display: flex; gap: 5px; margin-top: 7px; }
.kb-ops button { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 12px; padding: 2px 8px; color: var(--muted); }
.kb-ops button:hover { color: var(--primary); border-color: var(--primary); }
@media (max-width: 1000px) { .kanban { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) {
  .kanban { grid-template-columns: 1fr; }
  .kb-col { min-height: 0; }
  .kb-col h4 { text-align: left; padding-left: 4px; }
}

/* ---------- 材料中心 ---------- */
.mat-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mat-table th, .mat-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.mat-table th { font-size: 13px; color: var(--muted); background: var(--bg); }
.mat-table .fname { font-size: 12.5px; color: var(--muted); }
.upload-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.upload-inline input[type="date"] { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; }
.usedby { font-size: 12px; color: var(--muted-2); }
.progress { height: 9px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--good)); border-radius: 999px; }

/* ---------- 问答 ---------- */
.chat-box { display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; }
.msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; box-shadow: var(--shadow); }
.msg.bot .src { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.msg.bot a { color: var(--primary); font-weight: 600; }
.chat-input { display: flex; gap: 10px; margin-top: 18px; }
.chat-input input { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.preset-qs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* ---------- 空状态 / 其他 ---------- */
.empty-state { text-align: center; padding: 56px 30px; margin-top: 40px; }
.empty-icon { font-size: 44px; }
.empty-state h2 { margin: 12px 0 8px; }
.empty-state p { color: var(--muted); }
.empty-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

.footer { background: #0f1f40; color: #b7c4e0; padding: 26px 0 34px; font-size: 13px; }
.footer .muted { color: #7f8fb4; margin-top: 6px; }

.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px);
  background: #111827; color: #fff; padding: 11px 22px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.notice {
  background: var(--warn-weak); border: 1px solid #f0d9b5; color: #92580a;
  border-radius: 10px; padding: 10px 14px; font-size: 13px;
}

/* ---------- 打印样式:政策详情、材料清单可直接打印/另存 PDF 存档 ---------- */
@media print {
  .topbar, .footer, .toast, .btn, .chat-input, .preset-qs, .wizard-nav,
  .filter-bar, .kb-ops, .upload-inline, .reminder a, .empty-actions { display: none !important; }
  body { background: #fff; }
  .card, .policy-card { box-shadow: none !important; border: 1px solid #d5dbe7; break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  main { padding: 0; }
}

/* ============================================================
 * 首页 v2 · 动态 Hero(按 Figma 设计稿:企策通主页视觉设计)
 * 动效规格:渐变流动/光晕呼吸/标题渐入/数字滚动/跑马灯/浮动卡片/滚动渐入
 * ============================================================ */
.hero2 {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(130deg, #050e29 0%, #091a42 55%, #0f2b73 100%);
  background-size: 180% 180%;
  animation: heroGradient 20s ease infinite;
}
.hero2 .container { position: relative; z-index: 3; padding-top: 64px; padding-bottom: 52px; }
@keyframes heroGradient { 0%,100% { background-position: 0% 30%; } 50% { background-position: 90% 70%; } }
.hero2 .glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 1; }
.hero2 .glow-a { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(38,109,242,.38); animation: glowPulse 6s ease-in-out infinite; }
.hero2 .glow-b { width: 380px; height: 380px; left: -130px; bottom: -60px; background: rgba(56,189,248,.22); animation: glowPulse 7s ease-in-out 1.2s infinite; }
@keyframes glowPulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.18); opacity: 1; } }
#heroParticles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero2-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  font-size: 13px; color: #d8e4fb; width: fit-content;
}
.hero2-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.hero2 h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.22; margin: 18px 0 16px; font-weight: 900; letter-spacing: .5px; }
.hero2 h1 .grad {
  background: linear-gradient(92deg, #6cc0ff 0%, #38f2e5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero2 .sub { color: #b8c6e6; font-size: 16.5px; line-height: 1.7; max-width: 560px; }
.hero2-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn-hero-primary {
  background: #fff; color: #0e3380; font-weight: 700; border-radius: 10px; padding: 14px 28px; font-size: 16px;
  box-shadow: 0 10px 30px rgba(30,110,255,.4); transition: transform .25s, box-shadow .25s;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(30,110,255,.55); }
.btn-hero-ghost {
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px; padding: 14px 24px; font-size: 16px; transition: background .25s, transform .25s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* 入场动画:逐级上移渐入 */
.rise { opacity: 0; transform: translateY(26px); animation: riseIn .7s cubic-bezier(.2,.7,.3,1) forwards; }
.rise-1 { animation-delay: .05s; } .rise-2 { animation-delay: .18s; } .rise-3 { animation-delay: .3s; }
.rise-4 { animation-delay: .42s; } .rise-5 { animation-delay: .54s; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

/* 右侧浮动卡片组 */
.hero2-cards { position: relative; min-height: 430px; }
.mock-card {
  position: absolute; background: #fff; border-radius: 16px; color: var(--ink, #111827);
  box-shadow: 0 24px 60px rgba(4,15,50,.45);
  animation: floatY 5s ease-in-out infinite;
  will-change: transform;
}
.mock-main { left: 8%; top: 24px; width: 78%; padding: 22px 24px; }
.mock-main .tags { display: flex; gap: 8px; margin-bottom: 10px; }
.mock-main .tags span { font-size: 12px; padding: 4px 10px; border-radius: 6px; font-weight: 600; }
.mock-main .tag-lv { background: #e9f1ff; color: #1a56db; }
.mock-main .tag-ok { background: #e0f7ea; color: #0f9e60; }
.mock-main h3 { font-size: 19px; margin: 2px 0 6px; color: #111827; }
.mock-main .meta { font-size: 12.5px; color: #64748b; margin-bottom: 12px; }
.mock-main .bar { height: 8px; border-radius: 4px; background: #e6ecf5; overflow: hidden; }
.mock-main .bar i { display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, #1a56db, #21c4de); transition: width 1.2s cubic-bezier(.2,.7,.3,1); }
.mock-main .ok { font-size: 13px; color: #0f9e60; font-weight: 600; margin-top: 10px; }
.mock-float { padding: 14px 18px; text-align: center; animation-duration: 6s; }
.mock-score { left: 0; top: 240px; animation-delay: .8s; }
.mock-score .num { font-size: 28px; font-weight: 900; color: #0f9e60; }
.mock-money { right: 0; top: 300px; animation-delay: 1.6s; animation-duration: 7s; }
.mock-money .num { font-size: 22px; font-weight: 900; color: #1a56db; }
.mock-float .lbl { font-size: 12px; color: #64748b; margin-top: 2px; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* 玻璃拟态统计条 */
.hero2-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.hero2-stat {
  border-radius: 14px; padding: 20px 26px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px); transition: transform .25s, background .25s;
}
.hero2-stat:hover { transform: translateY(-3px); background: rgba(255,255,255,.11); }
.hero2-stat .num { font-size: 32px; font-weight: 900; }
.hero2-stat .num em { font-style: normal; font-size: 15px; margin-left: 3px; color: #9fb4dd; }
.hero2-stat .lbl { font-size: 13px; color: #a9bbdf; margin-top: 4px; }

/* 政策跑马灯 */
.ticker-strip { background: #06122f; border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; position: relative; }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 15px 0; animation: tickerMove 40s linear infinite; }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c3d2f0; white-space: nowrap; }
.ticker-item .tdot { width: 6px; height: 6px; border-radius: 50%; background: #38bdf8; flex: none; }
.ticker-item a { color: inherit; }
.ticker-item a:hover { color: #7cc3ff; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 滚动渐入(全站区块) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.on { opacity: 1; transform: none; }

/* 卡片悬停增强(首页) */
.pain-card, .feature-card { transition: transform .25s, box-shadow .25s; }
.pain-card:hover, .feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(6,18,52,.12); }

@media (max-width: 960px) {
  .hero2-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero2-cards { min-height: 400px; max-width: 460px; }
  .hero2-stats { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2, .glow-a, .glow-b, .mock-card, .ticker-track, .rise { animation: none !important; }
  .rise { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #heroParticles { display: none; }
}

/* ========================================================================
   补舵 v7 — Policy operating system
   This final layer intentionally replaces the prior visual language while
   retaining the class contracts used by the static product pages.
   ======================================================================== */

:root {
  --ink: #f5f7fb;
  --ink-soft: #a5afbf;
  --ink-dim: #748095;
  --canvas: #0b0d11;
  --surface: #12161d;
  --surface-2: #181d26;
  --surface-3: #202735;
  --line: rgba(218, 229, 246, .13);
  --line-strong: rgba(218, 229, 246, .23);
  --primary: #82a5ff;
  --primary-deep: #b8cbff;
  --secondary: #5d7ee6;
  --good: #69d7ae;
  --good-weak: rgba(105, 215, 174, .11);
  --warn: #f7bd66;
  --danger: #ff7b85;
  --dark: #0b0d11;
  --muted: var(--ink-soft);
  --muted-2: var(--ink-dim);
  --shadow: 0 24px 64px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body {
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 84% -10%, rgba(62, 94, 161, .20), transparent 62%),
    radial-gradient(680px 360px at 2% 14%, rgba(49, 105, 102, .12), transparent 70%),
    var(--canvas);
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .2; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
a { color: inherit; text-decoration: none; }
a, button, select, input, textarea { -webkit-tap-highlight-color: transparent; }
button, .btn, .nav-link, .chip, .policy-card { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #a9c0ff; outline-offset: 3px; }
.container { width: min(1240px, calc(100% - 48px)); }
main { min-height: calc(100vh - 184px); }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(32px, 4vw, 58px); line-height: 1.12; }
h2 { font-size: clamp(23px, 2.5vw, 34px); line-height: 1.26; }
p, .muted { color: var(--ink-soft); }
.small { font-size: 12px; }
.eyebrow, .tag, .pchip, .lbl, .k, .footer-slogan { font-family: 'DM Mono', 'Noto Sans SC', monospace; letter-spacing: .08em; }
.eyebrow { color: var(--good); font-size: 11px; font-weight: 500; }
.eyebrow.dark { color: var(--primary); }

/* Global navigation */
.topbar { position: sticky; top: 0; z-index: 50; margin: 0; border-bottom: 1px solid var(--line); background: rgba(11, 13, 17, .78); backdrop-filter: blur(18px); }
.topbar-inner { min-height: 68px; gap: 24px; }
.brand { gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 29px; height: 29px; filter: drop-shadow(0 0 12px rgba(130,165,255,.3)); }
.brand-name { font-size: 20px; font-weight: 800; color: var(--ink); }
.brand-slogan { color: var(--ink-dim); font-size: 11px; border-left: 1px solid var(--line-strong); padding-left: 13px; }
.nav { gap: 4px; margin-left: auto; }
.nav-link { color: var(--ink-soft); font-size: 13px; font-weight: 600; padding: 7px 10px; border-radius: 6px; transition: color .2s ease, background .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: rgba(255,255,255,.07); }
.topbar-right { margin-left: 0; }
.nav-user, .cloud-chip { color: var(--ink-soft); font-size: 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; }

/* Reusable primitives */
.card { color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg, rgba(26,31,40,.93), rgba(17,21,28,.93)); box-shadow: none; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 16px 40px rgba(0,0,0,.16); }
.btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; color: var(--ink); font-weight: 700; font-size: 13px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); border-color: rgba(180,204,255,.55); background: rgba(129,165,255,.09); }
.btn-primary, .btn-hero-primary { border-color: #9eb9ff; color: #0b0d11; background: #a9c0ff; box-shadow: none; }
.btn-primary:hover, .btn-hero-primary:hover { color: #080a0e; background: #c1d1ff; border-color: #c1d1ff; }
.btn-good { background: var(--good); border-color: var(--good); color: #08231a; }
.btn-ghost, .btn-hero-ghost { color: var(--ink-soft); background: transparent; }
.btn-sm { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.section-title { margin: 74px 0 22px; display: flex; align-items: baseline; gap: 14px; color: var(--ink); }
.section-title::before { content: ''; width: 4px; height: 25px; border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--good)); }
.hint { color: var(--ink-dim); font-size: 12px; font-weight: 500; }
.tag, .dl, .st { border: 1px solid var(--line); color: var(--ink-soft); background: rgba(255,255,255,.03); border-radius: 4px; font-size: 10px; padding: 3px 7px; }
.tag-level, .g-ready, .dl-open, .ok { color: var(--good); border-color: rgba(105,215,174,.22); background: var(--good-weak); }
.g-gap, .dl-warn, .warn-c { color: var(--warn); }
.g-blocked, .dl-closed, .dl-danger, .bad { color: var(--danger); }
.good-c { color: var(--good); }
input, select, textarea, .chat-input input, #parkNameInput, #certName { color: var(--ink) !important; background: #0d1016 !important; border: 1px solid var(--line-strong) !important; border-radius: 6px !important; box-shadow: none !important; }
input::placeholder, textarea::placeholder { color: #687386; }
input:focus, select:focus, textarea:focus { border-color: #8eafff !important; box-shadow: 0 0 0 3px rgba(130,165,255,.13) !important; }

/* Home: policy command entry */
.hero2 { min-height: 625px; padding: 84px 0 44px; border-bottom: 1px solid var(--line); background: transparent; overflow: hidden; }
.hero2::after { content: 'BU DUO'; position: absolute; right: -2vw; bottom: -5vw; font-size: clamp(100px, 18vw, 290px); font-weight: 800; letter-spacing: .05em; color: rgba(255,255,255,.022); pointer-events: none; }
.hero2 .glow, #heroParticles { display: none; }
.hero2-grid { align-items: center; gap: clamp(32px, 6vw, 104px); }
.hero2-badge { display: inline-flex; color: var(--ink-soft); border: 1px solid var(--line-strong); background: rgba(105,215,174,.06); border-radius: 4px; padding: 6px 9px; font: 11px 'DM Mono', monospace; }
.hero2-badge .dot { background: var(--good); box-shadow: 0 0 0 4px rgba(105,215,174,.1); }
.hero2 h1 { max-width: 690px; margin: 20px 0; font-size: clamp(42px, 5.2vw, 74px); font-weight: 800; line-height: 1.08; }
.hero2 h1 .grad { color: #9ab6ff; background: none; -webkit-text-fill-color: currentColor; }
.hero2 .sub { max-width: 620px; font-size: 16px; line-height: 1.9; }
.hero2-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn-hero-primary, .btn-hero-ghost { display: inline-flex !important; align-items: center; min-height: 46px; padding: 11px 17px; border-radius: 6px; font-weight: 800; font-size: 14px; }
.btn-hero-ghost { border: 1px solid var(--line-strong); }
.hero2-cards { height: 390px; min-width: 390px; position: relative; }
.mock-card { border-radius: 9px; border: 1px solid var(--line-strong); color: var(--ink); background: linear-gradient(135deg, #1d2534, #121720); box-shadow: var(--shadow); }
.mock-main { width: min(390px, 100%); top: 52px; right: 0; padding: 25px; }
.mock-main h3 { font-size: 20px; margin: 18px 0 10px; }
.mock-main .meta, .mock-main .ok { color: var(--ink-soft); font-size: 12px; }
.mock-main .bar { background: rgba(255,255,255,.12); height: 5px; }
.mock-main .bar i { background: var(--good); }
.mock-float { backdrop-filter: none; background: #171d28; }
.mock-score { left: -32px; top: 10px; }.mock-money { left: -52px; bottom: 44px; }.mock-deadline { right: -18px; bottom: 9px; }
.mock-float .num { color: var(--ink); font-size: 24px; }.mock-float .lbl { color: var(--ink-dim); font-size: 10px; }
.hero2-stats { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero2-stat { padding: 18px 24px; border-color: var(--line); }
.hero2-stat .num { color: var(--ink); font-size: 29px; }.hero2-stat .num em { color: var(--primary); font-style: normal; font-size: 13px; }.hero2-stat .lbl { color: var(--ink-dim); }
.flash-bar { background: #0e1218; border-bottom: 1px solid var(--line); }.flash-tag { color: var(--good); }.flash-view a { color: var(--ink-soft); }.flash-idx { color: var(--ink-dim); }
.pain-grid, .feature-grid { gap: 12px; }.pain-card, .feature-card { min-height: 215px; padding: 22px; border-radius: 8px; }.pain-card .ico, .feature-card .ico { color: var(--primary); background: rgba(130,165,255,.10); border: 1px solid rgba(130,165,255,.16); border-radius: 5px; font: 12px 'DM Mono', monospace; }.pain-card h3, .feature-card h3 { font-size: 17px; margin-top: 20px; }.pain-card p, .feature-card p { font-size: 13px; }
.flow-strip { background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }.flow-step { color: var(--ink-soft); }.flow-step .n { color: #0b0d11; background: var(--primary); border-radius: 4px; }.flow-arrow { color: var(--ink-dim); }
.case-box { gap: 12px; }.case-box .card { padding: 28px; }.case-list li { border-color: var(--line); color: var(--ink-soft); }
.price-table { background: transparent; }.price-table th { color: var(--ink-soft); background: #171c24; }.price-table td, .price-table th { border-color: var(--line); }.price-table td { color: var(--ink-soft); }.price-table .p { color: var(--primary-deep); }.price-table tr:hover td { background: rgba(130,165,255,.06); }
.cta-band { border: 1px solid var(--line-strong); border-radius: 10px; background: linear-gradient(120deg, #172239, #121c22); box-shadow: var(--shadow); }.cta-band .sub, .cta-band .note { color: var(--ink-soft); }

/* Workspaces */
.dashboard-hero, .report-hero, .ops-head { border: 1px solid var(--line-strong); border-radius: 10px; background: linear-gradient(118deg, #151c29 0%, #11161d 60%, #142322 100%); box-shadow: var(--shadow); }
.dashboard-hero { margin-top: 32px; min-height: 230px; padding: 30px; }.dashboard-hero h1, .report-hero h1, .ops-head h1 { margin: 10px 0; color: var(--ink); }.dashboard-hero .eyebrow, .report-hero .eyebrow { color: var(--good); }.profile-chips { gap: 7px; }.pchip { color: var(--ink-soft); border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 4px; font-size: 10px; }.dashboard-actions { gap: 8px; }
.stat-grid { gap: 10px; }.stat-card { min-height: 126px; padding: 19px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: #121720; }.stat-card .lbl { color: var(--ink-dim); font-size: 10px; }.stat-card .num { margin-top: 8px; color: var(--ink); font-size: 29px; line-height: 1.16; }.stat-card .sub { color: var(--ink-soft); font-size: 12px; }.progress { background: rgba(255,255,255,.10); }.progress i { background: var(--good); }
.policy-grid { gap: 12px; }.policy-card { min-height: 300px; padding: 20px; border-radius: 8px; background: #121720; transition: transform .2s ease, border-color .2s ease, background .2s ease; }.policy-card:hover { transform: translateY(-3px); background: #171d28; border-color: rgba(160,188,255,.4); }.policy-card::after { display: none; }.pc-name { font-size: 17px; line-height: 1.45; }.pc-brief, .pc-meta, .pc-gap { color: var(--ink-soft); }.pc-amount { color: var(--good); }.ring-text { fill: var(--ink); }.stars { color: var(--warn); }
.filter-bar { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #10151d; }.seg { background: #0b0e13; border: 1px solid var(--line); }.seg button { color: var(--ink-soft); }.seg button.on { color: #0b0d11; background: var(--primary); }.chip { color: var(--ink-soft); border-color: var(--line); background: #121720; }.chip.on { color: #0a0d11; background: var(--primary); border-color: var(--primary); }
.detail-head { margin-top: 32px; border: 1px solid var(--line-strong); border-radius: 10px; background: linear-gradient(125deg,#182236,#121820); }.detail-head h1 { color: var(--ink); }.kv-strip { border-color: var(--line); }.kv { border-color: var(--line); }.kv .k { color: var(--ink-dim); }.kv .v { color: var(--ink); }.plain-item, .source-box, .notice { border-color: var(--line); color: var(--ink-soft); background: #121720; }.plain-item .q { color: var(--ink); }
.mat-table, .cond-table, .park-table, .ops-table { color: var(--ink-soft); background: #121720; }.mat-table th, .cond-table th, .park-table th, .ops-table th { color: var(--ink-soft); background: #191f29; }.mat-table td, .mat-table th, .cond-table td, .cond-table th, .park-table td, .park-table th, .ops-table td, .ops-table th { border-color: var(--line); }.mat-table tr:hover td, .cond-table tr:hover td, .park-table tr:hover td, .ops-table tr:hover td { background: rgba(130,165,255,.055); }
.kanban { gap: 10px; }.kb-col { border: 1px solid var(--line); background: #0f141b; }.kb-col h4 { color: var(--ink-soft); }.kb-card { border-color: var(--line); background: #171d27; }.kb-card:hover { border-color: var(--line-strong); }
.wizard { margin-top: 36px; }.wizard > h1, #page > h1, .container > h1 { color: var(--ink); }.wizard-steps, .wstep { border-color: var(--line); background: #10151c; }.wstep { color: var(--ink-dim); }.wstep.now { color: #0b0d11; background: var(--primary); }.wstep.done { color: var(--good); background: var(--good-weak); }.field label { color: var(--ink-soft); }.form-card { border-color: var(--line); background: #121720; }
.chat-box { border-color: var(--line); background: #11161e; }.msg.bot { color: var(--ink-soft); background: #1a202b; }.msg.user { color: #0b0d11; background: var(--primary); }.preset-qs .chip { background: #151b25; }

/* Report and operations */
.report-hero { margin-top: 32px; padding: 32px; }.report-hero p, .ops-head p { max-width: 700px; }.report-actions { gap: 8px; }.report-grid { gap: 12px; }.report-side { padding: 24px; background: #141a24; }.report-side h2 { font-size: 23px; }.report-form, .service-form { gap: 10px; }.service-card { padding: 30px; border-color: rgba(105,215,174,.24); background: linear-gradient(125deg, #121d22, #121720); }.ops-head { margin-top: 32px; padding: 29px; }.ops-tabs { gap: 6px; border-bottom-color: var(--line); }.ops-tabs button { color: var(--ink-dim); border-radius: 5px 5px 0 0; }.ops-tabs button.on { color: var(--ink); background: #1a2230; border-color: var(--line); }.ops-table-wrap { padding: 0; overflow: auto; }.ops-empty { padding: 32px; color: var(--ink-soft); }

.footer { margin-top: 80px; border-top: 1px solid var(--line); background: #0a0c10; }.footer-top { min-height: 110px; }.footer-brand strong { color: var(--ink); }.footer-slogan, .footer-links a { color: var(--ink-dim); }.footer-links a:hover { color: var(--ink); }
.toast { color: var(--ink); border: 1px solid var(--line-strong); background: #1a202b; box-shadow: var(--shadow); }

/* Retire the legacy decorative entrance effects. GSAP owns the new transitions. */
.rise, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
.case-box .card[style] { background: #121720 !important; }

/* ========================================================================
   补舵 v8 — clear, contemporary Chinese policy service
   A light editorial system: opportunity first, evidence second, action third.
   ======================================================================== */

:root {
  --ink: #18212b;
  --ink-2: #334250;
  --ink-soft: #647486;
  --ink-dim: #8b99a8;
  --canvas: #f4f7fa;
  --surface: #ffffff;
  --surface-2: #edf2f7;
  --surface-3: #e4ebf2;
  --line: #dce5ed;
  --line-strong: #c8d5e1;
  --primary: #1769aa;
  --primary-deep: #0f4677;
  --secondary: #4c90c5;
  --good: #17825c;
  --good-weak: #e8f6ef;
  --warn: #a96315;
  --danger: #c44e46;
  --dark: #172431;
  --muted: var(--ink-soft);
  --muted-2: var(--ink-dim);
  --shadow: 0 12px 32px rgba(26, 49, 70, .08);
}

html { background: var(--canvas); }
body {
  color: var(--ink); background: var(--canvas);
  font-family: 'Noto Sans SC', 'Microsoft YaHei UI', sans-serif;
  font-size: 15px; line-height: 1.72;
}
body::before { display: none; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: .01em; }
h1, .hero2 h1, .dashboard-hero h1, .report-hero h1, .ops-head h1 { font-family: 'Noto Serif SC', 'Songti SC', serif; }
h1 { font-weight: 700; }
p, .muted { color: var(--ink-soft); }
.container { width: min(1220px, calc(100% - 48px)); }
.eyebrow, .tag, .pchip, .lbl, .k, .footer-slogan { font-family: 'JetBrains Mono', 'Noto Sans SC', monospace; letter-spacing: .045em; }
.eyebrow { color: var(--primary); font-weight: 500; font-size: 10px; }
.eyebrow.dark { color: var(--primary); }

/* Navigation becomes a calm masthead instead of a floating dashboard bar. */
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.topbar-inner { min-height: 76px; gap: 22px; }
.brand { gap: 10px; }.brand-mark { width: 30px; height: 30px; filter: none; }.brand-name { color: var(--ink); font-size: 21px; letter-spacing: .04em; }.brand-slogan { color: var(--ink-dim); border-left-color: var(--line-strong); font-size: 11px; }
.nav { gap: 2px; margin-left: auto; }.nav-link { color: var(--ink-soft); padding: 8px 11px; border-radius: 5px; font-size: 13px; font-weight: 600; }.nav-link:hover { color: var(--primary-deep); background: #edf5fb; }.nav-link.active { color: var(--primary-deep); background: #e8f2fb; box-shadow: inset 0 -2px 0 var(--primary); }
.nav-user, .cloud-chip { color: var(--ink-soft); border-color: var(--line); background: #fff; border-radius: 5px; }

/* Core components: flatter, warmer and more legible. */
.card { color: var(--ink); border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: none; }
.card:hover { border-color: #b5c9da; box-shadow: var(--shadow); }
.btn { min-height: 40px; padding: 9px 15px; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 5px; background: #fff; font-size: 13px; font-weight: 700; box-shadow: none; }
.btn:hover { transform: translateY(-1px); color: var(--primary-deep); border-color: #8fb5d1; background: #f4f9fd; }
.btn-primary, .btn-hero-primary { color: #fff; border-color: var(--primary); background: var(--primary); }.btn-primary:hover, .btn-hero-primary:hover { color: #fff; border-color: var(--primary-deep); background: var(--primary-deep); }.btn-good { color: #fff; border-color: var(--good); background: var(--good); }.btn-ghost, .btn-hero-ghost { color: var(--ink-2); background: #fff; }
.btn-sm { min-height: 34px; }
.section-title { margin: 74px 0 24px; display: block; font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: clamp(24px, 2.5vw, 34px); }.section-title::before { display: inline-block; width: 28px; height: 3px; margin: 0 12px 9px 0; background: var(--primary); border-radius: 0; vertical-align: middle; }.hint { display: inline; color: var(--ink-dim); font-family: 'Noto Sans SC', sans-serif; font-size: 12px; font-weight: 500; }
.tag, .dl, .st { color: var(--ink-soft); border: 1px solid var(--line); border-radius: 4px; background: #f7f9fb; font-size: 10px; font-weight: 600; }.tag-level, .g-ready, .dl-open, .ok { color: var(--good); border-color: #c2e5d5; background: var(--good-weak); }.g-gap, .dl-warn, .warn-c { color: var(--warn); }.g-blocked, .dl-closed, .dl-danger, .bad { color: var(--danger); }.good-c { color: var(--good); }
input, select, textarea, .chat-input input, #parkNameInput, #certName { color: var(--ink) !important; border-color: var(--line-strong) !important; background: #fff !important; border-radius: 5px !important; }.field label { color: var(--ink-2); }.progress { background: #e6edf3; }.progress i { background: var(--good); }

/* Homepage: an editorial opening plus a practical opportunity sheet. */
.hero2 { min-height: 610px; padding: 76px 0 42px; border-bottom: 0; background: linear-gradient(120deg, #edf5fa 0%, #f8fbfd 55%, #eff6f4 100%); overflow: visible; }
.hero2::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }.hero2::after { content: '政策机会'; right: max(4vw, 38px); bottom: 8px; color: rgba(21,79,124,.055); font-family: 'Noto Serif SC', serif; font-size: clamp(64px, 12vw, 170px); letter-spacing: .08em; }
.hero2 .glow, #heroParticles { display: none; }.hero2-grid { gap: clamp(36px, 6vw, 94px); align-items: center; }.hero2-badge { color: var(--primary-deep); border-color: #c8dce9; border-radius: 4px; background: #fff; font: 11px 'JetBrains Mono', monospace; }.hero2-badge .dot { background: #d56a3d; box-shadow: none; }
.hero2 h1 { max-width: 660px; margin: 18px 0; color: var(--ink); font-size: clamp(42px, 5.2vw, 70px); line-height: 1.2; font-weight: 700; }.hero2 h1 .grad { color: var(--primary-deep); -webkit-text-fill-color: currentColor; }.hero2 .sub { max-width: 600px; color: var(--ink-soft); font-size: 16px; }.hero2-btns { gap: 9px; margin-top: 28px; }.btn-hero-primary, .btn-hero-ghost { min-height: 45px; border-radius: 5px; }
.hero2-cards { height: 376px; min-width: 400px; }.mock-card { color: var(--ink); border: 1px solid #cbd9e5; border-radius: 8px; background: #fff; box-shadow: 0 18px 38px rgba(38,71,95,.11); }.mock-main { padding: 24px; background: #fff; }.mock-main::before { content: '机会评估'; display: block; margin-bottom: 12px; color: var(--ink-dim); font: 10px 'JetBrains Mono', monospace; letter-spacing: .12em; }.mock-main h3 { color: var(--ink); font-family: 'Noto Serif SC', serif; }.mock-main .meta, .mock-main .ok { color: var(--ink-soft); }.mock-main .bar { background: #e6edf3; }.mock-main .bar i { background: var(--primary); }.mock-float { background: #fafdff; }.mock-float .num { color: var(--primary-deep); font-family: 'Noto Serif SC', serif; }.mock-float .lbl { color: var(--ink-dim); }.mock-score { left: -28px; top: 3px; }.mock-money { left: -48px; bottom: 43px; }.mock-deadline { right: -12px; bottom: 10px; }.mock-deadline .ico { color: var(--primary); }
.hero2-stats { margin-top: 53px; border-color: var(--line); background: rgba(255,255,255,.6); }.hero2-stat { border-color: var(--line); }.hero2-stat .num { color: var(--ink); font-family: 'Noto Serif SC', serif; }.hero2-stat .num em { color: var(--primary); }.hero2-stat .lbl { color: var(--ink-dim); }
.flash-bar { border-color: var(--line); background: #fff; }.flash-tag { color: var(--primary); }.flash-view a { color: var(--ink-2); }.flash-idx { color: var(--ink-dim); }
.pain-grid, .feature-grid { gap: 14px; }.pain-card, .feature-card { min-height: 220px; padding: 24px; border-radius: 8px; }.pain-card .ico, .feature-card .ico { color: var(--primary); border: 0; border-radius: 0; background: transparent; font: 11px 'JetBrains Mono', monospace; }.pain-card .ico::after, .feature-card .ico::after { content: ''; display: block; width: 25px; height: 2px; margin-top: 8px; background: #d8754b; }.pain-card h3, .feature-card h3 { color: var(--ink); margin-top: 24px; font-size: 17px; }.pain-card p, .feature-card p { color: var(--ink-soft); }
.flow-strip { border-color: var(--line); border-radius: 8px; background: #fff; }.flow-step { color: var(--ink-2); }.flow-step .n { color: #fff; border-radius: 4px; background: var(--primary); }.flow-arrow { color: #b7c4cf; }.case-box { gap: 14px; }.case-box .card { padding: 30px; background: #fff !important; }.case-list li { color: var(--ink-soft); border-color: var(--line); }.price-table { background: #fff; }.price-table th { color: var(--ink-2); background: #edf4f9; }.price-table td, .price-table th { border-color: var(--line); }.price-table td { color: var(--ink-2); }.price-table .p { color: var(--primary-deep); }.price-table tr:hover td { background: #f4f9fc; }.cta-band { border: 0; border-radius: 9px; background: var(--dark); box-shadow: var(--shadow); }.cta-band h2 { color: #fff; font-family: 'Noto Serif SC', serif; }.cta-band .sub, .cta-band .note { color: #b8c9d7; }

/* Task pages: page title explains context, then the working surface begins. */
.dashboard-hero, .report-hero, .ops-head { border: 1px solid #cbd8e4; border-radius: 9px; background: linear-gradient(115deg, #fff 0%, #f4f9fc 68%, #eef8f3 100%); box-shadow: none; }.dashboard-hero { margin-top: 32px; min-height: 210px; padding: 30px; }.dashboard-hero h1, .report-hero h1, .ops-head h1 { color: var(--ink); }.dashboard-hero .eyebrow, .report-hero .eyebrow { color: var(--primary); }.profile-chips { gap: 7px; }.pchip { color: var(--ink-soft); border-color: var(--line); background: #fff; border-radius: 4px; }.dashboard-actions { gap: 8px; }
.stat-grid { gap: 12px; }.stat-card { min-height: 130px; padding: 19px; border: 1px solid var(--line); background: #fff; }.stat-card .lbl { color: var(--ink-dim); }.stat-card .num { color: var(--ink); font-family: 'Noto Serif SC', serif; font-size: 29px; }.stat-card .sub { color: var(--ink-soft); }
.policy-grid { gap: 14px; }.policy-card { min-height: 304px; padding: 21px; border-radius: 8px; background: #fff; }.policy-card:hover { transform: translateY(-3px); border-color: #9dbcd2; background: #fff; }.policy-card::after { display: block; width: 70px; height: 70px; right: -25px; top: -25px; background: radial-gradient(circle, rgba(30,109,170,.09), transparent 70%); }.pc-name { color: var(--ink); font-family: 'Noto Serif SC', serif; font-size: 18px; }.pc-brief, .pc-meta, .pc-gap { color: var(--ink-soft); }.pc-amount { color: var(--good); }.ring-text { fill: var(--ink); }.stars { color: var(--warn); }
.filter-bar { border-color: var(--line); border-radius: 8px; background: #fff; }.seg { border-color: var(--line); background: #f3f6f9; }.seg button { color: var(--ink-soft); }.seg button.on { color: #fff; background: var(--primary); }.chip { color: var(--ink-soft); border-color: var(--line); background: #fff; }.chip.on { color: #fff; border-color: var(--primary); background: var(--primary); }
.detail-head { margin-top: 32px; border-color: #cbd8e4; border-radius: 9px; background: linear-gradient(120deg,#fff,#f0f7fb); }.detail-head h1 { color: var(--ink); font-family: 'Noto Serif SC', serif; }.kv-strip, .kv { border-color: var(--line); }.kv .k { color: var(--ink-dim); }.kv .v { color: var(--ink); }.plain-item, .source-box, .notice { color: var(--ink-soft); border-color: var(--line); background: #fff; }.plain-item .q { color: var(--ink); }
.mat-table, .cond-table, .park-table, .ops-table { color: var(--ink-2); background: #fff; }.mat-table th, .cond-table th, .park-table th, .ops-table th { color: var(--ink-soft); background: #edf3f7; }.mat-table td, .mat-table th, .cond-table td, .cond-table th, .park-table td, .park-table th, .ops-table td, .ops-table th { border-color: var(--line); }.mat-table tr:hover td, .cond-table tr:hover td, .park-table tr:hover td, .ops-table tr:hover td { background: #f5f9fc; }
.kanban { gap: 12px; }.kb-col { border-color: var(--line); background: #eef3f7; }.kb-col h4 { color: var(--ink-2); }.kb-card { border-color: var(--line); background: #fff; }.kb-card:hover { border-color: #9dbcd2; }
.wizard { margin-top: 35px; }.wizard > h1, #page > h1, .container > h1 { color: var(--ink); font-family: 'Noto Serif SC', serif; }.wizard-steps, .wstep { border-color: var(--line); background: #fff; }.wstep { color: var(--ink-dim); }.wstep.now { color: #fff; background: var(--primary); }.wstep.done { color: var(--good); background: var(--good-weak); }.form-card { border-color: var(--line); background: #fff; }.chat-box { border-color: var(--line); background: #fff; }.msg.bot { color: var(--ink-2); background: #eef4f8; }.msg.user { color: #fff; background: var(--primary); }.preset-qs .chip { background: #fff; }

.report-hero { margin-top: 32px; padding: 32px; }.report-side { padding: 25px; background: #fff; }.report-side h2 { color: var(--ink); font-family: 'Noto Serif SC', serif; }.service-card { border-color: #b8d8ca; background: linear-gradient(120deg,#fff,#f2faf6); }.ops-head { margin-top: 32px; padding: 30px; }.ops-tabs { gap: 4px; border-bottom-color: var(--line); }.ops-tabs button { color: var(--ink-dim); border-radius: 5px 5px 0 0; }.ops-tabs button.on { color: var(--primary-deep); border-color: var(--line); background: #fff; }.ops-table-wrap { padding: 0; }.ops-empty { color: var(--ink-soft); }

.footer { margin-top: 82px; border-top: 1px solid #263a4e; background: #172431; }.footer-brand strong { color: #fff; }.footer-slogan, .footer-links a { color: #afbfcd; }.footer-links a:hover { color: #fff; }.toast { color: #fff; border-color: #23394d; background: #172431; }

@media (max-width: 960px) { .brand-slogan { display: none; }.hero2 { padding-top: 58px; }.hero2-cards { min-width: 0; width: min(500px, 100%); }.nav { max-width: 50vw; overflow-x: auto; } }
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1220px); }.topbar-inner { min-height: 62px; flex-wrap: wrap; gap: 0; padding-top: 10px; }.topbar-right { margin-left: auto; }.topbar-right .btn { min-height: 34px; font-size: 11px; }.nav { display: flex; order: 3; width: 100%; max-width: none; margin: 9px -14px 0; padding: 0 14px 9px; border-top: 1px solid var(--line); }.nav-link { padding: 8px 9px; white-space: nowrap; }
  .hero2 { min-height: 0; padding: 45px 0 28px; }.hero2 h1 { font-size: 39px; }.hero2 .sub { font-size: 14px; }.hero2-cards { height: 286px; margin-top: 26px; }.mock-main { width: calc(100% - 18px); top: 30px; padding: 18px; }.mock-main h3 { font-size: 16px; }.mock-score { left: 0; }.mock-money { left: 2px; bottom: 18px; }.mock-deadline { right: 0; bottom: -5px; }.hero2-stat { padding: 12px 9px; }.hero2-stat .num { font-size: 21px; }.hero2-stat .lbl { font-size: 9px; }
  .section-title { margin-top: 54px; font-size: 26px; }.section-title::before { width: 22px; margin-bottom: 7px; }.hint { display: block; margin-top: 7px; }.dashboard-hero, .report-hero, .ops-head { margin-top: 18px; padding: 21px; }.dashboard-actions, .report-actions { margin-top: 17px; }.stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.stat-card { min-height: 112px; padding: 14px; }.stat-card .num { font-size: 23px; }.policy-grid, .feature-grid, .pain-grid, .report-grid { grid-template-columns: 1fr; }.policy-card { min-height: 0; }.service-card { padding: 22px; }.price-table { min-width: 650px; }.footer { margin-top: 56px; }
}

/* v9 Home is the brand stage; all task pages remain the calm service desk. */
html[data-page="index"] .topbar {
  border-bottom-color: rgba(255,255,255,.13);
  color: #fff;
  background: rgba(16, 33, 39, .94);
}
html[data-page="index"] .brand-name { color: #fff; }
html[data-page="index"] .brand-slogan { color: rgba(235,246,244,.58); border-left-color: rgba(255,255,255,.2); }
html[data-page="index"] .nav-link { color: rgba(235,246,244,.7); }
html[data-page="index"] .nav-link:hover, html[data-page="index"] .nav-link.active { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 -2px 0 #8bd0c4; }
html[data-page="index"] .nav-user { color: #e5f2ef; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); }
html[data-page="index"] .topbar-right .btn { color: #102127; border-color: #d9f0ec; background: #d9f0ec; }

html[data-page="index"] .hero2 {
  position: relative; color: #eff9f7; background: #102127;
}
html[data-page="index"] .hero2::before {
  top: 0; bottom: auto; height: 100%; opacity: .38; border: 0;
  background: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(255,255,255,.08);
}
html[data-page="index"] .hero2::after { content: 'BU DUO'; color: rgba(220,241,236,.045); bottom: -12px; }
html[data-page="index"] .hero2-badge { color: #bde8df; border-color: rgba(174,222,213,.28); background: rgba(255,255,255,.07); }
html[data-page="index"] .hero2-badge .dot { background: #e78156; }
html[data-page="index"] .hero2 h1 { color: #fff; }
html[data-page="index"] .hero2 h1 .grad { color: #9edfd2; }
html[data-page="index"] .hero2 .sub { color: rgba(231,245,242,.68); }
html[data-page="index"] .btn-hero-primary { color: #102127; border-color: #d6f0eb; background: #d6f0eb; }
html[data-page="index"] .btn-hero-primary:hover { color: #102127; background: #fff; border-color: #fff; }
html[data-page="index"] .btn-hero-ghost { color: #e8f5f3; border-color: rgba(255,255,255,.24); background: transparent; }
html[data-page="index"] .btn-hero-ghost:hover { color: #fff; background: rgba(255,255,255,.09); }
html[data-page="index"] .mock-card { border-color: rgba(171,206,201,.48); box-shadow: 0 24px 55px rgba(0,0,0,.3); }
html[data-page="index"] .mock-main { border-top: 3px solid #73bfb2; }
html[data-page="index"] .mock-main::before { color: #668082; }
html[data-page="index"] .mock-main .bar i { background: #238a79; }
html[data-page="index"] .mock-float { background: #edf9f6; }
html[data-page="index"] .mock-money { background: #fff7ee; border-color: #ead3b6; }
html[data-page="index"] .mock-money .num { color: #a25f1e; }
html[data-page="index"] .hero2-stats { border-color: rgba(255,255,255,.15); background: transparent; }
html[data-page="index"] .hero2-stat { border-color: rgba(255,255,255,.15); }
html[data-page="index"] .hero2-stat .num { color: #fff; }
html[data-page="index"] .hero2-stat .num em { color: #9edfd2; }
html[data-page="index"] .hero2-stat .lbl { color: rgba(224,243,239,.54); }

/* The hero's working visual: a complete policy navigation map, not a decorative empty card. */
html[data-page="index"] .hero2-grid { grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr); }
html[data-page="index"] .hero2 h1 { max-width: 650px; font-family: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', SimSun, serif; font-size: clamp(43px, 4.7vw, 68px); line-height: 1.25; letter-spacing: .035em; }
html[data-page="index"] .hero2-cards::before {
  content: ''; position: absolute; width: 292px; height: 292px; right: 9px; top: 36px; z-index: 0;
  opacity: .2; background: center / contain no-repeat url('../assets/buduo-mark.svg');
  animation: buduo-mark-drift 9s ease-in-out infinite;
}
html[data-page="index"] .mock-main {
  z-index: 1; min-height: 320px; display: flex; align-items: flex-end; overflow: hidden;
  border: 1px solid rgba(165,221,209,.44); border-top: 3px solid #80d1c1; background: #17343a;
}
html[data-page="index"] .mock-main::before {
  position: absolute; top: 25px; left: 25px; color: #a4d7ce; content: 'BU DUO / POLICY MAP';
  font: 10px 'JetBrains Mono', monospace; letter-spacing: .12em;
}
html[data-page="index"] .mock-main::after {
  content: '优先推进\A 03 项机会\A\A 待补条件 06 项\A 材料就绪 82%';
  white-space: pre-line; position: relative; display: block; width: 100%; padding: 26px;
  color: #f6fffd; font-family: 'Noto Serif SC', 'STSong', SimSun, serif; font-size: 26px; line-height: 1.32; letter-spacing: .035em;
  border-top: 1px solid rgba(203,242,234,.18); background: rgba(6,26,30,.28);
}
html[data-page="index"] .mock-main .tags, html[data-page="index"] .mock-main h3, html[data-page="index"] .mock-main .meta, html[data-page="index"] .mock-main .bar, html[data-page="index"] .mock-main .ok { display: none; }
html[data-page="index"] .mock-score { z-index: 2; top: -2px; left: -26px; background: #e4f7f1; }
html[data-page="index"] .mock-score .num { color: #116f5d; }
html[data-page="index"] .mock-money { z-index: 2; left: -42px; bottom: 35px; }
html[data-page="index"] .mock-deadline { z-index: 2; right: -20px; bottom: 15px; background: #fff; }
@keyframes buduo-mark-drift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { html[data-page="index"] .hero2-cards::before { animation: none; } }

@media (max-width: 720px) {
  html[data-page="index"] .nav { border-top-color: rgba(255,255,255,.13); }
  html[data-page="index"] .hero2 { padding-top: 46px; }
  html[data-page="index"] .hero2-grid { grid-template-columns: 1fr; }
  html[data-page="index"] .mock-main { min-height: 245px; }
  html[data-page="index"] .mock-main::after { padding: 19px; font-size: 20px; }
}

@media (max-width: 960px) {
  .brand-slogan { display: none; }
  .hero2 { padding-top: 62px; }.hero2-cards { min-width: 0; width: min(500px, 100%); margin: 8px auto 0; }
  .nav { overflow-x: auto; max-width: 48vw; }.nav-link { white-space: nowrap; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1240px); }.topbar-inner { min-height: 58px; gap: 10px; }.brand-name { font-size: 18px; }.nav { display: none; }.topbar-right { margin-left: auto; }.topbar-right .btn { min-height: 33px; padding: 5px 8px; font-size: 11px; }
  .hero2 { padding: 52px 0 26px; min-height: 0; }.hero2 h1 { font-size: 40px; }.hero2 .sub { font-size: 14px; }.hero2-cards { height: 292px; margin-top: 26px; }.mock-main { top: 34px; padding: 18px; width: calc(100% - 20px); }.mock-main h3 { font-size: 16px; }.mock-score { left: -2px; }.mock-money { left: 3px; bottom: 20px; }.mock-deadline { right: 0; bottom: -6px; }.hero2-stats { margin-top: 30px; }.hero2-stat { padding: 12px; }.hero2-stat .num { font-size: 22px; }.hero2-stat .lbl { font-size: 10px; }
  .section-title { margin-top: 52px; align-items: flex-start; gap: 9px; flex-direction: column; }.section-title::before { display: none; }.hint { display: block; }.dashboard-hero, .report-hero, .ops-head { margin-top: 18px; padding: 21px; }.dashboard-hero { display: block; }.dashboard-actions, .report-actions { margin-top: 17px; }.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stat-card { min-height: 114px; padding: 14px; }.stat-card .num { font-size: 23px; }.policy-grid, .feature-grid, .pain-grid { grid-template-columns: 1fr; }.policy-card { min-height: 0; }.report-grid { grid-template-columns: 1fr; }.service-card { padding: 22px; }.price-table { min-width: 650px; }.footer { margin-top: 56px; }.footer-top { padding: 26px 0; align-items: flex-start; gap: 18px; }.footer-links { gap: 12px; flex-wrap: wrap; }
}

/* Growth and operations surfaces */
.report-hero { margin-top: 28px; padding: 34px; border-radius: 14px; color: #fff; display:flex; justify-content:space-between; gap:24px; align-items:flex-end; background:linear-gradient(135deg,#030712,#0f2346); box-shadow:var(--shadow-strong); }
.report-hero h1 { margin:5px 0 10px; font-size:clamp(32px,4.2vw,52px); }
.report-hero p { max-width:720px; color:#cbd5e1; }
.report-actions { display:flex; gap:10px; flex-wrap:wrap; }
.report-actions .btn-ghost { background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.24); }
.report-stats { margin-top:18px; }
.report-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(300px,.75fr); gap:20px; align-items:start; }
.report-side { margin-top:42px; position:sticky; top:94px; }
.report-side h2,.service-card h2 { margin:8px 0; font-size:23px; }
.eyebrow.dark { color:var(--accent-2); }
.report-form,.service-form { display:grid; gap:10px; margin-top:18px; }
.report-form input,.report-form select,.service-form input,.service-form select,.service-form textarea { width:100%; min-height:42px; padding:10px 12px; border:1px solid var(--line); border-radius:8px; background:#fff; font:inherit; color:var(--ink); }
.service-form textarea { min-height:84px; resize:vertical; }
.service-card { margin:42px 0 10px; display:grid; grid-template-columns:1fr minmax(300px,.9fr); gap:28px; background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(227,248,239,.8)); }
.service-form { margin-top:0; }
.ops-head { margin-top:28px; padding:30px; border-radius:14px; color:#fff; background:linear-gradient(135deg,#030712,#10294c); display:flex; justify-content:space-between; gap:18px; align-items:flex-end; }
.ops-head h1 { margin:6px 0 0; }
.ops-tabs { display:flex; gap:8px; margin:24px 0 12px; flex-wrap:wrap; }
.ops-tabs button { min-height:38px; border:1px solid var(--line); border-radius:8px; padding:0 14px; background:#fff; color:var(--ink); font:inherit; font-weight:700; cursor:pointer; }
.ops-tabs button.on { background:var(--dark); color:#fff; border-color:var(--dark); }
.ops-table-wrap { overflow:auto; }
.ops-table { width:100%; border-collapse:collapse; min-width:760px; }
.ops-table th,.ops-table td { padding:12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.ops-table th { color:var(--muted); font-size:12px; }
.ops-table select { min-height:34px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:4px 8px; font:inherit; }
.ops-empty { padding:30px; text-align:center; color:var(--muted); }
@media (max-width:900px) { .report-grid,.service-card { grid-template-columns:1fr; } .report-side { position:static; margin-top:0; } .report-hero,.ops-head { align-items:flex-start; flex-direction:column; } }

/* ---------- 页脚 v2(按 Figma 设计:品牌行 + 快捷导航 + 单行说明) ---------- */
.footer { padding: 30px 0 24px; }
.footer-top { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 260px; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-slogan { color: #7f8fb4; font-size: 13px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #b7c4e0; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-line { height: 1px; background: rgba(255,255,255,.08); margin: 18px 0 14px; }
.footer-bottom { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; color: #66779e; font-size: 12px; }

/* ---------- Hero 浮动卡片层叠构图 v2 + 截止提醒胶囊(按 Figma 稿) ---------- */
.mock-main { left: 12%; top: 64px; width: 76%; }
.mock-money { right: 2%; top: 16px; }
.mock-score { left: 0; top: 250px; }
.mock-deadline {
  display: none; align-items: center; gap: 8px;
  right: 5%; top: 342px; padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #b45309;
  animation-duration: 5.5s; animation-delay: 2.2s;
}
.mock-deadline .ico { color: #d97706; }

/* ---------- 转化 CTA 区块(按 Figma 稿) ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px;
  margin: 44px 0 64px; padding: 58px 30px; text-align: center; color: #fff;
  background: linear-gradient(115deg, #0f2a6b, #1a52cc 55%, #158cd9);
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(77, 217, 255, .18); filter: blur(110px); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin-bottom: 10px; }
.cta-band .sub { color: #cfe0fb; font-size: 15px; margin-bottom: 24px; }
.cta-band .note { color: #b3c8ec; font-size: 12.5px; margin-top: 14px; }

/* ============================================================
 * 品牌 v2 · 补贴雷达:深空靛蓝 + 荧光青(雷达绿)
 * Hero 升级动效:雷达扫描 / 网格底纹 / 标题流光 / 徽章脉冲
 * ============================================================ */
.hero2 { background: linear-gradient(130deg, #070522 0%, #151040 55%, #2b2483 100%); background-size: 180% 180%; }
.hero2::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(139,156,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(139,156,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 78%);
}
.hero2 .glow-a { background: rgba(99, 102, 241, .4); }
.hero2 .glow-b { background: rgba(34, 211, 238, .2); }
.hero2 h1 .grad {
  background: linear-gradient(92deg, #8b9cff 0%, #34f5c6 55%, #22d3ee 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  /* 必须与 .rise 的入场动画合并声明:单写 shimmer 会覆盖 riseIn,导致本行永远停在 opacity:0 */
  animation: riseIn .7s cubic-bezier(.2,.7,.3,1) .3s forwards, shimmer 7s linear infinite;
}
@keyframes shimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
.hero2-badge .dot { background: #34f5c6; box-shadow: 0 0 10px #34f5c6; position: relative; }
.hero2-badge .dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(52, 245, 198, .7); animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(2.3); opacity: 0; } }
.btn-hero-primary { color: #312e81; box-shadow: 0 10px 30px rgba(99, 102, 241, .45); }
.btn-hero-primary:hover { box-shadow: 0 16px 42px rgba(99, 102, 241, .6); }
.mock-main .bar i { background: linear-gradient(90deg, #4f46e5, #22d3ee); }

/* 雷达扫描盘(右侧卡片区背后) */
.hero2-cards::after {
  content: ''; position: absolute; left: 50%; top: 46%; width: 560px; height: 560px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: -1;
  border: 1px solid rgba(139, 156, 255, .16);
  background:
    radial-gradient(circle, transparent 0 31%, rgba(139,156,255,.12) 31.5% 32%, transparent 32.5% 55%, rgba(139,156,255,.12) 55.5% 56%, transparent 56.5% 79%, rgba(139,156,255,.1) 79.5% 80%, transparent 80.5%);
}
.hero2-cards::before {
  content: ''; position: absolute; left: 50%; top: 46%; width: 560px; height: 560px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: -1;
  background: conic-gradient(from 0deg, rgba(52, 245, 198, .3), rgba(52, 245, 198, 0) 22%, transparent 65%);
  animation: radarSweep 6.5s linear infinite; opacity: .55;
}
@keyframes radarSweep { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero2-cards { z-index: 0; }

/* 雷达快讯:单条轮播(取代跑马灯) */
.flash-bar { background: #0a0726; border-top: 1px solid rgba(255, 255, 255, .06); }
.flash-inner { display: flex; align-items: center; gap: 16px; height: 54px; }
.flash-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #34f5c6; letter-spacing: 2px; white-space: nowrap; }
.flash-tag .fdot { width: 7px; height: 7px; border-radius: 50%; background: #34f5c6; box-shadow: 0 0 8px #34f5c6; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 50% { opacity: .35; } }
.flash-view { position: relative; flex: 1; height: 100%; overflow: hidden; }
.flash-item {
  position: absolute; inset: 0; display: flex; align-items: center;
  font-size: 13.5px; color: #c9d5f2; opacity: 0; transform: translateY(15px);
  transition: opacity .45s ease, transform .45s ease; pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.flash-item.on { opacity: 1; transform: none; pointer-events: auto; }
.flash-item.out { opacity: 0; transform: translateY(-15px); }
.flash-item a:hover { color: #7ff0d4; }
.flash-idx { font-size: 12px; color: #5d6b96; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* CTA 区块配色随品牌 */
.cta-band { background: linear-gradient(115deg, #241d63, #4338ca 55%, #0891b2); }

@media (prefers-reduced-motion: reduce) {
  .hero2-cards::before, .hero2 h1 .grad, .hero2-badge .dot::after, .flash-tag .fdot { animation: none !important; }
}

/* ============================================================
 * 园区版（park.html）：名录表格 / 热度榜 / 服务报告打印
 * ============================================================ */
#parkNameInput { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; flex: 1; min-width: 200px; }
#parkNameInput:focus { outline: 2px solid var(--primary-weak); border-color: var(--primary); }

.hot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.hot-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; text-decoration: none; color: inherit; }
.hot-card:hover { border-color: var(--primary); }
.hot-rank {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-weak); color: var(--primary-deep); font-weight: 800; font-size: 14px;
}
.hot-card:first-child .hot-rank { background: var(--primary); color: #fff; }
.hot-main { min-width: 0; }
.hot-name { font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.hot-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; margin-top: 5px; }
.hot-meta .ok { color: var(--good); font-weight: 600; }
.hot-meta .chk { color: var(--warn); }

.park-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 700px; }
.park-table th, .park-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.park-table th { font-size: 13px; color: var(--muted); background: var(--bg); white-space: nowrap; }
.park-row { cursor: pointer; }
.park-row:hover td, .park-row.open td { background: var(--primary-weak); }
.co-name { font-weight: 700; }
.co-sub { font-size: 12.5px; margin-top: 3px; }
.park-detail td { background: var(--bg); padding: 12px 18px; }
.pd-list { display: flex; flex-direction: column; gap: 8px; }
.pd-item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.pd-score { flex: 0 0 auto; min-width: 44px; text-align: center; font-weight: 800; color: var(--primary-deep); background: var(--primary-weak); border-radius: 7px; padding: 3px 6px; font-size: 12.5px; }
.pd-name { font-weight: 600; color: inherit; text-decoration: none; }
.pd-name:hover { color: var(--primary); }
.pd-gap { color: var(--warn); font-size: 12.5px; }

/* 报告仅在打印时可见 */
#parkReport { display: none; }
@media print {
  body.printing-report #parkApp, body.printing-report .park-landing { display: none !important; }
  body.printing-report #parkReport { display: block; }
  #parkReport { font-size: 12.5px; color: #111; }
  #parkReport .rp-cover { text-align: center; margin: 6px 0 20px; border-bottom: 2px solid #333; padding-bottom: 14px; }
  #parkReport .rp-cover h1 { font-size: 22px; }
  #parkReport h2 { font-size: 16px; margin: 18px 0 8px; }
  #parkReport h3 { font-size: 14px; margin: 0 0 4px; }
  #parkReport h4 { font-size: 12.5px; margin: 8px 0 4px; color: #333; }
  #parkReport .rp-table { width: 100%; border-collapse: collapse; margin: 4px 0 8px; }
  #parkReport .rp-table th, #parkReport .rp-table td { border: 1px solid #bbb; padding: 5px 8px; text-align: left; }
  #parkReport .rp-table th { background: #f0f2f7; font-size: 12px; }
  #parkReport .rp-co { break-inside: avoid; margin-bottom: 14px; padding-top: 6px; border-top: 1px dashed #ccc; }
  #parkReport .rp-foot { margin-top: 16px; font-size: 11px; }
}

/* ============================================================
 * Premium UI layer v5
 * High-end enterprise SaaS surface for policy matching workflows.
 * ============================================================ */
:root {
  --primary: #5e6ad2;
  --primary-deep: #312e81;
  --primary-weak: #eef2ff;
  --accent: #0f9f8f;
  --accent-weak: #dcfaf4;
  --ink: #0b1120;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #dbe3ef;
  --bg: #f5f7fb;
  --card: rgba(255,255,255,.88);
  --good: #087f5b;
  --good-weak: #e5f7ef;
  --warn: #b86b00;
  --warn-weak: #fff4df;
  --bad: #c0262d;
  --bad-weak: #feecec;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 18px 48px rgba(15,23,42,.08);
  --shadow-strong: 0 26px 70px rgba(15,23,42,.15);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(94,106,210,.12), transparent 32vw),
    radial-gradient(circle at 92% 8%, rgba(15,159,143,.12), transparent 30vw),
    linear-gradient(180deg, #f8fbff 0%, #eef3fa 48%, #f7f9fc 100%);
  color: var(--ink);
  font-feature-settings: "ss01", "tnum";
}
main { padding-top: 4px; }
.container { max-width: 1200px; }

.topbar {
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(219,227,239,.72);
  box-shadow: 0 12px 36px rgba(15,23,42,.06);
  backdrop-filter: blur(18px) saturate(1.3);
}
.topbar-inner { height: 68px; }
.brand-name {
  color: var(--ink);
  letter-spacing: 0;
}
.brand svg {
  filter: drop-shadow(0 10px 20px rgba(94,106,210,.25));
}
.brand-mark {
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 18px rgba(52,211,153,.18));
}
.brand-slogan { color: #667085; }
.nav { justify-content: center; }
.nav-link {
  position: relative;
  border-radius: 8px;
  color: #475467;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-link:hover {
  background: rgba(94,106,210,.08);
  color: var(--primary-deep);
  transform: translateY(-1px);
}
.nav-link.active {
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 28px rgba(17,24,39,.2);
}
.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 40px;
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0891b2);
  box-shadow: 0 14px 28px rgba(94,106,210,.24);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4f58bd, #087f8f);
  box-shadow: 0 18px 36px rgba(94,106,210,.3);
}
.btn-ghost {
  background: rgba(255,255,255,.72);
  border-color: rgba(219,227,239,.9);
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(94,106,210,.45);
}

.card {
  position: relative;
  background: var(--card);
  border-color: rgba(219,227,239,.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(1.15);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border-top: 1px solid rgba(255,255,255,.76);
}
.section-title {
  margin-top: 42px;
  color: #111827;
  letter-spacing: 0;
}
.section-title::before {
  content: "";
  width: 8px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  box-shadow: 0 8px 18px rgba(94,106,210,.24);
}
.section-title .hint { color: var(--muted); }

.hero2 {
  background:
    radial-gradient(circle at 18% 20%, rgba(52,245,198,.18), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(94,106,210,.45), transparent 30%),
    linear-gradient(135deg, #050816 0%, #0f1230 48%, #141b3d 100%);
}
.hero2 .container {
  padding-top: 74px;
  padding-bottom: 62px;
}
.hero2 h1 {
  font-weight: 850;
  letter-spacing: 0;
}
.hero2 .sub {
  max-width: 620px;
  color: #c9d3ea;
}
.hero2-badge {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.mock-card {
  border: 1px solid rgba(219,227,239,.9);
  box-shadow: 0 30px 80px rgba(2,6,23,.44);
}
.mock-main {
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.mock-main h3 { letter-spacing: 0; }
.mock-float {
  border-radius: 12px;
}
.hero2-stat {
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.dashboard-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding: 26px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11,17,32,.96), rgba(30,41,59,.94)),
    radial-gradient(circle at 88% 18%, rgba(15,159,143,.35), transparent 34%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.dashboard-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(94,106,210,.34);
  filter: blur(90px);
  pointer-events: none;
}
.dashboard-hero > * {
  position: relative;
  z-index: 1;
}
.dashboard-hero .eyebrow {
  color: #9fe7dd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 8px;
}
.dashboard-hero h1 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0;
}
.dashboard-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dashboard-hero .btn-ghost {
  background: rgba(255,255,255,.1);
  color: #f8fafc;
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}
.dashboard-hero .btn-ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.34);
}
.profile-chips {
  gap: 10px;
}
.pchip {
  background: rgba(255,255,255,.1);
  color: #dbeafe;
  border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}

.stat-grid { gap: 16px; }
.stat-card {
  min-height: 132px;
  overflow: hidden;
}
.stat-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(94,106,210,.08);
}
.stat-card .lbl {
  color: #667085;
  font-weight: 650;
}
.stat-card .num {
  color: #151a42;
  font-size: 28px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.progress {
  background: #e7edf6;
}
.progress > i {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.reminder {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.policy-card {
  border-radius: 12px;
  min-height: 268px;
}
.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15,23,42,.12);
  border-color: rgba(94,106,210,.42);
}
.pc-name {
  color: #111827;
  letter-spacing: 0;
}
.pc-amount {
  color: var(--good);
  font-variant-numeric: tabular-nums;
}
.tag {
  border-color: rgba(219,227,239,.9);
  background: #f8fafc;
}
.tag-level {
  background: var(--primary-weak);
  color: var(--primary-deep);
}
.g-ready {
  background: var(--good-weak);
  color: var(--good);
}
.g-gap {
  background: var(--warn-weak);
  color: var(--warn);
}
.ring circle:last-of-type {
  filter: drop-shadow(0 5px 10px rgba(94,106,210,.22));
}

.filter-bar {
  position: sticky;
  top: 82px;
  z-index: 20;
  padding: 12px;
  border: 1px solid rgba(219,227,239,.88);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 12px 32px rgba(15,23,42,.06);
}
.filter-bar select,
.filter-bar input[type="number"],
.field input,
.field select,
.chat-input input,
#parkNameInput,
.upload-inline input[type="date"] {
  min-height: 40px;
  border-radius: 8px;
  border-color: rgba(203,213,225,.95);
  box-shadow: inset 0 1px 2px rgba(15,23,42,.03);
}
.filter-bar select:focus,
.filter-bar input:focus,
.field input:focus,
.field select:focus,
.chat-input input:focus,
#parkNameInput:focus {
  outline: 3px solid rgba(94,106,210,.16);
  border-color: var(--primary);
}
.seg {
  border-radius: 8px;
  background: #f8fafc;
}
.seg button.on {
  background: #111827;
  color: #fff;
}

.kanban {
  gap: 12px;
}
.kb-col {
  background: rgba(241,245,249,.78);
  border: 1px solid rgba(219,227,239,.88);
  border-radius: 12px;
}
.kb-col h4 {
  color: #475467;
}
.kb-card {
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.price-table th,
.mat-table th,
.park-table th,
.cond-table th {
  background: #f1f5f9;
  color: #475467;
}
.price-table th,
.price-table td,
.mat-table th,
.mat-table td,
.park-table th,
.park-table td,
.cond-table th,
.cond-table td {
  border-color: rgba(219,227,239,.9);
}

.msg.user {
  background: linear-gradient(135deg, var(--primary), #0891b2);
}
.msg.bot {
  border-color: rgba(219,227,239,.9);
  box-shadow: var(--shadow);
}
.cta-band {
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
}

@media (max-width: 900px) {
  .topbar-inner { gap: 12px; }
  .nav { justify-content: flex-start; }
  .filter-bar { top: 92px; }
  .dashboard-hero {
    padding: 22px;
    align-items: flex-start;
  }
  .dashboard-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero2 .container { padding-top: 48px; }
  .hero2-cards { min-height: 360px; transform: scale(.92); transform-origin: left top; }
  .stat-grid { grid-template-columns: 1fr; }
  .dashboard-hero { border-radius: 14px; }
  .filter-bar { position: relative; top: auto; }
  .seg { width: 100%; overflow-x: auto; }
}

/* ============================================================
 * Full redesign v6
 * Atlas-grade command interface: typography, motion, pages, forms.
 * ============================================================ */
:root {
  --primary: #1e40af;
  --primary-deep: #12245f;
  --primary-weak: #e7efff;
  --secondary: #2563eb;
  --accent: #d97706;
  --accent-2: #0f766e;
  --accent-weak: #fff5df;
  --ink: #07111f;
  --muted: #5c6b80;
  --muted-2: #8b9ab0;
  --line: rgba(148,163,184,.32);
  --bg: #f7f9fc;
  --card: rgba(255,255,255,.86);
  --dark: #07111f;
  --dark-2: #0d1b2f;
  --good: #047857;
  --good-weak: #e3f8ef;
  --warn: #b45309;
  --warn-weak: #fff3da;
  --bad: #be123c;
  --bad-weak: #ffe8ee;
  --radius: 10px;
  --shadow: 0 1px 1px rgba(15,23,42,.04), 0 18px 46px rgba(15,23,42,.1);
  --shadow-strong: 0 34px 90px rgba(7,17,31,.2);
  --font-ui: "Plus Jakarta Sans", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*::selection {
  color: #fff;
  background: var(--primary);
}
body {
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(7,17,31,.035), transparent 320px),
    radial-gradient(circle at 10% -8%, rgba(37,99,235,.18), transparent 30vw),
    radial-gradient(circle at 86% 4%, rgba(217,119,6,.13), transparent 28vw),
    #f7f9fc;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30,64,175,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,64,175,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}
body::after {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: 46vw;
  height: 46vw;
  min-width: 520px;
  min-height: 520px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(30,64,175,.18), rgba(15,118,110,.1), rgba(217,119,6,.12), rgba(30,64,175,.18));
  filter: blur(80px);
  animation: atlasDrift 18s ease-in-out infinite alternate;
}
@keyframes atlasDrift {
  from { transform: translate3d(0,0,0) rotate(0deg); opacity: .72; }
  to { transform: translate3d(-8vw,8vh,0) rotate(26deg); opacity: .95; }
}

h1, h2, h3, .brand-name, .pc-name, .stat-card .num, .hero2 h1 {
  font-family: var(--font-ui);
  letter-spacing: 0;
}
h1 {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 850;
}
h2, .section-title {
  font-weight: 800;
}

.topbar {
  background: rgba(247,249,252,.82);
  border-bottom: 1px solid rgba(148,163,184,.26);
}
.topbar-inner {
  height: 72px;
}
.brand {
  min-width: max-content;
}
.brand-name {
  font-size: 22px;
  font-weight: 900;
}
.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
}
.nav-link.active {
  background: linear-gradient(135deg, var(--dark), #1f2a44);
}
.nav-user {
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  font-weight: 650;
}

.btn,
.chip,
.seg button,
.kb-ops button {
  transform: translateZ(0);
}
.btn:active,
.chip:active,
.seg button:active,
.kb-ops button:active {
  transform: translateY(1px) scale(.99);
}
.btn-primary,
.btn-good {
  border: 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent),
    linear-gradient(135deg, var(--primary), var(--secondary) 54%, var(--accent-2));
}
.btn-good {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent),
    linear-gradient(135deg, #047857, #0f766e);
}
.btn-ghost {
  color: #1e293b;
}

.card,
.policy-card,
.modal,
.source-box,
.notice,
.plain-item {
  animation: atlasRise .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes atlasRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.card {
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.78)),
    rgba(255,255,255,.78);
  border: 1px solid rgba(148,163,184,.28);
}
.card:hover {
  border-color: rgba(30,64,175,.28);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  margin-bottom: 16px;
}
.section-title::before {
  flex: 0 0 auto;
  width: 6px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}
.section-title .hint {
  margin-left: 2px;
}

.hero2 {
  min-height: 680px;
  background:
    radial-gradient(circle at 15% 20%, rgba(217,119,6,.18), transparent 24%),
    radial-gradient(circle at 70% 18%, rgba(37,99,235,.38), transparent 28%),
    linear-gradient(135deg, #030712 0%, #07111f 45%, #0f2346 100%);
}
.hero2::before {
  background-image:
    linear-gradient(rgba(255,255,255,.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.052) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero2 h1 {
  max-width: 680px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.04;
}
.hero2 h1 .grad {
  background: linear-gradient(90deg, #ffffff 0%, #bfdbfe 42%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero2 .sub {
  font-size: 18px;
  line-height: 1.78;
}
.hero2-badge {
  min-height: 38px;
  color: #dbeafe;
}
.btn-hero-primary,
.btn-hero-ghost {
  min-height: 48px;
  border-radius: 9px;
  font-weight: 800;
}
.btn-hero-primary {
  background: #fff;
  color: #0f2346;
}
.btn-hero-ghost {
  background: rgba(255,255,255,.08);
}
.mock-card {
  border-radius: 14px;
}
.mock-main {
  width: 80%;
  padding: 24px;
}
.flash-bar {
  background: #07111f;
}
.flash-inner {
  height: 58px;
}
.flash-tag {
  color: #fbbf24;
}
.flash-tag .fdot {
  background: #fbbf24;
  box-shadow: 0 0 16px #fbbf24;
}

.wizard {
  max-width: 920px;
}
.wizard > h1,
#page > h1,
.container > h1 {
  margin-top: 30px !important;
  padding: 24px 28px 0;
}
.wizard > p,
#page > p,
.container > p.muted {
  padding-left: 28px;
  padding-right: 28px;
}
.wizard-steps {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(148,163,184,.24);
  box-shadow: 0 12px 36px rgba(15,23,42,.06);
}
.wstep {
  border: 0;
  border-radius: 9px;
}
.wstep.now {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.wstep.done {
  color: var(--good);
  background: var(--good-weak);
}
.field label {
  color: #1e293b;
  font-weight: 750;
}
.field input,
.field select,
.chat-input input,
#parkNameInput,
#certName {
  background: rgba(255,255,255,.9) !important;
  border-radius: 9px !important;
}
.chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(30,64,175,.38);
}
.chip.on {
  background: #07111f;
  border-color: #07111f;
}

.dashboard-hero {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(7,17,31,.96), rgba(15,35,70,.95)),
    radial-gradient(circle at 82% 22%, rgba(217,119,6,.42), transparent 32%);
}
.dashboard-hero .eyebrow {
  color: #fbbf24;
}
.dashboard-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
}
.dashboard-hero .pchip {
  color: #eaf2ff;
}
.stat-card {
  border-left: 1px solid rgba(30,64,175,.16);
}
.stat-card .num {
  font-size: clamp(26px, 2.5vw, 34px);
}
.stat-card:hover::after {
  transform: scale(1.25);
}
.policy-grid {
  gap: 18px;
}
.policy-card {
  overflow: hidden;
}
.policy-card::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -72px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,64,175,.1), transparent 62%);
  pointer-events: none;
}
.pc-title-wrap,
.pc-meta,
.pc-cond {
  position: relative;
  z-index: 1;
}
.pc-brief {
  min-height: 54px;
}
.tag,
.dl,
.st {
  font-weight: 700;
}
.stars {
  color: #c27803;
  letter-spacing: 0;
}

.filter-bar {
  gap: 12px;
  margin: 18px 0 22px;
}
.seg button {
  min-height: 38px;
  font-weight: 750;
}
.seg button.on {
  background: linear-gradient(135deg, var(--dark), #1d2a44);
}

.detail-head {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(238,244,255,.84)),
    #fff;
}
.detail-head h1 {
  font-size: clamp(28px, 3.3vw, 44px);
}
.kv-strip {
  padding-top: 4px;
}
.kv .k {
  font-weight: 700;
}
.plain-item {
  border: 1px solid rgba(148,163,184,.24);
  background: rgba(255,255,255,.72);
}
.plain-item .q {
  color: var(--primary-deep);
}
.source-box,
.notice {
  background: rgba(255,255,255,.72);
  border-color: rgba(148,163,184,.32);
}

.mat-table,
.price-table,
.cond-table,
.park-table {
  overflow: hidden;
}
.mat-table tr,
.price-table tr,
.cond-table tr,
.park-table tr {
  transition: background .18s ease;
}
.mat-table tr:hover td,
.price-table tr:hover td,
.cond-table tr:hover td,
.park-table tr:hover td {
  background: rgba(231,239,255,.52);
}
.mat-table th,
.price-table th,
.cond-table th,
.park-table th {
  font-weight: 800;
}

.chat-box {
  min-height: 420px;
  padding: 4px;
}
.msg {
  border-radius: 12px;
}
.msg.user {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.msg.bot {
  background: rgba(255,255,255,.86);
}
.preset-qs .chip {
  background: #fff;
}

.kanban {
  padding-bottom: 8px;
}
.kb-col {
  min-width: 170px;
}
.kb-col h4 {
  text-align: left;
  padding: 2px 2px 8px;
  font-weight: 800;
}
.kb-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.kb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30,64,175,.3);
}

.footer {
  margin-top: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(37,99,235,.24), transparent 30%),
    linear-gradient(135deg, #07111f, #0d1b2f);
}
.footer-brand strong {
  font-size: 18px;
}
.footer-links a {
  transition: color .18s ease, transform .18s ease;
}
.footer-links a:hover {
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .hero2 { min-height: auto; }
  .topbar-inner { height: auto; }
  .wizard > h1,
  #page > h1,
  .container > h1,
  .wizard > p,
  #page > p,
  .container > p.muted {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 760px) {
  h1 { font-size: 28px; }
  .hero2 h1 { font-size: 40px; }
  .btn,
  .btn-sm,
  .btn-lg {
    min-height: 44px;
  }
  .wizard-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-head {
    padding: 22px;
  }
  .chat-input {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Final home composition override: keep the opportunity map readable above legacy styles. */
html[data-page="index"] .topbar { background: rgba(16,33,39,.96) !important; border-bottom-color: rgba(255,255,255,.13) !important; }
html[data-page="index"] .hero2 { background: #102127 !important; }
html[data-page="index"] .hero2-grid { grid-template-columns: minmax(0,1.16fr) minmax(390px,.84fr) !important; }
html[data-page="index"] .hero2 h1 { max-width: 650px; font-family: 'Noto Serif SC','Source Han Serif SC','STSong',SimSun,serif !important; font-size: clamp(43px,4.7vw,68px) !important; line-height: 1.25 !important; }
html[data-page="index"] .hero2-cards::before { content: '' !important; position: absolute !important; width: 292px !important; height: 292px !important; right: 9px !important; top: 36px !important; z-index: 0 !important; opacity: .2 !important; background: center / contain no-repeat url('../assets/buduo-mark.svg') !important; animation: buduo-mark-drift 9s ease-in-out infinite !important; }
html[data-page="index"] .mock-main { z-index: 2 !important; min-height: 320px !important; display: flex !important; align-items: flex-end !important; overflow: hidden !important; border: 1px solid rgba(165,221,209,.44) !important; border-top: 3px solid #80d1c1 !important; background: #17343a !important; }
html[data-page="index"] .mock-main::before { content: 'BU DUO / POLICY MAP' !important; position: absolute !important; top: 25px !important; left: 25px !important; color: #a4d7ce !important; font: 10px 'JetBrains Mono',monospace !important; letter-spacing: .12em !important; }
html[data-page="index"] .mock-main::after { content: '\4F18\5148\63A8\8FDB\A 03 \9879\673A\4F1A\A\A \5F85\8865\6761\4EF6 06 \9879\A \6750\6599\5C31\7EEA 82%' !important; white-space: pre-line !important; position: relative !important; z-index: 3 !important; display: block !important; width: 100% !important; padding: 26px !important; color: #f6fffd !important; font-family: 'Noto Serif SC','STSong',SimSun,serif !important; font-size: 26px !important; line-height: 1.32 !important; letter-spacing: .035em !important; border-top: 1px solid rgba(203,242,234,.18) !important; background: rgba(6,26,30,.28) !important; }
html[data-page="index"] .mock-main .tags, html[data-page="index"] .mock-main h3, html[data-page="index"] .mock-main .meta, html[data-page="index"] .mock-main .bar, html[data-page="index"] .mock-main .ok, html[data-page="index"] .mock-score, html[data-page="index"] .mock-money, html[data-page="index"] .mock-deadline { display: none !important; }
@keyframes buduo-mark-drift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
@media (max-width: 720px) { html[data-page="index"] .hero2-grid { grid-template-columns: 1fr !important; } html[data-page="index"] .mock-main { min-height: 245px !important; } html[data-page="index"] .mock-main::after { padding: 19px !important; font-size: 20px !important; } }
@media (prefers-reduced-motion: reduce) { html[data-page="index"] .hero2-cards::before { animation: none !important; } }

/* Final readability pass for the landing content and enterprise workspace. */
.flow-strip { padding: 16px 18px !important; border: 1px solid #d7e2eb !important; background: #fff !important; box-shadow: 0 10px 24px rgba(28,53,75,.05) !important; }
.flow-step { color: #35495d !important; font-size: 14px !important; font-weight: 700 !important; }
.flow-step .n { display: inline-grid !important; place-items: center !important; width: 22px !important; height: 22px !important; margin-right: 6px !important; color: #fff !important; border-radius: 50% !important; background: #1d68ad !important; font: 700 11px/1 'JetBrains Mono', monospace !important; }
.flow-arrow { color: #91a4b7 !important; font-size: 17px !important; }
.case-box { gap: 16px !important; }
.case-box .card { padding: 32px 34px !important; border-color: #dce6ee !important; }
.case-box .card:first-child h3 { color: #1c2b3a !important; font-size: 20px !important; }
.case-box .card:first-child > p { color: #5b7084 !important; font-size: 14px !important; }
.case-box .card:first-child .case-list li { color: #53697c !important; font-size: 14px !important; }
.case-box .card:last-child { color: #e7f0f5 !important; border-color: #294453 !important; background: #14232e !important; box-shadow: 0 18px 38px rgba(14,31,43,.18) !important; }
.case-box .card:last-child h3 { color: #effbf8 !important; font-family: 'Noto Serif SC','STSong',SimSun,serif !important; font-size: 22px !important; }
.case-box .card:last-child .case-list li { color: #c3d3dc !important; border-color: rgba(210,231,238,.13) !important; font-size: 14px !important; }
.case-box .card:last-child .case-list li::marker { color: #82d4c4 !important; }
.case-box .card:last-child strong { color: #9fe1d4 !important; }
.case-box .card:last-child .btn { color: #11242d !important; border-color: #b7ebdf !important; background: #b7ebdf !important; }
.price-table th { color: #3b5165 !important; font-size: 14px !important; background: #edf4f8 !important; }
.price-table td { color: #455c70 !important; font-size: 15px !important; }
.price-table td strong { color: #24394c !important; }.price-table .p { color: #14548e !important; font-size: 16px !important; }
.cta-band { min-height: 310px !important; padding: 52px 32px !important; border: 1px solid #1a3345 !important; border-radius: 10px !important; background: #17313f !important; box-shadow: 0 20px 44px rgba(25,55,76,.18) !important; }
.cta-band::after { display: none !important; }.cta-band h2 { color: #f4fbfd !important; font-size: clamp(27px,3vw,38px) !important; }.cta-band .sub { color: #c4d9e3 !important; font-size: 15px !important; }.cta-band .note { color: #9eb8c6 !important; font-size: 13px !important; }.cta-band .btn-hero-primary { color: #102630 !important; border-color: #aee9dc !important; background: #aee9dc !important; box-shadow: none !important; }
.dashboard-hero { background: #132432 !important; border-color: #213c4e !important; box-shadow: 0 18px 42px rgba(19,36,50,.16) !important; }
.dashboard-hero .eyebrow { color: #f4be3b !important; }.dashboard-hero h1 { color: #f8fcff !important; font-family: 'Noto Serif SC','STSong',SimSun,serif !important; font-size: clamp(34px,3.4vw,52px) !important; line-height: 1.22 !important; }.dashboard-hero .pchip { color: #e0ebf2 !important; border-color: rgba(205,226,237,.24) !important; background: rgba(255,255,255,.08) !important; font-size: 12px !important; }.dashboard-hero .btn-ghost { color: #eff8fb !important; border-color: rgba(221,237,245,.28) !important; background: rgba(255,255,255,.08) !important; }
.section-title .hint { color: #536a80 !important; font-size: 14px !important; }.cloud-section #cloudBox .card { max-width: 840px !important; padding: 26px 32px !important; border-color: #d5e2eb !important; background: #fff !important; }.cloud-section #cloudBox .muted { color: #506a7d !important; font-size: 15px !important; line-height: 1.75 !important; }.cloud-section #cloudBox strong { color: #1c4f77 !important; }.cloud-section #cloudBox input { min-height: 48px !important; color: #233c51 !important; font-size: 15px !important; }.cloud-section #cloudBox .btn { min-height: 48px !important; }

/* Brand unification: no blue surfaces. Ink, moss, mint, and a small warm signal. */
:root {
  --primary: #247a70 !important;
  --primary-deep: #174f4d !important;
  --secondary: #4caa98 !important;
  --ink: #193438 !important;
  --ink-2: #35565a !important;
  --ink-soft: #637a7c !important;
  --ink-dim: #8b9e9d !important;
  --canvas: #f4f8f6 !important;
  --surface-2: #edf5f1 !important;
  --surface-3: #dfece6 !important;
  --line: #d6e4de !important;
  --line-strong: #bdd3ca !important;
  --good: #2a8b74 !important;
  --good-weak: #e5f4ed !important;
  --warn: #bc7043 !important;
  --danger: #bd5b54 !important;
}
html, body { color: #193438 !important; background: #f4f8f6 !important; font-family: 'HarmonyOS Sans SC','MiSans','Noto Sans SC','Microsoft YaHei UI',sans-serif !important; }
h1, h2, h3, h4, .section-title { font-family: 'Noto Serif SC','Source Han Serif SC','STSong',SimSun,serif !important; letter-spacing: .025em !important; }
p, .muted { color: #637a7c !important; } a { color: #247a70; }
.btn-primary, .btn-hero-primary, .chat-input .btn-primary { color: #f7fffc !important; border-color: #247a70 !important; background: #247a70 !important; }
.btn-primary:hover, .btn-hero-primary:hover, .chat-input .btn-primary:hover { color: #fff !important; border-color: #174f4d !important; background: #174f4d !important; }
.btn-good { color: #f7fffc !important; border-color: #2a8b74 !important; background: #2a8b74 !important; }
.chip.on, .seg button.on, .wstep.now { color: #fff !important; border-color: #247a70 !important; background: #247a70 !important; }
.flow-step .n { background: #247a70 !important; }.flow-arrow { color: #91a9a4 !important; }.price-table .p { color: #1d695f !important; }
.cta-band { border-color: #1c4d4a !important; background: #173a3a !important; }.cta-band .sub { color: #c5ddd6 !important; }.cta-band .note { color: #9eb9af !important; }.cta-band .btn-hero-primary { color: #143633 !important; border-color: #b8e4d9 !important; background: #b8e4d9 !important; }
.dashboard-hero { border-color: #275550 !important; background: #173a3a !important; }.dashboard-hero .eyebrow { color: #e4ad59 !important; }.dashboard-hero .pchip { color: #deeee9 !important; border-color: rgba(203,233,224,.22) !important; background: rgba(255,255,255,.08) !important; }
.section-title .hint { color: #637a7c !important; }.cloud-section #cloudBox .card { border-color: #d6e4de !important; }.cloud-section #cloudBox .muted { color: #526c6d !important; }.cloud-section #cloudBox strong { color: #1d695f !important; }.cloud-section #cloudBox input { color: #274548 !important; border-color: #bdd3ca !important; }
.chat-box { border-color: #d6e4de !important; background: #f9fcfa !important; }.msg.bot { color: #365456 !important; border: 1px solid #d6e4de !important; background: #fff !important; }.msg.user { color: #f7fffc !important; background: #247a70 !important; }.msg .src { color: #6c8583 !important; border-top-color: #dbe8e3 !important; }.preset-qs .chip { color: #3f6061 !important; border-color: #cbded7 !important; background: #fff !important; }
.notice, .plain-item, .source-box { color: #526c6d !important; border-color: #d6e4de !important; background: #f9fcfa !important; }
.topbar .brand-mark, .footer .brand-mark { filter: none !important; }

/* Every actionable state follows the same moss palette. */
.btn-primary, .btn-good, .btn-hero-primary, .chat-input .btn-primary,
.report-form .btn, .service-form .btn, .upload-inline .btn,
.ops-tabs button.on, .filter-bar .btn-primary {
  color: #f7fffc !important;
  border-color: #247a70 !important;
  background: #247a70 !important;
  box-shadow: 0 8px 18px rgba(36,122,112,.16) !important;
}
.btn-primary:hover, .btn-good:hover, .btn-hero-primary:hover, .chat-input .btn-primary:hover,
.report-form .btn:hover, .service-form .btn:hover, .upload-inline .btn:hover {
  color: #fff !important;
  border-color: #174f4d !important;
  background: #174f4d !important;
}
.btn-ghost { color: #385d5e !important; border-color: #c5d9d1 !important; background: #fff !important; }
.btn-ghost:hover { color: #174f4d !important; border-color: #8db7aa !important; background: #edf7f2 !important; }

.ops-sla-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.sla-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sla-pill.overdue { color: #983d38; border-color: #efc5c1; background: #fff0ee; }
.sla-pill.soon { color: #8a542d; border-color: #efd4bc; background: #fff5e9; }
.sla-pill.normal { color: #1d695f; border-color: #c5dfd5; background: #eef8f3; }
.sla-pill.done { color: #627a77; border-color: #d7e5df; background: #f4f8f6; }

/* Mobile guardrails: this final block wins over the earlier desktop experiments. */
@media (max-width: 720px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .container { width: 100% !important; max-width: none !important; padding-left: 30px !important; padding-right: 30px !important; }
  .topbar-inner { min-height: 60px !important; padding-top: 0 !important; padding-bottom: 0 !important; flex-wrap: nowrap !important; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .topbar-right { flex: 0 1 auto; min-width: 0; }
  .topbar-right .btn, .topbar-right .nav-user { max-width: 142px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav { display: none !important; }

  html[data-page="index"] .hero2 { overflow: hidden !important; }
  html[data-page="index"] .hero2-grid { display: block !important; }
  html[data-page="index"] .hero2 h1 { max-width: 100% !important; font-size: 38px !important; line-height: 1.18 !important; }
  html[data-page="index"] .hero2 .sub { max-width: 100% !important; }
  html[data-page="index"] .hero2-btns { display: grid !important; grid-template-columns: 1fr !important; width: 100%; }
  html[data-page="index"] .hero2-btns .btn { width: 100%; min-height: 48px; }
  html[data-page="index"] .hero2-cards { width: 100% !important; max-width: 100% !important; min-width: 0 !important; height: 296px !important; margin-top: 26px !important; }
  html[data-page="index"] .mock-main { left: 14px !important; right: 14px !important; width: auto !important; }
  html[data-page="index"] .hero2-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

  html[data-page="qa"] main { min-height: 0 !important; padding-top: 0 !important; }
  html[data-page="qa"] main > .container { padding-top: 22px !important; }
  html[data-page="qa"] .preset-qs { display: flex; overflow-x: auto; padding-bottom: 4px; }
  html[data-page="qa"] .preset-qs .chip { flex: 0 0 auto; }
  html[data-page="qa"] .chat-box { min-height: 300px !important; }
  html[data-page="qa"] .chat-input { display: grid !important; grid-template-columns: 1fr auto auto !important; gap: 8px !important; }
  html[data-page="qa"] .chat-input input { min-width: 0; }
  html[data-page="qa"] .chat-input .btn { min-width: 0; padding-left: 12px; padding-right: 12px; }

  .wizard, #page, main > .container { min-width: 0; }
  .wizard-steps { gap: 7px !important; }
  .wstep { min-width: 0; padding: 10px 8px !important; font-size: 13px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.seg button.on, .chip.on, .wstep.now { background: #247a70 !important; border-color: #247a70 !important; }
.progress i, .mock-main .bar i { background: #3d9c8b !important; }
.ring circle:last-of-type { stroke: #247a70 !important; }
.notice a, .msg a, .pc-amount a, .price-table a, .cloud-section a { color: #1d695f !important; }
input:focus, select:focus, textarea:focus, .chat-input input:focus { border-color: #5ba694 !important; box-shadow: 0 0 0 3px rgba(91,166,148,.16) !important; }

/* CRM operations and compliance surfaces */
.ops-head { background: linear-gradient(135deg, #173b3b 0%, #1d5650 56%, #24584e 100%); }
.ops-head h1 { color:#fff; }
.ops-head p, .ops-head .muted { color:#d7e8e4; }
section.ops-head p { color:#dcece8; }
section.ops-head .muted { color:#c2dad5; }
.ops-head .eyebrow { color:#8ee0ce; }
.ops-alert-center { margin-top:18px; padding:20px 22px; border:1px solid #d9cdbd; background:#fffdf9; }
.ops-alert-head { display:flex; align-items:end; justify-content:space-between; gap:18px; }
.ops-alert-head h2 { margin:5px 0 0; color:var(--ink); font-size:22px; }
.ops-alert-head .eyebrow { color:#93652f; }
.ops-alert-tabs { display:flex; gap:4px; padding:3px; border:1px solid #ded4c7; border-radius:6px; background:#f5f0e9; }
.ops-alert-tabs button { min-height:32px; padding:0 9px; border:0; border-radius:4px; color:#6f6253; background:transparent; font:inherit; font-size:11px; font-weight:700; cursor:pointer; }
.ops-alert-tabs button strong { margin-left:3px; color:inherit; }
.ops-alert-tabs button.on { color:#fff; background:#755433; }
.ops-alert-list { display:grid; gap:7px; margin-top:15px; }
.ops-alert-item { display:grid; grid-template-columns:138px minmax(0,1fr) 150px 20px; align-items:center; gap:12px; width:100%; min-height:54px; padding:9px 12px; border:1px solid #e5ddd3; border-left:3px solid #b18a5d; border-radius:5px; color:var(--ink); background:#fff; font:inherit; text-align:left; cursor:pointer; transition:border-color .2s ease, transform .2s ease; }
.ops-alert-item:hover { transform:translateX(2px); border-color:#bda483; }
.ops-alert-item.type-overdue { border-left-color:#b64e42; }
.ops-alert-item.type-uncontacted { border-left-color:#bd7937; }
.ops-alert-item.type-due_soon { border-left-color:#b99a36; }
.ops-alert-item.type-stale { border-left-color:#658b82; }
.ops-alert-badge { color:#7b5c3b; font-size:11px; font-weight:700; }
.ops-alert-item > span:nth-child(2) { min-width:0; }
.ops-alert-item > span:nth-child(2) strong, .ops-alert-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ops-alert-item small { margin-top:3px; color:var(--ink-soft); font-size:11px; }
.ops-alert-item time { color:var(--ink-dim); font-size:11px; text-align:right; }
.ops-alert-item i { color:#8d6e4d; font-style:normal; font-size:18px; text-align:right; }
.ops-alert-clear { display:grid; gap:4px; padding:22px 12px; color:var(--ink); text-align:center; }
.ops-alert-clear span { color:var(--ink-soft); font-size:12px; }
.ops-alert-more { margin:10px 0 0; text-align:right; }
.ops-head-actions { display:flex; align-items:center; gap:12px; }
.ops-controls { display:flex; align-items:end; gap:12px; margin:16px 0 12px; padding:14px; flex-wrap:wrap; }
.ops-controls label { display:grid; gap:5px; min-width:148px; font-size:12px; color:var(--ink-soft); }
.ops-controls input, .ops-controls select, .ops-drawer input, .ops-drawer select, .ops-drawer textarea, .data-request-form input, .data-request-form select, .data-request-form textarea, .admin-login input { width:100%; box-sizing:border-box; min-height:38px; border:1px solid #bfd1cc; border-radius:6px; background:#fff; color:var(--ink); padding:8px 10px; font:inherit; }
.ops-controls .ops-check { display:flex; align-items:center; min-height:38px; min-width:auto; color:var(--ink); }
.ops-controls .ops-check input, .consent-check input { width:auto; min-height:auto; accent-color:var(--primary); }
.ops-count { margin-left:auto; padding:10px 0; color:var(--ink-soft); font-size:13px; }
.ops-table caption { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.ops-table tbody tr[role="button"] { cursor:pointer; }
.ops-table tbody tr[role="button"]:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
.ops-status { display:inline-flex; align-items:center; min-height:25px; padding:0 8px; border-radius:999px; background:#e8f1ee; color:#24584e; font-size:12px; font-weight:700; }
.ops-status.s-won { background:#e2f4e9; color:#16734d; }.ops-status.s-lost,.ops-status.s-invalid,.ops-status.s-closed { background:#f3e9e7; color:#8d4c42; }.ops-status.s-on_hold { background:#f8f0d8; color:#896713; }
.ops-pager { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin:14px 0 4px; color:var(--ink-soft); font-size:13px; }
.ops-drawer-backdrop { position:fixed; z-index:80; inset:0; background:rgba(15,37,35,.42); backdrop-filter:blur(2px); }
.ops-drawer { position:fixed; z-index:81; top:0; right:0; width:min(600px,100vw); height:100dvh; overflow:auto; box-sizing:border-box; background:#f8fbf9; box-shadow:-18px 0 44px rgba(17,48,44,.18); padding:32px; animation:opsDrawerIn .28s cubic-bezier(.16,1,.3,1); }
@keyframes opsDrawerIn { from { transform:translateX(26px); opacity:.2; } to { transform:translateX(0); opacity:1; } }
.ops-drawer h2 { margin:8px 36px 20px 0; color:var(--ink); font-size:27px; }.ops-drawer-close { position:absolute; top:22px; right:22px; }
.ops-detail-summary { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:13px 0; margin-bottom:18px; color:var(--ink-soft); }.ops-detail-summary p { margin:7px 0; }
.ops-edit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:14px 0; }.ops-edit-grid label, .ops-textarea-label, .data-request-form label, .admin-login label { display:grid; gap:6px; color:var(--ink-soft); font-size:13px; }
.ops-textarea-label textarea, .data-request-form textarea { min-height:92px; resize:vertical; }.ops-activity { margin-top:28px; padding-top:22px; border-top:1px solid var(--line); }.ops-activity h3 { color:var(--ink); font-size:18px; }.ops-activity-compose { display:grid; gap:9px; }.ops-activity-compose textarea { min-height:80px; }.ops-activity-list { display:grid; gap:10px; margin-top:15px; }.ops-activity-list article { padding:12px; background:#fff; border:1px solid var(--line); border-radius:7px; }.ops-activity-list article time { display:block; margin-top:3px; color:var(--ink-dim); font-size:12px; }.ops-activity-list article p { margin:7px 0 0; color:var(--ink-soft); white-space:pre-wrap; }
.ops-activity-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }.ops-activity-heading h3 { margin:0; }
.audit-table td { min-width:160px; }.audit-table input, .audit-table select, .audit-table textarea { width:100%; box-sizing:border-box; margin:0 0 7px; min-height:34px; border:1px solid var(--line); border-radius:5px; padding:6px 8px; font:inherit; }.audit-table textarea { min-height:64px; resize:vertical; }.audit-table label { display:grid; gap:3px; margin-bottom:7px; }
.ops-insights { margin-top:18px; padding:22px; border:1px solid var(--line); background:#fff; }.ops-insights-head { display:flex; align-items:end; justify-content:space-between; gap:16px; }.ops-insights h2 { margin:5px 0 0; color:var(--ink); font-size:22px; }.ops-kpis { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:17px; }.ops-kpis > div { padding:13px; border-left:3px solid #9acdc0; background:#f3f8f6; }.ops-kpis strong { display:block; color:var(--ink); font-family:'Noto Serif SC',serif; font-size:26px; }.ops-kpis span { display:block; margin-top:3px; color:var(--ink-soft); font-size:12px; }.ops-funnel { display:grid; gap:8px; margin-top:18px; }.ops-funnel > div { display:grid; grid-template-columns:76px 1fr 36px; align-items:center; gap:9px; color:var(--ink-soft); font-size:12px; }.ops-funnel i { height:7px; overflow:hidden; background:#e3eeea; }.ops-funnel b { display:block; height:100%; background:linear-gradient(90deg,#2d8377,#85bd8b); }.ops-funnel strong { color:var(--ink); text-align:right; }
.ops-range { display:flex; padding:3px; border:1px solid var(--line); border-radius:6px; background:#eef4f2; }
.ops-range button { min-height:32px; padding:0 11px; border:0; border-radius:4px; color:var(--ink-soft); background:transparent; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.ops-range button.on { color:#fff; background:var(--primary-deep); box-shadow:0 2px 8px rgba(24,89,80,.18); }
.ops-signal-strip { display:flex; gap:0; margin-top:12px; overflow-x:auto; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.ops-signal-strip span { flex:1 0 auto; padding:10px 14px; color:var(--ink-soft); font-size:12px; text-align:center; }
.ops-signal-strip span + span { border-left:1px solid var(--line); }
.ops-signal-strip strong { margin-left:4px; color:var(--ink); }
.ops-analysis-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr); gap:28px; margin-top:20px; }
.ops-analysis-grid h3 { margin:0; color:var(--ink); font-size:14px; }
.ops-analysis-grid .ops-funnel { margin-top:12px; }
.ops-sources { display:grid; gap:7px; margin-top:12px; }
.ops-sources > div { display:grid; grid-template-columns:1fr 34px 62px; gap:8px; align-items:center; min-height:29px; padding:0 8px; background:#f5f8f7; color:var(--ink-soft); font-size:12px; }
.ops-sources strong { color:var(--ink); text-align:right; }
.ops-sources small { color:var(--ink-dim); text-align:right; }
.ops-outcome-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.ops-outcome-grid h3, .ops-owner-performance h3 { margin:0; color:var(--ink); font-size:14px; }
.ops-conversions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:12px; }
.ops-conversions > div { display:grid; grid-template-columns:1fr auto; gap:7px; padding:10px; background:#f5f8f7; }
.ops-conversions span { color:var(--ink-soft); font-size:11px; }
.ops-conversions strong { color:var(--ink); font-size:15px; }
.ops-conversions i { grid-column:1/-1; height:5px; overflow:hidden; background:#dfeae6; }
.ops-conversions b { display:block; height:100%; background:var(--primary); }
.ops-reasons { display:grid; gap:7px; margin-top:12px; }
.ops-reasons > div { display:grid; grid-template-columns:92px 1fr 28px; align-items:center; gap:8px; color:var(--ink-soft); font-size:11px; }
.ops-reasons i { height:6px; overflow:hidden; background:#eee8df; }
.ops-reasons b { display:block; height:100%; background:#b88b50; }
.ops-reasons strong { color:var(--ink); text-align:right; }
.ops-owner-performance { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.ops-owner-performance > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:14px; }
.ops-owner-rows { display:grid; margin-top:12px; border:1px solid var(--line); }
.ops-owner-rows > div { display:grid; grid-template-columns:minmax(130px,1.5fr) repeat(5,minmax(54px,.6fr)); align-items:center; min-height:38px; border-top:1px solid var(--line); }
.ops-owner-rows > div:first-child { border-top:0; }
.ops-owner-rows span, .ops-owner-rows strong { padding:8px 10px; color:var(--ink-soft); font-size:12px; text-align:right; }
.ops-owner-rows strong, .ops-owner-rows span:first-child { color:var(--ink); text-align:left; }
.ops-owner-rows .head { background:#eef4f2; }
.ops-owner-rows .head span { color:var(--ink-dim); font-size:10px; font-weight:700; }
@media (max-width:760px) { .ops-insights { padding:18px; }.ops-insights-head { align-items:flex-start; flex-direction:column; }.ops-range { width:100%; box-sizing:border-box; }.ops-range button { flex:1; }.ops-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.ops-kpis > div:last-child { grid-column:span 2; }.ops-analysis-grid,.ops-outcome-grid { grid-template-columns:1fr; gap:22px; }.ops-conversions { grid-template-columns:repeat(2,minmax(0,1fr)); }.ops-funnel > div { grid-template-columns:68px 1fr 28px; }.ops-signal-strip span { text-align:left; }.ops-owner-performance > div:first-child { align-items:flex-start; flex-direction:column; }.ops-owner-rows { gap:8px; border:0; }.ops-owner-rows .head { display:none; }.ops-owner-rows > div { grid-template-columns:1fr 1fr; padding:9px; border:1px solid var(--line); background:#f8faf9; }.ops-owner-rows > div strong { grid-column:1/-1; padding-bottom:9px; border-bottom:1px solid var(--line); }.ops-owner-rows > div span { padding:5px 8px; text-align:left; }.ops-owner-rows > div span:nth-child(2)::before { content:'线索 '; }.ops-owner-rows > div span:nth-child(3)::before { content:'预约 '; }.ops-owner-rows > div span:nth-child(4)::before { content:'已联系 '; }.ops-owner-rows > div span:nth-child(5)::before { content:'成交 '; }.ops-owner-rows > div span:nth-child(6)::before { content:'逾期 '; } }
.consent-check { display:flex; align-items:flex-start; gap:8px; color:var(--ink-soft); font-size:12px; line-height:1.65; }.consent-check a { color:var(--primary-deep); text-decoration:underline; }
.legal-page { max-width:900px; }.legal-hero { margin-top:34px; padding:36px 0 24px; border-bottom:1px solid var(--line); }.legal-hero h1 { margin:10px 0; color:var(--ink); }.legal-hero p { max-width:640px; }.legal-content { margin-top:22px; padding:34px; }.legal-content h2 { margin-top:27px; color:var(--ink); font-size:20px; }.legal-content h2:first-child { margin-top:0; }.legal-content p { color:var(--ink-soft); line-height:1.9; }.legal-content a { color:var(--primary-deep); text-decoration:underline; }
.data-request-form, .admin-login form { display:grid; gap:15px; max-width:600px; }.admin-login { min-height:calc(100vh - 260px); display:grid; place-items:center; }.admin-login-card { width:min(460px,100%); padding:34px; }.admin-login-card h1 { margin:8px 0; color:var(--ink); font-size:29px; }
@media (max-width:760px) { .ops-head-actions { align-items:flex-start; flex-direction:column; }.ops-controls { align-items:stretch; }.ops-controls label { min-width:calc(50% - 6px); flex:1; }.ops-count { width:100%; margin:0; }.ops-table { min-width:0; }.ops-table thead { display:none; }.ops-table tbody,.ops-table tr,.ops-table td { display:block; width:100%; box-sizing:border-box; }.ops-table tr { padding:12px 14px; border-bottom:1px solid var(--line); }.ops-table td { border:0; padding:3px 0; }.ops-table td:nth-child(1)::before { content:'提交：'; color:var(--ink-dim); }.ops-table td:nth-child(3)::before { content:'联系：'; color:var(--ink-dim); }.ops-table td:nth-child(4)::before { content:'进度：'; color:var(--ink-dim); }.ops-table td:nth-child(5)::before { content:'状态：'; color:var(--ink-dim); }.ops-table tr:first-child td:first-child::before { content:'时间：'; }.ops-edit-grid { grid-template-columns:1fr; }.ops-drawer { padding:24px 18px; }.legal-hero { margin-top:20px; padding:25px 0 18px; }.legal-content { padding:23px 19px; }.admin-login-card { padding:25px 20px; } }
@media (max-width:760px) { .ops-alert-center { padding:17px 18px; }.ops-alert-head { align-items:flex-start; flex-direction:column; }.ops-alert-tabs { width:100%; box-sizing:border-box; overflow-x:auto; }.ops-alert-tabs button { flex:1 0 auto; }.ops-alert-item { grid-template-columns:1fr 22px; gap:5px 10px; padding:11px; }.ops-alert-badge { grid-column:1; }.ops-alert-item > span:nth-child(2) { grid-column:1; }.ops-alert-item time { grid-column:1; text-align:left; }.ops-alert-item i { grid-column:2; grid-row:1/4; align-self:center; }.ops-alert-item > span:nth-child(2) strong, .ops-alert-item small { white-space:normal; } }
@media (prefers-reduced-motion: reduce) { .ops-drawer { animation:none; } }

/* Skip below-the-fold layout work until the section approaches the viewport. */
@supports (content-visibility: auto) {
  html[data-page="index"] .pain-grid,
  html[data-page="index"] .feature-grid,
  html[data-page="index"] .flow-strip,
  html[data-page="index"] .case-box,
  html[data-page="index"] .price-table,
  html[data-page="index"] .cta-band,
  html[data-page="index"] .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 360px;
  }
}
