/* A-26：知识库词条内国标结构化内容块（配合 knowledge-standards.js renderStandardBindings）
   视觉：小标题 + 浅色细左线 + 留白，沿用站点字体与变量，不引入浓色卡片。 */
.term-gb-block {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-left: 3px solid rgba(0,172,235,0.45);
  background: rgba(0,172,235,0.04);
  border-radius: 0 10px 10px 0;
}

.term-gb-block-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0087b3;
  margin-bottom: 10px;
}

.term-gb-item {
  padding: 10px 0;
  display: grid;
  gap: 8px;
}

.term-gb-item + .term-gb-item {
  border-top: 1px dashed rgba(148, 163, 184, 0.28);
  margin-top: 4px;
}

.term-gb-clause {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.term-gb-clause strong {
  min-width: 0;
  font-size: 13.5px;
  color: var(--text-1, #002e3d);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.term-gb-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0,172,235,0.1);
  color: #0087b3;
  white-space: nowrap;
}

.term-gb-item.is-related .term-gb-badge {
  background: rgba(148, 163, 184, 0.14);
  color: #0a4a63;
}

.term-gb-conditions {
  font-size: 12px;
  color: #8a6d1f;
  background: rgba(245, 166, 35, 0.08);
  border-radius: 8px;
  padding: 6px 9px;
  line-height: 1.6;
}

.term-gb-conditions span {
  font-weight: 600;
}

.term-gb-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.term-gb-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3, #94a3b8);
  padding-top: 1px;
  white-space: nowrap;
}

.term-gb-row p {
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2, #0a4a63);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.term-gb-row.is-method {
  padding: 7px 9px;
  border: 1px solid rgba(0,172,235,0.14);
  border-radius: 8px;
  background: rgba(0,172,235,0.045);
}

.term-gb-row.is-method .term-gb-label {
  color: #4a7fca;
}

.term-gb-method-guide {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(245, 166, 35, 0.08);
  color: var(--text-3, #64748b);
  font-size: 12px;
  line-height: 1.65;
}

.term-gb-method-guide a {
  color: #0087b3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 480px) {
  .term-gb-block {
    padding: 10px 11px;
  }

  .term-gb-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* 打印时保留内容但弱化装饰 */
@media print {
  .term-gb-block {
    border-left-color: #999;
    background: none;
  }
}

/* ==========================================================================
   方案 §11.3：结构化正文块的补充元素（参考标准 / 相关词条 / 署名）
   与 .term-gb-block 同一视觉语言：细左线 + 浅底 + 留白，不引入浓色卡片。
   三个元素在 PC 与手机共用同一样式表，避免两端出现不同的内容形态。
   ========================================================================== */

.term-standards {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-left: 3px solid rgba(0, 172, 235, 0.45);
  background: rgba(0, 172, 235, 0.04);
  border-radius: 0 10px 10px 0;
}

.term-standards-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0087b3;
  margin-bottom: 8px;
}

.term-standards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.term-standards-list li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2, #0a4a63);
  overflow-wrap: anywhere;
}

.term-standards-list strong {
  font-weight: 700;
  color: var(--text-1, #002e3d);
}

.term-standards-list .know-std-sep {
  color: var(--text-3, #94a3b8);
}

/* 标准状态是合规信息，必须可见且与标准编号区分；现行/已废止用颜色区分。 */
.term-standards-list .know-std-status {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 172, 235, 0.1);
  color: #0087b3;
  white-space: nowrap;
}

.term-standards-list .know-std-scope {
  color: var(--text-3, #64748b);
  font-size: 12px;
}

.term-related {
  margin: 12px 0 4px;
  padding: 10px 14px;
  border-left: 3px solid rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.06);
  border-radius: 0 10px 10px 0;
}

.term-byline {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-3, #94a3b8);
}

/* 词条末尾沿用相关词条的灰色容器，但只承载来源说明。 */
.term-provenance {
  padding: 10px 14px;
}

.term-provenance .term-byline {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 480px) {
  .term-standards,
  .term-related {
    padding: 10px 11px;
  }

  .term-byline {
    font-size: 11.5px;
  }
}
