/* Linggan Canvas Docs - scoped to documentation pages. */
body.lcd-docs-page {
    --lcd-bg: #0a0b0d;
    --lcd-panel: #111317;
    --lcd-panel-2: #17191e;
    --lcd-border: #2a2d33;
    --lcd-border-strong: #3a3e46;
    --lcd-text: #f0f2f5;
    --lcd-muted: #989da7;
    --lcd-faint: #6f747e;
    --lcd-yellow: #facc15;
    --lcd-yellow-soft: #29250f;
    --lcd-green: #55d293;
    --lcd-blue: #65a8ff;
    margin-top: 64px;
    background: var(--lcd-bg);
    color: var(--lcd-text);
}

body.lcd-docs-page .header {
    height: 64px;
    background: #0b0c0e !important;
    border-bottom: 1px solid var(--lcd-border);
    box-shadow: none !important;
}

body.lcd-docs-page .header .container {
    width: 100%;
    max-width: 1480px !important;
    height: 64px;
    padding: 0 28px;
}

body.lcd-docs-page .logo,
body.lcd-docs-page .logo a,
body.lcd-docs-page .nav-main {
    height: 64px;
}

body.lcd-docs-page .nav-main > li > a {
    height: 64px;
    padding-top: 21px;
    color: #c9cdd5 !important;
}

body.lcd-docs-page .lcd-docs-menu > a {
    color: var(--lcd-yellow) !important;
}

body.lcd-docs-page .footer {
    margin-top: 0;
    border-top: 1px solid var(--lcd-border);
    background: #0b0c0e;
}

.lcd-site,
.lcd-site * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.lcd-site {
    min-height: calc(100vh - 64px);
    background: var(--lcd-bg);
    color: var(--lcd-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.lcd-site a {
    text-decoration: none;
}

.lcd-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--lcd-border);
    background-color: #0d0f12;
    background-image: radial-gradient(circle at 76% 28%, rgba(250, 204, 21, .08), transparent 27%), radial-gradient(#2b2e34 1px, transparent 1px);
    background-size: auto, 18px 18px;
}

.lcd-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 15%, var(--lcd-yellow) 50%, transparent 85%);
    opacity: .55;
}

.lcd-hero-inner {
    width: min(920px, calc(100% - 48px));
    margin: 0 auto;
    padding: 78px 0 68px;
    text-align: center;
}

.lcd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #a4a9b2;
    font-size: 11px;
    font-weight: 800;
}

.lcd-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lcd-yellow);
    box-shadow: 0 0 14px rgba(250, 204, 21, .65);
}

.lcd-hero h1 {
    margin: 19px 0 12px;
    color: #fff;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    font-weight: 900;
}

.lcd-hero p {
    margin: 0;
    color: #a2a7b0;
    font-size: 16px;
    line-height: 1.7;
}

.lcd-search {
    position: relative;
    width: min(700px, 100%);
    height: 58px;
    margin: 32px auto 0;
    display: flex;
    align-items: center;
    border: 1px solid #3a3e46;
    border-radius: 7px;
    background: rgba(23, 25, 30, .94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.lcd-search:focus-within {
    border-color: #897619;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, .08), 0 18px 50px rgba(0, 0, 0, .25);
}

.lcd-search .dashicons {
    width: 22px;
    height: 22px;
    margin-left: 18px;
    color: #7f848e;
    font-size: 22px;
}

.lcd-search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f2f3f5;
    font: inherit;
    font-size: 15px;
}

.lcd-search input::placeholder {
    color: #70757e;
}

.lcd-search kbd {
    margin-right: 14px;
    padding: 5px 8px;
    border: 1px solid #3a3d43;
    border-bottom-color: #50545c;
    border-radius: 4px;
    background: #202328;
    color: #7f848d;
    font-size: 10px;
    font-family: inherit;
}

.lcd-hero-meta {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #6f747d;
    font-size: 11px;
}

.lcd-hero-meta span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    margin-right: 20px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    background: #4e535c;
}

.lcd-layout {
    width: min(1480px, 100%);
    margin: 0 auto;
    display: grid;
}

.lcd-layout-archive {
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
}

.lcd-layout-single {
    grid-template-columns: 248px minmax(0, 820px) 200px;
    justify-content: center;
    align-items: start;
}

.lcd-sidebar {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
    border-right: 1px solid var(--lcd-border);
    background: #0e1013;
    scrollbar-width: thin;
    scrollbar-color: #3b3f46 transparent;
}

.lcd-sidebar-head {
    height: 70px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--lcd-border);
}

.lcd-sidebar-home {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #f0f2f5;
    font-size: 14px;
    font-weight: 850;
}

.lcd-sidebar-home .dashicons {
    color: var(--lcd-yellow);
}

.lcd-sidebar-close {
    width: 34px;
    height: 34px;
    margin-left: auto;
    display: none;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #9ba0a9;
    cursor: pointer;
}

.lcd-chapter-nav {
    padding: 13px 10px 36px;
}

.lcd-nav-group {
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.lcd-nav-group-title {
    width: 100%;
    min-height: 46px;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: #c2c6cd;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.lcd-nav-group-title .dashicons {
    width: 15px;
    height: 15px;
    font-size: 15px;
    color: #656a73;
    transition: transform .18s ease;
}

.lcd-nav-group-title[aria-expanded="false"] .dashicons {
    transform: rotate(-90deg);
}

.lcd-nav-links {
    padding: 0 0 9px;
}

.lcd-nav-group-title[aria-expanded="false"] + .lcd-nav-links {
    display: none;
}

.lcd-nav-links a {
    min-height: 34px;
    padding: 7px 9px 7px 16px;
    display: block;
    border-left: 2px solid transparent;
    color: #858a94;
    font-size: 11px;
    line-height: 20px;
}

.lcd-nav-links a:hover {
    color: #e1e4e9;
    background: #15171b;
}

.lcd-nav-links a.active {
    border-left-color: var(--lcd-yellow);
    background: var(--lcd-yellow-soft);
    color: var(--lcd-yellow);
    font-weight: 750;
}

.lcd-sidebar-backdrop {
    display: none;
}

.lcd-main {
    min-width: 0;
    padding: 48px 42px 90px;
}

.lcd-section + .lcd-section {
    margin-top: 52px;
    padding-top: 46px;
    border-top: 1px solid var(--lcd-border);
}

.lcd-section-head {
    margin-bottom: 19px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.lcd-section-head > div > span {
    color: var(--lcd-yellow);
    font-size: 10px;
    font-weight: 900;
}

.lcd-section-head h2 {
    margin: 5px 0 0;
    color: #f1f3f6;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 900;
}

.lcd-section-head > a,
.lcd-section-head > strong {
    color: #7f848d;
    font-size: 11px;
    font-weight: 600;
}

.lcd-section-head > a:hover {
    color: var(--lcd-yellow);
}

.lcd-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lcd-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lcd-doc-card {
    min-height: 146px;
    padding: 20px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 14px;
    align-items: start;
    border: 1px solid var(--lcd-border);
    border-radius: 7px;
    background: var(--lcd-panel);
    color: var(--lcd-text);
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.lcd-doc-card:hover {
    border-color: #555a64;
    background: var(--lcd-panel-2);
    transform: translateY(-2px);
}

.lcd-card-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #4b4420;
    border-radius: 6px;
    background: var(--lcd-yellow-soft);
    color: var(--lcd-yellow);
    font-size: 19px;
}

.lcd-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.lcd-card-category {
    color: #747a84;
    font-size: 9px;
    font-weight: 800;
}

.lcd-card-copy strong {
    margin-top: 5px;
    color: #eef0f3;
    font-size: 14px;
    line-height: 1.45;
}

.lcd-card-excerpt {
    margin-top: 6px;
    color: #8e939d;
    font-size: 11px;
    line-height: 1.6;
}

.lcd-card-meta {
    margin-top: auto;
    padding-top: 9px;
    color: #656a74;
    font-size: 9px;
}

.lcd-card-arrow {
    margin-top: 11px;
    color: #5f646d;
    transition: color .16s ease, transform .16s ease;
}

.lcd-doc-card:hover .lcd-card-arrow {
    color: var(--lcd-yellow);
    transform: translateX(3px);
}

.lcd-empty {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #343840;
    color: #777c85;
    text-align: center;
}

.lcd-empty > .dashicons {
    width: 36px;
    height: 36px;
    color: #5e636c;
    font-size: 36px;
}

.lcd-empty h3 {
    margin: 17px 0 4px;
    color: #d5d8de;
    font-size: 16px;
}

.lcd-empty p {
    margin: 0;
    font-size: 12px;
}

.lcd-empty a {
    margin-top: 20px;
    color: var(--lcd-yellow);
    font-size: 12px;
}

.lcd-mobile-directory {
    height: 38px;
    margin-bottom: 24px;
    padding: 0 13px;
    display: none;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--lcd-border-strong);
    border-radius: 5px;
    background: var(--lcd-panel-2);
    color: #d8dbe0;
    font: inherit;
    font-size: 12px;
}

.lcd-single-site {
    border-top: 1px solid var(--lcd-border);
}

.lcd-article {
    min-width: 0;
    padding: 48px 54px 90px;
    border-right: 1px solid var(--lcd-border);
}

.lcd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    color: #666c76;
    font-size: 10px;
    white-space: nowrap;
}

.lcd-breadcrumb a {
    color: #8e939c;
}

.lcd-breadcrumb a:hover {
    color: var(--lcd-yellow);
}

.lcd-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.lcd-article-head {
    margin-top: 34px;
    padding-bottom: 29px;
    border-bottom: 1px solid var(--lcd-border);
}

.lcd-article-category {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid #4f461b;
    border-radius: 4px;
    background: var(--lcd-yellow-soft);
    color: var(--lcd-yellow);
    font-size: 9px;
    font-weight: 850;
}

.lcd-article-head h1 {
    margin: 16px 0 10px;
    color: #f7f8fa;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 900;
}

.lcd-article-head p {
    max-width: 690px;
    margin: 0;
    color: #979ca5;
    font-size: 14px;
    line-height: 1.7;
}

.lcd-article-meta {
    margin-top: 17px;
    display: flex;
    gap: 17px;
    color: #666b75;
    font-size: 10px;
}

.lcd-article-cover {
    margin: 28px 0 0;
}

.lcd-article-cover img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--lcd-border);
    border-radius: 7px;
}

.lcd-article-content {
    padding-top: 11px;
    color: #c4c8cf;
    font-size: 14px;
    line-height: 1.9;
}

.lcd-article-content h2,
.lcd-article-content h3,
.lcd-article-content h4 {
    scroll-margin-top: 92px;
    color: #f0f2f5;
    font-weight: 850;
}

.lcd-article-content h2 {
    margin: 42px 0 14px;
    padding-top: 5px;
    font-size: 23px;
}

.lcd-article-content h3 {
    margin: 30px 0 11px;
    font-size: 17px;
}

.lcd-article-content p,
.lcd-article-content ul,
.lcd-article-content ol {
    margin: 0 0 16px;
}

.lcd-article-content ul,
.lcd-article-content ol {
    padding-left: 23px;
}

.lcd-article-content li + li {
    margin-top: 7px;
}

.lcd-article-content strong {
    color: #eef0f4;
}

.lcd-article-content a {
    color: var(--lcd-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lcd-article-content blockquote {
    margin: 23px 0;
    padding: 16px 18px;
    border-left: 3px solid var(--lcd-yellow);
    background: #171813;
    color: #c7c9bf;
}

.lcd-article-content pre,
.lcd-article-content code {
    font-family: Consolas, Monaco, monospace;
}

.lcd-article-content code {
    padding: 2px 5px;
    border: 1px solid #333740;
    border-radius: 3px;
    background: #191c21;
    color: #e1c95c;
    font-size: .9em;
}

.lcd-article-content pre {
    overflow: auto;
    padding: 17px;
    border: 1px solid #30343b;
    background: #101216;
    color: #d8dbe0;
}

.lcd-article-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--lcd-border);
    border-radius: 6px;
}

.lcd-article-content table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    font-size: 12px;
}

.lcd-article-content th,
.lcd-article-content td {
    padding: 11px 12px;
    border: 1px solid #30343b;
    text-align: left;
}

.lcd-article-content th {
    background: #191c21;
    color: #e8eaee;
}

.lcd-article-helpful {
    margin-top: 52px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #34493f;
    background: #111a16;
}

.lcd-article-helpful div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lcd-article-helpful strong {
    color: #dbefe3;
    font-size: 13px;
}

.lcd-article-helpful span {
    color: #83988c;
    font-size: 10px;
}

.lcd-article-helpful a {
    height: 36px;
    margin-left: auto;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid #3a6f56;
    border-radius: 5px;
    color: var(--lcd-green);
    font-size: 11px;
    font-weight: 800;
}

.lcd-article-pagination {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lcd-article-pagination a {
    min-height: 82px;
    padding: 15px 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--lcd-border);
    background: var(--lcd-panel);
}

.lcd-article-pagination a:hover {
    border-color: #555a64;
    background: var(--lcd-panel-2);
}

.lcd-article-pagination a.next {
    text-align: right;
}

.lcd-article-pagination span {
    color: #6e737d;
    font-size: 9px;
}

.lcd-article-pagination strong {
    margin-top: 5px;
    color: #d9dce1;
    font-size: 11px;
    line-height: 1.5;
}

.lcd-on-this-page {
    position: sticky;
    top: 64px;
    min-height: calc(100vh - 64px);
    padding: 49px 22px;
}

.lcd-on-this-page > strong {
    color: #d5d8dd;
    font-size: 11px;
}

#lcd-page-toc {
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #30343b;
}

#lcd-page-toc a {
    padding: 6px 0 6px 12px;
    border-left: 1px solid transparent;
    color: #777c85;
    font-size: 10px;
    line-height: 1.45;
}

#lcd-page-toc a.level-3 {
    padding-left: 23px;
}

#lcd-page-toc a:hover,
#lcd-page-toc a.active {
    margin-left: -1px;
    border-left-color: var(--lcd-yellow);
    color: #d6d9de;
}

.lcd-back-top {
    margin-top: 20px;
    display: inline-block;
    color: #656a73;
    font-size: 10px;
}

.lcd-back-top:hover {
    color: var(--lcd-yellow);
}

@media (max-width: 1180px) {
    .lcd-layout-single {
        grid-template-columns: 230px minmax(0, 820px);
    }

    .lcd-on-this-page {
        display: none;
    }

    .lcd-article {
        border-right: 0;
    }
}

@media (max-width: 900px) {
    .lcd-layout-archive,
    .lcd-layout-single {
        display: block;
    }

    .lcd-sidebar {
        position: fixed;
        z-index: 1002;
        left: 0;
        top: 64px;
        width: min(310px, 88vw);
        height: calc(100vh - 64px);
        transform: translateX(-102%);
        transition: transform .2s ease;
        box-shadow: 22px 0 60px rgba(0, 0, 0, .45);
    }

    body.lcd-sidebar-open .lcd-sidebar {
        transform: translateX(0);
    }

    .lcd-sidebar-close {
        display: grid;
    }

    .lcd-sidebar-backdrop {
        position: fixed;
        z-index: 1001;
        inset: 64px 0 0;
        width: 100%;
        height: calc(100vh - 64px);
        border: 0;
        background: rgba(0, 0, 0, .62);
    }

    body.lcd-sidebar-open .lcd-sidebar-backdrop {
        display: block;
    }

    .lcd-mobile-directory {
        display: inline-flex;
    }

    .lcd-main,
    .lcd-article {
        padding-right: 26px;
        padding-left: 26px;
    }
}

@media (max-width: 640px) {
    body.lcd-docs-page {
        margin-top: 54px;
    }

    body.lcd-docs-page .header,
    body.lcd-docs-page .header .container,
    body.lcd-docs-page .logo,
    body.lcd-docs-page .logo a,
    body.lcd-docs-page .nav-main {
        height: 54px;
    }

    .lcd-hero-inner {
        width: min(100% - 30px, 920px);
        padding: 52px 0 46px;
    }

    .lcd-hero h1 {
        font-size: 34px;
    }

    .lcd-hero p {
        font-size: 13px;
    }

    .lcd-search {
        height: 52px;
        margin-top: 25px;
    }

    .lcd-search kbd {
        display: none;
    }

    .lcd-hero-meta {
        gap: 10px;
        flex-wrap: wrap;
    }

    .lcd-hero-meta span + span::before {
        margin-right: 10px;
    }

    .lcd-main,
    .lcd-article {
        padding: 28px 15px 64px;
    }

    .lcd-card-grid,
    .lcd-featured-grid {
        grid-template-columns: 1fr;
    }

    .lcd-doc-card {
        min-height: 134px;
        padding: 16px;
    }

    .lcd-section + .lcd-section {
        margin-top: 38px;
        padding-top: 34px;
    }

    .lcd-article-head {
        margin-top: 25px;
    }

    .lcd-article-head h1 {
        font-size: 28px;
    }

    .lcd-article-content {
        font-size: 13px;
    }

    .lcd-article-content h2 {
        font-size: 20px;
    }

    .lcd-article-helpful {
        align-items: flex-start;
        flex-direction: column;
    }

    .lcd-article-helpful a {
        margin-left: 0;
    }

    .lcd-article-pagination {
        grid-template-columns: 1fr;
    }

    .lcd-article-pagination a.next {
        text-align: left;
    }

    .lcd-sidebar {
        top: 54px;
        height: calc(100vh - 54px);
    }

    .lcd-sidebar-backdrop {
        inset: 54px 0 0;
        height: calc(100vh - 54px);
    }
}
