.article-reference-logbook {
  max-width: 1120px;
}

.article-reference-logbook__hero {
  max-width: 900px;
}

.article-reference-logbook__toc {
  margin: 0 0 88px;
  padding: 28px 30px;
  border: 1px solid var(--notes-line);
  background: var(--notes-panel);
}

.article-reference-logbook__toc > p {
  margin: 0 0 18px;
  color: #b60000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.article-reference-logbook__toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-reference-logbook__toc li {
  margin: 0;
  border-top: 1px solid var(--notes-line);
}

.article-reference-logbook__toc li:nth-child(odd) {
  border-right: 1px solid var(--notes-line);
}

.article-reference-logbook__toc a {
  display: flex;
  gap: 12px;
  padding: 12px 16px 12px 0;
  color: var(--notes-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.article-reference-logbook__toc li:nth-child(even) a { padding-left: 18px; }
.article-reference-logbook__toc a:hover { color: #b60000; }
.article-reference-logbook__toc span { color: #b60000; font-variant-numeric: tabular-nums; }

.article-reference-logbook__section {
  margin-top: 96px;
  scroll-margin-top: 26px;
}

.article-reference-logbook__section:first-of-type { margin-top: 0; }

.article-reference-logbook__section-heading {
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 3px solid var(--notes-ink);
}

.article-reference-logbook__section-heading > span {
  display: block;
  margin-bottom: 10px;
  color: #b60000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.article-reference-logbook__section-heading h2 {
  max-width: 880px;
  margin: 0;
  color: var(--notes-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.14;
}

.article-reference-logbook__section-heading p {
  margin: 14px 0 0;
  color: var(--notes-muted);
  font-size: 15px;
  line-height: 1.6;
}

.article-reference-logbook__record {
  margin-top: 58px;
  scroll-margin-top: 26px;
}

.article-reference-logbook__record + .article-reference-logbook__record {
  padding-top: 58px;
  border-top: 1px solid var(--notes-line);
}

.article-reference-logbook__record-header { margin-bottom: 20px; }

.article-reference-logbook__record-header > span {
  display: block;
  margin-bottom: 10px;
  color: #b60000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.article-reference-logbook__record-header h3 {
  max-width: 880px;
  margin: 0;
  color: var(--notes-ink);
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 700;
  line-height: 1.18;
}

.article-reference-logbook__record-header p {
  margin: 12px 0 0;
  color: var(--notes-muted);
  font-size: 15px;
  line-height: 1.55;
}

.article-reference-logbook__record p,
.article-reference-logbook__record li {
  font-size: 16px;
  line-height: 1.72;
}

.article-reference-logbook__record p { margin: 0 0 16px; }

.article-reference-logbook__record a {
  color: #9f0000;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-reference-logbook__source {
  display: inline-flex;
  margin: 0 0 22px;
  font-size: 14px;
}

.article-reference-logbook__label {
  color: var(--notes-ink);
  font-weight: 700;
}

.article-reference-logbook__notice {
  margin: 0 0 28px !important;
  padding: 18px 20px;
  border-left: 3px solid #b60000;
  background: var(--notes-panel);
}

.article-reference-logbook__company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--notes-line);
  border-left: 1px solid var(--notes-line);
}

.article-reference-logbook__company {
  padding: 24px 26px 22px;
  border-right: 1px solid var(--notes-line);
  border-bottom: 1px solid var(--notes-line);
}

.article-reference-logbook__company h3 {
  margin: 0 0 10px;
  color: var(--notes-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.article-reference-logbook__company h3 a { text-decoration: none; }

.article-reference-logbook__company p {
  margin: 0;
  color: var(--notes-muted);
  font-size: 15px;
  line-height: 1.6;
}

.methodological-notes .article-reference-logbook__phase-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.methodological-notes .article-reference-logbook__phase-list li,
.methodological-notes .article-reference-logbook__phase-list li + li {
  margin: 0;
  padding-left: 0;
}

.article-reference-logbook__phase-list a {
  display: block;
  height: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--notes-line);
  background: #f1f1f1;
  color: var(--notes-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.article-reference-logbook__phase-list a:hover {
  border-color: #b60000;
  color: #9f0000;
}

.article-reference-logbook__phase-group {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--notes-line);
  background: var(--notes-panel);
}

.article-reference-logbook__phase-group p {
  margin: 0 0 14px;
  color: var(--notes-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

html.dark .article-reference-logbook__toc,
html.dark .article-reference-logbook__notice,
html.dark .article-reference-logbook__phase-group { background: #252323; }

html.dark .article-reference-logbook__phase-list a { background: #302e2e; }

@media (max-width: 700px) {
  .article-reference-logbook__toc { margin-bottom: 60px; padding: 24px 20px; }
  .article-reference-logbook__toc ol { display: block; }
  .article-reference-logbook__toc li:nth-child(odd) { border-right: 0; }
  .article-reference-logbook__toc li:nth-child(even) a { padding-left: 0; }
  .article-reference-logbook__toc a { padding-right: 0; }
  .article-reference-logbook__section { margin-top: 70px; }
  .article-reference-logbook__record { margin-top: 44px; }
  .article-reference-logbook__record + .article-reference-logbook__record { padding-top: 44px; }
  .article-reference-logbook__section-heading h2 { font-size: 28px; }
  .article-reference-logbook__record-header h3 { font-size: 24px; }
  .article-reference-logbook__company-grid { grid-template-columns: 1fr; }
  .article-reference-logbook__company { padding: 20px; }
}
