/* 白底单列展示：左侧仅保留分类导航，右侧仅保留截图与说明。 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fff; }
body { margin: 0; background: #fff; color: #222; font: 16px/1.85 "Microsoft YaHei", sans-serif; }
a { color: inherit; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 190px; padding: 32px 18px; background: #fff; border-right: 1px solid #eee; overflow-y: auto; }
.sidebar nav { display: flex; flex-direction: column; gap: 8px; }
.sidebar a { display: flex; justify-content: space-between; gap: 12px; padding: 12px; text-decoration: none; font-size: 14px; border-radius: 4px; }
.sidebar a:hover, .sidebar a:focus-visible { background: #f5f5f5; }
.sidebar span { color: #888; font-size: 12px; }
.document { margin-left: 190px; padding: 32px clamp(24px, 5vw, 80px) 64px; }
/* 检索记录按 HTML 顺序排列，新增记录继续使用 jiansuo 样式。 */
.image-group { display: flex; flex-direction: column; gap: 48px; max-width: 1050px; margin: 0 auto 48px; scroll-margin-top: 24px; }
.jiansuo { min-width: 0; scroll-margin-top: 24px; }
figure { margin: 0; }
figure a { display: block; }
figure img { display: block; max-width: 100%; height: auto; margin: auto; }
figcaption { margin: 12px 0 0; color: #555; font-size: 14px; text-align: center; overflow-wrap: anywhere; }
.description { margin-top: 18px; }
.description p { margin: 8px 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  body { font-size: 14px; }
  .sidebar { width: 112px; padding: 16px 6px; }
  .sidebar a { padding: 10px 6px; gap: 4px; font-size: 12px; }
  .sidebar span { font-size: 10px; }
  .document { margin-left: 112px; padding: 20px 14px 40px; }
  .image-group { gap: 32px; margin-bottom: 32px; }
  figcaption { font-size: 12px; }
}
@page { size: A4; margin: 20mm; }
@media print {
  .sidebar { display: none; }
  .document { margin: 0; padding: 0; }
  .image-group { display: block; margin: 0; }
  .jiansuo { margin-bottom: 24px; }
  figure { break-inside: avoid; }
  figcaption { font-size: 10pt; }
  body { font-size: 11pt; }
}
