.article-preview{max-width:950px;margin:auto;color:#18304d;font:16px/1.8 Georgia,serif}.article-preview h1{font-size:29px;line-height:1.3}.article-preview h3{font-family:system-ui,sans-serif;margin-top:30px}.article-preview img{max-width:100%;height:auto;display:block;margin:18px auto}.article-preview figure{margin:25px 0;padding:20px;background:#f5f7fb;border-radius:10px}.article-preview table{width:100%;border-collapse:collapse;font-size:14px}.article-preview td,.article-preview th{border:1px solid #d9e2ef;padding:10px;vertical-align:top}.article-preview th{background:#eaf0f8}.article-preview .table-scroll{overflow:auto;margin:25px 0}.article-preview .reference{padding:12px 0;border-bottom:1px solid #e5ebf3;font-size:14px;overflow-wrap:anywhere}.article-preview a{color:#365cff;text-decoration:none}.article-preview :target{background:#fff3c9;scroll-margin-top:30px}.article-preview figcaption{font-family:system-ui,sans-serif;font-size:14px}.article-preview .muted{color:#728399}
.article-toc{font-family:system-ui,sans-serif;background:#f0f5fb;border-radius:12px;padding:20px;margin:25px 0;font-size:14px}.article-toc ul{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;padding:0;margin:8px 0}
.article-preview p:not(.muted){text-align:justify;text-align-last:left}
.article-preview h1,.article-preview h2,.article-preview h3,.article-preview figcaption{ text-align:left }

/* KHD NHSJ theme v1.5.1: presentation only; no XML or JavaScript changes. */
.lens-article .resources,
.lens-article .resources .panel,
.lens-article .resources .panel .toc,
.lens-article .resources .surface,
.lens-article .resources .menu-bar {
  background-color: #dddddd;
}
.lens-article .resources .menu-bar .context-toggles a {
  color: #4b5563;
  border-color: #cccccc;
}
.lens-article .resources .menu-bar .context-toggles a.active {
  background-color: #cccccc;
  color: #18304d;
  border-bottom-color: #18304d;
}
.lens-article .resources .menu-bar .context-toggles a:hover {
  background-color: #eeeeee;
  color: #18304d;
}
.lens-article .resources .resource-view.toc .heading-ref {
  color: #20252b;
}
.lens-article .resources .resource-view.toc .heading-ref.active,
.lens-article .resources .resource-view.toc .heading-ref:hover {
  background-color: #ffffff;
  color: #18304d;
  border-color: #eeeeee;
}
.lens-article .resources .resource-view.toc .heading-ref:focus-visible,
.lens-article .resources .menu-bar a:focus-visible {
  outline: 2px solid #176b9f;
  outline-offset: -2px;
}
/* Converter preview and its exported preview.html use the same neutral palette. */
.article-preview { background-color: #ffffff; }
.article-preview .article-toc {
  background-color: #dddddd;
  color: #20252b;
}
.article-preview .article-toc a { color: #18304d; }
.article-preview .article-toc a:hover,
.article-preview .article-toc a:focus-visible {
  background-color: #ffffff;
  text-decoration: underline;
}
