body[data-ada-page="0"] #substitution-review {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 18px 0 0;
  padding: 18px 20px;
  border: 1px solid #d5ddd2;
  border-radius: 3px;
  background: #f4f5ef;
  scroll-margin-top: 16px;
}

body[data-ada-page="0"] #substitution-review h3 {
  margin: 0;
  color: #805324;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body[data-ada-page="0"] #substitution-review .ada-substitution-body {
  min-width: 0;
}

body[data-ada-page="0"] #substitution-review .ada-substitution-body > p:not(.depth-route-links) {
  max-width: none;
  margin: 0;
  color: #475b55;
  font-size: 14px;
  line-height: 1.65;
}

body[data-ada-page="0"] #substitution-review .depth-route-links {
  align-items: center;
  gap: 4px 24px;
  margin: 8px 0 0;
}

body[data-ada-page="0"] #substitution-review .depth-route-links a {
  min-height: 44px;
  padding: 6px 0;
  color: #805324;
  font-size: 13px;
  line-height: 1.5;
  text-underline-offset: 3px;
}

body[data-ada-page="0"] #assembly-options {
  padding-bottom: 24px;
}

body[data-ada-page="0"] #project-worksheet {
  padding-top: 28px;
}

body[data-ada-page="0"] #project-worksheet .ada-worksheet-heading {
  align-items: center;
  gap: 32px;
}

body[data-ada-page="0"] #project-worksheet .ada-worksheet-heading > div {
  max-width: 700px;
}

body[data-ada-page="0"] #project-worksheet .intent-kicker {
  margin: 0 0 8px;
  font-size: 11px !important;
}

body[data-ada-page="0"] #project-worksheet .ada-worksheet-heading h2 {
  margin: 0 0 10px;
  font-size: 30px !important;
  line-height: 1.2 !important;
}

body[data-ada-page="0"] #project-worksheet .ada-worksheet-heading > div > p:not(.intent-kicker) {
  max-width: 64ch;
  margin: 0;
  color: #475b55;
  font-size: 15px;
  line-height: 1.65;
}

body[data-ada-page="0"] #project-worksheet .ada-worksheet-heading > .ada-brief-pdf {
  flex: none;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 16px;
  background: #fffdf8;
  font-size: 14px !important;
  line-height: 1.5 !important;
  white-space: nowrap;
}

body[data-ada-page="0"] #project-worksheet .ada-brief-filetype {
  padding: 2px 5px;
  border: 1px solid #d5ddd2;
  border-radius: 2px;
  color: #52625c;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 760px) {
  body[data-ada-page="0"] #substitution-review {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  body[data-ada-page="0"] #substitution-review h3 {
    font-size: 16px !important;
  }

  body[data-ada-page="0"] #substitution-review .depth-route-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 6px;
  }

  body[data-ada-page="0"] #project-worksheet .ada-worksheet-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  body[data-ada-page="0"] #project-worksheet .ada-worksheet-heading h2 {
    font-size: 28px !important;
  }
}
