/* Short, page-specific guidance between the main decisions. */
.hc-note-section {
  padding: 0;
  margin: 0;
  background: transparent;
}
.hc-note {
  --hc-ink: #163a3b;
  --hc-copy: #40595d;
  --hc-line: #d2e3da;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 19px;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 34px 0;
  padding: 29px 31px;
  box-sizing: border-box;
  border: 1px solid var(--hc-line);
  border-radius: 15px;
  color: var(--hc-copy);
  background: #f5f8f2;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
  isolation: isolate;
}
.hc-note > div {
  min-width: 0;
}
.hc-note .hc-note-label {
  display: block;
  margin: 0 0 10px;
  color: #187455;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0.035em;
}
.hc-note .hc-note-title {
  margin: 0;
  color: var(--hc-ink);
  font-size: clamp(22px, 2.1vw, 28px);
  font-family: inherit;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.028em;
}
.hc-note .hc-note-text {
  margin: 0 0 18px;
  color: var(--hc-copy);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  max-width: 80ch;
}
.hc-note .hc-note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}
.hc-note .hc-note-tags li {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #c8ded0;
  border-radius: 7px;
  color: #2d5b49;
  background: #ffffffa8;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  list-style: none;
  overflow-wrap: anywhere;
}
.hc-note .hc-note-tags li::before,
.hc-note .hc-note-tags li::marker {
  content: none;
}
.hc-note .hc-note-link {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  max-width: 100%;
  color: #006d52;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
  text-decoration: underline;
  text-decoration-color: #7dac99;
  text-underline-offset: 4px;
}
.hc-note .hc-note-link:hover {
  color: #004d3a;
  text-decoration-color: currentColor;
}
.hc-note .hc-note-link:focus-visible {
  outline: 3px solid #61b293;
  outline-offset: 5px;
  border-radius: 3px;
}
/* A named consultation profile keeps the working note personal and compact. */
.hc-note .hc-note-person {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0 0 19px;
}
.hc-note .hc-note-avatar {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0;
  border: 1px solid #ffffffb3;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgb(22 58 48 / 8%);
}
.hc-note .hc-note-person-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.hc-note .hc-note-person .note-person-label {
  display: block;
  margin-bottom: 3px;
  color: #5d7168;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.025em;
}
.hc-note .hc-note-person strong {
  display: block;
  margin: 0 0 2px;
  color: var(--hc-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.hc-note .hc-note-role {
  display: block;
  color: #4e675f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
/* A folded working note, kept quiet enough for an article page. */
.hc-note--note {
  padding-right: 42px;
  border-color: #e2d9bb;
  border-radius: 4px 21px 4px 15px;
  background: #fff9e9;
  box-shadow: 0 7px 0 -4px #efecdf;
}
.hc-note--note::after {
  position: absolute;
  right: 0;
  top: 0;
  width: 25px;
  height: 25px;
  content: "";
  border-radius: 0 19px 0 7px;
  background: linear-gradient(225deg, #fff 47%, #e9ddb4 49%, #f3e9cc 100%);
  pointer-events: none;
}
.hc-note--note .hc-note-label {
  color: #74612f;
}
.hc-note--note .hc-note-tags li {
  border-color: #ded4b4;
  color: #655c3e;
  background: #fffdf7;
}
/* An editorial annotation has a line in place of a surrounding card. */
.hc-note--margin {
  padding: 24px 0 24px 27px;
  border: 0;
  border-left: 3px solid #208568;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hc-note--margin .hc-note-tags li {
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hc-note--margin .hc-note-tags li + li::before {
  display: inline;
  content: "·";
  padding-right: 10px;
  color: #718e7e;
}
/* A paired question and answer, on wide compositions only. */
.hc-note--pair {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: start;
  border-color: #ccded4;
  background: linear-gradient(90deg, #edf4ee 0%, #edf4ee 40%, #fff 40%, #fff 100%);
}
.hc-note--pair .hc-note-heading {
  padding-right: 6px;
}
/* A practical two-label handover strip, with space for the human explanation. */
.hc-note--steps {
  padding-top: 26px;
  border-top: 3px solid #188566;
  background: #f1f7f5;
}
.hc-note--steps .hc-note-tags {
  counter-reset: hc-step;
  gap: 8px 16px;
}
.hc-note--steps .hc-note-tags li {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 0;
  border: 0;
  background: transparent;
}
.hc-note--steps .hc-note-tags li::before {
  display: inline;
  counter-increment: hc-step;
  content: "0" counter(hc-step);
  color: #17775e;
  font-size: 12px;
  font-weight: 700;
}
/* A softer green band, with a small label that meets its upper edge. */
.hc-note--ribbon {
  margin-top: 43px;
  border-color: #c8ded0;
  background: #eaf3e9;
}
.hc-note--ribbon .hc-note-label {
  display: inline-block;
  position: relative;
  margin-top: -44px;
  margin-bottom: 16px;
  padding: 7px 13px;
  border: 1px solid #b9d4c1;
  border-radius: 6px;
  background: #f8fbf6;
  color: #1e664a;
  box-shadow: 0 3px 0 #deeadc;
}
.hc-note--ribbon .hc-note-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hc-note--ribbon .hc-note-person {
  order: 1;
}
.hc-note--ribbon .hc-note-label {
  order: 0;
}
.hc-note--ribbon .hc-note-title {
  order: 2;
}
.journal-article .hc-note--pair {
  grid-template-columns: minmax(0, 1fr);
  background: #f1f7f2;
  gap: 18px;
}
@media (max-width: 760px) {
  .hc-note,
  .hc-note--pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    margin: 27px 0;
    padding: 24px 22px;
  }
  .hc-note--pair {
    background: #f1f6ef;
  }
  .hc-note--margin {
    padding: 19px 0 19px 19px;
  }
  .hc-note--note {
    padding-right: 30px;
  }
  .hc-note--ribbon {
    margin-top: 40px;
  }
  .hc-note--ribbon .hc-note-label {
    margin-top: -39px;
    font-size: 13px;
  }
  .hc-note .hc-note-title {
    font-size: 23px;
  }
  .hc-note .hc-note-tags {
    gap: 7px 10px;
  }
  .hc-note .hc-note-link {
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .hc-note .hc-note-person {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 17px;
  }
  .hc-note .hc-note-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
}
@media print {
  .hc-note {
    break-inside: avoid;
    background: #fff;
    box-shadow: none;
  }
}
