/* Plugin documentation shares the studio's ink, brass and paper. */
.docs-page .site-footer { border-top: 1px solid var(--line); }
.docs-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 36px; align-items: start; padding-block: 42px 70px; }
.docs-sidebar { position: sticky; top: 24px; max-height: calc(100svh - 48px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #61583f transparent; padding-right: 4px; }
.docs-library-label { font-size: 8px; letter-spacing: .16em; margin: 3px 0 23px; }
.docs-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; color: var(--pale); font-size: 25px; line-height: 1.3; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.docs-menu summary::-webkit-details-marker { display: none; }
.docs-menu summary::after { content: "+"; color: var(--brass); font: 17px var(--sans); }
.docs-menu[open] summary::after { content: "−"; }
.docs-menu summary:focus-visible, .docs-table-scroll:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
.docs-menu-label { display: none; }
.docs-chapters { display: grid; padding-block: 16px; border-bottom: 1px solid var(--line); }
.docs-chapters a { display: flex; gap: 12px; align-items: center; padding: 11px 10px; border-left: 2px solid transparent; font: 12px/1.5 var(--sans); }
.docs-chapters a > span { color: #a69a7f; font-size: 9px; }
.docs-chapters a:hover { color: var(--pale); background: #c0a5770a; }
.docs-chapters a[aria-current="page"] { border-left-color: var(--brass); color: #ebd6ad; background: #c0a57712; }
.docs-toc { display: grid; gap: 2px; padding-top: 22px; }
.docs-toc .eyebrow { font-size: 8px; margin-bottom: 10px; }
.docs-toc a { padding: 6px 12px; font: 11px/1.6 var(--sans); color: #b7b09e; border-left: 1px solid var(--line); }
.docs-toc a:hover { color: var(--pale); border-color: var(--brass); }
.docs-sidebar-links { display: grid; gap: 12px; margin-top: 25px; padding: 20px 12px 8px; border-top: 1px solid var(--line); font: 10px/1.5 var(--sans); color: var(--brass); }
.docs-sidebar-links a { display: flex; justify-content: space-between; gap: 15px; }

.docs-content { min-width: 0; padding: 42px 42px 28px; color: var(--ink); background: var(--paper) url("assets/paper.svg"); border: 1px solid #b7a47c; box-shadow: 0 10px 35px #0002; color-scheme: light; }
.docs-content article { min-width: 0; }
.docs-title { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #aa99734d; }
.docs-content .eyebrow { color: #6d5734; font-size: 9px; }
.docs-title h1 { margin: 18px 0 0; font: 400 clamp(34px, 3.8vw, 49px)/1.2 var(--serif); letter-spacing: -.045em; color: #29372d; overflow-wrap: break-word; }
.docs-content h2 { color: #29372d; font-size: 28px; line-height: 1.35; letter-spacing: -.03em; margin-top: 45px; margin-bottom: 18px; scroll-margin-top: 26px; }
.docs-content p { font-size: 14px; line-height: 1.9; margin-block: 16px; overflow-wrap: anywhere; }
.docs-content p:first-child { margin-top: 0; }
.docs-content p:last-child { margin-bottom: 0; }
.docs-content a:not(.button):not(.docs-action-link) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #78613b99; }
.docs-content a:not(.button):hover { color: #71532a; text-decoration-color: currentColor; }
.docs-content button:focus-visible, .docs-content a:focus-visible { outline-color: #71532a; }
.docs-content .docs-lead { font-size: 17px; line-height: 1.8; color: #3e4435; }
.docs-content ul, .docs-content ol { margin-block: 20px; padding-left: 24px; font-size: 14px; line-height: 1.9; }
.docs-content li { padding-left: 4px; margin-block: 9px; overflow-wrap: anywhere; }
.docs-content li::marker { color: #77603b; font-weight: 700; }
.docs-content code { font: .9em/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; background: #78613b12; padding: 2px 4px; overflow-wrap: anywhere; }
.docs-content pre { max-width: 100%; overflow-x: auto; padding: 18px 20px; margin-block: 24px; background: #20291f; color: #e4d8bd; border-left: 2px solid #998354; }
.docs-content pre code { padding: 0; background: none; font-size: 12px; line-height: 1.8; }
.docs-content .docs-note { padding: 17px 20px; border-left: 2px solid #95794d; background: #8b784014; font-size: 13px; }
.docs-table-scroll { overflow-x: auto; margin-block: 24px; border: 1px solid #9b8d6966; scrollbar-width: thin; scrollbar-color: #96825a #bfb496; }
.docs-table-scroll table { width: 100%; min-width: 590px; border-collapse: collapse; font: 12px/1.65 var(--sans); text-align: left; }
.docs-table-scroll th, .docs-table-scroll td { padding: 13px 14px; vertical-align: top; border-bottom: 1px solid #9b8d693d; overflow-wrap: anywhere; }
.docs-table-scroll thead th { background: #7664401a; font-size: 10px; letter-spacing: .04em; }
.docs-table-scroll thead th:nth-child(2):not(:last-child) { width: 23%; }
.docs-table-scroll tbody th { width: 27%; font-weight: 500; }
.docs-table-scroll td:nth-child(2) { max-width: 190px; }
.docs-table-scroll tr:last-child > * { border-bottom: 0; }
.docs-table-scroll tbody tr:nth-child(even) { background: #fff9e90f; }
.docs-table-scroll .setting-name { display: block; background: none; padding: 2px 0 0; font-size: 10px; color: #655840; }
.docs-figure { margin-block: 28px; }
.docs-figure > a { display: block; border: 1px solid #96815a; padding: 5px; background: #20291f; }
.docs-figure img { width: 100%; height: auto; }
.docs-figure figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; color: #655840; font: 10px/1.7 var(--sans); }
.docs-figure figcaption > span { white-space: nowrap; font-size: 9px; }
.docs-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-block: 26px; }
.docs-actions .button { gap: 24px; }
.docs-action-link { font: 12px/1.6 var(--sans); border-bottom: 1px solid #9b7d4b; padding-block: 10px; }
.product-overview .docs-title { border: 0; padding-bottom: 0; margin-bottom: 20px; }
.product-overview h1 { font-size: clamp(52px, 5.8vw, 74px); }
.docs-content .product-subtitle { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.35; letter-spacing: -.025em; margin-block: 0 23px; }
.docs-content .product-facts { display: flex; flex-wrap: wrap; gap: 12px 23px; list-style: none; padding: 17px 0; margin-block: 26px; border-block: 1px solid #9b8d6966; font: 9px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #655433; }
.docs-content .product-facts li { margin: 0; padding: 0; font: inherit; }
.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-block: 25px; }
.product-features > div { padding-top: 20px; border-top: 1px solid #9b8d6966; }
.product-features dt { font-size: 17px; line-height: 1.5; color: #29372d; }
.product-features dd { margin: 10px 0 0; font-size: 13px; line-height: 1.9; }
.product-requirements { margin-block: 23px; }
.product-requirements > div { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid #9b8d6966; }
.product-requirements dt { font: 12px/1.8 var(--sans); color: #685535; }
.product-requirements dd { margin: 0; font-size: 13px; line-height: 1.9; }
.docs-related { padding-block: 24px; margin-top: 30px; border-block: 1px solid #9b8d6966; }
.docs-content .docs-related a { display: grid; gap: 10px; text-decoration: none; }
.docs-related strong { font-weight: 400; font-size: 23px; color: #29372d; }
.docs-related a > span:last-child { font-size: 12px; }
.demo-download { margin-block: 32px; padding: 27px; border: 1px solid #96815a; background: #7664400a; }
.demo-download h2 { margin-top: 12px; }
.demo-download .button { margin-top: 10px; gap: 22px; max-width: 100%; }
.demo-download .button:disabled { cursor: not-allowed; background: #b5a480; color: #4c493b; border-color: #aa946a; box-shadow: inset 0 0 0 3px #bcad8d; }
.docs-content .download-status { margin-top: 12px; font: 10px/1.7 var(--sans); color: #665b45; }
.docs-support { padding: 26px 0 0; margin-top: 48px; border-top: 1px solid #9b8d6966; }
.docs-support h2 { font-size: 25px; margin-top: 10px; margin-bottom: 12px; }
.docs-support p { font-size: 12px; }
.docs-content .docs-support [data-email] { font: 14px/1.8 var(--sans); }
.docs-pagination { display: flex; justify-content: space-between; gap: 25px; margin-top: 35px; padding-top: 23px; border-top: 1px solid #9b8d6966; }
.docs-content .docs-pagination a { font-size: 14px; text-decoration: none; }
.docs-pagination span { display: block; font: 9px/1.8 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #685535; margin-bottom: 5px; }
.docs-pagination .docs-next { text-align: right; margin-left: auto; }

@media (max-width: 1100px) {
  .docs-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 25px; }
  .docs-content { padding: 32px 28px 26px; }
  .product-features { gap: 22px; }
  .product-requirements > div { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 25px; }
  .docs-sidebar { position: static; max-height: none; overflow: visible; padding: 0; }
  .docs-library-label { margin-bottom: 13px; }
  .docs-menu summary { justify-content: flex-start; font-size: 24px; padding-bottom: 16px; }
  .docs-menu-label { display: inline; margin-left: auto; font: 9px var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--brass); }
  .docs-menu summary::after { margin-left: 8px; }
  .docs-toc { grid-template-columns: 1fr 1fr; gap: 6px 20px; }
  .docs-toc .eyebrow { grid-column: 1 / -1; }
  .docs-sidebar-links { padding-bottom: 20px; }
  .docs-content { padding: 32px; }
}
@media (max-width: 520px) {
  .docs-page .brand-name { width: 117px; }
  .docs-page .legal-back { font-size: 7px; gap: 7px; }
  .docs-page .legal-back span { font-size: 15px; }
  .docs-page .header-inner { gap: 15px; }
  .docs-layout { padding-block: 23px 40px; gap: 20px; }
  .docs-content { padding: 26px 20px 22px; }
  .docs-title { margin-bottom: 22px; padding-bottom: 22px; }
  .docs-title h1 { font-size: 33px; margin-top: 14px; }
  .product-overview h1 { font-size: 50px; }
  .docs-content .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .docs-content .product-subtitle { font-size: 25px; }
  .docs-content .product-subtitle br { display: none; }
  .docs-content .docs-lead { font-size: 15px; }
  .docs-content p, .docs-content li { font-size: 13px; }
  .docs-content h2 { font-size: 26px; margin-top: 35px; }
  .docs-actions { display: grid; justify-items: start; gap: 9px; margin-block: 22px; }
  .docs-content .product-facts { gap: 10px 18px; font-size: 8px; }
  .product-features { grid-template-columns: 1fr; gap: 24px; }
  .product-requirements > div { grid-template-columns: 1fr; gap: 7px; }
  .docs-figure figcaption { display: block; font-size: 9px; }
  .docs-figure figcaption > span { display: block; margin-top: 5px; }
  .demo-download { padding: 20px 16px; }
  .demo-download h2 { margin-top: 12px; }
  .demo-download .button { font-size: 8px; padding-inline: 15px; gap: 12px; }
  .docs-pagination { gap: 20px; }
  .docs-content .docs-pagination a { font-size: 12px; }
  .docs-content .docs-note { padding: 15px; }
  .docs-toc { grid-template-columns: 1fr; }
}
