/* ============================================================
   易特软件 帮助中心（help.asp）专属样式 help.css
   依赖 style.css（变量 / 按钮 / 头部导航 / 尾部 / 响应式）
   设计参照 模板页/help-center.html，数据库部分沿用旧站 help.asp
   单独成文件，便于后期 CDN 加速
   ============================================================ */

:root{
  --brand:#1565c0; --brand-d:#0e4a8f; --brand-l:#e8f1fb;
  --line:#e6ebf2; --bg:#f6f8fb; --card:#fff;
  --muted:#64748b; --ink:#1f2d3d;
  --radius:14px; --shadow:0 10px 30px -12px rgba(15,71,143,.18);
}

/* HERO */
.hhero{background:linear-gradient(180deg,#eaf2fc 0%,#f6f8fb 100%);padding:56px 0 40px;border-bottom:1px solid var(--line)}
.hhero h1{font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:.3px}
.hhero h1 em{font-style:normal;color:var(--brand)}
.hhero p{color:var(--muted);margin:12px 0 26px;font-size:16px;max-width:60ch}
.search{display:flex;max-width:560px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.search input{flex:1;border:0;outline:none;padding:15px 18px;font-size:15px}
.search button{border:0;background:var(--brand);color:#fff;padding:0 26px;font-weight:700;cursor:pointer;font-size:15px}
.search button:hover{background:var(--brand-d)}

/* 分类标签（服务端筛选，链接到 help.asp?smallclassname=） */
.tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.tag{background:#fff;border:1px solid var(--line);color:#475569;padding:7px 16px;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer;transition:.2s}
.tag:hover,.tag.on{background:var(--brand);color:#fff;border-color:transparent}
/* 在线手册（静态目录，新窗口打开） */
.tags.manuals{margin-top:12px;align-items:center}
.mlabel{font-size:13px;color:var(--muted);font-weight:600}
.tag.man{background:#fff;border-style:dashed;border-color:#c7d8ee;color:var(--brand)}
.tag.man::after{content:" ↗";font-size:11px}
.tag.man:hover{background:var(--brand-l);color:var(--brand-d);border-style:solid}

/* LAYOUT */
.body{padding:40px 0 70px}
.grid{display:grid;grid-template-columns:1fr 300px;gap:34px;align-items:start}
.list{display:flex;flex-direction:column;gap:16px}
.post{display:flex;gap:18px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;transition:.22s}
.post:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:transparent}
.post .pmain{min-width:0}
.post h3{font-size:18px;font-weight:700;margin:2px 0 6px}
.post h3 a:hover{color:var(--brand)}
.post p{color:var(--muted);font-size:14px;margin-bottom:10px}
.post .meta{font-size:12.5px;color:#94a3b8;display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.post .meta .d::before{content:"";display:inline-block;width:12px;height:12px;margin-right:5px;vertical-align:-1px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center/contain no-repeat}
.post .meta .c{background:var(--brand-l);color:var(--brand);font-weight:700;padding:2px 9px;border-radius:6px;font-size:12px}
.post .meta .s{color:#a8b3c2}

/* ---- 文章图标：数据库无分类时按标题关键词自动匹配主题色与图形 ---- */
.post .ico{flex:none;width:48px;height:48px;border-radius:14px;position:relative;display:grid;place-items:center;color:var(--brand)}
.post .ico::after{content:"";position:absolute;inset:0;border-radius:14px;background:currentColor;opacity:.11}
.post .ico::before{content:"";position:relative;z-index:1;width:24px;height:24px;background:currentColor;
  -webkit-mask:var(--ic) center/24px no-repeat;mask:var(--ic) center/24px no-repeat}
.post:hover .ico::after{opacity:.18}

/* 安装 / 下载 / 升级 */
.i-install{color:#1565c0;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E")}
/* 打印 / 套打 / 模板 */
.i-print{color:#7c3aed;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E")}
/* 数据 / 备份 / 数据库 */
.i-data{color:#0891b2;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3'/%3E%3Cpath d='M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5'/%3E%3C/svg%3E")}
/* 库存 / 仓库 / 出入库 */
.i-stock{color:#d97706;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.3 7 12 12 20.7 7'/%3E%3Cline x1='12' y1='22' x2='12' y2='12'/%3E%3C/svg%3E")}
/* 报表 / 统计 / 对账 */
.i-report{color:#059669;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3Cline x1='3' y1='21' x2='21' y2='21'/%3E%3C/svg%3E")}
/* 报错 / 故障 / 解决 */
.i-fix{color:#e11d48;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E")}
/* 设置 / 权限 / 参数 */
.i-set{color:#475569;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E")}
/* 单据 / 采购销售 / 客户 */
.i-biz{color:#2563eb;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E")}
/* 提问 / 如何 / 区别 */
.i-faq{color:#0ea5e9;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E")}
/* 默认文档：按 id 轮换 4 种主题色，避免整页图标雷同 */
.i-doc{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='13' y1='17' x2='8' y2='17'/%3E%3C/svg%3E")}
.i-doc.t0{color:#1565c0}
.i-doc.t1{color:#0891b2}
.i-doc.t2{color:#7c3aed}
.i-doc.t3{color:#d97706}

/* SIDEBAR */
.side{position:sticky;top:84px;display:flex;flex-direction:column;gap:22px}
.box{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.box h4{font-size:15px;font-weight:800;color:var(--brand-d);margin-bottom:14px;display:flex;align-items:center;gap:8px}
.box ol{list-style:none;counter-reset:n;display:flex;flex-direction:column;gap:11px}
.box ol li{counter-increment:n;display:flex;gap:10px;font-size:13.5px;color:#374151}
.box ol li::before{content:counter(n);flex:none;width:22px;height:22px;border-radius:6px;background:var(--brand-l);color:var(--brand);font-weight:800;font-size:12px;display:grid;place-items:center}
.box ol li a:hover{color:var(--brand)}
.contact{background:linear-gradient(135deg,var(--brand),#2f86e0);color:#fff;border:0}
.contact h4{color:#fff}
.contact p{font-size:13px;opacity:.92;margin-bottom:6px}
.contact b{font-size:16px}

/* 分页 */
.pagenext{text-align:center;margin-top:26px;padding:14px 10px;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:13px;color:var(--muted)}
.pagenext a{display:inline-block;color:var(--brand);font-weight:600;padding:5px 12px;border:1px solid var(--line);border-radius:8px;margin:0 3px}
.pagenext a:hover{background:var(--brand);color:#fff;border-color:transparent}
.pagenext .dis{display:inline-block;padding:5px 12px;border:1px solid var(--line);border-radius:8px;margin:0 3px;color:#c3ccd9}
.pagenext .cur{font-style:normal;color:#e23c3c;font-weight:800}

/* 搜索/分类结果提示 */
.rtip{margin-top:14px;font-size:14px;color:var(--brand-d);background:var(--brand-l);display:inline-block;padding:8px 14px;border-radius:10px}

/* FAQ（GEO 直答） */
.hfaq{background:#fff;border-top:1px solid var(--line);padding:56px 0 66px}
.hfaq h2{font-size:clamp(22px,3vw,30px);font-weight:800;margin-bottom:22px}
.faq-list{display:flex;flex-direction:column;gap:12px;max-width:900px}
.faq-list details{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:16px 20px}
.faq-list details[open]{background:#fff;box-shadow:var(--shadow);border-color:transparent}
.faq-list summary{cursor:pointer;font-weight:700;font-size:15.5px;color:var(--ink);list-style:none;position:relative;padding-right:26px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";position:absolute;right:0;top:-2px;font-size:20px;color:var(--brand);font-weight:700}
.faq-list details[open] summary::after{content:"–"}
.faq-list details>div{margin-top:10px;color:var(--muted);font-size:14.5px;line-height:1.85}
.faq-list details a{color:var(--brand);font-weight:600}
.faq-list details a:hover{text-decoration:underline}

@media(max-width:980px){
  .grid{grid-template-columns:1fr}
  .side{position:static;flex-direction:row;flex-wrap:wrap}
  .side .box{flex:1;min-width:240px}
}
@media(max-width:560px){
  .post{gap:13px;padding:18px 16px}
  .post .ico{width:40px;height:40px;border-radius:12px}
  .post .ico::before{width:20px;height:20px;-webkit-mask-size:20px;mask-size:20px}
  .post h3{font-size:16.5px}
}
