/* Knowledge uses the scene-word tab component and 185px scene-map navigation. */
/* Native Plane shell: share the whole divider-to-divider row, not just buttons. */
.plane-shell.plane-refresh:not(.detection-shell)[data-pa-route=knowledge] .kl-scene-body{padding:0!important}
.plane-shell.plane-refresh:not(.detection-shell):is([data-pa-route=knowledge],[data-pa-route=scenes]) .training-browser-bar{box-sizing:border-box;height:57px;min-height:57px;margin:0;padding:8px var(--workspace-header-inset,24px)!important;border-bottom:1px solid var(--workspace-line,#e8e9eb);align-items:center;gap:16px}
.plane-shell.plane-refresh:not(.detection-shell)[data-pa-route=knowledge] .kl-scene-body>.wf-reader{margin:0 var(--workspace-header-inset,24px);width:calc(100% - 2 * var(--workspace-header-inset,24px))}
@media(max-width:700px){.plane-shell.plane-refresh:not(.detection-shell):is([data-pa-route=knowledge],[data-pa-route=scenes]) .training-browser-bar{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:40px 40px;height:105px;min-height:105px;gap:8px;align-content:start}.plane-shell.plane-refresh:not(.detection-shell):is([data-pa-route=knowledge],[data-pa-route=scenes]) .training-browser-actions{justify-self:end}}
@media(max-width:700px){.plane-shell.plane-refresh:not(.detection-shell):is([data-pa-route=knowledge],[data-pa-route=scenes]) .pa-header{height:56px!important;min-height:56px!important;flex-wrap:nowrap!important}.plane-shell.plane-refresh:not(.detection-shell):is([data-pa-route=knowledge],[data-pa-route=scenes]) .pa-header>div:last-child{display:flex;flex-wrap:nowrap!important;max-width:calc(100% - 84px);min-width:0;overflow-x:auto;gap:6px;scrollbar-width:none}.plane-shell.plane-refresh:not(.detection-shell):is([data-pa-route=knowledge],[data-pa-route=scenes]) .pa-header>div:last-child>.btn{flex:0 0 auto}html[data-edition=detection] #app .detection-workspace:is([data-pa-route=knowledge],[data-pa-route=scenes]) .training-browser-bar{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:42px 42px;gap:8px;height:100px;min-height:100px;align-content:start}html[data-edition=detection] #app .detection-workspace:is([data-pa-route=knowledge],[data-pa-route=scenes]) .training-browser-actions{justify-self:end}}
.knowledge-page>.kl-library{padding:0!important;container-type:normal}
.knowledge-page .kl-scene-body{padding:0 24px 28px}
.knowledge-page .kl-library .kl-tabs.training-tabs{margin:0!important}
.knowledge-page .kl-shared-heading{margin:0;gap:0}
.plane-shell.plane-refresh .scene-page .training-tabs.engine-tabs{width:480px!important;max-width:100%!important}
.plane-shell.plane-refresh .scene-page .training-tabs.engine-tabs>button{flex:1 0 auto!important}
html[data-edition=detection] #app .detection-workspace .scene-page .training-tabs.engine-tabs{width:480px!important;max-width:100%!important}
@media(max-width:700px){.knowledge-page .kl-scene-body{padding:0 16px 20px}}
html[data-edition=detection] #app .detection-workspace .knowledge-page .kl-scene-body{padding:0 var(--workspace-gutter) 40px}
@media(max-width:700px){html[data-edition=detection] #app .detection-workspace .scene-page>.p1-workspace-heading,html[data-edition=detection] #app .detection-workspace .kl-shared-heading{min-height:154px}}
@media(max-width:700px){html[data-edition=detection] #app .detection-workspace .knowledge-page .kl-shared-heading{min-height:154px}}
.kl-library .kl-tabs.training-tabs{margin-bottom:16px!important;flex-wrap:nowrap!important}
.kl-library .kl-tabs>:is(button,a)>:is(svg,img,.icon,.navigation-icon){display:none!important}
.kl-library .wf-reader.scene-map-layout{display:grid;width:100%;max-width:none;grid-template-columns:185px minmax(0,1fr);gap:0;margin:0;justify-content:stretch;border-top:0}
.kl-library .wf-toc.scene-map-nav{display:block;position:sticky;top:20px;align-self:start;max-height:calc(100dvh - 40px);overflow:auto;padding:20px 16px 0 0;border:0;border-right:1px solid #e8ecf1;scrollbar-width:none;-ms-overflow-style:none}
.kl-library .wf-toc.scene-map-nav::-webkit-scrollbar{display:none;width:0;height:0}
.kl-library .wf-toc.scene-map-nav button{display:flex;align-items:center;gap:8px;text-align:left;width:100%;font:inherit;font-size:12px;line-height:1.6;border:0;border-radius:5px;padding:10px;margin:0 0 5px;color:#536278;background:var(--surface,#fff);cursor:pointer;box-shadow:none}
.kl-library .wf-toc.scene-map-nav button:hover{background:#f4f6f8}.kl-library .wf-toc.scene-map-nav button:focus-visible{outline:2px solid #006399;outline-offset:-2px}
.kl-library .wf-document.scene-map-main{max-width:none;width:100%;min-width:0;padding:24px 0 0 28px}
.kl-library .wf-document .wf-section-icon{font-family:'Segoe UI Emoji','Apple Color Emoji',sans-serif;font-size:24px;line-height:32px;margin-right:10px;vertical-align:middle}
.kl-library .wf-answer-detail{padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid var(--wf-rule)}.kl-library .wf-answer-detail:last-child{border-bottom:0}.kl-library .wf-answer-detail h3{margin-top:0}
@media(max-width:1250px){.kl-library .wf-reader.scene-map-layout{grid-template-columns:155px minmax(0,1fr)}.kl-library .wf-document.scene-map-main{padding-left:20px}}
@media(max-width:800px){.kl-library .wf-reader.scene-map-layout{grid-template-columns:1fr}.kl-library .wf-toc.scene-map-nav{position:static;display:flex;gap:6px;overflow-x:auto;max-height:none;padding:14px 0;border:0;scrollbar-width:none}.kl-library .wf-toc.scene-map-nav button{flex:none;width:auto;white-space:nowrap;margin-bottom:0}.kl-library .wf-document.scene-map-main{padding:12px 0 0}}
