/* 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 #c7dfd1;background:#fff;color:#17654e}
#sidebar .nav-link.eva-nav-link.active{background:#fff;border-color:#0b3a8f;color:#002366}
#sidebar .nav-link.eva-nav-link:hover{background:#f7f8fa;border-color:#91c5a8;color:#14563f}
#sidebar .nav-link.eva-nav-link{background:#fff;border-color:#dde2ea;color:#154294}
#sidebar .nav-link.eva-nav-link.active{background:#fff;border-color:#f5c484;color:#002366}
#sidebar .nav-link.eva-nav-link:hover{background:#f7f8fa;border-color:#f7cd96;color:#002366}
#sidebar .nav-link.eva-nav-link img{width:18px;height:18px;flex:none}
#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}
