/* Shared disclosure indicator. Native details retains keyboard and screen-reader behaviour. */
body details > summary {
  position: relative;
  list-style: none;
  padding-inline-end: 36px !important;
  cursor: pointer;
  touch-action: manipulation;
}
body details > summary::-webkit-details-marker { display: none; }
body details > summary::marker { content: ''; }
body details > summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
  pointer-events: none;
}
body details[open] > summary::after {
  transform: translateY(-25%) rotate(225deg);
}
body details > summary:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 4px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  body details > summary::after { transition: none; }
}
