@font-face {
  font-family: Body;
  src: url("/assets/body.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Body;
  src: url("/assets/body-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Heading;
  src: url("/assets/heading.ttf") format("truetype");
  font-display: swap;
}
:root {
  --green: #173d35;
  --ink: #253a32;
  --muted: #586a60;
  --paper: #f5f0e6;
  --line: #dedfd5;
  --gold: #b18b46;
  --soft: #eaf0e9;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font:
    15px/1.85 Body,
    system-ui,
    sans-serif;
  background: var(--white);
  color: var(--ink);
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
a:hover {
  color: #92583d;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1,
h2 {
  font-family: Heading, Georgia, serif;
  font-weight: 400;
  color: var(--green);
  line-height: 1.3;
}
h1 {
  font-size: 44px;
  margin: 0 0 20px;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 27px;
  margin: 0 0 20px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
}
p {
  margin: 0 0 18px;
}
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  background: #fffffff7;
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 14px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand strong {
  font:
    23px Heading,
    Georgia,
    serif;
  letter-spacing: 1.5px;
}
.brand small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.search {
  display: flex;
  margin-left: auto;
  max-width: 430px;
  width: 100%;
  background: #f5f6f2;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.search input {
  background: transparent;
  border: 0;
  padding: 9px 14px;
  min-width: 0;
  width: 100%;
  color: var(--ink);
  font-size: 13px;
}
.search button {
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  padding: 8px 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.app-link {
  white-space: nowrap;
  font-size: 12px;
  text-decoration: none;
}
.layout {
  max-width: 1600px;
  display: grid;
  grid-template-columns: 250px minmax(0, 900px) 180px;
  margin: 0 auto;
  align-items: start;
}
.guide-nav {
  position: sticky;
  top: 84px;
  height: calc(100dvh - 84px);
  overflow-y: auto;
  border-right: 1px solid var(--line);
  padding: 28px 20px 40px;
  font-size: 12px;
  scrollbar-width: thin;
}
.guide-nav a {
  display: block;
  text-decoration: none;
  padding: 7px 10px;
  color: var(--muted);
  line-height: 1.65;
  border-radius: 5px;
  margin-bottom: 2px;
}
.guide-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--green);
  font-weight: 600;
}
.guide-nav a:hover {
  background: #f4f5ef;
  color: var(--green);
}
.nav-home {
  font-weight: 600;
}
.nav-group {
  margin-top: 23px;
}
.nav-group h2 {
  font:
    600 12px Body,
    system-ui,
    sans-serif;
  margin: 0 0 8px;
  padding: 0 10px;
  color: var(--green);
}
.nav-help {
  border-top: 1px solid var(--line);
  margin: 28px 10px 0;
  padding-top: 20px;
  color: var(--muted);
}
.nav-help a {
  padding: 0;
  font-size: 11px;
}
.main {
  padding: 44px 48px 0;
  min-width: 0;
  outline: none;
}
.on-this-page {
  position: sticky;
  top: 122px;
  padding: 0 18px 0 0;
  font-size: 11px;
  border-left: 1px solid var(--line);
}
.on-this-page strong {
  display: block;
  padding: 0 16px 12px;
  color: var(--green);
  font-weight: 600;
}
.on-this-page a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 16px;
  line-height: 1.65;
}
.on-this-page a:hover {
  color: var(--green);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #906c35;
  margin: 0 0 16px;
}
.lead {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.intro {
  padding: 8px 0 34px;
}
.intro h1 {
  font-size: 49px;
  max-width: 650px;
  margin-bottom: 22px;
}
.intro .lead {
  max-width: 620px;
}
.start-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.start-routes a {
  position: relative;
  text-decoration: none;
  background: var(--paper);
  padding: 21px 17px 32px;
  border-radius: 6px;
  border-top: 2px solid var(--gold);
}
.start-routes a:hover {
  background: #eee8da;
}
.start-routes strong {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.start-routes span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.start-routes b {
  position: absolute;
  right: 13px;
  bottom: 9px;
  font-size: 18px;
  font-weight: 400;
}
.section-heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  margin: 20px 0 0;
  padding: 28px 0 18px;
  border-top: 1px solid var(--line);
}
.section-heading h2 {
  font-size: 27px;
  margin: 0;
}
.section-heading > span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.topic {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  scroll-margin-top: 110px;
}
.topic h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.topic header p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.topic a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 0;
  line-height: 1.8;
}
.topic a span {
  color: var(--gold);
  flex-shrink: 0;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.breadcrumb a {
  text-decoration: none;
  color: var(--muted);
}
.article-header {
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.article-header .lead {
  font-size: 16px;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
}
.article-meta span {
  background: var(--soft);
  padding: 4px 9px;
  border-radius: 4px;
  max-width: 100%;
}
.article-meta time {
  padding-top: 4px;
  white-space: nowrap;
}
.article-body section {
  margin-bottom: 42px;
  scroll-margin-top: 110px;
}
.article-body h2 a {
  text-decoration: none;
}
.article-body p,
.article-body li {
  font-size: 14px;
  line-height: 1.95;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 23px 0 28px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 42px;
  min-height: 44px;
}
.steps li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 27px;
  height: 27px;
  border: 1px solid #cad5c8;
  border-radius: 50%;
  text-align: center;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  line-height: 26px;
  background: #f3f6ef;
}
.steps li:not(:last-child):after {
  content: "";
  position: absolute;
  left: 13px;
  top: 33px;
  bottom: 5px;
  border-left: 1px solid var(--line);
}
figure {
  margin: 26px 0 34px;
}
.zoom-image {
  display: block;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #f5f4ef;
  cursor: zoom-in;
}
.zoom-image img {
  width: 100%;
  height: auto;
  display: block;
}
.zoom-image img[src$=".svg"] {
  background: #f9faf6;
}
figcaption {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 11px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
}
figcaption span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.notice {
  background: #f8f2e4;
  border-left: 3px solid var(--gold);
  padding: 15px 18px;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.related {
  border-top: 1px solid var(--line);
  padding: 28px 0 20px;
}
.related h2 {
  font-size: 25px;
}
.related a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.related a span {
  color: var(--gold);
}
.support {
  background: var(--soft);
  padding: 22px 24px;
  border-radius: 6px;
  margin: 20px 0 40px;
  font-size: 12px;
}
.support p {
  margin: 8px 0 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 45px;
}
footer p {
  margin: 0 0 12px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
footer a {
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 10px 18px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 8px;
}
.search-results article {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.search-results a {
  font-size: 21px;
  font-family: Heading, Georgia, serif;
  text-decoration: none;
}
.search-results p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 0;
}
.search-results small {
  display: block;
  font-size: 10px;
  color: #906c35;
  margin-bottom: 8px;
}
.button {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
}
dialog {
  border: 0;
  border-radius: 7px;
  background: #fff;
  padding: 52px 22px 20px;
  max-width: 94vw;
  max-height: 94dvh;
  width: 1320px;
  color: var(--ink);
}
dialog::backdrop {
  background: #12251de8;
}
dialog img {
  display: block;
  max-height: 75dvh;
  width: auto;
  max-width: 100%;
  margin: auto;
  object-fit: contain;
}
dialog p {
  margin: 14px 0 0;
  font-size: 12px;
}
#close-image {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--green);
  padding: 5px 12px;
  font-size: 12px;
}
@media (min-width: 1450px) {
  .main {
    padding-left: 64px;
    padding-right: 64px;
  }
  .layout {
    grid-template-columns: 260px minmax(0, 1fr) 200px;
  }
}
@media (max-width: 1199px) {
  .layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .on-this-page {
    display: none;
  }
  .main {
    padding-left: 36px;
    padding-right: 36px;
  }
  .topic {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 150px;
  }
  .site-header {
    padding: 12px 20px;
    gap: 14px;
    min-height: auto;
    flex-wrap: wrap;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand small {
    font-size: 9px;
  }
  .app-link {
    margin-left: auto;
    font-size: 11px;
  }
  .search {
    order: 3;
    max-width: none;
    margin: 0;
  }
  .search input {
    font-size: 14px;
    padding: 8px 12px;
  }
  .mobile-nav {
    display: flex;
    position: sticky;
    top: 115px;
    z-index: 9;
    background: #f5f7f1;
    border-bottom: 1px solid var(--line);
    padding: 9px 20px;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
  }
  .mobile-nav button {
    border: 0;
    background: transparent;
    color: var(--green);
    padding: 4px 0;
    font-size: 12px;
    font-weight: 600;
  }
  .mobile-nav > a {
    font-size: 11px;
    text-decoration: none;
  }
  .layout {
    display: block;
  }
  .guide-nav {
    display: none;
    position: fixed;
    top: 158px;
    bottom: 0;
    width: min(100%, 400px);
    height: auto;
    z-index: 20;
    background: #fff;
    box-shadow: 10px 12px 40px #173d3525;
    padding: 16px 20px 40px;
  }
  .guide-nav[data-open="true"] {
    display: block;
  }
  .main {
    padding: 30px 22px 0;
  }
  .intro {
    padding: 8px 0 18px;
  }
  .intro h1 {
    font-size: 37px;
    line-height: 1.35;
  }
  .lead,
  .intro .lead {
    font-size: 15px;
    line-height: 1.9;
  }
  .start-routes {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .start-routes a {
    padding: 15px 38px 15px 16px;
    border-top: 0;
    border-left: 2px solid var(--gold);
  }
  .start-routes strong {
    font-size: 13px;
    margin-bottom: 3px;
  }
  .start-routes span {
    font-size: 11px;
  }
  .start-routes b {
    right: 16px;
    bottom: 23px;
  }
  .section-heading {
    align-items: start;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 25px;
    max-width: 220px;
  }
  .section-heading > span {
    padding-top: 5px;
  }
  .topic {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 25px 0;
    scroll-margin-top: 170px;
  }
  .topic h3 {
    font-size: 17px;
  }
  .topic header p {
    font-size: 12px;
  }
  .topic a {
    padding: 10px 0;
    font-size: 13px;
  }
  .topic > div {
    padding-left: 14px;
    border-left: 1px solid var(--line);
  }
  h1 {
    font-size: 33px;
    line-height: 1.35;
  }
  h2 {
    font-size: 25px;
  }
  .breadcrumb {
    font-size: 10px;
    margin-bottom: 24px;
  }
  .article-header .lead {
    font-size: 14px;
  }
  .article-meta {
    gap: 10px;
  }
  .article-body section {
    scroll-margin-top: 170px;
    margin-bottom: 32px;
  }
  .article-body p,
  .article-body li {
    font-size: 14px;
  }
  .steps li {
    padding-left: 38px;
  }
  figcaption {
    font-size: 10px;
  }
  .support {
    padding: 18px;
  }
  dialog {
    padding: 50px 12px 16px;
  }
  .article-header {
    margin-bottom: 25px;
  }
  footer {
    margin-top: 30px;
  }
}
@media print {
  .site-header,
  .guide-nav,
  .mobile-nav,
  .on-this-page,
  .support,
  .related,
  dialog,
  footer {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .main {
    padding: 0;
    max-width: none;
  }
  h1 {
    font-size: 28px;
  }
  .article-body section {
    break-inside: avoid;
  }
  figure {
    break-inside: avoid;
  }
  .zoom-image img {
    max-height: 500px;
    object-fit: contain;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

#open-original {
  position: absolute;
  left: 22px;
  top: 16px;
  font-size: 12px;
  color: var(--green);
}

.portrait .zoom-image {
  margin-inline: auto;
}
.portrait .zoom-image img {
  width: 100%;
  max-height: none;
}

.article-toc {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 0 0 28px;
  padding: 12px 16px;
  background: #f6f8f3;
  font-size: 13px;
}
.article-toc summary {
  cursor: pointer;
  font-weight: 600;
}
.article-toc nav {
  display: grid;
  gap: 7px;
  padding-top: 14px;
}
.article-toc a {
  display: block;
  text-decoration: none;
  padding: 6px 0;
  line-height: 1.7;
}
.feedback {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 22px;
}
.feedback h2 {
  font:
    600 14px Body,
    system-ui,
    sans-serif;
  margin-bottom: 12px;
}
.feedback > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.feedback a {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 5px;
  text-decoration: none;
}
.feedback p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
dialog#image-viewer {
  padding: 14px 16px 18px;
  overflow: hidden;
}
.image-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
}
.image-tools > div {
  display: flex;
  gap: 7px;
  align-items: center;
}
.image-tools #open-original,
.image-tools #close-image {
  position: static;
  font-size: 12px;
}
.image-tools button {
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
  border-radius: 5px;
  padding: 4px 9px;
}
.image-tools button:disabled {
  opacity: 0.4;
  cursor: default;
}
.image-tools output {
  font-size: 11px;
  min-width: 48px;
  text-align: center;
}
.image-scroll {
  max-height: 70dvh;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
  border: 1px solid var(--line);
  background: #f5f4ef;
}
.image-scroll img {
  max-height: 70dvh;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: auto;
  display: block;
}
.image-scroll[data-zoom="2"] img {
  width: 200%;
  max-width: none;
  max-height: none;
}
.image-scroll[data-zoom="3"] img {
  width: 300%;
  max-width: none;
  max-height: none;
}
@media (max-width: 1199px) {
  .article-toc {
    display: block;
  }
}
@media print {
  .article-toc,
  .feedback {
    display: none;
  }
}

.zoom-image {
  position: relative;
}
.image-mark {
  position: absolute;
  display: block;
  border: 2px solid #b05b18;
  border-radius: 4px;
  pointer-events: none;
}
.image-mark b {
  position: absolute;
  left: -10px;
  top: -12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font:
    600 12px Body,
    Arial,
    sans-serif;
  color: white;
  background: #9b4812;
  border: 2px solid white;
  box-shadow: 0 1px 4px #0002;
}
.image-legend {
  font-size: 12px;
  color: var(--green);
  padding-left: 24px;
  margin: 14px 0 4px;
}
.image-legend li {
  padding: 3px 0;
  line-height: 1.8;
}
