.manual-workspace { background: #fff; }
.manual-workspace-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #dde2e7; }
.manual-workspace-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1600px; min-height: 64px; margin-inline: auto; padding: 12px 32px; }
.manual-workspace-main { width: 100%; max-width: 1600px; margin-inline: auto; padding: 32px; }
.manual-workspace-main:focus { outline: none; }
.manual-skip-link { position: fixed; top: 8px; left: 16px; z-index: 60; transform: translateY(-200%); background: #fff; color: #07613e; padding: 10px 16px; border: 2px solid #16865a; border-radius: 4px; }
.manual-skip-link:focus { transform: translateY(0); }
.dark .manual-workspace, .dark .manual-workspace-header { background: #18181b; }
.dark .manual-workspace-header { border-color: #52525b; }
.manual-reader { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; color: #202329; }
.manual-reader *, .manual-content * { box-sizing: border-box; letter-spacing: 0; }
.manual-navigation { display: flex; flex-direction: column; align-self: start; position: sticky; top: 88px; max-height: var(--manual-scroll-height, calc(100dvh - 110px)); overflow: hidden; padding-right: 16px; border-right: 1px solid #dde2e7; }
.manual-topic-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior-y: auto; scrollbar-gutter: stable; }
.manual-topic-list:focus-visible, .manual-toc:focus-visible { outline: 2px solid #16865a; outline-offset: -2px; }
.manual-search-label { display: block; flex-shrink: 0; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.manual-search-box { display: flex; flex-shrink: 0; align-items: center; gap: 8px; border: 1px solid #cfd6dd; border-radius: 6px; background: #fff; padding: 0 10px; }
.manual-search-box input { min-width: 0; width: 100%; border: 0; padding: 10px 0; background: transparent; font-size: 14px; }
.manual-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.manual-navigation h2 { margin: 24px 0 8px; font-size: 12px; color: #606975; font-weight: 600; }
.manual-topic { display: block; padding: 9px 10px; font-size: 14px; border-radius: 4px; overflow-wrap: anywhere; }
.manual-topic:hover { background: #edf1f4; }
.manual-topic.is-active { background: #e1f4eb; color: #07613e; font-weight: 600; }
.manual-article { min-width: 0; max-width: 960px; }
.manual-article-layout { min-width: 0; }
.manual-article-body { min-width: 0; }
.manual-article-header { padding-bottom: 24px; border-bottom: 1px solid #dde2e7; margin-bottom: 24px; }
.manual-section-name, .manual-index-item > span { font-size: 12px; color: #606975; }
.manual-article-header h1, .manual-index-title { font-size: 26px; line-height: 1.25; margin: 8px 0 12px; font-weight: 700; overflow-wrap: anywhere; }
.manual-article-header p { color: #535d68; font-size: 15px; line-height: 1.6; }
.manual-article-header small { display: block; margin-top: 12px; color: #68737f; font-size: 12px; }
.manual-toc { margin: 0 0 32px; padding: 0 0 20px; border-bottom: 1px solid #dde2e7; }
.manual-toc h2 { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.manual-toc a { display: block; padding: 4px 0; color: #126b4b; font-size: 14px; }
.manual-content { line-height: 1.7; font-size: 15px; overflow-wrap: anywhere; }
.manual-step { margin: 32px 0; scroll-margin-top: 100px; }
.manual-step h2 { font-weight: 600; font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
.manual-prose p { margin: 12px 0; }
.manual-prose ul, .manual-prose ol { margin: 12px 0; padding-left: 24px; }
.manual-prose ul { list-style-type: disc; }
.manual-prose ol { list-style-type: decimal; }
.manual-prose a, .manual-related-link { color: #126b4b; text-decoration: underline; text-underline-offset: 3px; }
.manual-prose pre { overflow: auto; background: #f1f3f5; padding: 12px; border-radius: 4px; }
.manual-step figure { margin: 20px 0; }
.manual-image-frame { position: relative; display: block; }
.manual-image-highlight { position: absolute; box-sizing: border-box; border: 2px solid #ff0000; pointer-events: none; }
.manual-step img { display: block; width: 100%; height: auto; border: 1px solid #d8dee5; border-radius: 4px; }
.manual-step figcaption { font-size: 12px; color: #606975; margin-top: 8px; }
.manual-notice { border-left: 3px solid #2377a7; background: #eaf4fa; padding: 12px 16px; margin: 24px 0; }
.manual-notice h3 { font-weight: 600; }
.manual-notice-warning { border-color: #9b7500; background: #fff8d9; }
.manual-notice-danger { border-color: #bb2837; background: #fff0f1; }
.manual-table-scroll { width: 100%; overflow: auto; margin: 24px 0; }
.manual-table-scroll table { border-collapse: collapse; width: 100%; min-width: 360px; font-size: 14px; }
.manual-table-scroll th, .manual-table-scroll td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid #d8dee5; }
.manual-table-scroll th { background: #f1f3f5; font-weight: 600; }
.manual-table-scroll .manual-table-two-columns { min-width: 0; table-layout: fixed; }
.manual-table-two-columns th:first-child { width: 42%; }
.manual-empty { padding: 64px 24px; text-align: center; color: #66717c; }
.manual-empty h2 { font-size: 18px; font-weight: 500; margin-top: 16px; }
.manual-empty-icon { width: 32px; height: 32px; margin: auto; }
.manual-index-item { display: block; position: relative; padding: 24px 32px 24px 0; border-bottom: 1px solid #dde2e7; }
.manual-index-section { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 32px 0 8px; overflow-wrap: anywhere; }
.manual-index-item h2, .manual-index-item h3 { font-size: 18px; font-weight: 600; margin: 6px 0; overflow-wrap: anywhere; }
.manual-index-item p { font-size: 14px; color: #606975; line-height: 1.5; }
.manual-index-item > svg { position: absolute; right: 4px; top: 36px; color: #126b4b; }
.manual-index-item:hover h2, .manual-index-item:hover h3 { color: #126b4b; }
.manual-image-dialog { margin: auto; border: 0; border-radius: 6px; padding: 44px 12px 12px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); background: #fff; }
.manual-image-dialog::backdrop { background: #161a20cc; }
.manual-image-dialog .manual-image-frame { display: inline-block; vertical-align: top; }
.manual-image-dialog img { display: block; width: auto; height: auto; max-width: calc(100vw - 56px); max-height: calc(100vh - 110px); object-fit: contain; }
.manual-image-close { position: absolute; top: 4px; right: 6px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 4px; }
.manual-image-close:hover { background: #edf1f4; }
.manual-visual-editor { border: 1px solid #cfd6dd; border-radius: 6px; background: #fff; }
.manual-visual-editor .toolbar { display: flex; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #dde2e7; border-radius: 6px 6px 0 0; margin: 0; padding: 6px; gap: 2px; }
.manual-visual-editor .editor-container { margin: 0; border-radius: 0 0 6px 6px; }
.manual-visual-editor .editor { min-height: 160px; padding: 16px; max-width: none; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.manual-visual-editor .editor:focus-visible { outline: 2px solid #16865a; outline-offset: -2px; border-radius: 0 0 6px 6px; }
.manual-visual-editor .toolbar-item { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; padding: 6px; border-radius: 4px; font-size: 13px; }
.manual-visual-editor .toolbar-item:hover { background: #edf1f4; }
.manual-visual-editor .toolbar-item.active { color: #07613e; background: #e1f4eb; }
.manual-visual-editor .toolbar-item:disabled { opacity: .35; cursor: not-allowed; }
.manual-toolbar-divider { height: 20px; width: 1px; background: #dde2e7; margin: 0 4px; }
.manual-visual-editor .editor h2 { font-size: 20px; font-weight: 600; margin: 16px 0 8px; }
.manual-visual-editor .editor h3 { font-size: 17px; font-weight: 600; margin: 12px 0 6px; }
.manual-visual-editor .editor p { margin: 10px 0; }
.manual-visual-editor .editor ul, .manual-visual-editor .editor ol { margin: 10px 0; padding-left: 24px; }
.manual-visual-editor .editor ul { list-style: disc; }
.manual-visual-editor .editor ol { list-style: decimal; }
.manual-visual-editor .editor a { color: #126b4b; text-decoration: underline; }
.manual-visual-editor .editor blockquote { border-left: 3px solid #cfd6dd; padding-left: 16px; }
.manual-visual-editor .editor pre { padding: 12px; border-radius: 4px; background: #f1f3f5; overflow: auto; }
.manual-editor-invalid { border-color: #bb2837; }
/* Lexical initializes Coloris even when all color controls are disabled. */
#clr-picker:not(.clr-open) { display: none; }
.manual-link-editor { z-index: 50; width: min(360px, calc(100vw - 48px)); padding: 10px; background: #fff; border: 1px solid #cfd6dd; border-radius: 6px; box-shadow: 0 4px 16px #161a201a; }
.manual-link-editor-row { display: flex; align-items: center; gap: 6px; }
.manual-link-editor-row input, .manual-link-editor-row span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.manual-link-editor-row input { border: 1px solid #cfd6dd; border-radius: 4px; padding: 6px; }
.manual-link-editor-row button { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 4px; }
.manual-link-editor-row button:hover { background: #edf1f4; }
.dark .manual-visual-editor, .dark .manual-visual-editor .editor-container, .dark .manual-link-editor { background: #18181b; color: #fafafa; border-color: #52525b; }
@media (min-width: 1400px) {
    .manual-article-layout.has-contents { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 32px; }
    .manual-article-layout .manual-toc { position: sticky; align-self: start; top: 88px; max-height: var(--manual-scroll-height, calc(100dvh - 110px)); overflow-y: auto; overscroll-behavior-y: auto; scrollbar-gutter: stable; border-bottom: 0; border-left: 1px solid #dde2e7; padding: 0 0 0 16px; }
}
@media (max-width: 1399px) {
    .manual-article-layout.has-contents { display: flex; flex-direction: column; }
    .manual-article-layout .manual-toc { order: -1; }
}
@media (max-width: 900px) {
    .manual-workspace-header-inner { padding-inline: 16px; }
    .manual-workspace-main { padding: 24px 16px; }
    .manual-reader { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .manual-navigation { position: static; max-height: none; overflow: visible; border: 0; border-bottom: 1px solid #dde2e7; padding: 0 0 16px; }
    .manual-topic-list { max-height: 300px; }
    .manual-article-header h1, .manual-index-title { font-size: 22px; }
}
.manual-review-toggle { display: block; color: #047857; font-weight: 600; margin-bottom: 8px; }
.manual-review-count { display: block; margin-bottom: 16px; color: #475569; }
.manual-review-notice { margin-bottom: 24px; }
.manual-review-notice h2 { font-size: 16px; margin: 0 0 8px; }
.manual-review-notice p { margin: 0; }
.manual-draft-label { display: block; color: #9a3412; font-size: 12px; margin-top: 4px; }
