.note-page {
  padding: 132px 0 72px;
}

.note-wrap {
  max-width: 820px;
}

.note-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: #94a3b8;
  font-size: 14px;
}

.note-back:hover {
  color: white;
}

.note-kicker {
  margin: 18px 0 8px;
  color: #94a3b8;
  font-size: 15px;
}

.note-page h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 12px 0 28px;
}

.note-index {
  width: 100%;
  margin: 0 0 36px;
  border-collapse: collapse;
}

.note-index th,
.note-index td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 16px;
  vertical-align: top;
}

.note-index th {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.note-index tr.note-series th {
  padding-top: 22px;
  color: #7dd3fc;
  letter-spacing: .06em;
}

.note-index a {
  display: block;
  color: #e2e8f0;
  text-decoration: none;
}

.note-index a:hover {
  color: white;
}

.note-index a:hover .muted {
  color: #cbd5e1;
}

.note-index .note-num {
  color: #94a3b8;
  font-weight: 600;
  margin-right: 0.45em;
}

.note-index tr.current a {
  color: white;
}

.note-index tr.current .note-num {
  color: #7dd3fc;
}

.note-body p {
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 12px;
}

.note-body p b {
  color: #f8fafc;
  font-weight: 650;
}

.note-body h2,
.note-body h3,
.note-body h4 {
  color: #f8fafc;
  margin: 28px 0 12px;
  line-height: 1.35;
}

.note-body h2 {
  font-size: 22px;
}

.note-body h3 {
  font-size: 18px;
}

.note-body h4 {
  font-size: 16px;
}

.note-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.note-body code {
  font-size: 0.92em;
  color: #e2e8f0;
}

.note-body blockquote {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(251, 191, 36, .2);
  background: rgba(251, 191, 36, .05);
  color: #cbd5e1;
}

.note-body blockquote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .note-page {
    padding: 110px 0 56px;
  }

  .note-index th,
  .note-index td {
    font-size: 16px;
  }
}

.note-table-scroll {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  background: var(--panel2);
}

.note-table-scroll table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.note-table-scroll th,
.note-table-scroll td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
  vertical-align: top;
  white-space: nowrap;
  color: var(--text);
}
