/* CourseBuilder+ help on SoftwarePlus.ai — generated by PreseMaker docs/help-site/build_help_site.py (do not edit here) */

.help-band { padding: clamp(28px, 5vw, 56px) 0; }
.help-band .help-lead { max-width: 70ch; margin: 6px 0 0; font-size: 1.05rem; }
.help-band .help-lead a { color: inherit; }

/* article on the left, the list of help pages on the right; one column on a phone */
.help-page { padding-top: 36px; padding-bottom: 48px; }
.page-body .help-wrap { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.help-body { min-width: 0; max-width: 900px; overflow-wrap: anywhere; }
.help-body > :first-child { margin-top: 0; }
.help-body h2 { font-size: 1.4rem; margin-top: 1.8em; padding-top: 0.6em; border-top: 1px solid var(--rule); }
.help-body h3 { font-size: 1.15rem; margin-top: 1.5em; }
.help-body h4 { font-size: 1rem; margin-top: 1.3em; }
.help-body li { margin: 4px 0; }
.help-body code { font-family: Consolas, "Courier New", monospace; font-size: .92em; }
.help-body pre { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; overflow-x: auto; font-size: .9rem; line-height: 1.45; }

.table-wrap { overflow-x: auto; margin: 14px 0; }
.help-body table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--surface); }
.help-body th, .help-body td { border: 1px solid var(--rule); padding: 7px 10px; text-align: left; vertical-align: top; }
.help-body thead th { background: color-mix(in srgb, var(--c) 12%, var(--surface)); }

.shot { margin: 18px 0 26px; }
.shot img { border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.08); background: #fff; }
.shot a { display: block; }
.shot a:hover img { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 45%, transparent); }
.shot figcaption { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* the four step colours of a Generate window */
.steps-legend { list-style: none; padding: 0; }
.steps-legend li { display: flex; gap: 12px; align-items: baseline; margin: 8px 0; }
.steps-legend .sw { flex: 0 0 16px; height: 16px; border-radius: 4px; transform: translateY(2px); }
.sw-1 { background: #0F6E6E; } .sw-2 { background: #455A64; } .sw-3 { background: #2E7D32; } .sw-4 { background: #285096; }

/* help home */
.help-home > section { padding: 4px 0 8px; }
.help-home > section > h2 { border-top: 0; padding-top: 0; }
.start-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.start-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; }
.start-steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%;
                          background: var(--c); color: #fff; font-weight: 800; display: grid; place-items: center; }
.start-steps a { display: block; }
.start-steps span { color: var(--muted); font-size: .95rem; }
.help-list { padding-left: 1.2em; }
.help-list li { margin: 8px 0; }

/* the list of help pages */
.help-toc { position: sticky; top: 16px; font-size: .95rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.help-toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 4px; }
.help-toc ul { list-style: none; margin: 0; padding: 0; }
.help-toc li { margin: 0; }
.help-toc a { display: block; padding: 4px 8px; border-radius: 6px; text-decoration: none; }
.help-toc a:hover { background: color-mix(in srgb, var(--c) 10%, transparent); }
.help-toc a[aria-current="page"] { background: var(--c); color: #fff; font-weight: 700; }
.help-toc .toc-home { margin: 0; font-weight: 700; }
.help-toc .toc-more { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }

.related { margin-top: 36px; }
.related h2 { font-size: 1.15rem; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule); }
.pager a { display: flex; flex-direction: column; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); text-decoration: none; max-width: 48%; }
.pager a span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pager .next { margin-left: auto; text-align: right; }

@media (max-width: 980px) {
  .page-body .help-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .help-toc { position: static; max-height: none; }
}
@media (max-width: 560px) {
  .pager { flex-direction: column; }
  .pager a { max-width: none; }
  .start-steps li { padding-left: 56px; }
}

/* Getting started */
.path { counter-reset: p; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.path li { counter-increment: p; }
.path a { display: inline-block; padding: 6px 12px 6px 8px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); text-decoration: none; }
.path a::before { content: counter(p); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: .85rem; }
.help-body .tip { background: color-mix(in srgb, var(--c) 8%, var(--surface)); border-left: 4px solid var(--c); padding: 10px 14px; border-radius: 4px; }
.help-body .more { font-weight: 700; }

/* on a phone the page list comes after the article: a link at the top jumps to it */
.toc-jump { display: none; margin: 0 0 16px; font-weight: 700; }
.help-toc a { padding: 6px 8px; }
@media (max-width: 980px) { .toc-jump { display: block; } }
