/* Step 1 review only: the existing Sharks & Rays specimen window, with a
   quieter information hierarchy. Facts, photographs, navigation, and the
   approved atlas/header treatment remain owned by the existing source. */
body.atlas-guide.profile-layout-review #atlas-window {
  height: min(88dvh, 1000px);
  max-height: min(88dvh, 1000px);
}

body.atlas-guide.profile-layout-review .atlas-window {
  height: 100%;
  max-height: 100%;
}

body.atlas-guide.profile-layout-review .atlas-scroll {
  scrollbar-gutter: stable;
}

body.atlas-guide.profile-layout-review .profile-layout-notes {
  color: var(--atlas-ink);
  font: 1.03rem/1.68 Georgia, serif;
}

body.atlas-guide.profile-layout-review .profile-overview {
  margin: 0;
  padding: 0;
}

body.atlas-guide.profile-layout-review .profile-overview-heading {
  margin: -.12rem 0 .8rem;
  color: var(--atlas-forest);
  font: 400 1.45rem/1.2 Georgia, serif;
  letter-spacing: -.018em;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .atlas-lead {
  margin: 0 0 1.5rem;
  color: var(--atlas-ink);
  font: 1.13rem/1.65 Georgia, serif;
  letter-spacing: -.006em;
}

body.atlas-guide.profile-layout-review .profile-quickfacts-heading {
  margin: 0 0 .6rem;
  color: #53634f;
  font: 600 .72rem/1.5 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .13em;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .profile-quickfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  margin: 0 0 .9rem;
  border: 0;
  padding: 0;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .profile-quickfacts > div {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid var(--atlas-line);
  border-bottom: 0;
  padding: .8rem 0 .9rem;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .profile-quickfacts-paired > [data-field="animal_group"],
body.atlas-guide.profile-layout-review .profile-layout-notes .profile-quickfacts-paired > [data-field="size"] {
  grid-column: auto;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .profile-summary dt {
  margin: 0 0 .32rem;
  color: #62705d;
  font: 600 .7rem/1.5 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .09em;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .profile-summary dd {
  margin: 0;
  color: var(--atlas-ink);
  font: 1.03rem/1.65 Georgia, serif;
  overflow-wrap: anywhere;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .profile-summary small {
  display: block;
  margin-top: .4rem;
  color: var(--atlas-muted);
  font: .8rem/1.6 system-ui, sans-serif;
}

body.atlas-guide.profile-layout-review .profile-reading-section {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--atlas-line);
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body.atlas-guide.profile-layout-review .profile-reading-section:last-child {
  border-bottom: 1px solid var(--atlas-line);
}

body.atlas-guide.profile-layout-review .profile-reading-section > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  min-height: 58px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: .95rem .25rem .95rem 0;
  list-style: none;
  color: var(--atlas-forest);
  background: transparent;
  font: 400 1.13rem/1.4 Georgia, serif;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}

body.atlas-guide.profile-layout-review .profile-reading-section > summary::-webkit-details-marker {
  display: none;
}

body.atlas-guide.profile-layout-review .profile-reading-section > summary::marker {
  content: '';
}

body.atlas-guide.profile-layout-review .profile-reading-section > summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  color: #657a60;
  font: 400 1.2rem/1 system-ui, sans-serif;
}

body.atlas-guide.profile-layout-review .profile-reading-section[open] > summary::after {
  content: '\2212';
}

body.atlas-guide.profile-layout-review .profile-reading-section > summary:hover {
  color: #163d29;
  background: #e8ecdf66;
}

body.atlas-guide.profile-layout-review .profile-reading-section > summary:focus-visible,
body.atlas-guide.profile-layout-review .profile-layout-notes a:focus-visible {
  outline: 3px solid var(--atlas-focus);
  outline-offset: 3px;
}

body.atlas-guide.profile-layout-review .profile-reading-section[open] > summary {
  padding-bottom: .8rem;
}

body.atlas-guide.profile-layout-review .profile-section-body {
  min-width: 0;
  padding: .05rem 0 1.2rem;
}

body.atlas-guide.profile-layout-review .profile-topic {
  margin: 0;
  border: 0;
  padding: 0;
}

body.atlas-guide.profile-layout-review .profile-topic + .profile-topic {
  margin-top: 1.1rem;
  border-top: 1px solid #ded8c8;
  padding-top: 1.1rem;
}

body.atlas-guide.profile-layout-review .profile-topic-title {
  margin: .1rem 0 .85rem;
  color: var(--atlas-forest);
  font: 400 1.12rem/1.4 Georgia, serif;
  letter-spacing: -.005em;
}

body.atlas-guide.profile-layout-review .profile-section-body .profile-summary {
  display: block;
  margin: 0;
  border: 0;
  padding: 0;
}

body.atlas-guide.profile-layout-review .profile-section-body .profile-summary > div {
  display: block;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0 0 .95rem;
}

body.atlas-guide.profile-layout-review .profile-section-body .profile-summary > div:last-child {
  border-bottom: 0;
  padding-bottom: .1rem;
}

body.atlas-guide.profile-layout-review .profile-section-body p {
  margin: .15rem 0 1rem;
  color: #435345;
  font: 1.01rem/1.7 Georgia, serif;
  overflow-wrap: anywhere;
}

body.atlas-guide.profile-layout-review .profile-extra-facts {
  margin: 0;
  padding: 0 0 0 1.35rem;
}

body.atlas-guide.profile-layout-review .profile-extra-facts > li {
  margin: 0 0 1rem;
  padding-left: .18rem;
  color: #435345;
  font: 1.01rem/1.7 Georgia, serif;
  overflow-wrap: anywhere;
}

body.atlas-guide.profile-layout-review .profile-extra-facts > li:last-child {
  margin-bottom: .15rem;
}

body.atlas-guide.profile-layout-review .profile-extra-facts > li::marker {
  color: #62745b;
  font: .8rem/1.4 system-ui, sans-serif;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .profile-source-review {
  margin: .1rem 0 1.15rem;
  color: #586750;
  font: .83rem/1.65 system-ui, sans-serif;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .source-list {
  margin: .1rem 0 .4rem;
  padding-left: 1.4rem;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .source-list > li {
  margin: 0 0 1rem;
  padding-left: .2rem;
  color: #58624f;
  font: .85rem/1.7 system-ui, sans-serif;
  overflow-wrap: anywhere;
  scroll-margin-block: 1rem;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .source-list > li:last-child {
  margin-bottom: .2rem;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .source-list a {
  color: #365d48;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .source-list > li:target {
  outline: 2px solid #b5a076;
  outline-offset: .3rem;
}

body.atlas-guide.profile-layout-review .profile-layout-notes .source-citations {
  color: #5f7658;
}

@media (max-width: 700px) {
  body.atlas-guide.profile-layout-review #atlas-window {
    height: 100dvh;
    max-height: 100dvh;
  }

  body.atlas-guide.profile-layout-review .atlas-window {
    height: 100%;
    max-height: 100dvh;
  }

  body.atlas-guide.profile-layout-review .atlas-scroll {
    scrollbar-gutter: auto;
  }

  body.atlas-guide.profile-layout-review .profile-overview-heading {
    margin-top: 0;
    font-size: 1.4rem;
  }

  body.atlas-guide.profile-layout-review .profile-layout-notes .atlas-lead {
    margin-bottom: 1.35rem;
    font-size: 1.09rem;
    line-height: 1.65;
  }

  body.atlas-guide.profile-layout-review .profile-layout-notes .profile-quickfacts {
    column-gap: 1.15rem;
  }

  body.atlas-guide.profile-layout-review .profile-layout-notes .profile-quickfacts > div {
    padding-top: .85rem;
    padding-bottom: .85rem;
  }

  body.atlas-guide.profile-layout-review .profile-layout-notes .profile-summary dt {
    font-size: .71rem;
    letter-spacing: .075em;
  }

  body.atlas-guide.profile-layout-review .profile-layout-notes .profile-summary dd {
    font-size: 1rem;
    line-height: 1.68;
  }

  body.atlas-guide.profile-layout-review .profile-reading-section > summary {
    min-height: 58px;
    padding-block: 1rem;
    font-size: 1.1rem;
  }

  body.atlas-guide.profile-layout-review .profile-section-body {
    padding-bottom: 1.2rem;
  }

  body.atlas-guide.profile-layout-review .profile-layout-notes .source-list > li {
    font-size: .85rem;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.atlas-guide.profile-layout-review .profile-reading-section > summary {
    transition: none;
  }
}
