/* Shows projects and workspace navigation in one sidebar. */
:root{--side:292px}
#sidebar{width:var(--side);flex-direction:column;background:#fff;color:#1d2433;border-right:1px solid #dde2ea}
.sidebar-panel{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column;background:#fff}
.sidebar-heading{min-height:74px;display:flex;align-items:center;gap:8px;padding:11px 16px 7px}
.sidebar-heading .brand{min-width:0;gap:9px;padding:0;color:#253247;font-size:20px;line-height:1.15}
.sidebar-heading .brand:hover{color:#253247}
.sidebar-heading .brand img{display:block;width:34px;height:34px;object-fit:contain;border-radius:14px;background:#fff}
.sidebar-heading .brand small{color:#626f82;font-size:8px;letter-spacing:1.1px}
.sidebar-search{display:flex;align-items:center;gap:9px;margin:0 15px 12px;padding:0 11px;min-height:41px;background:#f6f7fa;border:1px solid #dde2ea;border-radius:14px;color:#65738b;transition:border-color .18s ease,box-shadow .18s ease}
.sidebar-search:focus-within{border-color:#0b3a8f;box-shadow:0 0 0 3px #0b3a8f2b}
.sidebar-search svg{width:17px;height:17px;flex:none}
.sidebar-search input{width:100%;min-width:0;min-height:38px;padding:0;border:0;outline:0;background:transparent;color:#273346;font-size:12px}
.sidebar-search input:focus-visible{outline:0}
#sidebar-content{min-height:0;flex:1;overflow-y:auto;padding:7px 13px 20px;scrollbar-color:#a9b2c0 #fff}
.sidebar-projects{min-width:0}
.sidebar-project-heading{display:flex;align-items:center;gap:6px;min-height:38px;padding:7px 8px;border-radius:14px;list-style:none;cursor:pointer;color:#253247;font-size:14px;font-weight:750}
.sidebar-project-heading::-webkit-details-marker{display:none}
.sidebar-project-heading::marker{content:''}
.sidebar-project-heading:hover{background:#f6f7fa}
.sidebar-project-heading:focus-visible{outline:3px solid #0b3a8f;outline-offset:2px}
.sidebar-project-heading span{font-size:11px;color:#667085;font-weight:600}
.sidebar-project-chevron{width:8px;height:8px;margin-left:auto;border-right:2px solid #667085;border-bottom:2px solid #667085;transform:rotate(-45deg);transition:transform .18s}
.sidebar-projects[open] .sidebar-project-chevron{transform:rotate(45deg)}
.sidebar-project-list{display:flex;flex-direction:column;gap:3px}
.sidebar-project{min-width:0;display:flex;align-items:center;gap:9px;min-height:52px;padding:7px 9px;border:1px solid transparent;border-radius:14px;color:#303b4c;text-decoration:none;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}
.sidebar-project:hover{background:#f6f7fa;border-color:#dde2ea;color:#1d2433;text-decoration:none}
.sidebar-project.active{background:#fff;border-color:#0b3a8f;color:#10306d}
.sidebar-project[hidden]{display:none}
.sidebar-project-icon{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:13px;background:#f1f3f6;color:#294f9d}
.sidebar-project.active .sidebar-project-icon{background:#fff;color:#002366}
.sidebar-project-icon svg{width:17px;height:17px}
.sidebar-project-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.sidebar-project-info strong{display:block;overflow:hidden;overflow-wrap:break-word;white-space:normal;font-size:11px;font-weight:700}
.sidebar-project-info small{display:block;overflow:hidden;overflow-wrap:break-word;white-space:normal;font-size:9px;color:#667085}
.sidebar-project.active .sidebar-project-info small{color:#1747a1}
.sidebar-project-selected{flex:none;font-size:12px;font-weight:800}
.sidebar-project-empty{padding:10px;color:#667085;font-size:11px}
.sidebar-project-empty[hidden]{display:none}
.sidebar-create{display:flex;align-items:center;gap:9px;margin:4px 5px 14px;padding:9px 11px;color:#1953a7;font-size:11px;font-weight:700;border-radius:14px}
.sidebar-create:hover{background:#f6f7fa;text-decoration:none}
.sidebar-create svg{width:16px;height:16px}
.sidebar-section-divider{height:1px;margin:12px 5px;background:#dfe3e9}
#sidebar .nav-label{padding:12px 9px 7px;color:#49566b;font-size:10px;font-weight:750;letter-spacing:1.1px}
.sidebar-group-label{display:block;padding:12px 9px 3px;color:#667085;font-size:10px;font-weight:700}
#sidebar .nav-link{min-height:38px;margin:1px 0;padding:8px 10px;color:#354156;font-size:11px;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
#sidebar .nav-link:hover{background:#f6f7fa;color:#1d2433}
#sidebar .nav-link.active{background:#fff;color:#002366}
#sidebar .nav-link.active:before{display:none}
#sidebar .nav-link svg{width:16px;height:16px}
#sidebar .nav-count{background:#e5e9f1;color:#354156}
#sidebar .nav-link.active .nav-count{background:#fff;color:#002366}
#sidebar .nav-link.eva-nav-link{border:1px solid transparent;background:transparent;color:#354156}
#sidebar .nav-link.eva-nav-link.active{background:#fff;border-color:#f5c484;color:#002366;font-weight:700}
#sidebar .nav-link.eva-nav-link:hover{background:#f6f7fa;color:#1d2433}
#sidebar .nav-link.eva-nav-link img{width:20px;height:20px;flex:none;border-radius:50%}
#sidebar .nav-link.side-meeting-link img{width:22px;height:22px;flex:none;border-radius:6px}
#sidebar .nav-link.side-meeting-link{border:1px solid transparent}
#sidebar .nav-link.side-meeting-link.active{border-color:#c9c1f2;font-weight:700}
#sidebar .side-group-label{display:flex;align-items:center;width:100%;min-height:36px;margin-top:8px;padding:8px 10px;border:1px solid transparent;border-radius:15px;background:none;color:#667085;font:inherit;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;text-align:left;cursor:pointer}
#sidebar .side-group-label:hover{color:#1d2433}
#sidebar .side-group-label:focus-visible{outline:3px solid #0b3a8f;outline-offset:2px}
#sidebar .side-group-chevron{width:7px;height:7px;margin-left:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .18s}
#sidebar .side-group-label[aria-expanded="true"] .side-group-chevron{transform:rotate(45deg)}
#sidebar .side-group{display:flex;flex-direction:column}
#sidebar .side-group[hidden]{display:none}
#sidebar .side-project{display:flex;flex-direction:column;padding-bottom:6px;border-bottom:1px solid #dfe3e9}
#sidebar .sidebar-bottom{gap:9px;padding:13px 15px;border-top:1px solid #dfe3e9}
#sidebar .sidebar-bottom b{color:#253247}
#sidebar .sidebar-bottom small{color:#667085}
#sidebar .workspace-mark{background:#f1f3f6;color:#002366}
#sidebar .sidebar-project:focus-visible,#sidebar .nav-link:focus-visible,#sidebar .sidebar-create:focus-visible{outline:3px solid #0b3a8f;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.sidebar-search,.sidebar-project,.sidebar-project-chevron,#sidebar .nav-link{transition:none}}
@media(max-width:900px){:root{--side:0px}#sidebar{width:min(292px,calc(100vw - 20px))}#nav-close{margin-left:auto;color:#354156}#nav-close:hover{background:#eef0f4}}
@media(max-width:360px){#sidebar{width:calc(100vw - 12px)}.sidebar-heading{padding-left:12px}.sidebar-search{margin-left:11px;margin-right:11px}#sidebar-content{padding-left:9px;padding-right:9px}}

/* Sidebar like the Citaglobal workspace: no project list, Find a project jumps to one, and the open project shows as one compact card. */
.sidebar-current{display:grid;gap:6px;margin:0 0 10px}
.sidebar-current-back{display:inline-flex;align-items:center;gap:6px;width:max-content;padding:4px 8px;border-radius:15px;color:#002366;font-size:13px;font-weight:700;text-decoration:none}
.sidebar-current-back svg{width:15px;height:15px}
.sidebar-current-back:hover{background:#f6f7fa}
.sidebar-current-back:focus-visible{outline:3px solid #f59122;outline-offset:2px}
.sidebar-current-project{display:grid;gap:2px;min-width:0;padding:9px 12px;border:1px solid #f7d9b0;border-left:3px solid #f59122;border-radius:15px;background:#fff}
.sidebar-current-project small{color:#5d6577;font-size:13px;font-weight:700}
/* Up to two lines of the project name. The full name shows on hover through the card title. */
.sidebar-current-project strong{display:block;overflow:hidden;white-space:normal;overflow-wrap:break-word;line-height:1.35;color:#1d2433;font-size:13.5px}
/* Find a project: matches drop down under the box. */
.sidebar-jump{display:grid;gap:2px;margin-top:6px;padding:6px;border:1px solid #dde2ea;border-radius:15px;background:#fff;box-shadow:0 8px 24px #1b153014}
.sidebar-jump[hidden]{display:none}
.sidebar-jump a{display:grid;gap:1px;min-width:0;padding:7px 9px;border-radius:15px;color:#1d2433;text-decoration:none}
.sidebar-jump a strong{overflow:hidden;overflow-wrap:break-word;white-space:normal;font-size:13px}
.sidebar-jump a small{color:#667085;font-size:13px}
.sidebar-jump a:hover,.sidebar-jump a:focus-visible{background:#f6f7fa;outline:none}
.sidebar-jump a.sidebar-jump-all{color:#002366;font-size:13px;font-weight:700}
.sidebar-jump p{margin:0;padding:8px 9px;color:#667085;font-size:13px}
/* Staff have no projects, so there is nothing to find. */
[data-staff] .sidebar-search,[data-staff] #sidebar-jump,[data-staff] .global-search{display:none}
/* Calls, call history and AiNA memory are not part of a staff account. */
[data-staff] [data-goto-calls],[data-staff] [data-eva-call],[data-staff] [data-eva-memory-open]{display:none}

/* AiNA launcher at the top right (sidebar.js): a round button with AiNA's face, and the list of AiNAs under it. */
.aina-launcher{position:relative;display:flex;align-items:center}
.aina-launcher-button{display:grid;place-items:center;width:44px;height:44px;min-height:0;padding:0;border:2px solid #d9d2f5;border-radius:50%;background:#fff;box-shadow:0 4px 14px #5b4bb722;cursor:pointer}
.aina-launcher-button:hover,.aina-launcher-button[aria-expanded="true"],.aina-launcher-button.is-here{border-color:#5b4bb7}
.aina-launcher-button:focus-visible{outline:3px solid #f08c19;outline-offset:2px}
.aina-launcher-button img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.aina-launcher-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:60;display:grid;gap:4px;width:min(320px,calc(100vw - 32px));padding:12px;border:1px solid #dde2ea;border-radius:18px;background:#fff;box-shadow:0 14px 36px #20283d22}
.aina-launcher-menu[hidden]{display:none}
.aina-launcher-menu>strong{padding:2px 8px 6px;font-size:13px;color:#5b4bb7}
.aina-launcher-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:15px;color:#20283d;text-decoration:none}
.aina-launcher-item:hover,.aina-launcher-item:focus-visible{background:#fff;box-shadow:inset 0 0 0 1px #d9d2f5;color:#20283d;text-decoration:none;outline:none}
.aina-launcher-item.is-active{box-shadow:inset 0 0 0 1px #5b4bb7}
.aina-launcher-item img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none}
.aina-launcher-item span{display:grid;gap:1px;min-width:0}
.aina-launcher-item b{font-size:14px}
.aina-launcher-item small{font-size:12px;color:#667085}
@media(max-width:650px){.aina-launcher-button{width:40px;height:40px}.aina-launcher-button img{width:34px;height:34px}.aina-launcher-menu{position:fixed;top:64px;left:16px;right:16px;width:auto}}
