.desktop-sidebar .desktop-nav-footer{display:flex;flex-direction:column;flex:none;gap:3px;padding-top:10px;margin-top:10px;border-top:1px solid #e6e8eb}
.desktop-sidebar .desktop-nav-footer button{display:flex;align-items:center;gap:11px;width:100%;min-height:40px;padding:9px 12px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;font-size:13px;cursor:pointer}
.desktop-sidebar .desktop-nav-footer button:hover,.desktop-sidebar .desktop-nav-footer button.active{background:#fff4b5;color:#292714}
.desktop-sidebar .desktop-nav-footer button span{flex:1;white-space:nowrap}
.desktop-sidebar.collapsed .desktop-nav-footer button{justify-content:center;padding-inline:0}
.desktop-sidebar .desktop-nav-footer button:focus-visible{outline:2px solid #e5c600;outline-offset:2px}
.nav-editor-overlay{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;padding:16px;background:#0009}
.nav-editor{display:flex;flex-direction:column;width:min(680px,100%);max-height:min(86vh,850px);background:#fff;color:#24262b;border:1px solid #e2e4e8;border-radius:8px;box-shadow:0 16px 50px #0003}
.nav-editor header,.nav-editor footer{display:flex;align-items:center;gap:12px;padding:18px 22px}
.nav-editor header{justify-content:space-between;border-bottom:1px solid #eceef0}
.nav-editor h2{margin:0;font-size:19px}.nav-editor header p{margin:7px 0 0;color:#6a7079;font-size:12px}
.nav-editor button{cursor:pointer;border:1px solid #dadde2;background:#fff;color:inherit;border-radius:6px;padding:7px 11px}
.nav-editor button:disabled{opacity:.4;cursor:not-allowed}.nav-editor button:focus-visible,.nav-editor input:focus-visible{outline:2px solid #f5d800;outline-offset:1px}
.nav-editor-close{font-size:20px;line-height:1}.nav-editor-list{overflow-y:auto;padding:12px 22px;min-height:0;overscroll-behavior:contain}
.nav-editor-row{padding:12px 0;border-bottom:1px solid #e9ebee}.nav-editor-line{display:flex;align-items:center;gap:7px}.nav-editor-line input{min-width:0;flex:1;padding:9px 10px;background:#f7f8fa;border:1px solid #e2e4e8;border-radius:6px;color:inherit}
.nav-grip{cursor:grab;user-select:none;color:#858b94;padding:5px}.nav-editor-roles{display:flex;flex-wrap:wrap;gap:8px 15px;margin:10px 0 0 27px;font-size:12px;color:#535a63}.nav-editor-roles label{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.nav-editor-roles input{accent-color:#f1ce00}
.nav-editor-children{margin:12px 0 0 22px;padding-left:12px;border-left:2px solid #f3e99d}.nav-editor-child{padding:10px 0;border-top:1px solid #f0f1f2}
.nav-editor footer{justify-content:flex-end;border-top:1px solid #eceef0}.nav-editor footer span{margin-right:auto;color:#c22;font-size:12px}.nav-editor .nav-editor-save{background:#ffe815;border-color:#ffe815;font-weight:600}
.shell-dark .desktop-sidebar .desktop-nav-footer{border-color:#34424d}.shell-dark .desktop-sidebar .desktop-nav-footer button:hover,.shell-dark .desktop-sidebar .desktop-nav-footer button.active{color:#ffe815;background:#35414b}
.shell-dark .nav-editor{background:#202a32;border-color:#34424d;color:#e5edf3}.shell-dark .nav-editor header,.shell-dark .nav-editor footer,.shell-dark .nav-editor-row,.shell-dark .nav-editor-child{border-color:#34424d}.shell-dark .nav-editor header p,.shell-dark .nav-editor-roles{color:#bac5ce}.shell-dark .nav-editor input,.shell-dark .nav-editor button:not(.nav-editor-save){background:#2b3944;color:#e5edf3;border-color:#4b5964}
@media(max-width:640px){.nav-editor-overlay{padding:8px}.nav-editor{max-height:94dvh}.nav-editor header,.nav-editor footer{padding:13px}.nav-editor-list{padding:6px 13px}.nav-editor-roles{gap:9px}.nav-editor-children{margin-left:7px}.nav-editor-line button{padding:6px 8px}}
