/* Scope to notebook only. Keep existing themes, folder tree and conversation layout. */
.notebook-page .nb-nav-path {display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 0;margin-bottom:12px;border-bottom:1px solid var(--color-border,#e2e8f0);background:var(--color-bg-container,#fff);}
.notebook-page .nb-breadcrumbs {display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-width:0;flex:1;font-size:13px;color:var(--color-text-secondary,#64748b);}
.notebook-page .nb-breadcrumbs button,.notebook-page .nb-nav-back {font:inherit;cursor:pointer;border:0;border-radius:7px;background:transparent;color:var(--color-text,#334155);padding:6px 8px;text-align:left;overflow-wrap:anywhere;min-height:36px;}
.notebook-page .nb-breadcrumbs button:hover,.notebook-page .nb-nav-back:hover {background:var(--color-bg-layout,#eff6ff);color:#2563eb;}
.notebook-page .nb-breadcrumbs button[aria-current=page] {font-weight:650;color:var(--color-text,#1e3a5f);}
.notebook-page .nb-nav-back {font-size:14px;background:var(--color-bg-layout,#f1f5f9);flex-shrink:0;max-width:100%;}
.notebook-page .nb-breadcrumb-document {padding:6px 4px;}
.notebook-page[data-browse-view=source] .nb-nav-path {position:sticky;top:0;z-index:6;box-shadow:0 3px 7px #00000005;}
.notebook-page[data-browse-view=source] .nb-source-reader-toolbar > button:first-child {display:none;}
.notebook-page .nb-reader-info {border:1px solid var(--color-border,#e2e8f0);border-radius:10px;padding:0 12px;margin:6px 0 16px;}
.notebook-page .nb-reader-info summary {cursor:pointer;padding:12px 0;font-size:13px;color:var(--color-text-secondary,#64748b);}
.notebook-page .nb-reader-info .nb-source-detail-grid {margin:0 0 12px;}
.notebook-page .nb-library-title {white-space:normal!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5;}
.notebook-page .nb-library-row[data-last-opened=true] {box-shadow:inset 3px 0 #2563eb;background:var(--color-bg-layout,#eff6ff);}
.notebook-page .nb-nav-path button:focus-visible,.notebook-page .nb-reader-info summary:focus-visible {outline:2px solid #2563eb;outline-offset:2px;}
@media(max-width:760px){
 .notebook-page[data-browse-view=source][data-mobile-pane=library] .nb-projects-header,
 .notebook-page[data-browse-view=source][data-mobile-pane=library] .nb-project-current,
 .notebook-page[data-browse-view=source][data-mobile-pane=library] .nb-mobile-folder-toggle,
 .notebook-page[data-browse-view=source][data-mobile-pane=library] .nb-workspace-toolbar {display:none!important;}
 .notebook-page .nb-nav-path {display:block;margin-bottom:10px;padding:6px 0 10px;}
 .notebook-page .nb-breadcrumbs {font-size:12px;gap:0;}
 .notebook-page .nb-breadcrumbs button,.notebook-page .nb-nav-back {min-height:44px;}
 .notebook-page .nb-nav-back {width:100%;margin-top:4px;padding:9px 12px;}
 .notebook-page[data-browse-view=source] .nb-nav-path {top:55px;}
 .notebook-page .nb-source-reader-header h2 {font-size:18px;line-height:1.45;}
 .notebook-page .nb-source-reader-actions {flex-wrap:wrap;gap:6px;}
 .notebook-page .nb-source-reader-actions button {min-height:44px;}
 .notebook-page .nb-library-title {-webkit-line-clamp:3;}
 .notebook-page .nb-library-meta {line-height:1.5;font-size:12px;}
 .notebook-page .nb-reader-info summary {min-height:44px;box-sizing:border-box;}
 .notebook-page .nb-source-reader-text {font-size:16px;line-height:1.8;}
}
