html {
  scroll-behavior: auto;
}

.guides-page {
  color: #26372f;
  background: #fafaf7;
  --guide-rule: #ccd7ce;
}

.guide-frame {
  width: min(100% - 2 * clamp(18px, 5vw, 76px), 1100px);
  margin-inline: auto;
}

.guide-masthead {
  border-bottom: 1px solid var(--guide-rule);
}

.guide-masthead-inner,
.guide-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guide-masthead-inner {
  min-height: 66px;
}

.guide-masthead nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 clamp(12px, 2.5vw, 30px);
}

.guide-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}

.guide-wordmark b {
  color: var(--red);
}

.guide-masthead nav a,
.guide-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-weight: 680;
}

.guide-masthead nav a[aria-current="page"] {
  text-decoration-thickness: 2px;
}

.guide-index {
  padding-block: clamp(28px, 6vw, 72px) clamp(44px, 9vw, 100px);
}

.guide-index h1,
.guide-article-header h1 {
  max-width: 19em;
  color: var(--navy);
  font-size: clamp(1.9rem, 4.1vw, 3.6rem);
  font-weight: 770;
  letter-spacing: -.032em;
  line-height: 1.17;
  overflow-wrap: anywhere;
}

.guide-index > h1 {
  margin-bottom: 10px;
}

.guide-index-intro {
  max-width: 44em;
  margin-bottom: clamp(21px, 4vw, 44px);
  color: #40564c;
  line-height: 1.6;
}

.guide-index section + section {
  margin-top: 40px;
}

.guide-index section > h2 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
}

.guide-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid #628574;
  list-style: none;
}

.guide-list > li {
  border-bottom: 1px solid var(--guide-rule);
}

.guide-card {
  display: grid;
  align-items: center;
  gap: clamp(12px, 3vw, 36px);
  min-height: 108px;
  padding: clamp(15px, 3vw, 26px) 3px;
  color: inherit;
  text-decoration: none;
}

.guide-card:has(.guide-card-image) {
  grid-template-columns: minmax(82px, 19%) minmax(0, 1fr);
}

.guide-card:hover {
  background: #eef3ec;
}

.guide-card:hover :is(h2, h3),
.guide-card:focus-visible :is(h2, h3) {
  text-decoration: underline;
  text-underline-offset: .17em;
}

.guide-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 9px;
  background: #edf1e9;
}

.guide-card-copy :is(h2, h3) {
  color: var(--navy);
  font-size: clamp(1.08rem, 2.32vw, 1.65rem);
  font-weight: 750;
  line-height: 1.34;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.guide-card-copy p {
  max-width: 48em;
  margin-top: 5px;
  color: #40564c;
  font-size: clamp(.86rem, 1.6vw, 1rem);
  line-height: 1.6;
}

.guide-card-task {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--green);
  font-size: .88rem;
  font-weight: 700;
}

.guide-reader {
  --guide-outline-min: 158px;
  --guide-column-gap: clamp(24px, 5.4vw, 72px);
  padding-block: 18px clamp(48px, 7vw, 82px);
}

.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  padding-bottom: 6px;
  color: #53695e;
  font-size: .86rem;
}

.guide-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
}

.guide-article-header {
  max-width: 850px;
  padding-block: 3px clamp(16px, 4vw, 36px);
}

.guide-article-header h1 {
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  text-wrap: pretty;
}

.guide-updated {
  margin-top: 13px;
  color: #52655b;
  font-size: .85rem;
}

.guide-spread {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(var(--guide-outline-min), 1fr);
  align-items: start;
  gap: var(--guide-column-gap);
}

.guide-outline {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 20px;
  border-top: 2px solid #628574;
  background: #edf2ec;
  padding: 13px 14px 9px;
}

.guide-outline p {
  color: var(--navy);
  font-weight: 750;
}

.guide-outline-mobile {
  display: none;
}

.guide-outline ul {
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.guide-outline li + li {
  border-top: 1px solid var(--guide-rule);
}

.guide-outline a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 3px;
  font-size: .88rem;
  line-height: 1.5;
}

.guide-prose {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  font-size: clamp(1rem, 1.6vw, 1.095rem);
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.guide-prose > * + * {
  margin-top: 1em;
}

.guide-prose > p:first-child {
  padding-block: .75em;
  border-top: 2px solid #628574;
  color: #284b3c;
  font-size: 1.12em;
  font-weight: 610;
}

.guide-prose :is(h2, h3) {
  margin-top: 1.55em;
  color: var(--navy);
  font-weight: 745;
  line-height: 1.35;
  text-wrap: pretty;
  scroll-margin-top: 22px;
}

.guide-prose h2 {
  border-top: 1px solid var(--guide-rule);
  padding-top: .85em;
  font-size: clamp(1.38rem, 2.5vw, 1.9rem);
}

.guide-prose h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.43rem);
}

.guide-prose :is(h2, h3) + * {
  margin-top: .65em;
}

.guide-prose :is(ol, ul) {
  padding-inline-start: 1.55em;
}

.guide-prose li + li {
  margin-top: .45em;
}

.guide-prose blockquote {
  padding: .5em 1em;
  border-inline-start: 1px solid #8ba292;
  background: #edf2ec;
  color: #29493c;
}

.guide-prose figure {
  margin-block: 1.4em;
}

.guide-prose figure img {
  width: 100%;
  height: auto;
  aspect-ratio: auto 4 / 3;
  border-radius: 12px;
}

.guide-prose figcaption {
  padding-block: 9px;
  border-bottom: 1px solid var(--guide-rule);
  color: #445d51;
  font-size: .87rem;
  line-height: 1.55;
}

.guide-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--white);
  font-size: .94em;
  line-height: 1.55;
}

.guide-table :is(th, td) {
  padding: 11px 12px;
  border: 1px solid var(--guide-rule);
  text-align: left;
  vertical-align: top;
}

.guide-table thead {
  background: #e8efe7;
  color: #2d4e40;
}

.guide-table th:first-child {
  width: 30%;
}

.guide-table-wide th:first-child,
.guide-table-pair th:nth-last-child(-n + 2) {
  width: 18%;
}

.guide-table-pair th:first-child {
  width: auto;
}

.guide-column-label {
  display: none;
}

.guide-table-jump {
  display: none;
}

.guide-table[id] {
  scroll-margin-top: 18px;
}

.guide-action {
  margin-top: 2em;
  padding-top: 20px;
  border-top: 1px solid var(--guide-rule);
}

.guide-share {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.guide-share h2 {
  margin: 0;
  font-size: clamp(1.19rem, 2vw, 1.4rem);
}

.guide-share h2:focus-visible {
  outline: none;
  text-decoration: underline 2px #317c9e;
  text-underline-offset: .24em;
}

.guide-share .guide-share-list {
  --share-column-gap: clamp(16px, 2.7vw, 24px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 20px var(--share-column-gap);
  max-width: calc(42rem + var(--share-column-gap));
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.guide-share .guide-share-list:has(> :nth-child(3)) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  max-width: none;
}

.guide-share-list li + li,
.guide-share figure {
  margin: 0;
}

.guide-share-list li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 21rem;
}

.guide-share-preview {
  display: block;
  border-radius: 12px;
}

.guide-share figure img {
  aspect-ratio: auto 4 / 5;
  border: 1px solid var(--guide-rule);
  background: #efeee6;
}

.guide-share figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  color: var(--navy);
  font-weight: 700;
}

.guide-share-sequence {
  flex: none;
  color: #53695e;
  font-size: .79rem;
  font-variant-numeric: tabular-nums;
}

.guide-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: auto;
}

.guide-share-actions .button {
  min-height: 44px;
  gap: 5px;
  padding: 7px 10px;
  color: var(--green);
  font-size: .83rem;
  white-space: nowrap;
}

.guide-share-status {
  color: var(--terra);
  font-size: .87rem;
}

.guide-share-status:not(:empty) {
  margin-top: 12px;
}

.guide-report-card {
  position: relative;
  isolation: isolate;
  container: report-card / inline-size;
  max-width: 760px;
  margin-top: clamp(36px, 5vw, 60px);
  scroll-margin-block: 22px;
}

.guide-report-card::before {
  content: "";
  position: absolute;
  inset: 5px 5px -6px;
  border-radius: 16px;
  background: #d7cfbc;
  transform: rotate(-.45deg);
  z-index: -1;
}

.guide-report-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
  padding: clamp(18px, 3.4vw, 32px);
  border: 1px solid #d9d4c7;
  border-radius: 16px;
  background: #fffdf8;
  color: #24342c;
}

.guide-report-brand, .guide-report-answer p:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.guide-report-brand {
  font-size: 1.15rem;
  font-weight: 740;
  line-height: 1;
  letter-spacing: -.035em;
}

.guide-report-brand b { color: var(--red); }
.guide-report-brand img, .guide-report-answer img { flex: none; object-fit: contain; }

.guide-report-lookup h2 {
  margin-block: 14px 20px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.28;
}

.guide-report-form label, .guide-report-question span, .guide-report-answer p:first-child {
  margin-bottom: 5px;
  color: #42574a;
  font-size: .84rem;
  font-weight: 680;
}

.guide-report-form label, .guide-report-question span { display: block; }

.guide-report-field {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #a8b7a9;
  border-radius: 28px;
  background: white;
}

.guide-report-field:focus-within { outline: 2px solid #317c9e; outline-offset: 2px; }
.guide-report-field input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 4px 0 11px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: inherit;
  font-size: 1rem;
}

.guide-report-field input:focus-visible { outline: none; }
.guide-report-field input::placeholder { color: #58675d; }

.guide-report-field button, .guide-report-example {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 23px;
  padding: 7px 14px;
  font-size: .9rem;
  font-weight: 680;
}

.guide-report-field button {
  flex: none;
  border: 0;
  background: #252e28;
  color: white;
}

.guide-report-field button:hover { background: #185e49; }

.guide-report-conversation {
  display: grid;
  justify-items: start;
  gap: 10px;
  border-inline-start: 1px solid #deddd1;
  padding-inline-start: clamp(16px, 2.4vw, 25px);
  font-size: .94rem;
  line-height: 1.55;
}

.guide-report-question {
  justify-self: end;
  max-width: 97%;
  padding: 9px 13px;
  border-radius: 13px 13px 3px 13px;
  background: #e5edf7;
}

.guide-report-question span { color: #405b75; }
.guide-report-answer { padding-inline: 4px; }
.guide-report-names { margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.guide-report-example {
  border: 1px solid #becbbd;
  background: #eff3eb;
  color: #2f5041;
  text-align: center;
  text-decoration: none;
}

.guide-report-example:hover { background: #e1eade; }

@media (min-width: 821px) {
  .guide-report-card { max-width: min(760px, calc(100% - var(--guide-column-gap) - var(--guide-outline-min))); }
}

@container report-card (max-width: 600px) {
  .guide-report-sheet { grid-template-columns: minmax(0, 1fr); }
  .guide-report-conversation { border-inline: 0; border-top: 1px solid #deddd1; padding: 17px 0 0; }
  .guide-report-question { max-width: 88%; }
}

@container report-card (max-width: 430px) {
  .guide-report-lookup h2 { margin-block: 11px 16px; }
  .guide-report-field { display: grid; gap: 7px; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .guide-report-field:focus-within { outline: none; }
  .guide-report-field input { width: 100%; padding-inline: 13px; border: 1px solid #a8b7a9; background: white; }
  .guide-report-field input:focus-visible { outline: 2px solid #317c9e; outline-offset: 2px; }
}

.guide-footer {
  border-top: 1px solid var(--guide-rule);
  background: #edf1e8;
  color: #3e574b;
  font-size: .9rem;
}

.guide-footer-inner {
  min-height: 65px;
}

.guide-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
}

@media (max-width: 820px) {
  .guide-spread {
    display: block;
  }

  .guide-outline {
    position: static;
    margin-bottom: 18px;
    padding: 0 12px;
  }

  .guide-outline-desktop {
    display: none;
  }

  .guide-outline-mobile {
    display: block;
  }

  .guide-outline-mobile summary {
    min-height: 44px;
    padding-block: 10px;
    color: var(--navy);
    font-weight: 750;
    cursor: pointer;
  }

  .guide-table-jump {
    display: block;
    margin-block: .1em .82em;
  }

  .guide-table-jump a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-color: #b7c8ba;
    background: #edf3eb;
    color: var(--green);
    font-size: .91rem;
    font-weight: 700;
  }

  .guide-table-jump a:hover {
    background: #e4eee5;
  }
}

@media (max-width: 590px) {
  .guide-masthead-inner {
    min-height: 55px;
  }

  .guide-wordmark {
    font-size: 1.42rem;
  }

  .guide-wordmark img {
    width: 29px;
    height: 29px;
  }

  .guide-breadcrumb {
    gap: 0 5px;
    font-size: .81rem;
  }

  .guide-card {
    align-items: start;
  }

  .guide-card:has(.guide-card-image) {
    grid-template-columns: minmax(66px, 25%) minmax(0, 1fr);
  }

  .guide-share .guide-share-list,
  .guide-share .guide-share-list:has(> :nth-child(3)) {
    grid-template-columns: minmax(0, min(100%, 21rem));
  }

  .guide-table :is(th, td) {
    padding: 8px;
  }

  .guide-table-wide :is(table, tbody) {
    display: block;
  }

  .guide-table-wide thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }

  .guide-table-wide tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--guide-rule);
  }

  .guide-table-wide tbody tr + tr {
    margin-top: 9px;
  }

  .guide-table-wide td {
    display: block;
    grid-column: 1 / -1;
    border: 0;
  }

  .guide-table-wide td:first-child {
    background: #e8efe7;
    color: #274a3c;
    font-weight: 680;
  }

  .guide-table-wide td + td {
    border-top: 1px solid var(--guide-rule);
  }

  .guide-table-pair td:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .guide-table-pair td:last-child {
    border-inline-start: 1px solid var(--guide-rule);
  }

  .guide-column-label {
    display: block;
    margin-bottom: 2px;
    color: #40584c;
    font-size: .81rem;
    font-weight: 700;
  }
}
