/*!
 * ui-system.css — 干活呗官网组件级规范（v26 批次 4 · 腾讯云式 P2/P3 收尾）
 *
 * 背景：layout-v2.css 只解决了「容器宽 + section 节奏 + 标题区」三件事，
 *       组件级（卡片密度 / 空态 / 加载 / 错误 / 表格 / 表单 / 权限降级）一直没有单一真源，
 *       结果是每个页面各写一套：section 间距实测 32 种、卡片宽度实测 16 种。
 *
 * 本文件是这六件套的**唯一真源**，只在 :root 上追加变量、只新增 .ghb-* 类，
 * 不修改任何既有 token，也不覆盖既有类 —— 回滚只需删掉这一行 link。
 *
 * 引入顺序：site.css → layout-v2.css → ui-system.css（必须最后）
 *
 * 达标口径（真浏览器可断言）：
 *   · 内容宽     1296（1680 视口下 1457）
 *   · section 间距 ∈ {0, 60, 96, 120}
 *   · 卡片宽度   ∈ {240, 306, 416, 636}（1296 内容宽下 repeat(N,1fr) + gap 24 的自然结果）
 * ========================================================================== */

:root {
  /* ---- 间距档位：只保留四档，禁止再出现 22/36/48/52/76/88/100 这类游离值 ---- */
  --sp-0: 0;
  --sp-sec: 60px;      /* 标准 section 上下间距（腾讯云式，紧凑高信息密度） */
  --sp-sec-lg: 96px;   /* 大节：章节之间 */
  --sp-sec-xl: 120px;  /* 特大节：长页面收尾前的呼吸位 */
  --sp-gap: 24px;      /* 卡片栅格间距（唯一值） */

  /* ---- 卡片圆角 / 边框：与 site.css token 对齐，避免各页自造 8px ---- */
  --ghb-radius-card: var(--radius-card, 20px);
  --ghb-border: 1px solid var(--green-100, #fbeee1);
  --ghb-shadow: var(--shadow-card, 0 1px 2px rgba(122, 22, 22, .04), 0 8px 24px rgba(122, 22, 22, .05));

  /* ---- 状态色（与品牌砖红同族，不引 Google 蓝） ---- */
  --ghb-ok: #1f7a4d;
  --ghb-ok-bg: #e8f5ee;
  --ghb-warn: #b26a00;
  --ghb-warn-bg: #fdf3e2;
  --ghb-err: #b42424;
  --ghb-err-bg: #fdeceb;
  --ghb-info: #55554e;
  --ghb-info-bg: #f2f1ec;
}

/* ==========================================================================
   0. 共享补齐：site.css 里少数几个类的实测间距不在四档内，这里只补上下间距，
      不动其它声明（site.css 是共享真源，能不改就不改）
      · .page-hero 实测 52/56 → 60/60
   ========================================================================== */
.page-hero { padding-top: 60px; padding-bottom: 60px; }

/* ==========================================================================
   1. 卡片栅格：四档，一律 repeat(N, minmax(0,1fr)) + gap 24
      1296 内容宽下的自然列宽：5→240 / 4→306 / 3→416 / 2→636
      🔴 禁止再写 px 定宽或 auto-fill minmax(280px,1fr) —— 那是列宽失控的根源
   ========================================================================== */
.ghb-grid,
.ghb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-gap);
}
.ghb-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-gap); }
.ghb-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-gap); }
.ghb-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-gap); }
.ghb-grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-gap); }

@media (max-width: 1100px) {
  .ghb-grid, .ghb-grid-4, .ghb-grid-5, .ghb-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ghb-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ghb-grid, .ghb-grid-2, .ghb-grid-3,
  .ghb-grid-4, .ghb-grid-5, .ghb-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .ghb-grid, .ghb-grid-2, .ghb-grid-3,
  .ghb-grid-4, .ghb-grid-5, .ghb-grid-6 { grid-template-columns: minmax(0, 1fr); }
}

/* 卡片本体：圆角/边框/阴影统一，不再各页自造 */
.ghb-card {
  position: relative;
  background: var(--card, #fff);
  border: var(--ghb-border);
  border-radius: var(--ghb-radius-card);
  box-shadow: var(--ghb-shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ghb-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(122, 22, 22, .10); }
.ghb-card-bd { padding: 20px; }
.ghb-card-ttl { font-size: 17px; font-weight: 600; color: var(--ink-900); line-height: 1.4; margin: 0 0 8px; }
.ghb-card-sum { font-size: 14px; color: var(--ink-500); line-height: 1.6; margin: 0 0 12px; }
.ghb-card-meta { font-size: 12px; color: var(--ink-400); }

/* ==========================================================================
   2. 空态：空态即引导（为什么空 + 下一步做什么 + 一键行动）
      🔴 一个光秃秃的「暂无数据」不算空态
   ========================================================================== */
.ghb-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 56px 24px; text-align: center;
  background: var(--green-50, #fdf6ef);
  border: 1px dashed var(--green-200, #f3cfb8);
  border-radius: var(--ghb-radius-card);
}
.ghb-empty .ghb-empty-ic {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px;
  background: #fff; color: var(--green-700); border: var(--ghb-border);
}
.ghb-empty h4 { font-size: 16px; font-weight: 600; color: var(--ink-900); margin: 0; }
.ghb-empty p { font-size: 14px; color: var(--ink-500); line-height: 1.7; margin: 0; max-width: 520px; }
.ghb-empty .ghb-empty-act { margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ghb-empty .ghb-empty-act a,
.ghb-empty .ghb-empty-act button {
  font-size: 14px; font-weight: 500; color: #fff; background: var(--green-700);
  border: 0; border-radius: var(--radius-button, 999px); padding: 10px 22px; cursor: pointer;
  text-decoration: none;
}
.ghb-empty .ghb-empty-act a.ghb-ghost,
.ghb-empty .ghb-empty-act button.ghb-ghost {
  background: #fff; color: var(--green-700); border: 1px solid var(--green-200);
}
/* 行内紧凑版（表格/小容器里的空态） */
.ghb-empty-sm { padding: 28px 16px; gap: 6px; }
.ghb-empty-sm .ghb-empty-ic { width: 38px; height: 38px; font-size: 18px; }
.ghb-empty-sm h4 { font-size: 14px; }
.ghb-empty-sm p { font-size: 13px; }

/* ==========================================================================
   3. 加载：骨架屏（卡片骨架 + 文本骨架），>3s 才出进度条
   ========================================================================== */
.ghb-skel { display: grid; gap: var(--sp-gap); }
.ghb-skel.ghb-skel-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ghb-skel.ghb-skel-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ghb-skel.ghb-skel-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ghb-skel-card {
  background: #fff; border: var(--ghb-border); border-radius: var(--ghb-radius-card);
  padding: 0; overflow: hidden;
}
.ghb-skel-card .sk-cov { display: block; height: 140px; }
.ghb-skel-card .sk-bd { padding: 18px 20px 22px; }
.ghb-sk {
  display: block; height: 14px; border-radius: 6px; margin: 10px 0;
  background: linear-gradient(90deg, #f2efe9 25%, #e9e5dd 50%, #f2efe9 75%);
  background-size: 200% 100%; animation: ghbSk 1.4s infinite;
}
.ghb-sk.w40 { width: 40%; } .ghb-sk.w60 { width: 60%; }
.ghb-sk.w80 { width: 80%; } .ghb-sk.w100 { width: 100%; }
@keyframes ghbSk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ghb-sk { animation: none; } }

/* ==========================================================================
   4. 错误：四段式（发生了什么 + 为什么 + 怎么办 + 重试）
   ========================================================================== */
.ghb-err {
  padding: 32px 28px; border-radius: var(--ghb-radius-card);
  background: var(--ghb-err-bg); border: 1px solid rgba(180, 36, 36, .18);
  color: var(--ink-700);
}
.ghb-err .ghb-err-hd { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--ghb-err); }
.ghb-err .ghb-err-hd::before { content: "!"; width: 22px; height: 22px; border-radius: 50%; background: var(--ghb-err); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.ghb-err dl { margin: 14px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 14px; }
.ghb-err dt { color: var(--ink-400); }
.ghb-err dd { margin: 0; color: var(--ink-700); line-height: 1.7; }
.ghb-err .ghb-err-act { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.ghb-err .ghb-err-act a,
.ghb-err .ghb-err-act button {
  font-size: 14px; padding: 9px 20px; border-radius: var(--radius-button, 999px);
  background: var(--green-700); color: #fff; border: 0; cursor: pointer; text-decoration: none;
}
.ghb-err .ghb-err-act a.ghb-ghost { background: #fff; color: var(--green-700); border: 1px solid rgba(180, 36, 36, .3); }

/* ==========================================================================
   5. 表格：关键列 5–7；数字右对齐；状态用 tag；分页 20；批量操作选中后出现
   ========================================================================== */
.ghb-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: #fff; }
.ghb-table th {
  text-align: left; font-weight: 600; color: var(--ink-500); font-size: 13px;
  padding: 12px 16px; background: var(--green-50); border-bottom: 1px solid var(--green-100);
  white-space: nowrap;
}
.ghb-table td { padding: 13px 16px; border-bottom: 1px solid var(--ink-200); color: var(--ink-700); vertical-align: middle; }
.ghb-table tbody tr:hover td { background: var(--green-50); }
.ghb-table .num, .ghb-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ghb-table .ops { text-align: right; white-space: nowrap; }
.ghb-table .ops a, .ghb-table .ops button {
  color: var(--green-700); background: none; border: 0; cursor: pointer; font-size: 13px; padding: 0 6px;
}

/* ==========================================================================
   6. 表单：必填标记统一；错误在字段下方就近提示；提交中禁用；失败保留已填
   ========================================================================== */
.ghb-field { margin-bottom: 18px; }
.ghb-field > label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-700); margin-bottom: 8px; }
.ghb-field > label .req { color: var(--ghb-err); margin-left: 3px; }
.ghb-field input,
.ghb-field select,
.ghb-field textarea {
  width: 100%; padding: 12px 14px; font-size: 14px; color: var(--ink-900);
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-input, 14px);
}
.ghb-field input:focus,
.ghb-field select:focus,
.ghb-field textarea:focus { outline: 0; border-color: var(--green-700); }
.ghb-field.is-err input,
.ghb-field.is-err select,
.ghb-field.is-err textarea { border-color: var(--ghb-err); }
.ghb-field .ghb-msg { margin-top: 6px; font-size: 13px; color: var(--ink-400); }
.ghb-field.is-err .ghb-msg { color: var(--ghb-err); }
.ghb-form-act { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.ghb-form-act [disabled] { opacity: .6; cursor: not-allowed; }

/* ==========================================================================
   7. 权限降级：显示入口 + 说明 + 申请路径（不静默隐藏）
   ========================================================================== */
.ghb-deny {
  display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px;
  background: var(--ghb-info-bg); border: 1px solid var(--ink-200);
  border-radius: var(--ghb-radius-card);
}
.ghb-deny .ghb-deny-ic { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink-400); font-size: 16px; }
.ghb-deny h5 { font-size: 15px; font-weight: 600; color: var(--ink-900); margin: 0 0 4px; }
.ghb-deny p { font-size: 13px; color: var(--ink-500); line-height: 1.7; margin: 0; }
.ghb-deny .ghb-deny-act { margin-top: 10px; }
.ghb-deny .ghb-deny-act a { font-size: 13px; color: var(--green-700); font-weight: 500; }

/* ==========================================================================
   8. 状态标签（品牌同族，不引外来色板）
   ========================================================================== */
.ghb-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: var(--radius-tag, 8px);
  background: var(--ghb-info-bg); color: var(--ghb-info); white-space: nowrap;
}
.ghb-tag--ok { background: var(--ghb-ok-bg); color: var(--ghb-ok); }
.ghb-tag--warn { background: var(--ghb-warn-bg); color: var(--ghb-warn); }
.ghb-tag--err { background: var(--ghb-err-bg); color: var(--ghb-err); }
.ghb-tag--brand { background: var(--green-100); color: var(--green-700); }

/* ==========================================================================
   9. Toast（3s；破坏性操作带「撤销」）
   ========================================================================== */
.ghb-toast {
  position: fixed; left: 50%; top: 88px; transform: translateX(-50%);
  z-index: 9999; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; border-radius: var(--radius-button, 999px);
  background: var(--ink-900); color: #fff; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.ghb-toast .ghb-undo { color: var(--green-200); font-weight: 500; cursor: pointer; }
.ghb-toast--err { background: var(--ghb-err); }
.ghb-toast--ok { background: var(--ghb-ok); }

/* ==========================================================================
   10. 列表工具栏：筛选永远在左，操作永远在右
   ========================================================================== */
.ghb-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.ghb-toolbar .ghb-tb-l { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ghb-toolbar .ghb-tb-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.ghb-pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 24px; font-size: 13px; color: var(--ink-500); }
.ghb-pager a, .ghb-pager button {
  min-width: 32px; height: 32px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--ink-200); background: #fff; color: var(--ink-700);
  display: inline-grid; place-items: center; cursor: pointer; font-size: 13px;
}
.ghb-pager .is-on { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* ==========================================================================
   11. 法务/文档页组件：目录导航滚动高亮 + 文档工具条（v26-B4）
   —— 由 assets/legal-toc.js 驱动；两页共用，不新增维护点
   ========================================================================== */
.ghb-doc-anchor { scroll-margin-top: 96px; }
.ghb-doc-toc a {
  padding-left: 8px; padding-right: 8px; margin-left: -8px;
  border-radius: 8px; transition: background-color .15s, color .15s;
}
.ghb-doc-toc a.is-active {
  color: var(--green-700); font-weight: 600; background: var(--green-100);
}
.ghb-doc-toc a.is-active::before { font-weight: 800; }
.ghb-toolbar.ghb-toolbar-doc {
  margin: 18px 0 0; padding-top: 16px;
  border-top: 1px dashed var(--green-100);
}
.ghb-toolbar.ghb-toolbar-doc .ghb-doc-cur {
  font-size: 13px; color: var(--ink-500);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px;
}
.ghb-toolbar.ghb-toolbar-doc .ghb-btn-doc {
  height: 30px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--ink-200); background: #fff; color: var(--ink-700);
  font-size: 13px; display: inline-grid; place-items: center;
  transition: border-color .15s, color .15s;
}
.ghb-toolbar.ghb-toolbar-doc .ghb-btn-doc:hover {
  border-color: var(--green-700); color: var(--green-700);
}
@media (max-width: 600px) {
  .ghb-toolbar.ghb-toolbar-doc { gap: 10px; }
  .ghb-toolbar.ghb-toolbar-doc .ghb-doc-cur { max-width: 100%; }
}

/* ==========================================================================
   12. V28 页面模板结构层（追加 · §4.1–§4.3）
   ------------------------------------------------------------------------
   T1 门户 / T2 列表筛选 / T3 详情 / T4 控制台 四种骨架 + GhFilterPanel。
   规则：**只追加，不修改上面 0–11 节的任何类**；与 0–11 同名的类一律复用旧版
   （ghb-card / ghb-grid / ghb-empty / ghb-pager 均沿用上文定义）。
   ========================================================================== */
:root {
  /* 四档定宽栅格基准：容器 1296 = 4×306 + 3×24 */
  --ghb-max: 1296px;
  --ghb-col-5: 240px;
  --ghb-col-4: 306px;
  --ghb-col-3: 416px;
  --ghb-col-2: 636px;
  --ghb-gap: 24px;
  --ghb-line: rgba(122, 22, 22, .10);
  --ghb-line-soft: rgba(122, 22, 22, .06);

  /* 8px 基准间距（V28 §4.1） */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;

  /* 5 级字号阶梯 */
  --fs-h1: 32px;
  --fs-h2: 24px;
  --fs-h3: 18px;
  --fs-body: 15px;
  --fs-cap: 13px;

  --ghb-radius-sm: 14px;
}

@media (max-width: 900px) {
  :root { --fs-h1: 28px; --fs-h2: 20px; --ghb-gap: 16px; }
}

/* ---- 12.1 通用容器与排版 ---- */
.ghb-wrap {
  width: 100%;
  max-width: var(--ghb-max);
  margin: 0 auto;
  padding-left: var(--pad-x, 24px);
  padding-right: var(--pad-x, 24px);
}
.ghb-page { padding: var(--sp-4) 0 var(--sp-5); }
.ghb-sec { padding: var(--sp-4) 0; }
.ghb-sec + .ghb-sec { padding-top: 0; }

.ghb-h1 { font-size: var(--fs-h1); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.ghb-h2 { font-size: var(--fs-h2); line-height: 1.35; font-weight: 700; }
.ghb-h3 { font-size: var(--fs-h3); line-height: 1.4; font-weight: 600; }
.ghb-body { font-size: var(--fs-body); line-height: 1.75; color: var(--ink-700); }
.ghb-cap { font-size: var(--fs-cap); line-height: 1.6; color: var(--ink-400); }

.ghb-sec-hd { margin-bottom: var(--sp-3); }
.ghb-sec-hd .ghb-eyebrow {
  display: inline-block; font-size: var(--fs-cap); font-weight: 600;
  color: var(--green-700); background: var(--green-50);
  border-radius: var(--radius-tag); padding: 4px 10px; margin-bottom: var(--sp-1);
}
.ghb-sec-hd p { margin-top: var(--sp-1); }

/* ---- 12.2 面包屑 ---- */
.ghb-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-1);
  font-size: var(--fs-cap); color: var(--ink-400);
  padding: var(--sp-2) 0;
}
.ghb-crumb a { color: var(--ink-400); }
.ghb-crumb a:hover { color: var(--green-700); }
.ghb-crumb .sep { color: var(--ink-200); }
.ghb-crumb .cur { color: var(--ink-700); font-weight: 600; }

/* ---- 12.3 T2 列表筛选页骨架 ---- */
.ghb-t2 {
  display: grid;
  grid-template-columns: var(--ghb-col-5) minmax(0, 1fr);
  gap: var(--ghb-gap);
  align-items: start;
}
@media (max-width: 1000px) { .ghb-t2 { grid-template-columns: 1fr; } }

/* GhFilterPanel：左筛选面板（5 个列表页共用一套组件） */
.ghb-filter {
  background: var(--card);
  border: 1px solid var(--ghb-line);
  border-radius: var(--ghb-radius-card);
  padding: var(--sp-2);
  position: sticky;
  top: 72px;
}
.ghb-filter__hd {
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-h3); font-weight: 700; color: var(--ink-900);
  padding-bottom: var(--sp-2); border-bottom: 1px solid var(--ghb-line-soft);
}
.ghb-filter__reset { font-size: var(--fs-cap); font-weight: 400; color: var(--ink-400); }
.ghb-filter__reset:hover { color: var(--green-700); }

.ghb-fgroup { padding: var(--sp-2) 0; border-bottom: 1px solid var(--ghb-line-soft); }
.ghb-fgroup:last-of-type { border-bottom: 0; }
.ghb-fgroup__t { font-size: var(--fs-cap); font-weight: 600; color: var(--ink-500); margin-bottom: var(--sp-1); }

.ghb-fsearch { display: flex; gap: var(--sp-1); }
.ghb-fsearch input {
  flex: 1; min-width: 0; font: inherit; font-size: var(--fs-body);
  padding: 8px 12px; border: 1px solid var(--ink-200); border-radius: var(--ghb-radius-sm);
  background: var(--bg); color: var(--ink-900);
}
.ghb-fsearch input:focus { outline: none; border-color: var(--green-700); background: var(--card); }

.ghb-fopts { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.ghb-fopt {
  font-size: var(--fs-cap); color: var(--ink-700);
  background: var(--bg); border: 1px solid transparent;
  border-radius: var(--radius-tag); padding: 5px 10px; cursor: pointer;
  transition: all .15s ease;
}
.ghb-fopt:hover { background: var(--green-50); color: var(--green-700); }
.ghb-fopt.is-on { background: var(--green-700); color: #fff; font-weight: 600; }
.ghb-fopt__n { opacity: .7; margin-left: 4px; }

.ghb-fsel { display: flex; gap: var(--sp-1); }
.ghb-fsel select {
  flex: 1; min-width: 0; font: inherit; font-size: var(--fs-cap);
  padding: 7px 8px; border: 1px solid var(--ink-200); border-radius: var(--ghb-radius-sm);
  background: var(--bg); color: var(--ink-700);
}
.ghb-fsel select:focus { outline: none; border-color: var(--green-700); }

/* 结果计数条 */
.ghb-result-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-2); margin-bottom: var(--sp-2);
}
.ghb-result-bar .n { font-size: var(--fs-body); color: var(--ink-500); }
.ghb-result-bar .n b { color: var(--green-700); font-size: var(--fs-h3); }

/* 结果卡片（基于 §1 .ghb-card 底座） */
.ghb-item { display: flex; flex-direction: column; overflow: hidden; }
a.ghb-item { display: flex; text-decoration: none; }
.ghb-item__cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--green-50); }
.ghb-item__bd { padding: var(--sp-2); display: flex; flex-direction: column; gap: var(--sp-1); flex: 1; }
.ghb-item__t { font-size: var(--fs-h3); font-weight: 600; color: var(--ink-900); line-height: 1.4; margin: 0; }
.ghb-item:hover .ghb-item__t { color: var(--green-700); }
.ghb-item__d {
  font-size: var(--fs-cap); color: var(--ink-500); line-height: 1.65; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* 服务要点（卡片内 1–2 条，服务端直出） */
.ghb-item__feat { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ghb-item__feat li {
  position: relative; font-size: var(--fs-cap); color: var(--ink-500);
  line-height: 1.6; padding-left: 14px;
}
.ghb-item__feat li::before {
  content: ""; position: absolute; left: 3px; top: 8px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--green-200);
}
.ghb-item__meta { font-size: var(--fs-cap); color: var(--ink-400); margin-top: auto; padding-top: var(--sp-1); }
.ghb-item__badge {
  position: absolute; top: var(--sp-1); left: var(--sp-1); z-index: 1;
  font-size: 12px; font-weight: 600; color: #fff; background: var(--green-700);
  border-radius: var(--radius-tag); padding: 3px 8px;
}

/* ---- 12.4 T3 详情页骨架 ---- */
.ghb-t3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ghb-col-3);
  gap: var(--ghb-gap);
  align-items: start;
}
@media (max-width: 1000px) { .ghb-t3 { grid-template-columns: 1fr; } }

.ghb-article {
  background: var(--card); border: 1px solid var(--ghb-line);
  border-radius: var(--ghb-radius-card); padding: var(--sp-4);
}
@media (max-width: 600px) { .ghb-article { padding: var(--sp-2); } }
.ghb-article h2 { font-size: var(--fs-h2); font-weight: 700; margin: var(--sp-4) 0 var(--sp-2); }
.ghb-article h2:first-child { margin-top: 0; }
.ghb-article h3 { font-size: var(--fs-h3); font-weight: 600; margin: var(--sp-3) 0 var(--sp-1); }
.ghb-article p { font-size: var(--fs-body); line-height: 1.8; color: var(--ink-700); margin-bottom: var(--sp-2); }
.ghb-article ul { margin: 0 0 var(--sp-2) 0; padding-left: 20px; }
.ghb-article li { font-size: var(--fs-body); line-height: 1.8; color: var(--ink-700); margin-bottom: var(--sp-1); }
.ghb-article table { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-2); font-size: var(--fs-body); }
.ghb-article th, .ghb-article td { border: 1px solid var(--ghb-line); padding: 10px 12px; text-align: left; }
.ghb-article th { background: var(--green-50); font-weight: 600; color: var(--ink-900); }

.ghb-aside { display: flex; flex-direction: column; gap: var(--sp-2); position: sticky; top: 72px; }
@media (max-width: 1000px) { .ghb-aside { position: static; } }
.ghb-aside-card {
  background: var(--card); border: 1px solid var(--ghb-line);
  border-radius: var(--ghb-radius-card); padding: var(--sp-2);
}
.ghb-aside-card__t { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--sp-2); }
.ghb-aside-card__t--sm { font-size: var(--fs-body); }
.ghb-cta-card { background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 100%); color: #fff; border: 0; }
.ghb-cta-card p { font-size: var(--fs-cap); opacity: .85; margin-bottom: var(--sp-2); }
.ghb-cta-card .btn { display: block; text-align: center; }

.ghb-rel { display: flex; flex-direction: column; gap: var(--sp-1); }
.ghb-rel a {
  font-size: var(--fs-body); color: var(--ink-700); padding: 10px 12px;
  border-radius: var(--ghb-radius-sm); background: var(--bg); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ghb-rel a:hover { background: var(--green-50); color: var(--green-700); }

.ghb-faq { border-top: 1px solid var(--ghb-line-soft); }
.ghb-faq details { border-bottom: 1px solid var(--ghb-line-soft); }
.ghb-faq summary {
  cursor: pointer; padding: var(--sp-2) 0; font-size: var(--fs-body);
  font-weight: 600; color: var(--ink-900); list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-1);
}
.ghb-faq summary::-webkit-details-marker { display: none; }
.ghb-faq summary::after { content: "+"; color: var(--green-700); font-weight: 700; flex: none; }
.ghb-faq details[open] summary::after { content: "−"; }
.ghb-faq details p { font-size: var(--fs-body); line-height: 1.75; color: var(--ink-500); padding: 0 0 var(--sp-2); }

/* ---- 12.5 T4 控制台骨架 ---- */
.ghb-t4 { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: var(--ghb-gap); align-items: start; }
@media (max-width: 900px) { .ghb-t4 { grid-template-columns: 1fr; } }
.ghb-side { position: sticky; top: 72px; }
@media (max-width: 900px) { .ghb-side { position: static; } }
.ghb-side__g { margin-bottom: var(--sp-2); }
.ghb-side__gt { font-size: 12px; color: var(--ink-300); padding: 0 var(--sp-1) var(--sp-1); }
.ghb-side a {
  display: block; font-size: var(--fs-body); color: var(--ink-700);
  padding: 9px var(--sp-1); border-radius: var(--ghb-radius-sm); line-height: 1.4;
}
.ghb-side a:hover { background: var(--green-50); color: var(--green-700); }
.ghb-side a.is-on { background: var(--green-700); color: #fff; font-weight: 600; }

/* ---- 12.6 排行榜（园区扶持力度 TOP10 等）---- */
.ghb-rank { list-style: none; counter-reset: rk; margin: 0; padding: 0; }
.ghb-rank li {
  counter-increment: rk; display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); padding: 11px 0; border-bottom: 1px solid var(--ghb-line-soft);
}
.ghb-rank li:last-child { border-bottom: 0; }
.ghb-rank .nm { font-size: var(--fs-body); color: var(--ink-700); line-height: 1.5; }
.ghb-rank .nm::before {
  content: counter(rk); display: inline-block; width: 22px; height: 22px; line-height: 22px;
  text-align: center; border-radius: 50%; background: var(--green-50); color: var(--green-700);
  font-size: 12px; font-weight: 700; margin-right: 10px;
}
.ghb-rank .nm small { display: block; font-size: var(--fs-cap); color: var(--ink-300); padding-left: 32px; }
.ghb-rank .v { flex: none; font-size: var(--fs-cap); font-weight: 600; color: var(--green-700); }

/* ---- 12.7 无障碍 / 打印 ---- */
@media (prefers-reduced-motion: reduce) {
  .ghb-fopt, .ghb-item { transition: none; }
}
@media print {
  .ghb-filter, .ghb-aside, .ghb-pager, .ghb-side { display: none !important; }
  .ghb-t2, .ghb-t3, .ghb-t4 { grid-template-columns: 1fr; }
}
