/* The user's manual (site/mislisha/manual/), dressed as the product page on
 * 17.10.2026: same header, footer, fonts and colours (mislisha-base.css),
 * and a single reading column, because a manual page is read top to bottom.
 */

main { max-width: 40em; padding: 32px 0 24px; }

h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 18px; }
h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; margin: 2.2em 0 0.6em; padding-top: 0.9em; border-top: 1px solid var(--rule); }
h3 { font-size: 18px; line-height: 1.3; margin: 1.8em 0 0.5em; }

p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

.lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 1.4em; }

/* A label is set as it stands on screen, so the reader looks for the same
 * words the app shows; chess_app/test/manual_labels_test.dart checks every
 * one of them against the app. */
.ui { font-weight: 600; color: var(--ink); }

kbd {
  font: 600 0.85em var(--sans);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.05em 0.45em;
}

/* Something a reader must not miss: a box of its own, not a coloured edge. */
.note {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 0 0 1.4em;
}

/* The contents: one task per line, with what it is for underneath. */
.tasks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tasks li { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--rule); }
/* The heading above already has a rule, and the next heading brings its own. */
.tasks li:last-child { border-bottom: 0; }
.tasks a { font-weight: 600; font-size: 18px; text-decoration: none; }
.tasks a:hover { text-decoration: underline; }
.tasks .what { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
