/* Help center: the plain technician-guide look on the Inspections theme (body.mk tokens from inspections.css
   and mpi.css). A grey section list on the left, one flat card per topic. */
.help-layout { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; align-items: start; max-width: 1100px; padding-block: 1rem 3rem; }
.help-nav { position: sticky; top: 1rem; display: grid; gap: .1rem; font-size: 14px; }
.help-nav p { margin: .75rem 0 .2rem .6rem; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.help-nav a { color: var(--muted); text-decoration: none; padding: .3rem .6rem; border-radius: 3px; }
.help-nav a:hover { color: var(--text); background: var(--mpi-hover); }
.help-nav a[aria-current="page"] { color: var(--text); background: var(--mpi-hover); box-shadow: inset 3px 0 0 var(--blue); }

.help-main { display: grid; gap: .9rem; min-width: 0; }

.help-hero, .help-card { background: var(--mpi-bg); border: 1px solid var(--mpi-line); border-radius: 4px; padding: 1rem 1.25rem; }
.help-crumb { margin: 0 0 .2rem; font-size: 13px; color: var(--muted); }
.help-crumb a { color: var(--muted); }
.help-hero h1 { margin: 0 0 .3rem; font-size: 22px; font-weight: 700; letter-spacing: 0; }
.help-hero p.lead { margin: 0; color: var(--muted); max-width: 46rem; }

.help-card h2 { margin: 0 0 .5rem; font-size: 18px; font-weight: 700; letter-spacing: 0; }
.help-card h3 { margin: 1rem 0 .3rem; font-size: 15px; font-weight: 700; }
.help-card p, .help-card li { max-width: 46rem; }
.help-card > p:first-of-type { margin-top: 0; }
.help-card ol, .help-card ul { padding-left: 1.3rem; }
.help-card li + li { margin-top: .25rem; }

/* Numbered steps: a plain list, the step's name in bold. */
.steps { padding-left: 1.3rem; }
.steps > li + li { margin-top: .4rem; }
.steps b:first-child::after { content: " — "; font-weight: 400; }

.callout { margin: .75rem 0 0; padding: .5rem .75rem; border-left: 3px solid var(--blue); background: #fff; }
.callout.tip { border-color: var(--mpi-green); }
.callout.warn { border-color: var(--mpi-yellow); }
.callout b:first-child { display: block; }

/* Labelled rows (gestures, parts, topics) read like the guide's tables. */
.tiles { display: grid; margin-top: .4rem; }
.help-tile { display: grid; grid-template-columns: minmax(10rem, 34%) minmax(0, 1fr); gap: 1rem; padding: .5rem .6rem; border-top: 1px solid var(--mpi-line); font-size: 14px; }
.help-tile .gesture { font-weight: 700; }
.help-tile .does { color: var(--text); }
.facts { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: .4rem; }
.fact strong { font-size: 18px; margin-right: .3rem; }
.fact span { color: var(--muted); font-size: 14px; }
.facts + p { margin-top: .75rem; }

.hub .help-tile { color: inherit; text-decoration: none; }
.hub a.help-tile:hover { background: var(--mpi-hover); }
.hub a.help-tile:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.hub .help-tile strong { color: var(--link); }
.hub .help-tile span { color: var(--muted); }

.help-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.help-table th, .help-table td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-top: 1px solid var(--mpi-line); }
.help-table th { color: var(--muted); font-weight: 400; border-top: 0; }
.help-table td:first-child { width: 34%; font-weight: 700; }

.say { margin: .3rem 0 0; padding: .5rem .75rem; border-left: 3px solid var(--blue); background: #fff; font-style: italic; }
.chip { font-size: 12px; color: var(--muted); border: 1px solid var(--mpi-frame); border-radius: 3px; padding: 0 .3rem; font-style: normal; }
.help-note { color: var(--muted); font-size: 13px; }

/* Text still to be filled in before this goes to a dealership. */
.fill { background: #fff3c4; border-radius: 2px; padding: 0 .2rem; }

.help-pager { display: flex; justify-content: space-between; gap: 1rem; font-size: 14px; }
.help-pager a { color: var(--link); text-decoration: none; }
.help-pager a:hover { text-decoration: underline; }
.help-pager small { display: block; color: var(--muted); font-size: 12px; }
.help-pager .next { margin-left: auto; text-align: right; }

@media (max-width: 760px) {
  .help-layout { grid-template-columns: minmax(0, 1fr); }
  .help-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-nav p { grid-column: 1 / -1; }
  .help-tile { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .help-table td:first-child { width: auto; }
}
@media print {
  .mk-bar, .help-nav, .help-pager { display: none; }
  .help-layout { grid-template-columns: 1fr; }
  .help-card, .help-hero { break-inside: avoid; border-color: #ccc; }
  .fill { background: none; }
}
