/* NEKA flat navigation: every permitted workspace and report is directly available. */
.sidebar.flat-sidebar{overflow:hidden;gap:0;padding-top:22px}
.flat-sidebar>.brand{flex-shrink:0;padding-bottom:15px}
.flat-sidebar .sidebar-navigation{display:flex;flex-direction:column;flex:1;min-height:0}
.flat-sidebar .nav-overview-pinned{flex-shrink:0;margin:0 0 7px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.flat-sidebar .nav-flat-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 3px 8px 0;scrollbar-width:thin;scrollbar-color:var(--border) transparent;scrollbar-gutter:stable}
.flat-sidebar .nav-report-item{margin:1px 0;min-width:0}
.flat-sidebar .neka-nav-item>.nav-report-link{display:flex;align-items:center;gap:8px;width:100%;min-height:33px;margin:0;padding:7px 29px 7px 10px;border-radius:7px;font-family:var(--font-body);font-size:10.5px;font-weight:550;line-height:1.4;text-align:left;color:var(--text-secondary);background:transparent}
.flat-sidebar .nav-report-link>.nav-report-label{flex:1;min-width:0;white-space:normal;overflow-wrap:normal}
.flat-sidebar .nav-report-link>svg{width:15px;height:15px;flex-shrink:0;opacity:.84}
.flat-sidebar .neka-nav-item>.nav-report-link:hover{background:var(--surface-soft);color:var(--text-strong)}
.flat-sidebar .neka-nav-item>.nav-report-link.active{color:var(--accent-text);background:var(--surface-soft);box-shadow:inset 3px 0 0 var(--brand-orange);font-weight:750}
.flat-sidebar .nav-report-item>.powered-info.compact{right:4px;top:50%;transform:translateY(-50%);width:22px;height:25px;color:var(--text-muted);border-radius:5px}
.flat-sidebar .nav-report-item>.powered-info.compact:hover{background:var(--surface-sunken);color:var(--accent-text)}
.flat-sidebar .nav-report-item>.powered-info.compact svg{width:12px;height:12px}
.flat-sidebar .nav-report-link>.nav-badge{margin-left:1px;padding:1px 4px;min-width:17px;font-size:8px;line-height:1.6;flex-shrink:0}
.flat-sidebar .nav-overview-pinned .nav-report-link{min-height:40px;font-size:11px;font-weight:700}
.flat-sidebar .nav-overview-pinned .nav-report-link>svg{width:17px;height:17px}
.flat-sidebar .nav-settings-pinned{flex-shrink:0;margin-top:3px;padding-top:6px;border-top:1px solid var(--border)}
.flat-sidebar .nav-settings-pinned .nav-report-link{min-height:34px;font-size:10px}
.flat-sidebar .sidebar-bottom{flex-shrink:0;margin-top:0}
.flat-sidebar .tracker-launch{margin-top:8px}
.flat-sidebar .nav-report-link:focus-visible,.flat-sidebar .powered-info:focus-visible{outline:2px solid var(--brand-orange);outline-offset:-2px}
#vision-photo[tabindex="-1"]{scroll-margin-top:24px}
#vision-photo[tabindex="-1"]:focus-visible{outline:2px solid var(--brand-orange);outline-offset:4px}
@media(min-width:801px) and (max-width:1250px){
 .flat-sidebar .neka-nav-item>.nav-report-link{font-size:10px;padding-left:8px;gap:7px}
}
@media(max-width:800px){
 .sidebar.flat-sidebar{width:min(286px,calc(100vw - 36px));padding:20px 16px 14px}
 .flat-sidebar .neka-nav-item>.nav-report-link{min-height:40px;font-size:11px;padding-top:9px;padding-bottom:9px}
 .flat-sidebar .nav-overview-pinned .nav-report-link{font-size:11.5px}
 .flat-sidebar .nav-flat-list{padding-right:4px}
}
@media(max-height:760px){
 .sidebar.flat-sidebar{padding-top:15px;padding-bottom:10px}
 .flat-sidebar>.brand{padding-bottom:9px}
 .flat-sidebar .nav-overview-pinned{padding-bottom:5px;margin-bottom:5px}
 .flat-sidebar .tracker-launch{margin-top:6px;padding-top:8px;padding-bottom:8px}
 .flat-sidebar .access-user-card{padding-top:8px}
}

/* Persistent NEKA assistant entry on the opening experience and every workspace. */
.neka-global-chat{position:fixed;right:24px;right:calc(24px + env(safe-area-inset-right,0px));bottom:17px;bottom:calc(17px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:calc(100vw - 32px)}
.neka-global-chat[hidden]{display:none!important}
.neka-chat-button{display:flex;align-items:center;gap:12px;min-height:57px;max-width:100%;padding:11px 15px;border:1px solid #ffffff36;border-radius:15px;background:linear-gradient(135deg,#2a2f5f,#22284f);color:#fff;box-shadow:0 8px 30px #161c3b30,0 2px 7px #161c3b16;text-align:left;transition:transform .15s,box-shadow .15s,background .15s}
.neka-chat-button:hover{background:linear-gradient(135deg,#343a70,#2a2f5f);box-shadow:0 10px 32px #161c3b42;transform:translateY(-2px)}
.neka-chat-brand{width:53px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding-right:10px;border-right:1px solid #ffffff30}
.neka-chat-brand img{display:block;width:43px;height:auto;filter:brightness(0) invert(1)}
.neka-chat-label{display:flex;flex-direction:column;gap:3px;min-width:0}
.neka-chat-label strong{font-family:var(--font-heading);font-size:12px;line-height:1.3;letter-spacing:-.1px;font-weight:650;color:#fff;white-space:nowrap}
.neka-chat-label small{font-size:8px;line-height:1.4;color:#c0c8e5;white-space:nowrap}
.neka-chat-symbol{height:19px;width:19px;flex-shrink:0;margin-left:1px;color:#ff987e;stroke-width:1.7}
.neka-chat-powered{display:flex;align-items:center;justify-content:center;gap:5px;min-height:24px;padding:4px 9px;border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--text-secondary);font-size:8px;line-height:1.3;box-shadow:0 2px 8px #17213d08}
.neka-chat-powered svg{width:11px;height:11px;flex-shrink:0;color:var(--text-muted)}
.neka-chat-powered:hover{color:var(--text-strong);background:var(--surface-soft)}
.neka-chat-button:focus-visible,.neka-chat-powered:focus-visible{outline:3px solid var(--brand-orange);outline-offset:3px}
.neka-chat-enabled .main{padding-bottom:112px}
.neka-chat-enabled .access-landing-footer{padding-bottom:112px}
html[data-theme="night"] .neka-chat-button{border-color:#64729a;background:linear-gradient(135deg,#313b70,#242e59);box-shadow:0 8px 30px #02071466}
@media(max-width:580px){
 .neka-global-chat{right:12px;right:calc(12px + env(safe-area-inset-right,0px));bottom:11px;bottom:calc(11px + env(safe-area-inset-bottom,0px));gap:5px}
 .neka-chat-button{min-height:48px;padding:10px 12px;gap:9px;border-radius:13px}
 .neka-chat-brand{width:43px;padding-right:8px}
 .neka-chat-brand img{width:35px}
 .neka-chat-label strong{font-size:11px}
 .neka-chat-label small{display:none}
 .neka-chat-symbol{width:17px;height:17px;margin-left:0}
 .neka-chat-powered{font-size:8px;min-height:24px;padding:4px 8px}
 .neka-chat-enabled .main{padding-bottom:108px}
 .neka-chat-enabled .access-landing-footer{padding-bottom:108px}
}
@media(prefers-reduced-motion:reduce){.neka-chat-button{transition:none}.neka-chat-button:hover{transform:none}}
@media print{.neka-global-chat{display:none!important}.neka-chat-enabled .main{padding-bottom:0}.neka-chat-enabled .access-landing-footer{padding-bottom:20px}}
