/* AR-170: API reference and SDK guide components (endpoint blocks, parameter tables, method badges).
   Built on site.css: its colours (--ink, --muted, --line, --accent-soft), .code, .code-tabs, .copy-code. */
.doc-toc .toc-group { margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.doc-toc .toc-group:first-child { margin-top: 0; }
.doc-toc a.sub { padding-left: 10px; font-size: 13.5px; }
.doc-toc a.is-active { color: var(--ink); font-weight: 600; }

.endpoint { margin: 28px 0 36px; padding-top: 4px; border-top: 1px solid var(--line); }
.endpoint:first-of-type { border-top: 0; }
.ep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 8px; }
.ep-head h3 { margin: 0; font-size: 18px; }
.ep-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.ep-path code { font: 600 14.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.method { display: inline-block; min-width: 56px; padding: 3px 8px; border-radius: 6px; font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: center; letter-spacing: .02em; }
.method.get { background: #e7f3ef; color: #0e6b5c; }
.method.post { background: #e8effd; color: #1d4ed8; }
.method.put { background: #fdf3e2; color: #92400e; }
.method.delete { background: #fdecec; color: #b42318; }
.badge-auth { padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
.badge-plan { padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #fdecdc; color: #7a3410; }

table.params { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14.5px; }
table.params th, table.params td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.params th { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
table.params td:first-child { white-space: nowrap; }
table.params td:first-child code { font: 600 13.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.type { color: var(--muted); font: 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.req { margin-left: 6px; color: #b42318; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.opt { margin-left: 6px; color: var(--muted); font-size: 11.5px; }

.callout { margin: 16px 0; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid #0e6b5c; border-radius: 8px; background: #f7fbf9; font-size: 15px; }
.callout.warn { border-left-color: #d97706; background: #fffaf0; }
.callout strong:first-child { margin-right: 4px; }
.doc h4 { margin: 18px 0 6px; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.code + .code { margin-top: 12px; }
.resp-label { display: inline-block; margin-right: 8px; color: #9ee6b8; }
