/* ============================================================================
   CORA help centre (2026-11-07, brought onto the site chassis 2026-11-09)

   Layout borrowed from the Employment Hero article template the founder
   pointed at: breadcrumb, a sticky "Articles in this section" index on the
   left, a tinted fact table at the head of the article, a related-articles
   footer.

   09/11 CONSISTENCY PASS. These pages had drifted off the site's own chassis
   in four measured ways, all of them visible:

     grid    .help-wrap was 1180px with a 40px gutter while every other page
             uses .wrap at 1200px with a 59.8px gutter. The footer sits on the
             site grid, so the step was visible inside a single page.
     hero    all 30 other top-level pages open with a .page-hero band on
             #F6E7E1. These opened on bare ground, straight into body copy.
     title   the help h1 measured 41.6px against the site hero h1 at 67.2px,
             so help titles were 62% the size of every other page title.
     index   the site already had an on-this-page index (.page-toc) and it was
             unstyled, while these pages carried a tinted one.

   Fixed by deleting .help-wrap and using the site's .wrap, moving the title
   into a real .page-hero so it inherits the site's hero scale, wrapping the
   body in the site's .band, and giving .page-toc the same ladder treatment in
   styles.css PATCH 13.

   COLOUR COMES ENTIRELY FROM THE TINT LADDER in styles.css (--tint-1 to
   --tint-4, four opaque steps on the portal's hue line) plus its three creams.
   every word on these pages is plum.
   ============================================================================ */

/* ---- The hero carries the breadcrumb, the section, the title and the date.
       Background, padding and h1 scale all come from .page-hero in
       styles.css, which is exactly what keeps it identical to every other
       page. Nothing here restates them. ---- */
.page-hero .help-crumbs { padding: 0 0 18px; }
.page-hero .help-meta { margin: 18px 0 0; }

/* ---- Breadcrumb ---- */
.help-crumbs { font-size: .83rem; color: #481827; }
.help-crumbs a { color: #481827; text-decoration: none; }
.help-crumbs a:hover { text-decoration: underline; }
.help-crumbs .sep { padding: 0 7px; }

/* ---- The body band. The site's .band owns the rhythm; the top is trimmed
       because a hero sits directly above it, and the gutter is pinned to the
       hero's so the index and the title line up. ---- */
.band.help-body { padding: clamp(32px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.band.help-body > .wrap {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- Two column shell ---- */
.help-shell {
  display: grid; grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
@media (max-width: 900px) { .help-shell { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Left index. Its header sits on the third step of the ladder, matching
       .page-toc elsewhere on the site. ---- */
.help-aside { position: sticky; top: 96px; min-width: 0; }
@media (max-width: 900px) { .help-aside { position: static; } }
.help-aside-title {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: -.02em; color: #481827; margin: 0;
  background: var(--tint-3); border-radius: 14px 14px 0 0;
  padding: 16px 18px;
}
.help-aside ul {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--rule); border-top: 0;
  border-radius: 0 0 14px 14px; overflow: hidden;
}
.help-aside li + li { border-top: 1px solid var(--rule); }
.help-aside a {
  display: block; padding: 14px 18px; font-size: .93rem; line-height: 1.4;
  color: #481827; text-decoration: none;
}
.help-aside a:hover { background: var(--tint-1); text-decoration: underline; }
.help-aside li.current a { background: var(--tint-2); color: #481827; font-weight: 600; }

/* ---- Article ---- */
.help-article { min-width: 0; }
.help-meta { font-size: .88rem; color: #481827; }

/* ---- The fact table. Label cells step through the ladder, which is the
       detail the founder singled out in the reference. ---- */
.help-facts { margin: 0 0 32px; border-collapse: separate; border-spacing: 0 6px; width: 100%; }
.help-facts th, .help-facts td { text-align: left; padding: 13px 18px; font-size: .93rem; vertical-align: top; }
.help-facts th { font-weight: 600; color: #481827; width: 210px; border-radius: 10px 0 0 10px; }
.help-facts tr:nth-child(1) th { background: var(--tint-2); }
.help-facts tr:nth-child(2) th { background: var(--tint-3); }
.help-facts tr:nth-child(3) th { background: var(--tint-4); }
.help-facts td { color: #481827; border-bottom: 1px solid var(--rule); }
@media (max-width: 560px) {
  .help-facts th, .help-facts td { display: block; width: auto; }
  .help-facts th { border-radius: 10px 10px 0 0; }
  .help-facts td { padding-top: 8px; }
}

/* ---- Body ---- */
.help-article h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -.035em; color: #481827;
  margin: clamp(34px, 4.5vw, 48px) 0 14px;
}
.help-article h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; letter-spacing: -.03em; color: #481827; margin: 28px 0 8px; }
.help-article p, .help-article li { color: #481827; }
.help-article p { margin: 0 0 1.1em; }
.help-article ol, .help-article ul { margin: 0 0 1.3em; padding-left: 1.35em; }
.help-article li { margin-bottom: .5em; }
.help-article a:not(.btn) { color: #481827; text-decoration: underline; text-underline-offset: 2px; }
.help-article code, .help-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em; background: var(--tint-2); color: #481827;
  padding: 2px 7px; border-radius: 6px; white-space: nowrap;
}

/* ---- Callout, on the first step of the ladder. No left stripe: the founder
       ruled those out on 26/10. ---- */
.help-note { background: var(--tint-1); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 22px; margin: 1.5em 0; }
.help-note p:last-child { margin-bottom: 0; }
.help-note .hn-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #481827; margin: 0 0 8px; }

/* ---- Category cards on the help home. Border radius matches the 16px the
       site uses for .tier, .all-include, .report-doc and the rest. ---- */
.help-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin: 0; list-style: none; padding: 0; }
.help-cat { background: var(--tint-1); border: 1px solid var(--rule); border-radius: 16px; padding: 24px 24px 20px; }
.help-cat h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.03em; color: #481827; margin: 0 0 6px; }
.help-cat p { font-size: .92rem; color: #481827; margin: 0 0 14px; }
.help-cat ul { list-style: none; margin: 0; padding: 0; }
.help-cat li { margin: 0; border-top: 1px solid var(--rule); }
.help-cat li a { display: block; padding: 10px 0; font-size: .93rem; color: #481827; text-decoration: none; }
.help-cat li a:hover { text-decoration: underline; }

/* ---- Related articles ---- */
.help-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); }
.help-foot h2 { font-size: 1.05rem; margin: 0 0 12px; }
.help-related { list-style: none; margin: 0; padding: 0; }
.help-related li { border-top: 1px solid var(--rule); }
.help-related li a { display: block; padding: 11px 0; color: #481827; text-decoration: none; font-weight: 600; font-size: .95rem; }
.help-related li a:hover { text-decoration: underline; }

/* ---- The wordmark is sized in every page's own <style> block (the stacked
       logo pass, 31/08/2026), which these generated pages do not carry. The
       base height alone was not enough: without the 640px step the nav mark
       stayed 42px on a phone, which pushed the nav 21px past the viewport at
       320px while every other page stopped at 322px. Copied verbatim from
       free-ndis-training.html so the mark is the same size on every page. ---- */
.wordmark { align-items: center; }
.wm-img { display: block; height: 42px; width: auto; max-width: none; }
.foot .wm-img, .footer-brand .wm-img { height: 46px; }
@media (max-width: 640px) {
  .wm-img { height: 34px; }
  .foot .wm-img, .footer-brand .wm-img { height: 40px; }
}
