@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

.block {
    margin: 8em auto 8em auto;
    max-width: 50rem;
}

.block > .btn-container {
    text-align: right;
    margin-bottom: 1em;
}

.markdown-body {
    font-size: 16px;
    border: 1px solid var(--color-border-default);
    border-radius: 1rem;
    color: var(--color-fg-default);
    padding: 2rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.markdown-body > * {
    margin-bottom: 1rem;
}

.markdown-body > :last-child {
    margin-bottom: 0 !important;
}

.markdown-body::before {
    display: table;
    content: "";
}

.markdown-body::after {
    display: table;
    clear: both;
    content: "";
}

.markdown-body h1,
.markdown-body h2 {
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--color-border-muted);
}

.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    margin-top: 1.5em;
    font-weight: var(--base-text-weight-semibold);
}

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre,
.markdown-body details {
    margin-top: 0;
    margin-bottom: 1rem;
}

.markdown-body h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: var(--base-text-weight-semibold);
}

.markdown-body h2 {
    font-size: 1.5rem;
}

.markdown-body h3 {
    font-size: 1.25rem;
}

.markdown-body h4 {
    font-size: 1rem;
}

.markdown-body h5 {
    font-size: 0.875rem;
}

.markdown-body h6 {
    font-size: 0.75rem;
}

.markdown-body p {
    font-size: 1rem;
}

.markdown-body a:not(.btn) {
    text-decoration: none;
    color: var(--color-accent-fg);
}

.markdown-body a:hover:not(.btn) {
    text-decoration: underline;
}

.markdown-body code {
    padding: 0.2rem 0.4rem;
    font-family: var(--font-monospace);
    background-color: var(--color-canvas-subtle-transparent);
    white-space: break-spaces;
    border-radius: 0.5rem;
}

.markdown-body pre {
    font-family: var(--font-monospace);
    padding: 1rem;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: var(--color-canvas-subtle);
    border-radius: 0.5rem;
    word-wrap: normal;
    word-break: normal;
}

.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ul,
.markdown-body ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

.markdown-body ul,
.markdown-body ol {
    padding-left: 2em;
}

.markdown-body li > p {
    margin-top: 1rem;
}

.markdown-body li + li {
    margin-top: 0.25em;
}

.markdown-body ul li {
    list-style-type: disc;
}

.markdown-body ul li li {
    list-style-type: circle;
}

.markdown-body ul li li li {
    list-style-type: square;
}

.markdown-body ol li {
    list-style-type: normal;
}

.markdown-body ol li li {
    list-style-type: upper-roman;
}

.markdown-body ol li li li {
    list-style-type: lower-alpha;
}

.markdown-body img {
    box-sizing: content-box;
    background-color: var(--color-canvas-default);
}

.markdown-body table {
    display: block;
    width: 100%;
    width: max-content;
    max-width: 100%;
    overflow: auto;
}

.markdown-body table tr {
    background-color: var(--color-canvas-default);
    border-top: 1px solid var(--color-border-muted);
}

.markdown-body table th,
.markdown-body table td {
    padding: 0.5rem 1rem;
    border-top: 1px solid var(--color-border-default);
}

.markdown-body table th {
    font-weight: var(--base-text-weight-semibold);
}

.markdown-body table tr {
    background-color: var(--color-canvas-default);
    border-top: 1px solid var(--color-border-muted);
}

.markdown-body table tr:nth-child(2n) {
    background-color: var(--color-canvas-subtle);
}

.contains-task-list {
    position: relative;
}

.task-list-item {
    list-style-type: none;
}

.task-list-item-checkbox {
    margin: 0 0em 0.25em -1.4em;
    vertical-align: middle;
}

[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}

.markdown-body del {
    text-decoration: line-through;
}

.markdown-body sub,
.markdown-body sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.markdown-body sub {
    bottom: -0.25em;
}

.markdown-body sup {
    top: -0.5em;
}

.markdown-body hr {
    height: 0.25em;
    padding: 0;
    margin: 1.5em 0;
    background-color: var(--color-border-default);
    border: 0;
}

.markdown-body blockquote:first-child {
    margin-top: 0;
}

.markdown-body blockquote {
    padding: 0 1em;
    color: var(--color-fg-muted);
    border-left: 0.25em solid var(--color-border-default);
}

.markdown-body [data-footnote-ref]::before {
    content: "[";
}

.markdown-body [data-footnote-ref]::after {
    content: "]";
}

.markdown-body img {
    box-sizing: content-box;
}

.markdown-body .emoji {
    max-width: none;
    vertical-align: text-top;
    background-color: transparent;
}

g-emoji img {
    width: 1em;
    height: 1em;
}

.markdown-body .footnotes {
    font-size: 0.75rem;
    color: var(--color-fg-muted);
    border-top: 1px solid var(--color-border-default);
}

.markdown-body .footnotes ol {
    padding-left: 1rem;
}

.markdown-body .footnotes li {
    position: relative;
}

.markdown-body .footnotes li p {
    font-size: 0.75rem;
}

@media (max-width: 35em) {
    .block {
        margin: 2em 0 2em 0;
    }

    .block > .btn-container {
        text-align: center;
    }

    .markdown-body {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    [data-color-mode="dark"] {
        background-color: var(--color-scale-gray-8);
        color: var(--color-scale-gray-0);
    }
    [data-color-mode="light"] {
        background-color: var(--color-scale-gray-2);
        color: var(--color-scale-gray-9);
    }
}
