/* Keep native details and make the disclosure itself a full-size action. */
html body :is(#main, main) .mol-doctor-entry details > summary.mol-doctor-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--owner-border, #a7baab) !important;
  border-radius: 10px;
  background: var(--owner-tonal, #eaf1e7) !important;
  color: var(--owner-strong, #173d31) !important;
  box-shadow: 0 1px 2px rgb(16 45 36 / 8%);
  line-height: 1.35 !important;
  text-align: start;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

html body :is(#main, main) .mol-doctor-entry details > summary.mol-doctor-link::after {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 0.42em;
  height: 0.42em;
  margin: -0.18em 0.12em 0 0.08em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

html body :is(#main, main) .mol-doctor-entry details[open] > summary.mol-doctor-link::after {
  margin-top: 0.18em;
  transform: rotate(225deg);
}

html body :is(#main, main) .mol-doctor-entry details > summary.mol-doctor-link:focus-visible {
  border-radius: 10px;
  outline: 2px solid var(--owner-action, #275f4d);
  outline-offset: 3px;
}

@media (hover: hover) {
  html body :is(#main, main) .mol-doctor-entry details > summary.mol-doctor-link:hover {
    background: var(--owner-paper, #f6faf4) !important;
    border-color: var(--owner-action, #275f4d) !important;
  }
}

html body :is(#main, main) .review-card .review-purchase-note {
  margin-block: 0.75rem 0;
  font-size: 0.9em;
  line-height: 1.5;
}
