/* handsforagents.com: one small stylesheet, no external resources.
   Colours come from the browser (light and dark) via color-scheme. */
:root { color-scheme: light dark; }
body {
  font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
  overflow-wrap: break-word;
}
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2.75rem 0 .75rem; padding-top: 1rem; border-top: 1px solid; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 .5rem; }
p, ul, ol, dl, table, pre { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .3rem; }
dt { font-weight: 600; margin-top: .75rem; }
dd { margin: 0 0 0 1.4rem; }
ul.addto { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.addto li { margin: 0; }
ul.addto a { display: inline-block; border: 1px solid; border-radius: .4rem; padding: .35rem .75rem; text-decoration: none; font-weight: 600; }
ul.addto a:hover, ul.addto a:focus { text-decoration: underline; }
address { font-style: normal; }
nav { margin: 1rem 0 0; line-height: 1.9; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .9em; }
pre { border: 1px solid; padding: .75rem; overflow-x: auto; }
.scroll { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; margin: 0; font-size: .95rem; }
caption { text-align: left; font-weight: 600; padding-bottom: .4rem; }
th, td { border: 1px solid; padding: .4rem .5rem; text-align: left; vertical-align: top; }
tbody th { font-weight: 400; }
table.wide td:first-child { min-width: 17rem; }
mark { padding: 0 .2em; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid; font-size: .9rem; }

/* Printing a legal document (for example the NDA to sign): the document only. */
@page { size: A4; margin: 13mm 17mm; }
@media print {
  html { font-size: 9pt; }
  body { max-width: none; padding: 0; line-height: 1.35; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  p, ul, ol, table { margin-bottom: .45rem; }
  li { margin-bottom: .15rem; }
  header p { margin-bottom: .3rem; }
  header nav, header > p:first-child, #summary, footer { display: none; }
  h2 { margin: .55rem 0 .25rem; padding-top: .25rem; break-after: avoid; }
  table, tr { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  article table td:nth-child(2) { width: 60%; }
  article table td, article table th { padding: .25rem .4rem; }
  article table td { height: 1.35rem; }
  article h2:last-of-type + table tr:last-child td { height: 3.2rem; }
}
