/* Help Center (site/help/) — one 720px reading column on top of ../styles.css.
   Source: scripts/help/assets/help.css (copied by scripts/help/run.mjs). */
.help { padding: 40px 0 64px; }
.help-col { max-width: 720px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .help-col { padding: 0 16px; } }
.help h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 10px; }
.help h2 { font-size: clamp(22px, 2.6vw, 26px); margin-top: 36px; }
.help h3 { font-size: 19px; margin-top: 26px; }
.help .lede { color: var(--text-2); font-size: 18px; margin: 0 0 24px; }
.help .crumbs { margin: 0 0 8px; font-size: 14px; color: var(--text-3); }
.help a { color: var(--blue-ink); }
.help code { padding: 1px 6px; border-radius: 6px; background: var(--surface-3); font-size: .92em; }
/* A UI label: a quiet inline chip that wraps with the text instead of a tall pill (owner 2026-10-25 typography) */
.help kbd.ui { display: inline; padding: .08em .5em; border-radius: 7px; background: var(--tint-blue); border: 1px solid rgba(59, 91, 255, .14); font: 600 .94em/1 var(--font-body); color: var(--navy); white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.help ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0; }
.help ol.steps > li { counter-increment: step; position: relative; padding: 2px 0 18px 46px; }
.help ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-blue); color: #fff; font: 800 15px/32px var(--font-body); text-align: center; }
.help ul { padding-left: 22px; }
.help .tip { margin: 20px 0; padding: 14px 18px; border-radius: 14px; background: var(--tint-blue); border-left: 4px solid var(--blue); }
.help .shot { margin: 12px 0 4px; }
.help .shot img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.help .shot.pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: 16px; border-radius: 14px; border: 2px dashed var(--line-2); background: var(--surface-2); color: var(--text-3); text-align: center; }
.help .shot.pending span { font-weight: 700; font-size: 14px; }
.help .shot.pending small { font-size: 13px; }
.help-search input { width: 100%; min-height: 50px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: 400 17px/1.4 var(--font-body); color: var(--text-1); box-shadow: var(--shadow-sm); }
.help-search input:focus { outline: 3px solid var(--tint-blue); border-color: var(--blue); }
.help .help-list, .help .help-results { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.help-list a, .help-results a { display: block; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text-1); }
.help-list a:hover, .help-results a:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.help-list strong, .help-results strong { display: block; color: var(--navy); }
.help-list span, .help-results span { display: block; font-size: 15px; color: var(--text-3); }
.help-results { margin-top: 16px; }
.help-contact { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.help-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.help-pager a { display: block; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; }
.help-pager a small { display: block; font-weight: 400; color: var(--text-3); }
.help-pager .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .help-pager { grid-template-columns: 1fr; } .help-pager .next { grid-column: auto; } }
.help-footer { padding: 24px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Article pages: all-articles nav — sticky left column on desktop, a <details> above the article on mobile */
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1120px; margin: 0 auto; }
.help-side { display: none; }
.help-side nav, .help-nav nav { font-size: 15px; }
.help-side p, .help-nav nav p { margin: 18px 0 6px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.help-side p:first-child, .help-nav nav p:first-child { margin-top: 0; }
.help-side ul, .help-nav ul { list-style: none; padding: 0; margin: 0; }
.help-side a, .help-nav nav a { display: block; padding: 6px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; line-height: 1.4; }
.help-side a:hover, .help-nav nav a:hover { background: var(--surface-2); color: var(--navy); }
.help-side a[aria-current="page"], .help-nav nav a[aria-current="page"] { background: var(--tint-blue); color: var(--blue-ink); font-weight: 700; }
.help-nav { margin: 0 24px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.help-nav summary::-webkit-details-marker { display: none; }
.help-nav summary { list-style: none; cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--navy); }
.help-nav summary::after { content: " ▾"; }
.help-nav[open] summary::after { content: " ▴"; }
.help-nav nav { padding: 0 8px 12px; }
@media (max-width: 560px) { .help-nav { margin: 0 16px 16px; } }
@media (min-width: 1000px) {
  .help-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 0 24px; }
  .help-side { display: block; }
  .help-side nav { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
  .help-nav { display: none; }
  .help-layout .help-col { margin: 0; padding: 0; max-width: 780px; }
}

/* Screenshots: click to enlarge (CSS-only :target lightbox, no script) */
.help .shot-open { display: block; cursor: zoom-in; }
.help .shot-zoom { display: none; }
.help .shot-zoom:target { display: flex; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 2vmin; background: rgba(10, 16, 40, .86); cursor: zoom-out; }
.help .shot-zoom:target img { width: auto; max-width: 100%; max-height: 100%; border: 0; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }

/* Tutorial video at the top of an article */
.help .help-video { margin: 8px 0 24px; }
.help .help-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #0b1020; box-shadow: var(--shadow-sm); }
.help .help-video figcaption { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.help .help-video { scroll-margin-top: 90px; }
/* `video:` named but not recorded yet (run.mjs): a 16:9 placeholder that says so. */
.help .help-video-soon-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 16 / 9; max-height: 320px; width: 100%; padding: 16px; box-sizing: border-box; border-radius: 14px; border: 2px dashed var(--line-2); background: var(--surface-2); color: var(--text-3); text-align: center; font-size: 15px; }
.help .help-video-soon-box b { color: var(--text-1); font-size: 17px; }
