/* 知人 · HR 实践笔记 —— 前台样式（浅色主题） */
:root {
  --bg: #F7F6F2;
  --bg-soft: #F1F0EA;
  --surface: #FFFFFF;
  --ink: #1D2621;
  --ink-2: #4C5751;
  --ink-3: #8A928C;
  --line: #E3E1D9;
  --green: #245B45;
  --green-deep: #173D2E;
  --green-soft: #E8F0EB;
  --accent: #C4703A;
  --accent-soft: #FBF0E7;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(28, 40, 32, .04), 0 8px 24px rgba(28, 40, 32, .05);
  --shadow-lg: 0 24px 64px rgba(23, 61, 46, .14);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #D9E8DF; color: var(--green-deep); }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 40px; }
.sec-head h2 {
  margin: 14px 0 8px; font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.02em; line-height: 1.35;
}
.sec-head p { margin: 0; color: var(--ink-2); max-width: 560px; font-size: 14.5px; }
.sec-side { flex-shrink: 0; color: var(--ink-3); font-size: 13px; padding-bottom: 6px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 246, 242, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 225, 217, .9);
}
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(36, 91, 69, .22);
}
.brand-txt strong { display: block; font-family: var(--serif); font-size: 18px; letter-spacing: .1em; line-height: 1.2; }
.brand-txt span { display: block; font-size: 9.5px; letter-spacing: .17em; color: var(--ink-3); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 13.5px; color: var(--ink-2); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--green); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1.5px; background: var(--green); transition: right .25s;
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  padding: 9px 18px; border: 1px solid var(--green); border-radius: 999px;
  color: var(--green) !important; font-weight: 600; font-size: 13px;
  transition: all .2s;
}
.nav-cta:hover { background: var(--green); color: #fff !important; }
.nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(36, 91, 69, .09) 0%, rgba(36, 91, 69, 0) 66%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(rgba(36, 91, 69, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 91, 69, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7);
  font-size: 12px; color: var(--ink-2);
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 {
  margin: 26px 0 22px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 66px); line-height: 1.28; letter-spacing: -.035em;
  white-space: pre-line;
}
.hero h1 em {
  font-style: normal; color: var(--green);
  background: linear-gradient(transparent 70%, rgba(196, 112, 58, .20) 70%);
}
.hero-desc { max-width: 520px; font-size: 16px; color: var(--ink-2); line-height: 1.95; margin: 0 0 14px; }
.hero-note { font-size: 12.5px; color: var(--ink-3); margin: 0 0 34px; display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(36, 91, 69, .22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(36, 91, 69, .3); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { background: #fff; border-color: var(--green); color: var(--green); }

/* Hero 右侧：六大模块索引 */
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 26px 26px 16px; position: relative;
}
.hero-card::before {
  content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--accent)); border-radius: 0 0 4px 4px;
}
.hc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.hc-head strong { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.hc-head span { font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.hc-list { list-style: none; margin: 0; padding: 0; }
.hc-list li { border-top: 1px solid var(--line); }
.hc-list a { display: flex; align-items: center; gap: 13px; padding: 12px 4px; transition: padding .2s, color .2s; }
.hc-list a:hover { padding-left: 10px; color: var(--green); }
.hc-no { font-family: Georgia, serif; font-size: 12px; color: var(--ink-3); width: 20px; }
.hc-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hc-name { flex: 1; font-size: 14px; font-weight: 500; }
.hc-arrow { color: var(--ink-3); font-size: 15px; }
.hc-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); text-align: center; }

/* ---------- 首页工具栏（后台可维护的链接入口） ---------- */
.nav-tool-group { display: contents; }
.tools-band { --band-bg: #173D2E; --band-accent: #F0C9A6; background: var(--band-bg); color: #fff; padding: 34px 0 38px; position: relative; overflow: hidden; }
.tools-band[data-theme="green"]  { --band-bg: #173D2E; --band-accent: #F0C9A6; }
.tools-band[data-theme="indigo"] { --band-bg: #243B5E; --band-accent: #AFCBF2; }
.tools-band[data-theme="plum"]   { --band-bg: #3E2E56; --band-accent: #DCC4EE; }
.tools-band[data-theme="slate"]  { --band-bg: #2E4147; --band-accent: #BBD9D4; }
.tools-band[data-theme="clay"]   { --band-bg: #6B3F2A; --band-accent: #F2C9A0; }
#toolSections > .tools-band + .tools-band { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10); }
.tools-band::before {
  content: ""; position: absolute; right: -8%; top: -160%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}
.tools-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; position: relative; }
.tools-kicker { font-size: 10.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .48); }
.tools-head h2 { margin: 6px 0 3px; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.tools-head p { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.tools-count { font-size: 11.5px; color: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .18); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.tool-card {
  display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 15px 16px;
  border-radius: 12px; background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  transition: transform .2s, background .2s, border-color .2s;
}
a.tool-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .34); }
.tool-card.disabled { opacity: .45; cursor: not-allowed; }
.tool-ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .13); display: grid; place-items: center; flex-shrink: 0; }
.tool-ic svg { width: 19px; height: 19px; }
.tool-main { flex: 1; min-width: 0; }
.tool-title { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.tool-title em { font-style: normal; font-size: 10px; font-weight: 500; color: var(--band-accent); border: 1px solid color-mix(in srgb, var(--band-accent) 45%, transparent); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.tool-desc { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); line-height: 1.6; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-go { color: rgba(255, 255, 255, .55); flex-shrink: 0; display: grid; place-items: center; }
.tool-go svg { width: 15px; height: 15px; }
.tool-none { font-size: 10px; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.tools-loading, .tools-empty { grid-column: 1 / -1; padding: 24px; text-align: center; color: rgba(255, 255, 255, .6); font-size: 12.5px; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 12px; }

/* ---------- 模块卡片 ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mod-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 18px; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; min-height: 292px;
}
.mod-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--mc, var(--green)); }
.mod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.mod-card-bgno {
  position: absolute; right: 12px; top: 2px; font-family: Georgia, serif;
  font-size: 92px; line-height: 1; color: var(--mc, var(--green)); opacity: .055; pointer-events: none;
}
.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; position: relative; }
.mc-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--mc, var(--green)) 10%, white);
  color: var(--mc, var(--green));
}
.mc-icon svg { width: 23px; height: 23px; }
.mc-no { font-family: Georgia, serif; font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }
.mod-card h3 { margin: 0 0 3px; font-family: var(--serif); font-size: 21px; font-weight: 600; position: relative; }
.mc-en { font-size: 11px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.mod-card p { margin: 14px 0 20px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; flex: 1; position: relative; }
.mc-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); position: relative; }
.mc-more { font-size: 13px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.mc-more svg { width: 14px; height: 14px; transition: transform .2s; }
.mod-card:hover .mc-more svg { transform: translateX(3px); }

/* ---------- 点赞按钮 ---------- */
.like-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 12.5px; color: var(--ink-2); line-height: 1.2;
  transition: all .2s; user-select: none;
}
.like-btn svg { width: 14px; height: 14px; }
.like-btn:hover { border-color: var(--accent); color: var(--accent); }
.like-btn.on { background: var(--accent-soft); border-color: #EBCDAF; color: var(--accent); font-weight: 600; }
.like-btn.on svg { fill: currentColor; }
.like-btn:disabled { opacity: .6; cursor: wait; }

/* ---------- 文章 ---------- */
.art-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.art-item {
  display: block; padding: 24px 0 22px; border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.art-item:hover { padding-left: 8px; }
.art-meta { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-3); margin-bottom: 9px; }
.art-meta .tag { color: var(--green); background: var(--green-soft); padding: 2px 9px; border-radius: 4px; font-weight: 600; }
.art-item h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.5; }
.art-item:hover h3 { color: var(--green); }
.art-item p { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.art-foot { display: flex; align-items: center; justify-content: space-between; }
.art-date { font-size: 11.5px; color: var(--ink-3); }

/* ---------- 共创投票 ---------- */
.vote-wrap { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 36px 38px; }
.vote-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 8px; }
.vote-item {
  background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px 16px 16px;
  display: flex; flex-direction: column; gap: 10px; min-height: 172px;
  transition: transform .2s, box-shadow .2s;
}
.vote-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.vote-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.vote-ic svg { width: 18px; height: 18px; }
.vote-item strong { font-size: 13.5px; line-height: 1.6; font-weight: 600; flex: 1; }
.vote-item p { margin: 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.65; }
.vote-item .like-btn { align-self: flex-start; }
.vote-tip { margin: 20px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.about-side { background: var(--green-deep); color: #fff; border-radius: 20px; padding: 38px 34px; }
.about-side .quote { font-family: var(--serif); font-size: 24px; line-height: 1.7; font-weight: 500; margin: 0 0 26px; }
.about-side .rule { height: 1px; background: rgba(255, 255, 255, .18); margin: 0 0 22px; }
.about-side dl { margin: 0; display: grid; gap: 14px; }
.about-side dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.about-side dt { color: rgba(255, 255, 255, .55); }
.about-side dd { margin: 0; text-align: right; }
.about-text p { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); line-height: 2; }
.about-text p:first-child::first-letter {
  font-family: var(--serif); font-size: 46px; float: left; line-height: 1;
  padding: 6px 10px 0 0; color: var(--green);
}

/* ---------- 留言 ---------- */
.msg-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-card h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.form-card .hint { margin: 0 0 24px; font-size: 12.5px; color: var(--ink-3); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field label span { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  background: #FCFCFA; font-size: 13.5px; outline: none; transition: border .2s, box-shadow .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(36, 91, 69, .08); }
.field textarea { min-height: 116px; line-height: 1.8; }
.form-note { font-size: 11.5px; color: var(--ink-3); margin: 12px 0 0; line-height: 1.7; }
.form-alert { margin-top: 14px; padding: 11px 14px; border-radius: 9px; font-size: 12.5px; display: none; }
.form-alert.show { display: block; }
.form-alert.ok { background: var(--green-soft); color: var(--green-deep); }
.form-alert.err { background: #FBEAEA; color: #A33B3B; }
.msg-list { display: grid; gap: 14px; }
.msg-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.msg-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.msg-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.msg-name { font-size: 13px; font-weight: 600; }
.msg-date { font-size: 11.5px; color: var(--ink-3); margin-left: auto; }
.msg-content { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin: 0; white-space: pre-wrap; word-break: break-word; }
.msg-reply { margin: 14px 0 0; padding: 12px 14px; background: var(--bg-soft); border-left: 2px solid var(--green); border-radius: 0 8px 8px 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }
.msg-reply b { color: var(--green); font-weight: 600; }
.msg-empty { padding: 40px; text-align: center; color: var(--ink-3); font-size: 13px; border: 1px dashed var(--line); border-radius: 14px; }
.msg-count { font-size: 12.5px; color: var(--ink-3); margin: 0 0 16px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--green-deep); color: rgba(255, 255, 255, .72); padding: 54px 0 26px; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 38px; }
.footer h4 { color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.footer p { font-size: 12.5px; line-height: 1.9; margin: 0; max-width: 320px; }
.footer ul { list-style: none; padding: 0; margin: 0; font-size: 12.5px; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: rgba(255, 255, 255, .45); flex-wrap: wrap; }
.footer-bar a { color: rgba(255, 255, 255, .6); }
.footer-bar a:hover { color: #fff; text-decoration: underline; }

/* ---------- 抽屉（模块 / 文章详情） ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 32, 26, .42); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .28s; backdrop-filter: blur(2px); }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100%);
  background: var(--bg); z-index: 61; box-shadow: -20px 0 60px rgba(20, 40, 30, .18);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.22, .8, .28, 1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 22px 30px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .7); }
.drawer-head span { font-size: 12px; color: var(--ink-3); letter-spacing: .12em; }
.drawer-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.drawer-close:hover { background: var(--bg-soft); }
.drawer-close svg { width: 16px; height: 16px; }
.drawer-body { overflow-y: auto; padding: 38px 40px 60px; flex: 1; }
.drawer-body h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
.dr-en { font-size: 11.5px; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.dr-summary { font-size: 15px; color: var(--ink-2); line-height: 2; margin: 24px 0 30px; padding: 18px 20px; background: var(--green-soft); border-radius: 12px; }
.dr-sec { margin-top: 32px; }
.dr-sec h4 { font-family: var(--serif); font-size: 17px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.dr-sec h4::before { content: ""; width: 3px; height: 15px; background: var(--accent); border-radius: 2px; }
.dr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dr-list li { display: flex; gap: 11px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.dr-list li::before { content: "—"; color: var(--accent); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12.5px; color: var(--ink-2); }
/* 可交付物：有文件的是下载卡片，无文件的明确标为「模板准备中」 */
.dl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dl-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
  text-decoration: none; color: inherit; transition: border-color .18s, background .18s, transform .18s;
}
a.dl-item:hover { border-color: var(--green); background: var(--green-soft); transform: translateY(-1px); }
a.dl-item:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.dl-item.pending { opacity: .66; border-style: dashed; background: transparent; }
.dl-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.dl-item.pending .dl-ico { background: var(--bg-soft); color: var(--ink-3); }
.dl-main { min-width: 0; flex: 1; }
.dl-main b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.5; word-break: break-word; }
.dl-main small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.dl-arrow { color: var(--green); flex-shrink: 0; display: grid; place-items: center; }
.dl-empty { font-size: 13px; color: var(--ink-3); margin: 0; }
@media (max-width: 620px) { .dl-list { grid-template-columns: 1fr; } }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item b { display: block; font-size: 13.5px; margin-bottom: 6px; }
.faq-item p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.article-body p { font-size: 14.5px; line-height: 2.1; color: var(--ink-2); margin: 0 0 18px; }
.article-body p:first-of-type::first-letter { font-family: var(--serif); font-size: 40px; float: left; line-height: 1; padding: 6px 9px 0 0; color: var(--green); }
.dr-foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dr-foot .note { font-size: 12px; color: var(--ink-3); }

/* ---------- 提示条 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: var(--green-deep); color: #fff; padding: 11px 20px; border-radius: 10px;
  font-size: 13px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: all .25s; z-index: 80; max-width: 88vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 载入 / 空状态 ---------- */
.loading { padding: 60px 0; text-align: center; color: var(--ink-3); font-size: 13px; }

/* ---------- 动画（JS 可选增强，默认内容始终可见） ---------- */
.reveal { opacity: 1; }
.js-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.js-on .reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 520px; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .vote-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 36px; }
}
@media (max-width: 780px) {
  .wrap { width: min(100% - 36px, 1180px); }
  .section { padding: 64px 0; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 24px 22px;
    flex-direction: column; align-items: flex-start; gap: 16px; box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .tools-band { padding: 28px 0 30px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .art-list { grid-template-columns: 1fr; }
  .vote-wrap { padding: 24px 20px; }
  .vote-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .msg-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-in { grid-template-columns: 1fr 1fr; gap: 28px; }
  .drawer-body { padding: 28px 24px 50px; }
}
@media (max-width: 560px) {
  .hero { padding: 60px 0 64px; }
  .hero h1 { font-size: 38px; }
  .mod-grid { grid-template-columns: 1fr; }
  .mod-card { min-height: 0; }
  .vote-grid { grid-template-columns: 1fr; }
  .vote-item { min-height: 0; }
  .footer-in { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 72px; }
  .form-card { padding: 22px; }
  .art-item h3 { font-size: 17px; }
}
