/* Shared, isolated documentation system for HyEssentialsX and HyTeleportersX. */
.plugin-docs {
    --bg:#101117;
    --panel:#171920;
    --panel-raised:#1e202a;
    --line:#2c2e3b;
    --text:#e9eaf2;
    --muted:#a1a5b8;
    --accent:#b6a2ff;
    --accent-soft:#272137;
    --wiki-text:var(--text);
    --wiki-muted:var(--muted);
    background:var(--bg);
    color:var(--text);
    font:15px/1.75 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    margin:0;
    color-scheme:dark
}

.docs-teal {
    --accent:#77dcc3;
    --accent-soft:#17322f
}

.plugin-docs * {
    box-sizing:border-box
}

.plugin-docs a {
    color:var(--accent);
    text-underline-offset:4px
}

.plugin-docs button,.plugin-docs input {
    font:inherit
}

.plugin-docs button {
    cursor:pointer
}

.plugin-docs :focus-visible {
    outline:3px solid var(--accent);
    outline-offset:4px
}

.plugin-docs [hidden],.plugin-docs .wiki-filter-hidden {
    display:none!important
}

.plugin-docs h1,.plugin-docs h2,.plugin-docs h3,.plugin-docs h4 {
    color:var(--text);
    font-weight:650;
    letter-spacing:-.03em;
    line-height:1.3
}

.plugin-docs h2 {
    font-size:1.6rem;
    margin:2rem 0 1rem
}

.plugin-docs h3 {
    font-size:1.15rem;
    margin:0 0 .65rem
}

.plugin-docs h4 {
    font-size:1rem
}

.plugin-docs p {
    margin:0 0 1rem
}

.plugin-docs li {
    margin:.4rem 0
}

.plugin-docs code {
    font: .86em/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;
    color:#d2c7ff;
    background:#242130;
    border:1px solid #353044;
    border-radius:5px;
    padding:.12rem .4rem;
    overflow-wrap:anywhere
}

.docs-teal code {
    color:#a0ead9;
    background:#1b2b29;
    border-color:#2b413c
}

.plugin-docs pre {
    position:relative;
    background:#0c0d12;
    border:1px solid var(--line);
    border-radius:12px;
    padding:1.3rem;
    padding-top:3rem;
    overflow:auto;
    max-width:100%;
    margin:1rem 0
}

.plugin-docs pre code {
    background:none;
    border:0;
    padding:0;
    color:#d3d8e8;
    white-space:pre
}

.plugin-docs pre button {
    position:absolute;
    right:.65rem;
    top:.55rem
}

.plugin-docs kbd {
    border:1px solid var(--line);
    background:var(--panel-raised);
    border-radius:5px;
    padding:.1rem .4rem;
    color:var(--muted)
}

.docs-topbar {
    height:82px;
    display:flex;
    align-items:center;
    gap:2rem;
    border-bottom:1px solid var(--line);
    padding:0 36px;
    background:var(--bg);
    position:sticky;
    top:0;
    z-index:25
}

.docs-wordmark {
    display:flex;
    align-items:center;
    gap:12px;
    min-width:260px;
    color:var(--text)!important;
    text-decoration:none;
    font-weight:650;
    font-size:15px;
    line-height:1.5
}

.docs-wordmark small {
    display:block;
    color:var(--muted);
    font-size:9px;
    letter-spacing:.17em
}

.docs-brandmark {
    border:1px solid #66558e;
    color:#d1bfff;
    border-radius:10px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    font-size:23px;
    background:#211d2d
}

.docs-search-launch {
    border:1px solid var(--line);
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:8px 12px;
    max-width:510px;
    width:100%;
    background:var(--panel);
    color:var(--muted);
    text-align:left;
    font-size:13px!important
}

.docs-top-link {
    font-size:13px;
    color:var(--muted)!important;
    white-space:nowrap;
    margin-left:auto;
    text-decoration:none
}

.docs-grid {
    display:grid;
    grid-template-columns:256px minmax(0,1fr) 182px;
    max-width:1570px;
    margin:auto;
    padding:0 34px;
    gap:42px
}

.docs-sidebar {
    border-right:1px solid var(--line);
    padding-right:24px
}

.docs-sidebar-inner {
    padding:30px 0
}

.docs-mobile-nav {
    position:sticky;
    top:100px;
    max-height:calc(100vh - 110px);
    overflow:auto;
    scrollbar-width:thin
}

.docs-mobile-nav>summary {
    display:none
}

.docs-eyebrow {
    font-size:9px;
    letter-spacing:.13em;
    color:var(--muted);
    margin-bottom:15px!important
}

.docs-switcher {
    display:grid;
    gap:5px;
    padding-bottom:19px;
    border-bottom:1px solid var(--line)
}

.docs-switcher a {
    display:flex;
    gap:10px;
    align-items:center;
    padding:10px;
    border-radius:9px;
    color:var(--muted);
    text-decoration:none;
    font-size:13px;
    line-height:1.5
}

.docs-switcher a[aria-current=true] {
    background:var(--accent-soft);
    color:var(--text)
}

.docs-plugin-icon {
    font:bold 13px ui-monospace,monospace;
    border:1px solid var(--line);
    width:30px;
    height:32px;
    display:grid;
    place-items:center;
    border-radius:7px;
    color:var(--accent);
    background:var(--bg)
}

.docs-switcher small {
    display:block;
    color:var(--muted);
    font-size:10px
}

.docs-nav-group {
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.1em;
    color:var(--muted);
    margin:22px 10px 8px!important
}

.docs-navigation>a {
    display:block;
    padding:6px 12px;
    margin:2px 0;
    border-radius:6px;
    font-size:13px;
    color:#aeb1c1;
    text-decoration:none;
    border-left:2px solid transparent
}

.docs-navigation>a:hover {
    background:var(--panel-raised);
    color:var(--text)
}

.docs-navigation>a[aria-current=page] {
    color:var(--accent);
    background:var(--accent-soft);
    border-left-color:var(--accent)
}

.docs-sidebar-note {
    margin-top:25px;
    border:1px solid var(--line);
    border-radius:9px;
    padding:12px;
    line-height:1.6
}

.docs-sidebar-note strong {
    display:block;
    font-size:11px
}

.docs-sidebar-note span {
    display:block;
    font-size:11px;
    color:var(--muted);
    margin-top:4px
}

.docs-main {
    min-width:0;
    padding:26px 0 0
}

.docs-breadcrumb {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    font-size:11px;
    color:var(--muted);
    margin-bottom:33px
}

.docs-breadcrumb a {
    color:var(--muted);
    text-decoration:none
}

.docs-page-kicker {
    font-size:10px;
    letter-spacing:.13em;
    color:var(--accent);
    font-weight:650;
    display:flex;
    align-items:center;
    gap:10px
}

.docs-page-kicker>span:not(.docs-status-dot) {
    color:var(--muted)
}

.docs-status-dot {
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--accent)
}

.docs-page-header h1 {
    font-size:clamp(2rem,3.5vw,3rem);
    line-height:1.12;
    margin:15px 0;
    font-weight:700;
    letter-spacing:-.045em
}

.docs-page-header>p {
    color:var(--muted);
    font-size:15px;
    max-width:65ch
}

.docs-page-actions {
    display:flex;
    gap:18px;
    margin-top:20px;
    font-size:11px;
    align-items:center
}

.docs-page-actions a {
    color:var(--muted);
    text-decoration:none
}

.docs-page-actions button {
    border:0;
    background:none;
    color:var(--muted);
    padding:0;
    font-size:11px
}

.docs-page-header {
    border-bottom:1px solid var(--line);
    padding-bottom:25px;
    margin-bottom:26px
}

.docs-outline {
    font-size:11px;
    padding-top:48px
}

.docs-outline>div {
    position:sticky;
    top:110px;
    max-height:calc(100vh - 130px);
    overflow:auto;
    scrollbar-width:thin
}

.docs-outline .docs-nav-group {
    margin-left:0!important
}

.docs-outline nav {
    display:grid;
    gap:5px;
    border-left:1px solid var(--line)
}

.docs-outline nav a {
    padding:4px 10px;
    color:var(--muted);
    text-decoration:none;
    line-height:1.5;
    border-left:2px solid transparent;
    margin-left:-1px
}

.docs-outline nav a[aria-current=true] {
    border-color:var(--accent);
    color:var(--accent)
}

.docs-outline-help {
    display:block;
    border-top:1px solid var(--line);
    padding-top:20px;
    margin-top:26px;
    text-decoration:none;
    color:var(--muted)!important
}

.docs-outline-help span {
    display:block;
    color:var(--accent);
    margin-top:5px
}

.docs-article-body [id] {
    scroll-margin-top:110px
}

.docs-heading-anchor {
    font-size:.8em;
    margin-left:8px;
    text-decoration:none;
    opacity:0
}

.docs-article-body :is(h2,h3):hover .docs-heading-anchor,.docs-heading-anchor:focus {
    opacity:1
}

.docs-pagination {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin:40px 0 24px
}

.docs-pagination a {
    border:1px solid var(--line);
    border-radius:10px;
    display:flex;
    flex-direction:column;
    padding:16px;
    text-decoration:none
}

.docs-pagination small {
    color:var(--muted);
    font-size:9px;
    letter-spacing:.08em
}

.docs-pagination strong {
    font-size:13px;
    font-weight:600;
    margin-top:6px
}

.docs-pagination a:hover {
    border-color:var(--accent)
}

.docs-footer {
    border-top:1px solid var(--line);
    padding:22px 0;
    color:var(--muted);
    font-size:10px;
    display:flex;
    gap:20px;
    justify-content:space-between
}

.docs-footer a {
    color:var(--muted);
    text-decoration:none
}

/* Existing curated references share the new page primitives. */
.hex-shell {
    display:grid;
    gap:20px
}

.hex-hero-panel {
    padding:22px 24px;
    border:1px solid var(--line);
    border-radius:12px;
    background:linear-gradient(120deg,var(--accent-soft),var(--panel))
}

.plugin-docs .hex-hero-title {
    font-size:1.6rem;
    margin:0 0 12px
}

.hex-hero-copy,.hex-muted,.hex-small,.muted {
    color:var(--muted)
}

.hex-hero-copy {
    margin-bottom:0!important
}

.hex-small {
    font-size:12px
}

.hex-grid,.hex-grid-three {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px
}

.hex-card,.hex-link-card,.wiki-card {
    border:1px solid var(--line);
    background:var(--panel);
    padding:21px;
    border-radius:11px;
    min-width:0
}

.hex-card p,.hex-link-copy {
    font-size:13px;
    color:var(--muted);
    line-height:1.8
}

.hex-card p:last-child {
    margin-bottom:0
}

.hex-link-card {
    display:flex;
    flex-direction:column;
    text-decoration:none;
    transition:border-color .15s,background .15s
}

.hex-link-card:hover {
    border-color:var(--accent);
    background:var(--panel-raised)
}

.hex-link-title {
    font-size:16px;
    color:var(--text);
    margin:13px 0 8px;
    font-weight:600
}

.hex-link-card::after {
    content:"Explore guide →";
    font-size:11px;
    margin-top:auto;
    padding-top:15px;
    color:var(--accent)
}

.hex-badge,.hex-pill {
    font-size:10px;
    border:1px solid var(--line);
    border-radius:5px;
    padding:3px 8px;
    color:var(--accent);
    background:var(--accent-soft);
    width:fit-content;
    display:inline-block
}

.hex-code-list {
    display:flex;
    flex-wrap:wrap;
    gap:7px
}

.hex-code-stack {
    display:grid;
    gap:6px
}

.hex-section {
    border:1px solid var(--line);
    border-radius:11px;
    overflow:hidden;
    min-width:0;
    background:var(--panel)
}

.hex-section-header {
    padding:18px 21px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    border-bottom:1px solid var(--line)
}

.plugin-docs .hex-section-title {
    margin:0;
    font-size:1.1rem
}

.hex-section-subtitle {
    font-size:12px;
    color:var(--muted);
    margin-top:6px
}

.wiki-card-body {
    padding:20px
}

.hex-stats {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:20px
}

.hex-stat {
    padding:14px;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--panel)
}

.hex-stat-value {
    font-size:21px;
    font-weight:650;
    color:var(--text)
}

.hex-stat-label {
    font-size:10px;
    color:var(--muted)
}

.hex-table {
    --bs-table-bg:transparent;
    --bs-table-color:var(--text);
    --bs-table-border-color:var(--line);
    --bs-table-striped-color:var(--text);
    margin:0;
    font-size:12px;
    width:100%
}

.hex-table th {
    font-size:10px;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--muted);
    font-weight:600;
    background:#14161d
}

.hex-table td,.hex-table th {
    padding:15px 18px;
    border-bottom:1px solid var(--line);
    vertical-align:top
}

.hex-table tr:last-child td {
    border-bottom:0
}

.hex-table td code {
    font-size:11px
}

.hex-table th[style] {
    width:auto!important
}

.hex-table td:first-child {
    min-width:140px
}

.hex-table td {
    overflow-wrap:anywhere
}

.hex-table .hex-code-stack {
    max-width:230px
}

.table-responsive {
    overflow-x:auto;
    scrollbar-width:thin
}

.wiki-copy-btn,.docs-copy,.docs-filter button,.docs-reset {
    border:1px solid var(--line);
    background:var(--panel-raised);
    color:var(--muted);
    border-radius:5px;
    font-size:10px!important;
    padding:3px 7px;
    display:inline-block
}

.wiki-copy-btn:hover,.docs-copy:hover {
    color:var(--accent);
    border-color:var(--accent)
}

.docs-filter {
    border:1px solid var(--line);
    background:var(--panel);
    padding:16px 18px;
    border-radius:10px;
    margin-bottom:23px
}

.docs-filter>label {
    font-size:11px;
    font-weight:600;
    display:block;
    margin-bottom:7px
}

.docs-filter>div {
    display:flex;
    gap:8px
}

.docs-filter input {
    min-width:0;
    flex:1;
    background:var(--bg);
    border:1px solid var(--line);
    border-radius:6px;
    padding:10px 12px;
    color:var(--text);
    font-size:13px
}

.docs-filter p {
    font-size:11px;
    color:var(--muted);
    margin:8px 0 0
}

.docs-callout {
    border:1px solid var(--line);
    border-left:3px solid var(--accent);
    background:var(--accent-soft);
    border-radius:8px;
    padding:17px 20px;
    margin:20px 0;
    font-size:13px
}

.docs-callout strong {
    display:block;
    margin-bottom:5px;
    color:var(--text)
}

.docs-callout p:last-child {
    margin:0
}

.docs-steps {
    list-style:none;
    counter-reset:steps;
    padding:0;
    display:grid;
    gap:16px
}

.docs-steps>li {
    counter-increment:steps;
    border:1px solid var(--line);
    background:var(--panel);
    border-radius:10px;
    padding:21px 22px 21px 59px;
    position:relative
}

.docs-steps>li:before {
    content:counter(steps);
    position:absolute;
    left:20px;
    top:20px;
    width:25px;
    height:25px;
    background:var(--accent-soft);
    border:1px solid var(--line);
    border-radius:7px;
    color:var(--accent);
    text-align:center;
    font:600 12px/24px ui-monospace,monospace
}

.docs-steps p {
    color:var(--muted);
    font-size:13px
}

.docs-checklist {
    padding-left:20px;
    font-size:13px
}

.docs-checklist li::marker {
    color:var(--accent)
}

.docs-faq {
    border-bottom:1px solid var(--line);
    padding:18px 0
}

.docs-faq summary {
    cursor:pointer;
    font-weight:600;
    font-size:14px
}

.docs-faq>div {
    padding:13px 0 0;
    color:var(--muted);
    font-size:13px
}

.docs-faq pre {
    color:var(--text)
}

.docs-article-body>h2 {
    padding-top:10px
}

.docs-inline-links {
    display:flex;
    gap:12px;
    flex-wrap:wrap
}

.docs-inline-links a {
    font-size:12px
}

.docs-empty {
    padding:25px;
    color:var(--muted);
    border:1px dashed var(--line);
    border-radius:9px;
    margin-top:12px
}

.docs-search-dialog {
    color:var(--text);
    background:var(--panel);
    border:1px solid #444354;
    border-radius:16px;
    width:690px;
    max-width:calc(100vw - 28px);
    max-height:80vh;
    padding:0;
    box-shadow:0 30px 100px #0009;
    margin:12vh auto auto
}

.docs-search-dialog::backdrop {
    background:#060711bb;
    backdrop-filter:blur(5px)
}

.docs-search-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 20px 10px;
    font-size:12px
}

.docs-search-heading button {
    color:var(--muted);
    background:transparent;
    border:1px solid var(--line);
    border-radius:5px;
    font-size:11px
}

.docs-search-dialog>input {
    display:block;
    width:calc(100% - 40px);
    margin:8px 20px 12px;
    padding:13px;
    background:var(--bg);
    border:1px solid var(--line);
    border-radius:8px;
    color:var(--text);
    font-size:16px
}

.docs-search-options {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    justify-content:space-between;
    padding:0 20px 10px;
    color:var(--muted);
    font-size:10px
}

.docs-search-options input {
    accent-color:var(--accent)
}

.docs-search-status {
    font-size:11px;
    color:var(--muted);
    padding:9px 20px;
    border-bottom:1px solid var(--line);
    margin:0!important
}

.docs-search-results {
    max-height:45vh;
    overflow:auto;
    padding:8px
}

.docs-search-result {
    display:block;
    padding:12px;
    border-radius:7px;
    text-decoration:none;
    color:var(--text)!important
}

.docs-search-result:hover,.docs-search-result:focus {
    background:var(--panel-raised)
}

.docs-search-result small {
    display:block;
    font-size:9px;
    letter-spacing:.05em;
    color:var(--accent);
    margin-bottom:4px
}

.docs-search-result strong {
    display:block;
    font-size:13px
}

.docs-search-result p {
    font-size:11px;
    color:var(--muted);
    margin:4px 0 0;
    overflow-wrap:anywhere
}

.docs-toast {
    position:fixed;
    bottom:24px;
    left:50%;
    transform:translateX(-50%);
    z-index:100;
    padding:10px 20px;
    background:#292c3a;
    border:1px solid var(--line);
    border-radius:9px;
    box-shadow:0 12px 40px #0008;
    font-size:12px
}

.docs-skip {
    position:fixed;
    top:-80px;
    left:20px;
    padding:12px;
    background:var(--panel);
    z-index:100
}

.docs-skip:focus {
    top:10px
}

@media(min-width:1600px) {
    .docs-grid {
        grid-template-columns:256px minmax(0,1fr) 190px;
        gap:48px
    }

}

@media(max-width:1200px) {
    .docs-grid {
        grid-template-columns:225px minmax(0,1fr);
        gap:30px;
        padding:0 24px
    }

    .docs-outline {
        display:none
    }

    .docs-wordmark {
        min-width:220px
    }

    .docs-topbar {
        padding:0 24px
    }

    .hex-table td,.hex-table th {
        padding:12px
    }

    .docs-top-link {
        display:none
    }

}

@media(max-width:760px) {
    .docs-topbar {
        height:68px;
        padding:0 18px;
        gap:15px
    }

    .docs-wordmark {
        min-width:0;
        font-size:12px
    }

    .docs-wordmark small {
        font-size:8px
    }

    .docs-brandmark {
        width:29px;
        height:31px;
        font-size:19px
    }

    .docs-search-launch {
        width:auto;
        margin-left:auto;
        padding:8px 10px
    }

    .docs-search-launch span {
        font-size:0
    }

    .docs-search-launch span:after {
        content:"Search";
        font-size:12px
    }

    .docs-search-launch kbd {
        display:none
    }

    .docs-grid {
        display:block;
        padding:0 19px
    }

    .docs-sidebar {
        border:0;
        padding:0;
        position:relative;
        z-index:20
    }

    .docs-mobile-nav {
        position:static;
        max-height:none;
        overflow:visible;
        border-bottom:1px solid var(--line)
    }

    .docs-mobile-nav>summary {
        display:block;
        padding:14px 0;
        font-size:12px;
        color:var(--accent);
        cursor:pointer
    }

    .docs-mobile-nav>summary:after {
        content:" +";
        float:right
    }

    .docs-mobile-nav[open]>summary:after {
        content:" −"
    }

    .docs-sidebar-inner {
        padding:14px 0 25px
    }

    .docs-sidebar-note {
        display:none
    }

    .docs-switcher {
        grid-template-columns:1fr 1fr
    }

    .docs-main {
        padding-top:20px
    }

    .docs-breadcrumb {
        margin-bottom:25px;
        font-size:10px
    }

    .docs-page-header h1 {
        font-size:2.1rem
    }

    .docs-page-header>p {
        font-size:14px
    }

    .hex-grid,.hex-grid-three {
        grid-template-columns:1fr
    }

    .hex-stats {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

    .hex-hero-panel {
        padding:20px
    }

    .docs-page-header {
        padding-bottom:20px
    }

    .hex-table {
        min-width:650px
    }

    .docs-footer {
        flex-wrap:wrap
    }

    .docs-pagination a {
        padding:13px
    }

    .docs-page-actions {
        gap:14px
    }

    .docs-outline {
        display:none
    }

    .docs-search-dialog {
        margin-top:6vh
    }

    .docs-steps>li {
        padding:18px 18px 18px 54px
    }

}

@media(prefers-reduced-motion:reduce) {
    .plugin-docs * {
        scroll-behavior:auto!important;
        transition:none!important
    }

}

@media print {
    .plugin-docs {
        --text:#111;
        --muted:#444;
        --line:#ccc;
        --panel:#fff;
        --accent:#402975;
        --accent-soft:#f6f3ff;
        --bg:#fff;
        color-scheme:light;
        font-size:10pt
    }

    .docs-topbar,.docs-sidebar,.docs-outline,.docs-page-actions,.docs-pagination,.docs-footer,.docs-filter,.docs-heading-anchor,.wiki-copy-btn,.docs-copy,.docs-toast,.docs-search-dialog {
        display:none!important
    }

    .docs-grid {
        display:block;
        max-width:none;
        padding:0
    }

    .docs-main {
        padding:0
    }

    .hex-section,.hex-card,.hex-link-card,.hex-hero-panel {
        background:white;
        box-shadow:none;
        break-inside:avoid
    }

    .table-responsive {
        overflow:visible
    }

    .hex-table {
        font-size:8pt;
        min-width:0!important
    }

    .hex-table td,.hex-table th {
        padding:6px
    }

    .plugin-docs pre {
        white-space:pre-wrap;
        padding:12px
    }

    .plugin-docs code {
        color:#222;
        background:#f3f3f3;
        border-color:#ddd
    }

    .docs-breadcrumb {
        margin-bottom:15px
    }

    .docs-page-header h1 {
        font-size:24pt
    }

    .hex-grid,.hex-grid-three {
        display:block
    }

    .hex-card,.hex-link-card {
        margin-bottom:10px
    }

    .plugin-docs .wiki-filter-hidden {
        display:revert!important
    }

}

.docs-directory-main {
    max-width:1040px;
    margin:60px auto 0;
    padding:0 24px
}

.docs-directory .docs-page-header {
    padding:20px 0 40px
}

.docs-directory .docs-page-header h1 {
    font-size:clamp(2.5rem,5vw,4rem);
    max-width:800px;
    margin:20px 0
}

.docs-directory .docs-page-header p {
    max-width:650px;
    font-size:16px
}

.docs-product-card {
    padding:28px
}

.docs-product-card .hex-link-title {
    font-size:23px;
    margin-top:20px
}

.docs-product-tags {
    font-size:10px;
    color:var(--muted);
    margin-top:18px
}

.docs-directory .hex-grid {
    gap:20px
}

.docs-directory h2 {
    font-size:1rem;
    margin:28px 0 18px
}

.docs-directory .docs-topbar .docs-top-link {
    display:block
}

@media(max-width:760px) {
    .docs-directory-main {
        margin-top:25px;
        padding:0 19px
    }

    .docs-directory .docs-page-header h1 {
        font-size:2.5rem
    }

    .docs-directory .docs-top-link {
        font-size:10px
    }

}

/* Bootstrap 5 versions differ in whether table text uses a custom property. */
.plugin-docs .hex-table {
    color:var(--text);
    table-layout:fixed
}

.plugin-docs .hex-table td {
    color:var(--text);
    background:transparent;
    box-shadow:none
}

.plugin-docs .hex-table th {
    color:var(--muted);
    background:#14161d;
    box-shadow:none
}

.plugin-docs .hex-callout {
    border:1px solid var(--line);
    border-left:3px solid var(--accent);
    border-radius:8px;
    background:var(--accent-soft);
    padding:16px 18px;
    color:var(--text)
}

.docs-table-settings th:nth-child(1) { width: 30%; }
.docs-table-settings th:nth-child(2) { width: 12%; }
.docs-table-settings th:nth-child(3) { width: 16%; }
.docs-table-settings th:nth-child(4) { width: 42%; }
.docs-table-defaults th:nth-child(1) { width: 30%; }
.docs-table-defaults th:nth-child(2) { width: 10%; }
.docs-table-defaults th:nth-child(3) { width: 40%; }
.docs-table-defaults th:nth-child(4) { width: 20%; }

.docs-blue { --accent: #9cb9ff; --accent-soft: #202a43; }
