.guide-section-tools {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.guide-section-tools[hidden] { display: none; }

.guide-section-tools button {
  min-height: 44px;
  padding: 8px 0 8px 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-content.guide-sections > section { padding: 0; }
.guide-sections > section:last-child { border-bottom: 1px solid var(--line); }

.guide-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 24px 2px;
  cursor: pointer;
  list-style: none;
}

.guide-section > summary::-webkit-details-marker { display: none; }
.guide-section > summary::marker { content: ""; }
.guide-content .guide-section > summary h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.guide-section > summary:hover { color: #52705d; }
.guide-section > summary:focus-visible,
.guide-section-tools button:focus-visible {
  outline: 2px solid #52705d;
  outline-offset: 4px;
  border-radius: 4px;
}

.guide-section-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.guide-section-icon::before,
.guide-section-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.guide-section-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.guide-section[open] > summary .guide-section-icon::after { display: none; }
.guide-section-body { padding: 0 0 32px; }
.guide-section-body > :first-child { margin-top: 0; }

@media (max-width: 600px) {
  .guide-section > summary { min-height: 78px; padding: 22px 0; gap: 16px; }
  .guide-content .guide-section > summary h2 { font-size: 22px; }
  .guide-section-body { padding-bottom: 26px; }
}

@media print {
  .guide-section-tools, .guide-section-icon { display: none; }
  .guide-section > summary { min-height: 0; padding: 24px 0 16px; }
  .guide-section::details-content { display: block; content-visibility: visible; }
  .guide-section > .guide-section-body { display: block !important; }
}
