/* 插件目录、使用文档与详情页。 */
.plugin-meta { margin-top: 30px; color: #6c9bb8; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.project-structure { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.page-intro { padding-top: 92px; padding-bottom: 56px; }
.page-intro h1 { max-width: 720px; margin-bottom: 20px; }
.page-intro > p:last-child { max-width: 550px; color: var(--muted); }
.plugin-section { padding-top: 20px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.search-box { width: min(460px, 100%); }
.search-icon { position: relative; display: block; flex: 0 0 18px; width: 18px; height: 18px; }
.search-icon::before { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border: 2px solid var(--orange); border-radius: 50%; content: ""; }
.search-icon::after { position: absolute; top: 12px; left: 12px; width: 6px; height: 2px; background: var(--orange); transform: rotate(45deg); transform-origin: left center; content: ""; }
.result-count { color: var(--muted); font-size: 12px; }
.result-count strong { color: var(--ink); font-size: 16px; }
.directory-filters { display: flex; align-items: center; gap: 20px; margin: 4px 0 16px; }
.source-filter, .kind-filter, .featured-filter { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.source-filter select, .kind-filter select { min-height: 34px; padding: 5px 28px 5px 9px; color: #657487; background-color: var(--white); border: 1px solid var(--line); border-radius: 3px; font: inherit; font-size: var(--ui-field-font-size, 12px); }
.featured-filter { cursor: pointer; }
.featured-filter input { position: relative; display: grid; flex: 0 0 15px; place-items: center; width: 15px; height: 15px; margin: 0; appearance: none; background: var(--white); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.featured-filter input:checked { background: #6c9bb8; border-color: #6c9bb8; }
.featured-filter input:checked::after { width: 4px; height: 7px; margin-top: -2px; border: solid var(--white); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); content: ""; }
.category-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.category-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 9px; color: #657487; background: transparent; border: 1px solid var(--line); border-radius: 3px; font: inherit; font-size: 12px; cursor: pointer; }
.category-filter span { color: #8492a3; font-size: 11px; }
.category-filter:hover { color: var(--ink); background: #fff; }
.category-filter.active { color: #365d76; background: #e8f3f8; border-color: #b9d8e8; }
.category-filter.active span { color: #527f9b; }
.category-filter:focus-visible, .source-filter select:focus-visible, .kind-filter select:focus-visible, .featured-filter input:focus-visible { outline: 2px solid #6c9bb8; outline-offset: 2px; }
.plugin-list { border-top: 1px solid var(--line); }
.plugin-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(250px, 290px); gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.plugin-row:hover { background: rgba(255, 255, 255, .48); }
.plugin-row[hidden] { display: none; }
.plugin-side { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.plugin-info { display: block; min-width: 0; color: inherit; }
.plugin-info:hover h2 { color: #39799a; }
.plugin-status { flex: 0 0 auto; padding: 3px 7px; color: #718091; background: #edf2f5; border-radius: 3px; font-size: 10px; white-space: nowrap; }
.plugin-status.is-synced { color: #527e67; background: #edf5ef; }
.plugin-status.is-missing { color: #a15f45; background: #fbefe9; }
.plugin-status.is-pending { color: #8d7446; background: #f8f3e7; }
.plugin-usage { padding-top: 0; }
.usage-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.usage-heading h2 { font-size: 30px; }
.usage-source { padding: 3px 8px; color: #65788a; background: #edf3f7; font-size: 11px; }
.plugin-usage li, .plugin-usage p { margin-top: 16px; overflow-wrap: anywhere; }
.detail-command { max-width: 100%; overflow-wrap: anywhere; }
.plugin-index { color: var(--orange); font-size: 12px; font-weight: 800; }
.plugin-meta { margin: 0 0 5px; }
.plugin-info h2 { margin-bottom: 4px; }
.plugin-info p { margin: 0; color: var(--muted); font-size: 13px; }
.featured-tag { display: inline-block; margin-left: 8px; padding: 3px 7px; color: #5d8caf; background: var(--lilac); border: 0; border-radius: 3px; font-size: 10px; letter-spacing: 0; vertical-align: 1px; }
.plugin-use { flex: 1 1 auto; min-width: 0; padding-left: 16px; border-left: 1px solid var(--line); }
.plugin-use span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.plugin-command { display: flex; align-items: center; gap: 8px; min-width: 0; }
.plugin-command code { min-width: 0; overflow-wrap: anywhere; }
.copy-command { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.copy-button { position: relative; display: inline-grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; padding: 0; color: #617487; background: transparent; border: 1px solid transparent; border-radius: 3px; cursor: pointer; }
.copy-button:hover, .copy-button:focus-visible { color: #365d76; background: #e8f3f8; border-color: #d5e5ed; }
.copy-button:focus-visible { outline: 2px solid #6c9bb8; outline-offset: 2px; }
.copy-button.is-copied { color: #527e67; background: #edf5ef; border-color: #cfe3d5; }
.copy-icon { position: relative; display: block; width: 10px; height: 10px; opacity: .44; transition: opacity .15s ease; }
.plugin-use .copy-icon { transform: translate(-1px, 2px); }
.copy-icon::before, .copy-icon::after { position: absolute; width: 6px; height: 8px; border: 1.2px solid currentColor; border-radius: 1px; content: ""; }
.copy-icon::before { top: 0; left: 3px; background: var(--paper); }
.copy-icon::after { top: 2px; left: 0; }
.copy-button:hover .copy-icon, .copy-button:focus-visible .copy-icon, .copy-button.is-copied .copy-icon { opacity: 1; }
.empty-state { padding: 42px 0; color: var(--muted); text-align: center; }
.back-link { display: inline-block; margin-bottom: 42px; color: var(--muted); font-size: 13px; transition: transform .2s ease, color .2s ease, text-shadow .2s ease; }
.back-link:hover, .back-link:focus-visible { color: var(--ink); transform: translateY(-2px); text-shadow: 0 2px 3px rgba(53, 65, 84, .18); }
.plugin-detail-intro > p:last-of-type { max-width: 680px; color: var(--muted); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-tags span { padding: 4px 9px; color: #536477; background: #edf3f7; font-size: 11px; }
.detail-tags .detail-featured-tag { color: #8a633f; background: #fbefe4; }
.plugin-step-nav { display: flex; justify-content: space-between; gap: 16px; }
.plugin-step-link { display: flex; flex-direction: column; gap: 3px; max-width: 48%; color: var(--ink); transition: transform .2s ease, text-shadow .2s ease; }
.plugin-step-link span { color: var(--muted); font-size: 11px; }
.plugin-step-link strong { font-size: 13px; }
.plugin-step-link:hover, .plugin-step-link:focus-visible { transform: translateY(-2px); text-shadow: 0 2px 3px rgba(53, 65, 84, .18); }
.plugin-step-link:hover span, .plugin-step-link:focus-visible span { color: var(--ink); }
.plugin-step-link:hover strong { color: #39799a; }
.plugin-step-link:focus-visible strong { color: #39799a; }
.plugin-step-next { margin-left: auto; text-align: right; }
.plugin-step-nav-bottom { align-items: flex-start; border-top: 1px solid var(--line); }
.plugin-step-prev-group { display: flex; flex-direction: column; align-items: flex-start; max-width: 70%; }
.plugin-step-nav-bottom .plugin-step-link { flex: 0 1 auto; max-width: 100%; }
.plugin-step-nav-bottom .back-link { margin: 0; }
.plugin-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.detail-panel { min-height: 220px; padding: 25px; background: var(--white); border: 1px solid var(--line); }
.detail-panel h2 { margin: 28px 0 22px; font-size: 26px; }
.detail-panel > p:last-child { max-width: 420px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.detail-command-panel { background: #eef7fb; border-color: #d3e8f1; }
.detail-command-panel h2 { margin: 18px 0 22px; font-size: 24px; }
.help-entry-group { margin: 20px 0; }
.help-entry-group h3 { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.plugin-use code { display: block; overflow-wrap: anywhere; }
.detail-command-list { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-command { display: inline-block; padding: 4px 9px; color: #3f677f; background: var(--white); border: 1px solid #d5e5ed; border-radius: 3px; font-size: 13px; line-height: 1.5; }
.detail-facts { margin: 24px 0 0; }
.detail-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { margin: 0; color: var(--ink); }
.detail-facts .repository-link { display: inline-flex; align-items: center; gap: 6px; color: #4f83a5; font-weight: 700; text-decoration: underline; text-decoration-color: #b8d8e9; text-underline-offset: 3px; }
.detail-facts .repository-link:hover, .detail-facts .repository-link:focus-visible { color: var(--orange); text-decoration-color: var(--orange); }
.detail-facts .repository-link:focus-visible { outline: 2px solid #b8d8e9; outline-offset: 4px; }
.picmenu-help-list { margin-top: 0; }
.picmenu-help-item { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.picmenu-help-item:first-child { padding-top: 0; border-top: 0; }
.picmenu-help-item:last-child { padding-bottom: 0; }
.picmenu-help-item h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; }
.picmenu-help-item > p { max-width: 780px; margin: 12px 0 16px; color: #596779; font-size: 14px; }
.help-trigger { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: start; max-width: 820px; padding: 12px 14px; background: #eef5f8; }
.help-trigger > span { padding-top: 5px; color: var(--muted); font-size: 12px; }
.command-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.command-chips code { display: inline-block; max-width: 100%; padding: 4px 9px; overflow-wrap: anywhere; color: #3f677f; background: #fff; border: 1px solid #d5e5ed; border-radius: 3px; font-size: 13px; line-height: 1.5; }
.trigger-description { color: #596779; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.trigger-description code { padding: 2px 5px; color: #3f677f; background: #fff; font-size: .92em; }
.help-detail { max-width: 820px; color: #465568; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.help-collapse { max-width: 820px; margin-top: 14px; }
.help-collapse summary { width: fit-content; margin-bottom: 10px; color: #527f9b; font-size: 12px; cursor: pointer; }
.help-collapse:not([open]) summary { margin-bottom: 0; }
.help-collapse .help-detail { padding: 12px 14px; background: rgba(255, 255, 255, .68); border-left: 2px solid #b9d8e8; }
.help-detail > :first-child { margin-top: 0; }
.help-detail > :last-child { margin-bottom: 0; }
.help-detail h1, .help-detail h2, .help-detail h3, .help-detail h4 { max-width: none; margin: 17px 0 8px; line-height: 1.4; letter-spacing: 0; }
.help-detail h1 { font-size: 24px; }
.help-detail h2 { font-size: 21px; }
.help-detail h3 { font-size: 18px; }
.help-detail h4 { font-size: 16px; }
.help-detail p, .help-detail ul, .help-detail ol, .help-detail blockquote { margin: 10px 0 14px; }
.help-detail ul, .help-detail ol { padding-left: 24px; }
.help-detail li + li { margin-top: 5px; }
.help-detail blockquote { padding: 2px 14px; color: var(--muted); border-left: 3px solid var(--blue-strong); }
.help-detail code { padding: 2px 5px; color: #3f677f; background: #edf3f7; font-size: .92em; }
.help-detail pre { max-width: 100%; margin: 16px 0; padding: 16px; overflow-x: auto; color: #eaf2f6; background: #354154; white-space: pre; font: 13px/1.7 Consolas, "Microsoft YaHei", monospace; }
.help-detail pre code { padding: 0; color: inherit; background: transparent; }
.help-detail a { color: #39799a; text-decoration: underline; text-underline-offset: 3px; }
.help-detail hr { border: 0; border-top: 1px solid var(--line); }
.detail-facts code { color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.detail-help { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.detail-help h2 { font-size: clamp(30px, 4vw, 48px); }
.detail-help > div:last-child { max-width: 470px; color: var(--muted); font-size: 14px; }
.related-section { padding-top: 70px; }
.related-list { border-top: 1px solid var(--line); }
.related-list a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .18s ease; }
.related-list a:hover, .related-list a:focus-visible { background: rgba(255, 255, 255, .48); }
.related-list strong { transition: color .18s ease; }
.related-list a:hover strong, .related-list a:focus-visible strong { color: #39799a; }
.related-list span { color: var(--orange); font-family: Consolas, monospace; font-size: 12px; }
html:has(.directory-intro) { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) {
body:has(.directory-intro) { overflow-y: scroll; }
}
.directory-intro + .plugin-section { padding-top: 0; }
.directory-intro .directory-eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.directory-intro h1 { max-width: none; margin-bottom: 0; font-weight: 750; letter-spacing: 0; }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 20px; }
.doc-card { min-height: 275px; padding: 25px; background: var(--white); border: 1px solid var(--line); }
.doc-card-dark { color: var(--white); background: var(--dark); border-color: var(--dark); }
.doc-number { color: var(--orange); font-size: 12px; font-weight: 800; }
.doc-card h2 { margin: 58px 0 12px; font-size: 25px; }
.doc-card p { min-height: 65px; color: var(--muted); font-size: 13px; }
.doc-card-dark p { color: #d1dce6; }
.doc-card code { display: inline-block; padding: 8px 10px; color: #d9effb; background: #637f96; }
.doc-note { color: #789585; font-size: 12px; }
.guide-section { padding-top: 0; }
.guide-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr); gap: 40px; align-items: end; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.guide-heading h2, .docs-heading h2, .docs-safety h2, .maintainer-guide h2, .faq-section h2 { margin: 0; font-size: 24px; line-height: 1.35; letter-spacing: 0; }
.guide-heading > p { max-width: none; margin: 0; color: var(--muted); font-size: 13px; text-align: right; }
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.guide-steps article { min-height: 190px; padding: 20px 18px 16px; border-bottom: 1px solid var(--line); }
.guide-steps article + article { border-left: 1px solid var(--line); }
.guide-steps h3 { margin: 24px 0 8px; font-size: 16px; line-height: 1.45; }
.guide-steps p { min-height: 46px; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.guide-steps code { display: inline-block; padding: 6px 9px; color: #426b86; background: #f2f4f6; border: 1px solid var(--line); }
.docs-layout { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 44px; align-items: start; padding-top: 34px; padding-bottom: 64px; }
.docs-sidebar { position: sticky; top: 110px; min-width: 0; max-height: calc(100vh - 128px); }
.docs-sidebar-nav { max-height: inherit; overflow-y: auto; padding: 4px 16px 14px 0; border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #c6d4df transparent; }
.docs-sidebar-title { margin: 0 0 12px; color: var(--ink); font-size: 13px; font-weight: 750; }
.docs-sidebar-link { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; color: #596a7e; font-size: 12px; border-left: 2px solid transparent; }
.docs-sidebar-link:hover, .docs-sidebar-link:focus-visible { color: var(--ink); border-left-color: var(--orange); background: transparent; }
.docs-sidebar-group { margin: 12px 0; padding: 0; border-top: 1px solid var(--line); }
.docs-sidebar-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px; margin: 0; padding: 0 10px; color: var(--ink); cursor: pointer; font-size: 13px; line-height: 1.35; font-weight: 750; list-style: none; border-bottom: 1px solid var(--line); }
.docs-sidebar-label::-webkit-details-marker, .docs-sidebar-category-link::-webkit-details-marker { display: none; }
.docs-sidebar-label::after, .docs-sidebar-category-link::after { content: "›"; color: #a4afbb; font-size: 16px; line-height: 1; transform: rotate(0deg); transition: transform .18s ease, color .18s ease; }
.docs-sidebar-group[open] > .docs-sidebar-label::after, .docs-sidebar-category[open] > .docs-sidebar-category-link::after { color: var(--orange); transform: rotate(90deg); }
.docs-sidebar-group[open] > .docs-sidebar-label, .docs-sidebar-label:hover, .docs-sidebar-label:focus-visible { color: #39799a; }
.docs-sidebar-category-list { margin: 0; padding-top: 0; }
.docs-sidebar-category { border-top: 1px solid transparent; }
.docs-sidebar-category + .docs-sidebar-category { border-top-color: rgba(220, 229, 239, .72); }
.docs-sidebar-group[open] { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.docs-sidebar-category-link { display: grid; grid-template-columns: minmax(0, 1fr) 24px 16px; min-height: 34px; padding: 6px 10px 6px 14px; color: #65778a; cursor: pointer; font-size: 13px; line-height: 1.35; font-weight: 650; list-style: none; }
.docs-sidebar-category-link small { color: #8a97a7; font-size: 10px; }
.docs-sidebar-category-link small { text-align: center; }
.docs-sidebar-category-link::after { justify-self: end; }
.docs-sidebar-plugins { display: grid; gap: 2px; margin: 0 0 8px 15px; padding: 3px 0 5px 12px; border-left: 1px solid var(--line); }
.docs-sidebar-plugins a { display: block; padding: 5px 8px; color: #718095; font-size: 12px; line-height: 1.45; }
.docs-sidebar-plugins a:hover, .docs-sidebar-plugins a:focus-visible { color: #39799a; }
.docs-main { min-width: 0; }
.docs-main > .section { padding-top: 46px; padding-bottom: 52px; }
.docs-main > .guide-section { padding-top: 0; padding-bottom: 44px; }
.docs-main > .section { scroll-margin-top: 92px; }
.docs-main > .section-light { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.docs-plain-section { border-top: 1px solid var(--line); }
.docs-main > .section:first-child { border-top: 0; }
.docs-main .docs-reference-category { scroll-margin-top: 92px; }
.docs-main .docs-plugin-reference { scroll-margin-top: 92px; }
.docs-main .section-heading { gap: 18px; margin-bottom: 20px; }
.docs-main .docs-heading > p { max-width: none; }
.docs-heading { align-items: end; }
.docs-heading > p { max-width: none; margin: 0; color: var(--muted); font-size: 13px; text-align: right; }
.docs-command-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.docs-command { min-height: 82px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 4px 12px 0; border-bottom: 1px solid var(--line); }
.docs-command span { display: block; margin-bottom: 5px; color: #6c9bb8; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.docs-command strong { font-size: 16px; }
.docs-command code { color: var(--orange); font-size: 12px; }
.category-list { border-top: 1px solid var(--line); }
.category-row { display: grid; grid-template-columns: 170px 1fr 30px; gap: 20px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.category-row:hover strong, .category-row:focus-visible strong { color: #39799a; }
.category-row strong { font-size: 14px; }
.category-row span { color: var(--muted); font-size: 13px; }
.category-row b { color: var(--orange); font-size: 13px; text-align: right; }
.maintainer-guide { align-items: start; }
.maintainer-note { max-width: 360px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.maintainer-commands { border-top: 1px solid #cbdce9; }
.maintainer-commands div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid #cbdce9; }
.maintainer-commands span { color: var(--muted); font-size: 12px; }
.maintainer-commands code { overflow-wrap: anywhere; color: var(--ink); font-size: 12px; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 15px; font-weight: 700; }
.faq-list p { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.docs-reference { scroll-margin-top: 92px; }
.docs-reference-category { padding-top: 26px; scroll-margin-top: 82px; }
.docs-reference-category > h3 { margin-bottom: 2px; color: #536477; font-size: 16px; line-height: 1.45; letter-spacing: 0; font-weight: 700; }
.docs-plugin-reference { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.docs-plugin-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.docs-plugin-heading > div > span { color: #6c9bb8; font-size: 10px; font-weight: 700; }
.docs-plugin-heading h4 { margin: 3px 0; font-size: 15px; line-height: 1.45; font-weight: 700; }
.docs-plugin-heading h4 a:hover, .docs-plugin-heading h4 a:focus-visible { color: #39799a; }
.docs-plugin-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.docs-detail-link { flex: 0 0 auto; color: #5d82a0; font-size: 12px; }
.docs-detail-link span { margin-left: 4px; color: var(--orange); }
.docs-detail-link:hover, .docs-detail-link:focus-visible { color: var(--ink); }
.docs-function-list { margin-top: 8px; }
.docs-function { padding: 10px 0; border-top: 1px solid rgba(220, 229, 239, .72); }
.docs-function h5 { margin: 0 0 5px; color: #43566a; font-size: 13px; line-height: 1.5; font-weight: 700; }
.docs-trigger { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; margin: 8px 0; }
.docs-trigger > span { padding-top: 3px; color: var(--muted); font-size: 11px; }
.docs-trigger > div { display: flex; flex-wrap: wrap; gap: 6px; color: #465568; font-size: 13px; overflow-wrap: anywhere; }
.docs-trigger code { padding: 2px 6px; color: #3f677f; background: #f2f4f6; border: 1px solid var(--line); font-size: 12px; }
.docs-function > p { margin: 8px 0; color: #536477; font-size: 13px; }
.docs-function .docs-permission-note { padding: 8px 11px; color: #765f43; background: rgba(251, 239, 228, .62); border-left: 2px solid #e4bc91; }
.docs-permission-note strong { margin-right: 8px; }
.docs-function .help-detail { max-width: none; margin-top: 10px; padding-left: 14px; border-left: 2px solid #dceaf2; }
.docs-function .help-detail h2, .docs-function .help-detail h3, .docs-function .help-detail h4, .docs-function .help-detail h5 { color: #6b7888; font-weight: 650; letter-spacing: 0; }
.docs-function .help-detail h2 { margin: 12px 0 5px; font-size: 14px; line-height: 1.5; }
.docs-function .help-detail h3 { margin: 9px 0 4px; font-size: 13px; line-height: 1.5; }
.docs-function .help-detail h4, .docs-function .help-detail h5 { margin: 7px 0 3px; font-size: 12px; line-height: 1.5; }
.docs-function .help-detail pre { color: #465568; background: transparent; border: 0; border-left: 2px solid #b9d8e8; }
.docs-function .help-detail pre code { color: inherit; background: transparent; }
.docs-curated-usage { margin: 14px 0 0; padding-left: 22px; color: #536477; font-size: 13px; }
.docs-curated-usage li + li { margin-top: 7px; }
.docs-no-help, .docs-updated { color: var(--muted); font-size: 12px; }
.docs-no-help { margin: 12px 0 0; }
.docs-updated { margin: 16px 0 0; text-align: right; }
.docs-safety-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.docs-safety-list article { padding-top: 18px; }
.docs-safety-list h3 { margin-bottom: 8px; font-size: 15px; }
.docs-safety-list p { margin: 0; color: var(--muted); font-size: 13px; }
.docs-safety { border-top: 1px solid var(--line); }
.project-structure { align-items: start; }
.structure-list { border-top: 1px solid #cbdce9; }
.structure-list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #cbdce9; color: var(--muted); font-size: 13px; }
.structure-list code { color: var(--ink); font-size: 12px; }
@media (max-width: 820px) {
.directory-intro { padding-bottom: 44px; }
.docs-layout { display: block; padding-top: 0; }
.docs-sidebar { position: sticky; top: 84px; z-index: 9; max-height: none; margin: 0 -16px; padding: 0 16px; background: rgba(248, 251, 254, .97); border-bottom: 1px solid var(--line); }
.docs-sidebar-nav { position: static; display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; max-height: none; overflow: visible; padding: 8px 0 9px; border-right: 0; }
.docs-sidebar-title { display: none; }
.docs-sidebar-group { flex: 0 0 100%; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.docs-sidebar-label { display: flex; width: 100%; min-height: 40px; margin: 0; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.docs-sidebar-link { min-height: 42px; display: inline-flex; padding: 5px 0; white-space: nowrap; border-left: 0; border-bottom: 0; }
.docs-sidebar-link:hover, .docs-sidebar-link:focus-visible { border-left-color: transparent; border-bottom-color: var(--orange); }
.docs-sidebar-category-link { color: #65778a; background: transparent; }
.docs-sidebar-category-link small { display: none; }
.docs-sidebar-category-list { margin-top: 0; padding: 0 0 4px 8px; border-top: 0; }
.docs-sidebar-category { border-top: 0; }
.docs-sidebar-category[open] { border-top: 0; }
.docs-sidebar-category-link { display: grid; grid-template-columns: minmax(0, 1fr) 18px; width: 100%; }
.docs-sidebar-plugins { margin-bottom: 4px; }
.guide-heading > p, .docs-heading > p { text-align: left; }
.docs-main > .section, .docs-main .docs-reference-category, .docs-main .docs-plugin-reference { scroll-margin-top: 122px; }
.docs-main > .section { padding-top: 32px; padding-bottom: 38px; }
.docs-main > .guide-section { padding-top: 24px; padding-bottom: 32px; }
.docs-grid { grid-template-columns: 1fr; }
.guide-steps, .docs-command-grid { grid-template-columns: 1fr 1fr; }
.guide-steps article { min-height: 0; padding: 14px 0 16px; }
.guide-steps article + article { border-top: 0; border-left: 0; }
.guide-steps h3 { margin: 10px 0 6px; }
.guide-steps p { min-height: 0; margin-bottom: 12px; }
.docs-safety-list { grid-template-columns: 1fr; gap: 0; }
.docs-plugin-heading { flex-direction: column; gap: 8px; }
.docs-detail-link { align-self: flex-start; }
.docs-trigger { grid-template-columns: 1fr; gap: 3px; }
.faq-section { grid-template-columns: 1fr; gap: 35px; }
.section-heading, .toolbar { align-items: start; flex-direction: column; }
.project-structure { grid-template-columns: 1fr; gap: 35px; }
.plugin-row { grid-template-columns: 34px minmax(0, 1fr); gap: 10px 14px; }
.plugin-detail-grid, .detail-help { grid-template-columns: 1fr; gap: 14px; }
.plugin-step-nav-bottom { flex-wrap: wrap; row-gap: 14px; }
.plugin-step-prev-group { max-width: calc(100% - 90px); }
.plugin-step-nav-bottom .plugin-step-link { flex-basis: auto; }
.detail-panel { min-height: 0; }
.detail-facts { margin-top: 10px; }
.plugin-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plugin-use { grid-column: 2; padding-left: 0; border-left: 0; }
.directory-filters { align-items: flex-start; flex-wrap: wrap; gap: 12px 18px; }
.category-filters { flex-wrap: wrap; }
.category-filter { flex: 0 0 auto; }
}
@media (max-width: 460px) {
.guide-heading, .guide-steps, .docs-command-grid { grid-template-columns: 1fr; }
.guide-heading { gap: 12px; padding-bottom: 22px; }
.guide-steps article + article { border-left: 0; }
.docs-command-grid { gap: 0; }
.docs-command { min-height: 0; padding: 12px 0; }
.category-row { grid-template-columns: 1fr 26px; gap: 8px; }
.category-row span { grid-column: 1 / -1; grid-row: 2; }
.maintainer-commands div { grid-template-columns: 1fr; gap: 4px; }
.usage-heading { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.usage-heading h2 { font-size: 28px; }
.help-trigger { grid-template-columns: 1fr; gap: 4px; }
.help-trigger > span { padding-top: 0; }
.detail-facts div { grid-template-columns: 82px 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
.back-link, .plugin-step-link { transition: none; }
.back-link:hover, .back-link:focus-visible, .plugin-step-link:hover, .plugin-step-link:focus-visible { transform: none; }
}
@media (max-width: 700px) {
.directory-intro { padding-top: 24px; padding-bottom: 56px; }
.docs-sidebar { top: 92px; }
}
body:not(.page-home) .featured-filter input:checked::after { content: none; }
.detail-panel, .doc-card { border-radius: 8px; }
body:not(.page-home) .category-filter.active { color: var(--ui-accent-strong); background: var(--ui-soft); border-color: var(--ui-line); }
body:not(.page-home) .category-filter:hover { color: var(--ui-accent-strong); }
body:not(.page-home) .plugin-row:hover { background: #eef1fb66; }
body:not(.page-home) .plugin-index { color: #d98eaa; }
body:not(.page-home) .doc-card-dark { color: var(--ink); background: #eef1fb; border-color: var(--ui-line); }
body:not(.page-home) .doc-card-dark p { color: var(--muted); }
body:not(.page-home) .source-filter select, body:not(.page-home) .kind-filter select, body:not(.page-home) .category-filter { color: #687797; border-radius: 6px; }
body:not(.page-home) .category-filter.active span { color: #8d94b2; }
body:not(.page-home) .category-filter:focus-visible, body:not(.page-home) .source-filter select:focus-visible, body:not(.page-home) .kind-filter select:focus-visible, body:not(.page-home) .copy-button:focus-visible { outline-color: #aab9df; }
body:not(.page-home) .plugin-info:hover h2, body:not(.page-home) .plugin-step-link:hover strong, body:not(.page-home) .plugin-step-link:focus-visible strong, body:not(.page-home) .related-list a:hover strong { color: var(--ui-accent-strong); }
body:not(.page-home) .featured-tag, body:not(.page-home) .detail-tags .detail-featured-tag { color: #8c7daa; background: #eee9f8; border-radius: 4px; }
body:not(.page-home) .plugin-status.is-synced, body:not(.page-home) .copy-button.is-copied { color: #668b96; background: #edf5f8; border-color: #d5e6eb; }
body:not(.page-home) .copy-button { border-radius: 5px; transition: color .18s, background .18s, border-color .18s; }
body:not(.page-home) .copy-button:hover, body:not(.page-home) .copy-button:focus-visible { color: var(--ui-accent-strong); background: var(--ui-soft); border-color: var(--ui-line); }
body:not(.page-home) .detail-command-panel, body:not(.page-home) .help-trigger { background: #f0f2fc; border-color: var(--ui-line); }
body:not(.page-home) .detail-tags span { color: #7b859d; background: #eef1f9; border-radius: 4px; }
body:not(.page-home) .detail-command, body:not(.page-home) .command-chips code { color: #687ba4; border-color: var(--ui-line); border-radius: 4px; }
body:not(.page-home) .doc-card code { color: #64759d; background: #e3e9f8; border-radius: 5px; }
body:not(.page-home) .doc-note { color: #668b96; }
body:not(.page-home) .docs-command span { color: #8b91c9; }
body:not(.page-home) .docs-trigger code, body:not(.page-home) .guide-steps code, body:not(.page-home) .help-detail code { color: #687ba4; background: #eef1f9; border-radius: 4px; }
body:not(.page-home) .help-detail pre { color: #eef2ff; border: 0; border-radius: 7px; background: #3e465c; }
body:not(.page-home) .help-detail pre code { color: inherit; background: transparent; }
body:not(.page-home) .docs-sidebar-label:hover, body:not(.page-home) .docs-sidebar-label:focus-visible, body:not(.page-home) .docs-sidebar-group[open] > .docs-sidebar-label, body:not(.page-home) .docs-sidebar-plugins a:hover, body:not(.page-home) .docs-sidebar-plugins a:focus-visible { color: var(--ui-accent-strong); }
body:not(.page-home) .docs-sidebar-plugins a { border-radius: 4px; transition: color .18s, background .18s; }
body:not(.page-home) .docs-sidebar-plugins a:hover, body:not(.page-home) .docs-sidebar-plugins a:focus-visible { background: #eef1fb; }
body:not(.page-home) .help-collapse .help-detail, body:not(.page-home) .docs-function .help-detail { padding-left: 0; border-left: 0; }
body:not(.page-home) .docs-detail-link, body:not(.page-home) .detail-facts .repository-link, body:not(.page-home) .help-collapse summary, body:not(.page-home) .help-detail a { color: var(--ui-accent-strong); }
body:not(.page-home) .maintainer-commands, body:not(.page-home) .maintainer-commands div { border-color: var(--line); }
body:not(.page-home) .help-trigger { border-radius: 8px; }
body:not(.page-home) .docs-function .help-detail pre { color: #eef2ff; border: 0; }
body:not(.page-home) .docs-function .help-detail pre code { color: inherit; background: transparent; }
.docs-start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.docs-guide-card { min-width: 0; padding: 22px; border: 1px solid var(--ui-line); border-radius: 8px; background: white; }
.docs-guide-card h3 { margin: 16px 0 12px; font-size: 18px; }
.docs-guide-card ol, .docs-instructions { padding-left: 22px; }
.docs-guide-card li + li, .docs-instructions li + li, .docs-tutorial ul li + li { margin-top: 9px; }
.docs-guide-card p, .docs-guide-card li, .docs-tutorial p, .docs-tutorial li { font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.docs-guide-card p { margin: 14px 0; color: var(--muted); }
.docs-guide-card a:not(.inline-link) { color: var(--ui-accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.docs-tutorial h2, #docs-faq > h2, #maintainer-guide > h2 { margin-bottom: 18px; font-size: 24px; line-height: 1.4; letter-spacing: 0; }
.docs-tutorial h3 { margin: 28px 0 10px; font-size: 16px; letter-spacing: 0; }
.docs-tutorial ul { padding-left: 22px; }
.docs-tutorial a:not(.inline-link) { color: var(--ui-accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.docs-guide-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.docs-guide-note { padding: 12px 15px; border-radius: 8px; color: #687797; background: #eef1fb; font-size: 13px; line-height: 1.85; }
.docs-guide-faq { margin-top: 20px; }
.docs-guide-card code, .docs-tutorial code { color: #687ba4; font-size: .95em; overflow-wrap: anywhere; }
@media (max-width: 720px) {
.docs-start-grid { grid-template-columns: minmax(0, 1fr); }
.docs-guide-card { padding: 18px; }
}
.docs-nav-arrow { width: 14px; height: 14px; flex-basis: 14px; color: var(--orange); transition: transform .18s ease; }
.docs-sidebar-link:is(:hover, :focus-visible) .docs-nav-arrow, .inline-link:is(:hover, :focus-visible) .docs-nav-arrow { transform: translate(1px, -1px); }
.docs-back-link { justify-content: flex-start; gap: 8px; }
.docs-back-link:is(:hover, :focus-visible) .docs-nav-arrow-back { transform: translateX(-2px); }
@media (prefers-reduced-motion: reduce) {
.docs-nav-arrow { transition: none; }
.docs-back-link:is(:hover, :focus-visible) .docs-nav-arrow, .docs-sidebar-link:is(:hover, :focus-visible) .docs-nav-arrow, .inline-link:is(:hover, :focus-visible) .docs-nav-arrow { transform: none; }
}
body:not(.page-home) .plugin-help-section { background: var(--ui-about-background); }
.directory-intro { padding-top: 36px; padding-bottom: 28px; }
.directory-intro h1 { font-size: 30px; line-height: 1.3; }
.plugin-section { padding-bottom: 56px; }
.plugin-row { padding-top: 18px; padding-bottom: 18px; }
.plugin-info h2 { font-size: 20px; line-height: 1.4; letter-spacing: 0; }
.plugin-info p { line-height: 1.8; }
.plugin-detail-intro { padding-top: 36px; padding-bottom: 28px; }
.plugin-detail-intro .back-link { margin-bottom: 24px; }
.plugin-detail-intro .eyebrow { margin-bottom: 10px; letter-spacing: .08em; }
.plugin-detail-intro h1 { margin-bottom: 12px; font-size: clamp(28px, 3vw, 36px); line-height: 1.3; letter-spacing: 0; overflow-wrap: anywhere; }
.plugin-detail-intro > p:last-of-type { margin-bottom: 16px; font-size: 14px; line-height: 1.85; }
.plugin-detail-section { padding-top: 8px; padding-bottom: 32px; }
.plugin-detail-grid { gap: 20px; }
.plugin-detail-grid .detail-panel { min-height: 0; padding: 22px; }
.plugin-detail-grid .detail-panel > .eyebrow { margin-bottom: 12px; letter-spacing: .08em; }
.plugin-detail-grid .detail-panel h2 { margin: 16px 0; font-size: 22px; line-height: 1.4; letter-spacing: 0; }
.plugin-detail-grid .help-entry-group { margin: 16px 0; }
.plugin-detail-grid .detail-facts { margin-top: 12px; }
.plugin-detail-grid .detail-facts div { gap: 16px; padding-top: 10px; padding-bottom: 10px; line-height: 1.7; }
.plugin-step-nav { margin-top: 0; padding-bottom: 32px; }
.plugin-usage { padding-bottom: 40px; }
.plugin-usage .usage-heading { margin-bottom: 20px; padding-bottom: 12px; }
.plugin-usage .usage-heading h2 { font-size: 24px; line-height: 1.4; letter-spacing: 0; }
.plugin-usage > p, .plugin-usage > ol { font-size: 14px; line-height: 1.85; }
.plugin-usage .picmenu-help-item h3 { font-size: 18px; line-height: 1.5; }
.plugin-usage .help-detail :is(h1, h2) { font-size: 20px; }
.plugin-usage .help-detail h3 { font-size: 18px; }
.plugin-step-nav-bottom { margin-top: 0; padding: 18px 0 36px; }
.plugin-step-prev-group { gap: 14px; }
.plugin-help-section { padding-top: 40px; padding-bottom: 48px; }
.plugin-help-section .detail-help { gap: 48px; align-items: start; }
.plugin-help-section .eyebrow { margin-bottom: 6px; letter-spacing: .08em; }
.plugin-help-section h2 { font-size: 26px; line-height: 1.4; letter-spacing: 0; }
.plugin-help-section .detail-help > div:last-child { line-height: 1.85; }
.plugin-help-section + .related-section { padding-top: 48px; padding-bottom: 56px; }
.related-section .section-heading { margin-bottom: 20px; }
.related-section .section-heading h2 { font-size: 24px; line-height: 1.4; letter-spacing: 0; }
.related-section .eyebrow { margin-bottom: 8px; }
.related-section .related-list { font-size: 14px; line-height: 1.7; }
@media (max-width: 700px) {
.directory-intro, .plugin-detail-intro { padding-top: 24px; padding-bottom: 24px; }
.directory-intro h1 { font-size: 26px; }
.plugin-info h2 { font-size: 18px; }
.plugin-detail-intro .back-link { margin-bottom: 20px; }
.plugin-detail-grid { gap: 16px; }
.plugin-detail-grid .detail-panel { padding: 18px; }
.plugin-detail-grid .detail-panel h2 { font-size: 20px; }
.plugin-usage .usage-heading { flex-wrap: wrap; gap: 8px; }
.plugin-usage .usage-heading h2, .related-section .section-heading h2 { font-size: 22px; }
.plugin-help-section { padding-top: 28px; padding-bottom: 32px; }
.plugin-help-section .detail-help { gap: 20px; }
.plugin-help-section h2 { font-size: 24px; }
.plugin-help-section + .related-section { padding-top: 32px; padding-bottom: 40px; }
}
