/* Datasheets and manuals (website/public/docs): readable on a phone, printed or saved as PDF from the browser. */
.doc { max-width: 860px; margin: 0 auto; padding: 32px 0 96px; }
.doc h1 { font-size: 34px; letter-spacing: -.02em; margin: 0; }
.doc .doc-sub { color: var(--ink-3); margin: 6px 0 0; }
.doc h2 { font-size: 23px; margin: 40px 0 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { line-height: 1.6; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 650; color: var(--ink-2, inherit); }
.doc .mono { font-family: 'Plex Mono', monospace; }
/* A notice is a tint, not a coloured stripe (S166 taste 4). */
.doc .warn { background: var(--warn-bg); color: var(--ink); padding: 12px 16px; border-radius: var(--r-card); margin: 14px 0; }
.doc .toc { columns: 2; column-gap: 32px; padding-left: 20px; }
.doc .toc li { break-inside: avoid; }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.doc .scroll { overflow-x: auto; }
.doc ol.steps > li { margin: 10px 0; }
.doc .motto { color: var(--ink-3); margin-top: 48px; }
@media (max-width: 640px) { .doc .toc { columns: 1; } .doc h1 { font-size: 28px; } }
@media print {
  #site-header, #site-footer, .doc-actions, .skip, .notice { display: none !important; }
  body { background: #fff; color: #000; }
  .doc { padding: 0; max-width: none; font-size: 11pt; }
  .doc h2 { break-after: avoid; }
  .doc table, .doc .warn { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
