.help-guide {
  margin-block: var(--page-top) clamp(22px, 3vw, 36px);
  border-color: #cfd7c7;
  background: var(--sage);
}

.help-guide summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 10px var(--panel-pad);
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}

.help-guide summary::-webkit-details-marker { display: none; }
.help-guide summary:hover { background: #e5ebe0; }

.help-guide summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  margin-inline-end: 3px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.help-guide[open] summary::after { transform: rotate(225deg); }

.help-list {
  margin: 0;
  padding: 4px var(--panel-pad) 18px calc(var(--panel-pad) + 20px);
}

.help-list li + li { margin-block-start: 8px; }
.help-list a, .article-contents a, .article-body a { color: var(--rust); }

.article-head h1 {
  color: var(--green);
  font: 400 clamp(1.9rem, 3.65vw, 3.3rem)/1.09 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.article-intro, .article-body {
  font-size: clamp(1.0625rem, 1.45vw, 1.125rem);
  line-height: 1.7;
}

.article-intro {
  margin-block-start: clamp(14px, 2vw, 20px);
}

.article-intro p + p {
  margin-block-start: .45em;
}

.article-contents {
  margin-block-start: clamp(24px, 3vw, 36px);
  padding: var(--panel-pad);
  scroll-margin-block-start: var(--anchor-offset);
}

.article-contents h2, .article-chapter h2, .article-end h2 {
  color: var(--green);
  font: 400 clamp(1.55rem, 3.3vw, 2.35rem)/1.15 var(--serif);
  letter-spacing: -.025em;
}

.article-navigation-grid {
  display: grid;
  gap: 20px var(--panel-gap);
  margin-block-start: 16px;
}

.article-navigation-grid > div {
  min-width: 0;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 8px;
  background: var(--tint);
}

.article-navigation-grid h3 {
  color: var(--green);
  font-size: 1rem;
  line-height: 1.35;
}

.article-contents :is(ul, ol) {
  margin: 10px 0 0;
  padding-inline-start: 21px;
}

.article-contents li + li {
  margin-block-start: 8px;
}

.article-body {
  overflow-wrap: anywhere;
}

.article-chapter {
  margin-block-start: var(--section-gap);
  padding-block-start: clamp(20px, 3vw, 36px);
  border-block-start: 1px solid var(--line);
}

.article-chapter h2, .article-chapter h3 {
  scroll-margin-block-start: var(--anchor-offset);
}

.article-chapter h3 {
  color: var(--green);
  font: 400 clamp(1.25rem, 2.5vw, 1.625rem)/1.25 var(--serif);
}

.article-body :is(ul, ol) {
  padding-inline-start: 1.5em;
}

.article-body li + li {
  margin-block-start: .45em;
}

.article-body hr {
  margin-inline: 0;
  border: 0;
  border-block-start: 1px solid var(--line);
}

.article-body blockquote {
  margin: 0;
  padding: .8em 1em;
  border-inline-start: 3px solid var(--rust);
  border-radius: 0 8px 8px 0;
  background: var(--tint);
}

.article-figure {
  margin: 0;
}

.article-cover {
  margin: clamp(20px, 3vw, 32px) 0 0;
}

.article-image {
  position: relative;
  display: block;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.article-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.article-image::after {
  position: absolute;
  inset: auto 10px 10px auto;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  font: 700 1.2rem/1 Manrope, sans-serif;
  content: "+";
}

.article-image:hover::after, .article-image:focus-visible::after {
  background: var(--green);
  color: var(--paper);
}

.article-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.article-table table {
  width: 100%;
  min-width: 41rem;
  border-collapse: collapse;
  font-size: .94rem;
  line-height: 1.5;
}

.article-table th, .article-table td {
  padding: 11px 14px;
  border-block-end: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.article-table th {
  background: var(--sage);
  color: var(--green);
}

.article-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.article-table tr:last-child td {
  border-block-end: 0;
}

.article-chapter > * + *, .article-end > * + * {
  margin-block-start: 1em;
}

.article-chapter > :is(h3, hr, .article-figure, .article-table) {
  margin-block-start: clamp(20px, 3vw, 34px);
}

.article-end {
  margin-block-start: var(--section-gap);
  padding: var(--panel-pad);
}

.article-author {
  margin-block-start: 18px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

.article-author a {
  color: var(--rust);
  text-underline-offset: .22em;
}

@media (min-width: 760px) {
  .article-cover img {
    aspect-ratio: 2.3;
    object-fit: cover;
    object-position: center 48%;
  }
}

@media (min-width: 900px) {
  .article-navigation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  .help-main { display: block !important; width: 100%; }
  .article-image::after { display: none; }
  .article-image img { width: auto; max-width: 100%; max-height: 85mm; aspect-ratio: auto; }
  .article-table table { min-width: 0; }
  .article-table, .article-image { break-inside: avoid; }
}
