/* spec.css —— 企业技术规范页（站点版）与资料下载页 */
.spec-hero { padding: 26px 0 8px; border-bottom: 1px solid var(--line, #e6e6e6); }
.spec-hero .kicker { color: #1b5e43; font-weight: 700; letter-spacing: .04em; }
.spec-hero h1 { font-size: 30px; line-height: 1.3; margin: 6px 0 12px; }
.spec-hero__lead { font-size: 15px; line-height: 1.9; color: #4a4a4a; max-width: 900px; }
.spec-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.spec-hero__meta span { font-size: 12px; color: #1b5e43; background: #eef3f1; border: 1px solid #dfe9e5; border-radius: 999px; padding: 3px 10px; }
.spec-hero__hint { font-size: 13px; color: #666; margin-top: 10px; }
.spec-hero__hint a { color: #1b5e43; }

.spec-list { display: grid; gap: 10px; }
.spec-card { display: grid; grid-template-columns: 118px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; }
.spec-card__code { font-size: 12px; font-weight: 700; color: #1b5e43; letter-spacing: .02em; }
.spec-card__body h3 { margin: 0 0 3px; font-size: 17px; line-height: 1.4; }
.spec-card__body h3 a { color: #17301f; text-decoration: none; }
.spec-card__body h3 a:hover { color: #1b5e43; text-decoration: underline; }
.spec-card__en { margin: 0 0 4px; font-size: 12px; color: #8a8a8a; }
.spec-card__scope { margin: 0; font-size: 13px; color: #5d5d5d; line-height: 1.7; }
.spec-card__act { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.spec-card__soon { font-size: 12px; color: #999; }

.spec-steps { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.9; color: #4a4a4a; }
.spec-steps li { margin-bottom: 8px; }
.spec-rev { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.9; color: #555; }

/* ------------------------------ 单篇规范 ------------------------------- */
.spec-doc { padding: 20px 0 40px; max-width: 900px; }
.spec-doc__head { border-bottom: 2px solid #1b5e43; padding-bottom: 16px; margin-bottom: 18px; }
.spec-doc__head .kicker { color: #1b5e43; font-size: 12px; letter-spacing: .04em; }
.spec-doc__head h1 { font-size: 27px; line-height: 1.35; margin: 8px 0 6px; }
.spec-doc__en { margin: 0 0 14px; font-size: 13px; color: #8a8a8a; }
.spec-doc__act { display: flex; flex-wrap: wrap; gap: 10px; }

.sp-meta-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 24px; background: #fafbfa; }
.sp-meta-table th, .sp-meta-table td { border: 1px solid #e2e8e5; padding: 8px 10px; text-align: left; vertical-align: top; }
.sp-meta-table th { width: 15%; color: #55605a; font-weight: 600; background: #f2f6f4; }

.sp-sec { margin-bottom: 26px; }
.sp-sec h2 { font-size: 18px; margin: 0 0 10px; padding-bottom: 7px; border-bottom: 1px solid #e6e6e6; display: flex; align-items: baseline; gap: 8px; }
.sp-sec__n { display: inline-block; min-width: 26px; height: 22px; line-height: 22px; text-align: center; font-size: 12px; color: #fff; background: #1b5e43; border-radius: 4px; }
.sp-sec p { margin: 0; font-size: 14px; line-height: 1.9; color: #3f3f3f; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sp-table th, .sp-table td { border: 1px solid #e2e8e5; padding: 8px 10px; text-align: left; vertical-align: top; line-height: 1.7; }
.sp-table thead th { background: #eef3f1; font-weight: 700; }
.sp-table tbody tr:nth-child(even) { background: #fbfcfb; }
.sp-refs, .sp-items { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.9; color: #3f3f3f; }
.sp-refs li, .sp-items li { margin-bottom: 6px; }
.sp-note { background: #fbfaf3; border: 1px solid #ece2c4; border-radius: 6px; padding: 12px 14px; }
.spec-doc__foot { margin-top: 30px; padding-top: 14px; border-top: 1px dashed #ccc; font-size: 12px; color: #8a8a8a; line-height: 1.8; }

/* ------------------------------ 下载页 -------------------------------- */
.dl-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.dl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dl-table th, .dl-table td { border-bottom: 1px solid #ececec; padding: 10px 8px; text-align: left; vertical-align: middle; }
.dl-table thead th { background: #f2f6f4; font-weight: 700; color: #38443d; }
.dl-table a { color: #17301f; text-decoration: none; }
.dl-table a:hover { color: #1b5e43; text-decoration: underline; }
.dl-code { font-weight: 700; color: #1b5e43; font-size: 12px; }
.dl-note { font-size: 12px; color: #8a8a8a; line-height: 1.8; margin-top: 12px; }
.dl-side { display: grid; gap: 16px; }

@media (max-width: 1000px) {
  .dl-wrap { grid-template-columns: 1fr; }
  .spec-card { grid-template-columns: 1fr; }
  .spec-card__act { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .spec-hero h1 { font-size: 23px; }
  .spec-doc__head h1 { font-size: 21px; }
  .dl-table { font-size: 12px; }
  .sp-table, .sp-meta-table { font-size: 12px; }
}
