/* ============================================================
   审计场景解决方案 · 专属样式
   深墨 Hero + 工作台在线演示 + 专项工具矩阵
   主色沿用活力橙设计系统 #FF6A00 / 墨 #1D1206
   ============================================================ */

/* ---------------- Hero(深墨) ---------------- */
.ah-hero {
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(255, 106, 0, .18), transparent 60%),
    radial-gradient(700px 380px at -8% 110%, rgba(255, 148, 64, .1), transparent 55%),
    linear-gradient(160deg, #221407 0%, #171006 52%, #120B04 100%);
  color: #F5EFE6;
  padding: 64px 0 84px;
  position: relative;
  overflow: hidden;
}
.ah-hero .crumbs a, .ah-hero .crumbs span { color: #B9A48C; }
.ah-hero .crumbs b { color: var(--o400); }
.ah-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 46px; align-items: center; }
.ah-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--o400); border: 1px solid rgba(255, 148, 64, .45);
  padding: 7px 14px; border-radius: 999px; background: rgba(255, 106, 0, .1);
}
.ah-hero h1 {
  color: #FFF6EA; font-size: clamp(32px, 4.3vw, 52px);
  margin: 18px 0 12px; letter-spacing: .01em;
}
.ah-hero h1 em { font-style: normal; color: var(--o400); }
.ah-line { font-size: clamp(16px, 1.6vw, 19px); color: #E8DCC9; font-weight: 600; margin-bottom: 10px; }
.ah-sum { color: #B9A88F; font-size: 15.5px; max-width: 34em; line-height: 1.85; }
.ah-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.ah-stats li {
  display: inline-flex; flex-direction: column; gap: 1px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 190, 130, .22);
  border-radius: 14px; padding: 10px 16px 9px; min-width: 96px;
}
.ah-stats b { font-size: 19px; color: #FFD9AE; font-weight: 800; line-height: 1.2; }
.ah-stats span { font-size: 12px; color: #A99878; letter-spacing: .04em; }
.ah-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ah-note { margin-top: 16px; font-size: 12.5px; color: #8E7F66; display: flex; gap: 7px; align-items: center; }
.ah-note svg { width: 14px; height: 14px; color: var(--o400); flex: 0 0 14px; }

/* 工作台 mockup 窗口 */
.ah-win {
  background: #F6F1E7; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1600px) rotateY(-2.5deg) rotateX(1.5deg);
  animation: ahFloat 7s ease-in-out infinite;
}
@keyframes ahFloat { 0%, 100% { transform: perspective(1600px) rotateY(-2.5deg) rotateX(1.5deg) translateY(0); } 50% { transform: perspective(1600px) rotateY(-2.5deg) rotateX(1.5deg) translateY(-9px); } }
.ah-win-bar {
  display: flex; align-items: center; gap: 7px;
  background: #221708; padding: 10px 14px;
}
.ah-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #57432C; }
.ah-win-bar i:nth-child(1) { background: #C0553B; }
.ah-win-bar i:nth-child(2) { background: #C29A4B; }
.ah-win-bar i:nth-child(3) { background: #4E8F5B; }
.ah-win-bar span { margin-left: 10px; font-size: 11.5px; color: #C8B69B; letter-spacing: .06em; }
.ah-win-body { display: grid; grid-template-columns: 148px 1fr; }
.ah-side { background: #241A0C; padding: 12px 10px; display: grid; gap: 6px; align-content: start; }
.ah-side b { display: block; font-size: 10px; letter-spacing: .18em; color: #8E7B5E; padding: 6px 8px 4px; font-weight: 600; }
.ah-side em {
  font-style: normal; display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: #D9C9AC; padding: 8px 9px; border-radius: 8px;
}
.ah-side em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #57432C; }
.ah-side em.on { background: rgba(255, 106, 0, .16); color: #FFC287; }
.ah-side em.on::before { background: var(--o400); }
.ah-mainpad { padding: 16px 18px 18px; }
.ah-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.ah-kpi { background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 10px; padding: 9px 10px 8px; }
.ah-kpi b { display: block; font-size: 15px; color: #221507; font-weight: 800; }
.ah-kpi span { font-size: 10.5px; color: #8E7B5E; }
.ah-kpi.warn b { color: var(--o600); }
.ah-route { background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 12px; padding: 12px; }
.ah-route-hd { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: #8E7B5E; margin-bottom: 10px; }
.ah-route-hd b { color: #221507; font-size: 12.5px; }
.ah-ths { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 6px; margin-bottom: 6px; }
.ah-ths i {
  font-style: normal; font-size: 10.5px; color: #8E7B5E; text-align: center;
  background: #F4ECD9; border-radius: 6px; padding: 4px 2px;
}
.ah-ths i u { text-decoration: none; display: inline-grid; place-items: center; width: 13px; height: 13px; margin-right: 3px; border-radius: 50%; background: #221507; color: #F6F1E7; font-size: 9px; vertical-align: -2px; }
.ah-row { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 6px; margin-bottom: 6px; }
.ah-lane { display: grid; place-items: center; }
.ah-lane b {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-size: 11px; color: #fff; background: #221507;
}
.ah-lane.lane-b b { background: var(--o600); }
.ah-cell { display: flex; flex-direction: column; gap: 4px; }
.ah-fn {
  display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600;
  color: #3B2C18; background: #FFF; border: 1px solid #EADFC8; border-radius: 8px;
  padding: 5px 6px; line-height: 1.3; white-space: nowrap;
}
.ah-fn::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex: 0 0 5px; background: #C9BDA4; }
.ah-fn.run::before { background: #1B7F4B; box-shadow: 0 0 0 3px rgba(27, 127, 75, .14); }
.ah-fn.hot { border-color: rgba(255, 106, 0, .5); background: #FFF4EA; color: var(--o700); }
.ah-fn.hot::before { background: var(--o500); box-shadow: 0 0 0 3px rgba(255, 106, 0, .16); }
.ah-fn.dim { color: #A39377; background: #FBF7EC; }
.ah-na { font-size: 9.8px; color: #A39377; text-align: center; border: 1px dashed #E0D4B8; border-radius: 8px; padding: 7px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-donut { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.ah-donut svg { width: 74px; height: 74px; }
.ah-donut circle { fill: none; stroke-width: 10; }
.ah-donut .dk { stroke: #EFE6D2; }
.ah-donut .dv { stroke: #221507; stroke-linecap: round; stroke-dasharray: 166 351.9; }
.ah-donut-txt b { display: block; font-size: 17px; color: #221507; font-weight: 800; }
.ah-donut-txt span { font-size: 11px; color: #8E7B5E; }
.ah-donut-legend { margin-left: auto; display: grid; gap: 4px; font-size: 10.8px; color: #6B5B3E; }
.ah-donut-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }

/* ---------------- 速读摘要 ---------------- */
.a-tldr { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; box-shadow: var(--shadow-sm); }
.tldr-tag { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--o600); font-size: 14px; margin-bottom: 10px; }
.tldr-tag svg { width: 16px; height: 16px; }
.a-tldr p { color: var(--ink-2); font-size: 15.8px; margin: 0; }
.a-tldr strong { color: var(--ink); }

/* ---------------- 痛点→解案 ---------------- */
.a-pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.a-pain-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.a-pain-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad); opacity: .85; }
.a-pain-card .p-no { font: 800 12px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--o500); letter-spacing: .14em; }
.a-pain-card h3 { font-size: 18.5px; margin: 10px 0 8px; }
.a-pain-card .p-bad { color: var(--ink-3); font-size: 14.2px; margin-bottom: 12px; }
.a-pain-card .p-fix {
  background: var(--o50); border: 1px solid var(--o100); border-radius: 12px;
  padding: 11px 14px; font-size: 13.8px; color: var(--o700); line-height: 1.7;
}
.a-pain-card .p-fix b { display: block; font-size: 12px; letter-spacing: .08em; margin-bottom: 3px; color: var(--o600); }

/* ---------------- 作业路线图 ---------------- */
.a-flow { display: grid; gap: 8px; }
.a-flow-ths { display: grid; grid-template-columns: 150px repeat(5, 1fr); gap: 8px; }
.a-flow-ths i {
  font-style: normal; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-3);
  background: #F8F1E4; border: 1px solid var(--line); border-radius: 10px; padding: 9px 6px;
}
.a-flow-ths i u {
  text-decoration: none; display: inline-grid; place-items: center; width: 17px; height: 17px;
  border-radius: 50%; background: var(--ink); color: #FFF6EC; font-size: 10.5px; margin-right: 5px; vertical-align: -3px;
}
.a-lane-row { display: grid; grid-template-columns: 150px repeat(5, 1fr); gap: 8px; }
.a-lane-tag { display: flex; flex-direction: column; justify-content: center; gap: 2px; background: var(--ink); border-radius: 12px; padding: 12px 14px; color: #F6EFDF; }
.a-lane-tag.lane-b { background: var(--o700); }
.a-lane-tag b { font-size: 15px; }
.a-lane-tag span { font-size: 11px; color: rgba(255, 244, 224, .72); line-height: 1.5; }
.a-lane-cell { display: flex; flex-direction: column; gap: 7px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: var(--shadow-sm); }
.a-cell-stage { display: none; }
.a-fn { display: inline-flex; flex-wrap: wrap; align-items: center; row-gap: 2px; gap: 6px; font-size: 12.8px; font-weight: 600; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; line-height: 1.35; }
.a-fn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: #D9CBAB; }
.a-fn.run::before { background: #1B7F4B; box-shadow: 0 0 0 3px rgba(27, 127, 75, .13); }
.a-fn.hot { border-color: rgba(255, 106, 0, .55); background: var(--o50); color: var(--o700); }
.a-fn.hot::before { background: var(--o500); box-shadow: 0 0 0 3px rgba(255, 106, 0, .16); }
.a-fn.dim { color: var(--ink-3); background: #FBF7EC; }
.a-fn small { display: block; width: 100%; flex: 0 0 100%; padding-left: 13px; font-size: 10.5px; font-weight: 400; color: var(--ink-3); line-height: 1.45; margin: 0; }
.a-na { font-size: 11.5px; color: var(--ink-3); text-align: center; border: 1px dashed var(--line); border-radius: 9px; padding: 8px 6px; background: #FBF7EC; }
.a-lane-cell small { font-size: 11px; color: var(--ink-3); }
.a-flow-foot { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.a-flow-foot b { color: var(--ink); }

/* ---------------- 主入口 · 勾稽核对 ---------------- */
.a-recon { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: start; }
.a-steps { display: grid; gap: 14px; }
.a-step { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.a-step > i {
  flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #FFD9AE; font: 800 16px/1 ui-monospace, Menlo, monospace;
}
.a-step h3 { font-size: 17.5px; margin-bottom: 5px; }
.a-step p { font-size: 14px; color: var(--ink-3); margin: 0; }
.a-step p b { color: var(--o700); }
.a-roles { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.a-roles h3 { font-size: 17.5px; margin-bottom: 14px; }
.a-role { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.a-role:last-child { border-bottom: 0; padding-bottom: 0; }
.a-role i { flex: 0 0 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.a-role b { font-size: 14.5px; color: var(--ink); display: block; }
.a-role span { font-size: 13px; color: var(--ink-3); line-height: 1.65; }
.i-report { background: var(--o500); box-shadow: 0 0 0 4px rgba(255, 106, 0, .15); }
.i-note { background: #7A6852; box-shadow: 0 0 0 4px rgba(122, 104, 82, .13); }
.i-wp { background: #1B7F4B; box-shadow: 0 0 0 4px rgba(27, 127, 75, .13); }
.i-book { background: #3D6FA8; box-shadow: 0 0 0 4px rgba(61, 111, 168, .13); }

/* 检查项族谱 */
.a-fams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.a-fam { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; box-shadow: var(--shadow-sm); }
.a-fam b { font-size: 13px; color: var(--o700); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; }
.a-fam b code { font: 700 11px/1 ui-monospace, Menlo, monospace; background: var(--o50); color: var(--o600); border-radius: 6px; padding: 3px 7px; }
.a-fam span { display: block; font-size: 12.8px; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }

/* ---------------- 在线体验(工作台演示) ---------------- */
.a-demo-sec { background: linear-gradient(180deg, #FFFDFB 0%, #FFF6EC 100%); }
.a-demo {
  background: #171006; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(35, 20, 5, .5);
  border: 1px solid rgba(255, 255, 255, .07);
}
.a-demo-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; background: #21160A; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.a-demo-bar i { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 11px; }
.a-demo-bar i:nth-child(1) { background: #C0553B; }
.a-demo-bar i:nth-child(2) { background: #C29A4B; }
.a-demo-bar i:nth-child(3) { background: #4E8F5B; }
.a-demo-bar .a-demo-title { font-size: 13.5px; font-weight: 700; color: #F0E4CF; letter-spacing: .04em; }
.a-demo-bar .a-demo-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: #A8965F; letter-spacing: .1em;
}
.a-demo-bar .a-demo-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4E8F5B; box-shadow: 0 0 0 3px rgba(78, 143, 91, .22); animation: aPulse 2.2s infinite; }
@keyframes aPulse { 50% { opacity: .4; } }
.a-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px; background: #1B120A; scrollbar-width: none; }
.a-tabs::-webkit-scrollbar { display: none; }
.a-tab {
  flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: #C8B69B;
  font: 600 13px/1 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; border-radius: 999px; padding: 9px 16px;
  cursor: pointer; transition: .18s; display: inline-flex; align-items: center; gap: 7px;
}
.a-tab svg { width: 13px; height: 13px; }
.a-tab:hover { color: #FFD9AE; border-color: rgba(255, 148, 64, .4); }
.a-tab.on { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px rgba(255, 106, 0, .55); }
.a-body { padding: 26px; background: #F6F1E7; }
.a-pane { display: none; }
.a-pane.on { display: block; }
.a-pane-hd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.a-pane-hd b { font-size: 18px; color: #221507; }
.a-pane-hd span { font-size: 12.8px; color: #8E7B5E; }

/* 运行条与进度 */
.a-runrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.a-run {
  display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer;
  font: 700 14px/1 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif;
  color: #fff; background: var(--grad-cta); border-radius: 999px; padding: 12px 22px;
  box-shadow: 0 10px 22px -8px rgba(255, 106, 0, .55); transition: .18s;
}
.a-run:hover { transform: translateY(-1.5px); }
.a-run:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.a-run.dark { background: #221507; box-shadow: none; }
.a-prog { display: none; margin-bottom: 16px; }
.a-prog.on { display: block; }
.a-prog-track { height: 8px; border-radius: 99px; background: #EAE0C9; overflow: hidden; }
.a-prog-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FF6000, #CC4A00); border-radius: 99px; transition: width .45s ease; }
.a-prog-txt { font-size: 12.5px; color: #8E7B5E; margin-top: 7px; display: flex; justify-content: space-between; gap: 10px; }

/* 结论横幅 */
.a-verdict { display: none; gap: 14px; align-items: center; flex-wrap: wrap; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; border: 1px solid; }
.a-verdict.on { display: flex; }
.a-verdict .v-num { font: 800 26px/1 ui-monospace, Menlo, monospace; }
.a-verdict.v-bad { background: #FBF0EC; border-color: #EAD3C6; color: #9C3A08; }
.a-verdict.v-bad .v-num { color: #C0392B; }
.a-verdict.v-warn { background: #FBF5E8; border-color: #EADFC2; color: #8C6417; }
.a-verdict.v-ok { background: #EFF6EF; border-color: #CCE2CC; color: #1B5E38; }
.a-verdict .v-tt { font-size: 14px; font-weight: 700; }
.a-verdict .v-sub { font-size: 12.8px; opacity: .85; width: 100%; }
.a-verdict .v-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.a-verdict .v-chips span { background: rgba(255, 255, 255, .72); border: 1px solid rgba(0, 0, 0, .07); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; }

/* 结果表 */
.a-tblwrap { background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.a-tblscroll { overflow-x: auto; }
.a-tbl { width: 100%; border-collapse: collapse; font-size: 13.4px; }
.a-tbl th {
  text-align: left; font-size: 11.5px; letter-spacing: .06em; color: #8E7B5E; font-weight: 700;
  background: #F7F1E1; padding: 10px 14px; border-bottom: 1px solid #EADFC8; white-space: nowrap;
}
.a-tbl td { padding: 10px 14px; border-bottom: 1px solid #F2EADA; color: #3B2C18; vertical-align: top; }
.a-tbl tr:last-child td { border-bottom: 0; }
.a-tbl tr:hover td { background: #FBF6EA; }
.a-tbl .num { font-family: Arial, sans-serif; white-space: nowrap; text-align: right; font-weight: 700; }
.a-tbl .num.neg { color: #C0392B; }
.a-tbl .num.pos { color: #1B5E38; }
.a-tbl code { font: 700 11.5px/1 ui-monospace, Menlo, monospace; background: #F1E8D2; color: #6B4B14; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.a-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3.5px 10px; white-space: nowrap; }
.a-badge.b-diff { background: #FAE8E4; color: #B03A26; border: 1px solid #EFCFC5; }
.a-badge.b-hint { background: #FBF3DF; color: #8C6417; border: 1px solid #EFE1B8; }
.a-badge.b-ok { background: #EBF4EB; color: #1B5E38; border: 1px solid #CFE3CF; }
.a-search { display: flex; align-items: center; gap: 8px; background: #FFF; border: 1px solid #E0D4B8; border-radius: 999px; padding: 8px 14px; min-width: 220px; }
.a-search svg { width: 14px; height: 14px; color: #A39377; flex: 0 0 14px; }
.a-search input { border: 0; outline: 0; background: none; font: 500 13px/1.4 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; color: #221507; width: 100%; }
.a-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.a-chipf { border: 1px solid #E0D4B8; background: #FFF; color: #6B5B3E; font: 600 12px/1 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: .15s; }
.a-chipf:hover { border-color: var(--o400); color: var(--o700); }
.a-chipf.on { background: #221507; color: #F6EFDF; border-color: #221507; }

/* 导出条 */
.a-exp { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.a-expbtn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #D9CBAB; background: #FFF; color: #3B2C18; font: 600 13px/1 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; border-radius: 999px; padding: 10px 17px; cursor: pointer; transition: .16s; text-decoration: none; }
.a-expbtn svg { width: 14px; height: 14px; }
.a-expbtn:hover { border-color: var(--o500); color: var(--o700); background: var(--o50); }
.a-expbtn.solid { background: var(--grad-cta); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px rgba(255, 106, 0, .55); }
.a-expbtn.solid:hover { color: #fff; }
.a-expnote { font-size: 12px; color: #A39377; width: 100%; }

/* 调节表双栏 */
.a-tblduo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.a-total-row td { background: #F7F1E1; font-weight: 800; color: #221507; }

/* 法规库浏览器 */
.a-kb { display: grid; grid-template-columns: 210px 1fr; gap: 16px; align-items: start; }
.a-kb-cats { display: grid; gap: 6px; background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 14px; padding: 12px; }
.a-kb-cat { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; border: 0; background: none; font: 600 12.8px/1.3 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; color: #3B2C18; padding: 9px 11px; border-radius: 9px; cursor: pointer; transition: .15s; }
.a-kb-cat:hover { background: var(--o50); color: var(--o700); }
.a-kb-cat.on { background: #221507; color: #F6EFDF; }
.a-kb-cat em { font-style: normal; font: 700 10.5px/1 ui-monospace, monospace; background: rgba(0, 0, 0, .06); border-radius: 99px; padding: 3px 8px; }
.a-kb-cat.on em { background: rgba(255, 255, 255, .16); color: #FFD9AE; }
.a-kb-main { background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 14px; overflow: hidden; }
.a-kb-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid #EADFC8; background: #FBF6EA; }
.a-kb-list { max-height: 400px; overflow-y: auto; }
.a-kb-item { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; padding: 11px 16px; border-bottom: 1px solid #F2EADA; cursor: pointer; transition: .13s; }
.a-kb-item:hover { background: #FBF4E4; }
.a-kb-item:last-child { border-bottom: 0; }
.a-kb-item .kb-ic { flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 6px; display: grid; place-items: center; font: 800 9.5px/1 ui-monospace, monospace; background: #F1E8D2; color: #6B4B14; }
.a-kb-item .kb-tt { font-size: 13.2px; color: #221507; font-weight: 600; line-height: 1.5; }
.a-kb-item .kb-mt { font-size: 11.3px; color: #A39377; margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.a-kb-item .kb-open { margin-left: auto; flex: 0 0 auto; font-size: 11px; color: var(--o600); font-weight: 700; border: 1px solid #EAD3B8; border-radius: 99px; padding: 3px 9px; background: #FFF; }
.a-kb-empty { padding: 26px; text-align: center; color: #A39377; font-size: 13px; }

/* 准则原文弹层 */
.a-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(18, 11, 4, .6); backdrop-filter: blur(4px); }
.a-modal.on { display: flex; }
.a-modal-box { width: min(860px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: #FFFDF8; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5); }
.a-modal-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #EADFC8; background: #FBF6EA; }
.a-modal-head b { font-size: 15px; color: #221507; line-height: 1.5; }
.a-modal-head .a-close { margin-left: auto; border: 0; background: #F1E8D2; color: #6B4B14; width: 30px; height: 30px; border-radius: 50%; font-size: 17px; cursor: pointer; }
.a-modal-head .a-close:hover { background: var(--o500); color: #fff; }
.a-modal-body { padding: 20px 24px 28px; overflow-y: auto; font-size: 13.8px; line-height: 1.9; color: #3B2C18; white-space: pre-wrap; }
.a-modal-body h1 { font-size: 17px; margin: 0 0 12px; color: #221507; }
.a-modal-body h2 { font-size: 15px; margin: 18px 0 8px; color: var(--o700); }

/* 规则库 */
.a-rules { display: grid; gap: 10px; }
.a-rule { display: flex; gap: 14px; align-items: flex-start; background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 14px; padding: 14px 16px; }
.a-rule .r-id { font: 800 11px/1.2 ui-monospace, monospace; color: #6B4B14; background: #F1E8D2; padding: 5px 9px; border-radius: 7px; flex: 0 0 auto; margin-top: 2px; white-space: nowrap; }
.a-rule .r-main { flex: 1; min-width: 0; }
.a-rule .r-main b { font-size: 14.2px; color: #221507; display: block; }
.a-rule .r-main p { margin: 4px 0 0; font-size: 12.6px; color: #8E7B5E; line-height: 1.7; }
.a-rule .r-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.a-rule .r-tags span { font-size: 10.8px; font-weight: 700; background: #FBF4E4; color: #6B5B3E; border-radius: 99px; padding: 3px 9px; border: 1px solid #EFE3C8; }
.a-switch { position: relative; flex: 0 0 44px; height: 25px; margin-top: 2px; }
.a-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.a-switch em { position: absolute; inset: 0; border-radius: 999px; background: #E3D7BC; transition: .2s; }
.a-switch em::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: .2s; }
.a-switch input:checked + em { background: #1B7F4B; }
.a-switch input:checked + em::after { transform: translateX(19px); }

/* AI 助手 */
.a-ai-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: stretch; }
.a-ai-intro { background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 14px; padding: 18px; }
.a-ai-intro b { font-size: 15px; color: #221507; display: block; margin-bottom: 8px; }
.a-ai-intro p { font-size: 13px; color: #8E7B5E; margin: 0; line-height: 1.8; }
.a-ai { background: #FFFDF8; border: 1px solid #EADFC8; border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
.a-ai-msgs { flex: 1; min-height: 220px; max-height: 300px; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.a-ai-row { display: flex; gap: 9px; }
.a-ai-row.me { justify-content: flex-end; }
.a-ai-bubble { max-width: 82%; border-radius: 14px; padding: 10px 14px; font-size: 13.2px; line-height: 1.75; white-space: pre-wrap; }
.a-ai-row.bot .a-ai-bubble { background: #F1E8D2; color: #3B2C18; border-top-left-radius: 4px; }
.a-ai-row.me .a-ai-bubble { background: #221507; color: #F6EFDF; border-top-right-radius: 4px; }
.a-ai-chips { display: flex; gap: 7px; flex-wrap: wrap; padding: 10px 14px 0; }
.a-ai-chip { border: 1px solid #E0D4B8; background: #FFF; color: #6B5B3E; font: 600 12px/1 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: .15s; }
.a-ai-chip:hover { border-color: var(--o500); color: var(--o700); }
.a-ai-foot { display: flex; gap: 8px; padding: 12px 14px 14px; }
.a-ai-foot input { flex: 1; border: 1px solid #E0D4B8; border-radius: 999px; padding: 10px 16px; font: 500 13px/1.4 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; background: #FFF; color: #221507; outline: 0; }
.a-ai-foot input:focus { border-color: var(--o400); }
.a-ai-foot button { border: 0; background: var(--grad-cta); color: #fff; font: 700 13px/1 Arial, "KaiTi_GB2312", "KaiTi", "楷体", "STKaiti", "Kaiti SC", "DFKai-SB", serif; border-radius: 999px; padding: 10px 20px; cursor: pointer; }

/* ---------------- 专项工具矩阵 ---------------- */
.a-tools-group { margin-top: 30px; }
.a-tools-group > h3 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; margin-bottom: 14px; }
.a-tools-group > h3 .tg-count { font: 700 11px/1 ui-monospace, monospace; color: var(--o600); background: var(--o50); border: 1px solid var(--o100); border-radius: 99px; padding: 4px 10px; }
.a-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.a-tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; transition: .2s; position: relative; overflow: hidden; }
.a-tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(255, 106, 0, .35); }
.a-tool .t-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--o50); color: var(--o600); }
.a-tool .t-ic svg { width: 19px; height: 19px; }
.a-tool h4 { font-size: 16px; margin: 0; }
.a-tool p { font-size: 13.4px; color: var(--ink-3); margin: 0; line-height: 1.7; flex: 1; }
.a-tool .t-io { display: grid; gap: 4px; font-size: 12px; color: var(--ink-3); background: #FBF6EA; border-radius: 10px; padding: 9px 12px; }
.a-tool .t-io b { color: var(--o700); font-size: 11px; letter-spacing: .08em; }
.a-tool.core { border-color: rgba(255, 106, 0, .5); background: linear-gradient(160deg, #FFFDFB 60%, #FFF2E2 100%); }
.a-tool .t-flag { position: absolute; top: 14px; right: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--grad); border-radius: 99px; padding: 4px 10px; }

/* ---------------- 安全卡 ---------------- */
.a-sec-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.a-scard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.a-scard .s-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #FFD9AE; margin-bottom: 14px; }
.a-scard .s-ic svg { width: 20px; height: 20px; }
.a-scard h4 { font-size: 16px; margin-bottom: 7px; }
.a-scard p { font-size: 13.4px; color: var(--ink-3); margin: 0; line-height: 1.75; }

/* ---------------- 场景 ---------------- */
.a-scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.a-scene { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; }
.a-scene .sc-no { font: 800 13px/1 ui-monospace, monospace; color: var(--o500); padding-top: 4px; }
.a-scene h4 { font-size: 17px; margin-bottom: 7px; }
.a-scene p { font-size: 13.6px; color: var(--ink-3); margin: 0; line-height: 1.8; }

/* ---------------- 交付方式 ---------------- */
.a-ship { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; }
.a-ship-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.a-ship-main h3 { font-size: 19px; margin-bottom: 10px; }
.a-ship-main p { font-size: 14.2px; color: var(--ink-3); }
.a-ship-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 16px 0 20px;
}
.js-interior .a-ship-download .btn:disabled {
  color: var(--ink-2);
  background: var(--cream);
  border-color: var(--line);
  border-inline-start: 2px solid var(--o600);
  cursor: not-allowed;
}
.js-interior .a-ship-download p {
  margin: 0;
  color: var(--ink-3);
  font-size: .8125rem;
}
.a-ship-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 14px; }
.a-ship-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.a-ship-list svg { width: 16px; height: 16px; color: #1B7F4B; flex: 0 0 16px; margin-top: 4px; }
.a-ship-side { display: grid; gap: 14px; }
.a-ship-mini { background: var(--ink); color: #F6EFDF; border-radius: var(--r-lg); padding: 22px; }
.a-ship-mini b { font-size: 15px; display: block; margin-bottom: 8px; color: #FFD9AE; }
.a-ship-mini p { font-size: 13px; color: #C9B795; margin: 0; line-height: 1.8; }
.a-ship-mini code { font-family: ui-monospace, Menlo, monospace; background: rgba(255, 255, 255, .1); padding: 2px 8px; border-radius: 6px; color: #FFD9AE; }

/* ---------------- FAQ ---------------- */
.a-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.a-faq-side p { color: var(--ink-3); font-size: 15px; }

/* ---------------- 深色统计带 ---------------- */
.a-band { background: linear-gradient(160deg, #221407, #120B04); border-radius: var(--r-lg); padding: 40px 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.a-band div { text-align: center; }
.a-band b { display: block; font: 800 clamp(26px, 3vw, 38px)/1.15 ui-monospace, Menlo, monospace; color: #FFD9AE; }
.a-band span { font-size: 13px; color: #A99878; margin-top: 6px; display: block; }

/* ---------------- 其他服务 ---------------- */
.a-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.a-other { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: flex-start; transition: .2s; }
.a-other:hover { border-color: rgba(255, 106, 0, .35); transform: translateY(-2px); }
.a-other .o-ic { flex: 0 0 38px; height: 38px; border-radius: 11px; background: var(--o50); display: grid; place-items: center; color: var(--o600); }
.a-other .o-ic svg { width: 18px; height: 18px; }
.a-other b { font-size: 14.5px; color: var(--ink); display: block; }
.a-other span { font-size: 12.6px; color: var(--ink-3); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .ah-grid { grid-template-columns: 1fr; gap: 34px; }
  .ah-win { transform: none; animation: none; max-width: 620px; margin: 0 auto; }
  .a-recon { grid-template-columns: 1fr; }
  .a-fams { grid-template-columns: repeat(2, 1fr); }
  .a-tools { grid-template-columns: repeat(2, 1fr); }
  .a-sec-cards { grid-template-columns: repeat(2, 1fr); }
  .a-kb { grid-template-columns: 1fr; }
  .a-kb-cats { display: flex; flex-wrap: wrap; }
  .a-kb-cat.on { background: var(--o600); }
  .a-band { grid-template-columns: repeat(2, 1fr); }
  .a-ai-wrap, .a-ship, .a-faq-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ah-hero { padding: 44px 0 56px; }
  .a-pain { grid-template-columns: 1fr; }
  /* 路线图:移动端改为「路线卡」堆叠,格子横排自动换行 */
  .a-flow { display: block; }
  .a-flow-ths { display: none; }
  .a-lane-row { display: flex; flex-direction: column; gap: 0; margin-bottom: 14px; }
  .a-lane-tag { flex-direction: row; align-items: center; gap: 10px; border-radius: 14px 14px 0 0; padding: 13px 16px; }
  .a-lane-tag span { display: inline; font-size: 11.5px; margin: 0; }
  .a-lane-cell { border-radius: 0; border-top: 0; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 14px; gap: 8px; }
  .a-lane-cell:last-of-type { border-radius: 0 0 14px 14px; }
  .a-cell-stage {
    display: inline-flex; align-items: center; flex: 0 0 auto;
    font: 700 10.5px/1 ui-monospace, Menlo, monospace; color: var(--o600);
    background: var(--o50); border: 1px solid var(--o100); border-radius: 99px; padding: 4px 9px;
  }
  .a-fn { flex: 0 1 auto; min-width: 0; }
  .a-fn small { display: inline; width: auto; flex: 0 0 auto; padding-left: 0; font-size: 10.5px; }
  .a-na { padding: 8px 12px; white-space: nowrap; }
  .a-body { padding: 16px; }
  .a-tabs { padding: 8px 10px; }
  .a-tab { font-size: 12px; padding: 8px 13px; }
  .a-tools { grid-template-columns: 1fr; }
  .a-sec-cards, .a-scenes, .a-others { grid-template-columns: 1fr; }
  .a-tblduo { grid-template-columns: 1fr; }
  .a-win-body { grid-template-columns: 1fr; }
  .ah-side { display: none; }
  .ah-kpis { grid-template-columns: repeat(2, 1fr); }
  .a-band { padding: 28px 22px; }
  .a-demo-sec .sec-title { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-win { animation: none; }
  .a-demo-bar .a-demo-live::before { animation: none; }
  .a-tool, .a-other, .a-run, .a-expbtn { transition: none; }
}

/* ============================================================
   子页 Hero 升级:与首页 stage 同源(黎明湖面 + 暗色遮罩)
   ============================================================ */
.page-hero {
  background:
    linear-gradient(175deg, rgba(8,11,16,.68) 0%, rgba(8,11,16,.42) 60%, rgba(8,11,16,.56) 100%),
    url('/assets/video/hero-poster.jpg') center 30% / cover no-repeat;
  color: #F5EFE6;
  padding: 72px 0 60px;
  position: relative;
  border-bottom: none;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: rgba(255,255,255,.1);
}
.page-hero h1 { color: #FFF3E6; font-size: clamp(30px, 4vw, 46px); }
.page-hero .page-sub { color: #C9B299; font-size: 16.5px; }
.page-hero .crumbs, .page-hero .crumbs a { color: #A8917A; }
.page-hero .crumbs b { color: var(--o400); }
.page-hero .crumbs span { color: var(--o600); }
.page-hero .page-sub a { color: var(--o400); }
.page-hero + .sec { margin-top: 0; }
.page-hero ~ .sec:first-of-type { padding-top: 48px; }

/* ah-hero(审计页)对齐 stage */
.ah-hero {
  background:
    linear-gradient(175deg, rgba(8,11,16,.72) 0%, rgba(8,11,16,.42) 60%, rgba(8,11,16,.56) 100%),
    url('/assets/video/hero-poster.jpg') center 30% / cover no-repeat;
}
.ah-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: rgba(255,255,255,.1);
}

/* 登录页背景对齐 */
.login-wrap {
  background:
    linear-gradient(175deg, rgba(8,11,16,.78) 0%, rgba(8,11,16,.5) 100%),
    url('/assets/video/hero-poster.jpg') center 40% / cover no-repeat;
}

/* 下载按钮用 a 标签时保持按钮外观 */
a.btn{text-decoration:none}
a.btn[download]{cursor:pointer}

/* 下载区许可条款 */
.a-license-note{margin-top:8px;font-size:12px;color:#8A8175;line-height:1.7}
.a-license-note a{color:#8B5E34;text-decoration:underline}
