/* Loaded directly with a content hash so imported legacy table styles cannot stay cached. */
.gh-post-content {
    --gh-table-text: var(--text-color, #e0e6ed);
    --gh-table-bg: var(--bg-color, #111827);
    --gh-table-rule: rgba(148, 163, 184, .32);
    min-width: 0;
}
.gh-post-content .gh-table-scroll,
.gh-post-content figure.table,
.gh-post-content .gh-table-wrapper {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 1.25rem 0 !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    border: 1px solid var(--gh-table-rule);
    border-radius: 10px;
    background: var(--gh-table-bg);
    color: var(--gh-table-text) !important;
    box-shadow: 0 4px 18px #00000012;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 var(--gh-table-bg);
    -webkit-overflow-scrolling: touch;
}
.gh-post-content .gh-table-scroll:focus-visible {
    outline: 2px solid var(--blog-accent, #60a5fa);
    outline-offset: 3px;
}
.gh-post-content table,
.gh-post-content table.gh-data-table {
    display: table;
    table-layout: auto;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none;
    margin: 0 !important;
    border: 0 !important;
    background: var(--gh-table-bg) !important;
    color: var(--gh-table-text) !important;
    font-size: .9375rem;
    line-height: 1.65;
    --bs-table-bg: var(--gh-table-bg) !important;
    --bs-table-color: var(--gh-table-text) !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-color: var(--gh-table-text) !important;
    --bs-table-hover-color: var(--gh-table-text) !important;
}
.gh-post-content table.gh-table-wide {
    min-width: calc(var(--gh-table-columns, 5) * 7.5rem) !important;
}
.gh-post-content table th,
.gh-post-content table td,
.gh-post-content table.gh-data-table th,
.gh-post-content table.gh-data-table td {
    padding: .8rem 1rem !important;
    min-width: 6rem;
    max-width: 28rem;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word;
    color: var(--gh-table-text) !important;
    -webkit-text-fill-color: currentColor !important;
    background: var(--gh-table-bg) !important;
    border: 0 !important;
    border-right: 1px solid var(--gh-table-rule) !important;
    border-bottom: 1px solid var(--gh-table-rule) !important;
    box-shadow: none !important;
    font-variant-numeric: tabular-nums;
}
.gh-post-content table th:last-child,
.gh-post-content table td:last-child { border-right: 0 !important; }
.gh-post-content table.gh-data-table .gh-table-compact { white-space: nowrap !important; }
.gh-post-content table tbody:last-child tr:last-child > *,
.gh-post-content table > tr:last-child > * { border-bottom: 0 !important; }
.gh-post-content table.gh-data-table th,
.gh-post-content table.gh-data-table thead td {
    font-weight: 700;
    background: linear-gradient(#94a3b824,#94a3b824), var(--gh-table-bg) !important;
    border-bottom: 2px solid var(--gh-table-rule) !important;
}
.gh-post-content table.gh-data-table tbody tr:nth-child(even) td {
    background: linear-gradient(#94a3b810,#94a3b810), var(--gh-table-bg) !important;
}
.gh-post-content table.gh-data-table tbody tr:hover td {
    background: linear-gradient(#94a3b81f,#94a3b81f), var(--gh-table-bg) !important;
}
.gh-post-content table.gh-data-table td :where(*),
.gh-post-content table.gh-data-table th :where(*) {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    filter: none;
}
.gh-post-content table.gh-data-table :is(p,ul,ol) { margin-top: 0; margin-bottom: .35rem; }
.gh-post-content table.gh-data-table p:last-child { margin-bottom: 0; }
.gh-post-content table.gh-data-table a {
    color: var(--gh-table-text) !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.gh-post-content table.gh-data-table a:hover { text-decoration-thickness: 2px; }
.gh-post-content table.gh-data-table code { white-space: normal; overflow-wrap: anywhere; }
.gh-post-content table caption,
.gh-post-content figure.table figcaption {
    color: var(--gh-table-text) !important;
    -webkit-text-fill-color: currentColor !important;
    padding: .75rem 1rem;
    font-size: .875rem;
    text-align: left;
}
.gh-post-content .gh-table-hint {
    font-size: .8125rem;
    color: var(--gh-table-text);
    margin: 1rem 0 -.65rem;
    line-height: 1.6;
}
.gh-table-hint[hidden] { display: none; }
@media (max-width: 768px) {
    .gh-post-content table.gh-data-table th,
    .gh-post-content table.gh-data-table td { padding: .7rem .8rem !important; font-size: .875rem; }
}

