/* tellem-docs-page.css — TellEm scripting reference admin page */

/* Single-column width comes from the base .dlg-page scheme. */

.tellem-docs h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.tellem-docs h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 10px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid hsla(0, 0%, 40%, 0.15);
}

.tellem-docs__lead {
    color: var(--dlg-color-text-secondary, #555);
    margin-bottom: 12px;
}

.tellem-docs__lead code,
.tellem-docs__content code {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    background: hsla(0, 0%, 40%, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
}

.tellem-docs__toc {
    background: hsla(0, 0%, 40%, 0.04);
    border: 1px solid hsla(0, 0%, 40%, 0.12);
    border-radius: 6px;
    padding: 8px 14px;
    margin: 0 0 16px 0;
}

.tellem-docs__toc ul {
    margin: 0;
    padding-left: 18px;
}

.tellem-docs__content h1,
.tellem-docs__content h2,
.tellem-docs__content h3,
.tellem-docs__content h4 {
    font-weight: 600;
    margin-top: 18px;
}

.tellem-docs__content h1 { font-size: 18px; }
.tellem-docs__content h2 { font-size: 16px; border-bottom: none; }
.tellem-docs__content h3 { font-size: 15px; }
.tellem-docs__content h4 { font-size: 14px; color: var(--dlg-color-text-secondary, #555); }

.tellem-docs__content p {
    line-height: 1.55;
}

.tellem-docs__content pre {
    background: hsla(0, 0%, 40%, 0.06);
    border: 1px solid hsla(0, 0%, 40%, 0.12);
    border-radius: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.45;
}

.tellem-docs__content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.tellem-docs__content ul,
.tellem-docs__content ol {
    line-height: 1.55;
}

.tellem-docs__content table {
    border-collapse: collapse;
    margin: 12px 0;
}

.tellem-docs__content th,
.tellem-docs__content td {
    border: 1px solid hsla(0, 0%, 40%, 0.15);
    padding: 6px 10px;
}

.tellem-docs__content th {
    background: hsla(0, 0%, 40%, 0.06);
    font-weight: 600;
    text-align: left;
}

.tellem-docs__missing {
    color: var(--app-text-alert, #dc172e);
    font-style: italic;
}
