/* Help pages only; colours, fonts and the site header are in /assets/site.css */
body { font-size: 18px; line-height: 1.6; }
.wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; max-width: var(--page); margin: 0 auto;
        padding: 28px var(--gutter) 72px; }
.side { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; }
.side a { text-decoration: none; color: var(--muted); padding: 5px 12px; border-left: 2px solid var(--line); }
.side a:hover { color: var(--paper); }
.side a[aria-current] { color: var(--paper); border-left-color: var(--accent); font-weight: 500; }

main { max-width: 720px; min-width: 0; }
h1 { font-size: clamp(32px, 4vw, 42px); line-height: 1.15; margin: 0 0 20px; }
h2 { font-size: 26px; line-height: 1.25; margin: 46px 0 10px; }
h3 { font-size: 21px; margin: 28px 0 6px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 6px; }
li > ul, li > ol { margin: 6px 0 0; }
.lead { font-size: 21px; line-height: 1.4; }
code, kbd { font: 0.78em/1.5 var(--mono); background: var(--raised); padding: 2px 5px; border-radius: 3px; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; }
pre { font: 14px/1.5 var(--mono); background: var(--raised); padding: 11px 13px; border-radius: 3px; overflow-x: auto; margin: 6px 0 16px; }
pre code { background: none; padding: 0; font-size: 1em; overflow-wrap: normal; }
.path { word-break: break-all; }
b.ui { font-weight: 500; color: #fff; }   /* names of buttons and windows */
.note { border-left: 2px solid var(--line); padding: 2px 0 2px 14px; color: var(--muted); margin: 0 0 16px; }
figure { margin: 18px 0 24px; }
figure img { width: 100%; border-radius: 4px; border: 1px solid var(--line); }
figure.narrow { max-width: 420px; }
figcaption { color: var(--muted); font-size: 16px; margin-top: 8px; }
table { border-collapse: collapse; width: 100%; margin: 6px 0 18px; font-size: 17px; }
th, td { text-align: left; vertical-align: top; padding: 7px 14px 7px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--muted); }
td:first-child { white-space: nowrap; }
dl { margin: 0 0 16px; }
dt { font-weight: 500; margin-top: 16px; }
dd { margin: 4px 0 0; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 16px;
         border-top: 1px solid var(--line); }
.pager a { text-decoration: none; color: var(--muted); }
.pager a:hover { color: var(--paper); }

@media (max-width: 800px) {
  .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 16px; }
  .side { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding-bottom: 16px;
          border-bottom: 1px solid var(--line); }
  .side a { border: 1px solid var(--line); padding: 3px 9px; border-radius: 3px; font-size: 16px; }
  .side a[aria-current] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
  td:first-child { white-space: normal; }
}
