.aq-preview {
  max-width: 1400px;
}
.aq-species-profile .aq-rich-content + .aq-rich-content {
  margin-top: 1rem;
}
/* A sub-heading in a profile section sits closer to the text it introduces than to what comes before it, such as the
   fact tiles above "Common problems", a list or a paragraph. Headings keep the theme's 1rem below. */
.aq-species-profile .aq-species-section > * + :is(h3, h4),
.aq-species-profile .aq-rich-content > * + :is(h3, h4) {
  margin-top: 2rem;
}
.aq-species-profile .aq-parameter-caveat {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #b65c14;
  border-radius: 0 8px 8px 0;
  background: #fff6e9;
  color: #55330f;
}
.aq-species-profile .aq-parameter-caveat .aq-rich-content {
  margin-top: .35rem;
}
/* Hero buttons: "Share profile", then any added through the aq_profile_hero_actions hook (such as the marketplace's
   "Buy from sellers in Nepal"). */
.aq-species-profile .aq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}
.aq-species-profile .aq-share-wrap {
  position: relative;
  display: block;
}
/* Secondary compact button (same recipe as the theme toggle). */
.aq-species-profile .aq-share-profile {
  min-height: var(--ug-button-height-compact);
  padding: var(--ug-button-padding-compact);
  border: 1px solid var(--ug-button-secondary-border);
  border-radius: var(--ug-control-radius);
  background: transparent;
  color: var(--ug-button-secondary-text);
  font: var(--ug-button-font-compact);
  cursor: pointer;
}
.aq-species-profile .aq-share-profile:hover {
  background: var(--ug-button-secondary-hover-bg);
}
.aq-species-profile .aq-share-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + .45rem);
  left: 0;
  min-width: 190px;
  padding: .35rem;
  border: 1px solid var(--aq-line);
  border-radius: 9px;
  background: var(--aq-surface);
  box-shadow: var(--aq-shadow);
}
.aq-species-profile .aq-share-menu a,
.aq-species-profile .aq-share-menu button {
  display: block;
  width: 100%;
  padding: .55rem .65rem;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--aq-ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.aq-species-profile .aq-share-menu a:hover,
.aq-species-profile .aq-share-menu button:hover {
  background: var(--aq-soft);
}
.aq-species-profile .aq-tank-fit {
  margin: 0 0 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  background: var(--aq-soft);
}
.aq-species-profile .aq-tank-fit h2 {
  margin-bottom: 1.4rem;
}
.aq-species-profile .aq-tank-fit h3 {
  margin: 0 0 .65rem;
  font-size: var(--ug-type-h3);
}
.aq-species-profile .aq-tank-fit-columns {
  display: grid;
  gap: 1.3rem;
}
.aq-species-profile .aq-fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aq-species-profile .aq-fit-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  padding: .36rem 0;
  font-size: var(--ug-text-prose);
}
.aq-species-profile .aq-fit-list li:before {
  content: none;
}
.aq-species-profile .aq-fit-list-icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: -.08rem;
}
@media (min-width: 650px) {
  .aq-species-profile .aq-tank-fit-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}
.aq-species-profile .aq-profile-side {
  display: grid;
  gap: 1rem;
  align-self: start;
}
/* The hero sits over the main column rather than across the page, so At a Glance starts level with it. Text and photo
   share the hero's width, and its padding matches the card below so their text lines up. */
.aq-species-profile .aq-species-hero {
  gap: 1.25rem 2rem;
  margin-bottom: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}
/* Adult size and origin sit along the bottom of the hero. This box is a container because the hero's width doesn't follow
   the screen's: it narrows again once At a Glance moves up beside it. */
.aq-size-origin {
  grid-column: 1 / -1;
  container-type: inline-size;
  padding-top: 1.25rem;
  border-top: 1px solid var(--aq-line);
}
.aq-size-origin-grid {
  display: grid;
  gap: 1.5rem 2rem;
}
/* The theme's utilities.css sizes .aq-preview headings through the body class, so this has to name it too. */
body.aq-species-preview-theme .aq-preview .aq-size-origin h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: var(--ug-weight-bold);
  line-height: 1.3;
  color: var(--aq-heading);
}
.aq-size {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
  min-width: 0;
}
.aq-size-value {
  margin: .1rem 0;
  font-size: clamp(1.5rem, 4cqi, 2rem);
  font-weight: var(--ug-weight-bold);
  line-height: 1.2;
  color: var(--aq-accent);
}
.aq-size-note {
  margin: 0;
  font-size: var(--ug-text-sm);
  color: var(--aq-muted);
}
/* A small picture of the kind over a line naming its maximum size, and a plain, large scale under that line. The same scale
   appears on every profile, so it carries no numbers. */
.aq-size-scale {
  display: grid;
  justify-items: center;
  gap: .4rem;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  color: var(--aq-accent);
}
.aq-size-scale img {
  display: block;
  width: auto;
  height: auto;
  max-width: 10.5rem;
  max-height: 5.5rem;
}
.aq-size-span {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: 100%;
  border-inline: 2px solid currentColor;
  font-size: var(--ug-text-xs);
  font-weight: var(--ug-weight-bold);
  white-space: nowrap;
}
.aq-size-span::before,
.aq-size-span::after {
  content: "";
  flex: 1;
  border-top: 2px solid currentColor;
}
.aq-size-ruler {
  width: 100%;
  color: var(--aq-muted);
}
.aq-size-ruler svg {
  display: block;
  width: 100%;
  height: .75rem;
  overflow: visible;
}
.aq-size-ruler line {
  stroke: currentColor;
  stroke-width: 1;
}
.aq-origin {
  min-width: 0;
}
.aq-flags,
.aq-origin-regions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .6rem 0 0;
  padding: 0;
  list-style: none;
}
.aq-flags a {
  display: block;
  padding: 3px;
  border-radius: 7px;
}
.aq-flags img {
  display: block;
  width: 52px;
  height: 39px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--aq-line);
}
.aq-flags a:hover img {
  box-shadow: 0 0 0 2px var(--aq-accent);
}
.aq-preview .aq-origin-regions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 .85rem;
  border: 1px solid var(--aq-line);
  border-radius: 999px;
  font-size: var(--ug-text-sm);
  color: var(--aq-text);
  text-decoration: none;
}
.aq-preview .aq-origin-regions a:hover {
  border-color: var(--aq-accent);
}
@container (min-width: 26rem) {
  .aq-size {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }
}
@container (min-width: 40rem) {
  .aq-size-origin-grid.has-both {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  }
  .aq-size-origin-grid.has-both .aq-origin {
    padding-left: 2rem;
    border-left: 1px solid var(--aq-line);
  }
}
.aq-preview a.aq-photo-prompt {
  position: absolute;
  left: 50%;
  bottom: .9rem;
  transform: translateX(-50%);
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--aq-accent);
  color: #06231d;
  font-size: var(--ug-text-sm);
  font-weight: var(--ug-weight-bold);
  width: max-content;
  max-width: calc(100% - 1rem);
  text-align: center;
  text-decoration: none;
}
.aq-preview a.aq-photo-prompt:hover {
  color: #06231d;
  text-decoration: underline;
}
/* The profile photo and, when someone sent it in, their credit. The credit sits under the frame, which clips. */
.aq-hero-media {
  min-width: 0;
  margin: 0;
}
.aq-preview .aq-photo-credit {
  margin: .6rem .25rem 0;
  color: var(--aq-muted);
  font-size: var(--ug-text-xs);
  line-height: 1.4;
  text-align: right;
}
.aq-preview .aq-photo-credit a {
  color: var(--aq-accent);
  font-weight: var(--ug-weight-bold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.aq-preview .aq-photo-credit a::after {
  content: "\2197";
  content: "\2197" / "";
  margin-left: .15em;
  text-decoration: none;
  display: inline-block;
}
.aq-preview .aq-photo-credit a:hover,
.aq-preview .aq-photo-credit a:focus-visible {
  text-decoration-thickness: 2px;
}
/* The page for one country or region. */
.aq-origin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.aq-preview .aq-origin-header h1 {
  margin-bottom: .2rem;
}
.aq-origin-flag {
  width: clamp(4rem, 10vw, 5.5rem);
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--aq-line);
}
.aq-preview .aq-origin-count {
  margin: 0;
  color: var(--aq-muted);
}
/* directory-card-alignment.css reserves two lines for this name so cards line up; the hero doesn't need them. */
.aq-species-profile .aq-species-hero .aq-scientific-name {
  display: block;
  min-height: 0;
}
.aq-species-profile .aq-species-hero .aq-common-names {
  margin: .6rem 0 .9rem;
}
@media (min-width: 640px) and (max-width: 899px), (min-width: 1200px) {
  .aq-species-profile .aq-species-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }
}
@media (min-width: 900px) {
  .aq-species-profile .aq-profile-layout {
    grid-template-columns: minmax(0, 1fr) clamp(17.5rem, 30%, 25.5rem);
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .aq-species-profile .aq-species-hero {
    grid-column: 1;
    grid-row: 1;
  }
  .aq-species-profile .aq-profile-main {
    grid-column: 1;
    grid-row: 2;
  }
  .aq-species-profile .aq-profile-side {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 1.5rem;
  }
  .aq-species-profile .aq-quick-facts {
    position: static;
  }
}
/* The main column is too narrow here for text and photo side by side. */
@media (min-width: 900px) and (max-width: 1199px) {
  .aq-species-profile .aq-species-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 899px) {
  .aq-species-profile .aq-profile-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .aq-species-profile .aq-profile-main {
    display: contents;
  }
  .aq-species-profile .aq-tank-fit {
    order: 1;
    margin-bottom: 0;
  }
  .aq-species-profile .aq-profile-side {
    order: 2;
    align-self: stretch;
    width: 100%;
  }
  .aq-species-profile .aq-quick-facts {
    width: 100%;
  }
  .aq-species-profile .aq-profile-sections {
    order: 3;
  }
}
/* Reading text fills the main column (the theme caps it at 46rem elsewhere). */
.aq-species-profile .aq-profile-main .aq-rich-content,
.aq-species-profile .aq-profile-main .aq-summary {
  max-width: none;
}
.aq-species-profile .aq-profile-main .aq-summary {
  margin-bottom: 1.5rem;
}
.aq-species-profile .aq-species-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
}
/* At a Glance keeps its label-and-value rows, closer together so more of the card fits on screen. */
.aq-species-profile .aq-quick-facts .aq-facts > div {
  align-items: baseline;
  padding-block: .45rem;
}
/* Facts in the sections are tiles, label over value, all one width. Long values take two columns, and lists a full row. */
.aq-species-profile .aq-species-section .aq-facts {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: .75rem;
  margin: 1.25rem 0 0;
}
.aq-species-profile .aq-species-section .aq-facts > div {
  display: block;
  min-width: 0;
  padding: .8rem 1rem;
  border: 1px solid var(--aq-border);
  border-radius: 10px;
  background: var(--aq-surface);
}
.aq-species-profile .aq-species-section .aq-facts > .aq-fact-list {
  grid-column: 1 / -1;
}
.aq-species-profile .aq-row-list {
  display: grid;
  gap: .6rem;
  margin: .35rem 0 0;
  padding: 0;
  list-style: none;
}
.aq-species-profile .aq-row-list strong {
  display: block;
}
.aq-species-profile .aq-row-list span {
  display: block;
  color: var(--aq-muted);
  font-size: var(--ug-text-sm);
  font-weight: var(--ug-weight-regular);
  line-height: 1.45;
}
.aq-species-profile .aq-species-section .aq-facts > .aq-fact-wide {
  grid-column: span 2;
}
.aq-species-profile .aq-species-section .aq-facts dt {
  margin-bottom: .2rem;
  font-size: var(--ug-text-sm);
}
.aq-species-profile .aq-species-section .aq-facts dd {
  font-size: var(--ug-text-base);
  line-height: 1.3;
}
.aq-species-profile .aq-species-section .aq-facts + .aq-section-prose {
  margin-top: 1.25rem;
}
/* Sections with data-aq-fold start closed on phones (profile-toc.js builds the button and the wrapper). */
.aq-fold-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
}
.aq-fold-toggle svg {
  flex: none;
  transition: transform .25s ease;
}
.aq-species-section:not(.is-folded) .aq-fold-toggle svg {
  transform: rotate(180deg);
}
.aq-fold-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .3s cubic-bezier(.2, .7, .2, 1);
}
.aq-fold-body > div {
  min-height: 0;
  overflow: hidden;
}
.aq-species-section.is-folded {
  margin-bottom: .5rem;
  padding-bottom: .5rem;
}
.aq-species-section.is-folded h2 {
  margin-bottom: 0;
}
.is-folded .aq-fold-body {
  grid-template-rows: 0fr;
}
.is-folded .aq-fold-body > div {
  visibility: hidden;
  transition: visibility 0s .3s;
}
@media (min-width: 768px) {
  .is-folded .aq-fold-body {
    grid-template-rows: 1fr;
  }
  .is-folded .aq-fold-body > div {
    visibility: visible;
  }
  .aq-fold-toggle svg {
    display: none;
  }
}
@media (max-width: 649px) {
  .aq-species-profile .aq-species-section .aq-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aq-species-profile .aq-species-section .aq-facts > div {
    padding: .7rem .8rem;
  }
  .aq-species-profile .aq-species-section .aq-facts > .aq-fact-wide {
    grid-column: 1 / -1;
  }
}
.aq-species-profile .aq-related-profiles {
  margin: 0 0 2.25rem;
  padding: 0;
  border: 0;
}
.aq-species-profile .aq-related-profiles__heading {
  margin: 0 0 1rem;
}
.aq-species-profile .aq-related-profiles__heading h2 {
  margin-bottom: 0;
}
.aq-species-profile .aq-related-profiles__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1023px) {
  .aq-species-profile .aq-related-profiles__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 559px) {
  .aq-species-profile .aq-related-profiles__row {
    grid-template-columns: 1fr;
  }
}

/* "On this page" bar (parts/profile-toc.php): full width and sticky under the site header. profile-toc.js measures the
   header and the bar into --aq-sticky-top and --aq-toc-height; the fallbacks fit the 80px header. */
.aq-species-profile .aq-profile-toc {
  position: sticky;
  z-index: 90;
  top: var(--aq-sticky-top, 5rem);
  margin: calc(-1 * clamp(1.25rem, 4vw, 4rem)) 0 clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--aq-line);
  background: var(--aq-surface-soft);
}
.admin-bar .aq-species-profile .aq-profile-toc {
  top: var(--aq-sticky-top, calc(5rem + 32px));
}
.aq-profile-toc__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, var(--mero-header-width, 1240px));
  margin-inline: auto;
}
.aq-profile-toc__toggle {
  display: none;
}
.aq-species-profile .aq-profile-toc__label {
  flex: none;
  margin: 0 0 0 auto;
  color: var(--aq-accent);
  font-family: var(--ug-font-heading);
  font-size: var(--ug-text-xs);
  font-weight: var(--ug-weight-bold);
  letter-spacing: var(--ug-tracking-label);
  line-height: 1.2;
  text-transform: uppercase;
}
.aq-profile-toc__list {
  position: relative;
  display: flex;
  gap: .25rem;
  min-width: 0;
  margin: 0 auto 0 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.aq-profile-toc__list::-webkit-scrollbar {
  display: none;
}
/* Faded edges show that the row scrolls (profile-toc.js sets the classes). */
.aq-profile-toc__list.has-more-end {
  mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
}
.aq-profile-toc__list.has-more-start {
  mask-image: linear-gradient(to left, #000 calc(100% - 2.5rem), transparent);
}
.aq-profile-toc__list.has-more-start.has-more-end {
  mask-image: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent);
}
.aq-profile-toc__list li {
  flex: none;
  margin: 0;
}
.aq-species-profile .aq-profile-toc a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 .75rem;
  color: var(--aq-text-muted);
  font-size: var(--ug-text-sm);
  font-weight: var(--ug-weight-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.aq-species-profile .aq-profile-toc a:hover,
.aq-species-profile .aq-profile-toc a[aria-current] {
  color: var(--aq-heading);
}
/* One bright green underline marks the section being read and slides between links (profile-toc.js sets its position
   and width to the current link's text). */
.aq-profile-toc__list::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--aq-toc-underline-width, 0);
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--ug-plant, #baf598);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--aq-toc-underline-x, 0));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1), opacity .2s ease;
}
.aq-profile-toc__list.has-underline::after {
  opacity: 1;
}
.aq-profile-toc__list.is-placing::after {
  transition: opacity .2s ease;
}
/* Inside the scrolling row, an outline or shadow outside the link would be clipped, so focus draws inside it. */
.aq-species-profile .aq-profile-toc a:focus-visible {
  border-radius: 6px;
  outline-offset: -3px;
  box-shadow: none;
}
.aq-species-profile [id] {
  scroll-margin-top: calc(var(--aq-sticky-top, 5rem) + var(--aq-toc-height, 3.25rem) + 1rem);
}
@media (min-width: 900px) {
  body.aq-species-preview-theme .aq-species-profile .aq-profile-side {
    top: calc(var(--aq-sticky-top, 5rem) + var(--aq-toc-height, 3.25rem) + 1.5rem);
  }
}
@media (max-width: 767px) {
  .aq-species-profile .aq-profile-toc__label {
    display: none;
  }
  .aq-profile-toc__inner {
    width: 100%;
  }
  .aq-profile-toc__list {
    margin-inline: auto;
    padding-inline: .5rem;
  }
  .aq-species-profile .aq-profile-toc a {
    min-height: 3rem;
    padding-inline: .65rem;
  }
  /* Once profile-toc.js runs, the scrolling row above gives way to one row naming the current section, which opens a
     panel of every link. */
  .aq-profile-toc.has-menu .aq-profile-toc__toggle {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    min-height: 3rem;
    padding: 0 1rem;
    border: 0;
    background: transparent;
    color: var(--aq-heading);
    font: var(--ug-button-font-compact);
    text-align: left;
    cursor: pointer;
  }
  .aq-profile-toc__toggle:focus-visible {
    outline: 2px solid var(--aq-focus);
    outline-offset: -3px;
  }
  .aq-profile-toc__toggle-label {
    flex: none;
    color: var(--aq-accent);
    font-size: var(--ug-text-xs);
    letter-spacing: var(--ug-tracking-label);
    text-transform: uppercase;
  }
  .aq-profile-toc__current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .aq-profile-toc__toggle svg {
    flex: none;
    margin-left: auto;
    transition: transform .2s ease;
  }
  .aq-profile-toc.is-open .aq-profile-toc__toggle svg {
    transform: rotate(180deg);
  }
  .aq-profile-toc.has-menu .aq-profile-toc__list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100dvh - var(--aq-sticky-top, 5rem) - var(--aq-toc-height, 3rem));
    margin: 0;
    padding: .35rem;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    border-bottom: 1px solid var(--aq-line);
    background: var(--aq-surface-soft);
    box-shadow: var(--aq-shadow);
    mask-image: none;
  }
  .aq-profile-toc.is-open .aq-profile-toc__list {
    display: grid;
  }
  .aq-profile-toc.has-menu .aq-profile-toc__list::after {
    content: none;
  }
  .aq-species-profile .aq-profile-toc.has-menu a {
    min-height: 2.75rem;
    border-radius: 6px;
  }
  .aq-species-profile .aq-profile-toc.has-menu a[aria-current] {
    background: var(--aq-surface);
  }
}
/* Links in the bar, and the hero's "Buy from sellers" button, glide to their section unless motion is reduced. The
   full offset is on the sections (scroll-margin-top above), so the theme's page-wide scroll padding would double it. */
html:has(.aq-profile-toc) {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  html:has(.aq-profile-toc) {
    scroll-behavior: auto;
  }
  .aq-species-profile .aq-profile-toc a,
  .aq-profile-toc__list::after {
    transition: none;
  }
}

/* "Have you kept this species?": approved notes, then a form that opens on request. */
.aq-species-profile .aq-tool-cta { display: inline-flex; align-items: center; min-height: var(--ug-button-height-compact); margin-top: 1rem; padding: var(--ug-button-padding-compact); border: 1px solid var(--ug-plant, #baf598); border-radius: var(--ug-control-radius); color: var(--ug-plant, #baf598); font: var(--ug-button-font-compact); text-decoration: none; }
.aq-species-profile .aq-tool-cta:hover { background: var(--ug-plant, #baf598); color: var(--ug-deep); }
.aq-species-profile .aq-keeper-notice { margin: .75rem 0 0; padding: .7rem 1rem; border: 1px solid var(--ug-plant, #baf598); border-radius: 10px; color: var(--aq-text); }
.aq-species-profile .aq-keeper-notice--error { border-color: var(--ug-coral, #e77925); }
.aq-species-profile .aq-keeper-list { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr)); margin: 1.25rem 0 0; }
.aq-species-profile .aq-keeper-note { overflow: hidden; border: 1px solid var(--aq-border); border-radius: 10px; background: var(--aq-surface); }
.aq-species-profile .aq-keeper-note__photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.aq-species-profile .aq-keeper-note > div { padding: .8rem 1rem; }
.aq-species-profile .aq-keeper-note p { margin: 0 0 .5rem; }
.aq-species-profile .aq-keeper-note .aq-keeper-note__by { margin: 0; color: var(--aq-muted); font-size: var(--ug-text-sm); }
.aq-species-profile .aq-keeper-form { margin: 1.25rem 0 0; }
.aq-species-profile .aq-keeper-form summary,
.aq-species-profile .aq-keeper-submit { display: inline-flex; align-items: center; min-height: var(--ug-button-height); padding: 0 1.25rem; border: 0; border-radius: var(--ug-control-radius); background: var(--ug-plant); color: var(--ug-deep); cursor: pointer; font: var(--ug-button-font); list-style: none; }
.aq-species-profile .aq-keeper-form summary::-webkit-details-marker { display: none; }
.aq-species-profile .aq-keeper-form summary:hover,
.aq-species-profile .aq-keeper-submit:hover { background: var(--ug-mint); }
.aq-species-profile .aq-keeper-form form { margin: 1rem 0 0; padding: 1rem; border: 1px solid var(--aq-border); border-radius: 10px; background: var(--aq-surface); }
.aq-species-profile .aq-keeper-form p { margin: 0 0 1rem; }
.aq-species-profile .aq-keeper-form label { display: block; margin: 0 0 .3rem; color: var(--aq-text); font-size: var(--ug-text-sm); font-weight: var(--ug-weight-semibold); }
.aq-species-profile .aq-keeper-form :is(input[type="text"], input[type="email"], input[type="file"], textarea) { display: block; box-sizing: border-box; width: 100%; min-height: 2.75rem; padding: .6rem .8rem; border: 1px solid var(--aq-border); border-radius: var(--ug-control-radius); background: var(--aq-page-bg); color: var(--aq-text); font: inherit; }
.aq-species-profile .aq-keeper-hint { display: block; margin: .3rem 0 0; color: var(--aq-muted); font-size: var(--ug-text-sm); }
.aq-species-profile .aq-keeper-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.aq-species-profile .aq-keeper-consent label { display: flex; align-items: flex-start; gap: .6rem; font-weight: var(--ug-weight-regular); }
.aq-species-profile .aq-keeper-consent input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; }
.aq-species-profile .aq-keeper-trap { position: absolute; left: -9999px; }
