/* Help guides (coursemark.co/help): the list of guides, and each guide's numbered steps,
   "Good to know" notes and related guides. Loaded after site.css and subpage.css. */
.help-head { padding-top: 48px; max-width: 820px; }
.help-crumbs { max-width: 820px; }
.help-head h1 { margin: 0 0 16px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.help-head .lead { margin: 0; font-size: 20px; color: var(--body); }
.help-body { max-width: 820px; padding-top: 40px; padding-bottom: 96px; }
.help-body h2 { margin: 56px 0 14px; font-size: clamp(26px, 3vw, 32px); line-height: 1.1; letter-spacing: -.03em; }
.help-body h2:first-child { margin-top: 0; }
.help-body > p, .help-body li { color: var(--body); }
.help-body > p + p { margin-top: 12px; }
.help-body strong { color: var(--ink); }
.help-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.help-steps > li { position: relative; padding: 22px 24px 22px 76px; border-radius: 18px; background: var(--stage-wash, var(--stone)); }
.help-steps > li::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--stage, var(--grapefruit)); color: var(--ink); font-family: var(--head); font-weight: 500; font-size: 18px; }
.help-steps h3 { margin: 4px 0 6px; font-family: var(--head); font-weight: 500; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.help-steps p + p, .help-steps p + ul, .help-steps ul + p { margin-top: 8px; }
.help-steps ul { margin: 0; padding-left: 1.2em; }
.help-steps li li { margin-top: 4px; }
.help-steps .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; }
.path { display: inline; padding: 1px 7px; border-radius: 6px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; font-size: .95em; white-space: nowrap; }
.good { margin-top: 18px; padding: 22px 24px; border-radius: 18px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.good ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.note-box { margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: var(--butter-wash); color: var(--ink); }
.help-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.help-card { display: block; padding: 22px 24px; border-radius: 18px; background: var(--stage-wash, var(--stone)); color: var(--ink); text-decoration: none; }
.help-card:hover { background: var(--stage, var(--grapefruit-wash)); }
.help-card strong { display: block; margin-bottom: 4px; font-family: var(--head); font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.help-card span { color: var(--body); font-size: 16px; }
/* the list of guides: its heading and cards share one container, so they start at the same left edge */
.help-index { padding-bottom: 96px; }
.help-index .help-list { margin-top: 40px; }
.help-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; }
.help-list .help-card { padding: 28px; min-height: 180px; }
.stuck { margin-top: 56px; padding: 26px 28px; border-radius: 20px; background: var(--stone); }
.stuck h2 { margin: 0 0 8px; font-size: 24px; }
.stuck p { color: var(--body); }
@media (max-width: 860px) { .help-list { grid-template-columns: minmax(0, 1fr); } .help-list .help-card { min-height: 0; } }
@media (max-width: 640px) {
  .help-steps > li { padding: 20px 18px 20px 62px; }
  .help-steps > li::before { left: 16px; width: 32px; height: 32px; font-size: 16px; }
  .help-more { grid-template-columns: minmax(0, 1fr); }
  .path { white-space: normal; }
}
/* The list: Troubleshooting first, on its own wide card, then a section per topic */
.help-trouble { position: relative; display: block; margin-top: 40px; padding: 28px 64px 28px 28px; border-radius: 20px; background: var(--aqua); color: var(--ink); text-decoration: none; }
.help-trouble:hover { background: #b3dfd8; }
.help-trouble strong { display: block; margin-bottom: 4px; font-family: var(--head); font-weight: 500; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.03em; }
.help-trouble span { color: var(--body); }
.help-trouble .go-on { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--ink); }
.help-topic { margin-top: 48px; }
.help-topic h2 { margin: 0 0 14px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.03em; }
.help-index .help-topic .help-list { margin-top: 0; }
.help-list .help-card { min-height: 0; }
/* Troubleshooting: a list of problems to jump to, then each problem and its fixes */
.trouble-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.trouble-list a { padding: 8px 14px; border-radius: 99px; background: var(--aqua-wash); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.trouble-list a:hover { background: var(--aqua); }
.trouble { margin-top: 18px; padding: 24px 26px; border-radius: 20px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 16px; }
.trouble:target { box-shadow: inset 0 0 0 2px var(--ink); }
.help-body .trouble h2 { margin: 0 0 10px; font-size: 24px; }
.trouble ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 640px) { .help-trouble { padding: 24px 52px 24px 22px; } .help-trouble .go-on { right: 20px; } .trouble { padding: 20px; } }
