/* 企业文化咨询 · 共享样式（中式简洁 · 米黄暖色 · 与书院同源） */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  background: #F7F5F0; color: #2C2C2A; line-height: 1.78; font-size: 16px;
}
::selection { background: #FAEEDA; color: #854F0B; }
.wrap { max-width: 940px; margin: 0 auto; padding: 20px; }

/* 顶栏：与书院 header.site 同构 */
header.site {
  border-bottom: 1px solid #D3D1C7; background: #FFFDF8;
  padding: 15px 22px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 6px 14px; box-shadow: 0 1px 10px rgba(44, 44, 42, .05);
  position: sticky; top: 0; z-index: 20;
}
header.site .brand { font-size: 20px; font-weight: 700; color: #2C2C2A; text-decoration: none; letter-spacing: .5px; }
header.site .brand b { color: #854F0B; }
header.site .brand-sub { font-size: 12.5px; color: #888780; margin-left: 10px; }
header.site nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; column-gap: 20px; row-gap: 4px; }
header.site nav a { font-size: 14.5px; color: #5F5E5A; text-decoration: none; transition: color .12s ease; white-space: nowrap; }
header.site nav a:hover, header.site nav a.cur { color: #854F0B; font-weight: 600; }
header.site nav a.back { color: #3B6D11; }

/* 标题 */
h1 { font-size: 32px; margin: 34px 0 12px; font-weight: 700; line-height: 1.4; letter-spacing: .3px; }
h2 { font-size: 23px; margin: 44px 0 16px; font-weight: 700; border-left: 5px solid #854F0B; padding-left: 14px; line-height: 1.4; }
h3 { font-size: 19px; margin: 26px 0 10px; font-weight: 700; line-height: 1.5; }
p, li { font-size: 16px; margin-bottom: 10px; }
.muted { color: #888780; font-size: 13.5px; }
.lead-p { font-size: 17.5px; color: #5C564A; line-height: 1.85; }

/* 卡片与按钮 */
.card { background: #FFFDF8; border: 1px solid #D3D1C7; border-radius: 12px; padding: 24px; margin: 16px 0; box-shadow: 0 2px 10px rgba(44,44,42,.04); }
.btn { display: inline-block; background: #854F0B; color: #FFF; border: none; cursor: pointer; font-size: 16.5px; padding: 13px 34px; border-radius: 10px; text-decoration: none; font-family: inherit; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 3px 10px rgba(133,79,11,.22); }
.btn:hover { background: #633806; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(133,79,11,.28); }
.btn.ghost { background: transparent; color: #854F0B; border: 1px solid #854F0B; box-shadow: none; }
.btn.green { background: #3B6D11; box-shadow: 0 3px 10px rgba(59,109,17,.2); }
.btn.green:hover { background: #2C530C; }
.badge { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid currentColor; margin-right: 6px; }

/* 首页 hero */
.hero { text-align: center; padding: 46px 20px 30px; }
.hero h1 { font-size: 38px; margin: 0 0 14px; }
.hero .kicker { color: #854F0B; font-size: 15px; font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.hero .sub { font-size: 19px; color: #5C564A; max-width: 680px; margin: 0 auto 8px; }
.hero .oneline { font-size: 21px; color: #2C2C2A; font-weight: 700; max-width: 720px; margin: 18px auto 0; line-height: 1.7; }

/* 网格卡片 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin: 18px 0; }
.gcard { background: #FFFDF8; border: 1px solid #D3D1C7; border-radius: 12px; padding: 20px; text-decoration: none; color: #2C2C2A; display: block; transition: all .18s; border-top: 4px solid #854F0B; }
.gcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(44,44,42,.10); border-color: #C9A96A; }
.gcard .ico { font-size: 30px; line-height: 1; }
.gcard h3 { margin: 12px 0 6px; font-size: 18px; }
.gcard p { font-size: 14.5px; color: #5C564A; line-height: 1.7; margin: 0; }
.gcard .go { color: #854F0B; font-size: 13.5px; font-weight: 600; margin-top: 10px; display: inline-block; }

/* 流程链 */
.chain { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 22px 0; }
.chain .node { background: #FFFDF8; border: 1px solid #C9A96A; border-radius: 10px; padding: 12px 16px; text-align: center; min-width: 108px; }
.chain .node b { display: block; color: #854F0B; font-size: 16px; }
.chain .node span { font-size: 12.5px; color: #888780; }
.chain .arrow { color: #C9A96A; font-size: 20px; }

/* 表格 */
table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14.5px; }
th, td { border: 1px solid #D3D1C7; padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.65; }
th { background: #FAEEDA; color: #6E400A; font-weight: 700; }
tr:nth-child(even) td { background: #FBF9F4; }

/* 阶段路线 */
.phase { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed #D3D1C7; }
.phase .pn { flex: 0 0 46px; height: 46px; border-radius: 50%; background: #854F0B; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.phase .pb h3 { margin: 0 0 4px; }
.phase .pb .meta { font-size: 13px; color: #854F0B; font-weight: 600; }

/* AI 预留位 */
.ai-slot { background: linear-gradient(135deg,#F3EFE2,#FAF6EC); border: 2px dashed #C9A96A; border-radius: 16px; padding: 40px 28px; text-align: center; }
.ai-slot .ico { font-size: 52px; }
.ai-slot h2 { border: none; padding: 0; justify-content: center; }
.soon { display: inline-block; background: #C9A96A; color: #fff; font-size: 12px; padding: 4px 14px; border-radius: 999px; letter-spacing: 1px; }

/* 表单 */
.formrow { margin-bottom: 16px; }
.formrow label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; color: #3E3A32; }
.formrow input, .formrow textarea, .formrow select { width: 100%; padding: 12px 14px; border: 1px solid #D3D1C7; border-radius: 10px; font-size: 15.5px; font-family: inherit; background: #FFFDF8; box-sizing: border-box; }
.formrow textarea { min-height: 110px; resize: vertical; }
.formnote { font-size: 13px; color: #888780; margin-top: 4px; }
.okmsg { display: none; background: #EAF3DE; border: 1px solid #3B6D11; color: #2C530C; padding: 14px 18px; border-radius: 10px; margin: 16px 0; }

/* 书院关联条 */
.academy-link { background: #F3EFE2; border: 1px solid #D3D1C7; border-radius: 12px; padding: 18px 22px; margin: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.academy-link .al-t { font-size: 15px; color: #5C564A; }
.academy-link .al-t b { color: #2C2C2A; }

footer { margin: 52px 0 24px; border-top: 1px solid #D3D1C7; padding-top: 16px; font-size: 12.5px; color: #888780; text-align: center; line-height: 1.9; }
footer a { color: #854F0B; text-decoration: none; }

/* 词条条目：明确可点击状态（首页卡片 + 服务页内联） */
.termlist { display: flex; flex-direction: column; gap: 7px; margin: 14px 0 2px; }
.termlink {
  display: flex; align-items: baseline; gap: 9px; cursor: pointer;
  padding: 8px 11px; border: 1px solid #E4DFD0; border-radius: 8px;
  background: #FFFCF5; color: #2C2C2A; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.termlink:hover { background: #FAEEDA; border-color: #C9A96A; color: #854F0B; transform: translateX(2px); }
.termlink .tn { color: #854F0B; font-weight: 700; flex: 0 0 auto; }
.termlink .tt { font-weight: 700; }
.termlink .tg { color: #888780; font-size: 13px; }
.termlink .tgo { margin-left: auto; color: #854F0B; font-weight: 700; }
.termlink:focus-visible { outline: 2px solid #854F0B; outline-offset: 2px; }
.termlink.inline { display: inline; padding: 1px 3px; border: none; background: transparent; color: #854F0B; border-bottom: 1px dashed #C9A96A; }
.termlink.inline:hover { background: #FAEEDA; transform: none; }

/* 填写内容 · 知识库评估模块 */
.kcheck { background: #FFFDF8; border: 1px solid #D3D1C7; border-top: 4px solid #3B6D11; border-radius: 12px; padding: 20px 22px; margin: 22px 0 8px; box-shadow: 0 2px 10px rgba(44,44,42,.04); }
.kcheck-h { margin-bottom: 12px; }
.kcheck-t { font-size: 17px; font-weight: 700; color: #2C2C2A; }
.kcheck-s { font-size: 12.5px; color: #888780; margin-top: 3px; }
.kcheck-input { width: 100%; min-height: 96px; resize: vertical; padding: 12px 14px; border: 1px solid #D3D1C7; border-radius: 10px; font-family: inherit; font-size: 15px; line-height: 1.7; background: #FFFCF5; color: #2C2C2A; box-sizing: border-box; }
.kcheck-input:focus { outline: none; border-color: #C9A96A; box-shadow: 0 0 0 3px rgba(201,169,106,.18); }
.kcheck-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.kcheck-count { font-size: 12px; color: #888780; }
.kcheck-btn { padding: 9px 24px; font-size: 14.5px; }
.kcheck-btn:disabled { opacity: .6; cursor: not-allowed; }
.kcheck-result { margin-top: 14px; background: #F7F5F0; border: 1px solid #E3DCCB; border-radius: 10px; padding: 16px 18px; }
.kcheck-result[hidden] { display: none; }
.kcheck-answer { font-size: 14.5px; line-height: 1.9; color: #2C2C2A; }
.kcheck-src { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #D3D1C7; font-size: 12.5px; color: #854F0B; }
.kcheck-disc { margin-top: 10px; font-size: 11.5px; color: #888780; line-height: 1.7; }
.kcheck-flag { display: inline-block; background: #FBF3D9; color: #6E400A; border: 1px solid #E3C77B; border-radius: 6px; padding: 3px 10px; font-size: 12px; margin-bottom: 10px; }
.kcheck-term { font-size: 12px; color: #5F6B3A; margin-bottom: 8px; }
.kcheck-refused { background: #FCF7EA; }
.kcheck-err { background: #FCEBEB; border-color: #E8B4B4; color: #A32D2D; font-size: 13.5px; }
.kcheck-wait { color: #888780; font-size: 13.5px; }
.kcheck-note { font-size: 11.5px; color: #888780; margin: 8px 0 0; }
@media (max-width: 600px) { .kcheck { padding: 16px; } .kcheck-btn { padding: 9px 16px; } }

/* 词条详情页 */
.crumb { font-size: 13px; color: #888780; margin: 14px 0 0; }
.crumb a { color: #854F0B; text-decoration: none; }
.pagehero { background: #FFFDF8; border: 1px solid #D3D1C7; border-top: 4px solid var(--ac, #854F0B); border-radius: 12px; padding: 30px 28px; margin: 18px 0 22px; }
.pagehero .kicker { color: var(--ac, #854F0B); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; }
.pagehero h1 { margin: 8px 0 10px; font-size: 32px; }
.pagehero h1 small { font-size: 18px; color: #888780; font-weight: 400; margin-left: 8px; }
.pagehero p { font-size: 17px; color: #5C564A; max-width: 720px; margin-bottom: 18px; }
.hrow { display: flex; flex-wrap: wrap; gap: 10px; }
.statrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.statrow .stat { flex: 1 1 180px; background: #FFFDF8; border: 1px solid #D3D1C7; border-left: 4px solid var(--ac, #854F0B); border-radius: 10px; padding: 14px 16px; }
.statrow .num { font-size: 18px; font-weight: 700; color: var(--ac, #854F0B); line-height: 1.5; }
.statrow .cap { font-size: 12.5px; color: #888780; margin-top: 4px; }
.fourline { background: #FFFDF8; border: 1px solid #D3D1C7; border-radius: 12px; overflow: hidden; margin: 16px 0 8px; }
.flrow { display: flex; border-bottom: 1px solid #EAE6DA; }
.flrow:last-child { border-bottom: none; }
.flrow .flk { flex: 0 0 108px; background: #F3EFE2; color: #6E400A; font-weight: 700; padding: 14px 16px; text-align: center; }
.flrow .flv { flex: 1; padding: 14px 18px; line-height: 1.8; }
.exblock { display: flex; background: #FBFAF4; border: 1px solid #D3D1C7; border-radius: 12px; overflow: hidden; margin: 0 0 8px; }
.exblock .exk { flex: 0 0 108px; background: #EDE7D2; color: #6E400A; font-weight: 700; padding: 14px 16px; text-align: center; }
.exblock .exv { flex: 1; padding: 14px 18px; line-height: 1.85; color: #4A4A46; }
.sublist { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.subitem { display: inline-block; background: #FFFDF8; border: 1px solid #D3D1C7; border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: #5C564A; text-decoration: none; cursor: pointer; transition: all .15s; }
.subitem:hover { background: #FAEEDA; border-color: #C9A96A; color: #854F0B; }
.subitem:focus-visible { outline: 2px solid #854F0B; outline-offset: 2px; }
.backline { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; padding-top: 16px; border-top: 1px dashed #D3D1C7; }
.backline.between { justify-content: space-between; }
.backline a { color: #854F0B; text-decoration: none; font-weight: 600; }
.backline a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  h1 { font-size: 26px; }
  .hero h1 { font-size: 29px; }
  h2 { font-size: 20px; }
  .phase { flex-direction: column; gap: 10px; }
  header.site nav { justify-content: flex-start; }
  table { font-size: 13px; }
  .pagehero { padding: 22px 18px; }
  .pagehero h1 { font-size: 25px; }
  .pagehero h1 small { display: block; margin: 4px 0 0; }
  .flrow { flex-direction: column; }
  .flrow .flk { flex: none; text-align: left; padding: 8px 16px; }
}
