/* ThatMgmt secondary pages: content components.
   Built on the homepage kit in site.css (same tokens, same type).
   Only content-level pieces live here: prose, spec tables, code. */

.doc { max-width: 760px; }
.doc h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
}
.doc p { color: var(--muted); line-height: 1.65; margin: 0 0 14px; }
.doc p strong, .doc li strong { color: var(--text); }
.doc ul { list-style: none; margin: 0 0 16px; padding: 0; }
.doc li {
  color: var(--muted);
  line-height: 1.6;
  padding: 5px 0 5px 26px;
  position: relative;
}
.doc li::before {
  content: "\2713";
  color: var(--ink);
  font-weight: 700;
  position: absolute;
  left: 2px;
}
.doc a { color: var(--ink); }
section.light .doc p, section.light .doc li { color: var(--muted); }
.doc code, .spec-table code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86em;
  background: var(--ink-soft);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}
.doc pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--card-shadow-sm);
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0 0 16px;
}
.doc pre code {
  background: none;
  padding: 0;
  white-space: pre;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--card-shadow-sm);
  margin: 0 0 18px;
  font-size: 0.95rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.spec-table td { color: var(--muted); line-height: 1.55; }
.spec-table td:first-child { white-space: nowrap; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (max-width: 640px) {
  .spec-table td:first-child { white-space: normal; }
  .spec-table code { white-space: normal; overflow-wrap: anywhere; }
  .spec-table td { overflow-wrap: break-word; }
}
