/* targetace.app/help/widgets: the guide for club webmasters. */
.doc { max-width: 52em; }
.doc h2 { margin: 40px 0 10px; font-size: 32px; }
.doc h3 { margin: 24px 0 8px; font-size: 17px; }
.doc h2 + h3 { margin-top: 12px; }
.doc p, .doc li { max-width: 42em; }
.doc li + li { margin-top: 4px; }
pre { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }
td code, p code, li code { background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; padding: 0 4px; white-space: nowrap; }
p code, li code { white-space: normal; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 8px 0 4px; }
table.small { min-width: 0; }
table.small td { vertical-align: top; }
td:first-child { white-space: nowrap; }
table.fix td:first-child { white-space: normal; min-width: 10em; font-weight: 600; }
@media (max-width: 640px) {
  td:first-child, td:first-child code { white-space: normal; }
  table.small th, table.small td { padding-left: 8px; padding-right: 8px; }
  /* Shortcodes and troubleshooting: one block per row on phones. */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: auto; }
  table.stack tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { border: 0; padding: 2px 12px; }
  table.stack td:first-child { font-weight: 600; }
}
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.toc a:hover { border-color: var(--navy); }
.panel p:first-child { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }
