/* "About this tool" panel on the therapeutic tool pages: a small button fixed to the corner that opens
   a short explanation and links back to the main site. Self-contained so it works on every tool page. */
.ct-about {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: min(420px, calc(100vw - 32px));
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #1c2820;
}
.ct-about summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #234f3d;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 4px 16px rgba(21, 46, 36, 0.25);
}
.ct-about summary::-webkit-details-marker {
  display: none;
}
.ct-about summary::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
}
.ct-about summary:focus-visible {
  outline: 3px solid #9ebfb0;
  outline-offset: 2px;
}
.ct-about .ct-panel {
  margin-bottom: 10px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fafaf7;
  border: 1px solid #dde5df;
  box-shadow: 0 12px 40px rgba(21, 46, 36, 0.2);
}
.ct-about[open] {
  display: flex;
  flex-direction: column-reverse;
}
.ct-about[open] summary {
  align-self: flex-start;
}
.ct-about .ct-panel h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #234f3d;
  text-transform: none;
  letter-spacing: 0;
}
.ct-about .ct-panel p {
  margin: 0 0 10px;
  font-size: 15px;
  color: #3d4e42;
  text-transform: none;
  letter-spacing: 0;
}
.ct-about .ct-panel a {
  color: #3d7560;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ct-about .ct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #dde5df;
  list-style: none;
  font-size: 14px;
}
@media print {
  .ct-about {
    display: none !important;
  }
}
