/* Approved 2026-10-27: documentation reading, left aligned with the shared tabs. */
.plane-shell.plane-refresh .kb-workspace.kb-editorial{
 --kb-ink:#202632;--kb-muted:#626d7d;--kb-line:#e6e8ed;--kb-paper:#fff;--kb-soft:#f5f6f7;
 --kb-action:#006399;--kb-action-hover:#005580;--kb-selection:#e4f3f5;
 --kb-note:#f6eddf;--kb-note-edge:#dfceb8;--kb-note-ink:#916239;
 --lib-accent:var(--kb-action);--kb-tone:var(--kb-action);--lib-tint:var(--kb-soft);
 color:var(--kb-ink);background:var(--kb-paper);font-family:var(--font-ui,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif);
}
.plane-shell.plane-refresh .kb-editorial .kb-document{
 position:relative;width:100%;max-width:none;margin:0;padding:24px 24px 48px!important;
 color:var(--kb-ink);background:var(--kb-paper);text-align:left;min-width:0;
}
.kb-editorial .kb-document-tools{position:absolute;right:24px;top:24px;display:flex;align-items:center;gap:8px;max-width:65%}
.kb-editorial .kb-document-tools .btn{min-height:36px;font-size:13px;padding:7px 12px;white-space:nowrap}
.plane-shell .kb-editorial .kb-document-tools .btn.primary{background:var(--kb-action)!important;border-color:var(--kb-action)!important;color:#fff!important}
.plane-shell .kb-editorial .kb-document-tools .btn.primary:hover{background:var(--kb-action-hover)!important;border-color:var(--kb-action-hover)!important}
.kb-editorial .kb-expand-actions[hidden]{display:none!important}
.plane-shell.plane-refresh .kb-editorial .kb-module-body{min-width:0;padding:0;margin:0}
.plane-shell.plane-refresh .kb-editorial :is(.p1-doc-section,.pa-product-card,.p1-persona-section,.p1-source-document,.p1-scenario-section,.p1-case-study,.p1-gap-section){
 border:0!important;box-shadow:none!important;border-radius:0;background:transparent!important;padding:0!important;margin:0 0 32px;overflow:visible;
}
.plane-shell.plane-refresh .kb-editorial :is(.p1-doc-section>h3,.pa-product-card>h3,.p1-persona-section>header h3,.p1-source-document>header h3,.p1-scenario-section>h3,.p1-case-study>header h3,.p1-gap-section>h3,.kb-name-guidance>h3){
 display:block;min-height:0;padding:0!important;margin:0 0 16px!important;background:transparent!important;border:0!important;
 color:var(--kb-ink)!important;font-size:22px!important;font-weight:600;line-height:1.5;
}
.kb-editorial .kb-module-body>:first-child>h3,.kb-editorial .kb-module-body>:first-child>header{padding-right:150px!important;min-height:36px}
.kb-editorial .kb-module-body:has(>.p1-data-view):first-child{padding-top:48px}
.kb-editorial .kb-module-body:has(>.p1-table),.kb-editorial .kb-module-body:has(>.approved-table){padding-top:48px!important}
.plane-shell.plane-refresh .kb-editorial .p1-doc-section>h3>.p1-heading-icon{display:none}
.plane-shell.plane-refresh .kb-editorial :is(.plane-document-body,.p1-knowledge-body,.p1-case-narrative,.p1-scenario-lines){
 max-width:none!important;margin:0;padding:0!important;background:transparent!important;border-radius:0;color:var(--kb-ink)!important;
 font-size:16px!important;line-height:1.8!important;overflow-wrap:anywhere;
}
.plane-shell.plane-refresh .kb-editorial :is(.plane-document-body p,.plane-document-body li,.kb-identity-intro,.kb-name-guidance p,.kb-name-guidance li){
 font-size:16px!important;line-height:1.8!important;color:var(--kb-ink);max-width:none;
}
.plane-shell.plane-refresh .kb-editorial :is(.plane-document-body p,.kb-identity-intro,.kb-name-guidance p){margin:0 0 16px!important}
.plane-shell.plane-refresh .kb-editorial .plane-document-body :is(h2,h3,h4),.kb-editorial .kb-identity-section h4{
 padding:0!important;font-size:18px!important;line-height:1.6;margin:28px 0 12px!important;color:var(--kb-ink)!important;font-weight:600;
}
.kb-editorial :is(strong,b){font-weight:600}
.plane-shell .kb-editorial .plane-document-body :is(ul,ol),.kb-editorial .kb-name-guidance ul{margin:12px 0 16px;padding-left:24px}
.plane-shell .kb-editorial .plane-document-body li,.kb-editorial .kb-name-guidance li{margin:8px 0}
.kb-editorial li::marker{color:var(--kb-muted)}
.plane-shell .kb-editorial :is(a,.kb-citation){color:var(--kb-action)!important}
.kb-editorial .kb-citation{display:inline;border:0!important;background:none!important;border-radius:3px;font:inherit;font-size:12px;line-height:1.8;padding:2px 4px;vertical-align:baseline;cursor:pointer;box-shadow:none!important}
.kb-editorial .kb-citation:hover{text-decoration:underline;text-underline-offset:3px}
.kb-editorial .kb-facts-table{margin:0 0 28px;border:1px solid var(--kb-line);border-radius:8px;overflow:auto;max-width:100%}
.kb-editorial .kb-facts-table table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:15px;line-height:1.8;text-align:left}
.plane-shell .kb-editorial .kb-facts-table :is(th,td){padding:10px 16px!important;border:0;border-right:1px solid var(--kb-line);border-bottom:1px solid var(--kb-line);vertical-align:top;overflow-wrap:anywhere;background:var(--kb-paper)!important;color:var(--kb-ink)!important}
.kb-editorial .kb-facts-table thead th:first-child{width:28%}
.plane-shell .kb-editorial .kb-facts-table thead th{background:var(--kb-soft)!important;font-size:13px;font-weight:600;color:var(--kb-muted)!important}
.kb-editorial .kb-facts-table tbody th{font-weight:400}
.kb-editorial .kb-facts-table tr>:last-child{border-right:0!important}
.kb-editorial .kb-facts-table tbody tr:last-child>*{border-bottom:0!important}
.kb-editorial .kb-facts-table td>.plane-document-body{display:inline}
.plane-shell.plane-refresh .kb-editorial .kb-facts-table .plane-document-body p{display:inline;font-size:15px!important;margin:0!important}
.kb-editorial .kb-name-guidance{margin:32px 0}
.kb-editorial .kb-identity-narrative{margin:28px 0}
.plane-shell.plane-refresh .kb-editorial :is(.p1-value-point,.p1-module-intro,.p1-case-flow,.p1-gap-section ul){background:transparent!important;border:0;box-shadow:none;padding:0;border-radius:0;color:var(--kb-ink);font-size:16px;line-height:1.8;margin:0 0 24px;max-width:none}
.kb-editorial .p1-value-point{margin:28px 0!important}
.plane-shell.plane-refresh .kb-editorial .pa-product-grid{display:block!important}
.kb-editorial .pa-product-card+.pa-product-card{padding-top:28px!important;border-top:1px solid var(--kb-line)!important}
.plane-shell .kb-editorial .p1-knowledge-row{border:0;border-bottom:1px solid var(--kb-line);margin:0 0 28px}
.plane-shell .kb-editorial .p1-knowledge-row>summary{padding:0 0 16px;min-height:36px}
.plane-shell .kb-editorial .p1-row-title{font-size:20px;line-height:1.6;color:var(--kb-ink);font-weight:600}
.plane-shell .kb-editorial .p1-row-meta{color:var(--kb-muted);background:transparent;font-size:12px;padding:0}
.plane-shell .kb-editorial .p1-knowledge-row[open]>.p1-knowledge-body{padding:0 0 24px!important;margin:0;background:transparent!important;max-width:none;border-radius:0}
.plane-shell .kb-editorial :is(blockquote,.kb-name-guidance blockquote){margin:20px 0;padding:0 0 0 18px;border:0;border-left:2px solid var(--kb-line);background:transparent;color:var(--kb-muted);font-size:15px;line-height:1.8}
.plane-shell.plane-refresh .kb-editorial :is(.kb-reading-note,.p1-origin-note){
 display:block;margin:24px 0!important;padding:14px 16px!important;border:1px solid var(--kb-note-edge)!important;border-radius:8px;
 background:linear-gradient(120deg,var(--kb-note),color-mix(in srgb,var(--kb-note) 24%,var(--kb-paper)))!important;
 color:var(--kb-note-ink)!important;font-size:14px!important;line-height:1.8;
}
.kb-editorial .kb-reading-note>strong{display:block;font-size:15px;margin-bottom:4px;color:var(--kb-note-ink)}
.plane-shell .kb-editorial .kb-reading-note>p{font-size:14px!important;line-height:1.8;margin:0!important;color:var(--kb-note-ink)!important}
.kb-editorial .kb-section-sources{border:0;border-top:1px solid var(--kb-line);margin:24px 0 0;padding-top:12px;font-size:13px;color:var(--kb-muted)}
.kb-editorial .kb-section-sources>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:32px;cursor:pointer;list-style:none}
.kb-editorial .kb-section-sources>summary::-webkit-details-marker{display:none}
.kb-editorial .kb-section-sources>summary>span{display:inline-flex;gap:8px;align-items:center}
.kb-editorial .kb-section-sources>summary>span:last-child{color:var(--kb-action)}
.kb-editorial .kb-section-sources .icon{width:16px;height:16px;flex:none}
.kb-editorial .kb-section-sources[open]>summary>span:last-child>.icon{transform:rotate(90deg)}
.kb-editorial .kb-source-records{padding-top:12px}
.kb-editorial .kb-source-record{padding:12px 0;border-bottom:1px solid var(--kb-line)}
.kb-editorial .kb-source-record:last-child{border:0}
.kb-editorial .kb-source-record>summary{cursor:pointer;color:var(--kb-ink);font-size:14px;line-height:1.8}
.kb-editorial .kb-source-record .p1-provenance{padding:12px 0 4px;color:var(--kb-muted);font-size:13px}
.kb-editorial .kb-source-record .p1-provenance>strong{display:none}
.kb-editorial .kb-reading-figure{margin:24px 0;max-width:100%}
.kb-editorial .kb-reading-figure img{display:block;max-width:100%;height:auto;border-radius:8px}
.kb-editorial .kb-reading-figure figcaption{margin-top:8px;color:var(--kb-muted);font-size:13px;line-height:1.8}
.plane-shell .kb-editorial .kb-docs-nav [aria-current=page]{background:var(--kb-selection)!important;color:var(--kb-action)!important}
.plane-shell .kb-editorial .kb-docs-nav [aria-current=page] small{color:inherit!important}
.kb-editorial .kb-nav-icon.tone-0{--tone:#775899;--tint:#eee8f7}
.kb-editorial .kb-nav-icon.tone-1{--tone:#916239;--tint:#f6eddf}
.kb-editorial .kb-nav-icon.tone-2{--tone:#287887;--tint:#e4f3f5}
.kb-editorial .kb-nav-icon.tone-3{--tone:#775899;--tint:#eee8f7}
.kb-editorial .kb-nav-icon.tone-4{--tone:#437557;--tint:#e7f2e9}
.kb-editorial :is(button,summary,a,[tabindex]):focus-visible{outline:2px solid var(--kb-action)!important;outline-offset:3px}
.kb-editorial .kb-empty{padding:24px 0;color:var(--kb-muted)}
.kb-editorial .kb-empty h3{font-size:20px!important;color:var(--kb-ink)!important}
/* Legacy knowledge styles target route + record type; reset them at the same scope. */
.plane-shell.plane-refresh .kb-workspace.kb-editorial[data-editorial-version] :is(.p1-knowledge-row,.p1-knowledge-row>summary,.p1-source-document>header,.p1-persona-section>header,.p1-case-study>header){
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
.plane-shell.plane-refresh .kb-workspace.kb-editorial[data-editorial-version] .p1-knowledge-row{border-bottom:1px solid var(--kb-line)!important;margin:0 0 28px!important;padding:0!important}
.plane-shell.plane-refresh .kb-workspace.kb-editorial[data-editorial-version] .p1-knowledge-row>summary{padding:0 0 16px!important;color:var(--kb-ink)!important;min-height:36px!important}
.plane-shell.plane-refresh .kb-workspace.kb-editorial[data-editorial-version] :is(.p1-source-document>header,.p1-persona-section>header,.p1-case-study>header){padding:0!important;margin:0 0 16px!important}
.plane-shell.plane-refresh .kb-workspace.kb-editorial[data-editorial-version] .p1-row-meta{background:transparent!important;border:0!important;color:var(--kb-muted)!important;padding:0!important}
.kb-editorial:not([data-library-kind=identity]) .kb-document-tools{position:static;max-width:none;justify-content:flex-end;flex-wrap:wrap;margin-bottom:24px}
.plane-shell .kb-editorial:not([data-library-kind=identity]) .kb-module-body{padding-top:0!important}
.plane-shell .kb-editorial:not([data-library-kind=identity]) .kb-module-body>:first-child>h3,.plane-shell .kb-editorial:not([data-library-kind=identity]) .kb-module-body>:first-child>header{padding-right:0!important}
html.dark .plane-shell.plane-refresh .kb-workspace.kb-editorial{
 --kb-ink:#e4e6e6;--kb-muted:#aeb7c3;--kb-line:#343b45;--kb-paper:#20252c;--kb-soft:#292f38;
 --kb-action:#8bc5e7;--kb-action-hover:#a3d5f1;--kb-selection:#263f49;--kb-note:#342c24;--kb-note-edge:#65513d;--kb-note-ink:#e4c6a6;
}
html.dark .plane-shell .kb-editorial .kb-document-tools .btn.primary{background:#006399!important;color:#fff!important;border-color:#006399!important}
@media(max-width:800px){
 .plane-shell.plane-refresh .kb-editorial .kb-document{padding:20px 16px 40px!important}
 .kb-editorial .kb-document-tools{position:static;max-width:none;justify-content:flex-end;margin-bottom:20px;flex-wrap:wrap}
 .kb-editorial .kb-module-body>:first-child>h3,.kb-editorial .kb-module-body>:first-child>header{padding-right:0!important}
 .kb-editorial .kb-module-body:has(>.p1-data-view),.kb-editorial .kb-module-body:has(>.p1-table),.kb-editorial .kb-module-body:has(>.approved-table){padding-top:0!important}
 .kb-editorial .kb-facts-table thead th:first-child{width:34%}
 .plane-shell .kb-editorial .kb-facts-table :is(th,td){padding:10px 12px!important}
 .kb-editorial .kb-section-sources>summary{flex-wrap:wrap;gap:4px}
 .kb-editorial .kb-section-sources>summary>span:last-child{margin-left:auto;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.kb-editorial *{scroll-behavior:auto!important;transition:none!important}}
