:root { color-scheme: light; --accent: #1D3557; color: #202923; background: #fff; font: 100%/1.65 system-ui, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
nav, main { width: 100%; padding-inline: 4px; }
@media (min-width: 768px) {
  nav, main { padding-inline: 8px; }
}
nav { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .8rem; }
nav a:first-child { margin-inline-end: auto; font-weight: 700; }
header { border-bottom: 1px solid #d6ded8; }
main { padding-block: 1.2rem 3rem; overflow-wrap: anywhere; }
a, h1, h2, h3 { color: var(--accent); }
h1, h2, h3 { line-height: 1.22; }
h1 { margin-block-start: 0; font-size: clamp(1.85rem, 4vw, 3.1rem); }
h2 { margin-block-start: 1.7em; }
figure { margin: 1.5rem 0 2rem; }
figure img { display: block; width: min(100%, var(--photo-max)); height: auto; margin: auto; border-radius: 8px; }
figcaption { text-align: center; color: #414c46; font-size: .875rem; margin-top: .5rem; }
table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
th, td { padding: .45rem .7rem; border: 1px solid #cbd5ce; vertical-align: top; }
th { background: #f1f5f2; text-align: start; }
.filters { display: flex; flex-wrap: wrap; gap: 1rem; }
input, select { font: inherit; max-width: 100%; }
.record { border-block-end: 1px solid #d6ded8; padding-bottom: 1rem; }
dt { font-weight: 650; }
dd { margin: 0 0 .5rem; }
.guide-outline { display: none; }
@media (min-width: 1024px) {
  .guide-layout {
    display: grid;
    grid-template-columns: minmax(195px, 250px) minmax(0, 940px);
    gap: clamp(24px, 4vw, 58px);
    justify-content: center;
    align-items: start;
    padding: 20px clamp(12px, 2vw, 30px) 0;
  }
  .guide-outline {
    display: block;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #f5f8f5;
    border-radius: 10px;
  }
  .guide-outline nav { display: block; padding: 16px; }
  .guide-outline p { margin: 0 0 .65rem; font-weight: 700; color: var(--accent); }
  .guide-outline ol { margin: 0; padding-inline-start: 1.2em; font-size: .88rem; }
  .guide-outline li + li { margin-top: .55rem; }
  .guide-outline a:first-child { font-weight: 500; }
  .guide-layout article { min-width: 0; font-size: 1.0625rem; }
  .guide-layout article h1 { font-size: clamp(2.15rem, 3.4vw, 3.15rem); }
  .guide-layout article > :is(p, ul, ol, blockquote, figure) { max-width: 76ch; }
  .guide-layout article h2[id] { scroll-margin-top: 24px; }
  .guide-layout article > section:last-child { border-top: 1px solid #d6ded8; margin-top: 2rem; }
}
