.dni-help { margin: 14px 0; }
.dni-help > summary {
  display: inline-block;
  padding: 11px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: var(--ink, #181815);
  background: var(--paper, #f7f4ed);
  font: 600 14px/1.4 "Inter", sans-serif;
  cursor: pointer;
  list-style: none;
}
.dni-help > summary::-webkit-details-marker { display: none; }
.dni-help > summary:hover { background: #e9e5db; }
.dni-help > summary:focus-visible, .dni-help-dialog button:focus-visible,
.dni-help-dialog a:focus-visible {
  outline: 3px solid #a94614;
  outline-offset: 3px;
}
.dni-help-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  margin: auto;
  padding: 24px 28px;
  border: 1px solid #d7d1c4;
  border-radius: 12px;
  color: var(--ink, #181815);
  background: var(--paper, #f7f4ed);
  box-shadow: 0 18px 70px #0004;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.dni-help-dialog::backdrop { background: #0009; }
body.dni-help-open { overflow: hidden; }
.dni-help-close {
  position: sticky;
  top: 0;
  z-index: 1;
  display: block;
  margin: 0 0 20px auto;
  padding: 10px 14px;
  border: 1px solid #bdb5a5;
  border-radius: 6px;
  color: inherit;
  background: var(--paper, #f7f4ed);
  font: 600 14px/1.4 "Inter", sans-serif;
  cursor: pointer;
}
.dni-help-content { font: 15px/1.65 "Inter", sans-serif; overflow-wrap: anywhere; }
.dni-help-content h2 { margin: 0 0 16px; font: 750 27px/1.2 "Inter", sans-serif; }
.dni-help-content h2:focus { outline: none; }
.dni-help-content h3 { margin: 24px 0 7px; font: 700 17px/1.35 "Inter", sans-serif; }
.dni-help-content p { margin: 0 0 12px; }
.dni-help-content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.dni-help-content .dni-help-intro { color: var(--muted, #605d53); }
.dni-help-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.dni-help-sources { margin-top: 26px; padding-top: 6px; border-top: 1px solid #d7d1c4; }
.dni-help-sources ul { padding-left: 20px; }
.dni-help-sources li { margin-bottom: 8px; }
@media (max-width: 480px) {
  .dni-help-dialog { padding: 18px 20px; }
  .dni-help-content h2 { font-size: 24px; }
}
