body.lch-docs-page #main { background: #fff; }
.lch-docs { --lch-accent: #b84c22; --lch-ink: #202827; --lch-muted: #69716d; --lch-line: #e7e9e5; --lch-wash: #f7f8f5; color: var(--lch-ink); font-size: 15px; line-height: 1.75; }
.lch-docs *, .lch-docs *::before, .lch-docs *::after { box-sizing: border-box; }
.lch-docs a { color: inherit; text-decoration: none; }
.lch-docs a:hover { color: var(--lch-accent); }
.lch-docs a:focus-visible, .lch-docs summary:focus-visible, .lch-docs button:focus-visible { outline: 2px solid var(--lch-accent); outline-offset: 4px; }
.lch-docs h1, .lch-docs h2, .lch-docs h3 { color: var(--lch-ink); font-weight: 650; letter-spacing: -.025em; }
.lch-docs h1 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.2; margin: 0 0 24px; }
.lch-docs h2 { font-size: 24px; margin: 36px 0 14px; line-height: 1.35; }
.lch-docs h3 { font-size: 19px; margin: 28px 0 10px; line-height: 1.4; }
.lch-docs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 36px; border-top: 1px solid var(--lch-line); border-bottom: 1px solid var(--lch-line); background: #fafbf9; }
.lch-docs-brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.lch-docs-symbol { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #26382e; color: white; font-size: 15px; font-weight: 700; border-radius: 9px; }
.lch-docs-symbol span { color: #dba779; }
.lch-search { position: relative; display: flex; align-items: center; width: 390px; max-width: 100%; margin: 0; }
.lch-search svg { position: absolute; left: 13px; width: 18px; height: 18px; fill: none; stroke: #747d75; stroke-width: 1.8; pointer-events: none; }
.lch-docs .lch-search input { margin: 0; width: 100%; height: 42px; padding: 0 75px 0 40px; border: 1px solid #dce0d9; border-radius: 8px; background: #fff; box-shadow: none; font-size: 13px; color: var(--lch-ink); }
.lch-docs .lch-search input:focus { border-color: var(--lch-accent); outline: 2px solid #b84c2218; }
.lch-docs .lch-search button { position: absolute; right: 5px; top: 5px; min-height: 32px; height: 32px; margin: 0; padding: 0 10px; line-height: 32px; text-transform: none; letter-spacing: 0; font-size: 12px; border: 0; border-radius: 5px; background: #f0f2ed; color: #455044; font-weight: 500; }
.lch-docs-layout { max-width: 1530px; margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr) 190px; padding: 0 36px; gap: 42px; align-items: start; }
.lch-sidebar { position: sticky; top: var(--lch-header-offset, 110px); max-height: calc(100dvh - var(--lch-header-offset, 110px) - 20px); overflow-y: auto; padding: 32px 22px 32px 0; border-right: 1px solid var(--lch-line); scrollbar-width: thin; }
.lch-mobile-navigation > summary { display: none; }
.lch-nav-label { display: block; color: #858b82; font-size: 10px; letter-spacing: .13em; font-weight: 700; margin: 0 0 12px 12px; }
.lch-doc-link, .lch-category-link { display: block; padding: 8px 12px; font-size: 13px; line-height: 1.55; border-radius: 6px; margin: 2px 0; }
.lch-doc-link.is-current { background: #f8ede5; color: #a9431e; font-weight: 600; }
.lch-doc-link:hover, .lch-category-link:hover { background: var(--lch-wash); }
.lch-tree-group { margin: 5px 0; }
.lch-tree-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; border-radius: 6px; }
.lch-tree-group > summary::-webkit-details-marker { display: none; }
.lch-tree-group > summary::after { content: '›'; color: #8c938a; font-size: 19px; line-height: 1; }
.lch-tree-group[open] > summary::after { transform: rotate(90deg); }
.lch-tree-group > summary:hover { background: var(--lch-wash); }
.lch-tree-children { border-left: 1px solid var(--lch-line); margin-left: 16px; padding-left: 8px; }
.lch-category-link { color: var(--lch-muted) !important; font-size: 12px; }
.lch-sidebar-resources { margin-top: 30px; border-top: 1px solid var(--lch-line); padding-top: 24px; }
.lch-sidebar-resources a { display: flex; justify-content: space-between; padding: 7px 12px; font-size: 12px; color: var(--lch-muted); }
.lch-sidebar-resources a span { color: #959b91; }
.lch-doc-main { min-width: 0; padding: 29px 0 38px; }
.lch-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 11px; color: #838a80; margin: 0 0 35px; }
.lch-breadcrumb > span:last-child { color: #5e665c; }
.lch-eyebrow { color: var(--lch-accent); font-size: 10px; letter-spacing: .14em; font-weight: 700; margin-bottom: 14px; }
.lch-article-content { overflow-wrap: anywhere; }
.lch-article-content p { margin-bottom: 20px; }
.lch-home-intro > p:first-child, .lch-lead { color: var(--lch-muted); font-size: 16px; line-height: 1.8; margin-bottom: 26px; }
.lch-article-content a { color: var(--lch-accent); text-decoration: underline; text-underline-offset: 3px; }
.lch-docs h2[id], .lch-docs h3[id] { scroll-margin-top: calc(var(--lch-header-offset, 110px) + 24px); }
.lch-article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.lch-article-content figure { max-width: 100%; margin: 24px 0; }
.lch-article-content table { font-size: 13px; }
.lch-article-content .wp-block-table { overflow-x: auto; }
.lch-article-content pre { max-width: 100%; overflow-x: auto; background: #f4f5f1; padding: 18px; border: 1px solid var(--lch-line); border-radius: 8px; }
.lch-article-content blockquote, .lch-article-content .is-style-lch-note { margin: 24px 0; padding: 17px 20px; border-left: 3px solid #73927b; background: #f1f6f1; font-size: 14px; font-style: normal; color: #354d3b; border-radius: 0 6px 6px 0; }
.lch-article-content .is-style-lch-warning { margin: 24px 0; padding: 17px 20px; border-left: 3px solid #cc8a33; background: #fff7e8; color: #705023; border-radius: 0 6px 6px 0; }
.lch-doc-meta { margin: -8px 0 30px; font-size: 12px; color: #868b82; }
.lch-doc-meta a { color: var(--lch-accent); }
.lch-products { border-top: 1px solid var(--lch-line); margin-top: 32px; padding-top: 3px; }
.lch-products > p { color: var(--lch-muted); font-size: 13px; }
.lch-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.lch-docs .lch-category-card { display: flex; flex-direction: column; position: relative; padding: 22px; border: 1px solid var(--lch-line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lch-docs .lch-category-card:hover { border-color: #c9a38d; box-shadow: 0 3px 12px #30211108; }
.lch-card-mark { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: #f4f3ee; color: #68755e; border-radius: 7px; margin-bottom: 16px; font-size: 18px; }
.lch-docs .lch-category-card h3 { margin: 0 0 8px; font-size: 17px; }
.lch-category-card p { color: var(--lch-muted); font-size: 12px; line-height: 1.75; margin: 0 0 20px; }
.lch-card-footer { display: flex; justify-content: space-between; color: var(--lch-accent); font-size: 11px; margin-top: auto; gap: 8px; }
.lch-article-list { display: grid; gap: 12px; margin: 18px 0; }
.lch-article-card { display: block; border: 1px solid var(--lch-line); border-radius: 8px; padding: 18px 20px; }
.lch-docs .lch-article-card h3 { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 16px; }
.lch-article-card h3 span { color: var(--lch-accent); margin-left: 12px; }
.lch-article-card p { color: var(--lch-muted); font-size: 13px; margin: 0; }
.lch-help { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--lch-wash); border: 1px solid var(--lch-line); border-radius: 8px; padding: 22px; margin: 32px 0; }
.lch-help strong { font-size: 14px; }
.lch-help p { font-size: 12px; color: var(--lch-muted); margin: 5px 0 0; }
.lch-help > a { color: var(--lch-accent); font-size: 12px; font-weight: 600; flex-shrink: 0; }
.lch-docs-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--lch-line); color: #858b82; font-size: 11px; margin-top: 36px; padding-top: 18px; }
.lch-toc { position: sticky; top: var(--lch-header-offset, 110px); margin: 35px 0; padding-left: 18px; border-left: 1px solid var(--lch-line); max-height: calc(100dvh - var(--lch-header-offset, 110px) - 25px); overflow-y: auto; }
.lch-toc summary { list-style: none; font-size: 11px; font-weight: 600; margin-bottom: 12px; color: #616c60; }
.lch-toc summary::-webkit-details-marker { display: none; }
.lch-toc a { display: block; padding: 5px 0; font-size: 11px; line-height: 1.6; color: #858b82; }
.lch-toc a.is-active { color: var(--lch-accent); }
.lch-toc a.lch-toc-nested { padding-left: 12px; }
.lch-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.lch-neighbors a { padding: 16px; border: 1px solid var(--lch-line); border-radius: 8px; }
.lch-neighbors a:last-child { text-align: right; }
.lch-neighbors span { display: block; font-size: 11px; color: var(--lch-muted); }
.lch-neighbors strong { font-size: 13px; }
.lch-empty { border: 1px dashed #d8ded2; border-radius: 8px; padding: 24px; background: #fbfcfa; }
.lch-empty strong { font-size: 14px; }
.lch-empty p { margin: 7px 0 0; font-size: 13px; color: var(--lch-muted); }
.lch-pagination ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 20px 0; }
.lch-pagination li { margin: 0; }
.lch-pagination .current { color: var(--lch-accent); font-weight: 700; }
@media (min-width: 1550px) { .lch-docs-layout { gap: 52px; grid-template-columns: 260px minmax(0, 1fr) 200px; } }
@media (max-width: 1150px) { .lch-docs-layout { grid-template-columns: 215px minmax(0, 1fr) 150px; gap: 26px; padding: 0 24px; } .lch-docs-toolbar { padding: 18px 24px; } .lch-category-card { padding: 18px !important; } .lch-help { flex-direction: column; align-items: flex-start; gap: 12px; } }
@media (max-width: 850px) {
    .lch-docs-layout { display: flex; flex-direction: column; gap: 0; padding: 0 22px; }
    .lch-docs-toolbar { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 22px; }
    .lch-docs-brand { font-size: 16px; }
    .lch-search { width: 100%; }
    .lch-sidebar { position: static; width: 100%; max-height: none; border-right: 0; border-bottom: 1px solid var(--lch-line); padding: 0; order: 0; }
    .lch-mobile-navigation > summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
    .lch-mobile-navigation > summary::after { content: '+'; font-size: 18px; color: var(--lch-muted); }
    .lch-mobile-navigation[open] > summary::after { content: '−'; }
    .lch-mobile-navigation nav { padding-bottom: 18px; }
    .lch-toc { order: 1; position: static; width: 100%; border-left: 0; border-bottom: 1px solid var(--lch-line); padding: 0; margin: 0; max-height: none; }
    .lch-toc summary { padding: 12px 0; margin: 0; cursor: pointer; }
    .lch-toc nav { padding-bottom: 14px; }
    .lch-doc-main { order: 2; width: 100%; padding-top: 22px; }
    .lch-breadcrumb { margin-bottom: 28px; }
    .lch-docs h1 { font-size: 34px; }
    .lch-docs h2 { font-size: 23px; }
    .lch-docs-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) { .lch-category-grid { grid-template-columns: 1fr; } .lch-neighbors { grid-template-columns: 1fr; } .lch-neighbors > span:empty { display: none; } .lch-docs h1 { font-size: 30px; } }
