.documentation-document {
    font-family: Roboto, sans-serif;
    color: var(--color-content-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
    max-width: none;
    min-width: 0;
    overflow-wrap: anywhere;
    outline: none;
}
.documentation-document > :first-child {
    margin-top: 0;
}
.documentation-document p {
    margin: 0.75rem 0;
}
.documentation-document h1,
.documentation-document h2,
.documentation-document h3 {
    color: var(--color-content);
    font-weight: 600;
    line-height: 1.3;
    margin: 1.75rem 0 0.75rem;
}
.documentation-document h1 {
    font-size: 1.875rem;
}
.documentation-document h2 {
    font-size: 1.5rem;
}
.documentation-document h3 {
    font-size: 1.25rem;
}
.documentation-document ul,
.documentation-document ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}
.documentation-document ul {
    list-style: disc;
}
.documentation-document ol {
    list-style: decimal;
}
.documentation-document li > p {
    margin: 0.25rem 0;
}
.documentation-document blockquote {
    border-left: 3px solid var(--color-border);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--color-content-muted);
}
.documentation-document code {
    background: var(--color-surface-subtle);
    border-radius: 0.25rem;
    padding: 0.1rem 0.3rem;
    font-size: 0.85em;
}
.documentation-document pre {
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    white-space: pre;
}
.documentation-document pre code {
    padding: 0;
    background: none;
}
.documentation-document a {
    color: var(--color-content);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.documentation-document hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 1.75rem 0;
}
.documentation-document .documentation-image {
    margin: 1.25rem 0;
    max-width: 100%;
}
.documentation-document img {
    display: block;
    height: auto;
    max-width: 100%;
    margin: auto;
}
.documentation-document figcaption {
    margin-top: 0.4rem;
    color: var(--color-content-muted);
    font-size: 0.8125rem;
    text-align: center;
}
.documentation-document .ProseMirror-selectednode {
    border-radius: 0.5rem;
    outline: 2px solid var(--color-focus);
    outline-offset: 3px;
}
.documentation-document p.is-editor-empty:first-child::before {
    content: attr(data-placeholder);
    color: var(--color-content-muted);
    float: left;
    height: 0;
    pointer-events: none;
}
.documentation-editor-shell {
    container-type: inline-size;
    container-name: documentation-editor;
    min-width: 0;
    background: var(--color-surface);
}
.documentation-editor-shell .documentation-document {
    min-height: 12rem;
    padding: 1.25rem 0;
}
.documentation-bubble {
    display: flex;
    gap: 0.125rem;
    padding: 0.25rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    background: var(--color-surface);
    color: var(--color-content-secondary);
    box-shadow: 0 4px 16px #0002;
}
.documentation-bubble button {
    min-width: 2rem;
    height: 2rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}
.documentation-bubble button:hover,
.documentation-bubble button[aria-pressed='true'] {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}
.documentation-bubble button:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}
.documentation-document .tableWrapper {
    max-width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
}
.documentation-document table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    margin: 0;
}
.documentation-document td,
.documentation-document th {
    min-width: 100px;
    border: 1px solid var(--color-border);
    padding: 0.5rem 0.625rem;
    vertical-align: top;
    position: relative;
    font-weight: normal;
}
.documentation-document th {
    background: var(--color-surface-subtle);
    font-weight: 600;
}
.documentation-document td > p,
.documentation-document th > p {
    margin: 0;
}
.documentation-document .selectedCell::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: color-mix(in srgb, var(--color-focus) 12%, transparent);
}
.documentation-document:focus .documentation-active-cell {
    outline: 1px solid var(--color-focus);
    outline-offset: -1px;
}
