/* Reading companion to the desk. Inherits the public information-page identity. */
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.guide-actions button { font: inherit; font-weight: 650; font-size: 14px; padding: 12px 18px; border: 0; border-radius: 12px; color: var(--on-accent); background: var(--accent); cursor: pointer; }
.guide-actions button:hover { background: var(--accent-hover); }
.guide-actions button + button { background: var(--raised); color: var(--text); }
.guide-actions button + button:hover { background: var(--line); }
.guide-actions a { padding: 10px 0; font-size: 14px; }
.guide-actions button:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
#copy-status { min-height: 1.7em; margin: 8px 0 20px; font-size: 14px; color: var(--muted); }
.guide-contents { padding-block: 18px; margin-bottom: 32px; border-block: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; }
summary::marker { color: var(--accent); }
.guide-contents nav { display: grid; gap: 6px; margin-top: 14px; }
.guide-contents nav a { padding: 6px 0; border-radius: 0; color: var(--muted); }
.guide-contents nav a:hover { color: var(--text); background: transparent; text-decoration: underline; }
article { overflow-wrap: anywhere; }
article > p:first-child { color: var(--muted); }
article h2, article h3 { scroll-margin-top: 24px; }
article h3 { font-size: 18px; line-height: 1.4; margin: 32px 0 12px; }
article code { font: .9em/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--text); }
article :not(pre) > code { background: var(--raised); border-radius: 4px; padding: 2px 4px; box-decoration-break: clone; }
article pre { border-radius: 12px; }
article pre code { font-size: 13px; }
article ol { padding-left: 24px; }
.table-scroll { overflow-x: auto; max-width: 100%; margin-block: 24px; scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.65; }
th { font-weight: 700; color: var(--text); background: var(--raised); }
th, td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
td { color: var(--muted); }
td:first-child { color: var(--text); min-width: 135px; }
table code { white-space: normal; }
@media (max-width: 640px) {
  .guide-actions { gap: 10px; }
  .guide-actions button { flex: 1 1 150px; }
  .table-scroll table { min-width: 570px; }
  article pre { padding: 18px; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --panel: #fff; --raised: #eee; --text: #111; --muted: #333; --accent: #222; --line: #ccc; }
  .site-header, .site-footer, .guide-actions, #copy-status, .guide-contents, .skip-link { display: none; }
  main { width: 100%; margin: 0; padding: 0; }
  .table-scroll { overflow: visible; }
  .table-scroll table { min-width: 0; }
}
