/* Help page in the redesign (flag new_ui). Layout from css/new-ui/layout.css;
   this file only styles what is particular to the page. */
body.new-ui #viewHelp > :not(#hlpPage) { display: none !important; }
body:not(.new-ui) #hlpPage { display: none; }

body.new-ui .hlp-page .hlp-grid { align-items: start; }

/* Search in the page header. */
body.new-ui .hlp-page .hlp-search { position: relative; display: block; width: 320px; max-width: 100%; }
body.new-ui .hlp-page .hlp-search svg {
  position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%);
  fill: none; stroke: var(--ui-ink-3); stroke-width: 1.6; stroke-linecap: round; pointer-events: none;
}
body.new-ui .hlp-page .hlp-search input {
  width: 100%; box-sizing: border-box; height: 40px; padding: 0 12px 0 34px; margin: 0;
  border: 1px solid var(--ui-line); border-radius: 10px; background: var(--ui-card); color: var(--ui-ink); font: 14px var(--ui-font);
}
body.new-ui .hlp-page .hlp-search input:focus { outline: 2px solid var(--ui-accent); outline-offset: 1px; }

/* Four ways in. */
body.new-ui .hlp-page .hlp-quick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; align-self: stretch;
  text-align: left; cursor: pointer; font: inherit; color: var(--ui-ink);
}
body.new-ui .hlp-page .hlp-quick:hover { background: var(--ui-hover); }
body.new-ui .hlp-page .hlp-quick:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 2px; }
body.new-ui .hlp-page .hlp-quick b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
body.new-ui .hlp-page .hlp-quick span { font-size: 13px; color: var(--ui-ink-2); }
body.new-ui .hlp-page .hlp-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ui-paper-2); border: 1px solid var(--ui-line-2); }
body.new-ui .hlp-page .hlp-ic svg { width: 15px; height: 15px; fill: none; stroke: var(--ui-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Articles. */
body.new-ui .hlp-page .hlp-sec + .hlp-sec { margin-top: 22px; }
body.new-ui .hlp-page .hlp-sec h3 { margin: 0 0 4px; font-size: 12.5px; font-weight: 500; color: var(--ui-ink-3); }
body.new-ui .hlp-page .hlp-art { border-bottom: 1px solid var(--ui-line-2); scroll-margin-top: 80px; border-radius: 8px; transition: background .4s; }
body.new-ui .hlp-page .hlp-art.hlp-focus { background: var(--ui-accent-soft); }
body.new-ui .hlp-page .hlp-art summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0;
  list-style: none; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--ui-ink);
}
body.new-ui .hlp-page .hlp-art summary::-webkit-details-marker { display: none; }
body.new-ui .hlp-page .hlp-art summary svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--ui-ink-3); stroke-width: 1.6; transition: transform .15s; }
body.new-ui .hlp-page .hlp-art[open] summary svg { transform: rotate(180deg); }
body.new-ui .hlp-page .hlp-art summary:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 2px; border-radius: 6px; }
body.new-ui .hlp-page .hlp-body { padding: 0 0 14px; max-width: 70ch; font-size: 14px; color: var(--ui-ink-2); }
body.new-ui .hlp-page .hlp-body p { margin: 0 0 10px; }
body.new-ui .hlp-page .hlp-body p:last-child { margin: 0; }
body.new-ui .hlp-page .hlp-body ol { margin: 0; padding-left: 20px; }
body.new-ui .hlp-page .hlp-body li + li { margin-top: 8px; }
body.new-ui .hlp-page .hlp-none-t { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ui-ink); }
body.new-ui .hlp-page .hlp-none .ui-btn { margin-top: 12px; }

/* Support and glossary. */
body.new-ui .hlp-page .hlp-contact p { margin: 0 0 14px; font-size: 13.5px; color: var(--ui-ink-2); }
body.new-ui .hlp-page .hlp-contact .ui-btn { text-decoration: none; }
body.new-ui .hlp-page .hlp-contact small { display: block; margin-top: 8px; font: 12.5px var(--ui-mono); color: var(--ui-ink-3); }
body.new-ui .hlp-page .hlp-gloss dl { margin: 0; display: grid; gap: 12px; }
body.new-ui .hlp-page .hlp-gloss dt { font-size: 13.5px; font-weight: 600; }
body.new-ui .hlp-page .hlp-gloss dd { margin: 2px 0 0; font-size: 13px; color: var(--ui-ink-2); }
body.new-ui .hlp-page .hlp-gloss a { color: var(--ui-ink); }

@media (max-width: 900px) {
  body.new-ui .hlp-page .hlp-search { width: 100%; }
  body.new-ui .hlp-page .hlp-search input { height: 44px; font-size: 16px; }
  body.new-ui .hlp-page .hlp-quick { padding: 14px; }
  body.new-ui .hlp-page .hlp-art summary { min-height: 44px; }
  body.new-ui .hlp-page.hlp-searching .hlp-quick { display: none; }
}

/* Sentences to paste to a client. */
body.new-ui .hlp-page .hlp-say-sub { margin: 0 0 10px; font-size: 13px; color: var(--ui-ink-3); }
body.new-ui .hlp-page .hlp-say ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.new-ui .hlp-page .hlp-say li { padding: 10px 12px; border-radius: 10px; background: var(--ui-paper-2); }
body.new-ui .hlp-page .hlp-say li p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--ui-ink); }
body.new-ui .hlp-page .hlp-copy { padding: 0; border: 0; background: none; box-shadow: none; font: 500 12.5px var(--ui-font); color: var(--ui-ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
