/* Supplied Keepbeam v2 brand assets. Presentation only; no app or theme behavior. */
.brand { min-width:150px; }
.brand img[src*="keepbeam-logo"] { width:150px; max-width:100%; height:auto; object-fit:contain; }
.nav-inner>.brand,.footer-brand { width:150px; }
.app .sidebar .brand img[src*="keepbeam-logo"] { width:152px; height:auto; }
.sidebar-collapsed .sidebar .brand { min-width:0; }
.sidebar-collapsed .sidebar .brand .brand-mark { width:40px; height:40px; object-fit:contain; }
.lost-brand img { width:166px; height:auto; }
.draft-header img.draft-logo-dark,.draft-header img.draft-logo-light { width:150px; height:auto; }
.brand .brand-symbol-dark,.brand .brand-symbol-light { display:none; }
@media(max-width:600px) { .lost-brand img { width:150px; } }
@media(max-width:760px) {
 .nav-inner { display:grid; grid-template-columns:minmax(0,1fr) auto 56px; gap:8px; }
 .nav-inner>.brand { grid-column:1; grid-row:1; }
 .nav-inner .nav-actions { grid-column:2; grid-row:1; min-width:0; gap:0; margin-left:0; }
 .nav-inner .menu-toggle { grid-column:3; grid-row:1; min-width:56px; margin-left:0; }
 .nav-inner .nav-links { grid-column:1/-1; grid-row:2; }
}
@media(max-width:380px) {
 .nav-inner { grid-template-columns:minmax(44px,1fr) minmax(0,1fr) 56px; }
 .nav-inner>.brand { width:44px; min-width:44px; height:44px; display:flex; align-items:center; }
 .nav-inner>.brand>.logo-dark,.nav-inner>.brand>.logo-light { display:none!important; }
 .nav-inner>.brand>.brand-symbol-dark { display:block; width:40px; height:40px; object-fit:contain; }
 :root[data-theme=light] .nav-inner>.brand>.brand-symbol-dark { display:none; }
 :root[data-theme=light] .nav-inner>.brand>.brand-symbol-light { display:block; width:40px; height:40px; object-fit:contain; }
}

.kb-surface .tool-footer .brand img[src*="keepbeam-logo"] { width:150px; height:auto; }

/* The compact mark follows the actual light sidebar, just like the full wordmark. */
.sidebar-collapsed .sidebar .brand .brand-mark-light { display:none; }
:root[data-theme=light] .sidebar-collapsed .sidebar .brand .brand-mark-dark { display:none; }
:root[data-theme=light] .sidebar-collapsed .sidebar .brand .brand-mark-light { display:block; }
