html.dl-help-open { overflow: hidden; }

.dl-help {
  --dl-paper: #f5f3ed;
  --dl-ink: #252720;
  --dl-muted: #6e6f67;
  --dl-line: #d8d9cf;
  --dl-accent: #c44229;
  --dl-lime: #e4eacb;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: calc(100% - 32px);
  max-width: 560px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  color: var(--dl-ink);
  color-scheme: light;
  font: 400 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: inherit;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.dl-help:not([open]) { display: none; }
.dl-help::backdrop {
  background: rgb(37 39 32 / 45%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.dl-help :where(*, *::before, *::after) {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.dl-help .dl-help__card {
  position: relative;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px;
  border: 1px solid var(--dl-line);
  border-radius: 20px;
  background: var(--dl-paper);
  box-shadow: 0 24px 80px rgb(37 39 32 / 22%), 0 4px 16px rgb(37 39 32 / 8%);
}
.dl-help[open] .dl-help__card { animation: dl-help-enter 220ms ease-out both; }
.dl-help button {
  appearance: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 160ms ease;
}
.dl-help .dl-help__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--dl-line);
  border-radius: 50%;
  background: transparent;
  color: var(--dl-muted);
  font-size: 25px;
  line-height: 1;
}
.dl-help .dl-help__close:hover { background: var(--dl-lime); color: var(--dl-ink); }
.dl-help .dl-help__eyebrow {
  padding-right: 30px;
  color: var(--dl-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.dl-help .dl-help__title {
  margin-top: 10px;
  padding-right: 20px;
  color: var(--dl-ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.8px;
}
.dl-help .dl-help__lead { margin-top: 12px; color: var(--dl-muted); font-size: 15px; line-height: 1.6; }
.dl-help .dl-help__steps { display: grid; gap: 20px; margin: 26px 0; }
.dl-help .dl-help__step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.dl-help .dl-help__step + .dl-help__step { padding-top: 20px; border-top: 1px solid var(--dl-line); }
.dl-help .dl-help__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dl-accent);
  color: #fff;
  font: italic 17px/1 Georgia, "Times New Roman", serif;
}
.dl-help .dl-help__step-text { min-width: 0; }
.dl-help .dl-help__step-title { padding-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.dl-help .dl-help__step-body { margin-top: 6px; color: var(--dl-muted); font-size: 14px; line-height: 1.6; }
.dl-help .dl-help__step-text b { color: var(--dl-ink); font-weight: 600; }

/* The two highlighted actions belong to the illustration built by the script. */
.dl-help .dl-help__smartscreen {
  margin-top: 14px;
  padding: 16px;
  border-radius: 6px;
  background: #0b4a8b;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.dl-help .dl-help__ss-title { font-size: 13px; font-weight: 600; line-height: 1.4; }
.dl-help .dl-help__ss-text { margin-top: 8px; font-size: 12px; line-height: 1.5; }
.dl-help .dl-help__ss-link {
  display: inline-block;
  margin-top: 12px;
  padding: 2px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dl-help .dl-help__ss-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.dl-help .dl-help__ss-run,
.dl-help .dl-help__ss-cancel {
  display: inline-block;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 55%);
  background: rgb(255 255 255 / 12%);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.dl-help .dl-help__ss-link,
.dl-help .dl-help__ss-run {
  outline: 2px solid var(--dl-lime);
  outline-offset: 2px;
  animation: dl-help-hint 2.6s ease-in-out 3;
}
.dl-help .dl-help__ss-run { background: var(--dl-lime); border-color: var(--dl-lime); color: var(--dl-ink); font-weight: 600; }
.dl-help .dl-help__why { padding: 14px 16px; border: 1px solid var(--dl-line); border-radius: 12px; background: #eef0e2; }
.dl-help .dl-help__why-title { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.dl-help .dl-help__why-title::marker { content: ""; }
.dl-help .dl-help__why-title::-webkit-details-marker { display: none; }
.dl-help .dl-help__why-title::after {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: 0 2px 4px auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.dl-help details[open] > .dl-help__why-title::after { transform: rotate(225deg); }
.dl-help .dl-help__why-text { margin-top: 12px; color: #66695f; font-size: 14px; line-height: 1.6; }
.dl-help .dl-help__footer { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.dl-help .dl-help__contact { flex: 1; color: var(--dl-muted); font-size: 12px; line-height: 1.6; }
.dl-help .dl-help__contact a { color: var(--dl-ink); text-decoration: underline; text-underline-offset: 3px; }
.dl-help .dl-help__contact a:hover { color: var(--dl-accent); }
.dl-help .dl-help__ok {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--dl-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.dl-help .dl-help__ok:hover { background: #aa3420; }
.dl-help button:focus-visible,
.dl-help a:focus-visible,
.dl-help summary:focus-visible { outline: 2px solid var(--dl-accent); outline-offset: 3px; }

@keyframes dl-help-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dl-help-hint {
  0%, 100% { box-shadow: 0 0 0 3px rgb(228 234 203 / 10%); }
  50% { box-shadow: 0 0 0 6px rgb(228 234 203 / 25%); }
}
@media (max-width: 560px) {
  .dl-help { inset: auto 12px 0; width: calc(100% - 24px); margin: 0 auto; }
  .dl-help .dl-help__card { padding: 26px 20px max(24px, env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; }
  .dl-help .dl-help__title { font-size: 26px; }
  .dl-help .dl-help__step { gap: 10px; }
  .dl-help .dl-help__smartscreen { padding: 12px; }
  .dl-help .dl-help__footer { flex-direction: column; align-items: stretch; gap: 14px; }
  .dl-help .dl-help__ok { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-help[open] .dl-help__card,
  .dl-help .dl-help__ss-link,
  .dl-help .dl-help__ss-run { animation: none; }
  .dl-help button,
  .dl-help .dl-help__why-title::after { transition: none; }
}
