/* ==========================================================================
   WorkBuddy · 天盛科技 服务官网 v2
   视觉基调：参考 WorkBuddy 官网（薄荷绿主色 + 浅色底 + 大留白 + 柔和圆角）
   版式骨架：延续 tswkt.com 的组件类名体系，便于两站协同维护
   ========================================================================== */

:root {
  /* ---- WorkBuddy 品牌主色（取自官方标志） ---- */
  --wb: #0ec7a8;
  --wb-2: #00c885;
  --wb-deep: #049b7d;
  --wb-ink: #036e59;
  --wb-soft: #e6faf5;
  --wb-soft-2: #d3f4ea;
  --wb-gradient: linear-gradient(135deg, #0ec7a8 0%, #00c885 100%);

  /* ---- 辅助蓝（腾讯生态 / 次级强调） ---- */
  --brand: #0052d9;
  --brand-hover: #366ef4;
  --brand-soft: #eef3ff;
  --brand-soft-2: #e0eaff;

  /* ---- 腾讯 / 企业微信 ---- */
  --tencent: #0052d9;
  --wecom: #07c160;
  --wecom-soft: #e8f8ef;

  /* ---- 文字 ---- */
  --ink-1: #0d1a17;
  --ink-2: #44544f;
  --ink-3: #77877f;
  --ink-4: #a9b5b0;

  /* ---- 线 / 底 ---- */
  --line: #e6ecea;
  --line-strong: #d3ddd9;
  --bg: #ffffff;
  --bg-soft: #f4f9f7;
  --bg-soft-2: #fafcfb;
  --bg-mint: #f0faf7;

  /* ---- 圆角（WorkBuddy 官网偏大圆角） ---- */
  --radius-xs: 8px;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 26px;
  --radius-xl: 34px;

  /* ---- 阴影（更柔和、更低对比） ---- */
  --shadow-s: 0 1px 2px rgba(13, 26, 23, 0.04), 0 2px 8px rgba(13, 26, 23, 0.04);
  --shadow: 0 6px 22px rgba(13, 26, 23, 0.06), 0 2px 8px rgba(13, 26, 23, 0.035);
  --shadow-l: 0 20px 52px rgba(6, 60, 48, 0.1), 0 4px 14px rgba(13, 26, 23, 0.05);
  --shadow-wb: 0 10px 28px rgba(4, 155, 125, 0.24);
  --shadow-brand: 0 10px 28px rgba(0, 82, 217, 0.2);

  --max: 1200px;
  --header-h: 88px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI",
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-num: "SF Pro Display", "HarmonyOS Sans SC", "PingFang SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-1);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--wb-soft-2); }

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--mint {
  background: linear-gradient(180deg, var(--bg-mint) 0%, #ffffff 100%);
}
.section--tight { padding: 68px 0; }

.sec-head {
  max-width: 800px;
  margin: 0 auto 52px;
  text-align: center;
}
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head .lead { max-width: 680px; margin: 0 auto; }
.sec-head--left .lead { margin-left: 0; }

/* ---------- 眉标 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wb-deep);
  background: var(--wb-soft);
  border: 1px solid #cbf0e6;
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow--blue {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand-soft-2);
}
.eyebrow--green {
  color: #06924a;
  background: var(--wecom-soft);
  border-color: #cdeedb;
}
.eyebrow--grey {
  color: var(--ink-2);
  background: #fff;
  border-color: var(--line-strong);
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: var(--ink-1);
}
h1 { font-size: clamp(31px, 4vw, 54px); font-weight: 700; letter-spacing: -0.032em; line-height: 1.16; }
h2 { font-size: clamp(25px, 2.7vw, 38px); letter-spacing: -0.026em; line-height: 1.24; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { margin: 0; }

.lead { font-size: 17px; color: var(--ink-2); line-height: 1.88; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; color: var(--ink-3); }
.center { text-align: center; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
}
.btn--wb { background: var(--wb-gradient); color: #fff; box-shadow: var(--shadow-wb); }
.btn--wb:hover { filter: brightness(1.04); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(4, 155, 125, 0.3); }
.btn--wb:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-2px); }

.btn--ghost { background: #fff; color: var(--ink-1); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--wb); color: var(--wb-deep); background: var(--wb-soft); transform: translateY(-2px); }

.btn--dark { background: var(--ink-1); color: #fff; }
.btn--dark:hover { background: #1c2e29; transform: translateY(-2px); }

.btn--link { height: auto; padding: 0; color: var(--wb-deep); font-weight: 600; border-radius: 0; }
.btn--link:hover { color: var(--wb-2); }
.btn--link svg { transition: transform 0.2s; }
.btn--link:hover svg { transform: translateX(3px); }

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s, background 0.24s, box-shadow 0.24s;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 14px rgba(13, 26, 23, 0.045);
}
.header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
/* 联合标识为横向长图（约 5.94:1），用高度控制整体尺寸 */
.logo__img { height: 50px; width: auto; }
.logo__badge {
  height: 30px;
  width: auto;
  box-sizing: content-box;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.logo__full { height: 62px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s, background 0.16s;
}
.nav a:hover { color: var(--wb-deep); background: var(--wb-soft); }
.nav a.is-active { color: var(--wb-deep); font-weight: 600; background: var(--wb-soft); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-1);
}

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 100px;
  overflow: hidden;
  background: linear-gradient(170deg, #f1fbf8 0%, #f8fdfc 42%, #ffffff 78%);
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 8% -2%, rgba(14, 199, 168, 0.22), transparent 62%),
    radial-gradient(620px 380px at 94% 6%, rgba(0, 200, 133, 0.14), transparent 64%),
    radial-gradient(760px 460px at 62% 96%, rgba(0, 82, 217, 0.07), transparent 68%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 26, 23, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 26, 23, 0.032) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(820px 460px at 50% 0%, #000 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(820px 460px at 50% 0%, #000 10%, transparent 76%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl {
  background: linear-gradient(96deg, var(--wb-deep) 0%, #00c885 46%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.92;
  max-width: 566px;
}
.hero__desc strong { color: var(--ink-1); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note svg { flex-shrink: 0; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero__stat { padding-right: 18px; }
.hero__stat b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.hero__stat span { display: block; font-size: 12.8px; line-height: 1.65; color: var(--ink-3); }

/* Hero 右侧可视化 */
.hero__visual { position: relative; min-height: 410px; }
.mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.mock__bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft-2);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__title {
  margin-left: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mock__body { padding: 20px; }
.mock__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}
.mock__row:hover { border-color: #cbf0e6; transform: translateX(2px); }
.mock__row:last-child { margin-bottom: 0; }
.mock__ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mock__row b { display: block; font-size: 13.5px; font-weight: 600; }
.mock__row span { font-size: 12px; color: var(--ink-3); }

.floatcard {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  padding: 14px 18px;
  animation: floaty 6s ease-in-out infinite;
}
.floatcard b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--wb-deep); }
.floatcard span { font-size: 12px; color: var(--ink-3); }
.floatcard--a { left: -20px; bottom: 46px; }
.floatcard--b { right: -12px; top: 28px; animation-delay: -3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   资质信任条
   ========================================================================== */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft-2);
  padding: 24px 0;
}
.logos__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logos__lead { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.logos__label { font-size: 13px; color: var(--ink-3); flex-shrink: 0; }
.logos__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 18px;
  flex: 1;
}
.logos__item {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.2s;
}
.logos__item:hover { color: var(--wb-deep); }
.logos__item svg { flex-shrink: 0; color: var(--wb); }

/* ==========================================================================
   卡片网格
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
  border-color: #cbf0e6;
}
.card__ico {
  width: 50px; height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--wb-soft);
  color: var(--wb-deep);
}
.card__ico--blue { background: var(--brand-soft); color: var(--brand); }
.card__ico--green { background: var(--wecom-soft); color: #06924a; }
.card__ico--orange { background: #fff4e6; color: #d97706; }
.card__ico--purple { background: #f2eeff; color: #6d4aff; }
.card__ico--cyan { background: #e6f7fb; color: #0891a6; }
.card__ico--pink { background: #ffeef3; color: #d6396b; }
.card__ico--grey { background: var(--bg-soft); color: var(--ink-2); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.82; }
.card__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--ink-3);
}
.card__list li { display: flex; gap: 9px; margin-bottom: 8px; line-height: 1.65; }
.card__list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--wb);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   tabs / 面板
   ========================================================================== */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
}
.tab:hover { border-color: var(--wb); color: var(--wb-deep); }
.tab.is-active {
  background: var(--wb-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-wb);
}
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadeUp 0.36s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}
.panel__pains { margin: 20px 0 0; padding: 0; list-style: none; }
.panel__pains li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  line-height: 1.7;
}
.panel__pains li:last-child { border-bottom: 0; }
.panel__pains svg { flex-shrink: 0; margin-top: 5px; color: var(--wb); }

/* ==========================================================================
   指标
   ========================================================================== */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.metric {
  padding: 28px 24px;
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.metric:hover { border-color: #cbf0e6; box-shadow: var(--shadow); }
.metric b {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--wb-deep);
  display: block;
  line-height: 1.15;
  font-family: var(--font-num);
}
.metric b i { font-style: normal; font-size: 17px; }
.metric span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-1); font-weight: 600; }
.metric em { display: block; font-style: normal; font-size: 12.8px; color: var(--ink-3); margin-top: 5px; line-height: 1.65; }

/* ==========================================================================
   案例卡
   ========================================================================== */
.case {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.24s, box-shadow 0.24s;
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.case__cover { height: 156px; position: relative; display: grid; place-items: center; overflow: hidden; }
.case__cover--1 { background: linear-gradient(135deg, #e6faf5 0%, #c6f2e4 100%); }
.case__cover--2 { background: linear-gradient(135deg, #eaf1ff 0%, #d3e2ff 100%); }
.case__cover--3 { background: linear-gradient(135deg, #f0edff 0%, #ddd6ff 100%); }
.case__cover--4 { background: linear-gradient(135deg, #fff4e6 0%, #ffe3c4 100%); }
.case__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-2);
}
.case__body { padding: 24px 24px 26px; }
.case__body h3 { font-size: 17px; margin-bottom: 10px; }
.case__body p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ==========================================================================
   流程
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wb-deep);
  font-family: var(--font-num);
}
.step::after {
  content: "";
  position: absolute;
  top: 9px; left: 32px; right: -20px;
  height: 1px;
  background: linear-gradient(90deg, #cbf0e6, transparent);
}
.step:last-child::after { display: none; }
.step h4 { font-size: 15.5px; margin-bottom: 9px; font-weight: 600; }
.step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.78; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #03443a 0%, #049b7d 52%, #0052d9 100%);
  color: #fff;
  padding: 56px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -170px; top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 66%);
  pointer-events: none;
}
.cta h2 { color: #fff; margin-bottom: 12px; font-size: clamp(23px, 2.4vw, 34px); }
.cta p { color: rgba(255, 255, 255, 0.86); font-size: 15.5px; max-width: 640px; line-height: 1.85; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn--ghost {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}
.cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; color: #fff; }
.cta .btn--white { background: #fff; color: var(--wb-ink); }
.cta .btn--white:hover { background: #f0fffb; transform: translateY(-2px); }

/* ==========================================================================
   表单
   ========================================================================== */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: #d6396b; margin-left: 3px; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 13px 15px;
  background: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.textarea { min-height: 122px; resize: vertical; line-height: 1.72; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--wb);
  box-shadow: 0 0 0 3px rgba(14, 199, 168, 0.15);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }

.alert {
  border-radius: var(--radius-s);
  padding: 13px 15px;
  font-size: 14px;
  display: none;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.65;
}
.alert.is-on { display: flex; }
.alert--ok { background: var(--wb-soft); border: 1px solid #cbf0e6; color: var(--wb-ink); }
.alert--err { background: #fdeef3; border: 1px solid #f8d3e0; color: #a81e4d; }
.alert--info { background: var(--brand-soft); border: 1px solid var(--brand-soft-2); color: #12459c; }

/* 反垃圾蜜罐字段：对访客不可见，但仍存在于 DOM 中（机器人会填，真正的用户不会） */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   内页首屏
   ========================================================================== */
.pagehead {
  padding: calc(var(--header-h) + 70px) 0 60px;
  background: linear-gradient(170deg, #f1fbf8 0%, #fbfdfd 60%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pagehead__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 340px at 14% -6%, rgba(14, 199, 168, 0.2), transparent 64%),
    radial-gradient(560px 320px at 88% 4%, rgba(0, 82, 217, 0.08), transparent 66%);
}
.pagehead__inner { position: relative; z-index: 2; max-width: 880px; }
.pagehead h1 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 16px; }
.crumb {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.crumb a:hover { color: var(--wb-deep); }

/* ==========================================================================
   通用内容块
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.split--narrow { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.prose p { color: var(--ink-2); font-size: 15.5px; line-height: 1.95; margin-bottom: 18px; }
.prose h3 { margin: 30px 0 12px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; margin: 0 0 18px; }
.prose li { color: var(--ink-2); font-size: 15px; line-height: 1.9; margin-bottom: 7px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); line-height: 1.72; }
.checklist li b { color: var(--ink-1); font-weight: 600; }
.checklist svg { flex-shrink: 0; margin-top: 4px; color: var(--wb); }

/* 表格 */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
}
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; }
table.cmp th, table.cmp td {
  padding: 17px 20px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.cmp thead th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover { background: var(--bg-soft-2); }
table.cmp td:first-child { font-weight: 600; color: var(--ink-1); }
table.cmp th.col-hi { background: var(--wb-soft); color: var(--wb-deep); }
table.cmp td.col-hi { background: rgba(230, 250, 245, 0.5); }
.tick { color: var(--wb-deep); font-weight: 700; }
.cross { color: var(--ink-4); }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  padding: 21px 26px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.16s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-soft); }
.faq summary::after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  color: var(--wb-deep);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 26px 24px; font-size: 14.5px; color: var(--ink-2); line-height: 1.88; }
.faq .faq__body p + p { margin-top: 12px; }

/* 信息卡 */
.infocard {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.infocard:hover { border-color: #cbf0e6; box-shadow: var(--shadow); }
.infocard__ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--wb-soft);
  color: var(--wb-deep);
  flex-shrink: 0;
}
.infocard b { display: block; font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 5px; }
.infocard div span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-1);
  overflow-wrap: break-word;
  word-break: normal;
}
.infocard em { display: block; font-style: normal; font-size: 13px; color: var(--ink-3); margin-top: 5px; }

/* 资讯卡 */
.newsgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.newscard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.newscard:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: #cbf0e6; }
.newscard__top { margin-bottom: 15px; display: flex; gap: 10px; align-items: center; }
.newscard h3 { font-size: 16.5px; line-height: 1.48; margin-bottom: 12px; transition: color 0.16s; }
.newscard:hover h3 { color: var(--wb-deep); }
.newscard p { font-size: 13.8px; color: var(--ink-2); line-height: 1.82; flex: 1; }
.newscard__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--wb-soft);
  color: var(--wb-deep);
  white-space: nowrap;
}
.pill--grey { background: var(--bg-soft); color: var(--ink-3); }
.pill--blue { background: var(--brand-soft); color: var(--brand); }
.pill--green { background: var(--wecom-soft); color: #06924a; }
.pill--warn { background: #fff4e6; color: #b45309; }

/* 内容盒 */
.cbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px;
}
.cbox__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.cbox__head h3 { font-size: 18px; margin-bottom: 5px; }
.cbox__head p { font-size: 13.5px; color: var(--ink-3); }

/* 痛点块 */
.painbox {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 24px 26px;
  background: #fff;
}
.painbox h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 15px;
}

/* 提示条 */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.78;
}
.notice svg { flex-shrink: 0; margin-top: 3px; color: var(--ink-3); }
.notice--mint { background: var(--wb-soft); border-color: #cbf0e6; color: var(--wb-ink); }
.notice--mint svg { color: var(--wb-deep); }
.notice b { font-weight: 600; }

/* ==========================================================================
   服务现场照片墙
   ========================================================================== */
.photogrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.photogrid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.photo {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s;
}
.photo:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo:hover img { transform: scale(1.045); }

/* 标准格：4:3 横图 */
.photo--std { aspect-ratio: 4 / 3; }
/* 竖图 */
.photo--tall { aspect-ratio: 3 / 4; }
/* 宽幅 */
.photo--wide { aspect-ratio: 16 / 9; grid-column: span 2; }

.photo__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, rgba(6, 40, 33, 0) 0%, rgba(6, 40, 33, 0.72) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.photo__cap em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

/* 照片墙区块标题 */
.photogrid__note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.75;
}

/* 案例卡改用真实照片 */
.case__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.case:hover .case__cover img { transform: scale(1.05); }
.case__cover--photo { height: 190px; }

/* 资质徽标条（授权标识） */
.authbar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  flex-wrap: wrap;
}
.authbar img { height: 44px; width: auto; }
.authbar__text { flex: 1; min-width: 220px; }
.authbar__text b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.authbar__text span { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: var(--bg-soft);
  color: var(--ink-2);
  padding: 66px 0 28px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-strong);
}
.footer__desc {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.88;
  max-width: 360px;
  color: var(--ink-3);
}
.footer h4 { color: var(--ink-1); font-size: 14px; font-weight: 600; margin-bottom: 17px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { transition: color 0.16s; }
.footer a:hover { color: var(--wb-deep); }
.footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.8px;
  color: var(--ink-3);
  line-height: 1.8;
}
.footer__legal {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.3px;
  color: var(--ink-4);
  line-height: 1.85;
  max-width: 1000px;
}

/* ==========================================================================
   滚动动效（铁律：默认可见，仅 JS 可用时增强）
   ========================================================================== */
.reveal { opacity: 1; transform: none; }

html.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}
html.has-js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* 回到顶部 */
.totop {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.24s;
  z-index: 80;
  color: var(--ink-2);
}
.totop.is-on { opacity: 1; visibility: visible; }
.totop:hover { color: var(--wb-deep); border-color: var(--wb); transform: translateY(-2px); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .logo__badge { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .hero__visual { min-height: auto; }
  .floatcard--b { right: 4px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { grid-template-columns: 1fr; padding: 32px; gap: 30px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .newsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photogrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .logos__inner { gap: 20px; }
  .logos__list { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: flex-start; }
  .logos__item { justify-content: flex-start; }
  .photogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .photo--wide { grid-column: span 2; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-l);
    padding: 10px;
  }
  .nav.is-open { display: flex; }
  .burger { display: flex; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split, .split--wide, .split--narrow { grid-template-columns: 1fr; gap: 36px; }
  .cta { grid-template-columns: 1fr; padding: 38px 28px; }
  .section { padding: 68px 0; }
  .newsgrid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .hero { padding-top: calc(var(--header-h) + 46px); padding-bottom: 66px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .grid--4, .metrics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .field--row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .wrap, .header__inner { padding: 0 18px; }
  .hero__cta .btn, .cta__actions .btn { flex: 1 1 auto; }
  .floatcard--a { left: 0; }
  .card { padding: 26px 22px; }
  .panel { padding: 26px 22px; border-radius: var(--radius-l); }
  .cbox { padding: 24px 20px; }
  .faq summary { padding: 18px 20px; font-size: 15px; }
  .faq .faq__body { padding: 0 20px 20px; }
  .photogrid, .photogrid--feature { grid-template-columns: 1fr; gap: 14px; }
  .photo--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .photo--tall { aspect-ratio: 4 / 3; }
  .authbar { padding: 18px; gap: 16px; }
  .authbar img { height: 36px; }
  /* 联合标识为超宽长图，手机端降尺寸避免挤出汉堡按钮 */
  .logo__img { height: 36px; }
  .logo__full { height: 52px; }
}


/* ==========================================================================
   登录 / 管理后台（2026-09-27 新增）
   ========================================================================== */
/* ---------- 登录 / 控制台 ---------- */
.authwrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  padding-top: var(--header-h);
}

.authside {
  background: linear-gradient(150deg, #0b2a63 0%, #0052d9 60%, #0a86d6 100%);
  color: #fff;
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.authside::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: -220px;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
}

.authside h2 {
  color: #fff;
  margin-bottom: 16px;
}

.authside p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.9;
  max-width: 420px;
}

.authside ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.authside li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
}

.authside svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: #7fe0a8;
}

/* 侧栏底部的一句备注（如"账号由管理员统一开通"） */
.authside__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.66) !important;
}

.authmain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 24px;
  background: var(--bg-soft-2);
}

.authcard {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: 34px 32px;
}

.authcard h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

.authcard .sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 26px;
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.segmented button {
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.18s;
}

.segmented button.is-active {
  background: #fff;
  color: var(--wb);
  box-shadow: var(--shadow-s);
}

.authcard form {
  display: grid;
  gap: 15px;
}

.authswitch {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
}

.authswitch button {
  border: 0;
  background: none;
  color: var(--wb);
  font-weight: 600;
  cursor: pointer;
  padding: 0 2px;
}

.authswitch button:hover {
  text-decoration: underline;
}

.otprow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* 控制台 */
.console {
  padding: calc(var(--header-h) + 44px) 0 80px;
  background: var(--bg-soft);
  min-height: 100vh;
}

.cbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.cbox + .cbox {
  margin-top: 20px;
}

.cbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cbox__head h3 {
  font-size: 17px;
}

.cbox__head p {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 3px;
}

/* ---------- 工作台 · 网站内容管理 ---------- */
.cms-block + .cms-block {
  margin-top: 30px;
}

.cms-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
  line-height: 1.2;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--wb);
}

.cms-block h4 em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 8px;
}

/* 图片替换区：一行一张，左边缩略图右边按钮，窄屏自动改上下 */
.imgform {
  display: grid;
  gap: 18px;
}

.imgform .imgfield {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FBFCFD;
}

.imgform .imgfield label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}

/* ---------- 工作台 · 资讯正文富文本编辑器 ---------- */
.rte {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.rte__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.rte__btn {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}

.rte__btn:hover {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--wb);
}

.rte__btn--key {
  background: #fff;
  border-color: var(--wb);
  color: var(--wb);
}

.rte__sep {
  width: 1px;
  height: 16px;
  background: var(--line-strong);
  margin: 0 4px;
}

.rte__body {
  min-height: 320px;
  max-height: 620px;
  overflow-y: auto;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-1);
  outline: none;
}

.rte__body p {
  margin: 0 0 14px;
}

.rte__body h2 {
  font-size: 17px;
  margin: 20px 0 10px;
}

.rte__body ul,
.rte__body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.rte__body blockquote {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-left: 3px solid var(--wb);
  background: var(--bg-soft);
  color: var(--ink-2);
}

.rte__body figure {
  margin: 14px 0;
}

.rte__body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

/* ---------- 工作台 · 封面图选择 ---------- */
.coverpick {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.coverpick__thumb {
  width: 160px;
  height: 90px;
  flex-shrink: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverpick__thumb span {
  font-size: 12.5px;
  color: var(--ink-3);
}

.coverpick__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverpick__ops {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- 后台概览数字卡片 ---------- */
.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.statcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  background: linear-gradient(160deg, #f2fbf9 0%, #fbfdfd 100%);
  border: 1px solid #e2f4ef;
}
.statcard__n {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--wb-ink, #049b7d);
  font-variant-numeric: tabular-nums;
}
.statcard__l {
  font-size: 12.5px;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .statgrid { grid-template-columns: repeat(2, 1fr); }
}

.profile .avatar {
  width: 54px;
  height: 54px;
  font-size: 20px;
  border-radius: 16px;
}

.profile__meta b {
  display: block;
  font-size: 17px;
}

.profile__meta span {
  font-size: 13.5px;
  color: var(--ink-3);
  word-break: break-all;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--wb);
}

.pill--ok {
  background: var(--wecom-soft);
  color: #07934a;
}

.pill--warn {
  background: #fff4e6;
  color: #b45309;
}

.pill--grey {
  background: var(--bg-soft);
  color: var(--ink-3);
}

.listitem {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.listitem:hover {
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow-s);
}

.listitem + .listitem {
  margin-top: 12px;
}

.listitem__main {
  flex: 1;
  min-width: 0;
}

.listitem__main b {
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

.listitem__main p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.listitem__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 10px;
}

.empty {
  text-align: center;
  padding: 52px 20px;
  color: var(--ink-3);
  font-size: 14.5px;
}

.empty svg {
  margin: 0 auto 16px;
  color: var(--ink-4);
}

.dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  background: var(--bg-soft-2);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.dropzone:hover,
.dropzone.is-over {
  border-color: var(--wb);
  background: var(--brand-soft);
}

.dropzone b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 5px;
}

.dropzone span {
  font-size: 12.5px;
  color: var(--ink-3);
}

.filelist {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.fileitem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  font-size: 13.5px;
}

.fileitem__ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--wb);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fileitem__name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fileitem__size {
  color: var(--ink-3);
  font-size: 12.5px;
  flex-shrink: 0;
}

.iconbtn {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 7px;
  height: 30px;
  padding: 0 10px;
  font-size: 12.5px;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.16s;
  flex-shrink: 0;
}

.iconbtn:hover {
  border-color: var(--wb);
  color: var(--wb);
}

.iconbtn--danger:hover {
  border-color: #d6396b;
  color: #d6396b;
}

/* 留言行右侧操作区：状态下拉 + 删除 */
.rowacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 2px;
}

.status-sel {
  height: 30px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background-color: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.16s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236E7480' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}

.status-sel:hover {
  border-color: var(--wb);
  color: var(--wb);
}

.status-sel:disabled {
  opacity: 0.55;
  cursor: default;
}

.status-sel.is-saved {
  border-color: var(--wecom);
  color: var(--wecom);
  box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.14);
}

/* ------------------------------------------------------------------
   顶部导航右侧：后台入口（常驻）
   —— 老板自己找得到入口，不用记网址；小屏收成一个图标
   ------------------------------------------------------------------ */
.hdr-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: #fff;
  transition: all 0.16s;
  white-space: nowrap;
}

.hdr-admin svg {
  flex-shrink: 0;
}

.hdr-admin:hover {
  border-color: var(--wb);
  color: var(--wb);
  background: #F2FCF9;
}

@media (max-width: 900px) {
  .hdr-admin span {
    display: none;
  }
  .hdr-admin {
    padding: 0 9px;
  }
}

/* ------------------------------------------------------------------
   资讯详情页正文排版
   ------------------------------------------------------------------ */
.article__body > p {
  margin: 0 0 20px;
}

.article__body h2 {
  font-size: 21px;
  line-height: 1.5;
  margin: 34px 0 14px;
  color: var(--ink-1);
}

.article__body h3 {
  font-size: 17.5px;
  line-height: 1.55;
  margin: 28px 0 12px;
  color: var(--ink-1);
}

.article__body ul,
.article__body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article__body li {
  margin-bottom: 8px;
}

.article__body blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--wb);
  background: #F5FEFB;
  border-radius: 0 10px 10px 0;
  color: var(--ink-2);
}

.article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 8px 0 20px;
  display: block;
}

.article__body a {
  color: var(--wb);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14.5px;
}

.article__body th,
.article__body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.article__body th {
  background: #F7F9FA;
  font-weight: 600;
}

.article__title {
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

@media (max-width: 640px) {
  .article__title {
    font-size: 23px;
  }
  .listitem {
    flex-direction: column;
    align-items: stretch;
  }
  .listitem__meta {
    gap: 10px;
  }
  .rowacts {
    justify-content: flex-start;
    margin-top: 10px;
  }
  .filelist {
    margin-top: 10px;
  }
}

/* ==================================================================
   后台 · 资讯管理（企微后台式两段布局）
   列表页：工具栏 + 数据表 + 分页；编辑页：表单
   ================================================================== */

/* ---------- 工具栏 ---------- */
.artbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.artbar__l,
.artbar__r {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.artbar__search {
  width: 236px;
  height: 36px;
}

.artbar__sel {
  width: auto;
  min-width: 118px;
  height: 36px;
  padding: 0 30px 0 12px;
  font-size: 13.5px;
}

.artbar__count {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-right: 2px;
}

.artbar__count b {
  color: var(--wb-deep);
  font-weight: 700;
}

.artbtn-danger {
  color: #d6396b !important;
}

.artbtn-danger:hover {
  border-color: #d6396b !important;
  background: #FFF5F8 !important;
}

/* ---------- 数据表 ---------- */
.artwrap {
  border-radius: 12px;
}

.datatable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.datatable thead th {
  background: #F7F9FA;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-2);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.datatable tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink-2);
}

.datatable tbody tr:last-child td {
  border-bottom: 0;
}

.datatable tbody tr:hover {
  background: #FAFDFC;
}

.dt-check {
  width: 42px;
}

.dt-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--wb);
  cursor: pointer;
}

.dt-cat {
  width: 106px;
}

.dt-status {
  width: 92px;
}

.dt-top {
  width: 62px;
  text-align: center;
}

.dt-date {
  width: 118px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ink-3);
}

.dt-acts {
  width: 168px;
  white-space: nowrap;
}

.dt-title__link {
  display: block;
  color: var(--ink-1);
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}

.dt-title__link:hover {
  color: var(--wb-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dt-title__sub {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* 行内操作按钮 */
.linkbtn {
  display: inline-block;
  border: 0;
  background: none;
  padding: 0;
  margin-right: 12px;
  font-size: 13.5px;
  color: var(--wb-deep);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.linkbtn:last-child {
  margin-right: 0;
}

.linkbtn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linkbtn--danger {
  color: #d6396b;
}

/* 状态标签：点一下切换发布 / 下架 */
.statustag {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s;
}

.statustag.is-pub {
  background: #E6FAF5;
  color: #049B7D;
}

.statustag.is-pub:hover {
  background: #D3F5EC;
}

.statustag.is-draft {
  background: #FFF4E5;
  color: #B26A00;
}

.statustag.is-draft:hover {
  background: #FFEACC;
}

.statustag:disabled {
  opacity: 0.55;
  cursor: default;
}

/* 置顶星标 */
.topsw {
  border: 0;
  background: none;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  color: #C9D2D8;
  padding: 2px 4px;
  transition: color 0.16s, transform 0.16s;
  font-family: inherit;
}

.topsw:hover {
  color: #F5A623;
  transform: scale(1.12);
}

.topsw.is-on {
  color: #F5A623;
}

.topsw:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

/* ---------- 分页 ---------- */
.artpager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
}

.artpager__info {
  font-size: 13px;
  color: var(--ink-3);
}

.artpager__btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.artpager__num {
  font-size: 13.5px;
  color: var(--ink-2);
  min-width: 58px;
  text-align: center;
}

.artpager button:disabled {
  opacity: 0.45;
  cursor: default;
}

/* ---------- 编辑页底部操作条 ---------- */
.artform__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 20px;
}

/* ---------- 骨架屏 ---------- */
.skeleton {
  background: linear-gradient(90deg, #F2F5F7 25%, #E9EFF2 37%, #F2F5F7 63%);
  background-size: 400% 100%;
  border-radius: 8px;
  animation: sk 1.3s ease infinite;
}

@keyframes sk {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------- 窄屏适配 ---------- */
@media (max-width: 900px) {
  .artbar__search {
    width: 100%;
  }
  .artbar__l {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .datatable {
    min-width: 760px;
  }
  .artbar__r {
    width: 100%;
  }
}

/* ==========================================================
   页脚备案号（固定在页脚底栏内，非浮动）
   ========================================================== */
.footer__icp {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__icp:hover {
  color: var(--wb-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 底栏里备案号与前面几项之间留出呼吸感 */
.footer__bottom .footer__icp {
  white-space: nowrap;
}

/* 窄屏：底栏换行时，备案号随右侧一组一起换行，不挤在一起 */
@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer__bottom > span:last-child {
    display: inline-flex;
    flex-wrap: wrap;
    row-gap: 4px;
  }
}
