/* Plain reading pages that sit beside the app: the Slack page, the privacy
   policy and the terms. They use the app's colours and type from app.css. */

.doc { display: flex; flex-direction: column; gap: 36px; max-width: 780px; margin: 0 auto; padding: 28px 20px 96px; }
.doc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc-top { flex-wrap: wrap; }
.doc-top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.doc-top nav a { white-space: nowrap; }
.doc-top nav a { color: var(--muted); text-decoration: none; }
.doc-top nav a:hover { color: var(--ink); }
.doc-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 20px; }
.doc section { display: flex; flex-direction: column; gap: 12px; }
.doc h2 { font-size: 21px; font-weight: 640; letter-spacing: -0.02em; line-height: 1.25; }
.doc h3 { font-size: 15px; font-weight: 650; }
.doc p, .doc li { max-width: 70ch; }
.doc ul { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; list-style: disc; }
.doc .steps { padding: 0; list-style: none; }
.doc a { color: var(--accent-ink); }
.doc .wordmark, .doc .button { color: inherit; text-decoration: none; }
.doc .button-primary { color: var(--bg); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-table th, .doc-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-table th { font-size: 13px; font-weight: 600; color: var(--muted); }
.doc-table td:first-child { white-space: nowrap; }
.doc-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.doc-foot a { color: var(--muted); }
@media (max-width: 620px) {
  .doc-table td:first-child { white-space: normal; }
}

/* The public skills collection. */
.doc-skills #list { gap: 14px; }
.open-filters { display: flex; flex-direction: column; gap: 8px; }
.open-filters .hint { align-self: center; margin-right: 2px; }
.open-skill { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-l); background: var(--surface); scroll-margin-top: 20px; }
.open-skill-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.open-skill .hint { font-size: 13.5px; }
.open-skill .hint a { color: var(--ink); }
.open-skill .chip { background: var(--bg); margin-right: 4px; }
.open-skill summary { width: fit-content; cursor: pointer; font-size: 14px; font-weight: 600; }
.open-skill details[open] summary { margin-bottom: 12px; }
.open-skill .skill-body { background: var(--raised); max-height: 60vh; }

/* The Co-work page (agents/). The example uses the app's own room styles. */
.doc-hero .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.agents-example { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.agents-example .room-post { padding-right: 16px; }
.agents-example .room-thread { padding: 0; list-style: none; }
.doc code { overflow-wrap: anywhere; }
.doc-table td:first-child code { overflow-wrap: normal; white-space: nowrap; }
