
/* JetBrains Mono 用于代码块：它严格把 Unicode 盒绘字符（│ ├ └ ─）
   渲染为 1ch 宽，避免树形结构里前缀字符宽度漂移导致的列错位。 */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

pre, pre code, code, kbd, samp {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace !important;
}

/* 修复英文长单词溢出问题 */
body {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 确保所有文本容器都能正确换行 */
p, li, td, th, div {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 特别处理链接 */
a {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 确保 Callout (Note, Info 等) 中的粗体文字继承父容器颜色 */
.callout strong, .callout b {
  color: inherit;
}

/* Footer copyright and attribution; the company name links to About Us. */
#footer .footer-attribution {
  display: block;
  width: 100%;
  margin: 0;
  color: #888;
  font-size: 13px;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
#footer .footer-attribution a { color: inherit; }
#footer .footer-attribution a:hover { text-decoration: underline; }
.dark #footer .footer-attribution { color: #9ca3af; }

#footer .footer-attribution-separator {
  display: inline-block;
  margin: 0 12px;
  color: #b0b0b0;
}
