/* docs: a man page in the same window, read as in less, with its status line at the bottom */
.docs-win { padding-bottom: 30px; }
.man { max-width: 112ch; padding-bottom: 40px; }
.manhead, .manfoot { display: flex; justify-content: space-between; color: var(--ink-hi); margin: 10px 0 6px; white-space: pre; }
.manfoot { margin-top: 28px; }
.toc { display: flex; flex-wrap: wrap; gap: 0 3ch; padding: 8px 0 4px 7ch; }
.toc button { color: var(--blue-ink); text-decoration: underline; text-decoration-color: #4b6aa0; text-underline-offset: 3px; border-radius: 2px; transition: color 150ms var(--press), background-color 150ms var(--press); }
.toc button:hover { color: var(--ink-hi); background: #2a3a4c; }
.toc button:active { transform: scale(0.97); }
.man section { scroll-margin-top: 52px; }
.man h2 { margin: 22px 0 4px; font-size: inherit; line-height: var(--lh); font-weight: 700; color: var(--ink-hi); }
.man h3 { margin: 14px 0 2px 7ch; font-size: inherit; font-weight: 700; color: var(--ink-hi); }
.man p { margin: 0 0 var(--lh) 7ch; max-width: 92ch; }
.man p.dim { color: var(--ink-dim); }
.man b { color: var(--ink-hi); }
.man code { color: var(--ink-hi); }
.code { margin: 0 0 var(--lh) 7ch; padding: 0; font: inherit; white-space: pre; overflow-x: auto; color: var(--ink-hi); scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.diagram { color: var(--ink-2); }
.opts { margin: 0 0 var(--lh) 7ch; max-width: 92ch; }
.opts dt { color: var(--yellow); font-weight: 600; }
.opts dd { margin: 0 0 8px 4ch; }
.mt { margin: 0 0 var(--lh) 7ch; border-collapse: collapse; font: inherit; font-variant-numeric: tabular-nums; }
.mt th { text-align: left; font-weight: 700; color: var(--ink-hi); padding: 0 3ch 0 0; }
.mt td { padding: 0 3ch 0 0; vertical-align: top; }
mark { background: var(--yellow); color: var(--ground); }
mark.is-cur { background: var(--ink-hi); }
.less {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 2ch; height: 30px; padding: 0 2ch;
  background: #d6d6d6; color: #1b2226; white-space: nowrap; overflow: hidden;
}
.less .keys { margin-left: auto; color: #4a565c; }
.less input { flex: 1; min-width: 0; height: 24px; border: 0; background: transparent; color: #1b2226; font: inherit; }
.less input:focus-visible { outline: none; }
.keyhelp { margin: 0 0 var(--lh) 7ch; color: var(--ink-2); }
@media (max-width: 520px) { .toc button { padding: 11px 0; } }
@media (max-width: 760px) {
  .man p, .code, .opts, .mt, .keyhelp { margin-left: 0; }
  .man h3 { margin-left: 0; }
  .toc { padding-left: 0; }
  .mt { display: block; overflow-x: auto; }
  .less .keys { display: none; }
}

/* THE NAME AND THE PICTURE: the profile picture beside its explanation, round like the X crop. */
.mark-fig { float: right; margin: 0 0 var(--lh) 3ch; display: grid; gap: 6px; justify-items: center; }
.mark-fig img { width: 200px; height: 200px; max-width: 100%; border-radius: 50%; border: 1px solid var(--ink-dim); display: block; }
.mark-fig figcaption { font-size: 0.85em; color: var(--ink-dim); }
#mark::after { content: ""; display: block; clear: both; }
@media (max-width: 720px) { .mark-fig { float: none; margin: 0 0 var(--lh) 0; justify-items: start; } .mark-fig img { width: 160px; height: 160px; } }
