body:has(> .howto-detail) { overflow-x: clip; }
.howto-detail {
  color: var(--navy-950);
  background: white;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.howto-wrap { width: min(70rem, calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.howto-intro {
  padding: calc(var(--nav-height) + 2rem) 0 2.5rem;
  background: var(--navy-950);
  color: white;
  border-bottom: 3px solid var(--cyan-500);
}
.howto-intro h1 {
  max-width: 26ch;
  margin: 1rem 0 .75rem;
  color: inherit;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.howto-intro p { max-width: 62ch; color: var(--slate-100); margin: 0; }
.howto-crumbs { display: flex; flex-wrap: wrap; gap: .65rem; font-size: .9375rem; }
.howto-crumbs a { color: var(--cyan-300); }
.howto-detail a { text-underline-offset: .18em; }
.howto-detail :is(a, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.howto-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 44rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-block: 3rem 5rem;
}
.howto-contents {
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
  max-height: calc(100vh - var(--nav-height) - 2rem);
  overflow: auto;
  border-left: 2px solid var(--slate-200);
  padding: .35rem 1rem;
}
.howto-contents h2 { margin: 0 0 .5rem; font-size: 1rem; }
.howto-mobile-contents { display: none; }
.howto-contents a { display: block; color: var(--navy-800); font-size: .9375rem; padding-block: .35rem; }
.howto-body section { scroll-margin-top: calc(var(--nav-height) + 1rem); margin-bottom: 2.25rem; }
.howto-body h2 { color: var(--navy-950); font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.25; margin: 0 0 .85rem; }
.howto-body h3 { color: var(--navy-950); font-size: 1.15rem; line-height: 1.35; margin: 1.4rem 0 .4rem; }
.howto-body p { max-width: 65ch; margin: .6rem 0 0; }
.howto-list { list-style: disc; padding-left: 1.4rem; margin: .6rem 0 0; max-width: 65ch; }
.howto-list-ordered { list-style: decimal; }
.howto-list li + li { margin-top: .35rem; }
.howto-table { overflow-x: auto; margin: 1rem 0; }
.howto-table:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.howto-table table { border-collapse: collapse; width: 100%; min-width: 24rem; }
.howto-table caption { text-align: left; font-weight: 600; margin-bottom: .5rem; }
.howto-table :is(th, td) { padding: .6rem .75rem; border-bottom: 1px solid var(--slate-200); text-align: left; vertical-align: top; }
.howto-table th { background: var(--slate-50); }
.howto-before, .howto-result { background: var(--slate-50); padding: 1.25rem 1.5rem; }
.howto-before ul { list-style: disc; padding-left: 1.3rem; margin: 0; }
.howto-step { border-top: 1px solid var(--slate-200); padding-top: 1.5rem; }
.howto-step h2 { display: flex; align-items: baseline; gap: .75rem; }
.howto-number { flex: none; padding: .15em .55em; background: var(--navy-950); color: white; border-radius: .25rem; font-size: .8em; }
.howto-body figure { margin: 1.25rem 0; }
.howto-body figure > a { display: block; width: fit-content; max-width: 100%; cursor: zoom-in; }
.howto-body img { display: block; height: auto; max-width: 100%; border: 1px solid var(--slate-200); }
.howto-body figcaption { margin-top: .5rem; color: var(--slate-600); font-size: .9375rem; }
.howto-body a { color: var(--navy-800); text-decoration: underline; }
.howto-result { border-left: 3px solid var(--accent-cyan-ink); }
.howto-caution { border-left: 3px solid #985300; padding: .75rem 1rem; background: #fff7e9; }
.howto-caution > strong:first-child { display: block; }
.howto-help details { border-top: 1px solid var(--slate-200); padding: .6rem 0; }
.howto-help summary { cursor: pointer; font-weight: 600; }
@media (max-width: 760px) {
  .howto-wrap { width: calc(100% - 2.5rem); }
  .howto-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-block: 1.75rem 3rem; }
  .howto-contents { position: static; max-height: none; }
  .howto-desktop-contents { display: none; }
  .howto-mobile-contents { display: block; border-bottom: 1px solid var(--slate-200); }
  .howto-mobile-contents summary { padding: .5rem 0; cursor: pointer; font-weight: 600; }
  .howto-mobile-contents nav { margin: .25rem 0 1rem; }
}
