@font-face{font-family:KaliUI;src:url(../assets/fonts/NotoSans-Regular.ttf) format("truetype");font-weight:400}@font-face{font-family:KaliUI;src:url(../assets/fonts/NotoSans-Medium.ttf) format("truetype");font-weight:500}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;width:100%;overflow:hidden}body{font-family:KaliUI,Noto Sans,sans-serif;background:url(../assets/login-wallpaper.png) center/cover no-repeat;-webkit-font-smoothing:antialiased;color:#f8f8f2}body.desktop{background-size:cover;background-position:center;background-repeat:no-repeat}#topbar{position:fixed;top:0;left:0;width:100%;height:32px;background:#dcdcdc;display:flex;align-items:center;justify-content:space-between;padding:0 12px;z-index:9999;font-size:12px;color:#2c2c2c}.topbar-left,.topbar-right{display:flex;align-items:center;gap:10px}.topbar-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#2c2c2c;opacity:.8}.topbar-icon svg{width:16px;height:16px;fill:#2c2c2c}.topbar-icon:hover{opacity:1}#login-dt{font-size:12px;color:#2c2c2c}#login-box{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:360px;background:#ececec;border-radius:6px;padding:28px 28px 20px;box-shadow:0 16px 48px #0000008c;text-align:center;animation:fadeUp .35s ease}#login-avatar{width:72px;height:72px;border-radius:50%;margin-bottom:14px;object-fit:contain}.login-input{display:block;width:100%;padding:9px 12px;margin:7px 0;border-radius:4px;border:1px solid #b0b0b0;background:#282a36;color:#f8f8f2;font-size:13px;font-family:KaliUI,sans-serif;outline:none;transition:border-color .15s}.login-input::placeholder{color:#6272a4}.login-input:focus{border-color:#4187ff;box-shadow:0 0 0 2px #4187ff40}#login-btn-row{display:flex;justify-content:space-between;margin-top:14px;gap:8px}.btn-cancel,.btn-login{flex:1;padding:8px;border-radius:4px;border:none;font-size:13px;font-weight:500;cursor:pointer;font-family:KaliUI,sans-serif;transition:background .15s}.btn-cancel{background:#c8c8c8;color:#2c2c2c}.btn-cancel:hover{background:#b8b8b8}.btn-login{background:#4187ff;color:#fff}.btn-login:hover{background:#3070e8}#login-error{color:#f55;font-size:12px;margin-top:8px;min-height:16px}#console-hint{font-size:11px;color:#888;margin-top:10px}#kali-brand{position:fixed;bottom:20px;left:50%;transform:translate(-50%);color:#ffffffb3;font-size:18px;letter-spacing:6px;font-weight:500}@keyframes fadeUp{0%{opacity:0;transform:translate(-50%,-47%)}to{opacity:1;transform:translate(-50%,-50%)}}.shake{animation:shake .32s ease}@keyframes shake{0%{transform:translate(-50%,-50%) translate(0)}20%{transform:translate(-50%,-50%) translate(-7px)}40%{transform:translate(-50%,-50%) translate(7px)}60%{transform:translate(-50%,-50%) translate(-4px)}80%{transform:translate(-50%,-50%) translate(4px)}to{transform:translate(-50%,-50%) translate(0)}}#panel{position:fixed;top:0;left:0;width:100%;height:28px;background:#2e4357;display:flex;align-items:center;justify-content:space-between;padding:0 8px;z-index:8000;-webkit-user-select:none;user-select:none}#panel-left,#panel-right{display:flex;align-items:center;height:100%;gap:4px;flex-shrink:0}#panel-center{flex:1;display:flex;align-items:center;height:100%;overflow:hidden;gap:4px;padding:0 6px}.panel-sep{width:1px;height:18px;background:#ffffff26;margin:0 3px}#panel-dragon{display:flex;align-items:center;cursor:pointer;padding:0 5px;height:100%;border-radius:3px}#panel-dragon:hover{background:#ffffff1a}.panel-app-icon{width:18px;height:18px;object-fit:contain}#panel-launchers{display:flex;align-items:center;gap:2px}.panel-launcher{width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;color:#b0c8e0;opacity:.85}.panel-launcher:hover{background:#ffffff1f;opacity:1}.panel-launcher svg{width:15px;height:15px;fill:currentColor}#ws-container{display:flex;align-items:center;gap:2px}.ws-btn{font-size:11px;color:#9ab0c4;cursor:pointer;padding:1px 6px;border-radius:2px;border:1px solid transparent}.ws-btn:hover{color:#d8e8f4;background:#ffffff14}.ws-btn.ws-active{color:#d8e8f4;border-color:#fff3;background:#ffffff1a}.tray-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;color:#9ab0c4}.tray-icon svg{width:14px;height:14px;fill:currentColor}#panel-clock{font-size:11px;color:#c0d4e8;text-align:center;line-height:1.3;min-width:46px}.taskbar-btn{background:#ffffff12;color:#c8daea;border:1px solid rgba(255,255,255,.1);border-radius:3px;padding:2px 10px;font-size:11px;cursor:pointer;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:20px;display:flex;align-items:center;font-family:KaliUI,sans-serif}.taskbar-btn:hover{background:#ffffff24}#app-menu{display:none;position:fixed;top:28px;left:0;width:210px;background:#1c2b3a;border:1px solid #3a5068;border-top:none;box-shadow:4px 6px 16px #0009;z-index:7999;padding:4px 0}#app-menu.open{display:block}.app-menu-item{padding:8px 18px;font-size:13px;color:#c8daea;cursor:pointer}.app-menu-item:hover{background:#2e4357}.desktop-icon{position:fixed;width:72px;text-align:center;cursor:pointer;padding:6px 4px;border-radius:4px}.desktop-icon:hover{background:#ffffff1a}.di-icon{font-size:38px}.di-label{color:#fff;font-size:12px;margin-top:4px;text-shadow:0 1px 4px rgba(0,0,0,.9);word-break:break-word;line-height:1.3}#ctx-menu{display:none;position:fixed;min-width:190px;background:#1c2b3a;border:1px solid #3a5068;box-shadow:4px 6px 14px #0000008c;z-index:7998;border-radius:4px;padding:4px 0}#ctx-menu.open{display:block}.ctx-item{padding:8px 18px;font-size:13px;color:#c8daea;cursor:pointer}.ctx-item:hover{background:#2e4357}.ctx-sep{padding:4px 18px;font-size:12px;color:#3a5068;cursor:default}.window{position:fixed;display:flex;flex-direction:column;background:#282a36;border:1px solid #44475a;border-radius:6px;box-shadow:0 12px 40px #000000a6;overflow:hidden;min-width:280px;min-height:180px}.win-minimized{display:none!important}.win-maximized{left:0!important;top:28px!important;width:100vw!important;height:calc(100vh - 28px)!important;border-radius:0!important}.win-titlebar{height:28px;background:#2e4357;display:flex;align-items:center;justify-content:space-between;padding:0 10px;cursor:move;flex-shrink:0;-webkit-user-select:none;user-select:none}.win-title{font-size:13px;color:#c8daea}.win-ctrls{display:flex;gap:7px;align-items:center}.win-btn{width:12px;height:12px;border-radius:50%;cursor:pointer;flex-shrink:0}.wb-close{background:#ff5f57}.wb-close:hover{background:#e0443c}.wb-min{background:#febc2e}.wb-min:hover{background:#d9a020}.wb-max{background:#28c840}.wb-max:hover{background:#1faa34}.win-body{flex:1;overflow:hidden;display:flex;min-height:0}.term-wrap{display:flex;flex-direction:column;width:100%;height:100%;background:#0d1117;padding:8px 10px;cursor:text;font-family:Courier New,monospace}.term-out{flex:1;overflow-y:auto;font-size:13px;line-height:1.55}.term-out::-webkit-scrollbar{width:6px}.term-out::-webkit-scrollbar-thumb{background:#3a4f62;border-radius:3px}.term-line{white-space:pre-wrap;word-break:break-all;color:#f8f8f2}.term-input-row{display:flex;align-items:flex-start;margin-top:4px}.term-prompt{color:#50fa7b;font-size:13px;white-space:pre;flex-shrink:0}.term-inp{flex:1;background:transparent;border:none;outline:none;color:#f8f8f2;font-size:13px;font-family:Courier New,monospace;caret-color:#f8f8f2;padding-top:14px}.fm-wrap{display:flex;width:100%;height:100%}.fm-sidebar{width:160px;background:#1c2b3a;border-right:1px solid #3a5068;padding:6px 0;flex-shrink:0;overflow-y:auto}.fm-sidebar-item{display:flex;align-items:center;gap:8px;padding:7px 14px;font-size:13px;color:#9ab0c4;cursor:pointer}.fm-sidebar-item:hover{background:#2e4357;color:#d8e8f4}.fm-si-icon{font-size:16px}.fm-main{flex:1;display:flex;flex-direction:column;overflow:hidden;background:#282a36}.fm-toolbar{display:flex;align-items:center;gap:4px;padding:5px 8px;background:#2e4357;border-bottom:1px solid #3a5068;flex-shrink:0}.fm-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.15);color:#c8daea;padding:3px 10px;border-radius:3px;cursor:pointer;font-size:14px;font-family:KaliUI,sans-serif}.fm-btn:hover{background:#ffffff2e}.fm-pathbar{flex:1;font-size:12px;color:#9ab0c4;padding:3px 8px;background:#0003;border-radius:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fm-grid{flex:1;overflow-y:auto;display:flex;flex-wrap:wrap;align-content:flex-start;padding:10px;gap:4px}.fm-grid::-webkit-scrollbar{width:6px}.fm-grid::-webkit-scrollbar-thumb{background:#3a5068;border-radius:3px}.fm-item{width:90px;text-align:center;padding:8px 4px;border-radius:4px;cursor:pointer}.fm-item:hover{background:#ffffff12}.fm-item-icon{font-size:34px}.fm-item-name{font-size:12px;color:#c8daea;margin-top:4px;word-break:break-word;line-height:1.3}.fm-empty{color:#6272a4;font-size:13px;padding:20px}.editor-wrap{width:100%;height:100%;display:flex;flex-direction:column;background:#1e1f2b}.editor-ta{flex:1;width:100%;background:#1e1f2b;color:#f8f8f2;border:none;outline:none;padding:14px;font-size:13px;font-family:Courier New,monospace;resize:none;line-height:1.6}.editor-pre{flex:1;padding:14px;font-size:13px;font-family:Courier New,monospace;color:#f8f8f2;white-space:pre-wrap;overflow-y:auto;line-height:1.6;background:#1e1f2b;width:100%}.browser-wrap{width:100%;height:100%;display:flex;flex-direction:column;background:#1e2736}.browser-toolbar{display:flex;align-items:center;gap:5px;background:#2e4357;padding:5px 8px;flex-shrink:0;border-bottom:1px solid #3a5068}.browser-nav-btn{background:#ffffff14;border:1px solid rgba(255,255,255,.12);color:#c8daea;border-radius:4px;padding:4px 7px;cursor:pointer;display:flex;align-items:center;justify-content:center;height:28px;width:28px;flex-shrink:0}.browser-nav-btn svg{width:14px;height:14px}.browser-nav-btn:hover{background:#ffffff29}.browser-url-bar{flex:1;background:#00000059;color:#f8f8f2;border:1px solid rgba(255,255,255,.15);border-radius:4px;padding:5px 12px;font-size:13px;outline:none;font-family:KaliUI,monospace;height:28px}.browser-url-bar:focus{border-color:#4187ff;background:#00000080}.browser-go-btn{background:#4187ff;color:#fff;border:none;border-radius:4px;padding:0 14px;height:28px;font-size:13px;cursor:pointer;font-family:KaliUI,sans-serif;flex-shrink:0}.browser-go-btn:hover{background:#3070e8}.browser-frame-wrap{flex:1;position:relative;overflow:hidden}.browser-frame{width:100%;height:100%;border:none;display:none;background:#fff}.browser-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#1a2433}.browser-start-page{text-align:center}.bsp-title{font-size:22px;color:#c8daea;font-weight:500;margin-bottom:6px}.bsp-sub{font-size:13px;color:#6272a4;margin-bottom:32px}.bsp-shortcuts{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:500px}.bsp-shortcut{background:#ffffff12;border:1px solid rgba(255,255,255,.1);color:#8be9fd;border-radius:6px;padding:10px 18px;font-size:13px;cursor:pointer;transition:background .15s}.bsp-shortcut:hover{background:#ffffff24;color:#fff}.sysinfo-wrap{padding:20px;display:flex;flex-direction:column;gap:0;overflow-y:auto;width:100%;height:100%;background:#1e2736}.sysinfo-row{display:flex;padding:9px 0;border-bottom:1px solid #2e4357;font-size:13px}.si-key{color:#8be9fd;min-width:120px;font-weight:500}.si-val{color:#f8f8f2}.settings-wrap{padding:20px;display:flex;flex-direction:column;gap:0;overflow-y:auto;width:100%;height:100%;background:#1e2736}.settings-row{display:flex;padding:10px 0;border-bottom:1px solid #2e4357;font-size:13px}.set-key{color:#8be9fd;min-width:120px;font-weight:500}.set-val{color:#f8f8f2}.calc-wrap{width:100%;height:100%;display:flex;flex-direction:column;background:#1e2736;padding:12px;gap:10px}.calc-display{background:#0d1117;color:#f8f8f2;font-size:26px;text-align:right;padding:14px 16px;border-radius:4px;min-height:60px;word-break:break-all}.calc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;flex:1}.calc-btn{background:#2e4357;color:#c8daea;border:none;border-radius:4px;font-size:16px;cursor:pointer;font-family:KaliUI,sans-serif;transition:background .1s}.calc-btn:hover{background:#3a5570}.calc-op{background:#1c2b3a;color:#8be9fd}.calc-op:hover{background:#253547}.calc-eq{background:#4187ff;color:#fff}.calc-eq:hover{background:#3070e8}.calc-clear{background:#f55;color:#fff}.calc-clear:hover{background:#e04040}
